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 # Reject install programs that cannot install multiple files.
3210 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3211 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3212 if test -z "$INSTALL"; then
3213 if test "${ac_cv_path_install+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3220 test -z "$as_dir" && as_dir
=.
3221 # Account for people who put trailing slashes in PATH elements.
3223 .
/ | .
// |
/cC
/* | \
3224 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3225 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3228 # OSF1 and SCO ODT 3.0 have their own names for install.
3229 # Don't use installbsd from OSF since it installs stuff as root
3231 for ac_prog
in ginstall scoinst
install; do
3232 for ac_exec_ext
in '' $ac_executable_extensions; do
3233 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3234 if test $ac_prog = install &&
3235 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3236 # AIX install. It has an incompatible calling convention.
3238 elif test $ac_prog = install &&
3239 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3240 # program-specific install script used by HP pwplus--don't use.
3243 rm -rf conftest.one conftest.two conftest.dir
3244 echo one
> conftest.one
3245 echo two
> conftest.two
3247 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3248 test -s conftest.one
&& test -s conftest.two
&&
3249 test -s conftest.dir
/conftest.one
&&
3250 test -s conftest.dir
/conftest.two
3252 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3263 rm -rf conftest.one conftest.two conftest.dir
3266 if test "${ac_cv_path_install+set}" = set; then
3267 INSTALL
=$ac_cv_path_install
3269 # As a last resort, use the slow shell script. Don't cache a
3270 # value for INSTALL within a source directory, because that will
3271 # break other packages using the cache if that directory is
3272 # removed, or if the value is a relative name.
3273 INSTALL
=$ac_install_sh
3276 echo "$as_me:$LINENO: result: $INSTALL" >&5
3277 echo "${ECHO_T}$INSTALL" >&6
3279 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3280 # It thinks the first close brace ends the variable substitution.
3281 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3283 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3285 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3287 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3288 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3291 echo timestamp
> conftest.
file
3292 # Do `set' in a subshell so we don't clobber the current shell's
3293 # arguments. Must try -L first in case configure is actually a
3294 # symlink; some systems play weird games with the mod time of symlinks
3295 # (eg FreeBSD returns the mod time of the symlink's containing
3298 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3299 if test "$*" = "X"; then
3301 set X
`ls -t $srcdir/configure conftest.file`
3304 if test "$*" != "X $srcdir/configure conftest.file" \
3305 && test "$*" != "X conftest.file $srcdir/configure"; then
3307 # If neither matched, then we have a broken ls. This can happen
3308 # if, for instance, CONFIG_SHELL is bash and it inherits a
3309 # broken ls alias from the environment. This has actually
3310 # happened. Such a system could not be considered "sane".
3311 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3312 alias in your environment" >&5
3313 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3314 alias in your environment" >&2;}
3315 { (exit 1); exit 1; }; }
3318 test "$2" = conftest.
file
3324 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3325 Check your system clock" >&5
3326 echo "$as_me: error: newly created file is older than distributed files!
3327 Check your system clock" >&2;}
3328 { (exit 1); exit 1; }; }
3330 echo "$as_me:$LINENO: result: yes" >&5
3331 echo "${ECHO_T}yes" >&6
3332 test "$program_prefix" != NONE
&&
3333 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3334 # Use a double $ so make ignores it.
3335 test "$program_suffix" != NONE
&&
3336 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3337 # Double any \ or $. echo might interpret backslashes.
3338 # By default was `s,x,x', remove it if useless.
3339 cat <<\_ACEOF
>conftest.
sed
3340 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3342 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3345 # expand $ac_aux_dir to an absolute path
3346 am_aux_dir
=`cd $ac_aux_dir && pwd`
3348 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3349 # Use eval to expand $SHELL
3350 if eval "$MISSING --run true"; then
3351 am_missing_run
="$MISSING --run "
3354 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3355 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3358 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3359 # We used to keeping the `.' as first argument, in order to
3360 # allow $(mkdir_p) to be used without argument. As in
3361 # $(mkdir_p) $(somedir)
3362 # where $(somedir) is conditionally defined. However this is wrong
3364 # 1. if the package is installed by a user who cannot write `.'
3365 # make install will fail,
3366 # 2. the above comment should most certainly read
3367 # $(mkdir_p) $(DESTDIR)$(somedir)
3368 # so it does not work when $(somedir) is undefined and
3369 # $(DESTDIR) is not.
3370 # To support the latter case, we have to write
3371 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3372 # so the `.' trick is pointless.
3373 mkdir_p
='mkdir -p --'
3375 # On NextStep and OpenStep, the `mkdir' command does not
3376 # recognize any option. It will interpret all options as
3377 # directories to create, and then abort because `.' already
3379 for d
in .
/-p .
/--version;
3381 test -d $d && rmdir $d
3383 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3384 if test -f "$ac_aux_dir/mkinstalldirs"; then
3385 mkdir_p
='$(mkinstalldirs)'
3387 mkdir_p
='$(install_sh) -d'
3391 for ac_prog
in gawk mawk nawk
awk
3393 # Extract the first word of "$ac_prog", so it can be a program name with args.
3394 set dummy
$ac_prog; ac_word
=$2
3395 echo "$as_me:$LINENO: checking for $ac_word" >&5
3396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3397 if test "${ac_cv_prog_AWK+set}" = set; then
3398 echo $ECHO_N "(cached) $ECHO_C" >&6
3400 if test -n "$AWK"; then
3401 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir
=.
3408 for ac_exec_ext
in '' $ac_executable_extensions; do
3409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_AWK
="$ac_prog"
3411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 if test -n "$AWK"; then
3421 echo "$as_me:$LINENO: result: $AWK" >&5
3422 echo "${ECHO_T}$AWK" >&6
3424 echo "$as_me:$LINENO: result: no" >&5
3425 echo "${ECHO_T}no" >&6
3428 test -n "$AWK" && break
3431 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3432 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3433 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3434 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3435 echo $ECHO_N "(cached) $ECHO_C" >&6
3437 cat >conftest.
make <<\_ACEOF
3439 @
echo 'ac_maketemp="$(MAKE)"'
3441 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3442 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3443 if test -n "$ac_maketemp"; then
3444 eval ac_cv_prog_make_
${ac_make}_set
=yes
3446 eval ac_cv_prog_make_
${ac_make}_set
=no
3450 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3451 echo "$as_me:$LINENO: result: yes" >&5
3452 echo "${ECHO_T}yes" >&6
3455 echo "$as_me:$LINENO: result: no" >&5
3456 echo "${ECHO_T}no" >&6
3457 SET_MAKE
="MAKE=${MAKE-make}"
3460 rm -rf .tst
2>/dev
/null
3461 mkdir .tst
2>/dev
/null
3462 if test -d .tst
; then
3467 rmdir .tst
2>/dev
/null
3469 DEPDIR
="${am__leading_dot}deps"
3471 ac_config_commands
="$ac_config_commands depfiles"
3474 am_make
=${MAKE-make}
3475 cat > confinc
<< 'END'
3480 # If we don't find an include directive, just comment out the code.
3481 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3482 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3486 # First try GNU make style include.
3487 echo "include confinc" > confmf
3488 # We grep out `Entering directory' and `Leaving directory'
3489 # messages which can occur if `w' ends up in MAKEFLAGS.
3490 # In particular we don't look at `^make:' because GNU make might
3491 # be invoked under some other name (usually "gmake"), in which
3492 # case it prints its new name instead of `make'.
3493 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3498 # Now try BSD make style include.
3499 if test "$am__include" = "#"; then
3500 echo '.include "confinc"' > confmf
3501 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3502 am__include
=.include
3509 echo "$as_me:$LINENO: result: $_am_result" >&5
3510 echo "${ECHO_T}$_am_result" >&6
3511 rm -f confinc confmf
3513 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3514 if test "${enable_dependency_tracking+set}" = set; then
3515 enableval
="$enable_dependency_tracking"
3518 if test "x$enable_dependency_tracking" != xno
; then
3519 am_depcomp
="$ac_aux_dir/depcomp"
3524 if test "x$enable_dependency_tracking" != xno; then
3534 # test to see if srcdir already configured
3535 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3536 test -f $srcdir/config.status
; then
3537 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3538 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3539 { (exit 1); exit 1; }; }
3542 # test whether we have cygpath
3543 if test -z "$CYGPATH_W"; then
3544 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3545 CYGPATH_W
='cygpath -w'
3552 # Define the identity of the package.
3554 VERSION
='version-unused'
3557 cat >>confdefs.h
<<_ACEOF
3558 #define PACKAGE "$PACKAGE"
3562 cat >>confdefs.h
<<_ACEOF
3563 #define VERSION "$VERSION"
3566 # Some tools Automake needs.
3568 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3571 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3574 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3577 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3580 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3582 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3584 # Installed binaries are usually stripped using `strip' when the user
3585 # run `make install-strip'. However `strip' might not be the right
3586 # tool to use in cross-compilation environments, therefore Automake
3587 # will honor the `STRIP' environment variable to overrule this program.
3588 if test "$cross_compiling" != no
; then
3589 if test -n "$ac_tool_prefix"; then
3590 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3591 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3592 echo "$as_me:$LINENO: checking for $ac_word" >&5
3593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3594 if test "${ac_cv_prog_STRIP+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 if test -n "$STRIP"; then
3598 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3604 test -z "$as_dir" && as_dir
=.
3605 for ac_exec_ext
in '' $ac_executable_extensions; do
3606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3607 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 STRIP
=$ac_cv_prog_STRIP
3617 if test -n "$STRIP"; then
3618 echo "$as_me:$LINENO: result: $STRIP" >&5
3619 echo "${ECHO_T}$STRIP" >&6
3621 echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6
3626 if test -z "$ac_cv_prog_STRIP"; then
3628 # Extract the first word of "strip", so it can be a program name with args.
3629 set dummy strip
; ac_word
=$2
3630 echo "$as_me:$LINENO: checking for $ac_word" >&5
3631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3632 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3633 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 if test -n "$ac_ct_STRIP"; then
3636 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3642 test -z "$as_dir" && as_dir
=.
3643 for ac_exec_ext
in '' $ac_executable_extensions; do
3644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3645 ac_cv_prog_ac_ct_STRIP
="strip"
3646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3655 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3656 if test -n "$ac_ct_STRIP"; then
3657 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3658 echo "${ECHO_T}$ac_ct_STRIP" >&6
3660 echo "$as_me:$LINENO: result: no" >&5
3661 echo "${ECHO_T}no" >&6
3666 STRIP
="$ac_cv_prog_STRIP"
3670 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3672 # We need awk for the "check" target. The system "awk" is bad on
3674 # Always define AMTAR for backward compatibility.
3676 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3678 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3683 depcc
="$CC" am_compiler_list
=
3685 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3686 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3687 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3688 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3691 # We make a subdir and do the tests there. Otherwise we can end up
3692 # making bogus files that we don't know about and never remove. For
3693 # instance it was reported that on HP-UX the gcc test will end up
3694 # making a dummy file named `D' -- because `-MD' means `put the output
3697 # Copy depcomp to subdir because otherwise we won't find it if we're
3698 # using a relative directory.
3699 cp "$am_depcomp" conftest.dir
3701 # We will build objects and dependencies in a subdirectory because
3702 # it helps to detect inapplicable dependency modes. For instance
3703 # both Tru64's cc and ICC support -MD to output dependencies as a
3704 # side effect of compilation, but ICC will put the dependencies in
3705 # the current directory while Tru64 will put them in the object
3709 am_cv_CC_dependencies_compiler_type
=none
3710 if test "$am_compiler_list" = ""; then
3711 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3713 for depmode
in $am_compiler_list; do
3714 # Setup a source with many dependencies, because some compilers
3715 # like to wrap large dependency lists on column 80 (with \), and
3716 # we should not choose a depcomp mode which is confused by this.
3718 # We need to recreate these files for each test, as the compiler may
3719 # overwrite some of them when testing with obscure command lines.
3720 # This happens at least with the AIX C compiler.
3722 for i
in 1 2 3 4 5 6; do
3723 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3724 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3725 # Solaris 8's {/usr,}/bin/sh.
3726 touch sub
/conftst
$i.h
3728 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3732 # after this tag, mechanisms are not by side-effect, so they'll
3733 # only be used when explicitly requested
3734 if test "x$enable_dependency_tracking" = xyes
; then
3742 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3743 # mode. It turns out that the SunPro C++ compiler does not properly
3744 # handle `-M -o', and we need to detect this.
3745 if depmode
=$depmode \
3746 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3747 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3748 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3749 >/dev
/null
2>conftest.err
&&
3750 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3751 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3752 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3753 # icc doesn't choke on unknown options, it will just issue warnings
3754 # or remarks (even with -Werror). So we grep stderr for any message
3755 # that says an option was ignored or not supported.
3756 # When given -MP, icc 7.0 and 7.1 complain thusly:
3757 # icc: Command line warning: ignoring option '-M'; no argument required
3758 # The diagnosis changed in icc 8.0:
3759 # icc: Command line remark: option '-MP' not supported
3760 if (grep 'ignoring option' conftest.err ||
3761 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3762 am_cv_CC_dependencies_compiler_type
=$depmode
3771 am_cv_CC_dependencies_compiler_type
=none
3775 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3776 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3777 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3782 test "x$enable_dependency_tracking" != xno \
3783 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3785 am__fastdepCC_FALSE
='#'
3787 am__fastdepCC_TRUE
='#'
3788 am__fastdepCC_FALSE
=
3792 depcc
="$CXX" am_compiler_list
=
3794 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3795 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3796 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3800 # We make a subdir and do the tests there. Otherwise we can end up
3801 # making bogus files that we don't know about and never remove. For
3802 # instance it was reported that on HP-UX the gcc test will end up
3803 # making a dummy file named `D' -- because `-MD' means `put the output
3806 # Copy depcomp to subdir because otherwise we won't find it if we're
3807 # using a relative directory.
3808 cp "$am_depcomp" conftest.dir
3810 # We will build objects and dependencies in a subdirectory because
3811 # it helps to detect inapplicable dependency modes. For instance
3812 # both Tru64's cc and ICC support -MD to output dependencies as a
3813 # side effect of compilation, but ICC will put the dependencies in
3814 # the current directory while Tru64 will put them in the object
3818 am_cv_CXX_dependencies_compiler_type
=none
3819 if test "$am_compiler_list" = ""; then
3820 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3822 for depmode
in $am_compiler_list; do
3823 # Setup a source with many dependencies, because some compilers
3824 # like to wrap large dependency lists on column 80 (with \), and
3825 # we should not choose a depcomp mode which is confused by this.
3827 # We need to recreate these files for each test, as the compiler may
3828 # overwrite some of them when testing with obscure command lines.
3829 # This happens at least with the AIX C compiler.
3831 for i
in 1 2 3 4 5 6; do
3832 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3833 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3834 # Solaris 8's {/usr,}/bin/sh.
3835 touch sub
/conftst
$i.h
3837 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3841 # after this tag, mechanisms are not by side-effect, so they'll
3842 # only be used when explicitly requested
3843 if test "x$enable_dependency_tracking" = xyes
; then
3851 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3852 # mode. It turns out that the SunPro C++ compiler does not properly
3853 # handle `-M -o', and we need to detect this.
3854 if depmode
=$depmode \
3855 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3856 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3857 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3858 >/dev
/null
2>conftest.err
&&
3859 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3860 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3861 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3862 # icc doesn't choke on unknown options, it will just issue warnings
3863 # or remarks (even with -Werror). So we grep stderr for any message
3864 # that says an option was ignored or not supported.
3865 # When given -MP, icc 7.0 and 7.1 complain thusly:
3866 # icc: Command line warning: ignoring option '-M'; no argument required
3867 # The diagnosis changed in icc 8.0:
3868 # icc: Command line remark: option '-MP' not supported
3869 if (grep 'ignoring option' conftest.err ||
3870 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3871 am_cv_CXX_dependencies_compiler_type
=$depmode
3880 am_cv_CXX_dependencies_compiler_type
=none
3884 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3885 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3886 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3891 test "x$enable_dependency_tracking" != xno \
3892 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3893 am__fastdepCXX_TRUE
=
3894 am__fastdepCXX_FALSE
='#'
3896 am__fastdepCXX_TRUE
='#'
3897 am__fastdepCXX_FALSE
=
3903 if test -n "$ac_tool_prefix"; then
3904 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3905 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3906 echo "$as_me:$LINENO: checking for $ac_word" >&5
3907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908 if test "${ac_cv_prog_AS+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3911 if test -n "$AS"; then
3912 ac_cv_prog_AS
="$AS" # Let the user override the test.
3914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3918 test -z "$as_dir" && as_dir
=.
3919 for ac_exec_ext
in '' $ac_executable_extensions; do
3920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_AS
="${ac_tool_prefix}as"
3922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 if test -n "$AS"; then
3932 echo "$as_me:$LINENO: result: $AS" >&5
3933 echo "${ECHO_T}$AS" >&6
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3940 if test -z "$ac_cv_prog_AS"; then
3942 # Extract the first word of "as", so it can be a program name with args.
3943 set dummy as
; ac_word
=$2
3944 echo "$as_me:$LINENO: checking for $ac_word" >&5
3945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3946 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 if test -n "$ac_ct_AS"; then
3950 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3956 test -z "$as_dir" && as_dir
=.
3957 for ac_exec_ext
in '' $ac_executable_extensions; do
3958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3959 ac_cv_prog_ac_ct_AS
="as"
3960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3968 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3969 if test -n "$ac_ct_AS"; then
3970 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3971 echo "${ECHO_T}$ac_ct_AS" >&6
3973 echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3982 if test -n "$ac_tool_prefix"; then
3983 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3984 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3985 echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3987 if test "${ac_cv_prog_LD+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3990 if test -n "$LD"; then
3991 ac_cv_prog_LD
="$LD" # Let the user override the test.
3993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir
=.
3998 for ac_exec_ext
in '' $ac_executable_extensions; do
3999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 if test -n "$LD"; then
4011 echo "$as_me:$LINENO: result: $LD" >&5
4012 echo "${ECHO_T}$LD" >&6
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4019 if test -z "$ac_cv_prog_LD"; then
4021 # Extract the first word of "ld", so it can be a program name with args.
4022 set dummy ld
; ac_word
=$2
4023 echo "$as_me:$LINENO: checking for $ac_word" >&5
4024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4025 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4028 if test -n "$ac_ct_LD"; then
4029 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4035 test -z "$as_dir" && as_dir
=.
4036 for ac_exec_ext
in '' $ac_executable_extensions; do
4037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_ac_ct_LD
="ld"
4039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4048 if test -n "$ac_ct_LD"; then
4049 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4050 echo "${ECHO_T}$ac_ct_LD" >&6
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4061 if test -n "$ac_tool_prefix"; then
4062 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4063 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4064 echo "$as_me:$LINENO: checking for $ac_word" >&5
4065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066 if test "${ac_cv_prog_AR+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4069 if test -n "$AR"; then
4070 ac_cv_prog_AR
="$AR" # Let the user override the test.
4072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir
=.
4077 for ac_exec_ext
in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 if test -n "$AR"; then
4090 echo "$as_me:$LINENO: result: $AR" >&5
4091 echo "${ECHO_T}$AR" >&6
4093 echo "$as_me:$LINENO: result: no" >&5
4094 echo "${ECHO_T}no" >&6
4098 if test -z "$ac_cv_prog_AR"; then
4100 # Extract the first word of "ar", so it can be a program name with args.
4101 set dummy
ar; ac_word
=$2
4102 echo "$as_me:$LINENO: checking for $ac_word" >&5
4103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4104 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 if test -n "$ac_ct_AR"; then
4108 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4114 test -z "$as_dir" && as_dir
=.
4115 for ac_exec_ext
in '' $ac_executable_extensions; do
4116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4117 ac_cv_prog_ac_ct_AR
="ar"
4118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4126 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4127 if test -n "$ac_ct_AR"; then
4128 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4129 echo "${ECHO_T}$ac_ct_AR" >&6
4131 echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4140 if test -n "$ac_tool_prefix"; then
4141 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4142 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4143 echo "$as_me:$LINENO: checking for $ac_word" >&5
4144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4145 if test "${ac_cv_prog_RANLIB+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 if test -n "$RANLIB"; then
4149 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4155 test -z "$as_dir" && as_dir
=.
4156 for ac_exec_ext
in '' $ac_executable_extensions; do
4157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4158 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4167 RANLIB
=$ac_cv_prog_RANLIB
4168 if test -n "$RANLIB"; then
4169 echo "$as_me:$LINENO: result: $RANLIB" >&5
4170 echo "${ECHO_T}$RANLIB" >&6
4172 echo "$as_me:$LINENO: result: no" >&5
4173 echo "${ECHO_T}no" >&6
4177 if test -z "$ac_cv_prog_RANLIB"; then
4178 ac_ct_RANLIB
=$RANLIB
4179 # Extract the first word of "ranlib", so it can be a program name with args.
4180 set dummy ranlib
; ac_word
=$2
4181 echo "$as_me:$LINENO: checking for $ac_word" >&5
4182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4183 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4184 echo $ECHO_N "(cached) $ECHO_C" >&6
4186 if test -n "$ac_ct_RANLIB"; then
4187 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir
=.
4194 for ac_exec_ext
in '' $ac_executable_extensions; do
4195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4196 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4206 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4207 if test -n "$ac_ct_RANLIB"; then
4208 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4209 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4215 RANLIB
=$ac_ct_RANLIB
4217 RANLIB
="$ac_cv_prog_RANLIB"
4220 for ac_prog
in gawk mawk nawk
awk
4222 # Extract the first word of "$ac_prog", so it can be a program name with args.
4223 set dummy
$ac_prog; ac_word
=$2
4224 echo "$as_me:$LINENO: checking for $ac_word" >&5
4225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4226 if test "${ac_cv_prog_AWK+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4229 if test -n "$AWK"; then
4230 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4236 test -z "$as_dir" && as_dir
=.
4237 for ac_exec_ext
in '' $ac_executable_extensions; do
4238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4239 ac_cv_prog_AWK
="$ac_prog"
4240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 if test -n "$AWK"; then
4250 echo "$as_me:$LINENO: result: $AWK" >&5
4251 echo "${ECHO_T}$AWK" >&6
4253 echo "$as_me:$LINENO: result: no" >&5
4254 echo "${ECHO_T}no" >&6
4257 test -n "$AWK" && break
4260 for ac_prog
in jar fastjar gjar
4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
4263 set dummy
$ac_prog; ac_word
=$2
4264 echo "$as_me:$LINENO: checking for $ac_word" >&5
4265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4266 if test "${ac_cv_prog_JAR+set}" = set; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4269 if test -n "$JAR"; then
4270 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4279 ac_cv_prog_JAR
="$ac_prog"
4280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 if test -n "$JAR"; then
4290 echo "$as_me:$LINENO: result: $JAR" >&5
4291 echo "${ECHO_T}$JAR" >&6
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4297 test -n "$JAR" && break
4299 test -n "$JAR" || JAR
="no"
4301 # Extract the first word of "zip", so it can be a program name with args.
4302 set dummy
zip; ac_word
=$2
4303 echo "$as_me:$LINENO: checking for $ac_word" >&5
4304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4305 if test "${ac_cv_path_ZIP+set}" = set; then
4306 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir
=.
4318 for ac_exec_ext
in '' $ac_executable_extensions; do
4319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4320 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4327 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4333 if test -n "$ZIP"; then
4334 echo "$as_me:$LINENO: result: $ZIP" >&5
4335 echo "${ECHO_T}$ZIP" >&6
4337 echo "$as_me:$LINENO: result: no" >&5
4338 echo "${ECHO_T}no" >&6
4341 # Extract the first word of "unzip", so it can be a program name with args.
4342 set dummy
unzip; ac_word
=$2
4343 echo "$as_me:$LINENO: checking for $ac_word" >&5
4344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4345 if test "${ac_cv_path_UNZIP+set}" = set; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir
=.
4358 for ac_exec_ext
in '' $ac_executable_extensions; do
4359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4360 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4371 UNZIP
=$ac_cv_path_UNZIP
4373 if test -n "$UNZIP"; then
4374 echo "$as_me:$LINENO: result: $UNZIP" >&5
4375 echo "${ECHO_T}$UNZIP" >&6
4377 echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6
4382 # We need a jar that supports -@. This is a GNU extension.
4383 if test "$JAR" != no
; then
4384 rm -f config-test.jar
4385 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
4386 if test -f config-test.jar
; then
4387 rm -f config-test.jar
4393 # Prefer the jar we found, but fall back to our jar script.
4394 if test "$JAR" = no
; then
4395 if test "$ZIP" = no
; then
4396 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4397 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4398 { (exit 1); exit 1; }; }
4400 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4401 JAR
=`pwd`/scripts
/jar
4405 # Find a good install program. We prefer a C program (faster),
4406 # so one script is as good as another. But avoid the broken or
4407 # incompatible versions:
4408 # SysV /etc/install, /usr/sbin/install
4409 # SunOS /usr/etc/install
4410 # IRIX /sbin/install
4412 # AmigaOS /C/install, which installs bootblocks on floppy discs
4413 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4414 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4415 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4416 # OS/2's system install, which has a completely different semantic
4417 # ./install, which can be erroneously created by make from ./install.sh.
4418 # Reject install programs that cannot install multiple files.
4419 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4420 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4421 if test -z "$INSTALL"; then
4422 if test "${ac_cv_path_install+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4429 test -z "$as_dir" && as_dir
=.
4430 # Account for people who put trailing slashes in PATH elements.
4432 .
/ | .
// |
/cC
/* | \
4433 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4434 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4437 # OSF1 and SCO ODT 3.0 have their own names for install.
4438 # Don't use installbsd from OSF since it installs stuff as root
4440 for ac_prog
in ginstall scoinst
install; do
4441 for ac_exec_ext
in '' $ac_executable_extensions; do
4442 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4443 if test $ac_prog = install &&
4444 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4445 # AIX install. It has an incompatible calling convention.
4447 elif test $ac_prog = install &&
4448 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4449 # program-specific install script used by HP pwplus--don't use.
4452 rm -rf conftest.one conftest.two conftest.dir
4453 echo one
> conftest.one
4454 echo two
> conftest.two
4456 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4457 test -s conftest.one
&& test -s conftest.two
&&
4458 test -s conftest.dir
/conftest.one
&&
4459 test -s conftest.dir
/conftest.two
4461 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4472 rm -rf conftest.one conftest.two conftest.dir
4475 if test "${ac_cv_path_install+set}" = set; then
4476 INSTALL
=$ac_cv_path_install
4478 # As a last resort, use the slow shell script. Don't cache a
4479 # value for INSTALL within a source directory, because that will
4480 # break other packages using the cache if that directory is
4481 # removed, or if the value is a relative name.
4482 INSTALL
=$ac_install_sh
4485 echo "$as_me:$LINENO: result: $INSTALL" >&5
4486 echo "${ECHO_T}$INSTALL" >&6
4488 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4489 # It thinks the first close brace ends the variable substitution.
4490 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4492 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4494 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4497 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4498 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4499 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4500 if test "${enable_maintainer_mode+set}" = set; then
4501 enableval
="$enable_maintainer_mode"
4502 USE_MAINTAINER_MODE
=$enableval
4504 USE_MAINTAINER_MODE
=no
4506 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4507 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4510 if test $USE_MAINTAINER_MODE = yes; then
4511 MAINTAINER_MODE_TRUE
=
4512 MAINTAINER_MODE_FALSE
='#'
4514 MAINTAINER_MODE_TRUE
='#'
4515 MAINTAINER_MODE_FALSE
=
4518 MAINT
=$MAINTAINER_MODE_TRUE
4524 # configure.host sets the following important variables
4525 # libgcj_cflags - host specific C compiler flags
4526 # libgcj_cxxflags - host specific C++ compiler flags
4527 # libgcj_javaflags - host specific Java compiler flags
4533 .
${srcdir}/configure.
host
4535 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4536 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4537 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4540 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4541 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4542 acl_cv_prog_gnu_ld
=yes
4544 acl_cv_prog_gnu_ld
=no
4547 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4548 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4549 with_gnu_ld
=$acl_cv_prog_gnu_ld
4551 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4552 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4553 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4554 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 acl_cv_prog_gnu_ld_symbolic
=no
4559 if test x
"$with_gnu_ld" = x
"yes"; then
4560 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4561 acl_cv_prog_gnu_ld_symbolic
=yes
4565 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4566 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4567 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4568 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4573 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4574 if test -z "$libgcj_ld_symbolic"; then
4575 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4578 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4579 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4580 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4581 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4582 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4589 # Only use libltdl for non-newlib builds.
4590 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4591 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4592 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4594 libname_spec
='lib$name'
4602 shlibpath_overrides_runpath
=unknown
4604 dynamic_linker
="$host_os ld.so"
4605 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4606 if test "$GCC" = yes; then
4607 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4608 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4609 # if the path contains ";" then we assume it to be the separator
4610 # otherwise default to the standard path separator (i.e. ":") - it is
4611 # assumed that no part of a normal pathname contains ";" but that should
4612 # okay in the real world where ";" in dirpaths is itself problematic.
4613 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4615 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4618 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4620 need_lib_prefix
=unknown
4621 hardcode_into_libs
=no
4623 # when you set need_version to no, make sure it does not cause -set_version
4624 # flags to be left without arguments
4625 need_version
=unknown
4630 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4631 shlibpath_var
=LIBPATH
4633 # AIX 3 has no versioning support, so we append a major version to the name.
4634 soname_spec
='${libname}${release}${shared_ext}$major'
4641 hardcode_into_libs
=yes
4642 if test "$host_cpu" = ia64
; then
4643 # AIX 5 supports IA64
4644 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4645 shlibpath_var
=LD_LIBRARY_PATH
4647 # With GCC up to 2.95.x, collect2 would create an import file
4648 # for dependence libraries. The import file would start with
4649 # the line `#! .'. This would cause the generated library to
4650 # depend on `.', always an invalid library. This was fixed in
4651 # development snapshots of GCC prior to 3.0.
4653 aix4 | aix4.
[01] | aix4.
[01].
*)
4654 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4656 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4663 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4664 # soname into executable. Probably we can add versioning support to
4665 # collect2, so additional links can be useful in future.
4666 if test "$aix_use_runtimelinking" = yes; then
4667 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4668 # instead of lib<name>.a to let people know that these are not
4669 # typical AIX shared libraries.
4670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4672 # We preserve .a as extension for shared libraries through AIX4.2
4673 # and later when we are not doing run time linking.
4674 library_names_spec
='${libname}${release}.a $libname.a'
4675 soname_spec
='${libname}${release}${shared_ext}$major'
4677 shlibpath_var
=LIBPATH
4682 library_names_spec
='$libname.ixlibrary $libname.a'
4683 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4684 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'
4688 library_names_spec
='${libname}${shared_ext}'
4689 dynamic_linker
="$host_os ld.so"
4690 shlibpath_var
=LIBRARY_PATH
4696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4697 soname_spec
='${libname}${release}${shared_ext}$major'
4698 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4699 shlibpath_var
=LD_LIBRARY_PATH
4700 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4701 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4702 # the default ld.so.conf also contains /usr/contrib/lib and
4703 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4704 # libtool to hard-code these into programs
4707 cygwin
* | mingw
* | pw32
*)
4708 version_type
=windows
4713 case $GCC,$host_os in
4714 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4715 library_names_spec
='$libname.dll.a'
4716 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4717 postinstall_cmds
='base_file=`basename \${file}`~
4718 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4719 dldir=$destdir/`dirname \$dlpath`~
4720 test -d \$dldir || mkdir -p \$dldir~
4721 $install_prog $dir/$dlname \$dldir/$dlname'
4722 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4723 dlpath=$dir/\$dldll~
4725 shlibpath_overrides_runpath
=yes
4729 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4730 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4731 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4734 # MinGW DLLs use traditional 'lib' prefix
4735 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4736 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4737 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4738 # It is most probably a Windows format PATH printed by
4739 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4740 # path with ; separators, and with drive letters. We can handle the
4741 # drive letters (cygwin fileutils understands them), so leave them,
4742 # especially as we might pass files found there to a mingw objdump,
4743 # which wouldn't understand a cygwinified path. Ahh.
4744 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4746 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4750 # pw32 DLLs use 'pw' prefix rather than 'lib'
4751 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4757 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4760 dynamic_linker
='Win32 ld.exe'
4761 # FIXME: first we should search . and the directory the executable is in
4765 darwin
* | rhapsody
*)
4766 dynamic_linker
="$host_os dyld"
4770 # FIXME: Relying on posixy $() will cause problems for
4771 # cross-compilation, but unfortunately the echo tests do not
4772 # yet detect zsh echo's removal of \ escapes.
4773 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4774 soname_spec
='${libname}${release}${major}$shared_ext'
4775 shlibpath_overrides_runpath
=yes
4776 shlibpath_var
=DYLD_LIBRARY_PATH
4777 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4778 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4779 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4780 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"`
4782 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4790 soname_spec
='${libname}${release}${shared_ext}$major'
4791 shlibpath_var
=LD_LIBRARY_PATH
4799 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4800 version_type
=freebsd-
$objformat
4801 case $version_type in
4803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4808 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4812 shlibpath_var
=LD_LIBRARY_PATH
4815 shlibpath_overrides_runpath
=yes
4817 freebsd3.01
* | freebsdelf3.01
*)
4818 shlibpath_overrides_runpath
=yes
4819 hardcode_into_libs
=yes
4822 shlibpath_overrides_runpath
=no
4823 hardcode_into_libs
=yes
4832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4833 soname_spec
='${libname}${release}${shared_ext}$major'
4834 shlibpath_var
=LD_LIBRARY_PATH
4835 hardcode_into_libs
=yes
4838 hpux9
* | hpux10
* | hpux11
*)
4839 # Give a soname corresponding to the major version so that dld.sl refuses to
4840 # link against other versions.
4847 hardcode_into_libs
=yes
4848 dynamic_linker
="$host_os dld.so"
4849 shlibpath_var
=LD_LIBRARY_PATH
4850 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4852 soname_spec
='${libname}${release}${shared_ext}$major'
4853 if test "X$HPUX_IA64_MODE" = X32
; then
4854 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4856 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4858 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4862 hardcode_into_libs
=yes
4863 dynamic_linker
="$host_os dld.sl"
4864 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4865 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4867 soname_spec
='${libname}${release}${shared_ext}$major'
4868 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4869 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4873 dynamic_linker
="$host_os dld.sl"
4874 shlibpath_var
=SHLIB_PATH
4875 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4877 soname_spec
='${libname}${release}${shared_ext}$major'
4880 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4881 postinstall_cmds
='chmod 555 $lib'
4884 irix5
* | irix6
* | nonstopux
*)
4886 nonstopux
*) version_type
=nonstopux
;;
4888 if test "$lt_cv_prog_gnu_ld" = yes; then
4896 soname_spec
='${libname}${release}${shared_ext}$major'
4897 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4899 irix5
* | nonstopux
*)
4903 case $LD in # libtool.m4 will add one of these switches to LD
4904 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4905 libsuff
= shlibsuff
= libmagic
=32-bit;;
4906 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4907 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4908 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4909 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4910 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4914 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4915 shlibpath_overrides_runpath
=no
4916 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4917 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4918 hardcode_into_libs
=yes
4921 # No shared lib support for Linux oldld, aout, or coff.
4922 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4926 # This must be Linux ELF.
4931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4932 soname_spec
='${libname}${release}${shared_ext}$major'
4933 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4934 shlibpath_var
=LD_LIBRARY_PATH
4935 shlibpath_overrides_runpath
=no
4936 # This implies no fast_install, which is unacceptable.
4937 # Some rework will be needed to allow for fast_install
4938 # before this can be enabled.
4939 hardcode_into_libs
=yes
4941 # We used to test for /lib/ld.so.1 and disable shared libraries on
4942 # powerpc, because MkLinux only supported shared libraries with the
4943 # GNU dynamic linker. Since this was broken with cross compilers,
4944 # most powerpc-linux boxes support dynamic linking these days and
4945 # people can always --disable-shared, the test was removed, and we
4946 # assume the GNU/Linux dynamic linker is in use.
4947 dynamic_linker
='GNU/Linux ld.so'
4954 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4956 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4957 dynamic_linker
='NetBSD (a.out) ld.so'
4959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4960 soname_spec
='${libname}${release}${shared_ext}$major'
4961 dynamic_linker
='NetBSD ld.elf_so'
4963 shlibpath_var
=LD_LIBRARY_PATH
4964 shlibpath_overrides_runpath
=yes
4965 hardcode_into_libs
=yes
4970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4971 shlibpath_var
=LD_LIBRARY_PATH
4972 shlibpath_overrides_runpath
=yes
4979 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4980 soname_spec
='${libname}${release}${shared_ext}$major'
4981 shlibpath_var
=LD_LIBRARY_PATH
4982 shlibpath_overrides_runpath
=yes
4989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4990 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4991 shlibpath_var
=LD_LIBRARY_PATH
4992 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4994 openbsd2.
[89] | openbsd2.
[89].
*)
4995 shlibpath_overrides_runpath
=no
4998 shlibpath_overrides_runpath
=yes
5002 shlibpath_overrides_runpath
=yes
5007 libname_spec
='$name'
5010 library_names_spec
='$libname${shared_ext} $libname.a'
5011 dynamic_linker
='OS/2 ld.exe'
5012 shlibpath_var
=LIBPATH
5015 osf3
* | osf4
* | osf5
*)
5019 soname_spec
='${libname}${release}${shared_ext}$major'
5020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5021 shlibpath_var
=LD_LIBRARY_PATH
5022 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5023 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
5028 soname_spec
='${libname}${release}${shared_ext}$major'
5029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5030 shlibpath_var
=LD_LIBRARY_PATH
5037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5038 soname_spec
='${libname}${release}${shared_ext}$major'
5039 shlibpath_var
=LD_LIBRARY_PATH
5040 shlibpath_overrides_runpath
=yes
5041 hardcode_into_libs
=yes
5042 # ldd complains unless libraries are executable
5043 postinstall_cmds
='chmod +x $lib'
5048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5049 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5050 shlibpath_var
=LD_LIBRARY_PATH
5051 shlibpath_overrides_runpath
=yes
5052 if test "$with_gnu_ld" = yes; then
5058 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5060 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5061 soname_spec
='${libname}${release}${shared_ext}$major'
5062 shlibpath_var
=LD_LIBRARY_PATH
5063 case $host_vendor in
5065 shlibpath_overrides_runpath
=no
5067 export_dynamic_flag_spec
='${wl}-Blargedynsym'
5068 runpath_var
=LD_RUN_PATH
5076 shlibpath_overrides_runpath
=no
5077 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
5083 if test -d /usr
/nec
;then
5085 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5086 soname_spec
='$libname${shared_ext}.$major'
5087 shlibpath_var
=LD_LIBRARY_PATH
5093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5094 soname_spec
='${libname}${release}${shared_ext}$major'
5095 shlibpath_var
=LD_LIBRARY_PATH
5102 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5103 echo "${ECHO_T}$dynamic_linker" >&6
5104 test "$dynamic_linker" = no
&& can_build_shared
=no
5107 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5108 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5109 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5110 echo $ECHO_N "(cached) $ECHO_C" >&6
5112 libltdl_cv_shlibpath_var
="$shlibpath_var"
5114 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5115 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5116 if test -n "$libltdl_cv_shlibpath_var"; then
5118 cat >>confdefs.h
<<_ACEOF
5119 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
5126 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
5129 # See if the user has requested runtime debugging.
5130 LIBGCJDEBUG
="disable"
5132 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5133 if test "${enable_libgcj_debug+set}" = set; then
5134 enableval
="$enable_libgcj_debug"
5135 if test "$enable_libgcj_debug" = yes; then
5137 cat >>confdefs.h
<<\_ACEOF
5141 LIBGCJDEBUG
="enable"
5146 # Check whether --with-escher or --without-escher was given.
5147 if test "${with_escher+set}" = set; then
5148 withval
="$with_escher"
5151 case "$with_escher" in
5159 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
5160 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
5161 { (exit 1); exit 1; }; }
5168 # Determine which AWT peer libraries to build
5169 # Check whether --enable-java-awt or --disable-java-awt was given.
5170 if test "${enable_java_awt+set}" = set; then
5171 enableval
="$enable_java_awt"
5175 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
5180 # The default toolkit to use is the first one specified.
5184 for peer
in $peerlibs ; do
5187 if test "$no_x" = yes; then
5188 echo "*** xlib peers requested but no X library available" 1>&2
5192 if test -z "$TOOLKIT"; then
5193 TOOLKIT
=gnu.awt.xlib.XToolkit
5198 if test "$no_x" = yes; then
5199 echo "*** gtk peers requested but no X library available" 1>&2
5203 if test -z "$TOOLKIT"; then
5204 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5209 if test "$no_x" = yes; then
5210 # Perhaps we should admit the possibility of embedded Qt.
5211 echo "*** Qt peers requested but no X library available" 1>&2
5215 if test -z "$TOOLKIT"; then
5216 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5222 if test -z "$TOOLKIT"; then
5223 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5234 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5241 if test "$use_xlib_awt" = yes; then
5251 if test "$use_x_awt" = yes; then
5261 cat >>confdefs.h
<<_ACEOF
5262 #define AWT_TOOLKIT "$TOOLKIT"
5267 cat >>confdefs.h
<<_ACEOF
5268 #define LIBGCJ_PREFIX "$prefix"
5272 # Create standard.omit based on decisions we just made.
5273 cp $srcdir/standard.omit.
in standard.omit
5274 if test "$use_xlib_awt" != yes; then
5275 echo gnu
/awt
/xlib
>> standard.omit
5276 echo gnu
/gcj
/xlib
>> standard.omit
5278 if test "$use_x_awt" != yes; then
5279 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5282 # Tools that need to be compiled against classpath's tools classes
5283 : > vm-tools-packages
5284 for package
in gnu
/gcj
/tools
/gc_analyze
; do
5285 echo $package >> standard.omit
5286 echo $package >> vm-tools-packages
5289 if test -z "${with_multisubdir}"; then
5292 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5297 # Which gcj and host gcj (for ecjx) do we use?
5299 host_exeext
=${ac_exeext}
5301 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5302 if test -n "${with_cross_host}"; then
5303 # We are being configured with a cross compiler. We can't
5304 # use ac_exeext, because that is for the target platform.
5307 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5308 case "${with_cross_host}" in
5310 cross_host_exeext
=.exe
5313 host_exeext
=${cross_host_exeext}
5314 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5315 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5316 # Ordinary cross (host!=target and host=build)
5319 # Canadian cross (host!=target and host!=build)
5326 # We are being configured with a native or crossed-native compiler
5327 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5328 if test x
"$build" = x
"$host"; then
5329 # True native build (host=target and host=build)
5332 # Crossed-native build (host=target and host!=build)
5339 case "${which_gcj}" in
5341 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5342 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5345 if test "x${with_newlib}" = "xyes"; then
5346 # FIXME (comment): Why is this needed?
5348 GCJ
="${target_noncanonical}-gcj"
5350 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5352 GCJH
='$(target_noncanonical)-gcjh'
5355 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5364 # Create it, so that compile/link tests don't fail
5365 test -f libgcj.spec ||
touch libgcj.spec
5369 # Set up to configure Classpath.
5370 # FIXME: no supported way to pass args in autoconf.
5371 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5372 # Disable tool wrappers to avoid ltdl.h configure check.
5373 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5374 ac_configure_args
="$ac_configure_args --disable-load-library"
5375 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5376 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5377 dir1
=`cd $srcdir && pwd`
5379 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5380 ac_configure_args
="$ac_configure_args --disable-core-jni"
5381 ac_configure_args
="$ac_configure_args --disable-examples"
5382 ac_configure_args
="$ac_configure_args --with-glibj=build"
5383 if test "$plugin_enabled" != yes; then
5384 ac_configure_args
="$ac_configure_args --disable-plugin"
5386 if test "$gconf_enabled" != yes; then
5387 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5388 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5390 if test "$use_gtk_awt" != yes; then
5391 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5393 if test "$use_qt_awt" != yes; then
5394 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5396 # We need this as qt is disabled by default in classpath.
5397 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5399 if test "$use_x_awt" != yes; then
5400 ac_configure_args
="$ac_configure_args --without-escher"
5402 # We need this as escher is disabled by default in classpath.
5403 if test "$use_escher" != true
; then
5404 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5405 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5406 { (exit 1); exit 1; }; }
5408 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5411 # -Werror causes unavoidable problems in code using alsa.
5412 ac_configure_args
="$ac_configure_args --disable-Werror"
5414 # Only use libltdl for non-newlib builds.
5415 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5416 case $enable_ltdl_convenience in
5417 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5418 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5419 { (exit 1); exit 1; }; } ;;
5420 "") enable_ltdl_convenience
=yes
5421 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5423 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5424 LTDLINCL
='-I${top_srcdir}/''libltdl'
5425 # For backwards non-gettext consistent compatibility...
5434 cat >>confdefs.h
<<\_ACEOF
5438 # Sigh. Libtool's macro doesn't do the right thing.
5439 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5440 # FIXME: this is a hack.
5441 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5442 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5449 macro_version
='2.1a'
5450 macro_revision
='1.2435'
5463 ltmain
="$ac_aux_dir/ltmain.sh"
5471 # Check whether --enable-shared or --disable-shared was given.
5472 if test "${enable_shared+set}" = set; then
5473 enableval
="$enable_shared"
5474 p
=${PACKAGE-default}
5476 yes) enable_shared
=yes ;;
5477 no
) enable_shared
=no
;;
5480 # Look at the argument we got. We use all the common list separators.
5481 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5482 for pkg
in $enableval; do
5484 if test "X$pkg" = "X$p"; then
5502 # Check whether --enable-static or --disable-static was given.
5503 if test "${enable_static+set}" = set; then
5504 enableval
="$enable_static"
5505 p
=${PACKAGE-default}
5507 yes) enable_static
=yes ;;
5508 no
) enable_static
=no
;;
5511 # Look at the argument we got. We use all the common list separators.
5512 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5513 for pkg
in $enableval; do
5515 if test "X$pkg" = "X$p"; then
5534 # Check whether --with-pic or --without-pic was given.
5535 if test "${with_pic+set}" = set; then
5542 test -z "$pic_mode" && pic_mode
=default
5550 # Check whether --enable-fast-install or --disable-fast-install was given.
5551 if test "${enable_fast_install+set}" = set; then
5552 enableval
="$enable_fast_install"
5553 p
=${PACKAGE-default}
5555 yes) enable_fast_install
=yes ;;
5556 no
) enable_fast_install
=no
;;
5558 enable_fast_install
=no
5559 # Look at the argument we got. We use all the common list separators.
5560 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5561 for pkg
in $enableval; do
5563 if test "X$pkg" = "X$p"; then
5564 enable_fast_install
=yes
5571 enable_fast_install
=yes
5581 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5582 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5583 if test "${lt_cv_path_SED+set}" = set; then
5584 echo $ECHO_N "(cached) $ECHO_C" >&6
5586 # Loop through the user's path and test for sed and gsed.
5587 # Then use that list of sed's as ones to test for truncation.
5588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5592 test -z "$as_dir" && as_dir
=.
5593 for lt_ac_prog
in sed gsed
; do
5594 for ac_exec_ext
in '' $ac_executable_extensions; do
5595 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5596 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5604 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5605 # along with /bin/sed that truncates output.
5606 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5607 test ! -f $lt_ac_sed && continue
5608 cat /dev
/null
> conftest.
in
5610 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5611 # Check for GNU sed and select it if it is found.
5612 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5613 lt_cv_path_SED
=$lt_ac_sed
5617 cat conftest.
in conftest.
in >conftest.tmp
5618 mv conftest.tmp conftest.
in
5619 cp conftest.
in conftest.
nl
5621 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5622 cmp -s conftest.out conftest.
nl ||
break
5623 # 10000 chars as input seems more than enough
5624 test $lt_ac_count -gt 10 && break
5625 lt_ac_count
=`expr $lt_ac_count + 1`
5626 if test $lt_ac_count -gt $lt_ac_max; then
5627 lt_ac_max
=$lt_ac_count
5628 lt_cv_path_SED
=$lt_ac_sed
5637 echo "$as_me:$LINENO: result: $SED" >&5
5638 echo "${ECHO_T}$SED" >&6
5640 test -z "$SED" && SED
=sed
5641 Xsed
="$SED -e 1s/^X//"
5653 echo "$as_me:$LINENO: checking for egrep" >&5
5654 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5655 if test "${ac_cv_prog_egrep+set}" = set; then
5656 echo $ECHO_N "(cached) $ECHO_C" >&6
5658 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5659 then ac_cv_prog_egrep
='grep -E'
5660 else ac_cv_prog_egrep
='egrep'
5663 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5664 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5665 EGREP
=$ac_cv_prog_egrep
5668 echo "$as_me:$LINENO: checking for fgrep" >&5
5669 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5670 if test "${ac_cv_prog_fgrep+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5673 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5674 then ac_cv_prog_fgrep
='grep -F'
5675 else ac_cv_prog_fgrep
='fgrep'
5678 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5679 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5680 FGREP
=$ac_cv_prog_fgrep
5683 test -z "$GREP" && GREP
=grep
5703 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5704 if test "${with_gnu_ld+set}" = set; then
5705 withval
="$with_gnu_ld"
5706 test "$withval" = no || with_gnu_ld
=yes
5711 if test "$GCC" = yes; then
5712 # Check if gcc -print-prog-name=ld gives a path.
5713 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5714 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5717 # gcc leaves a trailing carriage return which upsets mingw
5718 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5720 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5723 # Accept absolute paths.
5725 re_direlt
='/[^/][^/]*/\.\./'
5726 # Canonicalize the pathname of ld
5727 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5728 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5729 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5731 test -z "$LD" && LD
="$ac_prog"
5734 # If it fails, then pretend we aren't using GCC.
5738 # If it is relative, then search for the first ld in PATH.
5742 elif test "$with_gnu_ld" = yes; then
5743 echo "$as_me:$LINENO: checking for GNU ld" >&5
5744 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5746 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5747 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5749 if test "${lt_cv_path_LD+set}" = set; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5752 if test -z "$LD"; then
5753 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5754 for ac_dir
in $PATH; do
5756 test -z "$ac_dir" && ac_dir
=.
5757 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5758 lt_cv_path_LD
="$ac_dir/$ac_prog"
5759 # Check to see if the program is GNU ld. I'd rather use --version,
5760 # but apparently some variants of GNU ld only accept -v.
5761 # Break only if it was the GNU/non-GNU ld that we prefer.
5762 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5763 *GNU
* |
*'with BFD'*)
5764 test "$with_gnu_ld" != no
&& break
5767 test "$with_gnu_ld" != yes && break
5774 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5779 if test -n "$LD"; then
5780 echo "$as_me:$LINENO: result: $LD" >&5
5781 echo "${ECHO_T}$LD" >&6
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5786 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5787 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5788 { (exit 1); exit 1; }; }
5789 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5790 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5791 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5792 echo $ECHO_N "(cached) $ECHO_C" >&6
5794 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5795 case `$LD -v 2>&1 </dev/null` in
5796 *GNU
* |
*'with BFD'*)
5797 lt_cv_prog_gnu_ld
=yes
5800 lt_cv_prog_gnu_ld
=no
5804 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5805 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5806 with_gnu_ld
=$lt_cv_prog_gnu_ld
5817 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5818 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5819 if test "${lt_cv_path_NM+set}" = set; then
5820 echo $ECHO_N "(cached) $ECHO_C" >&6
5822 if test -n "$NM"; then
5823 # Let the user override the test.
5826 lt_nm_to_check
="${ac_tool_prefix}nm"
5827 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5828 lt_nm_to_check
="$lt_nm_to_check nm"
5830 for lt_tmp_nm
in $lt_nm_to_check; do
5831 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5832 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5834 test -z "$ac_dir" && ac_dir
=.
5835 tmp_nm
="$ac_dir/$lt_tmp_nm"
5836 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5837 # Check to see if the nm accepts a BSD-compat flag.
5838 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5839 # nm: unknown option "B" ignored
5840 # Tru64's nm complains that /dev/null is an invalid object file
5841 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5842 */dev
/null
* |
*'Invalid file or object type'*)
5843 lt_cv_path_NM
="$tmp_nm -B"
5847 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5849 lt_cv_path_NM
="$tmp_nm -p"
5853 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5854 continue # so that we can try to find one that supports BSD flags
5863 : ${lt_cv_path_NM=no}
5866 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5867 echo "${ECHO_T}$lt_cv_path_NM" >&6
5868 if test "$lt_cv_path_NM" != "no"; then
5871 # Didn't find any BSD compatible name lister, look for dumpbin.
5872 if test -n "$ac_tool_prefix"; then
5873 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5875 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5876 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5877 echo "$as_me:$LINENO: checking for $ac_word" >&5
5878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5879 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 if test -n "$DUMPBIN"; then
5883 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5889 test -z "$as_dir" && as_dir
=.
5890 for ac_exec_ext
in '' $ac_executable_extensions; do
5891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5892 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 DUMPBIN
=$ac_cv_prog_DUMPBIN
5902 if test -n "$DUMPBIN"; then
5903 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5904 echo "${ECHO_T}$DUMPBIN" >&6
5906 echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6
5910 test -n "$DUMPBIN" && break
5913 if test -z "$DUMPBIN"; then
5914 ac_ct_DUMPBIN
=$DUMPBIN
5915 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5917 # Extract the first word of "$ac_prog", so it can be a program name with args.
5918 set dummy
$ac_prog; ac_word
=$2
5919 echo "$as_me:$LINENO: checking for $ac_word" >&5
5920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5921 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5924 if test -n "$ac_ct_DUMPBIN"; then
5925 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5931 test -z "$as_dir" && as_dir
=.
5932 for ac_exec_ext
in '' $ac_executable_extensions; do
5933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5944 if test -n "$ac_ct_DUMPBIN"; then
5945 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5946 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5948 echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6
5952 test -n "$ac_ct_DUMPBIN" && break
5954 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5956 DUMPBIN
=$ac_ct_DUMPBIN
5960 if test "$DUMPBIN" != ":"; then
5964 test -z "$NM" && NM
=nm
5971 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5972 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5973 if test "${lt_cv_nm_interface+set}" = set; then
5974 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 lt_cv_nm_interface
="BSD nm"
5977 echo "int some_variable = 0;" > conftest.
$ac_ext
5978 (eval echo "\"\$as_me:5978: $ac_compile\"" >&5)
5979 (eval "$ac_compile" 2>conftest.err
)
5980 cat conftest.err
>&5
5981 (eval echo "\"\$as_me:5981: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5982 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5983 cat conftest.err
>&5
5984 (eval echo "\"\$as_me:5984: output\"" >&5)
5985 cat conftest.out
>&5
5986 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5987 lt_cv_nm_interface
="MS dumpbin"
5991 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5992 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5994 # find the maximum length of command line arguments
5995 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5996 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5997 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 # On DJGPP, this test can blow up pretty badly due to problems in libc
6006 # (any single argument exceeding 2000 bytes causes a buffer overrun
6007 # during glob expansion). Even if it were fixed, the result of this
6008 # check would be larger than it should be.
6009 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6013 # Under GNU Hurd, this test is not required because there is
6014 # no limit to the length of command line arguments.
6015 # Libtool will interpret -1 as no limit whatsoever
6016 lt_cv_sys_max_cmd_len
=-1;
6020 # On Win9x/ME, this test blows up -- it succeeds, but takes
6021 # about 5 minutes as the teststring grows exponentially.
6022 # Worse, since 9x/ME are not pre-emptively multitasking,
6023 # you end up with a "frozen" computer, even though with patience
6024 # the test eventually succeeds (with a max line length of 256k).
6025 # Instead, let's just punt: use the minimum linelength reported by
6026 # all of the supported platforms: 8192 (on NT/2K/XP).
6027 lt_cv_sys_max_cmd_len
=8192;
6031 # On AmigaOS with pdksh, this test takes hours, literally.
6032 # So we just punt and use a minimum line length of 8192.
6033 lt_cv_sys_max_cmd_len
=8192;
6036 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6037 # This has been around since 386BSD, at least. Likely further.
6038 if test -x /sbin
/sysctl
; then
6039 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6040 elif test -x /usr
/sbin
/sysctl
; then
6041 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6043 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6045 # And add a safety zone
6046 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6047 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6051 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6052 lt_cv_sys_max_cmd_len
=196608
6056 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6057 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6058 # nice to cause kernel panics so lets avoid the loop below.
6059 # First set a reasonable default.
6060 lt_cv_sys_max_cmd_len
=16384
6062 if test -x /sbin
/sysconfig
; then
6063 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6064 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6069 lt_cv_sys_max_cmd_len
=102400
6071 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6072 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6073 if test -n "$kargmax"; then
6074 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6076 lt_cv_sys_max_cmd_len
=32768
6080 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
6081 if test -n $lt_cv_sys_max_cmd_len; then
6082 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6083 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6085 # Make teststring a little bigger before we do anything with it.
6086 # a 1K string should be a reasonable start.
6087 for i
in 1 2 3 4 5 6 7 8 ; do
6088 teststring
=$teststring$teststring
6090 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6091 # If test is not a shell built-in, we'll probably end up computing a
6092 # maximum length that is only half of the actual maximum length, but
6094 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6095 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6096 test $i != 17 # 1/2 MB should be enough
6099 teststring
=$teststring$teststring
6101 # Only check the string length outside the loop.
6102 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6104 # Add a significant safety factor because C++ compilers can tack on
6105 # massive amounts of additional arguments before passing them to the
6106 # linker. It appears as though 1/2 is a usable value.
6107 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6114 if test -n $lt_cv_sys_max_cmd_len ; then
6115 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6116 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6118 echo "$as_me:$LINENO: result: none" >&5
6119 echo "${ECHO_T}none" >&6
6121 max_cmd_len
=$lt_cv_sys_max_cmd_len
6132 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6133 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6134 # Try some XSI features
6137 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6138 = c,a/b,, ) >/dev/null 2>&1 \
6140 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6141 echo "${ECHO_T}$xsi_shell" >&6
6144 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6145 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6147 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6149 && lt_shell_append=yes
6150 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6151 echo "${ECHO_T}$lt_shell_append" >&6
6154 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6164 # test EBCDIC or ASCII
6165 case `echo X|tr X '\101'` in
6166 A) # ASCII based system
6167 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6168 lt_SP2NL='tr \040 \012'
6169 lt_NL2SP='tr \015\012 \040\040'
6171 *) # EBCDIC based system
6172 lt_SP2NL='tr \100 \n'
6173 lt_NL2SP='tr \r\n \100\100'
6185 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6186 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6187 if test "${lt_cv_ld_reload_flag+set}" = set; then
6188 echo $ECHO_N "(cached
) $ECHO_C" >&6
6190 lt_cv_ld_reload_flag='-r'
6192 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6193 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6194 reload_flag=$lt_cv_ld_reload_flag
6195 case $reload_flag in
6197 *) reload_flag=" $reload_flag" ;;
6199 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6202 if test "$GCC" = yes; then
6203 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6205 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6219 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6220 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6221 if test "${lt_cv_deplibs_check_method+set}" = set; then
6222 echo $ECHO_N "(cached
) $ECHO_C" >&6
6224 lt_cv_file_magic_cmd='$MAGIC_CMD'
6225 lt_cv_file_magic_test_file=
6226 lt_cv_deplibs_check_method='unknown'
6227 # Need to set the preceding variable on all platforms that support
6228 # interlibrary dependencies.
6229 # 'none' -- dependencies not supported.
6230 # `unknown' -- same as none, but documents that we really don't know.
6231 # 'pass_all' -- all dependencies passed with no checks.
6232 # 'test_compile' -- check by making test program.
6233 # 'file_magic [[regex]]' -- check by looking for files in library path
6234 # which responds to the $file_magic_cmd with a given extended regex.
6235 # If you have `file' or equivalent on your system and you're not sure
6236 # whether `pass_all' will *always* work, you probably want this one.
6240 lt_cv_deplibs_check_method=pass_all
6244 lt_cv_deplibs_check_method=pass_all
6248 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6249 lt_cv_file_magic_cmd='/usr/bin/file -L'
6250 lt_cv_file_magic_test_file=/shlib/libc.so
6254 # func_win32_libid is a shell function defined in ltmain.sh
6255 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6256 lt_cv_file_magic_cmd='func_win32_libid'
6260 # Base MSYS/MinGW do not provide the 'file' command needed by
6261 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6262 # unless we find 'file', for example because we are cross-compiling.
6263 if ( file / ) >/dev/null 2>&1; then
6264 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6265 lt_cv_file_magic_cmd='func_win32_libid'
6267 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6268 lt_cv_file_magic_cmd='$OBJDUMP -f'
6272 darwin* | rhapsody*)
6273 lt_cv_deplibs_check_method=pass_all
6276 freebsd* | dragonfly*)
6277 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6280 # Not sure whether the presence of OpenBSD here was a mistake.
6281 # Let's accept both of them until this is cleared up.
6282 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6283 lt_cv_file_magic_cmd=/usr/bin/file
6284 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6288 lt_cv_deplibs_check_method=pass_all
6293 lt_cv_deplibs_check_method=pass_all
6296 hpux10.20* | hpux11*)
6297 lt_cv_file_magic_cmd=/usr/bin/file
6300 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6301 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6304 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]'
6305 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6308 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6309 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6315 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6319 irix5* | irix6* | nonstopux*)
6321 *-32|*"-32 ") libmagic=32-bit;;
6322 *-n32|*"-n32 ") libmagic=N32;;
6323 *-64|*"-64 ") libmagic=64-bit;;
6324 *) libmagic=never-match;;
6326 lt_cv_deplibs_check_method=pass_all
6329 # This must be Linux ELF.
6330 linux* | k*bsd*-gnu)
6331 lt_cv_deplibs_check_method=pass_all
6335 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6338 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6343 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6344 lt_cv_file_magic_cmd=/usr/bin/file
6345 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6349 lt_cv_deplibs_check_method=pass_all
6353 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6360 osf3* | osf4* | osf5*)
6361 lt_cv_deplibs_check_method=pass_all
6365 lt_cv_deplibs_check_method=pass_all
6369 lt_cv_deplibs_check_method=pass_all
6372 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6373 lt_cv_deplibs_check_method=pass_all
6377 case $host_vendor in
6379 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]'
6380 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6383 lt_cv_deplibs_check_method=pass_all
6386 lt_cv_file_magic_cmd='/bin/file'
6387 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6390 lt_cv_file_magic_cmd='/bin/file'
6391 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6392 lt_cv_file_magic_test_file=/lib/libc.so
6395 lt_cv_deplibs_check_method=pass_all
6398 lt_cv_deplibs_check_method=pass_all
6404 lt_cv_deplibs_check_method=pass_all
6409 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6410 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6411 file_magic_cmd=$lt_cv_file_magic_cmd
6412 deplibs_check_method=$lt_cv_deplibs_check_method
6413 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6426 if test -n "$ac_tool_prefix"; then
6427 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6428 set dummy ${ac_tool_prefix}ar; ac_word=$2
6429 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6430 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6431 if test "${ac_cv_prog_AR+set}" = set; then
6432 echo $ECHO_N "(cached
) $ECHO_C" >&6
6434 if test -n "$AR"; then
6435 ac_cv_prog_AR="$AR" # Let the user override the test.
6437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 test -z "$as_dir" && as_dir=.
6442 for ac_exec_ext in '' $ac_executable_extensions; do
6443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6444 ac_cv_prog_AR="${ac_tool_prefix}ar"
6445 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6454 if test -n "$AR"; then
6455 echo "$as_me:$LINENO: result
: $AR" >&5
6456 echo "${ECHO_T}$AR" >&6
6458 echo "$as_me:$LINENO: result
: no
" >&5
6459 echo "${ECHO_T}no
" >&6
6463 if test -z "$ac_cv_prog_AR"; then
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6468 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6470 echo $ECHO_N "(cached
) $ECHO_C" >&6
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6489 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6495 echo "${ECHO_T}$ac_ct_AR" >&6
6497 echo "$as_me:$LINENO: result
: no
" >&5
6498 echo "${ECHO_T}no
" >&6
6506 test -z "$AR" && AR=ar
6507 test -z "$AR_FLAGS" && AR_FLAGS=cru
6519 if test -n "$ac_tool_prefix"; then
6520 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6521 set dummy ${ac_tool_prefix}strip; ac_word=$2
6522 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6523 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6524 if test "${ac_cv_prog_STRIP+set}" = set; then
6525 echo $ECHO_N "(cached
) $ECHO_C" >&6
6527 if test -n "$STRIP"; then
6528 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6534 test -z "$as_dir" && as_dir=.
6535 for ac_exec_ext in '' $ac_executable_extensions; do
6536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6537 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6538 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6546 STRIP=$ac_cv_prog_STRIP
6547 if test -n "$STRIP"; then
6548 echo "$as_me:$LINENO: result
: $STRIP" >&5
6549 echo "${ECHO_T}$STRIP" >&6
6551 echo "$as_me:$LINENO: result
: no
" >&5
6552 echo "${ECHO_T}no
" >&6
6556 if test -z "$ac_cv_prog_STRIP"; then
6558 # Extract the first word of "strip
", so it can be a program name with args.
6559 set dummy strip; ac_word=$2
6560 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6561 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6562 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6563 echo $ECHO_N "(cached
) $ECHO_C" >&6
6565 if test -n "$ac_ct_STRIP"; then
6566 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6575 ac_cv_prog_ac_ct_STRIP="strip
"
6576 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6582 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6585 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6586 if test -n "$ac_ct_STRIP"; then
6587 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6588 echo "${ECHO_T}$ac_ct_STRIP" >&6
6590 echo "$as_me:$LINENO: result
: no
" >&5
6591 echo "${ECHO_T}no
" >&6
6596 STRIP="$ac_cv_prog_STRIP"
6599 test -z "$STRIP" && STRIP=:
6606 if test -n "$ac_tool_prefix"; then
6607 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6608 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6609 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6610 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6611 if test "${ac_cv_prog_RANLIB+set}" = set; then
6612 echo $ECHO_N "(cached
) $ECHO_C" >&6
6614 if test -n "$RANLIB"; then
6615 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6625 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6633 RANLIB=$ac_cv_prog_RANLIB
6634 if test -n "$RANLIB"; then
6635 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6636 echo "${ECHO_T}$RANLIB" >&6
6638 echo "$as_me:$LINENO: result
: no
" >&5
6639 echo "${ECHO_T}no
" >&6
6643 if test -z "$ac_cv_prog_RANLIB"; then
6644 ac_ct_RANLIB=$RANLIB
6645 # Extract the first word of "ranlib
", so it can be a program name with args.
6646 set dummy ranlib; ac_word=$2
6647 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6648 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6649 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6650 echo $ECHO_N "(cached
) $ECHO_C" >&6
6652 if test -n "$ac_ct_RANLIB"; then
6653 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6662 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6663 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6669 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6672 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6673 if test -n "$ac_ct_RANLIB"; then
6674 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6675 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6677 echo "$as_me:$LINENO: result
: no
" >&5
6678 echo "${ECHO_T}no
" >&6
6681 RANLIB=$ac_ct_RANLIB
6683 RANLIB="$ac_cv_prog_RANLIB"
6686 test -z "$RANLIB" && RANLIB=:
6693 # Determine commands to create old-style static archives.
6694 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6695 old_postinstall_cmds='chmod 644 $oldlib'
6696 old_postuninstall_cmds=
6698 if test -n "$RANLIB"; then
6701 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6704 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6707 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6743 # If no C compiler was specified, use CC.
6746 # If no C compiler flags were specified, use CFLAGS.
6747 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6749 # Allow CC to be a program name with arguments.
6753 # Check for command to grab the raw symbol name followed by C symbol from nm.
6754 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6755 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6756 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6757 echo $ECHO_N "(cached
) $ECHO_C" >&6
6760 # These are sane defaults that work on at least a few old systems.
6761 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6763 # Character class describing NM global symbol codes.
6764 symcode='[BCDEGRST]'
6766 # Regexp to match symbols that can be accessed directly from C.
6767 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6769 # Define system-specific variables.
6774 cygwin* | mingw* | pw32*)
6775 symcode='[ABCDGISTW]'
6778 if test "$host_cpu" = ia64; then
6779 symcode='[ABCDEGRST]'
6783 symcode='[BCDEGRST]'
6786 symcode='[BCDEGQRST]'
6797 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6805 # If we're using GNU nm, then use its standard symbol codes.
6806 case `$NM -V 2>&1` in
6807 *GNU* | *'with BFD'*)
6808 symcode='[ABCDGIRSTW]' ;;
6811 # Transform an extracted symbol line into a proper C declaration.
6812 # Some systems (esp. on ia64) link data and code symbols differently,
6813 # so use this general approach.
6814 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6816 # Transform an extracted symbol line into symbol name and symbol address
6817 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6819 # Handle CRLF in mingw tool chain
6823 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6827 # Try without a prefix underscore, then with it.
6828 for ac_symprfx in "" "_
"; do
6830 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6831 symxfrm="\\1 $ac_symprfx\\2 \\2"
6833 # Write the raw and C identifiers.
6834 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6835 # Fake it for dumpbin and say T for any non-static function
6836 # and D for any global variable.
6837 # Also find C++ and __fastcall symbols from MSVC++,
6838 # which start with @ or ?.
6839 lt_cv_sys_global_symbol_pipe="$AWK '"\
6840 " {last_section=section; section=\$ 3};"\
6841 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6842 " \$ 0!~/External *\|/{next};"\
6843 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6844 " {if(hide[section]) next};"\
6845 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6846 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6847 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6848 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6849 " ' prfx
=^
$ac_symprfx"
6851 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6854 # Check to see that the pipe works correctly.
6858 cat > conftest.$ac_ext <<_LT_EOF
6863 void nm_test_func(void);
6864 void nm_test_func(void){}
6868 int main(){nm_test_var='a';nm_test_func();return(0);}
6871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6872 (eval $ac_compile) 2>&5
6874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6875 (exit $ac_status); }; then
6876 # Now try to grab the symbols.
6878 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6879 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6882 (exit $ac_status); } && test -s "$nlist"; then
6883 # Try sorting and uniquifying the output.
6884 if sort "$nlist" | uniq > "$nlist"T; then
6885 mv -f "$nlist"T "$nlist"
6890 # Make sure that we snagged all the symbols we need.
6891 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6892 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6893 cat <<_LT_EOF > conftest.$ac_ext
6899 # Now generate the symbol file.
6900 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6902 cat <<_LT_EOF >> conftest.$ac_ext
6904 /* The mapping between symbol names and symbols. */
6909 lt__PROGRAM__LTX_preloaded_symbols[] =
6911 { "@PROGRAM@
", (void *) 0 },
6913 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6914 cat <<\_LT_EOF >> conftest.$ac_ext
6918 /* This works around a problem in FreeBSD linker */
6919 #ifdef FREEBSD_WORKAROUND
6920 static const void *lt_preloaded_setup() {
6921 return lt__PROGRAM__LTX_preloaded_symbols;
6929 # Now try linking the two files.
6930 mv conftest.$ac_objext conftstm.$ac_objext
6931 lt_save_LIBS="$LIBS"
6932 lt_save_CFLAGS="$CFLAGS"
6933 LIBS="conftstm.
$ac_objext"
6934 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6936 (eval $ac_link) 2>&5
6938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6939 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6942 LIBS="$lt_save_LIBS"
6943 CFLAGS="$lt_save_CFLAGS"
6945 echo "cannot
find nm_test_func
in $nlist" >&5
6948 echo "cannot
find nm_test_var
in $nlist" >&5
6951 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6954 echo "$progname: failed program was
:" >&5
6955 cat conftest.$ac_ext >&5
6957 rm -f conftest* conftst*
6959 # Do not use the global_symbol_pipe unless it works.
6960 if test "$pipe_works" = yes; then
6963 lt_cv_sys_global_symbol_pipe=
6969 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6970 lt_cv_sys_global_symbol_to_cdecl=
6972 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6973 echo "$as_me:$LINENO: result
: failed
" >&5
6974 echo "${ECHO_T}failed
" >&6
6976 echo "$as_me:$LINENO: result
: ok
" >&5
6977 echo "${ECHO_T}ok
" >&6
6997 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6998 if test "${enable_libtool_lock+set}" = set; then
6999 enableval="$enable_libtool_lock"
7002 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7004 # Some flags need to be propagated to the compiler or linker for good
7008 # Find out which ABI we are using.
7009 echo 'int i;' > conftest.$ac_ext
7010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7011 (eval $ac_compile) 2>&5
7013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7014 (exit $ac_status); }; then
7015 case `/usr/bin/file conftest.$ac_objext` in
7027 # Find out which ABI we are using.
7028 echo '#line 7028 "configure
"' > conftest.$ac_ext
7029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7030 (eval $ac_compile) 2>&5
7032 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7033 (exit $ac_status); }; then
7034 if test "$lt_cv_prog_gnu_ld" = yes; then
7035 case `/usr/bin/file conftest.$ac_objext` in
7037 LD="${LD-ld} -melf32bsmip"
7040 LD="${LD-ld} -melf32bmipn32"
7043 LD="${LD-ld} -melf64bmip"
7047 case `/usr/bin/file conftest.$ac_objext` in
7063 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7064 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7065 # Find out which ABI we are using.
7066 echo 'int i;' > conftest.$ac_ext
7067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7068 (eval $ac_compile) 2>&5
7070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7071 (exit $ac_status); }; then
7072 case `/usr/bin/file conftest.o` in
7075 x86_64-*kfreebsd*-gnu)
7076 LD="${LD-ld} -m elf_i386_fbsd
"
7079 LD="${LD-ld} -m elf_i386
"
7081 ppc64-*linux*|powerpc64-*linux*)
7082 LD="${LD-ld} -m elf32ppclinux
"
7085 LD="${LD-ld} -m elf_s390
"
7088 LD="${LD-ld} -m elf32_sparc
"
7094 x86_64-*kfreebsd*-gnu)
7095 LD="${LD-ld} -m elf_x86_64_fbsd
"
7098 LD="${LD-ld} -m elf_x86_64
"
7100 ppc*-*linux*|powerpc*-*linux*)
7101 LD="${LD-ld} -m elf64ppc
"
7103 s390*-*linux*|s390*-*tpf*)
7104 LD="${LD-ld} -m elf64_s390
"
7107 LD="${LD-ld} -m elf64_sparc
"
7117 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7118 SAVE_CFLAGS="$CFLAGS"
7119 CFLAGS="$CFLAGS -belf"
7120 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7121 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7122 if test "${lt_cv_cc_needs_belf+set}" = set; then
7123 echo $ECHO_N "(cached
) $ECHO_C" >&6
7126 ac_cpp='$CPP $CPPFLAGS'
7127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7131 if test x$gcc_no_link = xyes; then
7132 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7133 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7134 { (exit 1); exit 1; }; }
7136 cat >conftest.$ac_ext <<_ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7151 rm -f conftest.$ac_objext conftest$ac_exeext
7152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7153 (eval $ac_link) 2>conftest.er1
7155 grep -v '^ *+' conftest.er1 >conftest.err
7157 cat conftest.err >&5
7158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7159 (exit $ac_status); } &&
7160 { ac_try='test -z "$ac_c_werror_flag"
7161 || test ! -s conftest.err'
7162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7165 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7166 (exit $ac_status); }; } &&
7167 { ac_try='test -s conftest$ac_exeext'
7168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7171 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7172 (exit $ac_status); }; }; then
7173 lt_cv_cc_needs_belf=yes
7175 echo "$as_me: failed program was
:" >&5
7176 sed 's/^/| /' conftest.$ac_ext >&5
7178 lt_cv_cc_needs_belf=no
7180 rm -f conftest.err conftest.$ac_objext \
7181 conftest$ac_exeext conftest.$ac_ext
7183 ac_cpp='$CPP $CPPFLAGS'
7184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7190 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7191 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7192 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7193 CFLAGS="$SAVE_CFLAGS"
7197 # Find out which ABI we are using.
7198 echo 'int i;' > conftest.$ac_ext
7199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7200 (eval $ac_compile) 2>&5
7202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7203 (exit $ac_status); }; then
7204 case `/usr/bin/file conftest.o` in
7206 case $lt_cv_prog_gnu_ld in
7207 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7208 *) LD="${LD-ld} -64" ;;
7217 need_locks="$enable_libtool_lock"
7220 ac_cpp='$CPP $CPPFLAGS'
7221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7224 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7225 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
7226 # On Suns, sometimes $CPP names a directory.
7227 if test -n "$CPP" && test -d "$CPP"; then
7230 if test -z "$CPP"; then
7231 if test "${ac_cv_prog_CPP+set}" = set; then
7232 echo $ECHO_N "(cached
) $ECHO_C" >&6
7234 # Double quotes because CPP needs to be expanded
7235 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7238 for ac_c_preproc_warn_flag in '' yes
7240 # Use a header file that comes with gcc, so configuring glibc
7241 # with a fresh cross-compiler works.
7242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7243 # <limits.h> exists even on freestanding compilers.
7244 # On the NeXT, cc -E runs the code through the compiler's parser,
7245 # not just through cpp. "Syntax error
" is here to catch this case.
7246 cat >conftest.$ac_ext <<_ACEOF
7249 cat confdefs.h >>conftest.$ac_ext
7250 cat >>conftest.$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7253 # include <limits.h>
7255 # include <assert.h>
7259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7262 grep -v '^ *+' conftest.er1 >conftest.err
7264 cat conftest.err >&5
7265 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7266 (exit $ac_status); } >/dev/null; then
7267 if test -s conftest.err; then
7268 ac_cpp_err=$ac_c_preproc_warn_flag
7269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7276 if test -z "$ac_cpp_err"; then
7279 echo "$as_me: failed program was
:" >&5
7280 sed 's/^/| /' conftest.$ac_ext >&5
7282 # Broken: fails on valid input.
7285 rm -f conftest.err conftest.$ac_ext
7287 # OK, works on sane cases. Now check whether non-existent headers
7288 # can be detected and how.
7289 cat >conftest.$ac_ext <<_ACEOF
7292 cat confdefs.h >>conftest.$ac_ext
7293 cat >>conftest.$ac_ext <<_ACEOF
7294 /* end confdefs.h. */
7295 #include <ac_nonexistent.h>
7297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7300 grep -v '^ *+' conftest.er1 >conftest.err
7302 cat conftest.err >&5
7303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7304 (exit $ac_status); } >/dev/null; then
7305 if test -s conftest.err; then
7306 ac_cpp_err=$ac_c_preproc_warn_flag
7307 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7314 if test -z "$ac_cpp_err"; then
7315 # Broken: success on invalid input.
7318 echo "$as_me: failed program was
:" >&5
7319 sed 's/^/| /' conftest.$ac_ext >&5
7321 # Passes both tests.
7325 rm -f conftest.err conftest.$ac_ext
7328 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7329 rm -f conftest.err conftest.$ac_ext
7330 if $ac_preproc_ok; then
7342 echo "$as_me:$LINENO: result
: $CPP" >&5
7343 echo "${ECHO_T}$CPP" >&6
7345 for ac_c_preproc_warn_flag in '' yes
7347 # Use a header file that comes with gcc, so configuring glibc
7348 # with a fresh cross-compiler works.
7349 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7350 # <limits.h> exists even on freestanding compilers.
7351 # On the NeXT, cc -E runs the code through the compiler's parser,
7352 # not just through cpp. "Syntax error
" is here to catch this case.
7353 cat >conftest.$ac_ext <<_ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h. */
7360 # include <limits.h>
7362 # include <assert.h>
7366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7369 grep -v '^ *+' conftest.er1 >conftest.err
7371 cat conftest.err >&5
7372 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7373 (exit $ac_status); } >/dev/null; then
7374 if test -s conftest.err; then
7375 ac_cpp_err=$ac_c_preproc_warn_flag
7376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7383 if test -z "$ac_cpp_err"; then
7386 echo "$as_me: failed program was
:" >&5
7387 sed 's/^/| /' conftest.$ac_ext >&5
7389 # Broken: fails on valid input.
7392 rm -f conftest.err conftest.$ac_ext
7394 # OK, works on sane cases. Now check whether non-existent headers
7395 # can be detected and how.
7396 cat >conftest.$ac_ext <<_ACEOF
7399 cat confdefs.h >>conftest.$ac_ext
7400 cat >>conftest.$ac_ext <<_ACEOF
7401 /* end confdefs.h. */
7402 #include <ac_nonexistent.h>
7404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7407 grep -v '^ *+' conftest.er1 >conftest.err
7409 cat conftest.err >&5
7410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7411 (exit $ac_status); } >/dev/null; then
7412 if test -s conftest.err; then
7413 ac_cpp_err=$ac_c_preproc_warn_flag
7414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7421 if test -z "$ac_cpp_err"; then
7422 # Broken: success on invalid input.
7425 echo "$as_me: failed program was
:" >&5
7426 sed 's/^/| /' conftest.$ac_ext >&5
7428 # Passes both tests.
7432 rm -f conftest.err conftest.$ac_ext
7435 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7436 rm -f conftest.err conftest.$ac_ext
7437 if $ac_preproc_ok; then
7440 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
7441 See \
`config.log' for more details." >&5
7442 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7443 See \`config.log
' for more details." >&2;}
7444 { (exit 1); exit 1; }; }
7448 ac_cpp='$CPP $CPPFLAGS'
7449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7450 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7454 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7455 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7456 if test "${ac_cv_header_stdc+set}" = set; then
7457 echo $ECHO_N "(cached) $ECHO_C" >&6
7459 cat >conftest.$ac_ext <<_ACEOF
7462 cat confdefs.h >>conftest.$ac_ext
7463 cat >>conftest.$ac_ext <<_ACEOF
7464 /* end confdefs.h. */
7478 rm -f conftest.$ac_objext
7479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7480 (eval $ac_compile) 2>conftest.er1
7482 grep -v '^
*+' conftest.er1 >conftest.err
7484 cat conftest.err >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); } &&
7487 { ac_try='test -z "$ac_c_werror_flag"
7488 ||
test ! -s conftest.err
'
7489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); }; } &&
7494 { ac_try='test -s conftest.
$ac_objext'
7495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); }; }; then
7500 ac_cv_header_stdc=yes
7502 echo "$as_me: failed program was:" >&5
7503 sed 's
/^
/|
/' conftest.$ac_ext >&5
7505 ac_cv_header_stdc=no
7507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7509 if test $ac_cv_header_stdc = yes; then
7510 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7511 cat >conftest.$ac_ext <<_ACEOF
7514 cat confdefs.h >>conftest.$ac_ext
7515 cat >>conftest.$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7521 $EGREP "memchr" >/dev/null 2>&1; then
7524 ac_cv_header_stdc=no
7530 if test $ac_cv_header_stdc = yes; then
7531 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7532 cat >conftest.$ac_ext <<_ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7542 $EGREP "free" >/dev/null 2>&1; then
7545 ac_cv_header_stdc=no
7551 if test $ac_cv_header_stdc = yes; then
7552 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7553 if test "$cross_compiling" = yes; then
7556 cat >conftest.$ac_ext <<_ACEOF
7559 cat confdefs.h >>conftest.$ac_ext
7560 cat >>conftest.$ac_ext <<_ACEOF
7561 /* end confdefs.h. */
7563 #if ((' ' & 0x0FF) == 0x020)
7564 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
7565 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
7567 # define ISLOWER(c) \
7568 (('a
' <= (c) && (c) <= 'i
') \
7569 || ('j
' <= (c) && (c) <= 'r
') \
7570 || ('s
' <= (c) && (c) <= 'z
'))
7571 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7579 for (i = 0; i < 256; i++)
7580 if (XOR (islower (i), ISLOWER (i))
7581 || toupper (i) != TOUPPER (i))
7586 rm -f conftest$ac_exeext
7587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7588 (eval $ac_link) 2>&5
7590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
7592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; }; then
7599 echo "$as_me: program exited with status $ac_status" >&5
7600 echo "$as_me: failed program was:" >&5
7601 sed 's
/^
/|
/' conftest.$ac_ext >&5
7604 ac_cv_header_stdc=no
7606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7610 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7611 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7612 if test $ac_cv_header_stdc = yes; then
7614 cat >>confdefs.h <<\_ACEOF
7615 #define STDC_HEADERS 1
7620 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7630 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7631 inttypes.h stdint.h unistd.h
7633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7634 echo "$as_me:$LINENO: checking for $ac_header" >&5
7635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6
7639 cat >conftest.$ac_ext <<_ACEOF
7642 cat confdefs.h >>conftest.$ac_ext
7643 cat >>conftest.$ac_ext <<_ACEOF
7644 /* end confdefs.h. */
7645 $ac_includes_default
7647 #include <$ac_header>
7649 rm -f conftest.$ac_objext
7650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7651 (eval $ac_compile) 2>conftest.er1
7653 grep -v '^
*+' conftest.er1 >conftest.err
7655 cat conftest.err >&5
7656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7657 (exit $ac_status); } &&
7658 { ac_try='test -z "$ac_c_werror_flag"
7659 ||
test ! -s conftest.err
'
7660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); }; } &&
7665 { ac_try='test -s conftest.
$ac_objext'
7666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); }; }; then
7671 eval "$as_ac_Header=yes"
7673 echo "$as_me: failed program was:" >&5
7674 sed 's
/^
/|
/' conftest.$ac_ext >&5
7676 eval "$as_ac_Header=no"
7678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7683 cat >>confdefs.h <<_ACEOF
7684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7693 for ac_header in dlfcn.h
7695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7696 echo "$as_me:$LINENO: checking for $ac_header" >&5
7697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7699 echo $ECHO_N "(cached) $ECHO_C" >&6
7701 cat >conftest.$ac_ext <<_ACEOF
7704 cat confdefs.h >>conftest.$ac_ext
7705 cat >>conftest.$ac_ext <<_ACEOF
7706 /* end confdefs.h. */
7707 $ac_includes_default
7709 #include <$ac_header>
7711 rm -f conftest.$ac_objext
7712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7713 (eval $ac_compile) 2>conftest.er1
7715 grep -v '^
*+' conftest.er1 >conftest.err
7717 cat conftest.err >&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } &&
7720 { ac_try='test -z "$ac_c_werror_flag"
7721 ||
test ! -s conftest.err
'
7722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7726 (exit $ac_status); }; } &&
7727 { ac_try='test -s conftest.
$ac_objext'
7728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7732 (exit $ac_status); }; }; then
7733 eval "$as_ac_Header=yes"
7735 echo "$as_me: failed program was:" >&5
7736 sed 's
/^
/|
/' conftest.$ac_ext >&5
7738 eval "$as_ac_Header=no"
7740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7745 cat >>confdefs.h <<_ACEOF
7746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7756 ac_cpp='$CXXCPP $CPPFLAGS'
7757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7758 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7760 if test -n "$ac_tool_prefix"; then
7761 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7763 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7764 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7765 echo "$as_me:$LINENO: checking for $ac_word" >&5
7766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7767 if test "${ac_cv_prog_CXX+set}" = set; then
7768 echo $ECHO_N "(cached) $ECHO_C" >&6
7770 if test -n "$CXX"; then
7771 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7780 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7790 if test -n "$CXX"; then
7791 echo "$as_me:$LINENO: result: $CXX" >&5
7792 echo "${ECHO_T}$CXX" >&6
7794 echo "$as_me:$LINENO: result: no" >&5
7795 echo "${ECHO_T}no" >&6
7798 test -n "$CXX" && break
7801 if test -z "$CXX"; then
7803 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7805 # Extract the first word of "$ac_prog", so it can be a program name with args.
7806 set dummy $ac_prog; ac_word=$2
7807 echo "$as_me:$LINENO: checking for $ac_word" >&5
7808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7809 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7810 echo $ECHO_N "(cached) $ECHO_C" >&6
7812 if test -n "$ac_ct_CXX"; then
7813 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7822 ac_cv_prog_ac_ct_CXX="$ac_prog"
7823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7832 if test -n "$ac_ct_CXX"; then
7833 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7834 echo "${ECHO_T}$ac_ct_CXX" >&6
7836 echo "$as_me:$LINENO: result: no" >&5
7837 echo "${ECHO_T}no" >&6
7840 test -n "$ac_ct_CXX" && break
7842 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7848 # Provide some information about the compiler.
7849 echo "$as_me:$LINENO:" \
7850 "checking for C++ compiler version" >&5
7851 ac_compiler=`set X $ac_compile; echo $2`
7852 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7853 (eval $ac_compiler --version </dev/null >&5) 2>&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 (exit $ac_status); }
7857 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7858 (eval $ac_compiler -v </dev/null >&5) 2>&5
7860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7861 (exit $ac_status); }
7862 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7863 (eval $ac_compiler -V </dev/null >&5) 2>&5
7865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7866 (exit $ac_status); }
7868 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7869 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7870 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7871 echo $ECHO_N "(cached) $ECHO_C" >&6
7873 cat >conftest.$ac_ext <<_ACEOF
7876 cat confdefs.h >>conftest.$ac_ext
7877 cat >>conftest.$ac_ext <<_ACEOF
7878 /* end confdefs.h. */
7891 rm -f conftest.$ac_objext
7892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7893 (eval $ac_compile) 2>conftest.er1
7895 grep -v '^
*+' conftest.er1 >conftest.err
7897 cat conftest.err >&5
7898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 (exit $ac_status); } &&
7900 { ac_try='test -z "$ac_cxx_werror_flag"
7901 ||
test ! -s conftest.err
'
7902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); }; } &&
7907 { ac_try='test -s conftest.
$ac_objext'
7908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7912 (exit $ac_status); }; }; then
7915 echo "$as_me: failed program was:" >&5
7916 sed 's
/^
/|
/' conftest.$ac_ext >&5
7920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7921 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7924 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7925 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7926 GXX=`test $ac_compiler_gnu = yes && echo yes`
7927 ac_test_CXXFLAGS=${CXXFLAGS+set}
7928 ac_save_CXXFLAGS=$CXXFLAGS
7930 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7931 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7932 if test "${ac_cv_prog_cxx_g+set}" = set; then
7933 echo $ECHO_N "(cached) $ECHO_C" >&6
7935 cat >conftest.$ac_ext <<_ACEOF
7938 cat confdefs.h >>conftest.$ac_ext
7939 cat >>conftest.$ac_ext <<_ACEOF
7940 /* end confdefs.h. */
7950 rm -f conftest.$ac_objext
7951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7952 (eval $ac_compile) 2>conftest.er1
7954 grep -v '^
*+' conftest.er1 >conftest.err
7956 cat conftest.err >&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); } &&
7959 { ac_try='test -z "$ac_cxx_werror_flag"
7960 ||
test ! -s conftest.err
'
7961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); }; } &&
7966 { ac_try='test -s conftest.
$ac_objext'
7967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); }; }; then
7972 ac_cv_prog_cxx_g=yes
7974 echo "$as_me: failed program was:" >&5
7975 sed 's
/^
/|
/' conftest.$ac_ext >&5
7979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7981 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7982 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7983 if test "$ac_test_CXXFLAGS" = set; then
7984 CXXFLAGS=$ac_save_CXXFLAGS
7985 elif test $ac_cv_prog_cxx_g = yes; then
7986 if test "$GXX" = yes; then
7992 if test "$GXX" = yes; then
7998 for ac_declaration in \
8000 'extern
"C" void std
::exit (int
) throw
(); using std
::exit;' \
8001 'extern
"C" void std
::exit (int
); using std
::exit;' \
8002 'extern
"C" void
exit (int
) throw
();' \
8003 'extern
"C" void
exit (int
);' \
8006 cat >conftest.$ac_ext <<_ACEOF
8009 cat confdefs.h >>conftest.$ac_ext
8010 cat >>conftest.$ac_ext <<_ACEOF
8011 /* end confdefs.h. */
8022 rm -f conftest.$ac_objext
8023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8024 (eval $ac_compile) 2>conftest.er1
8026 grep -v '^
*+' conftest.er1 >conftest.err
8028 cat conftest.err >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } &&
8031 { ac_try='test -z "$ac_cxx_werror_flag"
8032 ||
test ! -s conftest.err
'
8033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037 (exit $ac_status); }; } &&
8038 { ac_try='test -s conftest.
$ac_objext'
8039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 (exit $ac_status); }; }; then
8046 echo "$as_me: failed program was:" >&5
8047 sed 's
/^
/|
/' conftest.$ac_ext >&5
8051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8052 cat >conftest.$ac_ext <<_ACEOF
8055 cat confdefs.h >>conftest.$ac_ext
8056 cat >>conftest.$ac_ext <<_ACEOF
8057 /* end confdefs.h. */
8067 rm -f conftest.$ac_objext
8068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8069 (eval $ac_compile) 2>conftest.er1
8071 grep -v '^
*+' conftest.er1 >conftest.err
8073 cat conftest.err >&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); } &&
8076 { ac_try='test -z "$ac_cxx_werror_flag"
8077 ||
test ! -s conftest.err
'
8078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; } &&
8083 { ac_try='test -s conftest.
$ac_objext'
8084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8088 (exit $ac_status); }; }; then
8091 echo "$as_me: failed program was:" >&5
8092 sed 's
/^
/|
/' conftest.$ac_ext >&5
8095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8098 if test -n "$ac_declaration"; then
8099 echo '#ifdef __cplusplus' >>confdefs.h
8100 echo $ac_declaration >>confdefs.h
8101 echo '#endif' >>confdefs.h
8105 ac_cpp
='$CPP $CPPFLAGS'
8106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8110 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8111 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8112 (test "X$CXX" != "Xg++"))) ; then
8114 ac_cpp
='$CXXCPP $CPPFLAGS'
8115 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8116 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8117 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8118 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8119 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8120 if test -z "$CXXCPP"; then
8121 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8122 echo $ECHO_N "(cached) $ECHO_C" >&6
8124 # Double quotes because CXXCPP needs to be expanded
8125 for CXXCPP
in "$CXX -E" "/lib/cpp"
8128 for ac_cxx_preproc_warn_flag
in '' yes
8130 # Use a header file that comes with gcc, so configuring glibc
8131 # with a fresh cross-compiler works.
8132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8133 # <limits.h> exists even on freestanding compilers.
8134 # On the NeXT, cc -E runs the code through the compiler's parser,
8135 # not just through cpp. "Syntax error" is here to catch this case.
8136 cat >conftest.
$ac_ext <<_ACEOF
8139 cat confdefs.h
>>conftest.
$ac_ext
8140 cat >>conftest.
$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8143 # include <limits.h>
8145 # include <assert.h>
8149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8150 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8152 grep -v '^ *+' conftest.er1
>conftest.err
8154 cat conftest.err
>&5
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } >/dev
/null
; then
8157 if test -s conftest.err
; then
8158 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8159 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8166 if test -z "$ac_cpp_err"; then
8169 echo "$as_me: failed program was:" >&5
8170 sed 's/^/| /' conftest.
$ac_ext >&5
8172 # Broken: fails on valid input.
8175 rm -f conftest.err conftest.
$ac_ext
8177 # OK, works on sane cases. Now check whether non-existent headers
8178 # can be detected and how.
8179 cat >conftest.
$ac_ext <<_ACEOF
8182 cat confdefs.h
>>conftest.
$ac_ext
8183 cat >>conftest.
$ac_ext <<_ACEOF
8184 /* end confdefs.h. */
8185 #include <ac_nonexistent.h>
8187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8190 grep -v '^ *+' conftest.er1
>conftest.err
8192 cat conftest.err
>&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } >/dev
/null
; then
8195 if test -s conftest.err
; then
8196 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8197 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8204 if test -z "$ac_cpp_err"; then
8205 # Broken: success on invalid input.
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.
$ac_ext >&5
8211 # Passes both tests.
8215 rm -f conftest.err conftest.
$ac_ext
8218 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8219 rm -f conftest.err conftest.
$ac_ext
8220 if $ac_preproc_ok; then
8225 ac_cv_prog_CXXCPP
=$CXXCPP
8228 CXXCPP
=$ac_cv_prog_CXXCPP
8230 ac_cv_prog_CXXCPP
=$CXXCPP
8232 echo "$as_me:$LINENO: result: $CXXCPP" >&5
8233 echo "${ECHO_T}$CXXCPP" >&6
8235 for ac_cxx_preproc_warn_flag
in '' yes
8237 # Use a header file that comes with gcc, so configuring glibc
8238 # with a fresh cross-compiler works.
8239 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8240 # <limits.h> exists even on freestanding compilers.
8241 # On the NeXT, cc -E runs the code through the compiler's parser,
8242 # not just through cpp. "Syntax error" is here to catch this case.
8243 cat >conftest.
$ac_ext <<_ACEOF
8246 cat confdefs.h
>>conftest.
$ac_ext
8247 cat >>conftest.
$ac_ext <<_ACEOF
8248 /* end confdefs.h. */
8250 # include <limits.h>
8252 # include <assert.h>
8256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8257 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8259 grep -v '^ *+' conftest.er1
>conftest.err
8261 cat conftest.err
>&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 (exit $ac_status); } >/dev
/null
; then
8264 if test -s conftest.err
; then
8265 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8266 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8273 if test -z "$ac_cpp_err"; then
8276 echo "$as_me: failed program was:" >&5
8277 sed 's/^/| /' conftest.
$ac_ext >&5
8279 # Broken: fails on valid input.
8282 rm -f conftest.err conftest.
$ac_ext
8284 # OK, works on sane cases. Now check whether non-existent headers
8285 # can be detected and how.
8286 cat >conftest.
$ac_ext <<_ACEOF
8289 cat confdefs.h
>>conftest.
$ac_ext
8290 cat >>conftest.
$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8292 #include <ac_nonexistent.h>
8294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8297 grep -v '^ *+' conftest.er1
>conftest.err
8299 cat conftest.err
>&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); } >/dev
/null
; then
8302 if test -s conftest.err
; then
8303 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8304 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8311 if test -z "$ac_cpp_err"; then
8312 # Broken: success on invalid input.
8315 echo "$as_me: failed program was:" >&5
8316 sed 's/^/| /' conftest.
$ac_ext >&5
8318 # Passes both tests.
8322 rm -f conftest.err conftest.
$ac_ext
8325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8326 rm -f conftest.err conftest.
$ac_ext
8327 if $ac_preproc_ok; then
8330 _lt_caught_CXX_error
=yes
8334 ac_cpp
='$CPP $CPPFLAGS'
8335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8340 _lt_caught_CXX_error
=yes
8347 # This can be used to rebuild libtool when needed
8348 LIBTOOL_DEPS
="$ltmain"
8350 # Always use our own libtool.
8351 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8377 test -z "$LN_S" && LN_S
="ln -s"
8392 if test -n "${ZSH_VERSION+set}" ; then
8393 setopt NO_GLOB_SUBST
8396 echo "$as_me:$LINENO: checking for objdir" >&5
8397 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8398 if test "${lt_cv_objdir+set}" = set; then
8399 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 rm -f .libs
2>/dev
/null
8402 mkdir .libs
2>/dev
/null
8403 if test -d .libs
; then
8406 # MS-DOS does not allow filenames that begin with a dot.
8409 rmdir .libs
2>/dev
/null
8411 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8412 echo "${ECHO_T}$lt_cv_objdir" >&6
8413 objdir
=$lt_cv_objdir
8419 cat >>confdefs.h
<<_ACEOF
8420 #define LT_OBJDIR "$lt_cv_objdir/"
8441 # AIX sometimes has problems with the GCC collect2 program. For some
8442 # reason, if we set the COLLECT_NAMES environment variable, the problems
8443 # vanish in a puff of smoke.
8444 if test "X${COLLECT_NAMES+set}" != Xset
; then
8446 export COLLECT_NAMES
8451 # Sed substitution that helps us do robust quoting. It backslashifies
8452 # metacharacters that are still active within double-quoted strings.
8453 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8455 # Same as above, but do not quote variable references.
8456 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8458 # Sed substitution to delay expansion of an escaped shell variable in a
8459 # double_quote_subst'ed string.
8460 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8462 # Sed substitution to delay expansion of an escaped single quote.
8463 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8465 # Sed substitution to avoid accidental globbing in evaled expressions
8466 no_glob_subst
='s/\*/\\\*/g'
8470 can_build_shared
=yes
8472 # All known linkers require a `.a' archive for static linking (except MSVC,
8473 # which needs '.lib').
8476 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8479 old_CFLAGS
="$CFLAGS"
8481 # Set sane defaults for various variables
8482 test -z "$CC" && CC
=cc
8483 test -z "$LTCC" && LTCC
=$CC
8484 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8485 test -z "$LD" && LD
=ld
8486 test -z "$ac_objext" && ac_objext
=o
8488 for cc_temp
in $compiler""; do
8490 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8491 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8496 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8499 # Only perform the check for file, if the check method requires it
8500 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8501 case $deplibs_check_method in
8503 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8504 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8505 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8506 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8507 echo $ECHO_N "(cached) $ECHO_C" >&6
8511 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8514 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8515 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8516 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8517 for ac_dir
in $ac_dummy; do
8519 test -z "$ac_dir" && ac_dir
=.
8520 if test -f $ac_dir/${ac_tool_prefix}file; then
8521 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8522 if test -n "$file_magic_test_file"; then
8523 case $deplibs_check_method in
8525 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8526 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8527 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8528 $EGREP "$file_magic_regex" > /dev
/null
; then
8533 *** Warning: the command libtool uses to detect shared libraries,
8534 *** $file_magic_cmd, produces output that libtool cannot recognize.
8535 *** The result is that libtool may fail to recognize shared libraries
8536 *** as such. This will affect the creation of libtool libraries that
8537 *** depend on shared libraries, but programs linked with such libtool
8538 *** libraries will work regardless of this problem. Nevertheless, you
8539 *** may want to report the problem to your system manager and/or to
8540 *** bug-libtool@gnu.org
8550 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8555 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8556 if test -n "$MAGIC_CMD"; then
8557 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8558 echo "${ECHO_T}$MAGIC_CMD" >&6
8560 echo "$as_me:$LINENO: result: no" >&5
8561 echo "${ECHO_T}no" >&6
8568 if test -z "$lt_cv_path_MAGIC_CMD"; then
8569 if test -n "$ac_tool_prefix"; then
8570 echo "$as_me:$LINENO: checking for file" >&5
8571 echo $ECHO_N "checking for file... $ECHO_C" >&6
8572 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8573 echo $ECHO_N "(cached) $ECHO_C" >&6
8577 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8580 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8581 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8582 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8583 for ac_dir
in $ac_dummy; do
8585 test -z "$ac_dir" && ac_dir
=.
8586 if test -f $ac_dir/file; then
8587 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8588 if test -n "$file_magic_test_file"; then
8589 case $deplibs_check_method in
8591 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8592 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8593 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8594 $EGREP "$file_magic_regex" > /dev
/null
; then
8599 *** Warning: the command libtool uses to detect shared libraries,
8600 *** $file_magic_cmd, produces output that libtool cannot recognize.
8601 *** The result is that libtool may fail to recognize shared libraries
8602 *** as such. This will affect the creation of libtool libraries that
8603 *** depend on shared libraries, but programs linked with such libtool
8604 *** libraries will work regardless of this problem. Nevertheless, you
8605 *** may want to report the problem to your system manager and/or to
8606 *** bug-libtool@gnu.org
8616 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8621 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8622 if test -n "$MAGIC_CMD"; then
8623 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8624 echo "${ECHO_T}$MAGIC_CMD" >&6
8626 echo "$as_me:$LINENO: result: no" >&5
8627 echo "${ECHO_T}no" >&6
8640 # Use C for the default configuration in the libtool script
8644 ac_cpp
='$CPP $CPPFLAGS'
8645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8650 # Source file extension for C test sources.
8653 # Object file extension for compiled C test sources.
8657 # Code to be used in simple compile tests
8658 lt_simple_compile_test_code
="int some_variable = 0;"
8660 # Code to be used in simple link tests
8661 lt_simple_link_test_code
='int main(){return(0);}'
8669 # If no C compiler was specified, use CC.
8672 # If no C compiler flags were specified, use CFLAGS.
8673 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8675 # Allow CC to be a program name with arguments.
8678 # Save the default compiler, since it gets overwritten when the other
8679 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8680 compiler_DEFAULT
=$CC
8682 # save warnings/boilerplate of simple test code
8683 ac_outfile
=conftest.
$ac_objext
8684 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8685 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8686 _lt_compiler_boilerplate
=`cat conftest.err`
8689 ac_outfile
=conftest.
$ac_objext
8690 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8691 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8692 _lt_linker_boilerplate
=`cat conftest.err`
8697 ## There is no encapsulation within the following macros, do not change
8698 ## the running order or otherwise move them around unless you know exactly
8699 ## what you are doing...
8700 if test -n "$compiler"; then
8702 lt_prog_compiler_no_builtin_flag
=
8704 if test "$GCC" = yes; then
8705 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8707 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8708 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8709 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8710 echo $ECHO_N "(cached) $ECHO_C" >&6
8712 lt_cv_prog_compiler_rtti_exceptions
=no
8713 ac_outfile
=conftest.
$ac_objext
8714 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8715 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8716 # Insert the option either (1) after the last *FLAGS variable, or
8717 # (2) before a word containing "conftest.", or (3) at the end.
8718 # Note that $ac_compile itself does not contain backslashes and begins
8719 # with a dollar sign (not a hyphen), so the echo should work correctly.
8720 # The option is referenced via a variable to avoid confusing sed.
8721 lt_compile
=`echo "$ac_compile" | $SED \
8722 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8723 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8724 -e 's:$: $lt_compiler_flag:'`
8725 (eval echo "\"\$as_me:8725: $lt_compile\"" >&5)
8726 (eval "$lt_compile" 2>conftest.err
)
8728 cat conftest.err
>&5
8729 echo "$as_me:8729: \$? = $ac_status" >&5
8730 if (exit $ac_status) && test -s "$ac_outfile"; then
8731 # The compiler can only warn and ignore the option if not recognized
8732 # So say no if there are warnings other than the usual output.
8733 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8734 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8735 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8736 lt_cv_prog_compiler_rtti_exceptions
=yes
8742 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8743 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8745 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8746 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8758 lt_prog_compiler_wl
=
8759 lt_prog_compiler_pic
=
8760 lt_prog_compiler_static
=
8762 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8763 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8765 if test "$GCC" = yes; then
8766 lt_prog_compiler_wl
='-Wl,'
8767 lt_prog_compiler_static
='-static'
8771 # All AIX code is PIC.
8772 if test "$host_cpu" = ia64
; then
8773 # AIX 5 now supports IA64 processor
8774 lt_prog_compiler_static
='-Bstatic'
8779 if test "$host_cpu" = m68k
; then
8780 # FIXME: we need at least 68020 code to build shared libraries, but
8781 # adding the `-m68020' flag to GCC prevents building anything better,
8783 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8787 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8788 # PIC is the default for these OSes.
8791 mingw
* | cygwin
* | pw32
* | os2
*)
8792 # This hack is so that the source file can tell whether it is being
8793 # built for inclusion in a dll (and should export symbols for example).
8794 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8795 # (--disable-auto-import) libraries
8796 lt_prog_compiler_pic
='-DDLL_EXPORT'
8799 darwin
* | rhapsody
*)
8800 # PIC is the default on this platform
8801 # Common symbols not allowed in MH_DYLIB files
8802 lt_prog_compiler_pic
='-fno-common'
8806 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8813 lt_prog_compiler_pic
='-fPIC'
8819 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8820 # Instead, we relocate shared libraries at runtime.
8824 # Just because we use GCC doesn't mean we suddenly get shared libraries
8825 # on systems that don't support them.
8826 lt_prog_compiler_can_build_shared
=no
8831 # QNX uses GNU C++, but need to define -shared option too, otherwise
8833 lt_prog_compiler_pic
='-fPIC -shared'
8837 if test -d /usr
/nec
; then
8838 lt_prog_compiler_pic
=-Kconform_pic
8843 lt_prog_compiler_pic
='-fPIC'
8847 # PORTME Check for flag to pass linker flags through the system compiler.
8850 lt_prog_compiler_wl
='-Wl,'
8851 if test "$host_cpu" = ia64
; then
8852 # AIX 5 now supports IA64 processor
8853 lt_prog_compiler_static
='-Bstatic'
8855 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8859 # PIC is the default on this platform
8860 # Common symbols not allowed in MH_DYLIB files
8861 case $cc_basename in
8863 lt_prog_compiler_pic
='-qnocommon'
8864 lt_prog_compiler_wl
='-Wl,'
8869 mingw
* | cygwin
* | pw32
* | os2
*)
8870 # This hack is so that the source file can tell whether it is being
8871 # built for inclusion in a dll (and should export symbols for example).
8872 lt_prog_compiler_pic
='-DDLL_EXPORT'
8875 hpux9
* | hpux10
* | hpux11
*)
8876 lt_prog_compiler_wl
='-Wl,'
8877 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8884 lt_prog_compiler_pic
='+Z'
8887 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8888 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8891 irix5
* | irix6
* | nonstopux
*)
8892 lt_prog_compiler_wl
='-Wl,'
8893 # PIC (with -KPIC) is the default.
8894 lt_prog_compiler_static
='-non_shared'
8897 linux
* | k
*bsd
*-gnu)
8898 case $cc_basename in
8900 lt_prog_compiler_wl
='-Wl,'
8901 lt_prog_compiler_pic
='-KPIC'
8902 lt_prog_compiler_static
='-static'
8904 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8905 # Portland Group compilers (*not* the Pentium gcc compiler,
8906 # which looks to be a dead project)
8907 lt_prog_compiler_wl
='-Wl,'
8908 lt_prog_compiler_pic
='-fpic'
8909 lt_prog_compiler_static
='-Bstatic'
8912 lt_prog_compiler_wl
='-Wl,'
8913 # All Alpha code is PIC.
8914 lt_prog_compiler_static
='-non_shared'
8917 case `$CC -V 2>&1 | sed 5q` in
8920 lt_prog_compiler_pic
='-KPIC'
8921 lt_prog_compiler_static
='-Bstatic'
8922 lt_prog_compiler_wl
='-Wl,'
8925 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8926 lt_prog_compiler_pic
='-KPIC'
8927 lt_prog_compiler_static
='-Bstatic'
8928 lt_prog_compiler_wl
=''
8936 lt_prog_compiler_pic
='-KPIC'
8937 lt_prog_compiler_static
='-Bstatic'
8941 # QNX uses GNU C++, but need to define -shared option too, otherwise
8943 lt_prog_compiler_pic
='-fPIC -shared'
8946 osf3
* | osf4
* | osf5
*)
8947 lt_prog_compiler_wl
='-Wl,'
8948 # All OSF/1 code is PIC.
8949 lt_prog_compiler_static
='-non_shared'
8953 lt_prog_compiler_static
='-non_shared'
8957 lt_prog_compiler_pic
='-KPIC'
8958 lt_prog_compiler_static
='-Bstatic'
8959 case $cc_basename in
8961 lt_prog_compiler_wl
='-Qoption ld ';;
8963 lt_prog_compiler_wl
='-Wl,';;
8968 lt_prog_compiler_wl
='-Qoption ld '
8969 lt_prog_compiler_pic
='-PIC'
8970 lt_prog_compiler_static
='-Bstatic'
8973 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8974 lt_prog_compiler_wl
='-Wl,'
8975 lt_prog_compiler_pic
='-KPIC'
8976 lt_prog_compiler_static
='-Bstatic'
8980 if test -d /usr
/nec
;then
8981 lt_prog_compiler_pic
='-Kconform_pic'
8982 lt_prog_compiler_static
='-Bstatic'
8986 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8987 lt_prog_compiler_wl
='-Wl,'
8988 lt_prog_compiler_pic
='-KPIC'
8989 lt_prog_compiler_static
='-Bstatic'
8993 lt_prog_compiler_wl
='-Wl,'
8994 lt_prog_compiler_can_build_shared
=no
8998 lt_prog_compiler_pic
='-pic'
8999 lt_prog_compiler_static
='-Bstatic'
9003 lt_prog_compiler_can_build_shared
=no
9009 # For platforms which do not support PIC, -DPIC is meaningless:
9011 lt_prog_compiler_pic
=
9014 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9017 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9018 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9026 # Check to make sure the PIC flag actually works.
9028 if test -n "$lt_prog_compiler_pic"; then
9029 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9030 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9031 if test "${lt_prog_compiler_pic_works+set}" = set; then
9032 echo $ECHO_N "(cached) $ECHO_C" >&6
9034 lt_prog_compiler_pic_works
=no
9035 ac_outfile
=conftest.
$ac_objext
9036 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9037 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9038 # Insert the option either (1) after the last *FLAGS variable, or
9039 # (2) before a word containing "conftest.", or (3) at the end.
9040 # Note that $ac_compile itself does not contain backslashes and begins
9041 # with a dollar sign (not a hyphen), so the echo should work correctly.
9042 # The option is referenced via a variable to avoid confusing sed.
9043 lt_compile
=`echo "$ac_compile" | $SED \
9044 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9045 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9046 -e 's:$: $lt_compiler_flag:'`
9047 (eval echo "\"\$as_me:9047: $lt_compile\"" >&5)
9048 (eval "$lt_compile" 2>conftest.err
)
9050 cat conftest.err
>&5
9051 echo "$as_me:9051: \$? = $ac_status" >&5
9052 if (exit $ac_status) && test -s "$ac_outfile"; then
9053 # The compiler can only warn and ignore the option if not recognized
9054 # So say no if there are warnings other than the usual output.
9055 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9056 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9057 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9058 lt_prog_compiler_pic_works
=yes
9064 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9065 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9067 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9068 case $lt_prog_compiler_pic in
9070 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9073 lt_prog_compiler_pic
=
9074 lt_prog_compiler_can_build_shared
=no
9085 # Check to make sure the static flag actually works.
9087 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9088 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9089 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9090 if test "${lt_prog_compiler_static_works+set}" = set; then
9091 echo $ECHO_N "(cached) $ECHO_C" >&6
9093 lt_prog_compiler_static_works
=no
9094 save_LDFLAGS
="$LDFLAGS"
9095 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9096 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9097 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9098 # The linker can only warn and ignore the option if not recognized
9099 # So say no if there are warnings
9100 if test -s conftest.err
; then
9101 # Append any errors to the config.log.
9102 cat conftest.err
1>&5
9103 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9104 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9105 if diff conftest.exp conftest.er2
>/dev
/null
; then
9106 lt_prog_compiler_static_works
=yes
9109 lt_prog_compiler_static_works
=yes
9113 LDFLAGS
="$save_LDFLAGS"
9116 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9117 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9119 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9122 lt_prog_compiler_static
=
9131 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9132 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9133 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9134 echo $ECHO_N "(cached) $ECHO_C" >&6
9136 lt_cv_prog_compiler_c_o
=no
9137 $RM -r conftest
2>/dev
/null
9141 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9143 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9144 # Insert the option either (1) after the last *FLAGS variable, or
9145 # (2) before a word containing "conftest.", or (3) at the end.
9146 # Note that $ac_compile itself does not contain backslashes and begins
9147 # with a dollar sign (not a hyphen), so the echo should work correctly.
9148 lt_compile
=`echo "$ac_compile" | $SED \
9149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9151 -e 's:$: $lt_compiler_flag:'`
9152 (eval echo "\"\$as_me:9152: $lt_compile\"" >&5)
9153 (eval "$lt_compile" 2>out
/conftest.err
)
9155 cat out
/conftest.err
>&5
9156 echo "$as_me:9156: \$? = $ac_status" >&5
9157 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9159 # The compiler can only warn and ignore the option if not recognized
9160 # So say no if there are warnings
9161 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9162 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9163 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9164 lt_cv_prog_compiler_c_o
=yes
9169 # SGI C++ compiler will create directory out/ii_files/ for
9170 # template instantiation
9171 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9172 $RM out
/* && rmdir out
9178 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9179 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9186 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9187 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9188 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9189 echo $ECHO_N "(cached) $ECHO_C" >&6
9191 lt_cv_prog_compiler_c_o
=no
9192 $RM -r conftest
2>/dev
/null
9196 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9198 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9199 # Insert the option either (1) after the last *FLAGS variable, or
9200 # (2) before a word containing "conftest.", or (3) at the end.
9201 # Note that $ac_compile itself does not contain backslashes and begins
9202 # with a dollar sign (not a hyphen), so the echo should work correctly.
9203 lt_compile
=`echo "$ac_compile" | $SED \
9204 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9205 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9206 -e 's:$: $lt_compiler_flag:'`
9207 (eval echo "\"\$as_me:9207: $lt_compile\"" >&5)
9208 (eval "$lt_compile" 2>out
/conftest.err
)
9210 cat out
/conftest.err
>&5
9211 echo "$as_me:9211: \$? = $ac_status" >&5
9212 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9214 # The compiler can only warn and ignore the option if not recognized
9215 # So say no if there are warnings
9216 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9217 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9218 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9219 lt_cv_prog_compiler_c_o
=yes
9224 # SGI C++ compiler will create directory out/ii_files/ for
9225 # template instantiation
9226 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9227 $RM out
/* && rmdir out
9233 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9234 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9239 hard_links
="nottested"
9240 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9241 # do not overwrite the value of need_locks provided by the user
9242 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9243 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9246 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9248 ln conftest.a conftest.b
2>&5 || hard_links
=no
9249 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9250 echo "$as_me:$LINENO: result: $hard_links" >&5
9251 echo "${ECHO_T}$hard_links" >&6
9252 if test "$hard_links" = no
; then
9253 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9254 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9266 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9267 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9270 allow_undefined_flag
=
9271 always_export_symbols
=no
9273 archive_expsym_cmds
=
9274 compiler_needs_object
=no
9275 enable_shared_with_static_runtimes
=no
9276 export_dynamic_flag_spec
=
9277 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9278 hardcode_automatic
=no
9280 hardcode_direct_absolute
=no
9281 hardcode_libdir_flag_spec
=
9282 hardcode_libdir_flag_spec_ld
=
9283 hardcode_libdir_separator
=
9285 hardcode_shlibpath_var
=unsupported
9287 link_all_deplibs
=unknown
9290 old_archive_from_new_cmds
=
9291 old_archive_from_expsyms_cmds
=
9292 thread_safe_flag_spec
=
9293 whole_archive_flag_spec
=
9294 # include_expsyms should be a list of space-separated symbols to be *always*
9295 # included in the symbol list
9297 # exclude_expsyms can be an extended regexp of symbols to exclude
9298 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9299 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9300 # as well as any symbol that contains `d'.
9301 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9302 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9303 # platforms (ab)use it in PIC code, but their linkers get confused if
9304 # the symbol is explicitly referenced. Since portable code cannot
9305 # rely on this symbol name, it's probably fine to never include it in
9306 # preloaded symbol tables.
9307 extract_expsyms_cmds
=
9310 cygwin
* | mingw
* | pw32
*)
9311 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9312 # When not using gcc, we currently assume that we are using
9313 # Microsoft Visual C++.
9314 if test "$GCC" != yes; then
9319 # we just hope/assume this is gcc and not c89 (= MSVC++)
9328 if test "$with_gnu_ld" = yes; then
9329 # If archive_cmds runs LD, not CC, wlarc should be empty
9332 # Set some defaults for GNU ld with shared library support. These
9333 # are reset later if shared libraries are not supported. Putting them
9334 # here allows them to be overridden if necessary.
9335 runpath_var
=LD_RUN_PATH
9336 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9337 export_dynamic_flag_spec
='${wl}--export-dynamic'
9338 # ancient GNU ld didn't support --whole-archive et. al.
9339 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9340 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9342 whole_archive_flag_spec
=
9344 supports_anon_versioning
=no
9345 case `$LD -v 2>&1` in
9346 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9347 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9348 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9349 *\
2.11.
*) ;; # other 2.11 versions
9350 *) supports_anon_versioning
=yes ;;
9353 # See if GNU ld supports shared libraries.
9356 # On AIX/PPC, the GNU linker is very broken
9357 if test "$host_cpu" != ia64
; then
9361 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9362 *** to be unable to reliably create shared libraries on AIX.
9363 *** Therefore, libtool is disabling shared libraries support. If you
9364 *** really care for shared libraries, you may want to modify your PATH
9365 *** so that a non-GNU linker is found, and then restart.
9372 if test "$host_cpu" = m68k
; then
9373 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)'
9374 hardcode_libdir_flag_spec
='-L$libdir'
9375 hardcode_minus_L
=yes
9378 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9379 # that the semantics of dynamic libraries on AmigaOS, at least up
9380 # to version 4, is to share data among multiple programs linked
9381 # with the same dynamic library. Since this doesn't match the
9382 # behavior of shared libraries on other platforms, we can't use
9388 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9389 allow_undefined_flag
=unsupported
9390 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9391 # support --undefined. This deserves some investigation. FIXME
9392 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 cygwin
* | mingw
* | pw32
*)
9399 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9400 # as there is no search path for DLLs.
9401 hardcode_libdir_flag_spec
='-L$libdir'
9402 allow_undefined_flag
=unsupported
9403 always_export_symbols
=no
9404 enable_shared_with_static_runtimes
=yes
9405 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9407 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9408 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9409 # If the export-symbols file already is a .def file (1st line
9410 # is EXPORTS), use it as is; otherwise, prepend...
9411 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9412 cp $export_symbols $output_objdir/$soname.def;
9414 echo EXPORTS > $output_objdir/$soname.def;
9415 cat $export_symbols >> $output_objdir/$soname.def;
9417 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9425 hardcode_shlibpath_var
=no
9426 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9427 export_dynamic_flag_spec
='${wl}-E'
9428 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9429 # Instead, shared libraries are loaded at an image base (0x10000000 by
9430 # default) and relocated if they conflict, which is a slow very memory
9431 # consuming and fragmenting process. To avoid this, we pick a random,
9432 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9433 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9434 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9435 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'
9438 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9440 if test "$host_os" = linux-dietlibc
; then
9441 case $cc_basename in
9442 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9445 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9446 && test "$tmp_diet" = no
9449 case $cc_basename,$host_cpu in
9450 pgcc
*) # Portland Group C compiler
9451 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'
9452 tmp_addflag
=' $pic_flag'
9454 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9455 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'
9456 tmp_addflag
=' $pic_flag -Mnomain' ;;
9457 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9458 tmp_addflag
=' -i_dynamic' ;;
9459 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9460 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9461 ifc
* | ifort
*) # Intel Fortran compiler
9462 tmp_addflag
=' -nofor_main' ;;
9464 case `$CC -V 2>&1 | sed 5q` in
9465 *Sun\ C
*) # Sun C 5.9
9466 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'
9467 compiler_needs_object
=yes
9468 tmp_sharedflag
='-G' ;;
9469 *Sun\ F
*) # Sun Fortran 8.3
9470 tmp_sharedflag
='-G' ;;
9472 tmp_sharedflag
='-shared' ;;
9474 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9476 if test "x$supports_anon_versioning" = xyes
; then
9477 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9478 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9479 echo "local: *; };" >> $output_objdir/$libname.ver~
9480 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9488 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9489 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9492 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9493 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9502 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9503 *** create shared libraries on Solaris systems. Therefore, libtool
9504 *** is disabling shared libraries support. We urge you to upgrade GNU
9505 *** binutils to release 2.9.1 or newer. Another option is to modify
9506 *** your PATH or compiler configuration so that the native linker is
9507 *** used, and then restart.
9510 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9511 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9512 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9518 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9519 case `$LD -v 2>&1` in
9520 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9524 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9525 *** reliably create shared libraries on SCO systems. Therefore, libtool
9526 *** is disabling shared libraries support. We urge you to upgrade GNU
9527 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9528 *** your PATH or compiler configuration so that the native linker is
9529 *** used, and then restart.
9534 # For security reasons, it is highly recommended that you always
9535 # use absolute paths for naming shared libraries, and exclude the
9536 # DT_RUNPATH tag from executables and libraries. But doing so
9537 # requires that you compile everything twice, which is a pain.
9538 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9539 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9540 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9541 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9550 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9553 hardcode_shlibpath_var
=no
9557 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9558 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9559 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9566 if test "$ld_shlibs" = no
; then
9568 hardcode_libdir_flag_spec
=
9569 export_dynamic_flag_spec
=
9570 whole_archive_flag_spec
=
9573 # PORTME fill in a description of your system's linker (not GNU ld)
9576 allow_undefined_flag
=unsupported
9577 always_export_symbols
=yes
9578 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'
9579 # Note: this linker hardcodes the directories in LIBPATH if there
9580 # are no directories specified by -L.
9581 hardcode_minus_L
=yes
9582 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9583 # Neither direct hardcoding nor static linking is supported with a
9585 hardcode_direct
=unsupported
9590 if test "$host_cpu" = ia64
; then
9591 # On IA64, the linker does run time linking by default, so we don't
9592 # have to do anything special.
9593 aix_use_runtimelinking
=no
9594 exp_sym_flag
='-Bexport'
9597 # If we're using GNU nm, then we don't want the "-C" option.
9598 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9599 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9600 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'
9602 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'
9604 aix_use_runtimelinking
=no
9606 # Test if we are trying to use run time linking or normal
9607 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9608 # need to do runtime linking.
9609 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9610 for ld_flag
in $LDFLAGS; do
9611 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9612 aix_use_runtimelinking
=yes
9619 exp_sym_flag
='-bexport'
9620 no_entry_flag
='-bnoentry'
9623 # When large executables or shared objects are built, AIX ld can
9624 # have problems creating the table of contents. If linking a library
9625 # or program results in "error TOC overflow" add -mminimal-toc to
9626 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9627 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9631 hardcode_direct_absolute
=yes
9632 hardcode_libdir_separator
=':'
9633 link_all_deplibs
=yes
9634 file_list_spec
='${wl}-f,'
9636 if test "$GCC" = yes; then
9637 case $host_os in aix4.
[012]|aix4.
[012].
*)
9638 # We only want to do this on AIX 4.2 and lower, the check
9639 # below for broken collect2 doesn't work under 4.3+
9640 collect2name
=`${CC} -print-prog-name=collect2`
9641 if test -f "$collect2name" &&
9642 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9644 # We have reworked collect2
9647 # We have old collect2
9648 hardcode_direct
=unsupported
9649 # It fails to find uninstalled libraries when the uninstalled
9650 # path is not listed in the libpath. Setting hardcode_minus_L
9651 # to unsupported forces relinking
9652 hardcode_minus_L
=yes
9653 hardcode_libdir_flag_spec
='-L$libdir'
9654 hardcode_libdir_separator
=
9658 shared_flag
='-shared'
9659 if test "$aix_use_runtimelinking" = yes; then
9660 shared_flag
="$shared_flag "'${wl}-G'
9664 if test "$host_cpu" = ia64
; then
9665 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9666 # chokes on -Wl,-G. The following line is correct:
9669 if test "$aix_use_runtimelinking" = yes; then
9670 shared_flag
='${wl}-G'
9672 shared_flag
='${wl}-bM:SRE'
9677 # It seems that -bexpall does not export symbols beginning with
9678 # underscore (_), so it is better to generate a list of symbols to export.
9679 always_export_symbols
=yes
9680 if test "$aix_use_runtimelinking" = yes; then
9681 # Warning - without using the other runtime loading flags (-brtl),
9682 # -berok will link without error, but may produce a broken library.
9683 allow_undefined_flag
='-berok'
9684 # Determine the default libpath from the value encoded in an
9686 if test x
$gcc_no_link = xyes
; then
9687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9689 { (exit 1); exit 1; }; }
9691 cat >conftest.
$ac_ext <<_ACEOF
9694 cat confdefs.h
>>conftest.
$ac_ext
9695 cat >>conftest.
$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9706 rm -f conftest.
$ac_objext conftest
$ac_exeext
9707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9708 (eval $ac_link) 2>conftest.er1
9710 grep -v '^ *+' conftest.er1
>conftest.err
9712 cat conftest.err
>&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); } &&
9715 { ac_try
='test -z "$ac_c_werror_flag"
9716 || test ! -s conftest.err'
9717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); }; } &&
9722 { ac_try
='test -s conftest$ac_exeext'
9723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9727 (exit $ac_status); }; }; then
9729 lt_aix_libpath_sed
='
9730 /Import File Strings/,/^$/ {
9736 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9737 # Check for a 64-bit object if we didn't find anything.
9738 if test -z "$aix_libpath"; then
9739 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9742 echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.
$ac_ext >&5
9746 rm -f conftest.err conftest.
$ac_objext \
9747 conftest
$ac_exeext conftest.
$ac_ext
9748 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9750 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9751 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"
9753 if test "$host_cpu" = ia64
; then
9754 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9755 allow_undefined_flag
="-z nodefs"
9756 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"
9758 # Determine the default libpath from the value encoded in an
9760 if test x
$gcc_no_link = xyes
; then
9761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9763 { (exit 1); exit 1; }; }
9765 cat >conftest.
$ac_ext <<_ACEOF
9768 cat confdefs.h
>>conftest.
$ac_ext
9769 cat >>conftest.
$ac_ext <<_ACEOF
9770 /* end confdefs.h. */
9780 rm -f conftest.
$ac_objext conftest
$ac_exeext
9781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9782 (eval $ac_link) 2>conftest.er1
9784 grep -v '^ *+' conftest.er1
>conftest.err
9786 cat conftest.err
>&5
9787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9788 (exit $ac_status); } &&
9789 { ac_try
='test -z "$ac_c_werror_flag"
9790 || test ! -s conftest.err'
9791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); }; } &&
9796 { ac_try
='test -s conftest$ac_exeext'
9797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); }; }; then
9803 lt_aix_libpath_sed
='
9804 /Import File Strings/,/^$/ {
9810 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9811 # Check for a 64-bit object if we didn't find anything.
9812 if test -z "$aix_libpath"; then
9813 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9816 echo "$as_me: failed program was:" >&5
9817 sed 's/^/| /' conftest.
$ac_ext >&5
9820 rm -f conftest.err conftest.
$ac_objext \
9821 conftest
$ac_exeext conftest.
$ac_ext
9822 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9824 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9825 # Warning - without using the other run time loading flags,
9826 # -berok will link without error, but may produce a broken library.
9827 no_undefined_flag
=' ${wl}-bernotok'
9828 allow_undefined_flag
=' ${wl}-berok'
9829 # Exported symbols can be pulled into shared objects from archives
9830 whole_archive_flag_spec
='$convenience'
9831 archive_cmds_need_lc
=yes
9832 # This is similar to how AIX traditionally builds its shared libraries.
9833 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'
9839 if test "$host_cpu" = m68k
; then
9840 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)'
9841 hardcode_libdir_flag_spec
='-L$libdir'
9842 hardcode_minus_L
=yes
9844 # see comment about different semantics on the GNU ld section
9849 export_dynamic_flag_spec
=-rdynamic
9852 cygwin
* | mingw
* | pw32
*)
9853 # When not using gcc, we currently assume that we are using
9854 # Microsoft Visual C++.
9855 # hardcode_libdir_flag_spec is actually meaningless, as there is
9856 # no search path for DLLs.
9857 hardcode_libdir_flag_spec
=' '
9858 allow_undefined_flag
=unsupported
9859 # Tell ltmain to make .lib files, not .a files.
9861 # Tell ltmain to make .dll files, not .so files.
9863 # FIXME: Setting linknames here is a bad hack.
9864 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9865 # The linker will automatically build a .lib file if we build a DLL.
9866 old_archive_from_new_cmds
='true'
9867 # FIXME: Should let the user specify the lib program.
9868 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9869 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9870 enable_shared_with_static_runtimes
=yes
9873 darwin
* | rhapsody
*)
9875 rhapsody
* | darwin1.
[012])
9876 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9879 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
9881 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9884 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9889 archive_cmds_need_lc
=no
9891 hardcode_automatic
=yes
9892 hardcode_shlibpath_var
=unsupported
9893 whole_archive_flag_spec
=''
9894 link_all_deplibs
=yes
9895 if test "$GCC" = yes ; then
9896 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9899 lt_cv_apple_cc_single_mod
=no
9900 if test -z "${LT_MULTI_MODULE}"; then
9901 # By default we will add the -single_module flag. You can override
9902 # by either setting the environment variable LT_MULTI_MODULE
9903 # non-empty at configure time, or by adding -multi-module to the
9905 echo "int foo(void){return 1;}" > conftest.c
9906 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9907 -dynamiclib ${wl}-single_module conftest.c
9908 if test -f libconftest.dylib
; then
9909 lt_cv_apple_cc_single_mod
=yes
9910 rm libconftest.dylib
9916 output_verbose_link_cmd
=echo
9917 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
9918 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9919 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}'
9921 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9922 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}'
9924 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9925 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}'
9927 case $cc_basename in
9929 output_verbose_link_cmd
=echo
9930 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
9931 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9932 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9933 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}'
9934 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}'
9944 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9945 hardcode_libdir_flag_spec
='-L$libdir'
9946 hardcode_shlibpath_var
=no
9953 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9954 # support. Future versions do this automatically, but an explicit c++rt0.o
9955 # does not break anything, and helps significantly (at the cost of a little
9958 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9959 hardcode_libdir_flag_spec
='-R$libdir'
9961 hardcode_shlibpath_var
=no
9964 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9966 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9968 hardcode_minus_L
=yes
9969 hardcode_shlibpath_var
=no
9972 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9973 freebsd
* | dragonfly
*)
9974 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9975 hardcode_libdir_flag_spec
='-R$libdir'
9977 hardcode_shlibpath_var
=no
9981 if test "$GCC" = yes; then
9982 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'
9984 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'
9986 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9987 hardcode_libdir_separator
=:
9990 # hardcode_minus_L: Not really in the search PATH,
9991 # but as the default location of the library.
9992 hardcode_minus_L
=yes
9993 export_dynamic_flag_spec
='${wl}-E'
9997 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9998 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10000 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10002 if test "$with_gnu_ld" = no
; then
10003 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10004 hardcode_libdir_flag_spec_ld
='+b $libdir'
10005 hardcode_libdir_separator
=:
10006 hardcode_direct
=yes
10007 hardcode_direct_absolute
=yes
10008 export_dynamic_flag_spec
='${wl}-E'
10009 # hardcode_minus_L: Not really in the search PATH,
10010 # but as the default location of the library.
10011 hardcode_minus_L
=yes
10016 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10019 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10022 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10025 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10031 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10034 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10037 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10041 if test "$with_gnu_ld" = no
; then
10042 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10043 hardcode_libdir_separator
=:
10048 hardcode_shlibpath_var
=no
10051 hardcode_direct
=yes
10052 hardcode_direct_absolute
=yes
10053 export_dynamic_flag_spec
='${wl}-E'
10055 # hardcode_minus_L: Not really in the search PATH,
10056 # but as the default location of the library.
10057 hardcode_minus_L
=yes
10063 irix5
* | irix6
* | nonstopux
*)
10064 if test "$GCC" = yes; then
10065 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'
10066 # Try to use the -exported_symbol ld option, if it does not
10067 # work, assume that -exports_file does not work either and
10068 # implicitly export all symbols.
10069 save_LDFLAGS
="$LDFLAGS"
10070 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10071 if test x
$gcc_no_link = xyes
; then
10072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10074 { (exit 1); exit 1; }; }
10076 cat >conftest.
$ac_ext <<_ACEOF
10079 rm -f conftest.
$ac_objext conftest
$ac_exeext
10080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10081 (eval $ac_link) 2>conftest.er1
10083 grep -v '^ *+' conftest.er1
>conftest.err
10085 cat conftest.err
>&5
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); } &&
10088 { ac_try
='test -z "$ac_c_werror_flag"
10089 || test ! -s conftest.err'
10090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091 (eval $ac_try) 2>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); }; } &&
10095 { ac_try
='test -s conftest$ac_exeext'
10096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097 (eval $ac_try) 2>&5
10099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100 (exit $ac_status); }; }; then
10101 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'
10104 echo "$as_me: failed program was:" >&5
10105 sed 's/^/| /' conftest.
$ac_ext >&5
10108 rm -f conftest.err conftest.
$ac_objext \
10109 conftest
$ac_exeext conftest.
$ac_ext
10110 LDFLAGS
="$save_LDFLAGS"
10112 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'
10113 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'
10115 archive_cmds_need_lc
='no'
10116 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10117 hardcode_libdir_separator
=:
10119 link_all_deplibs
=yes
10123 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10124 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10126 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10128 hardcode_libdir_flag_spec
='-R$libdir'
10129 hardcode_direct
=yes
10130 hardcode_shlibpath_var
=no
10134 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10135 hardcode_direct
=yes
10136 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10137 hardcode_libdir_separator
=:
10138 hardcode_shlibpath_var
=no
10145 hardcode_direct
=yes
10146 hardcode_shlibpath_var
=no
10147 hardcode_direct_absolute
=yes
10148 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10149 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10150 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10151 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10152 export_dynamic_flag_spec
='${wl}-E'
10155 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10156 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10157 hardcode_libdir_flag_spec
='-R$libdir'
10160 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10161 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10168 hardcode_libdir_flag_spec
='-L$libdir'
10169 hardcode_minus_L
=yes
10170 allow_undefined_flag
=unsupported
10171 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'
10172 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10176 if test "$GCC" = yes; then
10177 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10178 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'
10180 allow_undefined_flag
=' -expect_unresolved \*'
10181 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'
10183 archive_cmds_need_lc
='no'
10184 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10185 hardcode_libdir_separator
=:
10188 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10189 if test "$GCC" = yes; then
10190 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10191 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'
10192 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10194 allow_undefined_flag
=' -expect_unresolved \*'
10195 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'
10196 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~
10197 $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'
10199 # Both c and cxx compiler support -rpath directly
10200 hardcode_libdir_flag_spec
='-rpath $libdir'
10202 archive_cmds_need_lc
='no'
10203 hardcode_libdir_separator
=:
10207 no_undefined_flag
=' -z defs'
10208 if test "$GCC" = yes; then
10210 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10212 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10214 case `$CC -V 2>&1` in
10217 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10218 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10219 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10223 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10224 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10225 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10229 hardcode_libdir_flag_spec
='-R$libdir'
10230 hardcode_shlibpath_var
=no
10232 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10234 # The compiler driver will combine and reorder linker options,
10235 # but understands `-z linker_flag'. GCC discards it without `$wl',
10236 # but is careful enough not to reorder.
10237 # Supported since Solaris 2.6 (maybe 2.5.1?)
10238 if test "$GCC" = yes; then
10239 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10241 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10245 link_all_deplibs
=yes
10249 if test "x$host_vendor" = xsequent
; then
10250 # Use $CC to link under sequent, because it throws in some extra .o
10251 # files that make .init and .fini sections work.
10252 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10254 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10256 hardcode_libdir_flag_spec
='-L$libdir'
10257 hardcode_direct
=yes
10258 hardcode_minus_L
=yes
10259 hardcode_shlibpath_var
=no
10263 case $host_vendor in
10265 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10266 hardcode_direct
=yes # is this really true???
10269 ## LD is ld it makes a PLAMLIB
10270 ## CC just makes a GrossModule.
10271 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10272 reload_cmds
='$CC -r -o $output$reload_objs'
10276 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10277 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10280 runpath_var
='LD_RUN_PATH'
10281 hardcode_shlibpath_var
=no
10285 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10286 hardcode_shlibpath_var
=no
10287 export_dynamic_flag_spec
='-Bexport'
10291 if test -d /usr
/nec
; then
10292 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10293 hardcode_shlibpath_var
=no
10294 runpath_var
=LD_RUN_PATH
10295 hardcode_runpath_var
=yes
10300 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10301 no_undefined_flag
='${wl}-z,text'
10302 archive_cmds_need_lc
=no
10303 hardcode_shlibpath_var
=no
10304 runpath_var
='LD_RUN_PATH'
10306 if test "$GCC" = yes; then
10307 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10308 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10310 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10311 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10315 sysv5
* | sco3.2v5
* | sco5v6
*)
10316 # Note: We can NOT use -z defs as we might desire, because we do not
10317 # link with -lc, and that would cause any symbols used from libc to
10318 # always be unresolved, which means just about no library would
10319 # ever link correctly. If we're not using GNU ld we use -z text
10320 # though, which does catch some bad symbols but isn't as heavy-handed
10322 no_undefined_flag
='${wl}-z,text'
10323 allow_undefined_flag
='${wl}-z,nodefs'
10324 archive_cmds_need_lc
=no
10325 hardcode_shlibpath_var
=no
10326 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10327 hardcode_libdir_separator
=':'
10328 link_all_deplibs
=yes
10329 export_dynamic_flag_spec
='${wl}-Bexport'
10330 runpath_var
='LD_RUN_PATH'
10332 if test "$GCC" = yes; then
10333 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10334 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10336 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10337 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10342 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10343 hardcode_libdir_flag_spec
='-L$libdir'
10344 hardcode_shlibpath_var
=no
10352 if test x
$host_vendor = xsni
; then
10354 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10355 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10361 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10362 echo "${ECHO_T}$ld_shlibs" >&6
10363 test "$ld_shlibs" = no
&& can_build_shared
=no
10365 with_gnu_ld
=$with_gnu_ld
10382 # Do we need to explicitly link libc?
10384 case "x$archive_cmds_need_lc" in
10386 # Assume -lc should be added
10387 archive_cmds_need_lc
=yes
10389 if test "$enable_shared" = yes && test "$GCC" = yes; then
10390 case $archive_cmds in
10392 # FIXME: we may have to deal with multi-command sequences.
10395 # Test whether the compiler implicitly links with -lc since on some
10396 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10397 # to ld, don't add -lc before -lgcc.
10398 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10399 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10401 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10404 (eval $ac_compile) 2>&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); } 2>conftest.err
; then
10410 libobjs
=conftest.
$ac_objext
10412 wl
=$lt_prog_compiler_wl
10413 pic_flag
=$lt_prog_compiler_pic
10419 lt_save_allow_undefined_flag
=$allow_undefined_flag
10420 allow_undefined_flag
=
10421 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10422 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }
10427 archive_cmds_need_lc
=no
10429 archive_cmds_need_lc
=yes
10431 allow_undefined_flag
=$lt_save_allow_undefined_flag
10433 cat conftest.err
1>&5
10436 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10437 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10600 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10601 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10603 if test "$withGCC" = yes; then
10605 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10606 *) lt_awk_arg
="/^libraries:/" ;;
10608 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10609 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10610 # if the path contains ";" then we assume it to be the separator
10611 # otherwise default to the standard path separator (i.e. ":") - it is
10612 # assumed that no part of a normal pathname contains ";" but that should
10613 # okay in the real world where ";" in dirpaths is itself problematic.
10614 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10616 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10618 # Ok, now we have the path, separated by spaces, we can step through it
10619 # and add multilib dir if necessary.
10620 lt_tmp_lt_search_path_spec
=
10621 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10622 for lt_sys_path
in $lt_search_path_spec; do
10623 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10624 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10626 test -d "$lt_sys_path" && \
10627 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10630 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10631 BEGIN {RS=" "; FS="/|\n";} {
10634 for (lt_i = NF; lt_i > 0; lt_i--) {
10635 if ($lt_i != "" && $lt_i != ".") {
10636 if ($lt_i == "..") {
10639 if (lt_count == 0) {
10640 lt_foo="/" $lt_i lt_foo;
10647 if (lt_foo != "") { lt_freq[lt_foo]++; }
10648 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10650 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10652 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10654 library_names_spec
=
10655 libname_spec
='lib$name'
10659 postuninstall_cmds
=
10663 shlibpath_overrides_runpath
=unknown
10665 dynamic_linker
="$host_os ld.so"
10666 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10667 need_lib_prefix
=unknown
10668 hardcode_into_libs
=no
10670 # when you set need_version to no, make sure it does not cause -set_version
10671 # flags to be left without arguments
10672 need_version
=unknown
10677 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10678 shlibpath_var
=LIBPATH
10680 # AIX 3 has no versioning support, so we append a major version to the name.
10681 soname_spec
='${libname}${release}${shared_ext}$major'
10688 hardcode_into_libs
=yes
10689 if test "$host_cpu" = ia64
; then
10690 # AIX 5 supports IA64
10691 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10692 shlibpath_var
=LD_LIBRARY_PATH
10694 # With GCC up to 2.95.x, collect2 would create an import file
10695 # for dependence libraries. The import file would start with
10696 # the line `#! .'. This would cause the generated library to
10697 # depend on `.', always an invalid library. This was fixed in
10698 # development snapshots of GCC prior to 3.0.
10700 aix4 | aix4.
[01] | aix4.
[01].
*)
10701 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10703 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10706 can_build_shared
=no
10710 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10711 # soname into executable. Probably we can add versioning support to
10712 # collect2, so additional links can be useful in future.
10713 if test "$aix_use_runtimelinking" = yes; then
10714 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10715 # instead of lib<name>.a to let people know that these are not
10716 # typical AIX shared libraries.
10717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 # We preserve .a as extension for shared libraries through AIX4.2
10720 # and later when we are not doing run time linking.
10721 library_names_spec
='${libname}${release}.a $libname.a'
10722 soname_spec
='${libname}${release}${shared_ext}$major'
10724 shlibpath_var
=LIBPATH
10729 if test "$host_cpu" = m68k
; then
10730 library_names_spec
='$libname.ixlibrary $libname.a'
10731 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10732 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'
10739 library_names_spec
='${libname}${shared_ext}'
10740 dynamic_linker
="$host_os ld.so"
10741 shlibpath_var
=LIBRARY_PATH
10747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec
='${libname}${release}${shared_ext}$major'
10749 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10750 shlibpath_var
=LD_LIBRARY_PATH
10751 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10752 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10753 # the default ld.so.conf also contains /usr/contrib/lib and
10754 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10755 # libtool to hard-code these into programs
10758 cygwin
* | mingw
* | pw32
*)
10759 version_type
=windows
10764 case $withGCC,$host_os in
10765 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10766 library_names_spec
='$libname.dll.a'
10767 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10768 postinstall_cmds
='base_file=`basename \${file}`~
10769 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10770 dldir=$destdir/`dirname \$dlpath`~
10771 test -d \$dldir || mkdir -p \$dldir~
10772 $install_prog $dir/$dlname \$dldir/$dlname~
10773 chmod a+x \$dldir/$dlname~
10774 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10775 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10777 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10778 dlpath=$dir/\$dldll~
10780 shlibpath_overrides_runpath
=yes
10784 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10785 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10786 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10789 # MinGW DLLs use traditional 'lib' prefix
10790 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10791 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10792 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10793 # It is most probably a Windows format PATH printed by
10794 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10795 # path with ; separators, and with drive letters. We can handle the
10796 # drive letters (cygwin fileutils understands them), so leave them,
10797 # especially as we might pass files found there to a mingw objdump,
10798 # which wouldn't understand a cygwinified path. Ahh.
10799 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10801 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10805 # pw32 DLLs use 'pw' prefix rather than 'lib'
10806 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10812 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10815 dynamic_linker
='Win32 ld.exe'
10816 # FIXME: first we should search . and the directory the executable is in
10820 darwin
* | rhapsody
*)
10821 dynamic_linker
="$host_os dyld"
10822 version_type
=darwin
10825 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10826 soname_spec
='${libname}${release}${major}$shared_ext'
10827 shlibpath_overrides_runpath
=yes
10828 shlibpath_var
=DYLD_LIBRARY_PATH
10829 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10831 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10832 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10840 soname_spec
='${libname}${release}${shared_ext}$major'
10841 shlibpath_var
=LD_LIBRARY_PATH
10848 freebsd
* | dragonfly
*)
10849 # DragonFly does not have aout. When/if they implement a new
10850 # versioning mechanism, adjust this.
10851 if test -x /usr
/bin
/objformat
; then
10852 objformat
=`/usr/bin/objformat`
10855 freebsd
[123]*) objformat
=aout
;;
10856 *) objformat
=elf
;;
10859 version_type
=freebsd-
$objformat
10860 case $version_type in
10862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10867 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10871 shlibpath_var
=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath
=yes
10876 freebsd3.
[01]* | freebsdelf3.
[01]*)
10877 shlibpath_overrides_runpath
=yes
10878 hardcode_into_libs
=yes
10880 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10881 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10882 shlibpath_overrides_runpath
=no
10883 hardcode_into_libs
=yes
10885 *) # from 4.6 on, and DragonFly
10886 shlibpath_overrides_runpath
=yes
10887 hardcode_into_libs
=yes
10896 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10897 soname_spec
='${libname}${release}${shared_ext}$major'
10898 shlibpath_var
=LD_LIBRARY_PATH
10899 hardcode_into_libs
=yes
10902 hpux9
* | hpux10
* | hpux11
*)
10903 # Give a soname corresponding to the major version so that dld.sl refuses to
10904 # link against other versions.
10911 hardcode_into_libs
=yes
10912 dynamic_linker
="$host_os dld.so"
10913 shlibpath_var
=LD_LIBRARY_PATH
10914 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916 soname_spec
='${libname}${release}${shared_ext}$major'
10917 if test "X$HPUX_IA64_MODE" = X32
; then
10918 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10920 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10922 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10926 hardcode_into_libs
=yes
10927 dynamic_linker
="$host_os dld.sl"
10928 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10929 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10930 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10931 soname_spec
='${libname}${release}${shared_ext}$major'
10932 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10933 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10937 dynamic_linker
="$host_os dld.sl"
10938 shlibpath_var
=SHLIB_PATH
10939 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10940 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941 soname_spec
='${libname}${release}${shared_ext}$major'
10944 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10945 postinstall_cmds
='chmod 555 $lib'
10952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10953 soname_spec
='${libname}${release}${shared_ext}$major'
10954 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10955 shlibpath_var
=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath
=no
10957 hardcode_into_libs
=yes
10960 irix5
* | irix6
* | nonstopux
*)
10962 nonstopux
*) version_type
=nonstopux
;;
10964 if test "$lt_cv_prog_gnu_ld" = yes; then
10972 soname_spec
='${libname}${release}${shared_ext}$major'
10973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10975 irix5
* | nonstopux
*)
10976 libsuff
= shlibsuff
=
10979 case $LD in # libtool.m4 will add one of these switches to LD
10980 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10981 libsuff
= shlibsuff
= libmagic
=32-bit;;
10982 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10983 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10984 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10985 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10986 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10990 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10991 shlibpath_overrides_runpath
=no
10992 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10993 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10994 hardcode_into_libs
=yes
10997 # No shared lib support for Linux oldld, aout, or coff.
10998 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11002 # This must be Linux ELF.
11003 linux
* | k
*bsd
*-gnu)
11007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11008 soname_spec
='${libname}${release}${shared_ext}$major'
11009 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11010 shlibpath_var
=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath
=no
11012 # Some binutils ld are patched to set DT_RUNPATH
11013 save_LDFLAGS
=$LDFLAGS
11014 save_libdir
=$libdir
11015 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11016 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11017 if test x
$gcc_no_link = xyes
; then
11018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11020 { (exit 1); exit 1; }; }
11022 cat >conftest.
$ac_ext <<_ACEOF
11025 cat confdefs.h
>>conftest.
$ac_ext
11026 cat >>conftest.
$ac_ext <<_ACEOF
11027 /* end confdefs.h. */
11037 rm -f conftest.
$ac_objext conftest
$ac_exeext
11038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11039 (eval $ac_link) 2>conftest.er1
11041 grep -v '^ *+' conftest.er1
>conftest.err
11043 cat conftest.err
>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); } &&
11046 { ac_try
='test -z "$ac_c_werror_flag"
11047 || test ! -s conftest.err'
11048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11049 (eval $ac_try) 2>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); }; } &&
11053 { ac_try
='test -s conftest$ac_exeext'
11054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11055 (eval $ac_try) 2>&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); }; }; then
11059 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
11060 shlibpath_overrides_runpath
=yes
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.
$ac_ext >&5
11068 rm -f conftest.err conftest.
$ac_objext \
11069 conftest
$ac_exeext conftest.
$ac_ext
11070 LDFLAGS
=$save_LDFLAGS
11071 libdir
=$save_libdir
11073 # This implies no fast_install, which is unacceptable.
11074 # Some rework will be needed to allow for fast_install
11075 # before this can be enabled.
11076 hardcode_into_libs
=yes
11078 # Append ld.so.conf contents to the search path
11079 if test -f /etc
/ld.so.conf
; then
11080 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' ' '`
11081 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11084 # We used to test for /lib/ld.so.1 and disable shared libraries on
11085 # powerpc, because MkLinux only supported shared libraries with the
11086 # GNU dynamic linker. Since this was broken with cross compilers,
11087 # most powerpc-linux boxes support dynamic linking these days and
11088 # people can always --disable-shared, the test was removed, and we
11089 # assume the GNU/Linux dynamic linker is in use.
11090 dynamic_linker
='GNU/Linux ld.so'
11097 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11099 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11100 dynamic_linker
='NetBSD (a.out) ld.so'
11102 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11103 soname_spec
='${libname}${release}${shared_ext}$major'
11104 dynamic_linker
='NetBSD ld.elf_so'
11106 shlibpath_var
=LD_LIBRARY_PATH
11107 shlibpath_overrides_runpath
=yes
11108 hardcode_into_libs
=yes
11113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11114 shlibpath_var
=LD_LIBRARY_PATH
11115 shlibpath_overrides_runpath
=yes
11122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11123 soname_spec
='${libname}${release}${shared_ext}$major'
11124 shlibpath_var
=LD_LIBRARY_PATH
11125 shlibpath_overrides_runpath
=no
11126 hardcode_into_libs
=yes
11127 dynamic_linker
='ldqnx.so'
11132 sys_lib_dlsearch_path_spec
="/usr/lib"
11134 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11136 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11137 *) need_version
=no
;;
11139 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11140 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11141 shlibpath_var
=LD_LIBRARY_PATH
11142 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11144 openbsd2.
[89] | openbsd2.
[89].
*)
11145 shlibpath_overrides_runpath
=no
11148 shlibpath_overrides_runpath
=yes
11152 shlibpath_overrides_runpath
=yes
11157 libname_spec
='$name'
11160 library_names_spec
='$libname${shared_ext} $libname.a'
11161 dynamic_linker
='OS/2 ld.exe'
11162 shlibpath_var
=LIBPATH
11165 osf3
* | osf4
* | osf5
*)
11169 soname_spec
='${libname}${release}${shared_ext}$major'
11170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11171 shlibpath_var
=LD_LIBRARY_PATH
11172 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11173 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11185 soname_spec
='${libname}${release}${shared_ext}$major'
11186 shlibpath_var
=LD_LIBRARY_PATH
11187 shlibpath_overrides_runpath
=yes
11188 hardcode_into_libs
=yes
11189 # ldd complains unless libraries are executable
11190 postinstall_cmds
='chmod +x $lib'
11195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11196 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11197 shlibpath_var
=LD_LIBRARY_PATH
11198 shlibpath_overrides_runpath
=yes
11199 if test "$with_gnu_ld" = yes; then
11207 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11208 soname_spec
='${libname}${release}${shared_ext}$major'
11209 shlibpath_var
=LD_LIBRARY_PATH
11210 case $host_vendor in
11212 shlibpath_overrides_runpath
=no
11214 runpath_var
=LD_RUN_PATH
11222 shlibpath_overrides_runpath
=no
11223 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11229 if test -d /usr
/nec
;then
11231 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11232 soname_spec
='$libname${shared_ext}.$major'
11233 shlibpath_var
=LD_LIBRARY_PATH
11237 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11238 version_type
=freebsd-elf
11241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11242 soname_spec
='${libname}${release}${shared_ext}$major'
11243 shlibpath_var
=LD_LIBRARY_PATH
11244 shlibpath_overrides_runpath
=yes
11245 hardcode_into_libs
=yes
11246 if test "$with_gnu_ld" = yes; then
11247 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11249 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11252 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11256 sys_lib_dlsearch_path_spec
='/usr/lib'
11260 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11264 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11265 shlibpath_var
=LD_LIBRARY_PATH
11266 shlibpath_overrides_runpath
=no
11267 hardcode_into_libs
=yes
11272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11273 soname_spec
='${libname}${release}${shared_ext}$major'
11274 shlibpath_var
=LD_LIBRARY_PATH
11281 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11282 echo "${ECHO_T}$dynamic_linker" >&6
11283 test "$dynamic_linker" = no
&& can_build_shared
=no
11285 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11286 if test "$GCC" = yes; then
11287 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11376 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11377 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11379 if test -n "$hardcode_libdir_flag_spec" ||
11380 test -n "$runpath_var" ||
11381 test "X$hardcode_automatic" = "Xyes" ; then
11383 # We can hardcode non-existent directories.
11384 if test "$hardcode_direct" != no
&&
11385 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11386 # have to relink, otherwise we might link with an installed library
11387 # when we should be linking with a yet-to-be-installed one
11388 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11389 test "$hardcode_minus_L" != no
; then
11390 # Linking always hardcodes the temporary library directory.
11391 hardcode_action
=relink
11393 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11394 hardcode_action
=immediate
11397 # We cannot hardcode anything, or else we can only hardcode existing
11399 hardcode_action
=unsupported
11401 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11402 echo "${ECHO_T}$hardcode_action" >&6
11404 if test "$hardcode_action" = relink ||
11405 test "$inherit_rpath" = yes; then
11406 # Fast installation is not supported
11407 enable_fast_install
=no
11408 elif test "$shlibpath_overrides_runpath" = yes ||
11409 test "$enable_shared" = no
; then
11410 # Fast installation is not necessary
11411 enable_fast_install
=needless
11419 if test "x$enable_dlopen" != xyes
; then
11420 enable_dlopen
=unknown
11421 enable_dlopen_self
=unknown
11422 enable_dlopen_self_static
=unknown
11429 lt_cv_dlopen
="load_add_on"
11431 lt_cv_dlopen_self
=yes
11435 lt_cv_dlopen
="LoadLibrary"
11440 lt_cv_dlopen
="dlopen"
11445 # if libdl is installed we need to link against it
11446 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11447 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11448 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11449 echo $ECHO_N "(cached) $ECHO_C" >&6
11451 ac_check_lib_save_LIBS
=$LIBS
11453 if test x
$gcc_no_link = xyes
; then
11454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11456 { (exit 1); exit 1; }; }
11458 cat >conftest.
$ac_ext <<_ACEOF
11461 cat confdefs.h
>>conftest.
$ac_ext
11462 cat >>conftest.
$ac_ext <<_ACEOF
11463 /* end confdefs.h. */
11465 /* Override any gcc2 internal prototype to avoid an error. */
11469 /* We use char because int might match the return type of a gcc2
11470 builtin and then its argument prototype would still apply. */
11480 rm -f conftest.
$ac_objext conftest
$ac_exeext
11481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11482 (eval $ac_link) 2>conftest.er1
11484 grep -v '^ *+' conftest.er1
>conftest.err
11486 cat conftest.err
>&5
11487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } &&
11489 { ac_try
='test -z "$ac_c_werror_flag"
11490 || test ! -s conftest.err'
11491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11492 (eval $ac_try) 2>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); }; } &&
11496 { ac_try
='test -s conftest$ac_exeext'
11497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11498 (eval $ac_try) 2>&5
11500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11501 (exit $ac_status); }; }; then
11502 ac_cv_lib_dl_dlopen
=yes
11504 echo "$as_me: failed program was:" >&5
11505 sed 's/^/| /' conftest.
$ac_ext >&5
11507 ac_cv_lib_dl_dlopen
=no
11509 rm -f conftest.err conftest.
$ac_objext \
11510 conftest
$ac_exeext conftest.
$ac_ext
11511 LIBS
=$ac_check_lib_save_LIBS
11513 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11514 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11515 if test $ac_cv_lib_dl_dlopen = yes; then
11516 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11519 lt_cv_dlopen
="dyld"
11521 lt_cv_dlopen_self
=yes
11528 echo "$as_me:$LINENO: checking for shl_load" >&5
11529 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11530 if test "${ac_cv_func_shl_load+set}" = set; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 if test x
$gcc_no_link = xyes
; then
11534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11536 { (exit 1); exit 1; }; }
11538 cat >conftest.
$ac_ext <<_ACEOF
11541 cat confdefs.h
>>conftest.
$ac_ext
11542 cat >>conftest.
$ac_ext <<_ACEOF
11543 /* end confdefs.h. */
11544 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11546 #define shl_load innocuous_shl_load
11548 /* System header to define __stub macros and hopefully few prototypes,
11549 which can conflict with char shl_load (); below.
11550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11551 <limits.h> exists even on freestanding compilers. */
11554 # include <limits.h>
11556 # include <assert.h>
11561 /* Override any gcc2 internal prototype to avoid an error. */
11566 /* We use char because int might match the return type of a gcc2
11567 builtin and then its argument prototype would still apply. */
11569 /* The GNU C library defines this for functions which it implements
11570 to always fail with ENOSYS. Some functions are actually named
11571 something starting with __ and the normal name is an alias. */
11572 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11575 char (*f) () = shl_load;
11584 return f != shl_load;
11589 rm -f conftest.
$ac_objext conftest
$ac_exeext
11590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11591 (eval $ac_link) 2>conftest.er1
11593 grep -v '^ *+' conftest.er1
>conftest.err
11595 cat conftest.err
>&5
11596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11597 (exit $ac_status); } &&
11598 { ac_try
='test -z "$ac_c_werror_flag"
11599 || test ! -s conftest.err'
11600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11601 (eval $ac_try) 2>&5
11603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11604 (exit $ac_status); }; } &&
11605 { ac_try
='test -s conftest$ac_exeext'
11606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607 (eval $ac_try) 2>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }; }; then
11611 ac_cv_func_shl_load
=yes
11613 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.
$ac_ext >&5
11616 ac_cv_func_shl_load
=no
11618 rm -f conftest.err conftest.
$ac_objext \
11619 conftest
$ac_exeext conftest.
$ac_ext
11621 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11622 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11623 if test $ac_cv_func_shl_load = yes; then
11624 lt_cv_dlopen
="shl_load"
11626 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11627 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11628 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11629 echo $ECHO_N "(cached) $ECHO_C" >&6
11631 ac_check_lib_save_LIBS
=$LIBS
11633 if test x
$gcc_no_link = xyes
; then
11634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11636 { (exit 1); exit 1; }; }
11638 cat >conftest.
$ac_ext <<_ACEOF
11641 cat confdefs.h
>>conftest.
$ac_ext
11642 cat >>conftest.
$ac_ext <<_ACEOF
11643 /* end confdefs.h. */
11645 /* Override any gcc2 internal prototype to avoid an error. */
11649 /* We use char because int might match the return type of a gcc2
11650 builtin and then its argument prototype would still apply. */
11660 rm -f conftest.
$ac_objext conftest
$ac_exeext
11661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11662 (eval $ac_link) 2>conftest.er1
11664 grep -v '^ *+' conftest.er1
>conftest.err
11666 cat conftest.err
>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); } &&
11669 { ac_try
='test -z "$ac_c_werror_flag"
11670 || test ! -s conftest.err'
11671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11672 (eval $ac_try) 2>&5
11674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11675 (exit $ac_status); }; } &&
11676 { ac_try
='test -s conftest$ac_exeext'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; }; then
11682 ac_cv_lib_dld_shl_load
=yes
11684 echo "$as_me: failed program was:" >&5
11685 sed 's/^/| /' conftest.
$ac_ext >&5
11687 ac_cv_lib_dld_shl_load
=no
11689 rm -f conftest.err conftest.
$ac_objext \
11690 conftest
$ac_exeext conftest.
$ac_ext
11691 LIBS
=$ac_check_lib_save_LIBS
11693 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11694 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11695 if test $ac_cv_lib_dld_shl_load = yes; then
11696 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11698 echo "$as_me:$LINENO: checking for dlopen" >&5
11699 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11700 if test "${ac_cv_func_dlopen+set}" = set; then
11701 echo $ECHO_N "(cached) $ECHO_C" >&6
11703 if test x
$gcc_no_link = xyes
; then
11704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11706 { (exit 1); exit 1; }; }
11708 cat >conftest.
$ac_ext <<_ACEOF
11711 cat confdefs.h
>>conftest.
$ac_ext
11712 cat >>conftest.
$ac_ext <<_ACEOF
11713 /* end confdefs.h. */
11714 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11716 #define dlopen innocuous_dlopen
11718 /* System header to define __stub macros and hopefully few prototypes,
11719 which can conflict with char dlopen (); below.
11720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11721 <limits.h> exists even on freestanding compilers. */
11724 # include <limits.h>
11726 # include <assert.h>
11731 /* Override any gcc2 internal prototype to avoid an error. */
11736 /* We use char because int might match the return type of a gcc2
11737 builtin and then its argument prototype would still apply. */
11739 /* The GNU C library defines this for functions which it implements
11740 to always fail with ENOSYS. Some functions are actually named
11741 something starting with __ and the normal name is an alias. */
11742 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11745 char (*f) () = dlopen;
11754 return f != dlopen;
11759 rm -f conftest.
$ac_objext conftest
$ac_exeext
11760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11761 (eval $ac_link) 2>conftest.er1
11763 grep -v '^ *+' conftest.er1
>conftest.err
11765 cat conftest.err
>&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); } &&
11768 { ac_try
='test -z "$ac_c_werror_flag"
11769 || test ! -s conftest.err'
11770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11771 (eval $ac_try) 2>&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); }; } &&
11775 { ac_try
='test -s conftest$ac_exeext'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; }; then
11781 ac_cv_func_dlopen
=yes
11783 echo "$as_me: failed program was:" >&5
11784 sed 's/^/| /' conftest.
$ac_ext >&5
11786 ac_cv_func_dlopen
=no
11788 rm -f conftest.err conftest.
$ac_objext \
11789 conftest
$ac_exeext conftest.
$ac_ext
11791 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11792 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11793 if test $ac_cv_func_dlopen = yes; then
11794 lt_cv_dlopen
="dlopen"
11796 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11797 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11798 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 ac_check_lib_save_LIBS
=$LIBS
11803 if test x
$gcc_no_link = xyes
; then
11804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11806 { (exit 1); exit 1; }; }
11808 cat >conftest.
$ac_ext <<_ACEOF
11811 cat confdefs.h
>>conftest.
$ac_ext
11812 cat >>conftest.
$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11815 /* Override any gcc2 internal prototype to avoid an error. */
11819 /* We use char because int might match the return type of a gcc2
11820 builtin and then its argument prototype would still apply. */
11830 rm -f conftest.
$ac_objext conftest
$ac_exeext
11831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11832 (eval $ac_link) 2>conftest.er1
11834 grep -v '^ *+' conftest.er1
>conftest.err
11836 cat conftest.err
>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); } &&
11839 { ac_try
='test -z "$ac_c_werror_flag"
11840 || test ! -s conftest.err'
11841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11842 (eval $ac_try) 2>&5
11844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11845 (exit $ac_status); }; } &&
11846 { ac_try
='test -s conftest$ac_exeext'
11847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11848 (eval $ac_try) 2>&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); }; }; then
11852 ac_cv_lib_dl_dlopen
=yes
11854 echo "$as_me: failed program was:" >&5
11855 sed 's/^/| /' conftest.
$ac_ext >&5
11857 ac_cv_lib_dl_dlopen
=no
11859 rm -f conftest.err conftest.
$ac_objext \
11860 conftest
$ac_exeext conftest.
$ac_ext
11861 LIBS
=$ac_check_lib_save_LIBS
11863 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11864 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11865 if test $ac_cv_lib_dl_dlopen = yes; then
11866 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11868 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11869 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11870 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11873 ac_check_lib_save_LIBS
=$LIBS
11874 LIBS
="-lsvld $LIBS"
11875 if test x
$gcc_no_link = xyes
; then
11876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11878 { (exit 1); exit 1; }; }
11880 cat >conftest.
$ac_ext <<_ACEOF
11883 cat confdefs.h
>>conftest.
$ac_ext
11884 cat >>conftest.
$ac_ext <<_ACEOF
11885 /* end confdefs.h. */
11887 /* Override any gcc2 internal prototype to avoid an error. */
11891 /* We use char because int might match the return type of a gcc2
11892 builtin and then its argument prototype would still apply. */
11902 rm -f conftest.
$ac_objext conftest
$ac_exeext
11903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11904 (eval $ac_link) 2>conftest.er1
11906 grep -v '^ *+' conftest.er1
>conftest.err
11908 cat conftest.err
>&5
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); } &&
11911 { ac_try
='test -z "$ac_c_werror_flag"
11912 || test ! -s conftest.err'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; } &&
11918 { ac_try
='test -s conftest$ac_exeext'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; }; then
11924 ac_cv_lib_svld_dlopen
=yes
11926 echo "$as_me: failed program was:" >&5
11927 sed 's/^/| /' conftest.
$ac_ext >&5
11929 ac_cv_lib_svld_dlopen
=no
11931 rm -f conftest.err conftest.
$ac_objext \
11932 conftest
$ac_exeext conftest.
$ac_ext
11933 LIBS
=$ac_check_lib_save_LIBS
11935 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11936 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11937 if test $ac_cv_lib_svld_dlopen = yes; then
11938 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11940 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11941 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11942 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 ac_check_lib_save_LIBS
=$LIBS
11947 if test x
$gcc_no_link = xyes
; then
11948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11950 { (exit 1); exit 1; }; }
11952 cat >conftest.
$ac_ext <<_ACEOF
11955 cat confdefs.h
>>conftest.
$ac_ext
11956 cat >>conftest.
$ac_ext <<_ACEOF
11957 /* end confdefs.h. */
11959 /* Override any gcc2 internal prototype to avoid an error. */
11963 /* We use char because int might match the return type of a gcc2
11964 builtin and then its argument prototype would still apply. */
11974 rm -f conftest.
$ac_objext conftest
$ac_exeext
11975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11976 (eval $ac_link) 2>conftest.er1
11978 grep -v '^ *+' conftest.er1
>conftest.err
11980 cat conftest.err
>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); } &&
11983 { ac_try
='test -z "$ac_c_werror_flag"
11984 || test ! -s conftest.err'
11985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11986 (eval $ac_try) 2>&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); }; } &&
11990 { ac_try
='test -s conftest$ac_exeext'
11991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992 (eval $ac_try) 2>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); }; }; then
11996 ac_cv_lib_dld_dld_link
=yes
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.
$ac_ext >&5
12001 ac_cv_lib_dld_dld_link
=no
12003 rm -f conftest.err conftest.
$ac_objext \
12004 conftest
$ac_exeext conftest.
$ac_ext
12005 LIBS
=$ac_check_lib_save_LIBS
12007 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12008 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12009 if test $ac_cv_lib_dld_dld_link = yes; then
12010 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12031 if test "x$lt_cv_dlopen" != xno
; then
12037 case $lt_cv_dlopen in
12039 save_CPPFLAGS
="$CPPFLAGS"
12040 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12042 save_LDFLAGS
="$LDFLAGS"
12043 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12046 LIBS
="$lt_cv_dlopen_libs $LIBS"
12048 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12049 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12050 if test "${lt_cv_dlopen_self+set}" = set; then
12051 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 if test "$cross_compiling" = yes; then :
12054 lt_cv_dlopen_self
=cross
12056 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12057 lt_status
=$lt_dlunknown
12058 cat > conftest.
$ac_ext <<_LT_EOF
12059 #line 12059 "configure"
12060 #include "confdefs.h"
12069 # define LT_DLGLOBAL RTLD_GLOBAL
12072 # define LT_DLGLOBAL DL_GLOBAL
12074 # define LT_DLGLOBAL 0
12078 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12079 find out it does not work in some platform. */
12080 #ifndef LT_DLLAZY_OR_NOW
12082 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12085 # define LT_DLLAZY_OR_NOW DL_LAZY
12088 # define LT_DLLAZY_OR_NOW RTLD_NOW
12091 # define LT_DLLAZY_OR_NOW DL_NOW
12093 # define LT_DLLAZY_OR_NOW 0
12101 extern "C" void exit (int);
12104 void fnord() { int i=42;}
12107 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12108 int status = $lt_dlunknown;
12112 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12113 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12114 /* dlclose (self); */
12122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12123 (eval $ac_link) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12127 (.
/conftest
; exit; ) >&5 2>/dev
/null
12129 case x
$lt_status in
12130 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12131 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12132 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12135 # compilation failed
12136 lt_cv_dlopen_self
=no
12143 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12144 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12146 if test "x$lt_cv_dlopen_self" = xyes
; then
12147 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12148 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12149 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12150 if test "${lt_cv_dlopen_self_static+set}" = set; then
12151 echo $ECHO_N "(cached) $ECHO_C" >&6
12153 if test "$cross_compiling" = yes; then :
12154 lt_cv_dlopen_self_static
=cross
12156 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12157 lt_status
=$lt_dlunknown
12158 cat > conftest.
$ac_ext <<_LT_EOF
12159 #line 12159 "configure"
12160 #include "confdefs.h"
12169 # define LT_DLGLOBAL RTLD_GLOBAL
12172 # define LT_DLGLOBAL DL_GLOBAL
12174 # define LT_DLGLOBAL 0
12178 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12179 find out it does not work in some platform. */
12180 #ifndef LT_DLLAZY_OR_NOW
12182 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12185 # define LT_DLLAZY_OR_NOW DL_LAZY
12188 # define LT_DLLAZY_OR_NOW RTLD_NOW
12191 # define LT_DLLAZY_OR_NOW DL_NOW
12193 # define LT_DLLAZY_OR_NOW 0
12201 extern "C" void exit (int);
12204 void fnord() { int i=42;}
12207 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12208 int status = $lt_dlunknown;
12212 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12213 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12214 /* dlclose (self); */
12222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12223 (eval $ac_link) 2>&5
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12227 (.
/conftest
; exit; ) >&5 2>/dev
/null
12229 case x
$lt_status in
12230 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12231 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12232 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12235 # compilation failed
12236 lt_cv_dlopen_self_static
=no
12243 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12244 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12247 CPPFLAGS
="$save_CPPFLAGS"
12248 LDFLAGS
="$save_LDFLAGS"
12253 case $lt_cv_dlopen_self in
12254 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12255 *) enable_dlopen_self
=unknown
;;
12258 case $lt_cv_dlopen_self_static in
12259 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12260 *) enable_dlopen_self_static
=unknown
;;
12282 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12283 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12284 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12285 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12286 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12287 echo "$as_me:$LINENO: result: yes" >&5
12288 echo "${ECHO_T}yes" >&6
12290 # FIXME - insert some real tests, host_os isn't really good enough
12293 if test -n "$STRIP" ; then
12294 striplib
="$STRIP -x"
12295 old_striplib
="$STRIP -S"
12296 echo "$as_me:$LINENO: result: yes" >&5
12297 echo "${ECHO_T}yes" >&6
12299 echo "$as_me:$LINENO: result: no" >&5
12300 echo "${ECHO_T}no" >&6
12304 echo "$as_me:$LINENO: result: no" >&5
12305 echo "${ECHO_T}no" >&6
12321 # Report which library types will actually be built
12322 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12323 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12324 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12325 echo "${ECHO_T}$can_build_shared" >&6
12327 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12328 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12329 test "$can_build_shared" = "no" && enable_shared
=no
12331 # On AIX, shared libraries and static libraries use the same namespace, and
12332 # are all built from PIC.
12335 test "$enable_shared" = yes && enable_static
=no
12336 if test -n "$RANLIB"; then
12337 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12338 postinstall_cmds
='$RANLIB $lib'
12343 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12344 test "$enable_shared" = yes && enable_static
=no
12348 echo "$as_me:$LINENO: result: $enable_shared" >&5
12349 echo "${ECHO_T}$enable_shared" >&6
12351 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12352 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12353 # Make sure either enable_shared or enable_static is yes.
12354 test "$enable_shared" = yes || enable_static
=yes
12355 echo "$as_me:$LINENO: result: $enable_static" >&5
12356 echo "${ECHO_T}$enable_static" >&6
12363 ac_cpp
='$CPP $CPPFLAGS'
12364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12372 ac_cpp
='$CXXCPP $CPPFLAGS'
12373 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12374 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12375 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12377 archive_cmds_need_lc_CXX
=no
12378 allow_undefined_flag_CXX
=
12379 always_export_symbols_CXX
=no
12380 archive_expsym_cmds_CXX
=
12381 compiler_needs_object_CXX
=no
12382 export_dynamic_flag_spec_CXX
=
12383 hardcode_direct_CXX
=no
12384 hardcode_direct_absolute_CXX
=no
12385 hardcode_libdir_flag_spec_CXX
=
12386 hardcode_libdir_flag_spec_ld_CXX
=
12387 hardcode_libdir_separator_CXX
=
12388 hardcode_minus_L_CXX
=no
12389 hardcode_shlibpath_var_CXX
=unsupported
12390 hardcode_automatic_CXX
=no
12391 inherit_rpath_CXX
=no
12393 module_expsym_cmds_CXX
=
12394 link_all_deplibs_CXX
=unknown
12395 old_archive_cmds_CXX
=$old_archive_cmds
12396 no_undefined_flag_CXX
=
12397 whole_archive_flag_spec_CXX
=
12398 enable_shared_with_static_runtimes_CXX
=no
12400 # Source file extension for C++ test sources.
12403 # Object file extension for compiled C++ test sources.
12407 # No sense in running all these tests if we already determined that
12408 # the CXX compiler isn't working. Some variables (like enable_shared)
12409 # are currently assumed to apply to all compilers on this platform,
12410 # and will be corrupted by setting them based on a non-working compiler.
12411 if test "$_lt_caught_CXX_error" != yes; then
12412 # Code to be used in simple compile tests
12413 lt_simple_compile_test_code
="int some_variable = 0;"
12415 # Code to be used in simple link tests
12416 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12418 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12425 # If no C compiler was specified, use CC.
12428 # If no C compiler flags were specified, use CFLAGS.
12429 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12431 # Allow CC to be a program name with arguments.
12435 # save warnings/boilerplate of simple test code
12436 ac_outfile
=conftest.
$ac_objext
12437 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12438 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12439 _lt_compiler_boilerplate
=`cat conftest.err`
12442 ac_outfile
=conftest.
$ac_objext
12443 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12444 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12445 _lt_linker_boilerplate
=`cat conftest.err`
12449 # Allow CC to be a program name with arguments.
12454 lt_save_with_gnu_ld
=$with_gnu_ld
12455 lt_save_path_LD
=$lt_cv_path_LD
12456 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12457 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12459 $as_unset lt_cv_prog_gnu_ld
12461 if test -n "${lt_cv_path_LDCXX+set}"; then
12462 lt_cv_path_LD
=$lt_cv_path_LDCXX
12464 $as_unset lt_cv_path_LD
12466 test -z "${LDCXX+set}" || LD
=$LDCXX
12470 for cc_temp
in $compiler""; do
12472 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12473 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12478 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12481 if test -n "$compiler"; then
12482 # We don't want -fno-exception when compiling C++ code, so set the
12483 # no_builtin_flag separately
12484 if test "$GXX" = yes; then
12485 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12487 lt_prog_compiler_no_builtin_flag_CXX
=
12490 if test "$GXX" = yes; then
12491 # Set up default GNU C++ configuration
12495 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12496 if test "${with_gnu_ld+set}" = set; then
12497 withval
="$with_gnu_ld"
12498 test "$withval" = no || with_gnu_ld
=yes
12503 if test "$GCC" = yes; then
12504 # Check if gcc -print-prog-name=ld gives a path.
12505 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12506 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12509 # gcc leaves a trailing carriage return which upsets mingw
12510 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12512 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12515 # Accept absolute paths.
12517 re_direlt
='/[^/][^/]*/\.\./'
12518 # Canonicalize the pathname of ld
12519 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12520 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12521 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12523 test -z "$LD" && LD
="$ac_prog"
12526 # If it fails, then pretend we aren't using GCC.
12530 # If it is relative, then search for the first ld in PATH.
12531 with_gnu_ld
=unknown
12534 elif test "$with_gnu_ld" = yes; then
12535 echo "$as_me:$LINENO: checking for GNU ld" >&5
12536 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12538 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12539 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12541 if test "${lt_cv_path_LD+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12544 if test -z "$LD"; then
12545 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12546 for ac_dir
in $PATH; do
12548 test -z "$ac_dir" && ac_dir
=.
12549 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12550 lt_cv_path_LD
="$ac_dir/$ac_prog"
12551 # Check to see if the program is GNU ld. I'd rather use --version,
12552 # but apparently some variants of GNU ld only accept -v.
12553 # Break only if it was the GNU/non-GNU ld that we prefer.
12554 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12555 *GNU
* |
*'with BFD'*)
12556 test "$with_gnu_ld" != no
&& break
12559 test "$with_gnu_ld" != yes && break
12566 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12570 LD
="$lt_cv_path_LD"
12571 if test -n "$LD"; then
12572 echo "$as_me:$LINENO: result: $LD" >&5
12573 echo "${ECHO_T}$LD" >&6
12575 echo "$as_me:$LINENO: result: no" >&5
12576 echo "${ECHO_T}no" >&6
12578 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12579 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12580 { (exit 1); exit 1; }; }
12581 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12582 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12583 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12584 echo $ECHO_N "(cached) $ECHO_C" >&6
12586 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12587 case `$LD -v 2>&1 </dev/null` in
12588 *GNU
* |
*'with BFD'*)
12589 lt_cv_prog_gnu_ld
=yes
12592 lt_cv_prog_gnu_ld
=no
12596 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12597 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12598 with_gnu_ld
=$lt_cv_prog_gnu_ld
12606 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12607 # archiving commands below assume that GNU ld is being used.
12608 if test "$with_gnu_ld" = yes; then
12609 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12610 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'
12612 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12613 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12615 # If archive_cmds runs LD, not CC, wlarc should be empty
12616 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12617 # investigate it a little bit more. (MM)
12620 # ancient GNU ld didn't support --whole-archive et. al.
12621 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12622 $GREP 'no-whole-archive' > /dev
/null
; then
12623 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12625 whole_archive_flag_spec_CXX
=
12631 # A generic and very simple default shared library creation
12632 # command for GNU C++ for the case where it uses the native
12633 # linker, instead of GNU ld. If possible, this setting should
12634 # overridden to take advantage of the native linker features on
12635 # the platform it is being used on.
12636 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12639 # Commands to make compiler produce verbose output that lists
12640 # what "hidden" libraries, object files and flags are used when
12641 # linking a shared library.
12642 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12650 # PORTME: fill in a description of your system's C++ link characteristics
12651 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12652 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12656 # FIXME: insert proper C++ library support
12660 if test "$host_cpu" = ia64
; then
12661 # On IA64, the linker does run time linking by default, so we don't
12662 # have to do anything special.
12663 aix_use_runtimelinking
=no
12664 exp_sym_flag
='-Bexport'
12667 aix_use_runtimelinking
=no
12669 # Test if we are trying to use run time linking or normal
12670 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12671 # need to do runtime linking.
12672 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12673 for ld_flag
in $LDFLAGS; do
12676 aix_use_runtimelinking
=yes
12684 exp_sym_flag
='-bexport'
12685 no_entry_flag
='-bnoentry'
12688 # When large executables or shared objects are built, AIX ld can
12689 # have problems creating the table of contents. If linking a library
12690 # or program results in "error TOC overflow" add -mminimal-toc to
12691 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12692 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12694 archive_cmds_CXX
=''
12695 hardcode_direct_CXX
=yes
12696 hardcode_direct_absolute_CXX
=yes
12697 hardcode_libdir_separator_CXX
=':'
12698 link_all_deplibs_CXX
=yes
12699 file_list_spec_CXX
='${wl}-f,'
12701 if test "$GXX" = yes; then
12702 case $host_os in aix4.
[012]|aix4.
[012].
*)
12703 # We only want to do this on AIX 4.2 and lower, the check
12704 # below for broken collect2 doesn't work under 4.3+
12705 collect2name
=`${CC} -print-prog-name=collect2`
12706 if test -f "$collect2name" &&
12707 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12709 # We have reworked collect2
12712 # We have old collect2
12713 hardcode_direct_CXX
=unsupported
12714 # It fails to find uninstalled libraries when the uninstalled
12715 # path is not listed in the libpath. Setting hardcode_minus_L
12716 # to unsupported forces relinking
12717 hardcode_minus_L_CXX
=yes
12718 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12719 hardcode_libdir_separator_CXX
=
12722 shared_flag
='-shared'
12723 if test "$aix_use_runtimelinking" = yes; then
12724 shared_flag
="$shared_flag "'${wl}-G'
12728 if test "$host_cpu" = ia64
; then
12729 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12730 # chokes on -Wl,-G. The following line is correct:
12733 if test "$aix_use_runtimelinking" = yes; then
12734 shared_flag
='${wl}-G'
12736 shared_flag
='${wl}-bM:SRE'
12741 # It seems that -bexpall does not export symbols beginning with
12742 # underscore (_), so it is better to generate a list of symbols to
12744 always_export_symbols_CXX
=yes
12745 if test "$aix_use_runtimelinking" = yes; then
12746 # Warning - without using the other runtime loading flags (-brtl),
12747 # -berok will link without error, but may produce a broken library.
12748 allow_undefined_flag_CXX
='-berok'
12749 # Determine the default libpath from the value encoded in an empty
12751 if test x
$gcc_no_link = xyes
; then
12752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12754 { (exit 1); exit 1; }; }
12756 cat >conftest.
$ac_ext <<_ACEOF
12759 cat confdefs.h
>>conftest.
$ac_ext
12760 cat >>conftest.
$ac_ext <<_ACEOF
12761 /* end confdefs.h. */
12771 rm -f conftest.
$ac_objext conftest
$ac_exeext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12773 (eval $ac_link) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try
='test -z "$ac_cxx_werror_flag"
12781 || test ! -s conftest.err'
12782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12783 (eval $ac_try) 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; } &&
12787 { ac_try
='test -s conftest$ac_exeext'
12788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789 (eval $ac_try) 2>&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; }; then
12794 lt_aix_libpath_sed
='
12795 /Import File Strings/,/^$/ {
12801 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12802 # Check for a 64-bit object if we didn't find anything.
12803 if test -z "$aix_libpath"; then
12804 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12807 echo "$as_me: failed program was:" >&5
12808 sed 's/^/| /' conftest.
$ac_ext >&5
12811 rm -f conftest.err conftest.
$ac_objext \
12812 conftest
$ac_exeext conftest.
$ac_ext
12813 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12815 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12817 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"
12819 if test "$host_cpu" = ia64
; then
12820 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12821 allow_undefined_flag_CXX
="-z nodefs"
12822 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"
12824 # Determine the default libpath from the value encoded in an
12825 # empty executable.
12826 if test x
$gcc_no_link = xyes
; then
12827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12829 { (exit 1); exit 1; }; }
12831 cat >conftest.
$ac_ext <<_ACEOF
12834 cat confdefs.h
>>conftest.
$ac_ext
12835 cat >>conftest.
$ac_ext <<_ACEOF
12836 /* end confdefs.h. */
12846 rm -f conftest.
$ac_objext conftest
$ac_exeext
12847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12848 (eval $ac_link) 2>conftest.er1
12850 grep -v '^ *+' conftest.er1
>conftest.err
12852 cat conftest.err
>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); } &&
12855 { ac_try
='test -z "$ac_cxx_werror_flag"
12856 || test ! -s conftest.err'
12857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 (eval $ac_try) 2>&5
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; } &&
12862 { ac_try
='test -s conftest$ac_exeext'
12863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12864 (eval $ac_try) 2>&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); }; }; then
12869 lt_aix_libpath_sed
='
12870 /Import File Strings/,/^$/ {
12876 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12877 # Check for a 64-bit object if we didn't find anything.
12878 if test -z "$aix_libpath"; then
12879 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.
$ac_ext >&5
12886 rm -f conftest.err conftest.
$ac_objext \
12887 conftest
$ac_exeext conftest.
$ac_ext
12888 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12890 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12891 # Warning - without using the other run time loading flags,
12892 # -berok will link without error, but may produce a broken library.
12893 no_undefined_flag_CXX
=' ${wl}-bernotok'
12894 allow_undefined_flag_CXX
=' ${wl}-berok'
12895 # Exported symbols can be pulled into shared objects from archives
12896 whole_archive_flag_spec_CXX
='$convenience'
12897 archive_cmds_need_lc_CXX
=yes
12898 # This is similar to how AIX traditionally builds its shared
12900 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'
12906 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12907 allow_undefined_flag_CXX
=unsupported
12908 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12909 # support --undefined. This deserves some investigation. FIXME
12910 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12917 case $cc_basename in
12919 # FIXME: insert proper C++ library support
12925 cygwin
* | mingw
* | pw32
*)
12926 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12927 # as there is no search path for DLLs.
12928 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12929 allow_undefined_flag_CXX
=unsupported
12930 always_export_symbols_CXX
=no
12931 enable_shared_with_static_runtimes_CXX
=yes
12933 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12934 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'
12935 # If the export-symbols file already is a .def file (1st line
12936 # is EXPORTS), use it as is; otherwise, prepend...
12937 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12938 cp $export_symbols $output_objdir/$soname.def;
12940 echo EXPORTS > $output_objdir/$soname.def;
12941 cat $export_symbols >> $output_objdir/$soname.def;
12943 $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'
12948 darwin
* | rhapsody
*)
12950 rhapsody
* | darwin1.
[012])
12951 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
12954 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12956 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12959 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
12964 archive_cmds_need_lc_CXX
=no
12965 hardcode_direct_CXX
=no
12966 hardcode_automatic_CXX
=yes
12967 hardcode_shlibpath_var_CXX
=unsupported
12968 whole_archive_flag_spec_CXX
=''
12969 link_all_deplibs_CXX
=yes
12971 if test "$GXX" = yes ; then
12972 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12973 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 lt_cv_apple_cc_single_mod
=no
12976 if test -z "${LT_MULTI_MODULE}"; then
12977 # By default we will add the -single_module flag. You can override
12978 # by either setting the environment variable LT_MULTI_MODULE
12979 # non-empty at configure time, or by adding -multi-module to the
12981 echo "int foo(void){return 1;}" > conftest.c
12982 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12983 -dynamiclib ${wl}-single_module conftest.c
12984 if test -f libconftest.dylib
; then
12985 lt_cv_apple_cc_single_mod
=yes
12986 rm libconftest.dylib
12988 rm conftest.
$ac_ext
12992 output_verbose_link_cmd
=echo
12993 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
12994 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12995 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}'
12997 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'
12998 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}'
13000 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13001 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}'
13003 case $cc_basename in
13005 output_verbose_link_cmd
=echo
13006 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'
13007 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13008 # Don't fix this by using the ld -exported_symbols_list flag,
13009 # it doesn't exist in older darwin lds
13010 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}'
13011 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}'
13021 case $cc_basename in
13023 # FIXME: insert proper C++ library support
13027 # Green Hills C++ Compiler
13028 # FIXME: insert proper C++ library support
13032 # FIXME: insert proper C++ library support
13039 # C++ shared libraries reported to be fairly broken before
13045 archive_cmds_need_lc_CXX
=no
13048 freebsd
* | dragonfly
*)
13049 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13058 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13059 hardcode_libdir_separator_CXX
=:
13060 export_dynamic_flag_spec_CXX
='${wl}-E'
13061 hardcode_direct_CXX
=yes
13062 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13063 # but as the default
13064 # location of the library.
13066 case $cc_basename in
13068 # FIXME: insert proper C++ library support
13072 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'
13073 # Commands to make compiler produce verbose output that lists
13074 # what "hidden" libraries, object files and flags are used when
13075 # linking a shared library.
13077 # There doesn't appear to be a way to prevent this compiler from
13078 # explicitly linking system object files so we need to strip them
13079 # from the output so that they don't get included in the library
13081 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'
13084 if test "$GXX" = yes; then
13085 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'
13087 # FIXME: insert proper C++ library support
13095 if test $with_gnu_ld = no
; then
13096 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13097 hardcode_libdir_separator_CXX
=:
13103 export_dynamic_flag_spec_CXX
='${wl}-E'
13109 hardcode_direct_CXX
=no
13110 hardcode_shlibpath_var_CXX
=no
13113 hardcode_direct_CXX
=yes
13114 hardcode_direct_absolute_CXX
=yes
13115 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13116 # but as the default
13117 # location of the library.
13121 case $cc_basename in
13123 # FIXME: insert proper C++ library support
13129 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13132 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13138 # Commands to make compiler produce verbose output that lists
13139 # what "hidden" libraries, object files and flags are used when
13140 # linking a shared library.
13142 # There doesn't appear to be a way to prevent this compiler from
13143 # explicitly linking system object files so we need to strip them
13144 # from the output so that they don't get included in the library
13146 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'
13149 if test "$GXX" = yes; then
13150 if test $with_gnu_ld = no
; then
13153 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13156 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13159 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'
13164 # FIXME: insert proper C++ library support
13172 hardcode_direct_CXX
=no
13173 hardcode_shlibpath_var_CXX
=no
13174 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13175 export_dynamic_flag_spec_CXX
='${wl}-E'
13176 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13177 # Instead, shared libraries are loaded at an image base (0x10000000 by
13178 # default) and relocated if they conflict, which is a slow very memory
13179 # consuming and fragmenting process. To avoid this, we pick a random,
13180 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13181 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13182 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'
13183 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'
13186 case $cc_basename in
13189 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'
13191 # Archives containing C++ object files must be created using
13192 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13193 # necessary to make sure instantiated templates are included
13195 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13198 if test "$GXX" = yes; then
13199 if test "$with_gnu_ld" = no
; then
13200 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'
13202 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'
13205 link_all_deplibs_CXX
=yes
13208 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13209 hardcode_libdir_separator_CXX
=:
13210 inherit_rpath_CXX
=yes
13213 linux
* | k
*bsd
*-gnu)
13214 case $cc_basename in
13216 # Kuck and Associates, Inc. (KAI) C++ Compiler
13218 # KCC will only create a shared library if the output file
13219 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13220 # to its proper name (with version) after linking.
13221 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'
13222 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'
13223 # Commands to make compiler produce verbose output that lists
13224 # what "hidden" libraries, object files and flags are used when
13225 # linking a shared library.
13227 # There doesn't appear to be a way to prevent this compiler from
13228 # explicitly linking system object files so we need to strip them
13229 # from the output so that they don't get included in the library
13231 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'
13233 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13234 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13236 # Archives containing C++ object files must be created using
13237 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13238 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13243 # version 8.0 and above of icpc choke on multiply defined symbols
13244 # if we add $predep_objects and $postdep_objects, however 7.1 and
13245 # earlier do not add the objects themselves.
13246 case `$CC -V 2>&1` in
13248 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13249 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'
13251 *) # Version 8.0 or newer
13254 ia64
*) tmp_idyn
=' -i_dynamic';;
13256 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13257 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'
13260 archive_cmds_need_lc_CXX
=no
13261 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13262 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13263 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13266 # Portland Group C++ compiler
13269 prelink_cmds_CXX
='tpldir=Template.dir~
13271 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13272 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13273 old_archive_cmds_CXX
='tpldir=Template.dir~
13275 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13276 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13278 archive_cmds_CXX
='tpldir=Template.dir~
13280 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13281 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13282 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13284 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13285 $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'
13287 *) # Version 6 will use weak symbols
13288 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13289 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'
13293 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13294 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13295 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'
13299 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13300 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'
13302 runpath_var
=LD_RUN_PATH
13303 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13304 hardcode_libdir_separator_CXX
=:
13306 # Commands to make compiler produce verbose output that lists
13307 # what "hidden" libraries, object files and flags are used when
13308 # linking a shared library.
13310 # There doesn't appear to be a way to prevent this compiler from
13311 # explicitly linking system object files so we need to strip them
13312 # from the output so that they don't get included in the library
13314 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'
13317 case `$CC -V 2>&1 | sed 5q` in
13320 no_undefined_flag_CXX
=' -zdefs'
13321 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13322 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'
13323 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13324 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'
13325 compiler_needs_object_CXX
=yes
13327 # Not sure whether something based on
13328 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13330 output_verbose_link_cmd
='echo'
13332 # Archives containing C++ object files must be created using
13333 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13334 # necessary to make sure instantiated templates are included
13336 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13344 # FIXME: insert proper C++ library support
13349 # FIXME: insert proper C++ library support
13354 case $cc_basename in
13356 # FIXME: insert proper C++ library support
13360 # FIXME: insert proper C++ library support
13367 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13368 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13370 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13371 hardcode_direct_CXX
=yes
13372 hardcode_shlibpath_var_CXX
=no
13374 # Workaround some broken pre-1.5 toolchains
13375 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13383 # C++ shared libraries are fairly broken
13388 hardcode_direct_CXX
=yes
13389 hardcode_shlibpath_var_CXX
=no
13390 hardcode_direct_absolute_CXX
=yes
13391 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13392 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13393 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13394 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13395 export_dynamic_flag_spec_CXX
='${wl}-E'
13396 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13398 output_verbose_link_cmd
=echo
13401 osf3
* | osf4
* | osf5
*)
13402 case $cc_basename in
13404 # Kuck and Associates, Inc. (KAI) C++ Compiler
13406 # KCC will only create a shared library if the output file
13407 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13408 # to its proper name (with version) after linking.
13409 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'
13411 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13412 hardcode_libdir_separator_CXX
=:
13414 # Archives containing C++ object files must be created using
13415 # the KAI C++ compiler.
13417 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13418 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13422 # Rational C++ 2.4.1
13423 # FIXME: insert proper C++ library support
13429 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13430 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'
13431 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13434 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13435 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'
13436 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13437 echo "-hidden">> $lib.exp~
13438 $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~
13440 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13444 hardcode_libdir_separator_CXX
=:
13446 # Commands to make compiler produce verbose output that lists
13447 # what "hidden" libraries, object files and flags are used when
13448 # linking a shared library.
13450 # There doesn't appear to be a way to prevent this compiler from
13451 # explicitly linking system object files so we need to strip them
13452 # from the output so that they don't get included in the library
13454 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'
13457 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13458 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13461 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'
13464 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'
13468 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13469 hardcode_libdir_separator_CXX
=:
13471 # Commands to make compiler produce verbose output that lists
13472 # what "hidden" libraries, object files and flags are used when
13473 # linking a shared library.
13474 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13477 # FIXME: insert proper C++ library support
13485 # FIXME: insert proper C++ library support
13490 case $cc_basename in
13493 # FIXME: insert proper C++ library support
13498 # FIXME: insert proper C++ library support
13502 # FIXME: insert proper C++ library support
13509 case $cc_basename in
13511 # Sun C++ 4.2, 5.x and Centerline C++
13512 archive_cmds_need_lc_CXX
=yes
13513 no_undefined_flag_CXX
=' -zdefs'
13514 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13515 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13516 $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'
13518 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13519 hardcode_shlibpath_var_CXX
=no
13521 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13523 # The compiler driver will combine and reorder linker options,
13524 # but understands `-z linker_flag'.
13525 # Supported since Solaris 2.6 (maybe 2.5.1?)
13526 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13529 link_all_deplibs_CXX
=yes
13531 output_verbose_link_cmd
='echo'
13533 # Archives containing C++ object files must be created using
13534 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13535 # necessary to make sure instantiated templates are included
13537 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13540 # Green Hills C++ Compiler
13541 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13543 # The C++ compiler must be used to create the archive.
13544 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13547 # GNU C++ compiler with Solaris linker
13548 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13549 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13550 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13551 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13552 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13553 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13555 # Commands to make compiler produce verbose output that lists
13556 # what "hidden" libraries, object files and flags are used when
13557 # linking a shared library.
13558 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13560 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13562 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13563 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13564 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13566 # Commands to make compiler produce verbose output that lists
13567 # what "hidden" libraries, object files and flags are used when
13568 # linking a shared library.
13569 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13572 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13574 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13576 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13584 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13585 no_undefined_flag_CXX
='${wl}-z,text'
13586 archive_cmds_need_lc_CXX
=no
13587 hardcode_shlibpath_var_CXX
=no
13588 runpath_var
='LD_RUN_PATH'
13590 case $cc_basename in
13592 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13593 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13596 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13597 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13602 sysv5
* | sco3.2v5
* | sco5v6
*)
13603 # Note: We can NOT use -z defs as we might desire, because we do not
13604 # link with -lc, and that would cause any symbols used from libc to
13605 # always be unresolved, which means just about no library would
13606 # ever link correctly. If we're not using GNU ld we use -z text
13607 # though, which does catch some bad symbols but isn't as heavy-handed
13609 no_undefined_flag_CXX
='${wl}-z,text'
13610 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13611 archive_cmds_need_lc_CXX
=no
13612 hardcode_shlibpath_var_CXX
=no
13613 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13614 hardcode_libdir_separator_CXX
=':'
13615 link_all_deplibs_CXX
=yes
13616 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13617 runpath_var
='LD_RUN_PATH'
13619 case $cc_basename in
13621 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13622 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13625 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13626 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13632 case $cc_basename in
13634 # NonStop-UX NCC 3.20
13635 # FIXME: insert proper C++ library support
13639 # FIXME: insert proper C++ library support
13646 # FIXME: insert proper C++ library support
13651 # FIXME: insert proper C++ library support
13656 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13657 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13658 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13664 ## There is no encapsulation within the following macros, do not change
13665 ## the running order or otherwise move them around unless you know exactly
13666 ## what you are doing...
13667 # Dependencies to place before and after the object being linked:
13668 predep_objects_CXX
=
13669 postdep_objects_CXX
=
13672 compiler_lib_search_path_CXX
=
13674 cat > conftest.
$ac_ext <<_LT_EOF
13678 Foo (void) { a = 0; }
13684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13685 (eval $ac_compile) 2>&5
13687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13688 (exit $ac_status); }; then
13689 # Parse the compiler output and extract the necessary
13690 # objects, libraries and library flags.
13692 # Sentinel used to keep track of whether or not we are before
13693 # the conftest object file.
13694 pre_test_object_deps_done
=no
13696 # The `*' in the case matches for architectures that use `case' in
13697 # $output_verbose_cmd can trigger glob expansion during the loop
13698 # eval without this substitution.
13699 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13701 for p
in `eval $output_verbose_link_cmd`; do
13705 # Some compilers place space between "-{L,R}" and the path.
13706 # Remove the space.
13707 if test $p = "-L" ||
13708 test $p = "-R"; then
13715 if test "$pre_test_object_deps_done" = no
; then
13718 # Internal compiler library paths should come after those
13719 # provided the user. The postdeps already come after the
13720 # user supplied libs so there is no need to process them.
13721 if test -z "$compiler_lib_search_path_CXX"; then
13722 compiler_lib_search_path_CXX
="${prev}${p}"
13724 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13727 # The "-l" case would never come before the object being
13728 # linked, so don't bother handling this case.
13731 if test -z "$postdeps_CXX"; then
13732 postdeps_CXX
="${prev}${p}"
13734 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13740 # This assumes that the test object file only shows up
13741 # once in the compiler output.
13742 if test "$p" = "conftest.$objext"; then
13743 pre_test_object_deps_done
=yes
13747 if test "$pre_test_object_deps_done" = no
; then
13748 if test -z "$predep_objects_CXX"; then
13749 predep_objects_CXX
="$p"
13751 predep_objects_CXX
="$predep_objects_CXX $p"
13754 if test -z "$postdep_objects_CXX"; then
13755 postdep_objects_CXX
="$p"
13757 postdep_objects_CXX
="$postdep_objects_CXX $p"
13762 *) ;; # Ignore the rest.
13770 echo "libtool.m4: error: problem compiling CXX test program"
13773 $RM -f confest.
$objext
13775 # PORTME: override above test on systems where it is broken
13778 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13779 # hack all around it, let's just trust "g++" to DTRT.
13780 predep_objects_CXX
=
13781 postdep_objects_CXX
=
13786 case `$CC -V 2>&1 | sed 5q` in
13790 # The more standards-conforming stlport4 library is
13791 # incompatible with the Cstd library. Avoid specifying
13792 # it if it's in CXXFLAGS. Ignore libCrun as
13793 # -library=stlport4 depends on it.
13794 case " $CXX $CXXFLAGS " in
13795 *" -library=stlport4 "*)
13796 solaris_use_stlport4
=yes
13800 if test "$solaris_use_stlport4" != yes; then
13801 postdeps_CXX
='-library=Cstd -library=Crun'
13808 case $cc_basename in
13810 # The more standards-conforming stlport4 library is
13811 # incompatible with the Cstd library. Avoid specifying
13812 # it if it's in CXXFLAGS. Ignore libCrun as
13813 # -library=stlport4 depends on it.
13814 case " $CXX $CXXFLAGS " in
13815 *" -library=stlport4 "*)
13816 solaris_use_stlport4
=yes
13820 # Adding this requires a known-good setup of shared libraries for
13821 # Sun compiler versions before 5.6, else PIC objects from an old
13822 # archive will be linked into the output, leading to subtle bugs.
13823 if test "$solaris_use_stlport4" != yes; then
13824 postdeps_CXX
='-library=Cstd -library=Crun'
13832 case " $postdeps_CXX " in
13833 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13861 lt_prog_compiler_wl_CXX
=
13862 lt_prog_compiler_pic_CXX
=
13863 lt_prog_compiler_static_CXX
=
13865 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13866 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13868 # C++ specific cases for pic, static, wl, etc.
13869 if test "$GXX" = yes; then
13870 lt_prog_compiler_wl_CXX
='-Wl,'
13871 lt_prog_compiler_static_CXX
='-static'
13875 # All AIX code is PIC.
13876 if test "$host_cpu" = ia64
; then
13877 # AIX 5 now supports IA64 processor
13878 lt_prog_compiler_static_CXX
='-Bstatic'
13882 if test "$host_cpu" = m68k
; then
13883 # FIXME: we need at least 68020 code to build shared libraries, but
13884 # adding the `-m68020' flag to GCC prevents building anything better,
13886 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13889 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13890 # PIC is the default for these OSes.
13892 mingw
* | cygwin
* | os2
* | pw32
*)
13893 # This hack is so that the source file can tell whether it is being
13894 # built for inclusion in a dll (and should export symbols for example).
13895 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13896 # (--disable-auto-import) libraries
13897 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13899 darwin
* | rhapsody
*)
13900 # PIC is the default on this platform
13901 # Common symbols not allowed in MH_DYLIB files
13902 lt_prog_compiler_pic_CXX
='-fno-common'
13905 # DJGPP does not support shared libraries at all
13906 lt_prog_compiler_pic_CXX
=
13909 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13910 # Instead, we relocate shared libraries at runtime.
13913 if test -d /usr
/nec
; then
13914 lt_prog_compiler_pic_CXX
=-Kconform_pic
13918 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13919 # not for PA HP-UX.
13924 lt_prog_compiler_pic_CXX
='-fPIC'
13929 # QNX uses GNU C++, but need to define -shared option too, otherwise
13930 # it will coredump.
13931 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13934 lt_prog_compiler_pic_CXX
='-fPIC'
13940 # All AIX code is PIC.
13941 if test "$host_cpu" = ia64
; then
13942 # AIX 5 now supports IA64 processor
13943 lt_prog_compiler_static_CXX
='-Bstatic'
13945 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13949 case $cc_basename in
13951 # Green Hills C++ Compiler
13952 # _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"
13957 # PIC is the default on this platform
13958 # Common symbols not allowed in MH_DYLIB files
13959 case $cc_basename in
13961 lt_prog_compiler_pic_CXX
='-qnocommon'
13962 lt_prog_compiler_wl_CXX
='-Wl,'
13967 case $cc_basename in
13969 lt_prog_compiler_pic_CXX
='-KPIC'
13972 # Green Hills C++ Compiler
13973 lt_prog_compiler_pic_CXX
='-pic'
13979 freebsd
* | dragonfly
*)
13980 # FreeBSD uses GNU C++
13982 hpux9
* | hpux10
* | hpux11
*)
13983 case $cc_basename in
13985 lt_prog_compiler_wl_CXX
='-Wl,'
13986 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13987 if test "$host_cpu" != ia64
; then
13988 lt_prog_compiler_pic_CXX
='+Z'
13992 lt_prog_compiler_wl_CXX
='-Wl,'
13993 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13999 lt_prog_compiler_pic_CXX
='+Z'
14008 # This is c89, which is MS Visual C++ (no shared libs)
14009 # Anyone wants to do a port?
14011 irix5
* | irix6
* | nonstopux
*)
14012 case $cc_basename in
14014 lt_prog_compiler_wl_CXX
='-Wl,'
14015 lt_prog_compiler_static_CXX
='-non_shared'
14016 # CC pic flag -KPIC is the default.
14022 linux
* | k
*bsd
*-gnu)
14023 case $cc_basename in
14026 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14027 lt_prog_compiler_pic_CXX
='-fPIC'
14031 lt_prog_compiler_wl_CXX
='-Wl,'
14032 lt_prog_compiler_pic_CXX
='-KPIC'
14033 lt_prog_compiler_static_CXX
='-static'
14036 # Portland Group C++ compiler
14037 lt_prog_compiler_wl_CXX
='-Wl,'
14038 lt_prog_compiler_pic_CXX
='-fpic'
14039 lt_prog_compiler_static_CXX
='-Bstatic'
14043 # Make sure the PIC flag is empty. It appears that all Alpha
14044 # Linux and Compaq Tru64 Unix objects are PIC.
14045 lt_prog_compiler_pic_CXX
=
14046 lt_prog_compiler_static_CXX
='-non_shared'
14049 case `$CC -V 2>&1 | sed 5q` in
14052 lt_prog_compiler_pic_CXX
='-KPIC'
14053 lt_prog_compiler_static_CXX
='-Bstatic'
14054 lt_prog_compiler_wl_CXX
='-Qoption ld '
14065 case $cc_basename in
14067 lt_prog_compiler_pic_CXX
='-W c,exportall'
14076 # QNX uses GNU C++, but need to define -shared option too, otherwise
14077 # it will coredump.
14078 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14080 osf3
* | osf4
* | osf5
*)
14081 case $cc_basename in
14083 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14086 # Rational C++ 2.4.1
14087 lt_prog_compiler_pic_CXX
='-pic'
14090 # Digital/Compaq C++
14091 lt_prog_compiler_wl_CXX
='-Wl,'
14092 # Make sure the PIC flag is empty. It appears that all Alpha
14093 # Linux and Compaq Tru64 Unix objects are PIC.
14094 lt_prog_compiler_pic_CXX
=
14095 lt_prog_compiler_static_CXX
='-non_shared'
14104 case $cc_basename in
14106 # Sun C++ 4.2, 5.x and Centerline C++
14107 lt_prog_compiler_pic_CXX
='-KPIC'
14108 lt_prog_compiler_static_CXX
='-Bstatic'
14109 lt_prog_compiler_wl_CXX
='-Qoption ld '
14112 # Green Hills C++ Compiler
14113 lt_prog_compiler_pic_CXX
='-PIC'
14120 case $cc_basename in
14123 lt_prog_compiler_pic_CXX
='-pic'
14124 lt_prog_compiler_static_CXX
='-Bstatic'
14128 lt_prog_compiler_pic_CXX
='-pic'
14134 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14135 case $cc_basename in
14137 lt_prog_compiler_wl_CXX
='-Wl,'
14138 lt_prog_compiler_pic_CXX
='-KPIC'
14139 lt_prog_compiler_static_CXX
='-Bstatic'
14144 case $cc_basename in
14146 # NonStop-UX NCC 3.20
14147 lt_prog_compiler_pic_CXX
='-KPIC'
14156 lt_prog_compiler_can_build_shared_CXX
=no
14162 # For platforms which do not support PIC, -DPIC is meaningless:
14164 lt_prog_compiler_pic_CXX
=
14167 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14170 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14171 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14176 # Check to make sure the PIC flag actually works.
14178 if test -n "$lt_prog_compiler_pic_CXX"; then
14179 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14180 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14181 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14182 echo $ECHO_N "(cached) $ECHO_C" >&6
14184 lt_prog_compiler_pic_works_CXX
=no
14185 ac_outfile
=conftest.
$ac_objext
14186 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14187 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14188 # Insert the option either (1) after the last *FLAGS variable, or
14189 # (2) before a word containing "conftest.", or (3) at the end.
14190 # Note that $ac_compile itself does not contain backslashes and begins
14191 # with a dollar sign (not a hyphen), so the echo should work correctly.
14192 # The option is referenced via a variable to avoid confusing sed.
14193 lt_compile
=`echo "$ac_compile" | $SED \
14194 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14195 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14196 -e 's:$: $lt_compiler_flag:'`
14197 (eval echo "\"\$as_me:14197: $lt_compile\"" >&5)
14198 (eval "$lt_compile" 2>conftest.err
)
14200 cat conftest.err
>&5
14201 echo "$as_me:14201: \$? = $ac_status" >&5
14202 if (exit $ac_status) && test -s "$ac_outfile"; then
14203 # The compiler can only warn and ignore the option if not recognized
14204 # So say no if there are warnings other than the usual output.
14205 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14206 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14207 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14208 lt_prog_compiler_pic_works_CXX
=yes
14214 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14215 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14217 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14218 case $lt_prog_compiler_pic_CXX in
14220 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14223 lt_prog_compiler_pic_CXX
=
14224 lt_prog_compiler_can_build_shared_CXX
=no
14232 # Check to make sure the static flag actually works.
14234 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14235 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14236 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14237 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14238 echo $ECHO_N "(cached) $ECHO_C" >&6
14240 lt_prog_compiler_static_works_CXX
=no
14241 save_LDFLAGS
="$LDFLAGS"
14242 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14243 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14244 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14245 # The linker can only warn and ignore the option if not recognized
14246 # So say no if there are warnings
14247 if test -s conftest.err
; then
14248 # Append any errors to the config.log.
14249 cat conftest.err
1>&5
14250 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14251 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14252 if diff conftest.exp conftest.er2
>/dev
/null
; then
14253 lt_prog_compiler_static_works_CXX
=yes
14256 lt_prog_compiler_static_works_CXX
=yes
14260 LDFLAGS
="$save_LDFLAGS"
14263 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14264 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
14266 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14269 lt_prog_compiler_static_CXX
=
14275 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14276 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14277 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14278 echo $ECHO_N "(cached) $ECHO_C" >&6
14280 lt_cv_prog_compiler_c_o_CXX
=no
14281 $RM -r conftest
2>/dev
/null
14285 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14287 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14288 # Insert the option either (1) after the last *FLAGS variable, or
14289 # (2) before a word containing "conftest.", or (3) at the end.
14290 # Note that $ac_compile itself does not contain backslashes and begins
14291 # with a dollar sign (not a hyphen), so the echo should work correctly.
14292 lt_compile
=`echo "$ac_compile" | $SED \
14293 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14294 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14295 -e 's:$: $lt_compiler_flag:'`
14296 (eval echo "\"\$as_me:14296: $lt_compile\"" >&5)
14297 (eval "$lt_compile" 2>out
/conftest.err
)
14299 cat out
/conftest.err
>&5
14300 echo "$as_me:14300: \$? = $ac_status" >&5
14301 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14303 # The compiler can only warn and ignore the option if not recognized
14304 # So say no if there are warnings
14305 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14306 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14307 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14308 lt_cv_prog_compiler_c_o_CXX
=yes
14313 # SGI C++ compiler will create directory out/ii_files/ for
14314 # template instantiation
14315 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14316 $RM out
/* && rmdir out
14322 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14323 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14327 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14328 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14329 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14330 echo $ECHO_N "(cached) $ECHO_C" >&6
14332 lt_cv_prog_compiler_c_o_CXX
=no
14333 $RM -r conftest
2>/dev
/null
14337 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14339 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14340 # Insert the option either (1) after the last *FLAGS variable, or
14341 # (2) before a word containing "conftest.", or (3) at the end.
14342 # Note that $ac_compile itself does not contain backslashes and begins
14343 # with a dollar sign (not a hyphen), so the echo should work correctly.
14344 lt_compile
=`echo "$ac_compile" | $SED \
14345 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14347 -e 's:$: $lt_compiler_flag:'`
14348 (eval echo "\"\$as_me:14348: $lt_compile\"" >&5)
14349 (eval "$lt_compile" 2>out
/conftest.err
)
14351 cat out
/conftest.err
>&5
14352 echo "$as_me:14352: \$? = $ac_status" >&5
14353 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14355 # The compiler can only warn and ignore the option if not recognized
14356 # So say no if there are warnings
14357 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14358 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14359 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14360 lt_cv_prog_compiler_c_o_CXX
=yes
14365 # SGI C++ compiler will create directory out/ii_files/ for
14366 # template instantiation
14367 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14368 $RM out
/* && rmdir out
14374 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14375 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14380 hard_links
="nottested"
14381 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14382 # do not overwrite the value of need_locks provided by the user
14383 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14384 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14387 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14389 ln conftest.a conftest.b
2>&5 || hard_links
=no
14390 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14391 echo "$as_me:$LINENO: result: $hard_links" >&5
14392 echo "${ECHO_T}$hard_links" >&6
14393 if test "$hard_links" = no
; then
14394 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14395 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14404 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14405 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14407 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14410 # If we're using GNU nm, then we don't want the "-C" option.
14411 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14412 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14413 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'
14415 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'
14419 export_symbols_cmds_CXX
="$ltdll_cmds"
14422 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'
14425 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14429 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14430 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14431 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14433 with_gnu_ld_CXX
=$with_gnu_ld
14441 # Do we need to explicitly link libc?
14443 case "x$archive_cmds_need_lc_CXX" in
14445 # Assume -lc should be added
14446 archive_cmds_need_lc_CXX
=yes
14448 if test "$enable_shared" = yes && test "$GCC" = yes; then
14449 case $archive_cmds_CXX in
14451 # FIXME: we may have to deal with multi-command sequences.
14454 # Test whether the compiler implicitly links with -lc since on some
14455 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14456 # to ld, don't add -lc before -lgcc.
14457 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14458 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14460 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14463 (eval $ac_compile) 2>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } 2>conftest.err
; then
14469 libobjs
=conftest.
$ac_objext
14471 wl
=$lt_prog_compiler_wl_CXX
14472 pic_flag
=$lt_prog_compiler_pic_CXX
14478 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14479 allow_undefined_flag_CXX
=
14480 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14481 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14484 (exit $ac_status); }
14486 archive_cmds_need_lc_CXX
=no
14488 archive_cmds_need_lc_CXX
=yes
14490 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14492 cat conftest.err
1>&5
14495 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14496 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14566 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14567 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14569 library_names_spec
=
14570 libname_spec
='lib$name'
14574 postuninstall_cmds
=
14578 shlibpath_overrides_runpath
=unknown
14580 dynamic_linker
="$host_os ld.so"
14581 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14582 need_lib_prefix
=unknown
14583 hardcode_into_libs
=no
14585 # when you set need_version to no, make sure it does not cause -set_version
14586 # flags to be left without arguments
14587 need_version
=unknown
14592 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14593 shlibpath_var
=LIBPATH
14595 # AIX 3 has no versioning support, so we append a major version to the name.
14596 soname_spec
='${libname}${release}${shared_ext}$major'
14603 hardcode_into_libs
=yes
14604 if test "$host_cpu" = ia64
; then
14605 # AIX 5 supports IA64
14606 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14607 shlibpath_var
=LD_LIBRARY_PATH
14609 # With GCC up to 2.95.x, collect2 would create an import file
14610 # for dependence libraries. The import file would start with
14611 # the line `#! .'. This would cause the generated library to
14612 # depend on `.', always an invalid library. This was fixed in
14613 # development snapshots of GCC prior to 3.0.
14615 aix4 | aix4.
[01] | aix4.
[01].
*)
14616 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14618 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14621 can_build_shared
=no
14625 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14626 # soname into executable. Probably we can add versioning support to
14627 # collect2, so additional links can be useful in future.
14628 if test "$aix_use_runtimelinking" = yes; then
14629 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14630 # instead of lib<name>.a to let people know that these are not
14631 # typical AIX shared libraries.
14632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14634 # We preserve .a as extension for shared libraries through AIX4.2
14635 # and later when we are not doing run time linking.
14636 library_names_spec
='${libname}${release}.a $libname.a'
14637 soname_spec
='${libname}${release}${shared_ext}$major'
14639 shlibpath_var
=LIBPATH
14644 if test "$host_cpu" = m68k
; then
14645 library_names_spec
='$libname.ixlibrary $libname.a'
14646 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14647 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'
14654 library_names_spec
='${libname}${shared_ext}'
14655 dynamic_linker
="$host_os ld.so"
14656 shlibpath_var
=LIBRARY_PATH
14662 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14663 soname_spec
='${libname}${release}${shared_ext}$major'
14664 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14665 shlibpath_var
=LD_LIBRARY_PATH
14666 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14667 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14668 # the default ld.so.conf also contains /usr/contrib/lib and
14669 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14670 # libtool to hard-code these into programs
14673 cygwin
* | mingw
* | pw32
*)
14674 version_type
=windows
14679 case $withGCC,$host_os in
14680 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14681 library_names_spec
='$libname.dll.a'
14682 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14683 postinstall_cmds
='base_file=`basename \${file}`~
14684 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14685 dldir=$destdir/`dirname \$dlpath`~
14686 test -d \$dldir || mkdir -p \$dldir~
14687 $install_prog $dir/$dlname \$dldir/$dlname~
14688 chmod a+x \$dldir/$dlname~
14689 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14690 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14692 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14693 dlpath=$dir/\$dldll~
14695 shlibpath_overrides_runpath
=yes
14699 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14700 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14701 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14704 # MinGW DLLs use traditional 'lib' prefix
14705 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14706 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14707 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14708 # It is most probably a Windows format PATH printed by
14709 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14710 # path with ; separators, and with drive letters. We can handle the
14711 # drive letters (cygwin fileutils understands them), so leave them,
14712 # especially as we might pass files found there to a mingw objdump,
14713 # which wouldn't understand a cygwinified path. Ahh.
14714 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14716 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14720 # pw32 DLLs use 'pw' prefix rather than 'lib'
14721 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14727 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14730 dynamic_linker
='Win32 ld.exe'
14731 # FIXME: first we should search . and the directory the executable is in
14735 darwin
* | rhapsody
*)
14736 dynamic_linker
="$host_os dyld"
14737 version_type
=darwin
14740 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14741 soname_spec
='${libname}${release}${major}$shared_ext'
14742 shlibpath_overrides_runpath
=yes
14743 shlibpath_var
=DYLD_LIBRARY_PATH
14744 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14746 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14754 soname_spec
='${libname}${release}${shared_ext}$major'
14755 shlibpath_var
=LD_LIBRARY_PATH
14762 freebsd
* | dragonfly
*)
14763 # DragonFly does not have aout. When/if they implement a new
14764 # versioning mechanism, adjust this.
14765 if test -x /usr
/bin
/objformat
; then
14766 objformat
=`/usr/bin/objformat`
14769 freebsd
[123]*) objformat
=aout
;;
14770 *) objformat
=elf
;;
14773 version_type
=freebsd-
$objformat
14774 case $version_type in
14776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14781 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14785 shlibpath_var
=LD_LIBRARY_PATH
14788 shlibpath_overrides_runpath
=yes
14790 freebsd3.
[01]* | freebsdelf3.
[01]*)
14791 shlibpath_overrides_runpath
=yes
14792 hardcode_into_libs
=yes
14794 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14795 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14796 shlibpath_overrides_runpath
=no
14797 hardcode_into_libs
=yes
14799 *) # from 4.6 on, and DragonFly
14800 shlibpath_overrides_runpath
=yes
14801 hardcode_into_libs
=yes
14810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14811 soname_spec
='${libname}${release}${shared_ext}$major'
14812 shlibpath_var
=LD_LIBRARY_PATH
14813 hardcode_into_libs
=yes
14816 hpux9
* | hpux10
* | hpux11
*)
14817 # Give a soname corresponding to the major version so that dld.sl refuses to
14818 # link against other versions.
14825 hardcode_into_libs
=yes
14826 dynamic_linker
="$host_os dld.so"
14827 shlibpath_var
=LD_LIBRARY_PATH
14828 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14830 soname_spec
='${libname}${release}${shared_ext}$major'
14831 if test "X$HPUX_IA64_MODE" = X32
; then
14832 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14834 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14836 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14840 hardcode_into_libs
=yes
14841 dynamic_linker
="$host_os dld.sl"
14842 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14843 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14844 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14845 soname_spec
='${libname}${release}${shared_ext}$major'
14846 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14847 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14851 dynamic_linker
="$host_os dld.sl"
14852 shlibpath_var
=SHLIB_PATH
14853 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14855 soname_spec
='${libname}${release}${shared_ext}$major'
14858 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14859 postinstall_cmds
='chmod 555 $lib'
14866 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14867 soname_spec
='${libname}${release}${shared_ext}$major'
14868 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14869 shlibpath_var
=LD_LIBRARY_PATH
14870 shlibpath_overrides_runpath
=no
14871 hardcode_into_libs
=yes
14874 irix5
* | irix6
* | nonstopux
*)
14876 nonstopux
*) version_type
=nonstopux
;;
14878 if test "$lt_cv_prog_gnu_ld" = yes; then
14886 soname_spec
='${libname}${release}${shared_ext}$major'
14887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14889 irix5
* | nonstopux
*)
14890 libsuff
= shlibsuff
=
14893 case $LD in # libtool.m4 will add one of these switches to LD
14894 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14895 libsuff
= shlibsuff
= libmagic
=32-bit;;
14896 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14897 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14898 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14899 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14900 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14904 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14905 shlibpath_overrides_runpath
=no
14906 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14907 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14908 hardcode_into_libs
=yes
14911 # No shared lib support for Linux oldld, aout, or coff.
14912 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14916 # This must be Linux ELF.
14917 linux
* | k
*bsd
*-gnu)
14921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14922 soname_spec
='${libname}${release}${shared_ext}$major'
14923 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14924 shlibpath_var
=LD_LIBRARY_PATH
14925 shlibpath_overrides_runpath
=no
14926 # Some binutils ld are patched to set DT_RUNPATH
14927 save_LDFLAGS
=$LDFLAGS
14928 save_libdir
=$libdir
14929 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14930 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14931 if test x
$gcc_no_link = xyes
; then
14932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14934 { (exit 1); exit 1; }; }
14936 cat >conftest.
$ac_ext <<_ACEOF
14939 cat confdefs.h
>>conftest.
$ac_ext
14940 cat >>conftest.
$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14951 rm -f conftest.
$ac_objext conftest
$ac_exeext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14953 (eval $ac_link) 2>conftest.er1
14955 grep -v '^ *+' conftest.er1
>conftest.err
14957 cat conftest.err
>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try
='test -z "$ac_cxx_werror_flag"
14961 || test ! -s conftest.err'
14962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963 (eval $ac_try) 2>&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); }; } &&
14967 { ac_try
='test -s conftest$ac_exeext'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; }; then
14973 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
14974 shlibpath_overrides_runpath
=yes
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.
$ac_ext >&5
14982 rm -f conftest.err conftest.
$ac_objext \
14983 conftest
$ac_exeext conftest.
$ac_ext
14984 LDFLAGS
=$save_LDFLAGS
14985 libdir
=$save_libdir
14987 # This implies no fast_install, which is unacceptable.
14988 # Some rework will be needed to allow for fast_install
14989 # before this can be enabled.
14990 hardcode_into_libs
=yes
14992 # Append ld.so.conf contents to the search path
14993 if test -f /etc
/ld.so.conf
; then
14994 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' ' '`
14995 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14998 # We used to test for /lib/ld.so.1 and disable shared libraries on
14999 # powerpc, because MkLinux only supported shared libraries with the
15000 # GNU dynamic linker. Since this was broken with cross compilers,
15001 # most powerpc-linux boxes support dynamic linking these days and
15002 # people can always --disable-shared, the test was removed, and we
15003 # assume the GNU/Linux dynamic linker is in use.
15004 dynamic_linker
='GNU/Linux ld.so'
15011 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15012 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15013 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15014 dynamic_linker
='NetBSD (a.out) ld.so'
15016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15017 soname_spec
='${libname}${release}${shared_ext}$major'
15018 dynamic_linker
='NetBSD ld.elf_so'
15020 shlibpath_var
=LD_LIBRARY_PATH
15021 shlibpath_overrides_runpath
=yes
15022 hardcode_into_libs
=yes
15027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15028 shlibpath_var
=LD_LIBRARY_PATH
15029 shlibpath_overrides_runpath
=yes
15036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15037 soname_spec
='${libname}${release}${shared_ext}$major'
15038 shlibpath_var
=LD_LIBRARY_PATH
15039 shlibpath_overrides_runpath
=no
15040 hardcode_into_libs
=yes
15041 dynamic_linker
='ldqnx.so'
15046 sys_lib_dlsearch_path_spec
="/usr/lib"
15048 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15050 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15051 *) need_version
=no
;;
15053 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15054 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15055 shlibpath_var
=LD_LIBRARY_PATH
15056 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15058 openbsd2.
[89] | openbsd2.
[89].
*)
15059 shlibpath_overrides_runpath
=no
15062 shlibpath_overrides_runpath
=yes
15066 shlibpath_overrides_runpath
=yes
15071 libname_spec
='$name'
15074 library_names_spec
='$libname${shared_ext} $libname.a'
15075 dynamic_linker
='OS/2 ld.exe'
15076 shlibpath_var
=LIBPATH
15079 osf3
* | osf4
* | osf5
*)
15083 soname_spec
='${libname}${release}${shared_ext}$major'
15084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15085 shlibpath_var
=LD_LIBRARY_PATH
15086 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15087 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15098 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15099 soname_spec
='${libname}${release}${shared_ext}$major'
15100 shlibpath_var
=LD_LIBRARY_PATH
15101 shlibpath_overrides_runpath
=yes
15102 hardcode_into_libs
=yes
15103 # ldd complains unless libraries are executable
15104 postinstall_cmds
='chmod +x $lib'
15109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15110 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15111 shlibpath_var
=LD_LIBRARY_PATH
15112 shlibpath_overrides_runpath
=yes
15113 if test "$with_gnu_ld" = yes; then
15121 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15122 soname_spec
='${libname}${release}${shared_ext}$major'
15123 shlibpath_var
=LD_LIBRARY_PATH
15124 case $host_vendor in
15126 shlibpath_overrides_runpath
=no
15128 runpath_var
=LD_RUN_PATH
15136 shlibpath_overrides_runpath
=no
15137 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15143 if test -d /usr
/nec
;then
15145 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15146 soname_spec
='$libname${shared_ext}.$major'
15147 shlibpath_var
=LD_LIBRARY_PATH
15151 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15152 version_type
=freebsd-elf
15155 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15156 soname_spec
='${libname}${release}${shared_ext}$major'
15157 shlibpath_var
=LD_LIBRARY_PATH
15158 shlibpath_overrides_runpath
=yes
15159 hardcode_into_libs
=yes
15160 if test "$with_gnu_ld" = yes; then
15161 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15163 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15166 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15170 sys_lib_dlsearch_path_spec
='/usr/lib'
15174 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15178 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15179 shlibpath_var
=LD_LIBRARY_PATH
15180 shlibpath_overrides_runpath
=no
15181 hardcode_into_libs
=yes
15186 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15187 soname_spec
='${libname}${release}${shared_ext}$major'
15188 shlibpath_var
=LD_LIBRARY_PATH
15195 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15196 echo "${ECHO_T}$dynamic_linker" >&6
15197 test "$dynamic_linker" = no
&& can_build_shared
=no
15199 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15200 if test "$GCC" = yes; then
15201 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15239 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15240 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15241 hardcode_action_CXX
=
15242 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15243 test -n "$runpath_var_CXX" ||
15244 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15246 # We can hardcode non-existent directories.
15247 if test "$hardcode_direct_CXX" != no
&&
15248 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15249 # have to relink, otherwise we might link with an installed library
15250 # when we should be linking with a yet-to-be-installed one
15251 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15252 test "$hardcode_minus_L_CXX" != no
; then
15253 # Linking always hardcodes the temporary library directory.
15254 hardcode_action_CXX
=relink
15256 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15257 hardcode_action_CXX
=immediate
15260 # We cannot hardcode anything, or else we can only hardcode existing
15262 hardcode_action_CXX
=unsupported
15264 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15265 echo "${ECHO_T}$hardcode_action_CXX" >&6
15267 if test "$hardcode_action_CXX" = relink ||
15268 test "$inherit_rpath_CXX" = yes; then
15269 # Fast installation is not supported
15270 enable_fast_install
=no
15271 elif test "$shlibpath_overrides_runpath" = yes ||
15272 test "$enable_shared" = no
; then
15273 # Fast installation is not necessary
15274 enable_fast_install
=needless
15283 fi # test -n "$compiler"
15289 with_gnu_ld
=$lt_save_with_gnu_ld
15290 lt_cv_path_LDCXX
=$lt_cv_path_LD
15291 lt_cv_path_LD
=$lt_save_path_LD
15292 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15293 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15294 fi # test "$_lt_caught_CXX_error" != yes
15297 ac_cpp
='$CPP $CPPFLAGS'
15298 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15299 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15300 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15314 ac_config_commands
="$ac_config_commands libtool"
15319 # Only expand once:
15325 # Extract the first word of "$ac_prog", so it can be a program name with args.
15326 set dummy
$ac_prog; ac_word
=$2
15327 echo "$as_me:$LINENO: checking for $ac_word" >&5
15328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15329 if test "${ac_cv_prog_GCJ+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15332 if test -n "$GCJ"; then
15333 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15336 for as_dir
in $PATH
15339 test -z "$as_dir" && as_dir
=.
15340 for ac_exec_ext
in '' $ac_executable_extensions; do
15341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15342 ac_cv_prog_GCJ
="$ac_prog"
15343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15351 GCJ
=$ac_cv_prog_GCJ
15352 if test -n "$GCJ"; then
15353 echo "$as_me:$LINENO: result: $GCJ" >&5
15354 echo "${ECHO_T}$GCJ" >&6
15356 echo "$as_me:$LINENO: result: no" >&5
15357 echo "${ECHO_T}no" >&6
15360 test -n "$GCJ" && break
15362 test -n "$GCJ" || GCJ
="gcj"
15364 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15365 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15366 { (exit 1); exit 1; }; }
15367 if test "x${GCJFLAGS-unset}" = xunset
; then
15372 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15374 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15375 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15376 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15379 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15380 # We make a subdir and do the tests there. Otherwise we can end up
15381 # making bogus files that we don't know about and never remove. For
15382 # instance it was reported that on HP-UX the gcc test will end up
15383 # making a dummy file named `D' -- because `-MD' means `put the output
15386 # Copy depcomp to subdir because otherwise we won't find it if we're
15387 # using a relative directory.
15388 cp "$am_depcomp" conftest.dir
15390 # We will build objects and dependencies in a subdirectory because
15391 # it helps to detect inapplicable dependency modes. For instance
15392 # both Tru64's cc and ICC support -MD to output dependencies as a
15393 # side effect of compilation, but ICC will put the dependencies in
15394 # the current directory while Tru64 will put them in the object
15398 am_cv_GCJ_dependencies_compiler_type
=none
15399 if test "$am_compiler_list" = ""; then
15400 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15402 for depmode
in $am_compiler_list; do
15403 # Setup a source with many dependencies, because some compilers
15404 # like to wrap large dependency lists on column 80 (with \), and
15405 # we should not choose a depcomp mode which is confused by this.
15407 # We need to recreate these files for each test, as the compiler may
15408 # overwrite some of them when testing with obscure command lines.
15409 # This happens at least with the AIX C compiler.
15411 for i
in 1 2 3 4 5 6; do
15412 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15413 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15414 # Solaris 8's {/usr,}/bin/sh.
15415 touch sub
/conftst
$i.h
15417 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15421 # after this tag, mechanisms are not by side-effect, so they'll
15422 # only be used when explicitly requested
15423 if test "x$enable_dependency_tracking" = xyes
; then
15431 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15432 # mode. It turns out that the SunPro C++ compiler does not properly
15433 # handle `-M -o', and we need to detect this.
15434 if depmode
=$depmode \
15435 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15436 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15437 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15438 >/dev
/null
2>conftest.err
&&
15439 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15440 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15441 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15442 # icc doesn't choke on unknown options, it will just issue warnings
15443 # or remarks (even with -Werror). So we grep stderr for any message
15444 # that says an option was ignored or not supported.
15445 # When given -MP, icc 7.0 and 7.1 complain thusly:
15446 # icc: Command line warning: ignoring option '-M'; no argument required
15447 # The diagnosis changed in icc 8.0:
15448 # icc: Command line remark: option '-MP' not supported
15449 if (grep 'ignoring option' conftest.err ||
15450 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15451 am_cv_GCJ_dependencies_compiler_type
=$depmode
15458 rm -rf conftest.dir
15460 am_cv_GCJ_dependencies_compiler_type
=none
15464 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15465 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15466 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15471 test "x$enable_dependency_tracking" != xno \
15472 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15473 am__fastdepGCJ_TRUE
=
15474 am__fastdepGCJ_FALSE
='#'
15476 am__fastdepGCJ_TRUE
='#'
15477 am__fastdepGCJ_FALSE
=
15484 # Extract the first word of "$ac_prog", so it can be a program name with args.
15485 set dummy
$ac_prog; ac_word
=$2
15486 echo "$as_me:$LINENO: checking for $ac_word" >&5
15487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15488 if test "${ac_cv_prog_GCJ+set}" = set; then
15489 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 if test -n "$GCJ"; then
15492 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15495 for as_dir
in $PATH
15498 test -z "$as_dir" && as_dir
=.
15499 for ac_exec_ext
in '' $ac_executable_extensions; do
15500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15501 ac_cv_prog_GCJ
="$ac_prog"
15502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15510 GCJ
=$ac_cv_prog_GCJ
15511 if test -n "$GCJ"; then
15512 echo "$as_me:$LINENO: result: $GCJ" >&5
15513 echo "${ECHO_T}$GCJ" >&6
15515 echo "$as_me:$LINENO: result: no" >&5
15516 echo "${ECHO_T}no" >&6
15519 test -n "$GCJ" && break
15521 test -n "$GCJ" || GCJ
="gcj"
15523 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15524 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15525 { (exit 1); exit 1; }; }
15526 if test "x${GCJFLAGS-unset}" = xunset
; then
15531 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15533 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15534 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15535 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15538 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15539 # We make a subdir and do the tests there. Otherwise we can end up
15540 # making bogus files that we don't know about and never remove. For
15541 # instance it was reported that on HP-UX the gcc test will end up
15542 # making a dummy file named `D' -- because `-MD' means `put the output
15545 # Copy depcomp to subdir because otherwise we won't find it if we're
15546 # using a relative directory.
15547 cp "$am_depcomp" conftest.dir
15549 # We will build objects and dependencies in a subdirectory because
15550 # it helps to detect inapplicable dependency modes. For instance
15551 # both Tru64's cc and ICC support -MD to output dependencies as a
15552 # side effect of compilation, but ICC will put the dependencies in
15553 # the current directory while Tru64 will put them in the object
15557 am_cv_GCJ_dependencies_compiler_type
=none
15558 if test "$am_compiler_list" = ""; then
15559 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15561 for depmode
in $am_compiler_list; do
15562 # Setup a source with many dependencies, because some compilers
15563 # like to wrap large dependency lists on column 80 (with \), and
15564 # we should not choose a depcomp mode which is confused by this.
15566 # We need to recreate these files for each test, as the compiler may
15567 # overwrite some of them when testing with obscure command lines.
15568 # This happens at least with the AIX C compiler.
15570 for i
in 1 2 3 4 5 6; do
15571 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15572 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15573 # Solaris 8's {/usr,}/bin/sh.
15574 touch sub
/conftst
$i.h
15576 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15580 # after this tag, mechanisms are not by side-effect, so they'll
15581 # only be used when explicitly requested
15582 if test "x$enable_dependency_tracking" = xyes
; then
15590 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15591 # mode. It turns out that the SunPro C++ compiler does not properly
15592 # handle `-M -o', and we need to detect this.
15593 if depmode
=$depmode \
15594 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15595 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15596 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15597 >/dev
/null
2>conftest.err
&&
15598 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15599 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15600 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15601 # icc doesn't choke on unknown options, it will just issue warnings
15602 # or remarks (even with -Werror). So we grep stderr for any message
15603 # that says an option was ignored or not supported.
15604 # When given -MP, icc 7.0 and 7.1 complain thusly:
15605 # icc: Command line warning: ignoring option '-M'; no argument required
15606 # The diagnosis changed in icc 8.0:
15607 # icc: Command line remark: option '-MP' not supported
15608 if (grep 'ignoring option' conftest.err ||
15609 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15610 am_cv_GCJ_dependencies_compiler_type
=$depmode
15617 rm -rf conftest.dir
15619 am_cv_GCJ_dependencies_compiler_type
=none
15623 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15624 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15625 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15630 test "x$enable_dependency_tracking" != xno \
15631 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15632 am__fastdepGCJ_TRUE
=
15633 am__fastdepGCJ_FALSE
='#'
15635 am__fastdepGCJ_TRUE
='#'
15636 am__fastdepGCJ_FALSE
=
15644 # Source file extension for Java test sources.
15647 # Object file extension for compiled Java test sources.
15651 # Code to be used in simple compile tests
15652 lt_simple_compile_test_code
="int some_variable = 0;"
15654 # Code to be used in simple link tests
15655 lt_simple_link_test_code
='int main(){return(0);}'
15657 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15664 # If no C compiler was specified, use CC.
15667 # If no C compiler flags were specified, use CFLAGS.
15668 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15670 # Allow CC to be a program name with arguments.
15674 # save warnings/boilerplate of simple test code
15675 ac_outfile
=conftest.
$ac_objext
15676 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15677 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15678 _lt_compiler_boilerplate
=`cat conftest.err`
15681 ac_outfile
=conftest.
$ac_objext
15682 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15683 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15684 _lt_linker_boilerplate
=`cat conftest.err`
15688 # Allow CC to be a program name with arguments.
15691 for cc_temp
in $compiler""; do
15693 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15694 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15699 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15702 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15703 archive_cmds_need_lc_GCJ
=no
15705 old_archive_cmds_GCJ
=$old_archive_cmds
15708 ## There is no encapsulation within the following macros, do not change
15709 ## the running order or otherwise move them around unless you know exactly
15710 ## what you are doing...
15711 if test -n "$compiler"; then
15713 lt_prog_compiler_no_builtin_flag_GCJ
=
15715 if test "$GCC" = yes; then
15716 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15718 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15719 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15720 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15721 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 lt_cv_prog_compiler_rtti_exceptions
=no
15724 ac_outfile
=conftest.
$ac_objext
15725 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15726 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15727 # Insert the option either (1) after the last *FLAGS variable, or
15728 # (2) before a word containing "conftest.", or (3) at the end.
15729 # Note that $ac_compile itself does not contain backslashes and begins
15730 # with a dollar sign (not a hyphen), so the echo should work correctly.
15731 # The option is referenced via a variable to avoid confusing sed.
15732 lt_compile
=`echo "$ac_compile" | $SED \
15733 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15734 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15735 -e 's:$: $lt_compiler_flag:'`
15736 (eval echo "\"\$as_me:15736: $lt_compile\"" >&5)
15737 (eval "$lt_compile" 2>conftest.err
)
15739 cat conftest.err
>&5
15740 echo "$as_me:15740: \$? = $ac_status" >&5
15741 if (exit $ac_status) && test -s "$ac_outfile"; then
15742 # The compiler can only warn and ignore the option if not recognized
15743 # So say no if there are warnings other than the usual output.
15744 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15745 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15746 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15747 lt_cv_prog_compiler_rtti_exceptions
=yes
15753 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15754 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15756 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15757 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15766 lt_prog_compiler_wl_GCJ
=
15767 lt_prog_compiler_pic_GCJ
=
15768 lt_prog_compiler_static_GCJ
=
15770 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15771 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15773 if test "$GCC" = yes; then
15774 lt_prog_compiler_wl_GCJ
='-Wl,'
15775 lt_prog_compiler_static_GCJ
='-static'
15779 # All AIX code is PIC.
15780 if test "$host_cpu" = ia64
; then
15781 # AIX 5 now supports IA64 processor
15782 lt_prog_compiler_static_GCJ
='-Bstatic'
15787 if test "$host_cpu" = m68k
; then
15788 # FIXME: we need at least 68020 code to build shared libraries, but
15789 # adding the `-m68020' flag to GCC prevents building anything better,
15791 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15795 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15796 # PIC is the default for these OSes.
15799 mingw
* | cygwin
* | pw32
* | os2
*)
15800 # This hack is so that the source file can tell whether it is being
15801 # built for inclusion in a dll (and should export symbols for example).
15802 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15803 # (--disable-auto-import) libraries
15807 darwin
* | rhapsody
*)
15808 # PIC is the default on this platform
15809 # Common symbols not allowed in MH_DYLIB files
15810 lt_prog_compiler_pic_GCJ
='-fno-common'
15814 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15815 # not for PA HP-UX.
15821 lt_prog_compiler_pic_GCJ
='-fPIC'
15827 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15828 # Instead, we relocate shared libraries at runtime.
15832 # Just because we use GCC doesn't mean we suddenly get shared libraries
15833 # on systems that don't support them.
15834 lt_prog_compiler_can_build_shared_GCJ
=no
15839 # QNX uses GNU C++, but need to define -shared option too, otherwise
15840 # it will coredump.
15841 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15845 if test -d /usr
/nec
; then
15846 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15851 lt_prog_compiler_pic_GCJ
='-fPIC'
15855 # PORTME Check for flag to pass linker flags through the system compiler.
15858 lt_prog_compiler_wl_GCJ
='-Wl,'
15859 if test "$host_cpu" = ia64
; then
15860 # AIX 5 now supports IA64 processor
15861 lt_prog_compiler_static_GCJ
='-Bstatic'
15863 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15867 # PIC is the default on this platform
15868 # Common symbols not allowed in MH_DYLIB files
15869 case $cc_basename in
15871 lt_prog_compiler_pic_GCJ
='-qnocommon'
15872 lt_prog_compiler_wl_GCJ
='-Wl,'
15877 mingw
* | cygwin
* | pw32
* | os2
*)
15878 # This hack is so that the source file can tell whether it is being
15879 # built for inclusion in a dll (and should export symbols for example).
15883 hpux9
* | hpux10
* | hpux11
*)
15884 lt_prog_compiler_wl_GCJ
='-Wl,'
15885 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15886 # not for PA HP-UX.
15892 lt_prog_compiler_pic_GCJ
='+Z'
15895 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15896 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15899 irix5
* | irix6
* | nonstopux
*)
15900 lt_prog_compiler_wl_GCJ
='-Wl,'
15901 # PIC (with -KPIC) is the default.
15902 lt_prog_compiler_static_GCJ
='-non_shared'
15905 linux
* | k
*bsd
*-gnu)
15906 case $cc_basename in
15908 lt_prog_compiler_wl_GCJ
='-Wl,'
15909 lt_prog_compiler_pic_GCJ
='-KPIC'
15910 lt_prog_compiler_static_GCJ
='-static'
15912 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15913 # Portland Group compilers (*not* the Pentium gcc compiler,
15914 # which looks to be a dead project)
15915 lt_prog_compiler_wl_GCJ
='-Wl,'
15916 lt_prog_compiler_pic_GCJ
='-fpic'
15917 lt_prog_compiler_static_GCJ
='-Bstatic'
15920 lt_prog_compiler_wl_GCJ
='-Wl,'
15921 # All Alpha code is PIC.
15922 lt_prog_compiler_static_GCJ
='-non_shared'
15925 case `$CC -V 2>&1 | sed 5q` in
15928 lt_prog_compiler_pic_GCJ
='-KPIC'
15929 lt_prog_compiler_static_GCJ
='-Bstatic'
15930 lt_prog_compiler_wl_GCJ
='-Wl,'
15933 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15934 lt_prog_compiler_pic_GCJ
='-KPIC'
15935 lt_prog_compiler_static_GCJ
='-Bstatic'
15936 lt_prog_compiler_wl_GCJ
=''
15944 lt_prog_compiler_pic_GCJ
='-KPIC'
15945 lt_prog_compiler_static_GCJ
='-Bstatic'
15949 # QNX uses GNU C++, but need to define -shared option too, otherwise
15950 # it will coredump.
15951 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15954 osf3
* | osf4
* | osf5
*)
15955 lt_prog_compiler_wl_GCJ
='-Wl,'
15956 # All OSF/1 code is PIC.
15957 lt_prog_compiler_static_GCJ
='-non_shared'
15961 lt_prog_compiler_static_GCJ
='-non_shared'
15965 lt_prog_compiler_pic_GCJ
='-KPIC'
15966 lt_prog_compiler_static_GCJ
='-Bstatic'
15967 case $cc_basename in
15968 f77
* | f90
* | f95
*)
15969 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15971 lt_prog_compiler_wl_GCJ
='-Wl,';;
15976 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15977 lt_prog_compiler_pic_GCJ
='-PIC'
15978 lt_prog_compiler_static_GCJ
='-Bstatic'
15981 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15982 lt_prog_compiler_wl_GCJ
='-Wl,'
15983 lt_prog_compiler_pic_GCJ
='-KPIC'
15984 lt_prog_compiler_static_GCJ
='-Bstatic'
15988 if test -d /usr
/nec
;then
15989 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15990 lt_prog_compiler_static_GCJ
='-Bstatic'
15994 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15995 lt_prog_compiler_wl_GCJ
='-Wl,'
15996 lt_prog_compiler_pic_GCJ
='-KPIC'
15997 lt_prog_compiler_static_GCJ
='-Bstatic'
16001 lt_prog_compiler_wl_GCJ
='-Wl,'
16002 lt_prog_compiler_can_build_shared_GCJ
=no
16006 lt_prog_compiler_pic_GCJ
='-pic'
16007 lt_prog_compiler_static_GCJ
='-Bstatic'
16011 lt_prog_compiler_can_build_shared_GCJ
=no
16017 # For platforms which do not support PIC, -DPIC is meaningless:
16019 lt_prog_compiler_pic_GCJ
=
16022 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16025 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16026 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16031 # Check to make sure the PIC flag actually works.
16033 if test -n "$lt_prog_compiler_pic_GCJ"; then
16034 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16035 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16036 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 lt_prog_compiler_pic_works_GCJ
=no
16040 ac_outfile
=conftest.
$ac_objext
16041 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16042 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16043 # Insert the option either (1) after the last *FLAGS variable, or
16044 # (2) before a word containing "conftest.", or (3) at the end.
16045 # Note that $ac_compile itself does not contain backslashes and begins
16046 # with a dollar sign (not a hyphen), so the echo should work correctly.
16047 # The option is referenced via a variable to avoid confusing sed.
16048 lt_compile
=`echo "$ac_compile" | $SED \
16049 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16050 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16051 -e 's:$: $lt_compiler_flag:'`
16052 (eval echo "\"\$as_me:16052: $lt_compile\"" >&5)
16053 (eval "$lt_compile" 2>conftest.err
)
16055 cat conftest.err
>&5
16056 echo "$as_me:16056: \$? = $ac_status" >&5
16057 if (exit $ac_status) && test -s "$ac_outfile"; then
16058 # The compiler can only warn and ignore the option if not recognized
16059 # So say no if there are warnings other than the usual output.
16060 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16061 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16062 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16063 lt_prog_compiler_pic_works_GCJ
=yes
16069 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16070 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16072 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16073 case $lt_prog_compiler_pic_GCJ in
16075 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16078 lt_prog_compiler_pic_GCJ
=
16079 lt_prog_compiler_can_build_shared_GCJ
=no
16087 # Check to make sure the static flag actually works.
16089 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16090 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16091 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16092 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16095 lt_prog_compiler_static_works_GCJ
=no
16096 save_LDFLAGS
="$LDFLAGS"
16097 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16098 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16099 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16100 # The linker can only warn and ignore the option if not recognized
16101 # So say no if there are warnings
16102 if test -s conftest.err
; then
16103 # Append any errors to the config.log.
16104 cat conftest.err
1>&5
16105 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16106 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16107 if diff conftest.exp conftest.er2
>/dev
/null
; then
16108 lt_prog_compiler_static_works_GCJ
=yes
16111 lt_prog_compiler_static_works_GCJ
=yes
16115 LDFLAGS
="$save_LDFLAGS"
16118 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16119 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16121 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16124 lt_prog_compiler_static_GCJ
=
16130 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16131 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16132 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16133 echo $ECHO_N "(cached) $ECHO_C" >&6
16135 lt_cv_prog_compiler_c_o_GCJ
=no
16136 $RM -r conftest
2>/dev
/null
16140 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16142 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16143 # Insert the option either (1) after the last *FLAGS variable, or
16144 # (2) before a word containing "conftest.", or (3) at the end.
16145 # Note that $ac_compile itself does not contain backslashes and begins
16146 # with a dollar sign (not a hyphen), so the echo should work correctly.
16147 lt_compile
=`echo "$ac_compile" | $SED \
16148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16150 -e 's:$: $lt_compiler_flag:'`
16151 (eval echo "\"\$as_me:16151: $lt_compile\"" >&5)
16152 (eval "$lt_compile" 2>out
/conftest.err
)
16154 cat out
/conftest.err
>&5
16155 echo "$as_me:16155: \$? = $ac_status" >&5
16156 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16158 # The compiler can only warn and ignore the option if not recognized
16159 # So say no if there are warnings
16160 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16161 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16162 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16163 lt_cv_prog_compiler_c_o_GCJ
=yes
16168 # SGI C++ compiler will create directory out/ii_files/ for
16169 # template instantiation
16170 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16171 $RM out
/* && rmdir out
16177 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16178 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16182 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16183 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16184 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16185 echo $ECHO_N "(cached) $ECHO_C" >&6
16187 lt_cv_prog_compiler_c_o_GCJ
=no
16188 $RM -r conftest
2>/dev
/null
16192 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16194 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16195 # Insert the option either (1) after the last *FLAGS variable, or
16196 # (2) before a word containing "conftest.", or (3) at the end.
16197 # Note that $ac_compile itself does not contain backslashes and begins
16198 # with a dollar sign (not a hyphen), so the echo should work correctly.
16199 lt_compile
=`echo "$ac_compile" | $SED \
16200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16202 -e 's:$: $lt_compiler_flag:'`
16203 (eval echo "\"\$as_me:16203: $lt_compile\"" >&5)
16204 (eval "$lt_compile" 2>out
/conftest.err
)
16206 cat out
/conftest.err
>&5
16207 echo "$as_me:16207: \$? = $ac_status" >&5
16208 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16210 # The compiler can only warn and ignore the option if not recognized
16211 # So say no if there are warnings
16212 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16213 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16214 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16215 lt_cv_prog_compiler_c_o_GCJ
=yes
16220 # SGI C++ compiler will create directory out/ii_files/ for
16221 # template instantiation
16222 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16223 $RM out
/* && rmdir out
16229 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16230 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16235 hard_links
="nottested"
16236 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16237 # do not overwrite the value of need_locks provided by the user
16238 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16239 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16242 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16244 ln conftest.a conftest.b
2>&5 || hard_links
=no
16245 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16246 echo "$as_me:$LINENO: result: $hard_links" >&5
16247 echo "${ECHO_T}$hard_links" >&6
16248 if test "$hard_links" = no
; then
16249 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16250 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16259 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16260 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16263 allow_undefined_flag_GCJ
=
16264 always_export_symbols_GCJ
=no
16266 archive_expsym_cmds_GCJ
=
16267 compiler_needs_object_GCJ
=no
16268 enable_shared_with_static_runtimes_GCJ
=no
16269 export_dynamic_flag_spec_GCJ
=
16270 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16271 hardcode_automatic_GCJ
=no
16272 hardcode_direct_GCJ
=no
16273 hardcode_direct_absolute_GCJ
=no
16274 hardcode_libdir_flag_spec_GCJ
=
16275 hardcode_libdir_flag_spec_ld_GCJ
=
16276 hardcode_libdir_separator_GCJ
=
16277 hardcode_minus_L_GCJ
=no
16278 hardcode_shlibpath_var_GCJ
=unsupported
16279 inherit_rpath_GCJ
=no
16280 link_all_deplibs_GCJ
=unknown
16282 module_expsym_cmds_GCJ
=
16283 old_archive_from_new_cmds_GCJ
=
16284 old_archive_from_expsyms_cmds_GCJ
=
16285 thread_safe_flag_spec_GCJ
=
16286 whole_archive_flag_spec_GCJ
=
16287 # include_expsyms should be a list of space-separated symbols to be *always*
16288 # included in the symbol list
16289 include_expsyms_GCJ
=
16290 # exclude_expsyms can be an extended regexp of symbols to exclude
16291 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16292 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16293 # as well as any symbol that contains `d'.
16294 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16295 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16296 # platforms (ab)use it in PIC code, but their linkers get confused if
16297 # the symbol is explicitly referenced. Since portable code cannot
16298 # rely on this symbol name, it's probably fine to never include it in
16299 # preloaded symbol tables.
16300 extract_expsyms_cmds
=
16303 cygwin
* | mingw
* | pw32
*)
16304 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16305 # When not using gcc, we currently assume that we are using
16306 # Microsoft Visual C++.
16307 if test "$GCC" != yes; then
16312 # we just hope/assume this is gcc and not c89 (= MSVC++)
16321 if test "$with_gnu_ld" = yes; then
16322 # If archive_cmds runs LD, not CC, wlarc should be empty
16325 # Set some defaults for GNU ld with shared library support. These
16326 # are reset later if shared libraries are not supported. Putting them
16327 # here allows them to be overridden if necessary.
16328 runpath_var
=LD_RUN_PATH
16329 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16330 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16331 # ancient GNU ld didn't support --whole-archive et. al.
16332 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
16333 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16335 whole_archive_flag_spec_GCJ
=
16337 supports_anon_versioning
=no
16338 case `$LD -v 2>&1` in
16339 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16340 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16341 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16342 *\
2.11.
*) ;; # other 2.11 versions
16343 *) supports_anon_versioning
=yes ;;
16346 # See if GNU ld supports shared libraries.
16349 # On AIX/PPC, the GNU linker is very broken
16350 if test "$host_cpu" != ia64
; then
16354 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16355 *** to be unable to reliably create shared libraries on AIX.
16356 *** Therefore, libtool is disabling shared libraries support. If you
16357 *** really care for shared libraries, you may want to modify your PATH
16358 *** so that a non-GNU linker is found, and then restart.
16365 if test "$host_cpu" = m68k
; then
16366 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)'
16367 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16368 hardcode_minus_L_GCJ
=yes
16371 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16372 # that the semantics of dynamic libraries on AmigaOS, at least up
16373 # to version 4, is to share data among multiple programs linked
16374 # with the same dynamic library. Since this doesn't match the
16375 # behavior of shared libraries on other platforms, we can't use
16381 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16382 allow_undefined_flag_GCJ
=unsupported
16383 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16384 # support --undefined. This deserves some investigation. FIXME
16385 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16391 cygwin
* | mingw
* | pw32
*)
16392 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16393 # as there is no search path for DLLs.
16394 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16395 allow_undefined_flag_GCJ
=unsupported
16396 always_export_symbols_GCJ
=no
16397 enable_shared_with_static_runtimes_GCJ
=yes
16398 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16400 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16401 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16402 # If the export-symbols file already is a .def file (1st line
16403 # is EXPORTS), use it as is; otherwise, prepend...
16404 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16405 cp $export_symbols $output_objdir/$soname.def;
16407 echo EXPORTS > $output_objdir/$soname.def;
16408 cat $export_symbols >> $output_objdir/$soname.def;
16410 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16417 hardcode_direct_GCJ
=no
16418 hardcode_shlibpath_var_GCJ
=no
16419 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16420 export_dynamic_flag_spec_GCJ
='${wl}-E'
16421 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16422 # Instead, shared libraries are loaded at an image base (0x10000000 by
16423 # default) and relocated if they conflict, which is a slow very memory
16424 # consuming and fragmenting process. To avoid this, we pick a random,
16425 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16426 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16427 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'
16428 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'
16431 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
16433 if test "$host_os" = linux-dietlibc
; then
16434 case $cc_basename in
16435 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
16438 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
16439 && test "$tmp_diet" = no
16442 case $cc_basename,$host_cpu in
16443 pgcc
*) # Portland Group C compiler
16444 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'
16445 tmp_addflag
=' $pic_flag'
16447 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16448 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'
16449 tmp_addflag
=' $pic_flag -Mnomain' ;;
16450 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16451 tmp_addflag
=' -i_dynamic' ;;
16452 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16453 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16454 ifc
* | ifort
*) # Intel Fortran compiler
16455 tmp_addflag
=' -nofor_main' ;;
16457 case `$CC -V 2>&1 | sed 5q` in
16458 *Sun\ C
*) # Sun C 5.9
16459 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'
16460 compiler_needs_object_GCJ
=yes
16461 tmp_sharedflag
='-G' ;;
16462 *Sun\ F
*) # Sun Fortran 8.3
16463 tmp_sharedflag
='-G' ;;
16465 tmp_sharedflag
='-shared' ;;
16467 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16469 if test "x$supports_anon_versioning" = xyes
; then
16470 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
16471 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16472 echo "local: *; };" >> $output_objdir/$libname.ver~
16473 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16481 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16482 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16485 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16486 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16491 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
16495 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16496 *** create shared libraries on Solaris systems. Therefore, libtool
16497 *** is disabling shared libraries support. We urge you to upgrade GNU
16498 *** binutils to release 2.9.1 or newer. Another option is to modify
16499 *** your PATH or compiler configuration so that the native linker is
16500 *** used, and then restart.
16503 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16504 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16505 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16511 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16512 case `$LD -v 2>&1` in
16513 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16517 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16518 *** reliably create shared libraries on SCO systems. Therefore, libtool
16519 *** is disabling shared libraries support. We urge you to upgrade GNU
16520 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16521 *** your PATH or compiler configuration so that the native linker is
16522 *** used, and then restart.
16527 # For security reasons, it is highly recommended that you always
16528 # use absolute paths for naming shared libraries, and exclude the
16529 # DT_RUNPATH tag from executables and libraries. But doing so
16530 # requires that you compile everything twice, which is a pain.
16531 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16532 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16533 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16534 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16543 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16545 hardcode_direct_GCJ
=yes
16546 hardcode_shlibpath_var_GCJ
=no
16550 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16551 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16552 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16559 if test "$ld_shlibs_GCJ" = no
; then
16561 hardcode_libdir_flag_spec_GCJ
=
16562 export_dynamic_flag_spec_GCJ
=
16563 whole_archive_flag_spec_GCJ
=
16566 # PORTME fill in a description of your system's linker (not GNU ld)
16569 allow_undefined_flag_GCJ
=unsupported
16570 always_export_symbols_GCJ
=yes
16571 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'
16572 # Note: this linker hardcodes the directories in LIBPATH if there
16573 # are no directories specified by -L.
16574 hardcode_minus_L_GCJ
=yes
16575 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16576 # Neither direct hardcoding nor static linking is supported with a
16578 hardcode_direct_GCJ
=unsupported
16583 if test "$host_cpu" = ia64
; then
16584 # On IA64, the linker does run time linking by default, so we don't
16585 # have to do anything special.
16586 aix_use_runtimelinking
=no
16587 exp_sym_flag
='-Bexport'
16590 # If we're using GNU nm, then we don't want the "-C" option.
16591 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16592 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16593 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'
16595 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'
16597 aix_use_runtimelinking
=no
16599 # Test if we are trying to use run time linking or normal
16600 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16601 # need to do runtime linking.
16602 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
16603 for ld_flag
in $LDFLAGS; do
16604 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16605 aix_use_runtimelinking
=yes
16612 exp_sym_flag
='-bexport'
16613 no_entry_flag
='-bnoentry'
16616 # When large executables or shared objects are built, AIX ld can
16617 # have problems creating the table of contents. If linking a library
16618 # or program results in "error TOC overflow" add -mminimal-toc to
16619 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16620 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16622 archive_cmds_GCJ
=''
16623 hardcode_direct_GCJ
=yes
16624 hardcode_direct_absolute_GCJ
=yes
16625 hardcode_libdir_separator_GCJ
=':'
16626 link_all_deplibs_GCJ
=yes
16627 file_list_spec_GCJ
='${wl}-f,'
16629 if test "$GCC" = yes; then
16630 case $host_os in aix4.
[012]|aix4.
[012].
*)
16631 # We only want to do this on AIX 4.2 and lower, the check
16632 # below for broken collect2 doesn't work under 4.3+
16633 collect2name
=`${CC} -print-prog-name=collect2`
16634 if test -f "$collect2name" &&
16635 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16637 # We have reworked collect2
16640 # We have old collect2
16641 hardcode_direct_GCJ
=unsupported
16642 # It fails to find uninstalled libraries when the uninstalled
16643 # path is not listed in the libpath. Setting hardcode_minus_L
16644 # to unsupported forces relinking
16645 hardcode_minus_L_GCJ
=yes
16646 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16647 hardcode_libdir_separator_GCJ
=
16651 shared_flag
='-shared'
16652 if test "$aix_use_runtimelinking" = yes; then
16653 shared_flag
="$shared_flag "'${wl}-G'
16657 if test "$host_cpu" = ia64
; then
16658 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16659 # chokes on -Wl,-G. The following line is correct:
16662 if test "$aix_use_runtimelinking" = yes; then
16663 shared_flag
='${wl}-G'
16665 shared_flag
='${wl}-bM:SRE'
16670 # It seems that -bexpall does not export symbols beginning with
16671 # underscore (_), so it is better to generate a list of symbols to export.
16672 always_export_symbols_GCJ
=yes
16673 if test "$aix_use_runtimelinking" = yes; then
16674 # Warning - without using the other runtime loading flags (-brtl),
16675 # -berok will link without error, but may produce a broken library.
16676 allow_undefined_flag_GCJ
='-berok'
16677 # Determine the default libpath from the value encoded in an
16678 # empty executable.
16679 if test x
$gcc_no_link = xyes
; then
16680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16682 { (exit 1); exit 1; }; }
16684 cat >conftest.
$ac_ext <<_ACEOF
16687 cat confdefs.h
>>conftest.
$ac_ext
16688 cat >>conftest.
$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16699 rm -f conftest.
$ac_objext conftest
$ac_exeext
16700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16701 (eval $ac_link) 2>conftest.er1
16703 grep -v '^ *+' conftest.er1
>conftest.err
16705 cat conftest.err
>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } &&
16708 { ac_try
='test -z "$ac_c_werror_flag"
16709 || test ! -s conftest.err'
16710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16711 (eval $ac_try) 2>&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); }; } &&
16715 { ac_try
='test -s conftest$ac_exeext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16722 lt_aix_libpath_sed
='
16723 /Import File Strings/,/^$/ {
16729 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16730 # Check for a 64-bit object if we didn't find anything.
16731 if test -z "$aix_libpath"; then
16732 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.
$ac_ext >&5
16739 rm -f conftest.err conftest.
$ac_objext \
16740 conftest
$ac_exeext conftest.
$ac_ext
16741 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16743 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16744 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"
16746 if test "$host_cpu" = ia64
; then
16747 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16748 allow_undefined_flag_GCJ
="-z nodefs"
16749 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"
16751 # Determine the default libpath from the value encoded in an
16752 # empty executable.
16753 if test x
$gcc_no_link = xyes
; then
16754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16756 { (exit 1); exit 1; }; }
16758 cat >conftest.
$ac_ext <<_ACEOF
16761 cat confdefs.h
>>conftest.
$ac_ext
16762 cat >>conftest.
$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16773 rm -f conftest.
$ac_objext conftest
$ac_exeext
16774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16775 (eval $ac_link) 2>conftest.er1
16777 grep -v '^ *+' conftest.er1
>conftest.err
16779 cat conftest.err
>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } &&
16782 { ac_try
='test -z "$ac_c_werror_flag"
16783 || test ! -s conftest.err'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; } &&
16789 { ac_try
='test -s conftest$ac_exeext'
16790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16791 (eval $ac_try) 2>&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); }; }; then
16796 lt_aix_libpath_sed
='
16797 /Import File Strings/,/^$/ {
16803 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16804 # Check for a 64-bit object if we didn't find anything.
16805 if test -z "$aix_libpath"; then
16806 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16809 echo "$as_me: failed program was:" >&5
16810 sed 's/^/| /' conftest.
$ac_ext >&5
16813 rm -f conftest.err conftest.
$ac_objext \
16814 conftest
$ac_exeext conftest.
$ac_ext
16815 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16817 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16818 # Warning - without using the other run time loading flags,
16819 # -berok will link without error, but may produce a broken library.
16820 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16821 allow_undefined_flag_GCJ
=' ${wl}-berok'
16822 # Exported symbols can be pulled into shared objects from archives
16823 whole_archive_flag_spec_GCJ
='$convenience'
16824 archive_cmds_need_lc_GCJ
=yes
16825 # This is similar to how AIX traditionally builds its shared libraries.
16826 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'
16832 if test "$host_cpu" = m68k
; then
16833 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)'
16834 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16835 hardcode_minus_L_GCJ
=yes
16837 # see comment about different semantics on the GNU ld section
16842 export_dynamic_flag_spec_GCJ
=-rdynamic
16845 cygwin
* | mingw
* | pw32
*)
16846 # When not using gcc, we currently assume that we are using
16847 # Microsoft Visual C++.
16848 # hardcode_libdir_flag_spec is actually meaningless, as there is
16849 # no search path for DLLs.
16850 hardcode_libdir_flag_spec_GCJ
=' '
16851 allow_undefined_flag_GCJ
=unsupported
16852 # Tell ltmain to make .lib files, not .a files.
16854 # Tell ltmain to make .dll files, not .so files.
16856 # FIXME: Setting linknames here is a bad hack.
16857 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16858 # The linker will automatically build a .lib file if we build a DLL.
16859 old_archive_from_new_cmds_GCJ
='true'
16860 # FIXME: Should let the user specify the lib program.
16861 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16862 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16863 enable_shared_with_static_runtimes_GCJ
=yes
16866 darwin
* | rhapsody
*)
16868 rhapsody
* | darwin1.
[012])
16869 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16872 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
16874 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16877 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16882 archive_cmds_need_lc_GCJ
=no
16883 hardcode_direct_GCJ
=no
16884 hardcode_automatic_GCJ
=yes
16885 hardcode_shlibpath_var_GCJ
=unsupported
16886 whole_archive_flag_spec_GCJ
=''
16887 link_all_deplibs_GCJ
=yes
16888 if test "$GCC" = yes ; then
16889 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16890 echo $ECHO_N "(cached) $ECHO_C" >&6
16892 lt_cv_apple_cc_single_mod
=no
16893 if test -z "${LT_MULTI_MODULE}"; then
16894 # By default we will add the -single_module flag. You can override
16895 # by either setting the environment variable LT_MULTI_MODULE
16896 # non-empty at configure time, or by adding -multi-module to the
16898 echo "int foo(void){return 1;}" > conftest.c
16899 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16900 -dynamiclib ${wl}-single_module conftest.c
16901 if test -f libconftest.dylib
; then
16902 lt_cv_apple_cc_single_mod
=yes
16903 rm libconftest.dylib
16905 rm conftest.
$ac_ext
16909 output_verbose_link_cmd
=echo
16910 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
16911 archive_cmds_GCJ
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16912 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}'
16914 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16915 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}'
16917 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16918 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}'
16920 case $cc_basename in
16922 output_verbose_link_cmd
=echo
16923 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
16924 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16925 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16926 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}'
16927 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}'
16937 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16938 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16939 hardcode_shlibpath_var_GCJ
=no
16946 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16947 # support. Future versions do this automatically, but an explicit c++rt0.o
16948 # does not break anything, and helps significantly (at the cost of a little
16951 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16952 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16953 hardcode_direct_GCJ
=yes
16954 hardcode_shlibpath_var_GCJ
=no
16957 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16959 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16960 hardcode_direct_GCJ
=yes
16961 hardcode_minus_L_GCJ
=yes
16962 hardcode_shlibpath_var_GCJ
=no
16965 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16966 freebsd
* | dragonfly
*)
16967 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16968 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16969 hardcode_direct_GCJ
=yes
16970 hardcode_shlibpath_var_GCJ
=no
16974 if test "$GCC" = yes; then
16975 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'
16977 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'
16979 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16980 hardcode_libdir_separator_GCJ
=:
16981 hardcode_direct_GCJ
=yes
16983 # hardcode_minus_L: Not really in the search PATH,
16984 # but as the default location of the library.
16985 hardcode_minus_L_GCJ
=yes
16986 export_dynamic_flag_spec_GCJ
='${wl}-E'
16990 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16991 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16993 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16995 if test "$with_gnu_ld" = no
; then
16996 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16997 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16998 hardcode_libdir_separator_GCJ
=:
16999 hardcode_direct_GCJ
=yes
17000 hardcode_direct_absolute_GCJ
=yes
17001 export_dynamic_flag_spec_GCJ
='${wl}-E'
17002 # hardcode_minus_L: Not really in the search PATH,
17003 # but as the default location of the library.
17004 hardcode_minus_L_GCJ
=yes
17009 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17012 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17015 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17018 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17024 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17027 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17030 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17034 if test "$with_gnu_ld" = no
; then
17035 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17036 hardcode_libdir_separator_GCJ
=:
17040 hardcode_direct_GCJ
=no
17041 hardcode_shlibpath_var_GCJ
=no
17044 hardcode_direct_GCJ
=yes
17045 hardcode_direct_absolute_GCJ
=yes
17046 export_dynamic_flag_spec_GCJ
='${wl}-E'
17048 # hardcode_minus_L: Not really in the search PATH,
17049 # but as the default location of the library.
17050 hardcode_minus_L_GCJ
=yes
17056 irix5
* | irix6
* | nonstopux
*)
17057 if test "$GCC" = yes; then
17058 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'
17059 # Try to use the -exported_symbol ld option, if it does not
17060 # work, assume that -exports_file does not work either and
17061 # implicitly export all symbols.
17062 save_LDFLAGS
="$LDFLAGS"
17063 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17064 if test x
$gcc_no_link = xyes
; then
17065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17067 { (exit 1); exit 1; }; }
17069 cat >conftest.
$ac_ext <<_ACEOF
17072 rm -f conftest.
$ac_objext conftest
$ac_exeext
17073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17074 (eval $ac_link) 2>conftest.er1
17076 grep -v '^ *+' conftest.er1
>conftest.err
17078 cat conftest.err
>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); } &&
17081 { ac_try
='test -z "$ac_c_werror_flag"
17082 || test ! -s conftest.err'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; } &&
17088 { ac_try
='test -s conftest$ac_exeext'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; }; then
17094 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'
17097 echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.
$ac_ext >&5
17101 rm -f conftest.err conftest.
$ac_objext \
17102 conftest
$ac_exeext conftest.
$ac_ext
17103 LDFLAGS
="$save_LDFLAGS"
17105 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'
17106 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'
17108 archive_cmds_need_lc_GCJ
='no'
17109 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17110 hardcode_libdir_separator_GCJ
=:
17111 inherit_rpath_GCJ
=yes
17112 link_all_deplibs_GCJ
=yes
17116 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17117 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17119 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17121 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17122 hardcode_direct_GCJ
=yes
17123 hardcode_shlibpath_var_GCJ
=no
17127 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17128 hardcode_direct_GCJ
=yes
17129 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17130 hardcode_libdir_separator_GCJ
=:
17131 hardcode_shlibpath_var_GCJ
=no
17138 hardcode_direct_GCJ
=yes
17139 hardcode_shlibpath_var_GCJ
=no
17140 hardcode_direct_absolute_GCJ
=yes
17141 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17142 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17143 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17144 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17145 export_dynamic_flag_spec_GCJ
='${wl}-E'
17148 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17149 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17150 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17153 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17154 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17161 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17162 hardcode_minus_L_GCJ
=yes
17163 allow_undefined_flag_GCJ
=unsupported
17164 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'
17165 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17169 if test "$GCC" = yes; then
17170 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17171 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'
17173 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17174 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'
17176 archive_cmds_need_lc_GCJ
='no'
17177 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17178 hardcode_libdir_separator_GCJ
=:
17181 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17182 if test "$GCC" = yes; then
17183 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17184 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'
17185 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17187 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17188 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'
17189 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~
17190 $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'
17192 # Both c and cxx compiler support -rpath directly
17193 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17195 archive_cmds_need_lc_GCJ
='no'
17196 hardcode_libdir_separator_GCJ
=:
17200 no_undefined_flag_GCJ
=' -z defs'
17201 if test "$GCC" = yes; then
17203 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17204 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17205 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17207 case `$CC -V 2>&1` in
17210 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17211 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17212 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17216 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17217 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17218 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17222 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17223 hardcode_shlibpath_var_GCJ
=no
17225 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17227 # The compiler driver will combine and reorder linker options,
17228 # but understands `-z linker_flag'. GCC discards it without `$wl',
17229 # but is careful enough not to reorder.
17230 # Supported since Solaris 2.6 (maybe 2.5.1?)
17231 if test "$GCC" = yes; then
17232 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17234 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17238 link_all_deplibs_GCJ
=yes
17242 if test "x$host_vendor" = xsequent
; then
17243 # Use $CC to link under sequent, because it throws in some extra .o
17244 # files that make .init and .fini sections work.
17245 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17247 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17249 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17250 hardcode_direct_GCJ
=yes
17251 hardcode_minus_L_GCJ
=yes
17252 hardcode_shlibpath_var_GCJ
=no
17256 case $host_vendor in
17258 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17259 hardcode_direct_GCJ
=yes # is this really true???
17262 ## LD is ld it makes a PLAMLIB
17263 ## CC just makes a GrossModule.
17264 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17265 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17266 hardcode_direct_GCJ
=no
17269 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17270 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17273 runpath_var
='LD_RUN_PATH'
17274 hardcode_shlibpath_var_GCJ
=no
17278 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17279 hardcode_shlibpath_var_GCJ
=no
17280 export_dynamic_flag_spec_GCJ
='-Bexport'
17284 if test -d /usr
/nec
; then
17285 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17286 hardcode_shlibpath_var_GCJ
=no
17287 runpath_var
=LD_RUN_PATH
17288 hardcode_runpath_var
=yes
17293 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17294 no_undefined_flag_GCJ
='${wl}-z,text'
17295 archive_cmds_need_lc_GCJ
=no
17296 hardcode_shlibpath_var_GCJ
=no
17297 runpath_var
='LD_RUN_PATH'
17299 if test "$GCC" = yes; then
17300 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17301 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17303 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17304 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17308 sysv5
* | sco3.2v5
* | sco5v6
*)
17309 # Note: We can NOT use -z defs as we might desire, because we do not
17310 # link with -lc, and that would cause any symbols used from libc to
17311 # always be unresolved, which means just about no library would
17312 # ever link correctly. If we're not using GNU ld we use -z text
17313 # though, which does catch some bad symbols but isn't as heavy-handed
17315 no_undefined_flag_GCJ
='${wl}-z,text'
17316 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17317 archive_cmds_need_lc_GCJ
=no
17318 hardcode_shlibpath_var_GCJ
=no
17319 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
17320 hardcode_libdir_separator_GCJ
=':'
17321 link_all_deplibs_GCJ
=yes
17322 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
17323 runpath_var
='LD_RUN_PATH'
17325 if test "$GCC" = yes; then
17326 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17327 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17329 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17330 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17335 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17336 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17337 hardcode_shlibpath_var_GCJ
=no
17345 if test x
$host_vendor = xsni
; then
17347 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17348 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
17354 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17355 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17356 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17358 with_gnu_ld_GCJ
=$with_gnu_ld
17366 # Do we need to explicitly link libc?
17368 case "x$archive_cmds_need_lc_GCJ" in
17370 # Assume -lc should be added
17371 archive_cmds_need_lc_GCJ
=yes
17373 if test "$enable_shared" = yes && test "$GCC" = yes; then
17374 case $archive_cmds_GCJ in
17376 # FIXME: we may have to deal with multi-command sequences.
17379 # Test whether the compiler implicitly links with -lc since on some
17380 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17381 # to ld, don't add -lc before -lgcc.
17382 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17383 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17385 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17388 (eval $ac_compile) 2>&5
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); } 2>conftest.err
; then
17394 libobjs
=conftest.
$ac_objext
17396 wl
=$lt_prog_compiler_wl_GCJ
17397 pic_flag
=$lt_prog_compiler_pic_GCJ
17403 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17404 allow_undefined_flag_GCJ
=
17405 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17406 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }
17411 archive_cmds_need_lc_GCJ
=no
17413 archive_cmds_need_lc_GCJ
=yes
17415 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17417 cat conftest.err
1>&5
17420 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17421 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17491 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17492 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17494 library_names_spec
=
17495 libname_spec
='lib$name'
17499 postuninstall_cmds
=
17503 shlibpath_overrides_runpath
=unknown
17505 dynamic_linker
="$host_os ld.so"
17506 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17507 need_lib_prefix
=unknown
17508 hardcode_into_libs
=no
17510 # when you set need_version to no, make sure it does not cause -set_version
17511 # flags to be left without arguments
17512 need_version
=unknown
17517 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17518 shlibpath_var
=LIBPATH
17520 # AIX 3 has no versioning support, so we append a major version to the name.
17521 soname_spec
='${libname}${release}${shared_ext}$major'
17528 hardcode_into_libs
=yes
17529 if test "$host_cpu" = ia64
; then
17530 # AIX 5 supports IA64
17531 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17532 shlibpath_var
=LD_LIBRARY_PATH
17534 # With GCC up to 2.95.x, collect2 would create an import file
17535 # for dependence libraries. The import file would start with
17536 # the line `#! .'. This would cause the generated library to
17537 # depend on `.', always an invalid library. This was fixed in
17538 # development snapshots of GCC prior to 3.0.
17540 aix4 | aix4.
[01] | aix4.
[01].
*)
17541 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17543 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17546 can_build_shared
=no
17550 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17551 # soname into executable. Probably we can add versioning support to
17552 # collect2, so additional links can be useful in future.
17553 if test "$aix_use_runtimelinking" = yes; then
17554 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17555 # instead of lib<name>.a to let people know that these are not
17556 # typical AIX shared libraries.
17557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17559 # We preserve .a as extension for shared libraries through AIX4.2
17560 # and later when we are not doing run time linking.
17561 library_names_spec
='${libname}${release}.a $libname.a'
17562 soname_spec
='${libname}${release}${shared_ext}$major'
17564 shlibpath_var
=LIBPATH
17569 if test "$host_cpu" = m68k
; then
17570 library_names_spec
='$libname.ixlibrary $libname.a'
17571 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17572 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'
17579 library_names_spec
='${libname}${shared_ext}'
17580 dynamic_linker
="$host_os ld.so"
17581 shlibpath_var
=LIBRARY_PATH
17587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17588 soname_spec
='${libname}${release}${shared_ext}$major'
17589 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17590 shlibpath_var
=LD_LIBRARY_PATH
17591 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17592 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17593 # the default ld.so.conf also contains /usr/contrib/lib and
17594 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17595 # libtool to hard-code these into programs
17598 cygwin
* | mingw
* | pw32
*)
17599 version_type
=windows
17604 case $withGCC,$host_os in
17605 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17606 library_names_spec
='$libname.dll.a'
17607 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17608 postinstall_cmds
='base_file=`basename \${file}`~
17609 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17610 dldir=$destdir/`dirname \$dlpath`~
17611 test -d \$dldir || mkdir -p \$dldir~
17612 $install_prog $dir/$dlname \$dldir/$dlname~
17613 chmod a+x \$dldir/$dlname~
17614 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17615 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17617 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17618 dlpath=$dir/\$dldll~
17620 shlibpath_overrides_runpath
=yes
17624 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17625 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17626 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17629 # MinGW DLLs use traditional 'lib' prefix
17630 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17631 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17632 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17633 # It is most probably a Windows format PATH printed by
17634 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17635 # path with ; separators, and with drive letters. We can handle the
17636 # drive letters (cygwin fileutils understands them), so leave them,
17637 # especially as we might pass files found there to a mingw objdump,
17638 # which wouldn't understand a cygwinified path. Ahh.
17639 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17641 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17645 # pw32 DLLs use 'pw' prefix rather than 'lib'
17646 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17652 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17655 dynamic_linker
='Win32 ld.exe'
17656 # FIXME: first we should search . and the directory the executable is in
17660 darwin
* | rhapsody
*)
17661 dynamic_linker
="$host_os dyld"
17662 version_type
=darwin
17665 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17666 soname_spec
='${libname}${release}${major}$shared_ext'
17667 shlibpath_overrides_runpath
=yes
17668 shlibpath_var
=DYLD_LIBRARY_PATH
17669 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17671 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17679 soname_spec
='${libname}${release}${shared_ext}$major'
17680 shlibpath_var
=LD_LIBRARY_PATH
17687 freebsd
* | dragonfly
*)
17688 # DragonFly does not have aout. When/if they implement a new
17689 # versioning mechanism, adjust this.
17690 if test -x /usr
/bin
/objformat
; then
17691 objformat
=`/usr/bin/objformat`
17694 freebsd
[123]*) objformat
=aout
;;
17695 *) objformat
=elf
;;
17698 version_type
=freebsd-
$objformat
17699 case $version_type in
17701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17706 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17710 shlibpath_var
=LD_LIBRARY_PATH
17713 shlibpath_overrides_runpath
=yes
17715 freebsd3.
[01]* | freebsdelf3.
[01]*)
17716 shlibpath_overrides_runpath
=yes
17717 hardcode_into_libs
=yes
17719 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17720 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17721 shlibpath_overrides_runpath
=no
17722 hardcode_into_libs
=yes
17724 *) # from 4.6 on, and DragonFly
17725 shlibpath_overrides_runpath
=yes
17726 hardcode_into_libs
=yes
17735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17736 soname_spec
='${libname}${release}${shared_ext}$major'
17737 shlibpath_var
=LD_LIBRARY_PATH
17738 hardcode_into_libs
=yes
17741 hpux9
* | hpux10
* | hpux11
*)
17742 # Give a soname corresponding to the major version so that dld.sl refuses to
17743 # link against other versions.
17750 hardcode_into_libs
=yes
17751 dynamic_linker
="$host_os dld.so"
17752 shlibpath_var
=LD_LIBRARY_PATH
17753 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17755 soname_spec
='${libname}${release}${shared_ext}$major'
17756 if test "X$HPUX_IA64_MODE" = X32
; then
17757 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17759 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17761 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17765 hardcode_into_libs
=yes
17766 dynamic_linker
="$host_os dld.sl"
17767 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17768 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17770 soname_spec
='${libname}${release}${shared_ext}$major'
17771 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17772 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17776 dynamic_linker
="$host_os dld.sl"
17777 shlibpath_var
=SHLIB_PATH
17778 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17779 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17780 soname_spec
='${libname}${release}${shared_ext}$major'
17783 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17784 postinstall_cmds
='chmod 555 $lib'
17791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17792 soname_spec
='${libname}${release}${shared_ext}$major'
17793 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17794 shlibpath_var
=LD_LIBRARY_PATH
17795 shlibpath_overrides_runpath
=no
17796 hardcode_into_libs
=yes
17799 irix5
* | irix6
* | nonstopux
*)
17801 nonstopux
*) version_type
=nonstopux
;;
17803 if test "$lt_cv_prog_gnu_ld" = yes; then
17811 soname_spec
='${libname}${release}${shared_ext}$major'
17812 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17814 irix5
* | nonstopux
*)
17815 libsuff
= shlibsuff
=
17818 case $LD in # libtool.m4 will add one of these switches to LD
17819 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17820 libsuff
= shlibsuff
= libmagic
=32-bit;;
17821 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17822 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17823 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17824 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17825 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17829 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17830 shlibpath_overrides_runpath
=no
17831 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17832 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17833 hardcode_into_libs
=yes
17836 # No shared lib support for Linux oldld, aout, or coff.
17837 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17841 # This must be Linux ELF.
17842 linux
* | k
*bsd
*-gnu)
17846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17847 soname_spec
='${libname}${release}${shared_ext}$major'
17848 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17849 shlibpath_var
=LD_LIBRARY_PATH
17850 shlibpath_overrides_runpath
=no
17851 # Some binutils ld are patched to set DT_RUNPATH
17852 save_LDFLAGS
=$LDFLAGS
17853 save_libdir
=$libdir
17854 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_GCJ\"; \
17855 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_GCJ\""
17856 if test x
$gcc_no_link = xyes
; then
17857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17859 { (exit 1); exit 1; }; }
17861 cat >conftest.
$ac_ext <<_ACEOF
17864 cat confdefs.h
>>conftest.
$ac_ext
17865 cat >>conftest.
$ac_ext <<_ACEOF
17866 /* end confdefs.h. */
17876 rm -f conftest.
$ac_objext conftest
$ac_exeext
17877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17878 (eval $ac_link) 2>conftest.er1
17880 grep -v '^ *+' conftest.er1
>conftest.err
17882 cat conftest.err
>&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); } &&
17885 { ac_try
='test -z "$ac_c_werror_flag"
17886 || test ! -s conftest.err'
17887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17888 (eval $ac_try) 2>&5
17890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 (exit $ac_status); }; } &&
17892 { ac_try
='test -s conftest$ac_exeext'
17893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17894 (eval $ac_try) 2>&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); }; }; then
17898 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
17899 shlibpath_overrides_runpath
=yes
17903 echo "$as_me: failed program was:" >&5
17904 sed 's/^/| /' conftest.
$ac_ext >&5
17907 rm -f conftest.err conftest.
$ac_objext \
17908 conftest
$ac_exeext conftest.
$ac_ext
17909 LDFLAGS
=$save_LDFLAGS
17910 libdir
=$save_libdir
17912 # This implies no fast_install, which is unacceptable.
17913 # Some rework will be needed to allow for fast_install
17914 # before this can be enabled.
17915 hardcode_into_libs
=yes
17917 # Append ld.so.conf contents to the search path
17918 if test -f /etc
/ld.so.conf
; then
17919 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' ' '`
17920 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17923 # We used to test for /lib/ld.so.1 and disable shared libraries on
17924 # powerpc, because MkLinux only supported shared libraries with the
17925 # GNU dynamic linker. Since this was broken with cross compilers,
17926 # most powerpc-linux boxes support dynamic linking these days and
17927 # people can always --disable-shared, the test was removed, and we
17928 # assume the GNU/Linux dynamic linker is in use.
17929 dynamic_linker
='GNU/Linux ld.so'
17936 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17937 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17938 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17939 dynamic_linker
='NetBSD (a.out) ld.so'
17941 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17942 soname_spec
='${libname}${release}${shared_ext}$major'
17943 dynamic_linker
='NetBSD ld.elf_so'
17945 shlibpath_var
=LD_LIBRARY_PATH
17946 shlibpath_overrides_runpath
=yes
17947 hardcode_into_libs
=yes
17952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17953 shlibpath_var
=LD_LIBRARY_PATH
17954 shlibpath_overrides_runpath
=yes
17961 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17962 soname_spec
='${libname}${release}${shared_ext}$major'
17963 shlibpath_var
=LD_LIBRARY_PATH
17964 shlibpath_overrides_runpath
=no
17965 hardcode_into_libs
=yes
17966 dynamic_linker
='ldqnx.so'
17971 sys_lib_dlsearch_path_spec
="/usr/lib"
17973 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17975 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17976 *) need_version
=no
;;
17978 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17979 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17980 shlibpath_var
=LD_LIBRARY_PATH
17981 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17983 openbsd2.
[89] | openbsd2.
[89].
*)
17984 shlibpath_overrides_runpath
=no
17987 shlibpath_overrides_runpath
=yes
17991 shlibpath_overrides_runpath
=yes
17996 libname_spec
='$name'
17999 library_names_spec
='$libname${shared_ext} $libname.a'
18000 dynamic_linker
='OS/2 ld.exe'
18001 shlibpath_var
=LIBPATH
18004 osf3
* | osf4
* | osf5
*)
18008 soname_spec
='${libname}${release}${shared_ext}$major'
18009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18010 shlibpath_var
=LD_LIBRARY_PATH
18011 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18012 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18023 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18024 soname_spec
='${libname}${release}${shared_ext}$major'
18025 shlibpath_var
=LD_LIBRARY_PATH
18026 shlibpath_overrides_runpath
=yes
18027 hardcode_into_libs
=yes
18028 # ldd complains unless libraries are executable
18029 postinstall_cmds
='chmod +x $lib'
18034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18035 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18036 shlibpath_var
=LD_LIBRARY_PATH
18037 shlibpath_overrides_runpath
=yes
18038 if test "$with_gnu_ld" = yes; then
18046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18047 soname_spec
='${libname}${release}${shared_ext}$major'
18048 shlibpath_var
=LD_LIBRARY_PATH
18049 case $host_vendor in
18051 shlibpath_overrides_runpath
=no
18053 runpath_var
=LD_RUN_PATH
18061 shlibpath_overrides_runpath
=no
18062 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18068 if test -d /usr
/nec
;then
18070 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18071 soname_spec
='$libname${shared_ext}.$major'
18072 shlibpath_var
=LD_LIBRARY_PATH
18076 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18077 version_type
=freebsd-elf
18080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18081 soname_spec
='${libname}${release}${shared_ext}$major'
18082 shlibpath_var
=LD_LIBRARY_PATH
18083 shlibpath_overrides_runpath
=yes
18084 hardcode_into_libs
=yes
18085 if test "$with_gnu_ld" = yes; then
18086 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18088 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18091 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18095 sys_lib_dlsearch_path_spec
='/usr/lib'
18099 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18103 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18104 shlibpath_var
=LD_LIBRARY_PATH
18105 shlibpath_overrides_runpath
=no
18106 hardcode_into_libs
=yes
18111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18112 soname_spec
='${libname}${release}${shared_ext}$major'
18113 shlibpath_var
=LD_LIBRARY_PATH
18120 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18121 echo "${ECHO_T}$dynamic_linker" >&6
18122 test "$dynamic_linker" = no
&& can_build_shared
=no
18124 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18125 if test "$GCC" = yes; then
18126 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18164 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18165 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18166 hardcode_action_GCJ
=
18167 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18168 test -n "$runpath_var_GCJ" ||
18169 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18171 # We can hardcode non-existent directories.
18172 if test "$hardcode_direct_GCJ" != no
&&
18173 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18174 # have to relink, otherwise we might link with an installed library
18175 # when we should be linking with a yet-to-be-installed one
18176 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18177 test "$hardcode_minus_L_GCJ" != no
; then
18178 # Linking always hardcodes the temporary library directory.
18179 hardcode_action_GCJ
=relink
18181 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18182 hardcode_action_GCJ
=immediate
18185 # We cannot hardcode anything, or else we can only hardcode existing
18187 hardcode_action_GCJ
=unsupported
18189 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18190 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18192 if test "$hardcode_action_GCJ" = relink ||
18193 test "$inherit_rpath_GCJ" = yes; then
18194 # Fast installation is not supported
18195 enable_fast_install
=no
18196 elif test "$shlibpath_overrides_runpath" = yes ||
18197 test "$enable_shared" = no
; then
18198 # Fast installation is not necessary
18199 enable_fast_install
=needless
18210 compiler_GCJ
=${GCJ-gcj}
18212 ac_cpp
='$CPP $CPPFLAGS'
18213 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18214 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18215 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18218 if test "x$CC" != xcc
; then
18219 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
18220 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
18222 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
18223 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
18225 set dummy
$CC; ac_cc
=`echo $2 |
18226 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18227 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
18228 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 cat >conftest.
$ac_ext <<_ACEOF
18233 cat confdefs.h
>>conftest.
$ac_ext
18234 cat >>conftest.
$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18245 # Make sure it works both with $CC and with simple cc.
18246 # We do the test twice because some compilers refuse to overwrite an
18247 # existing .o file with -o, though they will create one.
18248 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18249 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18250 (eval $ac_try) 2>&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } &&
18254 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18255 (eval $ac_try) 2>&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); };
18260 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18261 if test "x$CC" != xcc
; then
18262 # Test first that cc exists at all.
18263 if { ac_try
='cc -c conftest.$ac_ext >&5'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18269 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18270 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18271 (eval $ac_try) 2>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18276 (eval $ac_try) 2>&5
18278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18279 (exit $ac_status); };
18284 # cc exists but doesn't like -o.
18285 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18290 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18295 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
18296 echo "$as_me:$LINENO: result: yes" >&5
18297 echo "${ECHO_T}yes" >&6
18299 echo "$as_me:$LINENO: result: no" >&5
18300 echo "${ECHO_T}no" >&6
18302 cat >>confdefs.h
<<\_ACEOF
18303 #define NO_MINUS_C_MINUS_O 1
18308 # FIXME: we rely on the cache variable name because
18309 # there is no other way.
18311 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18312 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
18313 # Losing compiler, so override with the script.
18314 # FIXME: It is wrong to rewrite CC.
18315 # But if we don't then we get into trouble of one sort or another.
18316 # A longer-term fix would be to have automake use am__CC in this case,
18317 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18318 CC
="$am_aux_dir/compile $CC"
18324 subdirs
="$subdirs classpath libltdl"
18327 # The -no-testsuite modules omit the test subdir.
18330 if test -d $srcdir/testsuite
; then
18332 TESTSUBDIR_FALSE
='#'
18334 TESTSUBDIR_TRUE
='#'
18339 # Should the runtime set system properties by examining the
18340 # environment variable GCJ_PROPERTIES?
18341 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
18342 if test "${enable_getenv_properties+set}" = set; then
18343 enableval
="$enable_getenv_properties"
18347 # Whether GCJ_PROPERTIES is used depends on the target.
18348 if test -z "$enable_getenv_properties"; then
18349 enable_getenv_properties
=${enable_getenv_properties_default-yes}
18351 if test "$enable_getenv_properties" = no
; then
18353 cat >>confdefs.h
<<\_ACEOF
18354 #define DISABLE_GETENV_PROPERTIES 1
18359 # Whether we should use arguments to main()
18360 if test -z "$enable_main_args"; then
18361 enable_main_args
=${enable_main_args_default-yes}
18363 if test "$enable_main_args" = no
; then
18365 cat >>confdefs.h
<<\_ACEOF
18366 #define DISABLE_MAIN_ARGS 1
18372 # Should we use hashtable-based synchronization?
18373 # Currently works only for Linux X86/ia64
18374 # Typically faster and more space-efficient
18375 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
18376 if test "${enable_hash_synchronization+set}" = set; then
18377 enableval
="$enable_hash_synchronization"
18381 if test -z "$enable_hash_synchronization"; then
18382 enable_hash_synchronization
=$enable_hash_synchronization_default
18390 # Check whether --with-ecj-jar or --without-ecj-jar was given.
18391 if test "${with_ecj_jar+set}" = set; then
18392 withval
="$with_ecj_jar"
18395 if test -f $multi_basedir/ecj.jar
; then
18396 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
18397 ECJ_JAR
='$(jardir)/ecj.jar'
18398 install_ecj_jar
=yes
18405 if test "$ECJ_JAR" != ""; then
18407 BUILD_ECJ1_FALSE
='#'
18409 BUILD_ECJ1_TRUE
='#'
18415 if test $install_ecj_jar = yes; then
18416 INSTALL_ECJ_JAR_TRUE
=
18417 INSTALL_ECJ_JAR_FALSE
='#'
18419 INSTALL_ECJ_JAR_TRUE
='#'
18420 INSTALL_ECJ_JAR_FALSE
=
18425 # Check whether --with-java-home or --without-java-home was given.
18426 if test "${with_java_home+set}" = set; then
18427 withval
="$with_java_home"
18428 JAVA_HOME
="${withval}"
18434 if test ! -z "$JAVA_HOME"; then
18435 JAVA_HOME_SET_TRUE
=
18436 JAVA_HOME_SET_FALSE
='#'
18438 JAVA_HOME_SET_TRUE
='#'
18439 JAVA_HOME_SET_FALSE
=
18444 suppress_libgcj_bc
=no
18445 # Check whether --enable-libgcj-bc or --disable-libgcj-bc was given.
18446 if test "${enable_libgcj_bc+set}" = set; then
18447 enableval
="$enable_libgcj_bc"
18448 if test "$enable_libgcj_bc" = "no"; then
18449 suppress_libgcj_bc
=yes
18454 if test "$suppress_libgcj_bc" = "yes"; then
18455 SUPPRESS_LIBGCJ_BC_TRUE
=
18456 SUPPRESS_LIBGCJ_BC_FALSE
='#'
18458 SUPPRESS_LIBGCJ_BC_TRUE
='#'
18459 SUPPRESS_LIBGCJ_BC_FALSE
=
18463 # What is the native OS API for MinGW?
18465 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
18466 if test "${with_win32_nlsapi+set}" = set; then
18467 withval
="$with_win32_nlsapi"
18468 case "${withval}" in
18469 ansi
) with_win32_nlsapi
=ansi
;;
18470 unicows
) with_win32_nlsapi
=unicows
;;
18471 unicode
) with_win32_nlsapi
=unicode
;;
18472 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
18473 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
18474 { (exit 1); exit 1; }; } ;;
18477 with_win32_nlsapi
=ansi
18480 case "${with_win32_nlsapi}" in
18483 cat >>confdefs.h
<<\_ACEOF
18484 #define MINGW_LIBGCJ_UNICODE 1
18490 # configure.host sets slow_pthread_self if the synchronization code should
18491 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
18492 if test "${slow_pthread_self}" = "yes"; then
18494 cat >>confdefs.h
<<\_ACEOF
18495 #define SLOW_PTHREAD_SELF 1
18500 # Check for gc debugging. This option is handled both here and in the GC.
18501 # Check whether --enable-gc-debug or --disable-gc-debug was given.
18502 if test "${enable_gc_debug+set}" = set; then
18503 enableval
="$enable_gc_debug"
18504 if test "$enable_gc_debug" = "yes"; then
18506 cat >>confdefs.h
<<\_ACEOF
18507 #define LIBGCJ_GC_DEBUG 1
18513 # See if the user has the interpreter included.
18514 # Check whether --enable-interpreter or --disable-interpreter was given.
18515 if test "${enable_interpreter+set}" = set; then
18516 enableval
="$enable_interpreter"
18517 if test "$enable_interpreter" = yes; then
18518 # This can also be set in configure.host.
18519 libgcj_interpreter
=yes
18520 elif test "$enable_interpreter" = no
; then
18521 libgcj_interpreter
=no
18525 if test "$libgcj_interpreter" = yes; then
18527 cat >>confdefs.h
<<\_ACEOF
18528 #define INTERPRETER 1
18532 INTERPRETER
="$libgcj_interpreter"
18536 if test "$libgcj_interpreter" = yes; then
18538 INTERPRETER_FALSE
='#'
18540 INTERPRETER_TRUE
='#'
18545 echo "$as_me:$LINENO: checking for exception model to use" >&5
18546 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
18548 ac_cpp
='$CXXCPP $CPPFLAGS'
18549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18553 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
18554 if test "${enable_sjlj_exceptions+set}" = set; then
18555 enableval
="$enable_sjlj_exceptions"
18558 cat > conftest.
$ac_ext << EOF
18559 #line 18559 "configure"
18560 struct S { ~S(); };
18568 old_CXXFLAGS
="$CXXFLAGS"
18570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18571 (eval $ac_compile) 2>&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); }; then
18575 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
18576 enable_sjlj_exceptions
=yes
18577 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
18578 enable_sjlj_exceptions
=no
18581 CXXFLAGS
="$old_CXXFLAGS"
18584 if test x
$enable_sjlj_exceptions = xyes
; then
18586 cat >>confdefs.h
<<\_ACEOF
18587 #define SJLJ_EXCEPTIONS 1
18590 ac_exception_model_name
=sjlj
18591 elif test x
$enable_sjlj_exceptions = xno
; then
18592 ac_exception_model_name
="call frame"
18594 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
18595 echo "$as_me: error: unable to detect exception model" >&2;}
18596 { (exit 1); exit 1; }; }
18599 ac_cpp
='$CPP $CPPFLAGS'
18600 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18601 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18602 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18604 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
18605 echo "${ECHO_T}$ac_exception_model_name" >&6
18607 # If we are non using SJLJ exceptions, and this host does not have support
18608 # for unwinding from a signal handler, enable checked dereferences and divides.
18609 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
18610 CHECKREFSPEC
=-fcheck-references
18611 DIVIDESPEC
=-fuse-divide-subroutine
18615 # See if the user wants to disable java.net. This is the mildly
18616 # ugly way that we admit that target-side configuration sucks.
18617 # Check whether --enable-java-net or --disable-java-net was given.
18618 if test "${enable_java_net+set}" = set; then
18619 enableval
="$enable_java_net"
18623 # Whether java.net is built by default can depend on the target.
18624 if test -z "$enable_java_net"; then
18625 enable_java_net
=${enable_java_net_default-yes}
18627 if test "$enable_java_net" = no
; then
18629 cat >>confdefs.h
<<\_ACEOF
18630 #define DISABLE_JAVA_NET 1
18635 # See if the user wants to configure without libffi. Some
18636 # architectures don't support it, and default values are set in
18639 # Check whether --with-libffi or --without-libffi was given.
18640 if test "${with_libffi+set}" = set; then
18641 withval
="$with_libffi"
18644 with_libffi
=${with_libffi_default-yes}
18649 if test "$with_libffi" != no
; then
18651 cat >>confdefs.h
<<\_ACEOF
18652 #define USE_LIBFFI 1
18655 LIBFFI
=..
/libffi
/libffi_convenience.la
18656 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
18661 # See if the user wants to disable JVMPI support.
18662 # Check whether --enable-jvmpi or --disable-jvmpi was given.
18663 if test "${enable_jvmpi+set}" = set; then
18664 enableval
="$enable_jvmpi"
18668 if test "$enable_jvmpi" != no
; then
18670 cat >>confdefs.h
<<\_ACEOF
18671 #define ENABLE_JVMPI 1
18676 # If the target is an eCos system, use the appropriate eCos
18678 # FIXME: this should not be a local option but a global target
18679 # system; at present there is no eCos target.
18680 TARGET_ECOS
=${PROCESS-"no"}
18682 # Check whether --with-ecos or --without-ecos was given.
18683 if test "${with_ecos+set}" = set; then
18684 withval
="$with_ecos"
18685 TARGET_ECOS
="$with_ecos"
18689 case "$TARGET_ECOS" in
18690 no
) case "$host" in
18696 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
18697 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
18698 LD_PROG
=`$CC --print-prog-name=ld`
18699 LD_VERSION
=`$LD_PROG --version`
18700 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
18701 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
18702 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
18705 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
18709 if test "x$LD_OK" != x
; then
18710 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18711 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18713 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18714 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18715 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
18716 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
18718 cat >>confdefs.h
<<\_ACEOF
18719 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
18735 cat >>confdefs.h
<<\_ACEOF
18743 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
18746 cat >conftest.
$ac_ext <<_ACEOF
18749 cat confdefs.h
>>conftest.
$ac_ext
18750 cat >>conftest.
$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <stdint.h>
18755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18756 $EGREP "uint32_t" >/dev
/null
2>&1; then
18758 cat >>confdefs.h
<<\_ACEOF
18759 #define HAVE_INT32_DEFINED 1
18765 cat >conftest.
$ac_ext <<_ACEOF
18768 cat confdefs.h
>>conftest.
$ac_ext
18769 cat >>conftest.
$ac_ext <<_ACEOF
18770 /* end confdefs.h. */
18771 #include <inttypes.h>
18774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18775 $EGREP "uint32_t" >/dev
/null
2>&1; then
18777 cat >>confdefs.h
<<\_ACEOF
18778 #define HAVE_INT32_DEFINED 1
18784 cat >conftest.
$ac_ext <<_ACEOF
18787 cat confdefs.h
>>conftest.
$ac_ext
18788 cat >>conftest.
$ac_ext <<_ACEOF
18789 /* end confdefs.h. */
18790 #include <sys/types.h>
18793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18794 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18796 cat >>confdefs.h
<<\_ACEOF
18797 #define HAVE_BSD_INT32_DEFINED 1
18803 cat >conftest.
$ac_ext <<_ACEOF
18806 cat confdefs.h
>>conftest.
$ac_ext
18807 cat >>conftest.
$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 #include <sys/config.h>
18812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18813 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18815 cat >>confdefs.h
<<\_ACEOF
18816 #define HAVE_BSD_INT32_DEFINED 1
18825 if test "$PLATFORM" = Win32
; then
18826 USING_WIN32_PLATFORM_TRUE
=
18827 USING_WIN32_PLATFORM_FALSE
='#'
18829 USING_WIN32_PLATFORM_TRUE
='#'
18830 USING_WIN32_PLATFORM_FALSE
=
18835 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
18836 USING_POSIX_PLATFORM_TRUE
=
18837 USING_POSIX_PLATFORM_FALSE
='#'
18839 USING_POSIX_PLATFORM_TRUE
='#'
18840 USING_POSIX_PLATFORM_FALSE
=
18845 *-darwin*) DARWIN_CRT
=true
;;
18846 *) DARWIN_CRT
=false
;;
18850 if $DARWIN_CRT; then
18851 USING_DARWIN_CRT_TRUE
=
18852 USING_DARWIN_CRT_FALSE
='#'
18854 USING_DARWIN_CRT_TRUE
='#'
18855 USING_DARWIN_CRT_FALSE
=
18859 # This may not be defined in a non-ANS conformant embedded system.
18860 # FIXME: Should these case a runtime exception in that case?
18861 cat >conftest.
$ac_ext <<_ACEOF
18864 cat confdefs.h
>>conftest.
$ac_ext
18865 cat >>conftest.
$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18871 $EGREP "localtime" >/dev
/null
2>&1; then
18873 cat >>confdefs.h
<<\_ACEOF
18874 #define HAVE_LOCALTIME 1
18881 # Create the subdirectory for natFile.cc, or the attempt
18882 # to create the link will fail.
18883 test -d java || mkdir java
18884 test -d java
/io || mkdir java
/io
18885 test -d gnu || mkdir gnu
18886 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
18889 # Likewise for natConcreteProcess.cc.
18890 test -d java
/lang || mkdir java
/lang
18891 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
18894 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
18895 test -d java
/net || mkdir java
/net
18896 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
18898 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
18901 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
18902 test -d gnu
/java || mkdir gnu
/java
18903 test -d gnu
/java
/net || mkdir gnu
/java
/net
18904 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
18906 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
18909 # Likewise for natVMPipe.cc and natVMSelector.cc.
18910 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
18911 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
18913 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
18916 # Likewise for natFileChannelImpl.cc
18917 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
18918 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
18923 SYSTEMSPEC
="-lgdi32 -lws2_32"
18924 if test "${with_win32_nlsapi}" = "unicows"; then
18925 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
18935 # Check whether --with-system-zlib or --without-system-zlib was given.
18936 if test "${with_system_zlib+set}" = set; then
18937 withval
="$with_system_zlib"
18945 echo "$as_me:$LINENO: checking for X" >&5
18946 echo $ECHO_N "checking for X... $ECHO_C" >&6
18949 # Check whether --with-x or --without-x was given.
18950 if test "${with_x+set}" = set; then
18954 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18955 if test "x$with_x" = xno
; then
18956 # The user explicitly disabled X.
18959 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
18960 # Both variables are already set.
18963 if test "${ac_cv_have_x+set}" = set; then
18964 echo $ECHO_N "(cached) $ECHO_C" >&6
18966 # One or both of the vars are not set, and there is no cached value.
18967 ac_x_includes
=no ac_x_libraries
=no
18968 rm -fr conftest.dir
18969 if mkdir conftest.dir
; then
18971 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
18972 cat >Imakefile
<<'_ACEOF'
18974 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
18976 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
18977 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18978 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
18979 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18980 for ac_extension
in a so sl
; do
18981 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
18982 test -f $ac_im_libdir/libX11.
$ac_extension; then
18983 ac_im_usrlibdir
=$ac_im_libdir; break
18986 # Screen out bogus values from the imake configuration. They are
18987 # bogus both because they are the default anyway, and because
18988 # using them would break gcc on systems where it needs fixed includes.
18989 case $ac_im_incroot in
18991 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
18993 case $ac_im_usrlibdir in
18994 /usr
/lib |
/lib
) ;;
18995 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
18999 rm -fr conftest.dir
19002 # Standard set of common directories for X headers.
19003 # Check X11 before X11Rn because it is often a symlink to the current release.
19015 /usr/local/X11/include
19016 /usr/local/X11R6/include
19017 /usr/local/X11R5/include
19018 /usr/local/X11R4/include
19020 /usr/local/include/X11
19021 /usr/local/include/X11R6
19022 /usr/local/include/X11R5
19023 /usr/local/include/X11R4
19027 /usr/XFree86/include/X11
19031 /usr/unsupported/include
19032 /usr/athena/include
19033 /usr/local/x11r5/include
19034 /usr/lpp/Xamples/include
19036 /usr/openwin/include
19037 /usr/openwin/share/include'
19039 if test "$ac_x_includes" = no
; then
19040 # Guess where to find include files, by looking for Xlib.h.
19041 # First, try using that file with no special directory specified.
19042 cat >conftest.
$ac_ext <<_ACEOF
19045 cat confdefs.h
>>conftest.
$ac_ext
19046 cat >>conftest.
$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 #include <X11/Xlib.h>
19050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19051 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19053 grep -v '^ *+' conftest.er1
>conftest.err
19055 cat conftest.err
>&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); } >/dev
/null
; then
19058 if test -s conftest.err
; then
19059 ac_cpp_err
=$ac_c_preproc_warn_flag
19060 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19067 if test -z "$ac_cpp_err"; then
19068 # We can compile using X headers with no special include directory.
19071 echo "$as_me: failed program was:" >&5
19072 sed 's/^/| /' conftest.
$ac_ext >&5
19074 for ac_dir
in $ac_x_header_dirs; do
19075 if test -r "$ac_dir/X11/Xlib.h"; then
19076 ac_x_includes
=$ac_dir
19081 rm -f conftest.err conftest.
$ac_ext
19082 fi # $ac_x_includes = no
19084 if test "$ac_x_libraries" = no
; then
19085 # Check for the libraries.
19086 # See if we find them without any special options.
19087 # Don't add to $LIBS permanently.
19090 if test x
$gcc_no_link = xyes
; then
19091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19093 { (exit 1); exit 1; }; }
19095 cat >conftest.
$ac_ext <<_ACEOF
19098 cat confdefs.h
>>conftest.
$ac_ext
19099 cat >>conftest.
$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19101 #include <X11/Xlib.h>
19110 rm -f conftest.
$ac_objext conftest
$ac_exeext
19111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19112 (eval $ac_link) 2>conftest.er1
19114 grep -v '^ *+' conftest.er1
>conftest.err
19116 cat conftest.err
>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } &&
19119 { ac_try
='test -z "$ac_c_werror_flag"
19120 || test ! -s conftest.err'
19121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19122 (eval $ac_try) 2>&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); }; } &&
19126 { ac_try
='test -s conftest$ac_exeext'
19127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19128 (eval $ac_try) 2>&5
19130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19131 (exit $ac_status); }; }; then
19133 # We can link X programs with no special library path.
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.
$ac_ext >&5
19140 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19142 # Don't even attempt the hair of trying to link an X program!
19143 for ac_extension
in a so sl
; do
19144 if test -r $ac_dir/libXt.
$ac_extension; then
19145 ac_x_libraries
=$ac_dir
19151 rm -f conftest.err conftest.
$ac_objext \
19152 conftest
$ac_exeext conftest.
$ac_ext
19153 fi # $ac_x_libraries = no
19155 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19156 # Didn't find X anywhere. Cache the known absence of X.
19157 ac_cv_have_x
="have_x=no"
19159 # Record where we found X for the cache.
19160 ac_cv_have_x
="have_x=yes \
19161 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19166 eval "$ac_cv_have_x"
19169 if test "$have_x" != yes; then
19170 echo "$as_me:$LINENO: result: $have_x" >&5
19171 echo "${ECHO_T}$have_x" >&6
19174 # If each of the values was on the command line, it overrides each guess.
19175 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19176 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19177 # Update the cache value to reflect the command line values.
19178 ac_cv_have_x
="have_x=yes \
19179 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19180 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19181 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19184 if test "$no_x" = yes; then
19185 # Not all programs may use this symbol, but it does not hurt to define it.
19187 cat >>confdefs.h
<<\_ACEOF
19188 #define X_DISPLAY_MISSING 1
19191 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19193 if test -n "$x_includes"; then
19194 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19197 # It would also be nice to do this for all -L options, not just this one.
19198 if test -n "$x_libraries"; then
19199 X_LIBS
="$X_LIBS -L$x_libraries"
19200 # For Solaris; some versions of Sun CC require a space after -R and
19201 # others require no space. Words are not sufficient . . . .
19202 case `(uname -sr) 2>/dev/null` in
19204 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19205 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19206 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19207 if test x
$gcc_no_link = xyes
; then
19208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19210 { (exit 1); exit 1; }; }
19212 cat >conftest.
$ac_ext <<_ACEOF
19215 cat confdefs.h
>>conftest.
$ac_ext
19216 cat >>conftest.
$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19227 rm -f conftest.
$ac_objext conftest
$ac_exeext
19228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19229 (eval $ac_link) 2>conftest.er1
19231 grep -v '^ *+' conftest.er1
>conftest.err
19233 cat conftest.err
>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try
='test -z "$ac_c_werror_flag"
19237 || test ! -s conftest.err'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; } &&
19243 { ac_try
='test -s conftest$ac_exeext'
19244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19245 (eval $ac_try) 2>&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); }; }; then
19251 echo "$as_me: failed program was:" >&5
19252 sed 's/^/| /' conftest.
$ac_ext >&5
19256 rm -f conftest.err conftest.
$ac_objext \
19257 conftest
$ac_exeext conftest.
$ac_ext
19258 if test $ac_R_nospace = yes; then
19259 echo "$as_me:$LINENO: result: no" >&5
19260 echo "${ECHO_T}no" >&6
19261 X_LIBS
="$X_LIBS -R$x_libraries"
19263 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19264 if test x
$gcc_no_link = xyes
; then
19265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19267 { (exit 1); exit 1; }; }
19269 cat >conftest.
$ac_ext <<_ACEOF
19272 cat confdefs.h
>>conftest.
$ac_ext
19273 cat >>conftest.
$ac_ext <<_ACEOF
19274 /* end confdefs.h. */
19284 rm -f conftest.
$ac_objext conftest
$ac_exeext
19285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19286 (eval $ac_link) 2>conftest.er1
19288 grep -v '^ *+' conftest.er1
>conftest.err
19290 cat conftest.err
>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } &&
19293 { ac_try
='test -z "$ac_c_werror_flag"
19294 || test ! -s conftest.err'
19295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19296 (eval $ac_try) 2>&5
19298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19299 (exit $ac_status); }; } &&
19300 { ac_try
='test -s conftest$ac_exeext'
19301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19302 (eval $ac_try) 2>&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); }; }; then
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.
$ac_ext >&5
19313 rm -f conftest.err conftest.
$ac_objext \
19314 conftest
$ac_exeext conftest.
$ac_ext
19315 if test $ac_R_space = yes; then
19316 echo "$as_me:$LINENO: result: yes" >&5
19317 echo "${ECHO_T}yes" >&6
19318 X_LIBS
="$X_LIBS -R $x_libraries"
19320 echo "$as_me:$LINENO: result: neither works" >&5
19321 echo "${ECHO_T}neither works" >&6
19324 LIBS
=$ac_xsave_LIBS
19328 # Check for system-dependent libraries X programs must link with.
19329 # Do this before checking for the system-independent R6 libraries
19330 # (-lICE), since we may need -lsocket or whatever for X linking.
19332 if test "$ISC" = yes; then
19333 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19335 # Martyn Johnson says this is needed for Ultrix, if the X
19336 # libraries were built with DECnet support. And Karl Berry says
19337 # the Alpha needs dnet_stub (dnet does not exist).
19338 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19339 if test x
$gcc_no_link = xyes
; then
19340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19342 { (exit 1); exit 1; }; }
19344 cat >conftest.
$ac_ext <<_ACEOF
19347 cat confdefs.h
>>conftest.
$ac_ext
19348 cat >>conftest.
$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19351 /* Override any gcc2 internal prototype to avoid an error. */
19355 /* We use char because int might match the return type of a gcc2
19356 builtin and then its argument prototype would still apply. */
19357 char XOpenDisplay ();
19366 rm -f conftest.
$ac_objext conftest
$ac_exeext
19367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19368 (eval $ac_link) 2>conftest.er1
19370 grep -v '^ *+' conftest.er1
>conftest.err
19372 cat conftest.err
>&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); } &&
19375 { ac_try
='test -z "$ac_c_werror_flag"
19376 || test ! -s conftest.err'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; } &&
19382 { ac_try
='test -s conftest$ac_exeext'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; }; then
19390 echo "$as_me: failed program was:" >&5
19391 sed 's/^/| /' conftest.
$ac_ext >&5
19393 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19394 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19395 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19396 echo $ECHO_N "(cached) $ECHO_C" >&6
19398 ac_check_lib_save_LIBS
=$LIBS
19399 LIBS
="-ldnet $LIBS"
19400 if test x
$gcc_no_link = xyes
; then
19401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19403 { (exit 1); exit 1; }; }
19405 cat >conftest.
$ac_ext <<_ACEOF
19408 cat confdefs.h
>>conftest.
$ac_ext
19409 cat >>conftest.
$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19412 /* Override any gcc2 internal prototype to avoid an error. */
19416 /* We use char because int might match the return type of a gcc2
19417 builtin and then its argument prototype would still apply. */
19427 rm -f conftest.
$ac_objext conftest
$ac_exeext
19428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19429 (eval $ac_link) 2>conftest.er1
19431 grep -v '^ *+' conftest.er1
>conftest.err
19433 cat conftest.err
>&5
19434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19435 (exit $ac_status); } &&
19436 { ac_try
='test -z "$ac_c_werror_flag"
19437 || test ! -s conftest.err'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; } &&
19443 { ac_try
='test -s conftest$ac_exeext'
19444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445 (eval $ac_try) 2>&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); }; }; then
19449 ac_cv_lib_dnet_dnet_ntoa
=yes
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.
$ac_ext >&5
19454 ac_cv_lib_dnet_dnet_ntoa
=no
19456 rm -f conftest.err conftest.
$ac_objext \
19457 conftest
$ac_exeext conftest.
$ac_ext
19458 LIBS
=$ac_check_lib_save_LIBS
19460 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19461 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19462 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19463 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19466 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19467 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19468 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19469 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 ac_check_lib_save_LIBS
=$LIBS
19473 LIBS
="-ldnet_stub $LIBS"
19474 if test x
$gcc_no_link = xyes
; then
19475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19477 { (exit 1); exit 1; }; }
19479 cat >conftest.
$ac_ext <<_ACEOF
19482 cat confdefs.h
>>conftest.
$ac_ext
19483 cat >>conftest.
$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19486 /* Override any gcc2 internal prototype to avoid an error. */
19490 /* We use char because int might match the return type of a gcc2
19491 builtin and then its argument prototype would still apply. */
19501 rm -f conftest.
$ac_objext conftest
$ac_exeext
19502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19503 (eval $ac_link) 2>conftest.er1
19505 grep -v '^ *+' conftest.er1
>conftest.err
19507 cat conftest.err
>&5
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } &&
19510 { ac_try
='test -z "$ac_c_werror_flag"
19511 || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try
='test -s conftest$ac_exeext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.
$ac_ext >&5
19528 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19530 rm -f conftest.err conftest.
$ac_objext \
19531 conftest
$ac_exeext conftest.
$ac_ext
19532 LIBS
=$ac_check_lib_save_LIBS
19534 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19535 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19536 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19537 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19542 rm -f conftest.err conftest.
$ac_objext \
19543 conftest
$ac_exeext conftest.
$ac_ext
19544 LIBS
="$ac_xsave_LIBS"
19546 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19547 # to get the SysV transport functions.
19548 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19550 # The nsl library prevents programs from opening the X display
19551 # on Irix 5.2, according to T.E. Dickey.
19552 # The functions gethostbyname, getservbyname, and inet_addr are
19553 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19554 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19555 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19556 if test "${ac_cv_func_gethostbyname+set}" = set; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19559 if test x
$gcc_no_link = xyes
; then
19560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19562 { (exit 1); exit 1; }; }
19564 cat >conftest.
$ac_ext <<_ACEOF
19567 cat confdefs.h
>>conftest.
$ac_ext
19568 cat >>conftest.
$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19572 #define gethostbyname innocuous_gethostbyname
19574 /* System header to define __stub macros and hopefully few prototypes,
19575 which can conflict with char gethostbyname (); below.
19576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19577 <limits.h> exists even on freestanding compilers. */
19580 # include <limits.h>
19582 # include <assert.h>
19585 #undef gethostbyname
19587 /* Override any gcc2 internal prototype to avoid an error. */
19592 /* We use char because int might match the return type of a gcc2
19593 builtin and then its argument prototype would still apply. */
19594 char gethostbyname ();
19595 /* The GNU C library defines this for functions which it implements
19596 to always fail with ENOSYS. Some functions are actually named
19597 something starting with __ and the normal name is an alias. */
19598 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19601 char (*f) () = gethostbyname;
19610 return f != gethostbyname;
19615 rm -f conftest.
$ac_objext conftest
$ac_exeext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19617 (eval $ac_link) 2>conftest.er1
19619 grep -v '^ *+' conftest.er1
>conftest.err
19621 cat conftest.err
>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try
='test -z "$ac_c_werror_flag"
19625 || test ! -s conftest.err'
19626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19627 (eval $ac_try) 2>&5
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19630 (exit $ac_status); }; } &&
19631 { ac_try
='test -s conftest$ac_exeext'
19632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19633 (eval $ac_try) 2>&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); }; }; then
19637 ac_cv_func_gethostbyname
=yes
19639 echo "$as_me: failed program was:" >&5
19640 sed 's/^/| /' conftest.
$ac_ext >&5
19642 ac_cv_func_gethostbyname
=no
19644 rm -f conftest.err conftest.
$ac_objext \
19645 conftest
$ac_exeext conftest.
$ac_ext
19647 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19648 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19650 if test $ac_cv_func_gethostbyname = no
; then
19651 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19652 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19653 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 ac_check_lib_save_LIBS
=$LIBS
19658 if test x
$gcc_no_link = xyes
; then
19659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19661 { (exit 1); exit 1; }; }
19663 cat >conftest.
$ac_ext <<_ACEOF
19666 cat confdefs.h
>>conftest.
$ac_ext
19667 cat >>conftest.
$ac_ext <<_ACEOF
19668 /* end confdefs.h. */
19670 /* Override any gcc2 internal prototype to avoid an error. */
19674 /* We use char because int might match the return type of a gcc2
19675 builtin and then its argument prototype would still apply. */
19676 char gethostbyname ();
19685 rm -f conftest.
$ac_objext conftest
$ac_exeext
19686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19687 (eval $ac_link) 2>conftest.er1
19689 grep -v '^ *+' conftest.er1
>conftest.err
19691 cat conftest.err
>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); } &&
19694 { ac_try
='test -z "$ac_c_werror_flag"
19695 || test ! -s conftest.err'
19696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697 (eval $ac_try) 2>&5
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; } &&
19701 { ac_try
='test -s conftest$ac_exeext'
19702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19703 (eval $ac_try) 2>&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); }; }; then
19707 ac_cv_lib_nsl_gethostbyname
=yes
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.
$ac_ext >&5
19712 ac_cv_lib_nsl_gethostbyname
=no
19714 rm -f conftest.err conftest.
$ac_objext \
19715 conftest
$ac_exeext conftest.
$ac_ext
19716 LIBS
=$ac_check_lib_save_LIBS
19718 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19719 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19720 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19721 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19724 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19725 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19726 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19727 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19728 echo $ECHO_N "(cached) $ECHO_C" >&6
19730 ac_check_lib_save_LIBS
=$LIBS
19732 if test x
$gcc_no_link = xyes
; then
19733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19735 { (exit 1); exit 1; }; }
19737 cat >conftest.
$ac_ext <<_ACEOF
19740 cat confdefs.h
>>conftest.
$ac_ext
19741 cat >>conftest.
$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19744 /* Override any gcc2 internal prototype to avoid an error. */
19748 /* We use char because int might match the return type of a gcc2
19749 builtin and then its argument prototype would still apply. */
19750 char gethostbyname ();
19759 rm -f conftest.
$ac_objext conftest
$ac_exeext
19760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19761 (eval $ac_link) 2>conftest.er1
19763 grep -v '^ *+' conftest.er1
>conftest.err
19765 cat conftest.err
>&5
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); } &&
19768 { ac_try
='test -z "$ac_c_werror_flag"
19769 || test ! -s conftest.err'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; } &&
19775 { ac_try
='test -s conftest$ac_exeext'
19776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19777 (eval $ac_try) 2>&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); }; }; then
19781 ac_cv_lib_bsd_gethostbyname
=yes
19783 echo "$as_me: failed program was:" >&5
19784 sed 's/^/| /' conftest.
$ac_ext >&5
19786 ac_cv_lib_bsd_gethostbyname
=no
19788 rm -f conftest.err conftest.
$ac_objext \
19789 conftest
$ac_exeext conftest.
$ac_ext
19790 LIBS
=$ac_check_lib_save_LIBS
19792 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19793 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19794 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19795 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19801 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19802 # socket/setsockopt and other routines are undefined under SCO ODT
19803 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19804 # on later versions), says Simon Leinen: it contains gethostby*
19805 # variants that don't use the name server (or something). -lsocket
19806 # must be given before -lnsl if both are needed. We assume that
19807 # if connect needs -lnsl, so does gethostbyname.
19808 echo "$as_me:$LINENO: checking for connect" >&5
19809 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19810 if test "${ac_cv_func_connect+set}" = set; then
19811 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 if test x
$gcc_no_link = xyes
; then
19814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19816 { (exit 1); exit 1; }; }
19818 cat >conftest.
$ac_ext <<_ACEOF
19821 cat confdefs.h
>>conftest.
$ac_ext
19822 cat >>conftest.
$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
19825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19826 #define connect innocuous_connect
19828 /* System header to define __stub macros and hopefully few prototypes,
19829 which can conflict with char connect (); below.
19830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19831 <limits.h> exists even on freestanding compilers. */
19834 # include <limits.h>
19836 # include <assert.h>
19841 /* Override any gcc2 internal prototype to avoid an error. */
19846 /* We use char because int might match the return type of a gcc2
19847 builtin and then its argument prototype would still apply. */
19849 /* The GNU C library defines this for functions which it implements
19850 to always fail with ENOSYS. Some functions are actually named
19851 something starting with __ and the normal name is an alias. */
19852 #if defined (__stub_connect) || defined (__stub___connect)
19855 char (*f) () = connect;
19864 return f != connect;
19869 rm -f conftest.
$ac_objext conftest
$ac_exeext
19870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19871 (eval $ac_link) 2>conftest.er1
19873 grep -v '^ *+' conftest.er1
>conftest.err
19875 cat conftest.err
>&5
19876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19877 (exit $ac_status); } &&
19878 { ac_try
='test -z "$ac_c_werror_flag"
19879 || test ! -s conftest.err'
19880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19881 (eval $ac_try) 2>&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); }; } &&
19885 { ac_try
='test -s conftest$ac_exeext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19891 ac_cv_func_connect
=yes
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.
$ac_ext >&5
19896 ac_cv_func_connect
=no
19898 rm -f conftest.err conftest.
$ac_objext \
19899 conftest
$ac_exeext conftest.
$ac_ext
19901 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
19902 echo "${ECHO_T}$ac_cv_func_connect" >&6
19904 if test $ac_cv_func_connect = no
; then
19905 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19906 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19907 if test "${ac_cv_lib_socket_connect+set}" = set; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19910 ac_check_lib_save_LIBS
=$LIBS
19911 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19912 if test x
$gcc_no_link = xyes
; then
19913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19915 { (exit 1); exit 1; }; }
19917 cat >conftest.
$ac_ext <<_ACEOF
19920 cat confdefs.h
>>conftest.
$ac_ext
19921 cat >>conftest.
$ac_ext <<_ACEOF
19922 /* end confdefs.h. */
19924 /* Override any gcc2 internal prototype to avoid an error. */
19928 /* We use char because int might match the return type of a gcc2
19929 builtin and then its argument prototype would still apply. */
19939 rm -f conftest.
$ac_objext conftest
$ac_exeext
19940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19941 (eval $ac_link) 2>conftest.er1
19943 grep -v '^ *+' conftest.er1
>conftest.err
19945 cat conftest.err
>&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } &&
19948 { ac_try
='test -z "$ac_c_werror_flag"
19949 || test ! -s conftest.err'
19950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19951 (eval $ac_try) 2>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; } &&
19955 { ac_try
='test -s conftest$ac_exeext'
19956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19957 (eval $ac_try) 2>&5
19959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19960 (exit $ac_status); }; }; then
19961 ac_cv_lib_socket_connect
=yes
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.
$ac_ext >&5
19966 ac_cv_lib_socket_connect
=no
19968 rm -f conftest.err conftest.
$ac_objext \
19969 conftest
$ac_exeext conftest.
$ac_ext
19970 LIBS
=$ac_check_lib_save_LIBS
19972 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19973 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
19974 if test $ac_cv_lib_socket_connect = yes; then
19975 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19980 # Guillermo Gomez says -lposix is necessary on A/UX.
19981 echo "$as_me:$LINENO: checking for remove" >&5
19982 echo $ECHO_N "checking for remove... $ECHO_C" >&6
19983 if test "${ac_cv_func_remove+set}" = set; then
19984 echo $ECHO_N "(cached) $ECHO_C" >&6
19986 if test x
$gcc_no_link = xyes
; then
19987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19989 { (exit 1); exit 1; }; }
19991 cat >conftest.
$ac_ext <<_ACEOF
19994 cat confdefs.h
>>conftest.
$ac_ext
19995 cat >>conftest.
$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
19998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19999 #define remove innocuous_remove
20001 /* System header to define __stub macros and hopefully few prototypes,
20002 which can conflict with char remove (); below.
20003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20004 <limits.h> exists even on freestanding compilers. */
20007 # include <limits.h>
20009 # include <assert.h>
20014 /* Override any gcc2 internal prototype to avoid an error. */
20019 /* We use char because int might match the return type of a gcc2
20020 builtin and then its argument prototype would still apply. */
20022 /* The GNU C library defines this for functions which it implements
20023 to always fail with ENOSYS. Some functions are actually named
20024 something starting with __ and the normal name is an alias. */
20025 #if defined (__stub_remove) || defined (__stub___remove)
20028 char (*f) () = remove;
20037 return f != remove;
20042 rm -f conftest.
$ac_objext conftest
$ac_exeext
20043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20044 (eval $ac_link) 2>conftest.er1
20046 grep -v '^ *+' conftest.er1
>conftest.err
20048 cat conftest.err
>&5
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); } &&
20051 { ac_try
='test -z "$ac_c_werror_flag"
20052 || test ! -s conftest.err'
20053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20054 (eval $ac_try) 2>&5
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); }; } &&
20058 { ac_try
='test -s conftest$ac_exeext'
20059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20060 (eval $ac_try) 2>&5
20062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063 (exit $ac_status); }; }; then
20064 ac_cv_func_remove
=yes
20066 echo "$as_me: failed program was:" >&5
20067 sed 's/^/| /' conftest.
$ac_ext >&5
20069 ac_cv_func_remove
=no
20071 rm -f conftest.err conftest.
$ac_objext \
20072 conftest
$ac_exeext conftest.
$ac_ext
20074 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20075 echo "${ECHO_T}$ac_cv_func_remove" >&6
20077 if test $ac_cv_func_remove = no
; then
20078 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20079 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20080 if test "${ac_cv_lib_posix_remove+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20083 ac_check_lib_save_LIBS
=$LIBS
20084 LIBS
="-lposix $LIBS"
20085 if test x
$gcc_no_link = xyes
; then
20086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20088 { (exit 1); exit 1; }; }
20090 cat >conftest.
$ac_ext <<_ACEOF
20093 cat confdefs.h
>>conftest.
$ac_ext
20094 cat >>conftest.
$ac_ext <<_ACEOF
20095 /* end confdefs.h. */
20097 /* Override any gcc2 internal prototype to avoid an error. */
20101 /* We use char because int might match the return type of a gcc2
20102 builtin and then its argument prototype would still apply. */
20112 rm -f conftest.
$ac_objext conftest
$ac_exeext
20113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20114 (eval $ac_link) 2>conftest.er1
20116 grep -v '^ *+' conftest.er1
>conftest.err
20118 cat conftest.err
>&5
20119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 (exit $ac_status); } &&
20121 { ac_try
='test -z "$ac_c_werror_flag"
20122 || test ! -s conftest.err'
20123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20124 (eval $ac_try) 2>&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); }; } &&
20128 { ac_try
='test -s conftest$ac_exeext'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; }; then
20134 ac_cv_lib_posix_remove
=yes
20136 echo "$as_me: failed program was:" >&5
20137 sed 's/^/| /' conftest.
$ac_ext >&5
20139 ac_cv_lib_posix_remove
=no
20141 rm -f conftest.err conftest.
$ac_objext \
20142 conftest
$ac_exeext conftest.
$ac_ext
20143 LIBS
=$ac_check_lib_save_LIBS
20145 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20146 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20147 if test $ac_cv_lib_posix_remove = yes; then
20148 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20153 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20154 echo "$as_me:$LINENO: checking for shmat" >&5
20155 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20156 if test "${ac_cv_func_shmat+set}" = set; then
20157 echo $ECHO_N "(cached) $ECHO_C" >&6
20159 if test x
$gcc_no_link = xyes
; then
20160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20162 { (exit 1); exit 1; }; }
20164 cat >conftest.
$ac_ext <<_ACEOF
20167 cat confdefs.h
>>conftest.
$ac_ext
20168 cat >>conftest.
$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20172 #define shmat innocuous_shmat
20174 /* System header to define __stub macros and hopefully few prototypes,
20175 which can conflict with char shmat (); below.
20176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20177 <limits.h> exists even on freestanding compilers. */
20180 # include <limits.h>
20182 # include <assert.h>
20187 /* Override any gcc2 internal prototype to avoid an error. */
20192 /* We use char because int might match the return type of a gcc2
20193 builtin and then its argument prototype would still apply. */
20195 /* The GNU C library defines this for functions which it implements
20196 to always fail with ENOSYS. Some functions are actually named
20197 something starting with __ and the normal name is an alias. */
20198 #if defined (__stub_shmat) || defined (__stub___shmat)
20201 char (*f) () = shmat;
20215 rm -f conftest.
$ac_objext conftest
$ac_exeext
20216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20217 (eval $ac_link) 2>conftest.er1
20219 grep -v '^ *+' conftest.er1
>conftest.err
20221 cat conftest.err
>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } &&
20224 { ac_try
='test -z "$ac_c_werror_flag"
20225 || test ! -s conftest.err'
20226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20227 (eval $ac_try) 2>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); }; } &&
20231 { ac_try
='test -s conftest$ac_exeext'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; }; then
20237 ac_cv_func_shmat
=yes
20239 echo "$as_me: failed program was:" >&5
20240 sed 's/^/| /' conftest.
$ac_ext >&5
20242 ac_cv_func_shmat
=no
20244 rm -f conftest.err conftest.
$ac_objext \
20245 conftest
$ac_exeext conftest.
$ac_ext
20247 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20248 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20250 if test $ac_cv_func_shmat = no
; then
20251 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20252 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20253 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20254 echo $ECHO_N "(cached) $ECHO_C" >&6
20256 ac_check_lib_save_LIBS
=$LIBS
20258 if test x
$gcc_no_link = xyes
; then
20259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20261 { (exit 1); exit 1; }; }
20263 cat >conftest.
$ac_ext <<_ACEOF
20266 cat confdefs.h
>>conftest.
$ac_ext
20267 cat >>conftest.
$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20270 /* Override any gcc2 internal prototype to avoid an error. */
20274 /* We use char because int might match the return type of a gcc2
20275 builtin and then its argument prototype would still apply. */
20285 rm -f conftest.
$ac_objext conftest
$ac_exeext
20286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20287 (eval $ac_link) 2>conftest.er1
20289 grep -v '^ *+' conftest.er1
>conftest.err
20291 cat conftest.err
>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } &&
20294 { ac_try
='test -z "$ac_c_werror_flag"
20295 || test ! -s conftest.err'
20296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20297 (eval $ac_try) 2>&5
20299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20300 (exit $ac_status); }; } &&
20301 { ac_try
='test -s conftest$ac_exeext'
20302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20303 (eval $ac_try) 2>&5
20305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20306 (exit $ac_status); }; }; then
20307 ac_cv_lib_ipc_shmat
=yes
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.
$ac_ext >&5
20312 ac_cv_lib_ipc_shmat
=no
20314 rm -f conftest.err conftest.
$ac_objext \
20315 conftest
$ac_exeext conftest.
$ac_ext
20316 LIBS
=$ac_check_lib_save_LIBS
20318 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20319 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20320 if test $ac_cv_lib_ipc_shmat = yes; then
20321 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20327 # Check for libraries that X11R6 Xt/Xaw programs need.
20328 ac_save_LDFLAGS
=$LDFLAGS
20329 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20330 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20331 # check for ICE first), but we must link in the order -lSM -lICE or
20332 # we get undefined symbols. So assume we have SM if we have ICE.
20333 # These have to be linked with before -lX11, unlike the other
20334 # libraries we check for below, so use a different variable.
20335 # John Interrante, Karl Berry
20336 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20337 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20338 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20339 echo $ECHO_N "(cached) $ECHO_C" >&6
20341 ac_check_lib_save_LIBS
=$LIBS
20342 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20343 if test x
$gcc_no_link = xyes
; then
20344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20346 { (exit 1); exit 1; }; }
20348 cat >conftest.
$ac_ext <<_ACEOF
20351 cat confdefs.h
>>conftest.
$ac_ext
20352 cat >>conftest.
$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20355 /* Override any gcc2 internal prototype to avoid an error. */
20359 /* We use char because int might match the return type of a gcc2
20360 builtin and then its argument prototype would still apply. */
20361 char IceConnectionNumber ();
20365 IceConnectionNumber ();
20370 rm -f conftest.
$ac_objext conftest
$ac_exeext
20371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20372 (eval $ac_link) 2>conftest.er1
20374 grep -v '^ *+' conftest.er1
>conftest.err
20376 cat conftest.err
>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } &&
20379 { ac_try
='test -z "$ac_c_werror_flag"
20380 || test ! -s conftest.err'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; } &&
20386 { ac_try
='test -s conftest$ac_exeext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 ac_cv_lib_ICE_IceConnectionNumber
=yes
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.
$ac_ext >&5
20397 ac_cv_lib_ICE_IceConnectionNumber
=no
20399 rm -f conftest.err conftest.
$ac_objext \
20400 conftest
$ac_exeext conftest.
$ac_ext
20401 LIBS
=$ac_check_lib_save_LIBS
20403 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20404 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20405 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20406 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20409 LDFLAGS
=$ac_save_LDFLAGS
20414 # FIXME: this should be _libs on some hosts.
20417 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20420 # extra LD Flags which are required for targets
20423 # For now we have to disable it on darwin[8-9] because it slows down
20424 # the linking phase. A possible bug in ld?
20425 # on Darwin -single_module speeds up loading of the dynamic libraries.
20426 extra_ldflags_libjava
=-Wl,-single_module
20429 extra_gij_ldflags
=-Wl,-allow_stack_execute
20432 # Some of the ARM unwinder code is actually in libstdc++. We
20433 # could in principle replicate it in libgcj, but it's better to
20434 # have a dependency on libstdc++.
20435 extra_ldflags
='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20436 LIBSTDCXXSPEC
=-lstdc++
20437 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20447 # Allow the GC to be disabled. Can be useful when debugging.
20448 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
20449 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
20450 # Check whether --enable-java-gc or --disable-java-gc was given.
20451 if test "${enable_java_gc+set}" = set; then
20452 enableval
="$enable_java_gc"
20465 echo "$as_me:$LINENO: result: boehm" >&5
20466 echo "${ECHO_T}boehm" >&6
20467 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
20468 JC1GCSPEC
='-fuse-boehm-gc'
20469 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20470 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20473 # The POSIX thread support needs to know this.
20475 cat >>confdefs.h
<<\_ACEOF
20476 #define HAVE_BOEHM_GC 1
20481 echo "$as_me:$LINENO: result: none" >&5
20482 echo "${ECHO_T}none" >&6
20486 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
20487 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
20488 { (exit 1); exit 1; }; }
20497 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
20501 if test "$GC" = boehm
; then
20502 USING_BOEHMGC_TRUE
=
20503 USING_BOEHMGC_FALSE
='#'
20505 USING_BOEHMGC_TRUE
='#'
20506 USING_BOEHMGC_FALSE
=
20511 if test "$GC" = no
; then
20513 USING_NOGC_FALSE
='#'
20515 USING_NOGC_TRUE
='#'
20521 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
20522 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
20523 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20524 echo "$as_me:$LINENO: result: $THREADS" >&5
20525 echo "${ECHO_T}$THREADS" >&6
20528 no | none | single
)
20531 posix | posix95 | pthreads
)
20536 cat >>confdefs.h
<<\_ACEOF
20537 #define LINUX_THREADS 1
20545 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
20546 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
20547 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
20548 { (exit 1); exit 1; }; }
20551 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
20552 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
20553 { (exit 1); exit 1; }; }
20564 THREADSTARTFILESPEC
=
20569 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20571 *-*-freebsd[1234]*)
20572 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20573 # merely adds pthread_* functions) but it does have a -pthread switch
20574 # which is required at link-time to select -lc_r *instead* of -lc.
20575 THREADLDFLAGS
=-pthread
20576 # Don't set THREADSPEC here as might be expected since -pthread is
20577 # not processed when found within a spec file, it must come from
20578 # the command line. For now, the user must provide the -pthread
20579 # switch to link code compiled with gcj. In future, consider adding
20580 # support for weak references to pthread_* functions ala gthr.h API.
20581 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20584 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20585 # systems which support threads and -lpthread.
20586 THREADLDFLAGS
=-pthread
20587 THREADSPEC
=-lpthread
20589 alpha
*-dec-osf* | hppa
*-hp-hpux*)
20590 THREADCXXFLAGS
=-pthread
20591 # boehm-gc needs some functions from librt, so link that too.
20592 THREADLIBS
='-lpthread -lrt'
20593 THREADSPEC
='-lpthread -lrt'
20596 THREADLIBS
=-lpthread
20597 THREADSPEC
=-lpthread
20600 THREADH
=posix-threads.h
20601 # MIT pthreads doesn't seem to have the mutexattr functions.
20602 # But for now we don't check for it. We just assume you aren't
20603 # using MIT pthreads.
20605 cat >>confdefs.h
<<\_ACEOF
20606 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20610 # If we're using the Boehm GC, then we happen to know that it
20611 # defines _REENTRANT, so we don't bother. Eww.
20612 if test "$GC" != boehm
; then
20614 cat >>confdefs.h
<<\_ACEOF
20615 #define _REENTRANT 1
20620 cat >>confdefs.h
<<\_ACEOF
20621 #define _POSIX_PTHREAD_SEMANTICS 1
20627 THREADH
=win32-threads.h
20628 THREADCXXFLAGS
=-mthreads
20629 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20630 # But we do not want the executables created to be dependent on
20631 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20632 # exception handling contexts. The following kludge achieves this effect
20633 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20634 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20635 # A workaround is to explicitly use -mthreads while linking Java programs.
20636 # See PR libgcj/28263.
20638 # FIXME: In Java we are able to detect thread death at the end of
20639 # Thread.run() so we should be able to clean up the exception handling
20640 # contexts ourselves.
20641 THREADSTARTFILESPEC
='crtmt%O%s'
20645 THREADH
=no-threads.h
20648 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
20659 if test "$THREADS" = posix
; then
20660 USING_POSIX_THREADS_TRUE
=
20661 USING_POSIX_THREADS_FALSE
='#'
20663 USING_POSIX_THREADS_TRUE
='#'
20664 USING_POSIX_THREADS_FALSE
=
20669 if test "$THREADS" = win32
; then
20670 USING_WIN32_THREADS_TRUE
=
20671 USING_WIN32_THREADS_FALSE
='#'
20673 USING_WIN32_THREADS_TRUE
='#'
20674 USING_WIN32_THREADS_FALSE
=
20679 if test "$THREADS" = none
; then
20680 USING_NO_THREADS_TRUE
=
20681 USING_NO_THREADS_FALSE
='#'
20683 USING_NO_THREADS_TRUE
='#'
20684 USING_NO_THREADS_FALSE
=
20689 if test "$use_libgcj_bc" = yes; then
20690 USE_LIBGCJ_BC_TRUE
=
20691 USE_LIBGCJ_BC_FALSE
='#'
20693 USE_LIBGCJ_BC_TRUE
='#'
20694 USE_LIBGCJ_BC_FALSE
=
20698 if test -d sysdep
; then true
; else mkdir sysdep
; fi
20699 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20701 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20703 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20706 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
20707 if test "$use_libgcj_bc" = yes; then
20708 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
20713 # Hash synchronization is only useful with posix threads right now.
20714 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20715 HASH_SYNC_SPEC
=-fhash-synchronization
20717 cat >>confdefs.h
<<\_ACEOF
20718 #define JV_HASH_SYNCHRONIZATION 1
20726 if test "$GCC" = yes; then
20728 USING_GCC_FALSE
='#'
20735 # We're in the tree with gcc, and need to include some of its headers.
20736 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
20738 if test "x${with_newlib}" = "xyes"; then
20739 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20740 # may not work correctly, because the compiler may not be able to
20741 # link executables.
20743 # We assume newlib. This lets us hard-code the functions we know
20746 cat >>confdefs.h
<<\_ACEOF
20747 #define HAVE_MEMMOVE 1
20751 cat >>confdefs.h
<<\_ACEOF
20752 #define HAVE_MEMCPY 1
20756 cat >>confdefs.h
<<\_ACEOF
20757 #define HAVE_TIME 1
20761 cat >>confdefs.h
<<\_ACEOF
20762 #define HAVE_GMTIME_R 1
20766 cat >>confdefs.h
<<\_ACEOF
20767 #define HAVE_LOCALTIME_R 1
20771 cat >>confdefs.h
<<\_ACEOF
20772 #define HAVE_USLEEP_DECL 1
20775 # This is only for POSIX threads.
20777 cat >>confdefs.h
<<\_ACEOF
20778 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20782 # Assume we do not have getuid and friends.
20784 cat >>confdefs.h
<<\_ACEOF
20785 #define NO_GETUID 1
20820 for ac_func
in strerror_r
select fstat open fsync
sleep opendir \
20821 localtime_r getpwuid_r getcwd \
20822 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
20823 nl_langinfo setlocale \
20824 inet_pton uname inet_ntoa \
20825 getrlimit sigaction ftruncate mmap \
20828 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20829 echo "$as_me:$LINENO: checking for $ac_func" >&5
20830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20831 if eval "test \"\${$as_ac_var+set}\" = set"; then
20832 echo $ECHO_N "(cached) $ECHO_C" >&6
20834 if test x
$gcc_no_link = xyes
; then
20835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20837 { (exit 1); exit 1; }; }
20839 cat >conftest.
$ac_ext <<_ACEOF
20842 cat confdefs.h
>>conftest.
$ac_ext
20843 cat >>conftest.
$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20847 #define $ac_func innocuous_$ac_func
20849 /* System header to define __stub macros and hopefully few prototypes,
20850 which can conflict with char $ac_func (); below.
20851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20852 <limits.h> exists even on freestanding compilers. */
20855 # include <limits.h>
20857 # include <assert.h>
20862 /* Override any gcc2 internal prototype to avoid an error. */
20867 /* We use char because int might match the return type of a gcc2
20868 builtin and then its argument prototype would still apply. */
20870 /* The GNU C library defines this for functions which it implements
20871 to always fail with ENOSYS. Some functions are actually named
20872 something starting with __ and the normal name is an alias. */
20873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20876 char (*f) () = $ac_func;
20885 return f != $ac_func;
20890 rm -f conftest.
$ac_objext conftest
$ac_exeext
20891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20892 (eval $ac_link) 2>conftest.er1
20894 grep -v '^ *+' conftest.er1
>conftest.err
20896 cat conftest.err
>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try
='test -z "$ac_c_werror_flag"
20900 || test ! -s conftest.err'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; } &&
20906 { ac_try
='test -s conftest$ac_exeext'
20907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908 (eval $ac_try) 2>&5
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); }; }; then
20912 eval "$as_ac_var=yes"
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.
$ac_ext >&5
20917 eval "$as_ac_var=no"
20919 rm -f conftest.err conftest.
$ac_objext \
20920 conftest
$ac_exeext conftest.
$ac_ext
20922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20924 if test `eval echo '${'$as_ac_var'}'` = yes; then
20925 cat >>confdefs.h
<<_ACEOF
20926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20934 for ac_func
in inet_aton inet_addr
20936 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20937 echo "$as_me:$LINENO: checking for $ac_func" >&5
20938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20939 if eval "test \"\${$as_ac_var+set}\" = set"; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20942 if test x
$gcc_no_link = xyes
; then
20943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20945 { (exit 1); exit 1; }; }
20947 cat >conftest.
$ac_ext <<_ACEOF
20950 cat confdefs.h
>>conftest.
$ac_ext
20951 cat >>conftest.
$ac_ext <<_ACEOF
20952 /* end confdefs.h. */
20953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20955 #define $ac_func innocuous_$ac_func
20957 /* System header to define __stub macros and hopefully few prototypes,
20958 which can conflict with char $ac_func (); below.
20959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20960 <limits.h> exists even on freestanding compilers. */
20963 # include <limits.h>
20965 # include <assert.h>
20970 /* Override any gcc2 internal prototype to avoid an error. */
20975 /* We use char because int might match the return type of a gcc2
20976 builtin and then its argument prototype would still apply. */
20978 /* The GNU C library defines this for functions which it implements
20979 to always fail with ENOSYS. Some functions are actually named
20980 something starting with __ and the normal name is an alias. */
20981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20984 char (*f) () = $ac_func;
20993 return f != $ac_func;
20998 rm -f conftest.
$ac_objext conftest
$ac_exeext
20999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21000 (eval $ac_link) 2>conftest.er1
21002 grep -v '^ *+' conftest.er1
>conftest.err
21004 cat conftest.err
>&5
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); } &&
21007 { ac_try
='test -z "$ac_c_werror_flag"
21008 || test ! -s conftest.err'
21009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21010 (eval $ac_try) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); }; } &&
21014 { ac_try
='test -s conftest$ac_exeext'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; }; then
21020 eval "$as_ac_var=yes"
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.
$ac_ext >&5
21025 eval "$as_ac_var=no"
21027 rm -f conftest.err conftest.
$ac_objext \
21028 conftest
$ac_exeext conftest.
$ac_ext
21030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21032 if test `eval echo '${'$as_ac_var'}'` = yes; then
21033 cat >>confdefs.h
<<_ACEOF
21034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21043 for ac_header
in unistd.h dlfcn.h sys
/resource.h
21045 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21047 echo "$as_me:$LINENO: checking for $ac_header" >&5
21048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21055 # Is the header compilable?
21056 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21057 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21058 cat >conftest.
$ac_ext <<_ACEOF
21061 cat confdefs.h
>>conftest.
$ac_ext
21062 cat >>conftest.
$ac_ext <<_ACEOF
21063 /* end confdefs.h. */
21064 $ac_includes_default
21065 #include <$ac_header>
21067 rm -f conftest.
$ac_objext
21068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21069 (eval $ac_compile) 2>conftest.er1
21071 grep -v '^ *+' conftest.er1
>conftest.err
21073 cat conftest.err
>&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } &&
21076 { ac_try
='test -z "$ac_c_werror_flag"
21077 || test ! -s conftest.err'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; } &&
21083 { ac_try
='test -s conftest.$ac_objext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21089 ac_header_compiler
=yes
21091 echo "$as_me: failed program was:" >&5
21092 sed 's/^/| /' conftest.
$ac_ext >&5
21094 ac_header_compiler
=no
21096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21098 echo "${ECHO_T}$ac_header_compiler" >&6
21100 # Is the header present?
21101 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21102 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21103 cat >conftest.
$ac_ext <<_ACEOF
21106 cat confdefs.h
>>conftest.
$ac_ext
21107 cat >>conftest.
$ac_ext <<_ACEOF
21108 /* end confdefs.h. */
21109 #include <$ac_header>
21111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21114 grep -v '^ *+' conftest.er1
>conftest.err
21116 cat conftest.err
>&5
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); } >/dev
/null
; then
21119 if test -s conftest.err
; then
21120 ac_cpp_err
=$ac_c_preproc_warn_flag
21121 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21128 if test -z "$ac_cpp_err"; then
21129 ac_header_preproc
=yes
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.
$ac_ext >&5
21134 ac_header_preproc
=no
21136 rm -f conftest.err conftest.
$ac_ext
21137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21138 echo "${ECHO_T}$ac_header_preproc" >&6
21140 # So? What about this header?
21141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21143 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21144 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21146 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21147 ac_header_preproc
=yes
21150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21151 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21153 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21154 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21155 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21156 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21157 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21160 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21161 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21164 ## ---------------------------------- ##
21165 ## Report this to the libjava lists. ##
21166 ## ---------------------------------- ##
21169 sed "s/^/$as_me: WARNING: /" >&2
21172 echo "$as_me:$LINENO: checking for $ac_header" >&5
21173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21175 echo $ECHO_N "(cached) $ECHO_C" >&6
21177 eval "$as_ac_Header=\$ac_header_preproc"
21179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21184 cat >>confdefs.h
<<_ACEOF
21185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21192 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
21193 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
21194 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
21195 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
21196 echo $ECHO_N "(cached) $ECHO_C" >&6
21198 ac_check_lib_save_LIBS
=$LIBS
21200 if test x
$gcc_no_link = xyes
; then
21201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21203 { (exit 1); exit 1; }; }
21205 cat >conftest.
$ac_ext <<_ACEOF
21208 cat confdefs.h
>>conftest.
$ac_ext
21209 cat >>conftest.
$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21212 /* Override any gcc2 internal prototype to avoid an error. */
21216 /* We use char because int might match the return type of a gcc2
21217 builtin and then its argument prototype would still apply. */
21227 rm -f conftest.
$ac_objext conftest
$ac_exeext
21228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21229 (eval $ac_link) 2>conftest.er1
21231 grep -v '^ *+' conftest.er1
>conftest.err
21233 cat conftest.err
>&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } &&
21236 { ac_try
='test -z "$ac_c_werror_flag"
21237 || test ! -s conftest.err'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; } &&
21243 { ac_try
='test -s conftest$ac_exeext'
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; }; then
21249 ac_cv_lib_dl_dladdr
=yes
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.
$ac_ext >&5
21254 ac_cv_lib_dl_dladdr
=no
21256 rm -f conftest.err conftest.
$ac_objext \
21257 conftest
$ac_exeext conftest.
$ac_ext
21258 LIBS
=$ac_check_lib_save_LIBS
21260 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
21261 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
21262 if test $ac_cv_lib_dl_dladdr = yes; then
21265 cat >>confdefs.h
<<\_ACEOF
21266 #define HAVE_DLADDR 1
21271 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
21272 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
21273 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
21274 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 ac_check_lib_save_LIBS
=$LIBS
21278 if test x
$gcc_no_link = xyes
; then
21279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21281 { (exit 1); exit 1; }; }
21283 cat >conftest.
$ac_ext <<_ACEOF
21286 cat confdefs.h
>>conftest.
$ac_ext
21287 cat >>conftest.
$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21290 /* Override any gcc2 internal prototype to avoid an error. */
21294 /* We use char because int might match the return type of a gcc2
21295 builtin and then its argument prototype would still apply. */
21305 rm -f conftest.
$ac_objext conftest
$ac_exeext
21306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21307 (eval $ac_link) 2>conftest.er1
21309 grep -v '^ *+' conftest.er1
>conftest.err
21311 cat conftest.err
>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } &&
21314 { ac_try
='test -z "$ac_c_werror_flag"
21315 || test ! -s conftest.err'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; } &&
21321 { ac_try
='test -s conftest$ac_exeext'
21322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21323 (eval $ac_try) 2>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); }; }; then
21327 ac_cv_lib_dld_dladdr
=yes
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.
$ac_ext >&5
21332 ac_cv_lib_dld_dladdr
=no
21334 rm -f conftest.err conftest.
$ac_objext \
21335 conftest
$ac_exeext conftest.
$ac_ext
21336 LIBS
=$ac_check_lib_save_LIBS
21338 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
21339 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
21340 if test $ac_cv_lib_dld_dladdr = yes; then
21343 cat >>confdefs.h
<<\_ACEOF
21344 #define HAVE_DLADDR 1
21352 if test x
"$cross_compiling" = x
"no"; then
21353 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
21354 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
21355 if test "${ac_cv_file__proc_self_exe+set}" = set; then
21356 echo $ECHO_N "(cached) $ECHO_C" >&6
21358 test "$cross_compiling" = yes &&
21359 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21360 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21361 { (exit 1); exit 1; }; }
21362 if test -r "/proc/self/exe"; then
21363 ac_cv_file__proc_self_exe
=yes
21365 ac_cv_file__proc_self_exe
=no
21368 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
21369 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
21370 if test $ac_cv_file__proc_self_exe = yes; then
21372 cat >>confdefs.h
<<_ACEOF
21373 #define HAVE__PROC_SELF_EXE 1
21378 cat >>confdefs.h
<<\_ACEOF
21379 #define HAVE_PROC_SELF_EXE 1
21384 echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
21385 echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
21386 if test "${ac_cv_file__proc_self_maps+set}" = set; then
21387 echo $ECHO_N "(cached) $ECHO_C" >&6
21389 test "$cross_compiling" = yes &&
21390 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21391 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21392 { (exit 1); exit 1; }; }
21393 if test -r "/proc/self/maps"; then
21394 ac_cv_file__proc_self_maps
=yes
21396 ac_cv_file__proc_self_maps
=no
21399 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
21400 echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
21401 if test $ac_cv_file__proc_self_maps = yes; then
21403 cat >>confdefs.h
<<_ACEOF
21404 #define HAVE__PROC_SELF_MAPS 1
21409 cat >>confdefs.h
<<\_ACEOF
21410 #define HAVE_PROC_SELF_MAPS 1
21419 cat >>confdefs.h
<<\_ACEOF
21420 #define HAVE_PROC_SELF_EXE 1
21424 cat >>confdefs.h
<<\_ACEOF
21425 #define HAVE_PROC_SELF_MAPS 1
21433 if test "X$prefix" = "XNONE"; then
21434 acl_final_prefix
="$ac_default_prefix"
21436 acl_final_prefix
="$prefix"
21438 if test "X$exec_prefix" = "XNONE"; then
21439 acl_final_exec_prefix
='${prefix}'
21441 acl_final_exec_prefix
="$exec_prefix"
21443 acl_save_prefix
="$prefix"
21444 prefix
="$acl_final_prefix"
21445 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21446 prefix
="$acl_save_prefix"
21449 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21450 if test "${with_gnu_ld+set}" = set; then
21451 withval
="$with_gnu_ld"
21452 test "$withval" = no || with_gnu_ld
=yes
21456 # Prepare PATH_SEPARATOR.
21457 # The user is always right.
21458 if test "${PATH_SEPARATOR+set}" != set; then
21459 echo "#! /bin/sh" >conf$$.sh
21460 echo "exit 0" >>conf$$.sh
21462 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21470 if test "$GCC" = yes; then
21471 # Check if gcc -print-prog-name=ld gives a path.
21472 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21473 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
21476 # gcc leaves a trailing carriage return which upsets mingw
21477 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21479 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21482 # Accept absolute paths.
21483 [\\/]* |
[A-Za-z
]:[\\/]*)
21484 re_direlt
='/[^/][^/]*/\.\./'
21485 # Canonicalize the path of ld
21486 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21487 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21488 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21490 test -z "$LD" && LD
="$ac_prog"
21493 # If it fails, then pretend we aren't using GCC.
21497 # If it is relative, then search for the first ld in PATH.
21498 with_gnu_ld
=unknown
21501 elif test "$with_gnu_ld" = yes; then
21502 echo "$as_me:$LINENO: checking for GNU ld" >&5
21503 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
21505 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21506 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
21508 if test "${acl_cv_path_LD+set}" = set; then
21509 echo $ECHO_N "(cached) $ECHO_C" >&6
21511 if test -z "$LD"; then
21512 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21513 for ac_dir
in $PATH; do
21514 test -z "$ac_dir" && ac_dir
=.
21515 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21516 acl_cv_path_LD
="$ac_dir/$ac_prog"
21517 # Check to see if the program is GNU ld. I'd rather use --version,
21518 # but apparently some GNU ld's only accept -v.
21519 # Break only if it was the GNU/non-GNU ld that we prefer.
21520 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
21521 test "$with_gnu_ld" != no
&& break
21523 test "$with_gnu_ld" != yes && break
21529 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21533 LD
="$acl_cv_path_LD"
21534 if test -n "$LD"; then
21535 echo "$as_me:$LINENO: result: $LD" >&5
21536 echo "${ECHO_T}$LD" >&6
21538 echo "$as_me:$LINENO: result: no" >&5
21539 echo "${ECHO_T}no" >&6
21541 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21542 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21543 { (exit 1); exit 1; }; }
21544 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21545 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21546 if test "${acl_cv_prog_gnu_ld+set}" = set; then
21547 echo $ECHO_N "(cached) $ECHO_C" >&6
21549 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21550 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
21551 acl_cv_prog_gnu_ld
=yes
21553 acl_cv_prog_gnu_ld
=no
21556 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
21557 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
21558 with_gnu_ld
=$acl_cv_prog_gnu_ld
21562 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
21563 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
21564 if test "${acl_cv_rpath+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21568 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
21569 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21571 rm -f .
/conftest.sh
21575 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21576 echo "${ECHO_T}$acl_cv_rpath" >&6
21578 libext
="$acl_cv_libext"
21579 shlibext
="$acl_cv_shlibext"
21580 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
21581 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
21582 hardcode_direct
="$acl_cv_hardcode_direct"
21583 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
21584 # Check whether --enable-rpath or --disable-rpath was given.
21585 if test "${enable_rpath+set}" = set; then
21586 enableval
="$enable_rpath"
21600 acl_save_prefix
="$prefix"
21601 prefix
="$acl_final_prefix"
21602 acl_save_exec_prefix
="$exec_prefix"
21603 exec_prefix
="$acl_final_exec_prefix"
21605 eval additional_includedir
=\"$includedir\"
21606 eval additional_libdir
=\"$libdir\"
21608 exec_prefix
="$acl_save_exec_prefix"
21609 prefix
="$acl_save_prefix"
21612 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21613 if test "${with_libiconv_prefix+set}" = set; then
21614 withval
="$with_libiconv_prefix"
21616 if test "X$withval" = "Xno"; then
21619 if test "X$withval" = "X"; then
21621 acl_save_prefix
="$prefix"
21622 prefix
="$acl_final_prefix"
21623 acl_save_exec_prefix
="$exec_prefix"
21624 exec_prefix
="$acl_final_exec_prefix"
21626 eval additional_includedir
=\"$includedir\"
21627 eval additional_libdir
=\"$libdir\"
21629 exec_prefix
="$acl_save_exec_prefix"
21630 prefix
="$acl_save_prefix"
21633 additional_includedir
="$withval/include"
21634 additional_libdir
="$withval/lib"
21644 names_already_handled
=
21645 names_next_round
='iconv '
21646 while test -n "$names_next_round"; do
21647 names_this_round
="$names_next_round"
21649 for name
in $names_this_round; do
21651 for n
in $names_already_handled; do
21652 if test "$n" = "$name"; then
21653 already_handled
=yes
21657 if test -z "$already_handled"; then
21658 names_already_handled
="$names_already_handled $name"
21659 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21660 eval value
=\"\
$HAVE_LIB$uppername\"
21661 if test -n "$value"; then
21662 if test "$value" = yes; then
21663 eval value
=\"\
$LIB$uppername\"
21664 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21665 eval value
=\"\
$LTLIB$uppername\"
21666 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21675 if test $use_additional = yes; then
21676 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21677 found_dir
="$additional_libdir"
21678 found_so
="$additional_libdir/lib$name.$shlibext"
21679 if test -f "$additional_libdir/lib$name.la"; then
21680 found_la
="$additional_libdir/lib$name.la"
21683 if test -f "$additional_libdir/lib$name.$libext"; then
21684 found_dir
="$additional_libdir"
21685 found_a
="$additional_libdir/lib$name.$libext"
21686 if test -f "$additional_libdir/lib$name.la"; then
21687 found_la
="$additional_libdir/lib$name.la"
21692 if test "X$found_dir" = "X"; then
21693 for x
in $LDFLAGS $LTLIBICONV; do
21695 acl_save_prefix
="$prefix"
21696 prefix
="$acl_final_prefix"
21697 acl_save_exec_prefix
="$exec_prefix"
21698 exec_prefix
="$acl_final_exec_prefix"
21700 exec_prefix
="$acl_save_exec_prefix"
21701 prefix
="$acl_save_prefix"
21705 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21706 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21708 found_so
="$dir/lib$name.$shlibext"
21709 if test -f "$dir/lib$name.la"; then
21710 found_la
="$dir/lib$name.la"
21713 if test -f "$dir/lib$name.$libext"; then
21715 found_a
="$dir/lib$name.$libext"
21716 if test -f "$dir/lib$name.la"; then
21717 found_la
="$dir/lib$name.la"
21723 if test "X$found_dir" != "X"; then
21728 if test "X$found_dir" != "X"; then
21729 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21730 if test "X$found_so" != "X"; then
21731 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
21732 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21735 for x
in $ltrpathdirs; do
21736 if test "X$x" = "X$found_dir"; then
21741 if test -z "$haveit"; then
21742 ltrpathdirs
="$ltrpathdirs $found_dir"
21744 if test "$hardcode_direct" = yes; then
21745 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21747 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
21748 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21750 for x
in $rpathdirs; do
21751 if test "X$x" = "X$found_dir"; then
21756 if test -z "$haveit"; then
21757 rpathdirs
="$rpathdirs $found_dir"
21761 for x
in $LDFLAGS $LIBICONV; do
21763 acl_save_prefix
="$prefix"
21764 prefix
="$acl_final_prefix"
21765 acl_save_exec_prefix
="$exec_prefix"
21766 exec_prefix
="$acl_final_exec_prefix"
21768 exec_prefix
="$acl_save_exec_prefix"
21769 prefix
="$acl_save_prefix"
21771 if test "X$x" = "X-L$found_dir"; then
21776 if test -z "$haveit"; then
21777 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21779 if test "$hardcode_minus_L" != no
; then
21780 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21782 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21788 if test "X$found_a" != "X"; then
21789 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21791 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21794 additional_includedir
=
21795 case "$found_dir" in
21797 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
21798 additional_includedir
="$basedir/include"
21801 if test "X$additional_includedir" != "X"; then
21802 if test "X$additional_includedir" != "X/usr/include"; then
21804 if test "X$additional_includedir" = "X/usr/local/include"; then
21805 if test -n "$GCC"; then
21807 linux
*) haveit
=yes;;
21811 if test -z "$haveit"; then
21812 for x
in $CPPFLAGS $INCICONV; do
21814 acl_save_prefix
="$prefix"
21815 prefix
="$acl_final_prefix"
21816 acl_save_exec_prefix
="$exec_prefix"
21817 exec_prefix
="$acl_final_exec_prefix"
21819 exec_prefix
="$acl_save_exec_prefix"
21820 prefix
="$acl_save_prefix"
21822 if test "X$x" = "X-I$additional_includedir"; then
21827 if test -z "$haveit"; then
21828 if test -d "$additional_includedir"; then
21829 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21835 if test -n "$found_la"; then
21836 save_libdir
="$libdir"
21837 case "$found_la" in
21838 */* |
*\\*) .
"$found_la" ;;
21839 *) .
"./$found_la" ;;
21841 libdir
="$save_libdir"
21842 for dep
in $dependency_libs; do
21845 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21846 if test "X$additional_libdir" != "X/usr/lib"; then
21848 if test "X$additional_libdir" = "X/usr/local/lib"; then
21849 if test -n "$GCC"; then
21851 linux
*) haveit
=yes;;
21855 if test -z "$haveit"; then
21857 for x
in $LDFLAGS $LIBICONV; do
21859 acl_save_prefix
="$prefix"
21860 prefix
="$acl_final_prefix"
21861 acl_save_exec_prefix
="$exec_prefix"
21862 exec_prefix
="$acl_final_exec_prefix"
21864 exec_prefix
="$acl_save_exec_prefix"
21865 prefix
="$acl_save_prefix"
21867 if test "X$x" = "X-L$additional_libdir"; then
21872 if test -z "$haveit"; then
21873 if test -d "$additional_libdir"; then
21874 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21878 for x
in $LDFLAGS $LTLIBICONV; do
21880 acl_save_prefix
="$prefix"
21881 prefix
="$acl_final_prefix"
21882 acl_save_exec_prefix
="$exec_prefix"
21883 exec_prefix
="$acl_final_exec_prefix"
21885 exec_prefix
="$acl_save_exec_prefix"
21886 prefix
="$acl_save_prefix"
21888 if test "X$x" = "X-L$additional_libdir"; then
21893 if test -z "$haveit"; then
21894 if test -d "$additional_libdir"; then
21895 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21902 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21903 if test "$enable_rpath" != no
; then
21905 for x
in $rpathdirs; do
21906 if test "X$x" = "X$dir"; then
21911 if test -z "$haveit"; then
21912 rpathdirs
="$rpathdirs $dir"
21915 for x
in $ltrpathdirs; do
21916 if test "X$x" = "X$dir"; then
21921 if test -z "$haveit"; then
21922 ltrpathdirs
="$ltrpathdirs $dir"
21927 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21930 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21933 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21934 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21940 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21941 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21947 if test "X$rpathdirs" != "X"; then
21948 if test -n "$hardcode_libdir_separator"; then
21950 for found_dir
in $rpathdirs; do
21951 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21953 acl_save_libdir
="$libdir"
21955 eval flag
=\"$hardcode_libdir_flag_spec\"
21956 libdir
="$acl_save_libdir"
21957 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21959 for found_dir
in $rpathdirs; do
21960 acl_save_libdir
="$libdir"
21961 libdir
="$found_dir"
21962 eval flag
=\"$hardcode_libdir_flag_spec\"
21963 libdir
="$acl_save_libdir"
21964 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21968 if test "X$ltrpathdirs" != "X"; then
21969 for found_dir
in $ltrpathdirs; do
21970 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21980 am_save_CPPFLAGS
="$CPPFLAGS"
21982 for element
in $INCICONV; do
21984 for x
in $CPPFLAGS; do
21986 acl_save_prefix
="$prefix"
21987 prefix
="$acl_final_prefix"
21988 acl_save_exec_prefix
="$exec_prefix"
21989 exec_prefix
="$acl_final_exec_prefix"
21991 exec_prefix
="$acl_save_exec_prefix"
21992 prefix
="$acl_save_prefix"
21994 if test "X$x" = "X$element"; then
21999 if test -z "$haveit"; then
22000 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22005 echo "$as_me:$LINENO: checking for iconv" >&5
22006 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22007 if test "${am_cv_func_iconv+set}" = set; then
22008 echo $ECHO_N "(cached) $ECHO_C" >&6
22011 am_cv_func_iconv
="no, consider installing GNU libiconv"
22013 if test x
$gcc_no_link = xyes
; then
22014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22016 { (exit 1); exit 1; }; }
22018 cat >conftest.
$ac_ext <<_ACEOF
22021 cat confdefs.h
>>conftest.
$ac_ext
22022 cat >>conftest.
$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 #include <stdlib.h>
22029 iconv_t cd = iconv_open("","");
22030 iconv(cd,NULL,NULL,NULL,NULL);
22036 rm -f conftest.
$ac_objext conftest
$ac_exeext
22037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22038 (eval $ac_link) 2>conftest.er1
22040 grep -v '^ *+' conftest.er1
>conftest.err
22042 cat conftest.err
>&5
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); } &&
22045 { ac_try
='test -z "$ac_c_werror_flag"
22046 || test ! -s conftest.err'
22047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22048 (eval $ac_try) 2>&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); }; } &&
22052 { ac_try
='test -s conftest$ac_exeext'
22053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22054 (eval $ac_try) 2>&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); }; }; then
22058 am_cv_func_iconv
=yes
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.
$ac_ext >&5
22064 rm -f conftest.err conftest.
$ac_objext \
22065 conftest
$ac_exeext conftest.
$ac_ext
22066 if test "$am_cv_func_iconv" != yes; then
22067 am_save_LIBS
="$LIBS"
22068 LIBS
="$LIBS $LIBICONV"
22069 if test x
$gcc_no_link = xyes
; then
22070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22072 { (exit 1); exit 1; }; }
22074 cat >conftest.
$ac_ext <<_ACEOF
22077 cat confdefs.h
>>conftest.
$ac_ext
22078 cat >>conftest.
$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22080 #include <stdlib.h>
22085 iconv_t cd = iconv_open("","");
22086 iconv(cd,NULL,NULL,NULL,NULL);
22092 rm -f conftest.
$ac_objext conftest
$ac_exeext
22093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22094 (eval $ac_link) 2>conftest.er1
22096 grep -v '^ *+' conftest.er1
>conftest.err
22098 cat conftest.err
>&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } &&
22101 { ac_try
='test -z "$ac_c_werror_flag"
22102 || test ! -s conftest.err'
22103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22104 (eval $ac_try) 2>&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); }; } &&
22108 { ac_try
='test -s conftest$ac_exeext'
22109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22110 (eval $ac_try) 2>&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); }; }; then
22114 am_cv_lib_iconv
=yes
22115 am_cv_func_iconv
=yes
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.
$ac_ext >&5
22121 rm -f conftest.err conftest.
$ac_objext \
22122 conftest
$ac_exeext conftest.
$ac_ext
22123 LIBS
="$am_save_LIBS"
22127 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22128 echo "${ECHO_T}$am_cv_func_iconv" >&6
22129 if test "$am_cv_func_iconv" = yes; then
22131 cat >>confdefs.h
<<\_ACEOF
22132 #define HAVE_ICONV 1
22136 if test "$am_cv_lib_iconv" = yes; then
22137 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22138 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
22139 echo "$as_me:$LINENO: result: $LIBICONV" >&5
22140 echo "${ECHO_T}$LIBICONV" >&6
22142 CPPFLAGS
="$am_save_CPPFLAGS"
22149 if test "$am_cv_func_iconv" = yes; then
22150 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22151 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22152 if test "${am_cv_proto_iconv+set}" = set; then
22153 echo $ECHO_N "(cached) $ECHO_C" >&6
22156 cat >conftest.
$ac_ext <<_ACEOF
22159 cat confdefs.h
>>conftest.
$ac_ext
22160 cat >>conftest.
$ac_ext <<_ACEOF
22161 /* end confdefs.h. */
22163 #include <stdlib.h>
22169 #if defined(__STDC__) || defined(__cplusplus)
22170 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22183 rm -f conftest.
$ac_objext
22184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22185 (eval $ac_compile) 2>conftest.er1
22187 grep -v '^ *+' conftest.er1
>conftest.err
22189 cat conftest.err
>&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); } &&
22192 { ac_try
='test -z "$ac_c_werror_flag"
22193 || test ! -s conftest.err'
22194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22195 (eval $ac_try) 2>&5
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); }; } &&
22199 { ac_try
='test -s conftest.$ac_objext'
22200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22201 (eval $ac_try) 2>&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); }; }; then
22205 am_cv_proto_iconv_arg1
=""
22207 echo "$as_me: failed program was:" >&5
22208 sed 's/^/| /' conftest.
$ac_ext >&5
22210 am_cv_proto_iconv_arg1
="const"
22212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22213 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);"
22216 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22217 echo "$as_me:$LINENO: result: ${ac_t:-
22218 }$am_cv_proto_iconv" >&5
22219 echo "${ECHO_T}${ac_t:-
22220 }$am_cv_proto_iconv" >&6
22222 cat >>confdefs.h
<<_ACEOF
22223 #define ICONV_CONST $am_cv_proto_iconv_arg1
22229 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22230 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22231 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22232 echo $ECHO_N "(cached) $ECHO_C" >&6
22234 if test x
$gcc_no_link = xyes
; then
22235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22237 { (exit 1); exit 1; }; }
22239 cat >conftest.
$ac_ext <<_ACEOF
22242 cat confdefs.h
>>conftest.
$ac_ext
22243 cat >>conftest.
$ac_ext <<_ACEOF
22244 /* end confdefs.h. */
22245 #include <locale.h>
22254 rm -f conftest.
$ac_objext conftest
$ac_exeext
22255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22256 (eval $ac_link) 2>conftest.er1
22258 grep -v '^ *+' conftest.er1
>conftest.err
22260 cat conftest.err
>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); } &&
22263 { ac_try
='test -z "$ac_c_werror_flag"
22264 || test ! -s conftest.err'
22265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22266 (eval $ac_try) 2>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); }; } &&
22270 { ac_try
='test -s conftest$ac_exeext'
22271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22272 (eval $ac_try) 2>&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); }; }; then
22276 am_cv_val_LC_MESSAGES
=yes
22278 echo "$as_me: failed program was:" >&5
22279 sed 's/^/| /' conftest.
$ac_ext >&5
22281 am_cv_val_LC_MESSAGES
=no
22283 rm -f conftest.err conftest.
$ac_objext \
22284 conftest
$ac_exeext conftest.
$ac_ext
22286 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22287 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
22288 if test $am_cv_val_LC_MESSAGES = yes; then
22290 cat >>confdefs.h
<<\_ACEOF
22291 #define HAVE_LC_MESSAGES 1
22296 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22297 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22298 if test "${ac_cv_struct_tm+set}" = set; then
22299 echo $ECHO_N "(cached) $ECHO_C" >&6
22301 cat >conftest.
$ac_ext <<_ACEOF
22304 cat confdefs.h
>>conftest.
$ac_ext
22305 cat >>conftest.
$ac_ext <<_ACEOF
22306 /* end confdefs.h. */
22307 #include <sys/types.h>
22313 struct tm *tp; tp->tm_sec;
22318 rm -f conftest.
$ac_objext
22319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22320 (eval $ac_compile) 2>conftest.er1
22322 grep -v '^ *+' conftest.er1
>conftest.err
22324 cat conftest.err
>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } &&
22327 { ac_try
='test -z "$ac_c_werror_flag"
22328 || test ! -s conftest.err'
22329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22330 (eval $ac_try) 2>&5
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); }; } &&
22334 { ac_try
='test -s conftest.$ac_objext'
22335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22336 (eval $ac_try) 2>&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); }; }; then
22340 ac_cv_struct_tm
=time.h
22342 echo "$as_me: failed program was:" >&5
22343 sed 's/^/| /' conftest.
$ac_ext >&5
22345 ac_cv_struct_tm
=sys
/time.h
22347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22349 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22350 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22351 if test $ac_cv_struct_tm = sys
/time.h
; then
22353 cat >>confdefs.h
<<\_ACEOF
22354 #define TM_IN_SYS_TIME 1
22359 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
22360 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
22361 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
22362 echo $ECHO_N "(cached) $ECHO_C" >&6
22364 cat >conftest.
$ac_ext <<_ACEOF
22367 cat confdefs.h
>>conftest.
$ac_ext
22368 cat >>conftest.
$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22370 #include <sys/types.h>
22371 #include <$ac_cv_struct_tm>
22377 static struct tm ac_aggr;
22378 if (ac_aggr.tm_zone)
22384 rm -f conftest.
$ac_objext
22385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22386 (eval $ac_compile) 2>conftest.er1
22388 grep -v '^ *+' conftest.er1
>conftest.err
22390 cat conftest.err
>&5
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); } &&
22393 { ac_try
='test -z "$ac_c_werror_flag"
22394 || test ! -s conftest.err'
22395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22396 (eval $ac_try) 2>&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); }; } &&
22400 { ac_try
='test -s conftest.$ac_objext'
22401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22402 (eval $ac_try) 2>&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); }; }; then
22406 ac_cv_member_struct_tm_tm_zone
=yes
22408 echo "$as_me: failed program was:" >&5
22409 sed 's/^/| /' conftest.
$ac_ext >&5
22411 cat >conftest.
$ac_ext <<_ACEOF
22414 cat confdefs.h
>>conftest.
$ac_ext
22415 cat >>conftest.
$ac_ext <<_ACEOF
22416 /* end confdefs.h. */
22417 #include <sys/types.h>
22418 #include <$ac_cv_struct_tm>
22424 static struct tm ac_aggr;
22425 if (sizeof ac_aggr.tm_zone)
22431 rm -f conftest.
$ac_objext
22432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22433 (eval $ac_compile) 2>conftest.er1
22435 grep -v '^ *+' conftest.er1
>conftest.err
22437 cat conftest.err
>&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); } &&
22440 { ac_try
='test -z "$ac_c_werror_flag"
22441 || test ! -s conftest.err'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; } &&
22447 { ac_try
='test -s conftest.$ac_objext'
22448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22449 (eval $ac_try) 2>&5
22451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22452 (exit $ac_status); }; }; then
22453 ac_cv_member_struct_tm_tm_zone
=yes
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.
$ac_ext >&5
22458 ac_cv_member_struct_tm_tm_zone
=no
22460 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22462 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22464 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
22465 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
22466 if test $ac_cv_member_struct_tm_tm_zone = yes; then
22468 cat >>confdefs.h
<<_ACEOF
22469 #define HAVE_STRUCT_TM_TM_ZONE 1
22475 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
22477 cat >>confdefs.h
<<\_ACEOF
22478 #define HAVE_TM_ZONE 1
22482 echo "$as_me:$LINENO: checking for tzname" >&5
22483 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
22484 if test "${ac_cv_var_tzname+set}" = set; then
22485 echo $ECHO_N "(cached) $ECHO_C" >&6
22487 if test x
$gcc_no_link = xyes
; then
22488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22490 { (exit 1); exit 1; }; }
22492 cat >conftest.
$ac_ext <<_ACEOF
22495 cat confdefs.h
>>conftest.
$ac_ext
22496 cat >>conftest.
$ac_ext <<_ACEOF
22497 /* end confdefs.h. */
22499 #ifndef tzname /* For SGI. */
22500 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
22511 rm -f conftest.
$ac_objext conftest
$ac_exeext
22512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22513 (eval $ac_link) 2>conftest.er1
22515 grep -v '^ *+' conftest.er1
>conftest.err
22517 cat conftest.err
>&5
22518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519 (exit $ac_status); } &&
22520 { ac_try
='test -z "$ac_c_werror_flag"
22521 || test ! -s conftest.err'
22522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523 (eval $ac_try) 2>&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); }; } &&
22527 { ac_try
='test -s conftest$ac_exeext'
22528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529 (eval $ac_try) 2>&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; }; then
22533 ac_cv_var_tzname
=yes
22535 echo "$as_me: failed program was:" >&5
22536 sed 's/^/| /' conftest.
$ac_ext >&5
22538 ac_cv_var_tzname
=no
22540 rm -f conftest.err conftest.
$ac_objext \
22541 conftest
$ac_exeext conftest.
$ac_ext
22543 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
22544 echo "${ECHO_T}$ac_cv_var_tzname" >&6
22545 if test $ac_cv_var_tzname = yes; then
22547 cat >>confdefs.h
<<\_ACEOF
22548 #define HAVE_TZNAME 1
22556 for ac_func
in gethostbyname_r
22558 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22559 echo "$as_me:$LINENO: checking for $ac_func" >&5
22560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22561 if eval "test \"\${$as_ac_var+set}\" = set"; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22564 if test x
$gcc_no_link = xyes
; then
22565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22567 { (exit 1); exit 1; }; }
22569 cat >conftest.
$ac_ext <<_ACEOF
22572 cat confdefs.h
>>conftest.
$ac_ext
22573 cat >>conftest.
$ac_ext <<_ACEOF
22574 /* end confdefs.h. */
22575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22577 #define $ac_func innocuous_$ac_func
22579 /* System header to define __stub macros and hopefully few prototypes,
22580 which can conflict with char $ac_func (); below.
22581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22582 <limits.h> exists even on freestanding compilers. */
22585 # include <limits.h>
22587 # include <assert.h>
22592 /* Override any gcc2 internal prototype to avoid an error. */
22597 /* We use char because int might match the return type of a gcc2
22598 builtin and then its argument prototype would still apply. */
22600 /* The GNU C library defines this for functions which it implements
22601 to always fail with ENOSYS. Some functions are actually named
22602 something starting with __ and the normal name is an alias. */
22603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22606 char (*f) () = $ac_func;
22615 return f != $ac_func;
22620 rm -f conftest.
$ac_objext conftest
$ac_exeext
22621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22622 (eval $ac_link) 2>conftest.er1
22624 grep -v '^ *+' conftest.er1
>conftest.err
22626 cat conftest.err
>&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } &&
22629 { ac_try
='test -z "$ac_c_werror_flag"
22630 || test ! -s conftest.err'
22631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22632 (eval $ac_try) 2>&5
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); }; } &&
22636 { ac_try
='test -s conftest$ac_exeext'
22637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22638 (eval $ac_try) 2>&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); }; }; then
22642 eval "$as_ac_var=yes"
22644 echo "$as_me: failed program was:" >&5
22645 sed 's/^/| /' conftest.
$ac_ext >&5
22647 eval "$as_ac_var=no"
22649 rm -f conftest.err conftest.
$ac_objext \
22650 conftest
$ac_exeext conftest.
$ac_ext
22652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22654 if test `eval echo '${'$as_ac_var'}'` = yes; then
22655 cat >>confdefs.h
<<_ACEOF
22656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22660 cat >>confdefs.h
<<\_ACEOF
22661 #define HAVE_GETHOSTBYNAME_R 1
22664 # There are two different kinds of gethostbyname_r.
22665 # We look for the one that returns `int'.
22666 # Hopefully this check is robust enough.
22667 cat >conftest.
$ac_ext <<_ACEOF
22670 cat confdefs.h
>>conftest.
$ac_ext
22671 cat >>conftest.
$ac_ext <<_ACEOF
22672 /* end confdefs.h. */
22676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22677 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
22680 cat >>confdefs.h
<<\_ACEOF
22681 #define GETHOSTBYNAME_R_RETURNS_INT 1
22688 case " $GCINCS " in
22689 *" -D_REENTRANT "*) ;;
22691 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22692 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
22693 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
22694 echo $ECHO_N "(cached) $ECHO_C" >&6
22697 ac_cpp
='$CXXCPP $CPPFLAGS'
22698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22702 cat >conftest.
$ac_ext <<_ACEOF
22705 cat confdefs.h
>>conftest.
$ac_ext
22706 cat >>conftest.
$ac_ext <<_ACEOF
22707 /* end confdefs.h. */
22712 gethostbyname_r("", 0, 0);
22717 rm -f conftest.
$ac_objext
22718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22719 (eval $ac_compile) 2>conftest.er1
22721 grep -v '^ *+' conftest.er1
>conftest.err
22723 cat conftest.err
>&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } &&
22726 { ac_try
='test -z "$ac_cxx_werror_flag"
22727 || test ! -s conftest.err'
22728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22729 (eval $ac_try) 2>&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); }; } &&
22733 { ac_try
='test -s conftest.$ac_objext'
22734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22735 (eval $ac_try) 2>&5
22737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22738 (exit $ac_status); }; }; then
22739 libjava_cv_gethostbyname_r_needs_reentrant
=no
22741 echo "$as_me: failed program was:" >&5
22742 sed 's/^/| /' conftest.
$ac_ext >&5
22744 CPPFLAGS_SAVE
="$CPPFLAGS"
22745 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
22746 cat >conftest.
$ac_ext <<_ACEOF
22749 cat confdefs.h
>>conftest.
$ac_ext
22750 cat >>conftest.
$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22756 gethostbyname_r("", 0, 0);
22761 rm -f conftest.
$ac_objext
22762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22763 (eval $ac_compile) 2>conftest.er1
22765 grep -v '^ *+' conftest.er1
>conftest.err
22767 cat conftest.err
>&5
22768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22769 (exit $ac_status); } &&
22770 { ac_try
='test -z "$ac_cxx_werror_flag"
22771 || test ! -s conftest.err'
22772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22773 (eval $ac_try) 2>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); }; } &&
22777 { ac_try
='test -s conftest.$ac_objext'
22778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779 (eval $ac_try) 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 libjava_cv_gethostbyname_r_needs_reentrant
=yes
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.
$ac_ext >&5
22788 libjava_cv_gethostbyname_r_needs_reentrant
=fail
22790 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22791 CPPFLAGS
="$CPPFLAGS_SAVE"
22794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22796 ac_cpp
='$CPP $CPPFLAGS'
22797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22803 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22804 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
22805 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
22807 cat >>confdefs.h
<<\_ACEOF
22808 #define _REENTRANT 1
22815 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
22816 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
22817 if test "${libjava_cv_struct_hostent_data+set}" = set; then
22818 echo $ECHO_N "(cached) $ECHO_C" >&6
22820 cat >conftest.
$ac_ext <<_ACEOF
22823 cat confdefs.h
>>conftest.
$ac_ext
22824 cat >>conftest.
$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22827 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22828 # define _REENTRANT 1
22834 struct hostent_data data;
22839 rm -f conftest.
$ac_objext
22840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22841 (eval $ac_compile) 2>conftest.er1
22843 grep -v '^ *+' conftest.er1
>conftest.err
22845 cat conftest.err
>&5
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); } &&
22848 { ac_try
='test -z "$ac_c_werror_flag"
22849 || test ! -s conftest.err'
22850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22851 (eval $ac_try) 2>&5
22853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22854 (exit $ac_status); }; } &&
22855 { ac_try
='test -s conftest.$ac_objext'
22856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22857 (eval $ac_try) 2>&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); }; }; then
22861 libjava_cv_struct_hostent_data
=yes
22863 echo "$as_me: failed program was:" >&5
22864 sed 's/^/| /' conftest.
$ac_ext >&5
22866 libjava_cv_struct_hostent_data
=no
22868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22870 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
22871 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
22872 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
22874 cat >>confdefs.h
<<\_ACEOF
22875 #define HAVE_STRUCT_HOSTENT_DATA 1
22884 # FIXME: libjava source code expects to find a prototype for
22885 # gethostbyaddr_r in netdb.h. The outer check ensures that
22886 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22887 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22888 # linkage check is enough, yet C++ code requires proper prototypes.)
22889 cat >conftest.
$ac_ext <<_ACEOF
22892 cat confdefs.h
>>conftest.
$ac_ext
22893 cat >>conftest.
$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22899 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
22902 for ac_func
in gethostbyaddr_r
22904 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22905 echo "$as_me:$LINENO: checking for $ac_func" >&5
22906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22907 if eval "test \"\${$as_ac_var+set}\" = set"; then
22908 echo $ECHO_N "(cached) $ECHO_C" >&6
22910 if test x
$gcc_no_link = xyes
; then
22911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22913 { (exit 1); exit 1; }; }
22915 cat >conftest.
$ac_ext <<_ACEOF
22918 cat confdefs.h
>>conftest.
$ac_ext
22919 cat >>conftest.
$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22923 #define $ac_func innocuous_$ac_func
22925 /* System header to define __stub macros and hopefully few prototypes,
22926 which can conflict with char $ac_func (); below.
22927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22928 <limits.h> exists even on freestanding compilers. */
22931 # include <limits.h>
22933 # include <assert.h>
22938 /* Override any gcc2 internal prototype to avoid an error. */
22943 /* We use char because int might match the return type of a gcc2
22944 builtin and then its argument prototype would still apply. */
22946 /* The GNU C library defines this for functions which it implements
22947 to always fail with ENOSYS. Some functions are actually named
22948 something starting with __ and the normal name is an alias. */
22949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22952 char (*f) () = $ac_func;
22961 return f != $ac_func;
22966 rm -f conftest.
$ac_objext conftest
$ac_exeext
22967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22968 (eval $ac_link) 2>conftest.er1
22970 grep -v '^ *+' conftest.er1
>conftest.err
22972 cat conftest.err
>&5
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); } &&
22975 { ac_try
='test -z "$ac_c_werror_flag"
22976 || test ! -s conftest.err'
22977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978 (eval $ac_try) 2>&5
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); }; } &&
22982 { ac_try
='test -s conftest$ac_exeext'
22983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22984 (eval $ac_try) 2>&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); }; }; then
22988 eval "$as_ac_var=yes"
22990 echo "$as_me: failed program was:" >&5
22991 sed 's/^/| /' conftest.
$ac_ext >&5
22993 eval "$as_ac_var=no"
22995 rm -f conftest.err conftest.
$ac_objext \
22996 conftest
$ac_exeext conftest.
$ac_ext
22998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23000 if test `eval echo '${'$as_ac_var'}'` = yes; then
23001 cat >>confdefs.h
<<_ACEOF
23002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23006 cat >>confdefs.h
<<\_ACEOF
23007 #define HAVE_GETHOSTBYADDR_R 1
23010 # There are two different kinds of gethostbyaddr_r.
23011 # We look for the one that returns `int'.
23012 # Hopefully this check is robust enough.
23013 cat >conftest.
$ac_ext <<_ACEOF
23016 cat confdefs.h
>>conftest.
$ac_ext
23017 cat >>conftest.
$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23023 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
23026 cat >>confdefs.h
<<\_ACEOF
23027 #define GETHOSTBYADDR_R_RETURNS_INT 1
23041 for ac_func
in gethostname
23043 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23044 echo "$as_me:$LINENO: checking for $ac_func" >&5
23045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23046 if eval "test \"\${$as_ac_var+set}\" = set"; then
23047 echo $ECHO_N "(cached) $ECHO_C" >&6
23049 if test x
$gcc_no_link = xyes
; then
23050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23052 { (exit 1); exit 1; }; }
23054 cat >conftest.
$ac_ext <<_ACEOF
23057 cat confdefs.h
>>conftest.
$ac_ext
23058 cat >>conftest.
$ac_ext <<_ACEOF
23059 /* end confdefs.h. */
23060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23062 #define $ac_func innocuous_$ac_func
23064 /* System header to define __stub macros and hopefully few prototypes,
23065 which can conflict with char $ac_func (); below.
23066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23067 <limits.h> exists even on freestanding compilers. */
23070 # include <limits.h>
23072 # include <assert.h>
23077 /* Override any gcc2 internal prototype to avoid an error. */
23082 /* We use char because int might match the return type of a gcc2
23083 builtin and then its argument prototype would still apply. */
23085 /* The GNU C library defines this for functions which it implements
23086 to always fail with ENOSYS. Some functions are actually named
23087 something starting with __ and the normal name is an alias. */
23088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23091 char (*f) () = $ac_func;
23100 return f != $ac_func;
23105 rm -f conftest.
$ac_objext conftest
$ac_exeext
23106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23107 (eval $ac_link) 2>conftest.er1
23109 grep -v '^ *+' conftest.er1
>conftest.err
23111 cat conftest.err
>&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); } &&
23114 { ac_try
='test -z "$ac_c_werror_flag"
23115 || test ! -s conftest.err'
23116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117 (eval $ac_try) 2>&5
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); }; } &&
23121 { ac_try
='test -s conftest$ac_exeext'
23122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23123 (eval $ac_try) 2>&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); }; }; then
23127 eval "$as_ac_var=yes"
23129 echo "$as_me: failed program was:" >&5
23130 sed 's/^/| /' conftest.
$ac_ext >&5
23132 eval "$as_ac_var=no"
23134 rm -f conftest.err conftest.
$ac_objext \
23135 conftest
$ac_exeext conftest.
$ac_ext
23137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23139 if test `eval echo '${'$as_ac_var'}'` = yes; then
23140 cat >>confdefs.h
<<_ACEOF
23141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23145 cat >>confdefs.h
<<\_ACEOF
23146 #define HAVE_GETHOSTNAME 1
23149 cat >conftest.
$ac_ext <<_ACEOF
23152 cat confdefs.h
>>conftest.
$ac_ext
23153 cat >>conftest.
$ac_ext <<_ACEOF
23154 /* end confdefs.h. */
23155 #include <unistd.h>
23158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23159 $EGREP "gethostname" >/dev
/null
2>&1; then
23162 cat >>confdefs.h
<<\_ACEOF
23163 #define HAVE_GETHOSTNAME_DECL 1
23174 for ac_func
in usleep
23176 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23177 echo "$as_me:$LINENO: checking for $ac_func" >&5
23178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23179 if eval "test \"\${$as_ac_var+set}\" = set"; then
23180 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 if test x
$gcc_no_link = xyes
; then
23183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23185 { (exit 1); exit 1; }; }
23187 cat >conftest.
$ac_ext <<_ACEOF
23190 cat confdefs.h
>>conftest.
$ac_ext
23191 cat >>conftest.
$ac_ext <<_ACEOF
23192 /* end confdefs.h. */
23193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23195 #define $ac_func innocuous_$ac_func
23197 /* System header to define __stub macros and hopefully few prototypes,
23198 which can conflict with char $ac_func (); below.
23199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23200 <limits.h> exists even on freestanding compilers. */
23203 # include <limits.h>
23205 # include <assert.h>
23210 /* Override any gcc2 internal prototype to avoid an error. */
23215 /* We use char because int might match the return type of a gcc2
23216 builtin and then its argument prototype would still apply. */
23218 /* The GNU C library defines this for functions which it implements
23219 to always fail with ENOSYS. Some functions are actually named
23220 something starting with __ and the normal name is an alias. */
23221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23224 char (*f) () = $ac_func;
23233 return f != $ac_func;
23238 rm -f conftest.
$ac_objext conftest
$ac_exeext
23239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23240 (eval $ac_link) 2>conftest.er1
23242 grep -v '^ *+' conftest.er1
>conftest.err
23244 cat conftest.err
>&5
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } &&
23247 { ac_try
='test -z "$ac_c_werror_flag"
23248 || test ! -s conftest.err'
23249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23250 (eval $ac_try) 2>&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); }; } &&
23254 { ac_try
='test -s conftest$ac_exeext'
23255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23256 (eval $ac_try) 2>&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); }; }; then
23260 eval "$as_ac_var=yes"
23262 echo "$as_me: failed program was:" >&5
23263 sed 's/^/| /' conftest.
$ac_ext >&5
23265 eval "$as_ac_var=no"
23267 rm -f conftest.err conftest.
$ac_objext \
23268 conftest
$ac_exeext conftest.
$ac_ext
23270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23272 if test `eval echo '${'$as_ac_var'}'` = yes; then
23273 cat >>confdefs.h
<<_ACEOF
23274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23277 cat >conftest.
$ac_ext <<_ACEOF
23280 cat confdefs.h
>>conftest.
$ac_ext
23281 cat >>conftest.
$ac_ext <<_ACEOF
23282 /* end confdefs.h. */
23283 #include <unistd.h>
23286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23287 $EGREP "usleep" >/dev
/null
2>&1; then
23290 cat >>confdefs.h
<<\_ACEOF
23291 #define HAVE_USLEEP_DECL 1
23301 # Look for these functions in the thread library, but only bother
23302 # if using POSIX threads.
23303 if test "$THREADS" = posix
; then
23305 LIBS
="$LIBS $THREADLIBS"
23307 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
23308 # Solaris 7 the name librt is preferred.
23310 for ac_func
in sched_yield
23312 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23313 echo "$as_me:$LINENO: checking for $ac_func" >&5
23314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23315 if eval "test \"\${$as_ac_var+set}\" = set"; then
23316 echo $ECHO_N "(cached) $ECHO_C" >&6
23318 if test x
$gcc_no_link = xyes
; then
23319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23321 { (exit 1); exit 1; }; }
23323 cat >conftest.
$ac_ext <<_ACEOF
23326 cat confdefs.h
>>conftest.
$ac_ext
23327 cat >>conftest.
$ac_ext <<_ACEOF
23328 /* end confdefs.h. */
23329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23331 #define $ac_func innocuous_$ac_func
23333 /* System header to define __stub macros and hopefully few prototypes,
23334 which can conflict with char $ac_func (); below.
23335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23336 <limits.h> exists even on freestanding compilers. */
23339 # include <limits.h>
23341 # include <assert.h>
23346 /* Override any gcc2 internal prototype to avoid an error. */
23351 /* We use char because int might match the return type of a gcc2
23352 builtin and then its argument prototype would still apply. */
23354 /* The GNU C library defines this for functions which it implements
23355 to always fail with ENOSYS. Some functions are actually named
23356 something starting with __ and the normal name is an alias. */
23357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23360 char (*f) () = $ac_func;
23369 return f != $ac_func;
23374 rm -f conftest.
$ac_objext conftest
$ac_exeext
23375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23376 (eval $ac_link) 2>conftest.er1
23378 grep -v '^ *+' conftest.er1
>conftest.err
23380 cat conftest.err
>&5
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } &&
23383 { ac_try
='test -z "$ac_c_werror_flag"
23384 || test ! -s conftest.err'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; } &&
23390 { ac_try
='test -s conftest$ac_exeext'
23391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23392 (eval $ac_try) 2>&5
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; }; then
23396 eval "$as_ac_var=yes"
23398 echo "$as_me: failed program was:" >&5
23399 sed 's/^/| /' conftest.
$ac_ext >&5
23401 eval "$as_ac_var=no"
23403 rm -f conftest.err conftest.
$ac_objext \
23404 conftest
$ac_exeext conftest.
$ac_ext
23406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23408 if test `eval echo '${'$as_ac_var'}'` = yes; then
23409 cat >>confdefs.h
<<_ACEOF
23410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23415 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
23416 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
23417 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23420 ac_check_lib_save_LIBS
=$LIBS
23422 if test x
$gcc_no_link = xyes
; then
23423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23425 { (exit 1); exit 1; }; }
23427 cat >conftest.
$ac_ext <<_ACEOF
23430 cat confdefs.h
>>conftest.
$ac_ext
23431 cat >>conftest.
$ac_ext <<_ACEOF
23432 /* end confdefs.h. */
23434 /* Override any gcc2 internal prototype to avoid an error. */
23438 /* We use char because int might match the return type of a gcc2
23439 builtin and then its argument prototype would still apply. */
23440 char sched_yield ();
23449 rm -f conftest.
$ac_objext conftest
$ac_exeext
23450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23451 (eval $ac_link) 2>conftest.er1
23453 grep -v '^ *+' conftest.er1
>conftest.err
23455 cat conftest.err
>&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } &&
23458 { ac_try
='test -z "$ac_c_werror_flag"
23459 || test ! -s conftest.err'
23460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23461 (eval $ac_try) 2>&5
23463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23464 (exit $ac_status); }; } &&
23465 { ac_try
='test -s conftest$ac_exeext'
23466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23467 (eval $ac_try) 2>&5
23469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23470 (exit $ac_status); }; }; then
23471 ac_cv_lib_rt_sched_yield
=yes
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.
$ac_ext >&5
23476 ac_cv_lib_rt_sched_yield
=no
23478 rm -f conftest.err conftest.
$ac_objext \
23479 conftest
$ac_exeext conftest.
$ac_ext
23480 LIBS
=$ac_check_lib_save_LIBS
23482 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
23483 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
23484 if test $ac_cv_lib_rt_sched_yield = yes; then
23486 cat >>confdefs.h
<<\_ACEOF
23487 #define HAVE_SCHED_YIELD 1
23490 THREADLIBS
="$THREADLIBS -lrt"
23491 THREADSPEC
="$THREADSPEC -lrt"
23494 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
23495 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
23496 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
23497 echo $ECHO_N "(cached) $ECHO_C" >&6
23499 ac_check_lib_save_LIBS
=$LIBS
23500 LIBS
="-lposix4 $LIBS"
23501 if test x
$gcc_no_link = xyes
; then
23502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23504 { (exit 1); exit 1; }; }
23506 cat >conftest.
$ac_ext <<_ACEOF
23509 cat confdefs.h
>>conftest.
$ac_ext
23510 cat >>conftest.
$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23513 /* Override any gcc2 internal prototype to avoid an error. */
23517 /* We use char because int might match the return type of a gcc2
23518 builtin and then its argument prototype would still apply. */
23519 char sched_yield ();
23528 rm -f conftest.
$ac_objext conftest
$ac_exeext
23529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23530 (eval $ac_link) 2>conftest.er1
23532 grep -v '^ *+' conftest.er1
>conftest.err
23534 cat conftest.err
>&5
23535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23536 (exit $ac_status); } &&
23537 { ac_try
='test -z "$ac_c_werror_flag"
23538 || test ! -s conftest.err'
23539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23540 (eval $ac_try) 2>&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); }; } &&
23544 { ac_try
='test -s conftest$ac_exeext'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; }; then
23550 ac_cv_lib_posix4_sched_yield
=yes
23552 echo "$as_me: failed program was:" >&5
23553 sed 's/^/| /' conftest.
$ac_ext >&5
23555 ac_cv_lib_posix4_sched_yield
=no
23557 rm -f conftest.err conftest.
$ac_objext \
23558 conftest
$ac_exeext conftest.
$ac_ext
23559 LIBS
=$ac_check_lib_save_LIBS
23561 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
23562 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
23563 if test $ac_cv_lib_posix4_sched_yield = yes; then
23565 cat >>confdefs.h
<<\_ACEOF
23566 #define HAVE_SCHED_YIELD 1
23569 THREADLIBS
="$THREADLIBS -lposix4"
23570 THREADSPEC
="$THREADSPEC -lposix4"
23579 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
23580 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
23581 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
23582 echo $ECHO_N "(cached) $ECHO_C" >&6
23584 ac_check_lib_save_LIBS
=$LIBS
23586 if test x
$gcc_no_link = xyes
; then
23587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23589 { (exit 1); exit 1; }; }
23591 cat >conftest.
$ac_ext <<_ACEOF
23594 cat confdefs.h
>>conftest.
$ac_ext
23595 cat >>conftest.
$ac_ext <<_ACEOF
23596 /* end confdefs.h. */
23598 /* Override any gcc2 internal prototype to avoid an error. */
23602 /* We use char because int might match the return type of a gcc2
23603 builtin and then its argument prototype would still apply. */
23604 char clock_gettime ();
23613 rm -f conftest.
$ac_objext conftest
$ac_exeext
23614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23615 (eval $ac_link) 2>conftest.er1
23617 grep -v '^ *+' conftest.er1
>conftest.err
23619 cat conftest.err
>&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); } &&
23622 { ac_try
='test -z "$ac_c_werror_flag"
23623 || test ! -s conftest.err'
23624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23625 (eval $ac_try) 2>&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); }; } &&
23629 { ac_try
='test -s conftest$ac_exeext'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; }; then
23635 ac_cv_lib_rt_clock_gettime
=yes
23637 echo "$as_me: failed program was:" >&5
23638 sed 's/^/| /' conftest.
$ac_ext >&5
23640 ac_cv_lib_rt_clock_gettime
=no
23642 rm -f conftest.err conftest.
$ac_objext \
23643 conftest
$ac_exeext conftest.
$ac_ext
23644 LIBS
=$ac_check_lib_save_LIBS
23646 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
23647 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
23648 if test $ac_cv_lib_rt_clock_gettime = yes; then
23651 cat >>confdefs.h
<<\_ACEOF
23652 #define HAVE_CLOCK_GETTIME 1
23655 case "$THREADSPEC" in
23658 THREADSPEC
="$THREADSPEC -lrt"
23659 THREADLIBS
="$THREADLIBS -lrt"
23667 # We can save a little space at runtime if the mutex has m_count
23668 # or __m_count. This is a nice hack for Linux.
23669 cat >conftest.
$ac_ext <<_ACEOF
23672 cat confdefs.h
>>conftest.
$ac_ext
23673 cat >>conftest.
$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23675 #include <pthread.h>
23680 extern pthread_mutex_t *mutex; int q = mutex->m_count;
23686 rm -f conftest.
$ac_objext
23687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23688 (eval $ac_compile) 2>conftest.er1
23690 grep -v '^ *+' conftest.er1
>conftest.err
23692 cat conftest.err
>&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } &&
23695 { ac_try
='test -z "$ac_c_werror_flag"
23696 || test ! -s conftest.err'
23697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23698 (eval $ac_try) 2>&5
23700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23701 (exit $ac_status); }; } &&
23702 { ac_try
='test -s conftest.$ac_objext'
23703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23704 (eval $ac_try) 2>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); }; }; then
23709 cat >>confdefs.h
<<\_ACEOF
23710 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
23714 echo "$as_me: failed program was:" >&5
23715 sed 's/^/| /' conftest.
$ac_ext >&5
23718 cat >conftest.
$ac_ext <<_ACEOF
23721 cat confdefs.h
>>conftest.
$ac_ext
23722 cat >>conftest.
$ac_ext <<_ACEOF
23723 /* end confdefs.h. */
23724 #include <pthread.h>
23729 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
23735 rm -f conftest.
$ac_objext
23736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23737 (eval $ac_compile) 2>conftest.er1
23739 grep -v '^ *+' conftest.er1
>conftest.err
23741 cat conftest.err
>&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); } &&
23744 { ac_try
='test -z "$ac_c_werror_flag"
23745 || test ! -s conftest.err'
23746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747 (eval $ac_try) 2>&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); }; } &&
23751 { ac_try
='test -s conftest.$ac_objext'
23752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753 (eval $ac_try) 2>&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); }; }; then
23758 cat >>confdefs.h
<<\_ACEOF
23759 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
23763 echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.
$ac_ext >&5
23767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23769 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23772 # We require a way to get the time.
23777 for ac_func
in gettimeofday
time ftime
23779 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23780 echo "$as_me:$LINENO: checking for $ac_func" >&5
23781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23782 if eval "test \"\${$as_ac_var+set}\" = set"; then
23783 echo $ECHO_N "(cached) $ECHO_C" >&6
23785 if test x
$gcc_no_link = xyes
; then
23786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23788 { (exit 1); exit 1; }; }
23790 cat >conftest.
$ac_ext <<_ACEOF
23793 cat confdefs.h
>>conftest.
$ac_ext
23794 cat >>conftest.
$ac_ext <<_ACEOF
23795 /* end confdefs.h. */
23796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23798 #define $ac_func innocuous_$ac_func
23800 /* System header to define __stub macros and hopefully few prototypes,
23801 which can conflict with char $ac_func (); below.
23802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23803 <limits.h> exists even on freestanding compilers. */
23806 # include <limits.h>
23808 # include <assert.h>
23813 /* Override any gcc2 internal prototype to avoid an error. */
23818 /* We use char because int might match the return type of a gcc2
23819 builtin and then its argument prototype would still apply. */
23821 /* The GNU C library defines this for functions which it implements
23822 to always fail with ENOSYS. Some functions are actually named
23823 something starting with __ and the normal name is an alias. */
23824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23827 char (*f) () = $ac_func;
23836 return f != $ac_func;
23841 rm -f conftest.
$ac_objext conftest
$ac_exeext
23842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23843 (eval $ac_link) 2>conftest.er1
23845 grep -v '^ *+' conftest.er1
>conftest.err
23847 cat conftest.err
>&5
23848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23849 (exit $ac_status); } &&
23850 { ac_try
='test -z "$ac_c_werror_flag"
23851 || test ! -s conftest.err'
23852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23853 (eval $ac_try) 2>&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); }; } &&
23857 { ac_try
='test -s conftest$ac_exeext'
23858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23859 (eval $ac_try) 2>&5
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); }; }; then
23863 eval "$as_ac_var=yes"
23865 echo "$as_me: failed program was:" >&5
23866 sed 's/^/| /' conftest.
$ac_ext >&5
23868 eval "$as_ac_var=no"
23870 rm -f conftest.err conftest.
$ac_objext \
23871 conftest
$ac_exeext conftest.
$ac_ext
23873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23875 if test `eval echo '${'$as_ac_var'}'` = yes; then
23876 cat >>confdefs.h
<<_ACEOF
23877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23883 if test "$time_found" = no
; then
23884 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
23885 echo "$as_me: error: no function found to get the time" >&2;}
23886 { (exit 1); exit 1; }; }
23890 for ac_func
in memmove
23892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23893 echo "$as_me:$LINENO: checking for $ac_func" >&5
23894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23895 if eval "test \"\${$as_ac_var+set}\" = set"; then
23896 echo $ECHO_N "(cached) $ECHO_C" >&6
23898 if test x
$gcc_no_link = xyes
; then
23899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23901 { (exit 1); exit 1; }; }
23903 cat >conftest.
$ac_ext <<_ACEOF
23906 cat confdefs.h
>>conftest.
$ac_ext
23907 cat >>conftest.
$ac_ext <<_ACEOF
23908 /* end confdefs.h. */
23909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23911 #define $ac_func innocuous_$ac_func
23913 /* System header to define __stub macros and hopefully few prototypes,
23914 which can conflict with char $ac_func (); below.
23915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23916 <limits.h> exists even on freestanding compilers. */
23919 # include <limits.h>
23921 # include <assert.h>
23926 /* Override any gcc2 internal prototype to avoid an error. */
23931 /* We use char because int might match the return type of a gcc2
23932 builtin and then its argument prototype would still apply. */
23934 /* The GNU C library defines this for functions which it implements
23935 to always fail with ENOSYS. Some functions are actually named
23936 something starting with __ and the normal name is an alias. */
23937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23940 char (*f) () = $ac_func;
23949 return f != $ac_func;
23954 rm -f conftest.
$ac_objext conftest
$ac_exeext
23955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23956 (eval $ac_link) 2>conftest.er1
23958 grep -v '^ *+' conftest.er1
>conftest.err
23960 cat conftest.err
>&5
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); } &&
23963 { ac_try
='test -z "$ac_c_werror_flag"
23964 || test ! -s conftest.err'
23965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23966 (eval $ac_try) 2>&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); }; } &&
23970 { ac_try
='test -s conftest$ac_exeext'
23971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23972 (eval $ac_try) 2>&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); }; }; then
23976 eval "$as_ac_var=yes"
23978 echo "$as_me: failed program was:" >&5
23979 sed 's/^/| /' conftest.
$ac_ext >&5
23981 eval "$as_ac_var=no"
23983 rm -f conftest.err conftest.
$ac_objext \
23984 conftest
$ac_exeext conftest.
$ac_ext
23986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23988 if test `eval echo '${'$as_ac_var'}'` = yes; then
23989 cat >>confdefs.h
<<_ACEOF
23990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23997 # We require memcpy.
24000 for ac_func
in memcpy
24002 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24003 echo "$as_me:$LINENO: checking for $ac_func" >&5
24004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24005 if eval "test \"\${$as_ac_var+set}\" = set"; then
24006 echo $ECHO_N "(cached) $ECHO_C" >&6
24008 if test x
$gcc_no_link = xyes
; then
24009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24011 { (exit 1); exit 1; }; }
24013 cat >conftest.
$ac_ext <<_ACEOF
24016 cat confdefs.h
>>conftest.
$ac_ext
24017 cat >>conftest.
$ac_ext <<_ACEOF
24018 /* end confdefs.h. */
24019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24021 #define $ac_func innocuous_$ac_func
24023 /* System header to define __stub macros and hopefully few prototypes,
24024 which can conflict with char $ac_func (); below.
24025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24026 <limits.h> exists even on freestanding compilers. */
24029 # include <limits.h>
24031 # include <assert.h>
24036 /* Override any gcc2 internal prototype to avoid an error. */
24041 /* We use char because int might match the return type of a gcc2
24042 builtin and then its argument prototype would still apply. */
24044 /* The GNU C library defines this for functions which it implements
24045 to always fail with ENOSYS. Some functions are actually named
24046 something starting with __ and the normal name is an alias. */
24047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24050 char (*f) () = $ac_func;
24059 return f != $ac_func;
24064 rm -f conftest.
$ac_objext conftest
$ac_exeext
24065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24066 (eval $ac_link) 2>conftest.er1
24068 grep -v '^ *+' conftest.er1
>conftest.err
24070 cat conftest.err
>&5
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); } &&
24073 { ac_try
='test -z "$ac_c_werror_flag"
24074 || test ! -s conftest.err'
24075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24076 (eval $ac_try) 2>&5
24078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24079 (exit $ac_status); }; } &&
24080 { ac_try
='test -s conftest$ac_exeext'
24081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24082 (eval $ac_try) 2>&5
24084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24085 (exit $ac_status); }; }; then
24086 eval "$as_ac_var=yes"
24088 echo "$as_me: failed program was:" >&5
24089 sed 's/^/| /' conftest.
$ac_ext >&5
24091 eval "$as_ac_var=no"
24093 rm -f conftest.err conftest.
$ac_objext \
24094 conftest
$ac_exeext conftest.
$ac_ext
24096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24098 if test `eval echo '${'$as_ac_var'}'` = yes; then
24099 cat >>confdefs.h
<<_ACEOF
24100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24106 if test "$memcpy_found" = no
; then
24107 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
24108 echo "$as_me: error: memcpy is required" >&2;}
24109 { (exit 1); exit 1; }; }
24111 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
24112 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24113 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24114 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24115 echo $ECHO_N "(cached) $ECHO_C" >&6
24117 ac_check_lib_save_LIBS
=$LIBS
24119 if test x
$gcc_no_link = xyes
; then
24120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24122 { (exit 1); exit 1; }; }
24124 cat >conftest.
$ac_ext <<_ACEOF
24127 cat confdefs.h
>>conftest.
$ac_ext
24128 cat >>conftest.
$ac_ext <<_ACEOF
24129 /* end confdefs.h. */
24131 /* Override any gcc2 internal prototype to avoid an error. */
24135 /* We use char because int might match the return type of a gcc2
24136 builtin and then its argument prototype would still apply. */
24146 rm -f conftest.
$ac_objext conftest
$ac_exeext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24148 (eval $ac_link) 2>conftest.er1
24150 grep -v '^ *+' conftest.er1
>conftest.err
24152 cat conftest.err
>&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); } &&
24155 { ac_try
='test -z "$ac_c_werror_flag"
24156 || test ! -s conftest.err'
24157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24158 (eval $ac_try) 2>&5
24160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24161 (exit $ac_status); }; } &&
24162 { ac_try
='test -s conftest$ac_exeext'
24163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24164 (eval $ac_try) 2>&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); }; }; then
24168 ac_cv_lib_dl_dlopen
=yes
24170 echo "$as_me: failed program was:" >&5
24171 sed 's/^/| /' conftest.
$ac_ext >&5
24173 ac_cv_lib_dl_dlopen
=no
24175 rm -f conftest.err conftest.
$ac_objext \
24176 conftest
$ac_exeext conftest.
$ac_ext
24177 LIBS
=$ac_check_lib_save_LIBS
24179 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24180 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24181 if test $ac_cv_lib_dl_dlopen = yes; then
24184 cat >>confdefs.h
<<\_ACEOF
24185 #define HAVE_DLOPEN 1
24190 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
24191 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
24192 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 ac_check_lib_save_LIBS
=$LIBS
24197 if test x
$gcc_no_link = xyes
; then
24198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24200 { (exit 1); exit 1; }; }
24202 cat >conftest.
$ac_ext <<_ACEOF
24205 cat confdefs.h
>>conftest.
$ac_ext
24206 cat >>conftest.
$ac_ext <<_ACEOF
24207 /* end confdefs.h. */
24209 /* Override any gcc2 internal prototype to avoid an error. */
24213 /* We use char because int might match the return type of a gcc2
24214 builtin and then its argument prototype would still apply. */
24224 rm -f conftest.
$ac_objext conftest
$ac_exeext
24225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24226 (eval $ac_link) 2>conftest.er1
24228 grep -v '^ *+' conftest.er1
>conftest.err
24230 cat conftest.err
>&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); } &&
24233 { ac_try
='test -z "$ac_c_werror_flag"
24234 || test ! -s conftest.err'
24235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24236 (eval $ac_try) 2>&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); }; } &&
24240 { ac_try
='test -s conftest$ac_exeext'
24241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24242 (eval $ac_try) 2>&5
24244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245 (exit $ac_status); }; }; then
24246 ac_cv_lib_dld_dlopen
=yes
24248 echo "$as_me: failed program was:" >&5
24249 sed 's/^/| /' conftest.
$ac_ext >&5
24251 ac_cv_lib_dld_dlopen
=no
24253 rm -f conftest.err conftest.
$ac_objext \
24254 conftest
$ac_exeext conftest.
$ac_ext
24255 LIBS
=$ac_check_lib_save_LIBS
24257 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
24258 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
24259 if test $ac_cv_lib_dld_dlopen = yes; then
24262 cat >>confdefs.h
<<\_ACEOF
24263 #define HAVE_DLOPEN 1
24271 # Some library-finding code we stole from Tcl.
24272 #--------------------------------------------------------------------
24273 # Check for the existence of the -lsocket and -lnsl libraries.
24274 # The order here is important, so that they end up in the right
24275 # order in the command line generated by make. Here are some
24276 # special considerations:
24277 # 1. Use "connect" and "accept" to check for -lsocket, and
24278 # "gethostbyname" to check for -lnsl.
24279 # 2. Use each function name only once: can't redo a check because
24280 # autoconf caches the results of the last check and won't redo it.
24281 # 3. Use -lnsl and -lsocket only if they supply procedures that
24282 # aren't already present in the normal libraries. This is because
24283 # IRIX 5.2 has libraries, but they aren't needed and they're
24284 # bogus: they goof up name resolution if used.
24285 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
24286 # To get around this problem, check for both libraries together
24287 # if -lsocket doesn't work by itself.
24288 #--------------------------------------------------------------------
24290 echo "$as_me:$LINENO: checking for socket libraries" >&5
24291 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
24292 if test "${gcj_cv_lib_sockets+set}" = set; then
24293 echo $ECHO_N "(cached) $ECHO_C" >&6
24295 gcj_cv_lib_sockets
=
24297 unset ac_cv_func_connect
24298 echo "$as_me:$LINENO: checking for connect" >&5
24299 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24300 if test "${ac_cv_func_connect+set}" = set; then
24301 echo $ECHO_N "(cached) $ECHO_C" >&6
24303 if test x
$gcc_no_link = xyes
; then
24304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24306 { (exit 1); exit 1; }; }
24308 cat >conftest.
$ac_ext <<_ACEOF
24311 cat confdefs.h
>>conftest.
$ac_ext
24312 cat >>conftest.
$ac_ext <<_ACEOF
24313 /* end confdefs.h. */
24314 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24316 #define connect innocuous_connect
24318 /* System header to define __stub macros and hopefully few prototypes,
24319 which can conflict with char connect (); below.
24320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24321 <limits.h> exists even on freestanding compilers. */
24324 # include <limits.h>
24326 # include <assert.h>
24331 /* Override any gcc2 internal prototype to avoid an error. */
24336 /* We use char because int might match the return type of a gcc2
24337 builtin and then its argument prototype would still apply. */
24339 /* The GNU C library defines this for functions which it implements
24340 to always fail with ENOSYS. Some functions are actually named
24341 something starting with __ and the normal name is an alias. */
24342 #if defined (__stub_connect) || defined (__stub___connect)
24345 char (*f) () = connect;
24354 return f != connect;
24359 rm -f conftest.
$ac_objext conftest
$ac_exeext
24360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24361 (eval $ac_link) 2>conftest.er1
24363 grep -v '^ *+' conftest.er1
>conftest.err
24365 cat conftest.err
>&5
24366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24367 (exit $ac_status); } &&
24368 { ac_try
='test -z "$ac_c_werror_flag"
24369 || test ! -s conftest.err'
24370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24371 (eval $ac_try) 2>&5
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); }; } &&
24375 { ac_try
='test -s conftest$ac_exeext'
24376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24377 (eval $ac_try) 2>&5
24379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380 (exit $ac_status); }; }; then
24381 ac_cv_func_connect
=yes
24383 echo "$as_me: failed program was:" >&5
24384 sed 's/^/| /' conftest.
$ac_ext >&5
24386 ac_cv_func_connect
=no
24388 rm -f conftest.err conftest.
$ac_objext \
24389 conftest
$ac_exeext conftest.
$ac_ext
24391 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24392 echo "${ECHO_T}$ac_cv_func_connect" >&6
24393 if test $ac_cv_func_connect = yes; then
24399 if test "$gcj_checkSocket" = 1; then
24400 unset ac_cv_func_connect
24401 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
24402 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
24403 if test "${ac_cv_lib_socket_main+set}" = set; then
24404 echo $ECHO_N "(cached) $ECHO_C" >&6
24406 ac_check_lib_save_LIBS
=$LIBS
24407 LIBS
="-lsocket $LIBS"
24408 if test x
$gcc_no_link = xyes
; then
24409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24411 { (exit 1); exit 1; }; }
24413 cat >conftest.
$ac_ext <<_ACEOF
24416 cat confdefs.h
>>conftest.
$ac_ext
24417 cat >>conftest.
$ac_ext <<_ACEOF
24418 /* end confdefs.h. */
24429 rm -f conftest.
$ac_objext conftest
$ac_exeext
24430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24431 (eval $ac_link) 2>conftest.er1
24433 grep -v '^ *+' conftest.er1
>conftest.err
24435 cat conftest.err
>&5
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); } &&
24438 { ac_try
='test -z "$ac_c_werror_flag"
24439 || test ! -s conftest.err'
24440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24441 (eval $ac_try) 2>&5
24443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24444 (exit $ac_status); }; } &&
24445 { ac_try
='test -s conftest$ac_exeext'
24446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24447 (eval $ac_try) 2>&5
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); }; }; then
24451 ac_cv_lib_socket_main
=yes
24453 echo "$as_me: failed program was:" >&5
24454 sed 's/^/| /' conftest.
$ac_ext >&5
24456 ac_cv_lib_socket_main
=no
24458 rm -f conftest.err conftest.
$ac_objext \
24459 conftest
$ac_exeext conftest.
$ac_ext
24460 LIBS
=$ac_check_lib_save_LIBS
24462 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
24463 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
24464 if test $ac_cv_lib_socket_main = yes; then
24465 gcj_cv_lib_sockets
="-lsocket"
24471 if test "$gcj_checkBoth" = 1; then
24473 LIBS
="$LIBS -lsocket -lnsl"
24474 unset ac_cv_func_accept
24475 echo "$as_me:$LINENO: checking for accept" >&5
24476 echo $ECHO_N "checking for accept... $ECHO_C" >&6
24477 if test "${ac_cv_func_accept+set}" = set; then
24478 echo $ECHO_N "(cached) $ECHO_C" >&6
24480 if test x
$gcc_no_link = xyes
; then
24481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24483 { (exit 1); exit 1; }; }
24485 cat >conftest.
$ac_ext <<_ACEOF
24488 cat confdefs.h
>>conftest.
$ac_ext
24489 cat >>conftest.
$ac_ext <<_ACEOF
24490 /* end confdefs.h. */
24491 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
24492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24493 #define accept innocuous_accept
24495 /* System header to define __stub macros and hopefully few prototypes,
24496 which can conflict with char accept (); below.
24497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24498 <limits.h> exists even on freestanding compilers. */
24501 # include <limits.h>
24503 # include <assert.h>
24508 /* Override any gcc2 internal prototype to avoid an error. */
24513 /* We use char because int might match the return type of a gcc2
24514 builtin and then its argument prototype would still apply. */
24516 /* The GNU C library defines this for functions which it implements
24517 to always fail with ENOSYS. Some functions are actually named
24518 something starting with __ and the normal name is an alias. */
24519 #if defined (__stub_accept) || defined (__stub___accept)
24522 char (*f) () = accept;
24531 return f != accept;
24536 rm -f conftest.
$ac_objext conftest
$ac_exeext
24537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24538 (eval $ac_link) 2>conftest.er1
24540 grep -v '^ *+' conftest.er1
>conftest.err
24542 cat conftest.err
>&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } &&
24545 { ac_try
='test -z "$ac_c_werror_flag"
24546 || test ! -s conftest.err'
24547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24548 (eval $ac_try) 2>&5
24550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24551 (exit $ac_status); }; } &&
24552 { ac_try
='test -s conftest$ac_exeext'
24553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 (eval $ac_try) 2>&5
24556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24557 (exit $ac_status); }; }; then
24558 ac_cv_func_accept
=yes
24560 echo "$as_me: failed program was:" >&5
24561 sed 's/^/| /' conftest.
$ac_ext >&5
24563 ac_cv_func_accept
=no
24565 rm -f conftest.err conftest.
$ac_objext \
24566 conftest
$ac_exeext conftest.
$ac_ext
24568 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
24569 echo "${ECHO_T}$ac_cv_func_accept" >&6
24570 if test $ac_cv_func_accept = yes; then
24572 gcj_cv_lib_sockets
="-lsocket -lnsl"
24575 unset ac_cv_func_accept
24578 unset ac_cv_func_gethostbyname
24580 LIBS
="$LIBS $gcj_cv_lib_sockets"
24581 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24582 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24583 if test "${ac_cv_func_gethostbyname+set}" = set; then
24584 echo $ECHO_N "(cached) $ECHO_C" >&6
24586 if test x
$gcc_no_link = xyes
; then
24587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24589 { (exit 1); exit 1; }; }
24591 cat >conftest.
$ac_ext <<_ACEOF
24594 cat confdefs.h
>>conftest.
$ac_ext
24595 cat >>conftest.
$ac_ext <<_ACEOF
24596 /* end confdefs.h. */
24597 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24599 #define gethostbyname innocuous_gethostbyname
24601 /* System header to define __stub macros and hopefully few prototypes,
24602 which can conflict with char gethostbyname (); below.
24603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24604 <limits.h> exists even on freestanding compilers. */
24607 # include <limits.h>
24609 # include <assert.h>
24612 #undef gethostbyname
24614 /* Override any gcc2 internal prototype to avoid an error. */
24619 /* We use char because int might match the return type of a gcc2
24620 builtin and then its argument prototype would still apply. */
24621 char gethostbyname ();
24622 /* The GNU C library defines this for functions which it implements
24623 to always fail with ENOSYS. Some functions are actually named
24624 something starting with __ and the normal name is an alias. */
24625 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24628 char (*f) () = gethostbyname;
24637 return f != gethostbyname;
24642 rm -f conftest.
$ac_objext conftest
$ac_exeext
24643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24644 (eval $ac_link) 2>conftest.er1
24646 grep -v '^ *+' conftest.er1
>conftest.err
24648 cat conftest.err
>&5
24649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24650 (exit $ac_status); } &&
24651 { ac_try
='test -z "$ac_c_werror_flag"
24652 || test ! -s conftest.err'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; } &&
24658 { ac_try
='test -s conftest$ac_exeext'
24659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24660 (eval $ac_try) 2>&5
24662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24663 (exit $ac_status); }; }; then
24664 ac_cv_func_gethostbyname
=yes
24666 echo "$as_me: failed program was:" >&5
24667 sed 's/^/| /' conftest.
$ac_ext >&5
24669 ac_cv_func_gethostbyname
=no
24671 rm -f conftest.err conftest.
$ac_objext \
24672 conftest
$ac_exeext conftest.
$ac_ext
24674 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24675 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24676 if test $ac_cv_func_gethostbyname = yes; then
24679 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
24680 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
24681 if test "${ac_cv_lib_nsl_main+set}" = set; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24684 ac_check_lib_save_LIBS
=$LIBS
24686 if test x
$gcc_no_link = xyes
; then
24687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24689 { (exit 1); exit 1; }; }
24691 cat >conftest.
$ac_ext <<_ACEOF
24694 cat confdefs.h
>>conftest.
$ac_ext
24695 cat >>conftest.
$ac_ext <<_ACEOF
24696 /* end confdefs.h. */
24707 rm -f conftest.
$ac_objext conftest
$ac_exeext
24708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24709 (eval $ac_link) 2>conftest.er1
24711 grep -v '^ *+' conftest.er1
>conftest.err
24713 cat conftest.err
>&5
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); } &&
24716 { ac_try
='test -z "$ac_c_werror_flag"
24717 || test ! -s conftest.err'
24718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24719 (eval $ac_try) 2>&5
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; } &&
24723 { ac_try
='test -s conftest$ac_exeext'
24724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24725 (eval $ac_try) 2>&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); }; }; then
24729 ac_cv_lib_nsl_main
=yes
24731 echo "$as_me: failed program was:" >&5
24732 sed 's/^/| /' conftest.
$ac_ext >&5
24734 ac_cv_lib_nsl_main
=no
24736 rm -f conftest.err conftest.
$ac_objext \
24737 conftest
$ac_exeext conftest.
$ac_ext
24738 LIBS
=$ac_check_lib_save_LIBS
24740 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
24741 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
24742 if test $ac_cv_lib_nsl_main = yes; then
24743 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
24748 unset ac_cv_func_gethostbyname
24752 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
24753 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
24754 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
24756 if test "$with_system_zlib" = yes; then
24757 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24758 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24759 if test "${ac_cv_lib_z_deflate+set}" = set; then
24760 echo $ECHO_N "(cached) $ECHO_C" >&6
24762 ac_check_lib_save_LIBS
=$LIBS
24764 if test x
$gcc_no_link = xyes
; then
24765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24767 { (exit 1); exit 1; }; }
24769 cat >conftest.
$ac_ext <<_ACEOF
24772 cat confdefs.h
>>conftest.
$ac_ext
24773 cat >>conftest.
$ac_ext <<_ACEOF
24774 /* end confdefs.h. */
24776 /* Override any gcc2 internal prototype to avoid an error. */
24780 /* We use char because int might match the return type of a gcc2
24781 builtin and then its argument prototype would still apply. */
24791 rm -f conftest.
$ac_objext conftest
$ac_exeext
24792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24793 (eval $ac_link) 2>conftest.er1
24795 grep -v '^ *+' conftest.er1
>conftest.err
24797 cat conftest.err
>&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); } &&
24800 { ac_try
='test -z "$ac_c_werror_flag"
24801 || test ! -s conftest.err'
24802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24803 (eval $ac_try) 2>&5
24805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24806 (exit $ac_status); }; } &&
24807 { ac_try
='test -s conftest$ac_exeext'
24808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24809 (eval $ac_try) 2>&5
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); }; }; then
24813 ac_cv_lib_z_deflate
=yes
24815 echo "$as_me: failed program was:" >&5
24816 sed 's/^/| /' conftest.
$ac_ext >&5
24818 ac_cv_lib_z_deflate
=no
24820 rm -f conftest.err conftest.
$ac_objext \
24821 conftest
$ac_exeext conftest.
$ac_ext
24822 LIBS
=$ac_check_lib_save_LIBS
24824 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24825 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24826 if test $ac_cv_lib_z_deflate = yes; then
24834 # Test for Gtk stuff, if asked for.
24835 if test "$use_gtk_awt" = yes; then
24839 if test -z "$PKG_CONFIG"; then
24840 # Extract the first word of "pkg-config", so it can be a program name with args.
24841 set dummy pkg-config
; ac_word
=$2
24842 echo "$as_me:$LINENO: checking for $ac_word" >&5
24843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24844 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24845 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 case $PKG_CONFIG in
24849 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24853 for as_dir
in $PATH
24856 test -z "$as_dir" && as_dir
=.
24857 for ac_exec_ext
in '' $ac_executable_extensions; do
24858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24859 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24866 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24870 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24872 if test -n "$PKG_CONFIG"; then
24873 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24874 echo "${ECHO_T}$PKG_CONFIG" >&6
24876 echo "$as_me:$LINENO: result: no" >&5
24877 echo "${ECHO_T}no" >&6
24882 if test "$PKG_CONFIG" = "no" ; then
24883 echo "*** The pkg-config script could not be found. Make sure it is"
24884 echo "*** in your path, or set the PKG_CONFIG environment variable"
24885 echo "*** to the full path to pkg-config."
24886 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24888 PKG_CONFIG_MIN_VERSION
=0.9.0
24889 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24890 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
24891 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
24893 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
24894 echo "$as_me:$LINENO: result: yes" >&5
24895 echo "${ECHO_T}yes" >&6
24898 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24899 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24900 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
24901 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24902 echo "${ECHO_T}$GTK_CFLAGS" >&6
24904 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24905 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24906 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
24907 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24908 echo "${ECHO_T}$GTK_LIBS" >&6
24912 ## If we have a custom action on failure, don't print errors, but
24913 ## do set a variable so people can do so.
24914 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
24915 echo $GTK_PKG_ERRORS
24921 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24922 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24926 if test $succeeded = yes; then
24929 { { 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
24930 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;}
24931 { (exit 1); exit 1; }; }
24940 if test -z "$PKG_CONFIG"; then
24941 # Extract the first word of "pkg-config", so it can be a program name with args.
24942 set dummy pkg-config
; ac_word
=$2
24943 echo "$as_me:$LINENO: checking for $ac_word" >&5
24944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24945 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24946 echo $ECHO_N "(cached) $ECHO_C" >&6
24948 case $PKG_CONFIG in
24950 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24954 for as_dir
in $PATH
24957 test -z "$as_dir" && as_dir
=.
24958 for ac_exec_ext
in '' $ac_executable_extensions; do
24959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24960 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24967 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24971 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24973 if test -n "$PKG_CONFIG"; then
24974 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24975 echo "${ECHO_T}$PKG_CONFIG" >&6
24977 echo "$as_me:$LINENO: result: no" >&5
24978 echo "${ECHO_T}no" >&6
24983 if test "$PKG_CONFIG" = "no" ; then
24984 echo "*** The pkg-config script could not be found. Make sure it is"
24985 echo "*** in your path, or set the PKG_CONFIG environment variable"
24986 echo "*** to the full path to pkg-config."
24987 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24989 PKG_CONFIG_MIN_VERSION
=0.9.0
24990 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24991 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
24992 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
24994 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
24995 echo "$as_me:$LINENO: result: yes" >&5
24996 echo "${ECHO_T}yes" >&6
24999 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
25000 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
25001 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25002 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
25003 echo "${ECHO_T}$GLIB_CFLAGS" >&6
25005 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
25006 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
25007 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25008 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
25009 echo "${ECHO_T}$GLIB_LIBS" >&6
25013 ## If we have a custom action on failure, don't print errors, but
25014 ## do set a variable so people can do so.
25015 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25016 echo $GLIB_PKG_ERRORS
25022 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25023 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25027 if test $succeeded = yes; then
25030 { { 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
25031 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;}
25032 { (exit 1); exit 1; }; }
25041 if test -z "$PKG_CONFIG"; then
25042 # Extract the first word of "pkg-config", so it can be a program name with args.
25043 set dummy pkg-config
; ac_word
=$2
25044 echo "$as_me:$LINENO: checking for $ac_word" >&5
25045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25046 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25047 echo $ECHO_N "(cached) $ECHO_C" >&6
25049 case $PKG_CONFIG in
25051 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25055 for as_dir
in $PATH
25058 test -z "$as_dir" && as_dir
=.
25059 for ac_exec_ext
in '' $ac_executable_extensions; do
25060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25061 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25068 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25072 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25074 if test -n "$PKG_CONFIG"; then
25075 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25076 echo "${ECHO_T}$PKG_CONFIG" >&6
25078 echo "$as_me:$LINENO: result: no" >&5
25079 echo "${ECHO_T}no" >&6
25084 if test "$PKG_CONFIG" = "no" ; then
25085 echo "*** The pkg-config script could not be found. Make sure it is"
25086 echo "*** in your path, or set the PKG_CONFIG environment variable"
25087 echo "*** to the full path to pkg-config."
25088 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25090 PKG_CONFIG_MIN_VERSION
=0.9.0
25091 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25092 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
25093 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
25095 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
25096 echo "$as_me:$LINENO: result: yes" >&5
25097 echo "${ECHO_T}yes" >&6
25100 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
25101 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
25102 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
25103 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
25104 echo "${ECHO_T}$LIBART_CFLAGS" >&6
25106 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
25107 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
25108 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
25109 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
25110 echo "${ECHO_T}$LIBART_LIBS" >&6
25114 ## If we have a custom action on failure, don't print errors, but
25115 ## do set a variable so people can do so.
25116 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
25117 echo $LIBART_PKG_ERRORS
25123 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25124 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25128 if test $succeeded = yes; then
25131 { { 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
25132 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;}
25133 { (exit 1); exit 1; }; }
25139 # We require the XTest Extension to support java.awt.Robot.
25140 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
25141 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
25142 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
25143 echo $ECHO_N "(cached) $ECHO_C" >&6
25145 ac_check_lib_save_LIBS
=$LIBS
25146 LIBS
="-lXtst ${X_LIBS} $LIBS"
25147 if test x
$gcc_no_link = xyes
; then
25148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25150 { (exit 1); exit 1; }; }
25152 cat >conftest.
$ac_ext <<_ACEOF
25155 cat confdefs.h
>>conftest.
$ac_ext
25156 cat >>conftest.
$ac_ext <<_ACEOF
25157 /* end confdefs.h. */
25159 /* Override any gcc2 internal prototype to avoid an error. */
25163 /* We use char because int might match the return type of a gcc2
25164 builtin and then its argument prototype would still apply. */
25165 char XTestQueryExtension ();
25169 XTestQueryExtension ();
25174 rm -f conftest.
$ac_objext conftest
$ac_exeext
25175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25176 (eval $ac_link) 2>conftest.er1
25178 grep -v '^ *+' conftest.er1
>conftest.err
25180 cat conftest.err
>&5
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); } &&
25183 { ac_try
='test -z "$ac_c_werror_flag"
25184 || test ! -s conftest.err'
25185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25186 (eval $ac_try) 2>&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); }; } &&
25190 { ac_try
='test -s conftest$ac_exeext'
25191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192 (eval $ac_try) 2>&5
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); }; }; then
25196 ac_cv_lib_Xtst_XTestQueryExtension
=yes
25198 echo "$as_me: failed program was:" >&5
25199 sed 's/^/| /' conftest.
$ac_ext >&5
25201 ac_cv_lib_Xtst_XTestQueryExtension
=no
25203 rm -f conftest.err conftest.
$ac_objext \
25204 conftest
$ac_exeext conftest.
$ac_ext
25205 LIBS
=$ac_check_lib_save_LIBS
25207 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
25208 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
25209 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
25212 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
25213 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
25214 { (exit 1); exit 1; }; }
25219 # On Solaris, and maybe other architectures, the Boehm collector
25221 if test "$GC" = boehm
; then
25224 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
25225 # libgcj.spec is used, so override here
25226 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
25229 echo "$as_me:$LINENO: checking for main in -ldl" >&5
25230 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
25231 if test "${ac_cv_lib_dl_main+set}" = set; then
25232 echo $ECHO_N "(cached) $ECHO_C" >&6
25234 ac_check_lib_save_LIBS
=$LIBS
25236 if test x
$gcc_no_link = xyes
; then
25237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25239 { (exit 1); exit 1; }; }
25241 cat >conftest.
$ac_ext <<_ACEOF
25244 cat confdefs.h
>>conftest.
$ac_ext
25245 cat >>conftest.
$ac_ext <<_ACEOF
25246 /* end confdefs.h. */
25257 rm -f conftest.
$ac_objext conftest
$ac_exeext
25258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25259 (eval $ac_link) 2>conftest.er1
25261 grep -v '^ *+' conftest.er1
>conftest.err
25263 cat conftest.err
>&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); } &&
25266 { ac_try
='test -z "$ac_c_werror_flag"
25267 || test ! -s conftest.err'
25268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25269 (eval $ac_try) 2>&5
25271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25272 (exit $ac_status); }; } &&
25273 { ac_try
='test -s conftest$ac_exeext'
25274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25275 (eval $ac_try) 2>&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); }; }; then
25279 ac_cv_lib_dl_main
=yes
25281 echo "$as_me: failed program was:" >&5
25282 sed 's/^/| /' conftest.
$ac_ext >&5
25284 ac_cv_lib_dl_main
=no
25286 rm -f conftest.err conftest.
$ac_objext \
25287 conftest
$ac_exeext conftest.
$ac_ext
25288 LIBS
=$ac_check_lib_save_LIBS
25290 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
25291 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
25292 if test $ac_cv_lib_dl_main = yes; then
25293 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
25301 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
25303 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
25304 *) CLASSPATH_SEPARATOR
=':' ;;
25308 # We must search the source tree for java.lang, since we still don't
25309 # have libgcj.jar nor java/lang/*.class
25310 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
25311 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
25313 # Since some classes depend on this one, we need its source available
25314 # before we can do any GCJ compilation test :-(
25315 if test ! -f gnu
/classpath
/Configuration.java
; then
25316 test -d gnu || mkdir gnu
25317 test -d gnu
/classpath || mkdir gnu
/classpath
25318 # Note that it is not crucial that all the values here be correct.
25319 sed -e "s,@prefix@,$prefix," \
25320 -e "s,@VERSION@,$VERSION," \
25321 -e "s,@LIBDEBUG@,false," \
25322 -e "s,@INIT_LOAD_LIBRARY@,false," \
25323 -e "s,@@,$LIBGCJDEBUG," \
25324 -e "s,@default_toolkit@,$TOOLKIT," \
25325 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
25326 -e "s,@GTK_CAIRO_ENABLED@,false," \
25327 -e "s,@ECJ_JAR@,," \
25328 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
25329 > gnu
/classpath
/Configuration.java
25330 # We do not want to redirect the output of the grep below to /dev/null,
25331 # but we add /dev/null to the input list so that grep will print the
25332 # filename of Configuration.java in case it finds any matches.
25333 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
25334 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
25335 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
25336 { (exit 1); exit 1; }; }
25343 # Extract the first word of "$ac_prog", so it can be a program name with args.
25344 set dummy
$ac_prog; ac_word
=$2
25345 echo "$as_me:$LINENO: checking for $ac_word" >&5
25346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25347 if test "${ac_cv_prog_GCJ+set}" = set; then
25348 echo $ECHO_N "(cached) $ECHO_C" >&6
25350 if test -n "$GCJ"; then
25351 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
25353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25354 for as_dir
in $PATH
25357 test -z "$as_dir" && as_dir
=.
25358 for ac_exec_ext
in '' $ac_executable_extensions; do
25359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25360 ac_cv_prog_GCJ
="$ac_prog"
25361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25369 GCJ
=$ac_cv_prog_GCJ
25370 if test -n "$GCJ"; then
25371 echo "$as_me:$LINENO: result: $GCJ" >&5
25372 echo "${ECHO_T}$GCJ" >&6
25374 echo "$as_me:$LINENO: result: no" >&5
25375 echo "${ECHO_T}no" >&6
25378 test -n "$GCJ" && break
25380 test -n "$GCJ" || GCJ
="gcj"
25382 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
25383 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
25384 { (exit 1); exit 1; }; }
25385 if test "x${GCJFLAGS-unset}" = xunset
; then
25390 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
25392 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25393 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25394 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25397 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25398 # We make a subdir and do the tests there. Otherwise we can end up
25399 # making bogus files that we don't know about and never remove. For
25400 # instance it was reported that on HP-UX the gcc test will end up
25401 # making a dummy file named `D' -- because `-MD' means `put the output
25404 # Copy depcomp to subdir because otherwise we won't find it if we're
25405 # using a relative directory.
25406 cp "$am_depcomp" conftest.dir
25408 # We will build objects and dependencies in a subdirectory because
25409 # it helps to detect inapplicable dependency modes. For instance
25410 # both Tru64's cc and ICC support -MD to output dependencies as a
25411 # side effect of compilation, but ICC will put the dependencies in
25412 # the current directory while Tru64 will put them in the object
25416 am_cv_GCJ_dependencies_compiler_type
=none
25417 if test "$am_compiler_list" = ""; then
25418 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
25420 for depmode
in $am_compiler_list; do
25421 # Setup a source with many dependencies, because some compilers
25422 # like to wrap large dependency lists on column 80 (with \), and
25423 # we should not choose a depcomp mode which is confused by this.
25425 # We need to recreate these files for each test, as the compiler may
25426 # overwrite some of them when testing with obscure command lines.
25427 # This happens at least with the AIX C compiler.
25429 for i
in 1 2 3 4 5 6; do
25430 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
25431 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
25432 # Solaris 8's {/usr,}/bin/sh.
25433 touch sub
/conftst
$i.h
25435 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
25439 # after this tag, mechanisms are not by side-effect, so they'll
25440 # only be used when explicitly requested
25441 if test "x$enable_dependency_tracking" = xyes
; then
25449 # We check with `-c' and `-o' for the sake of the "dashmstdout"
25450 # mode. It turns out that the SunPro C++ compiler does not properly
25451 # handle `-M -o', and we need to detect this.
25452 if depmode
=$depmode \
25453 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
25454 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
25455 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
25456 >/dev
/null
2>conftest.err
&&
25457 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
25458 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
25459 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
25460 # icc doesn't choke on unknown options, it will just issue warnings
25461 # or remarks (even with -Werror). So we grep stderr for any message
25462 # that says an option was ignored or not supported.
25463 # When given -MP, icc 7.0 and 7.1 complain thusly:
25464 # icc: Command line warning: ignoring option '-M'; no argument required
25465 # The diagnosis changed in icc 8.0:
25466 # icc: Command line remark: option '-MP' not supported
25467 if (grep 'ignoring option' conftest.err ||
25468 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
25469 am_cv_GCJ_dependencies_compiler_type
=$depmode
25476 rm -rf conftest.dir
25478 am_cv_GCJ_dependencies_compiler_type
=none
25482 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
25483 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
25484 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
25489 test "x$enable_dependency_tracking" != xno \
25490 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
25491 am__fastdepGCJ_TRUE
=
25492 am__fastdepGCJ_FALSE
='#'
25494 am__fastdepGCJ_TRUE
='#'
25495 am__fastdepGCJ_FALSE
=
25502 rm -f gnu
/classpath
/Configuration.java
25504 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
25506 echo "$as_me:$LINENO: checking for void *" >&5
25507 echo $ECHO_N "checking for void *... $ECHO_C" >&6
25508 if test "${ac_cv_type_void_p+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 cat >conftest.
$ac_ext <<_ACEOF
25514 cat confdefs.h
>>conftest.
$ac_ext
25515 cat >>conftest.
$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25517 $ac_includes_default
25523 if (sizeof (void *))
25529 rm -f conftest.
$ac_objext
25530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25531 (eval $ac_compile) 2>conftest.er1
25533 grep -v '^ *+' conftest.er1
>conftest.err
25535 cat conftest.err
>&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); } &&
25538 { ac_try
='test -z "$ac_c_werror_flag"
25539 || test ! -s conftest.err'
25540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25541 (eval $ac_try) 2>&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); }; } &&
25545 { ac_try
='test -s conftest.$ac_objext'
25546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25547 (eval $ac_try) 2>&5
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); }; }; then
25551 ac_cv_type_void_p
=yes
25553 echo "$as_me: failed program was:" >&5
25554 sed 's/^/| /' conftest.
$ac_ext >&5
25556 ac_cv_type_void_p
=no
25558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25560 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
25561 echo "${ECHO_T}$ac_cv_type_void_p" >&6
25563 echo "$as_me:$LINENO: checking size of void *" >&5
25564 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
25565 if test "${ac_cv_sizeof_void_p+set}" = set; then
25566 echo $ECHO_N "(cached) $ECHO_C" >&6
25568 if test "$ac_cv_type_void_p" = yes; then
25569 # The cast to unsigned long works around a bug in the HP C Compiler
25570 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25571 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25572 # This bug is HP SR number 8606223364.
25573 if test "$cross_compiling" = yes; then
25574 # Depending upon the size, compute the lo and hi bounds.
25575 cat >conftest.
$ac_ext <<_ACEOF
25578 cat confdefs.h
>>conftest.
$ac_ext
25579 cat >>conftest.
$ac_ext <<_ACEOF
25580 /* end confdefs.h. */
25581 $ac_includes_default
25585 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
25592 rm -f conftest.
$ac_objext
25593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25594 (eval $ac_compile) 2>conftest.er1
25596 grep -v '^ *+' conftest.er1
>conftest.err
25598 cat conftest.err
>&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); } &&
25601 { ac_try
='test -z "$ac_c_werror_flag"
25602 || test ! -s conftest.err'
25603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25604 (eval $ac_try) 2>&5
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); }; } &&
25608 { ac_try
='test -s conftest.$ac_objext'
25609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610 (eval $ac_try) 2>&5
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); }; }; then
25616 cat >conftest.
$ac_ext <<_ACEOF
25619 cat confdefs.h
>>conftest.
$ac_ext
25620 cat >>conftest.
$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622 $ac_includes_default
25626 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25633 rm -f conftest.
$ac_objext
25634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25635 (eval $ac_compile) 2>conftest.er1
25637 grep -v '^ *+' conftest.er1
>conftest.err
25639 cat conftest.err
>&5
25640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25641 (exit $ac_status); } &&
25642 { ac_try
='test -z "$ac_c_werror_flag"
25643 || test ! -s conftest.err'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; } &&
25649 { ac_try
='test -s conftest.$ac_objext'
25650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25651 (eval $ac_try) 2>&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); }; }; then
25655 ac_hi
=$ac_mid; break
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.
$ac_ext >&5
25660 ac_lo
=`expr $ac_mid + 1`
25661 if test $ac_lo -le $ac_mid; then
25665 ac_mid
=`expr 2 '*' $ac_mid + 1`
25667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25670 echo "$as_me: failed program was:" >&5
25671 sed 's/^/| /' conftest.
$ac_ext >&5
25673 cat >conftest.
$ac_ext <<_ACEOF
25676 cat confdefs.h
>>conftest.
$ac_ext
25677 cat >>conftest.
$ac_ext <<_ACEOF
25678 /* end confdefs.h. */
25679 $ac_includes_default
25683 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
25690 rm -f conftest.
$ac_objext
25691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25692 (eval $ac_compile) 2>conftest.er1
25694 grep -v '^ *+' conftest.er1
>conftest.err
25696 cat conftest.err
>&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); } &&
25699 { ac_try
='test -z "$ac_c_werror_flag"
25700 || test ! -s conftest.err'
25701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25702 (eval $ac_try) 2>&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); }; } &&
25706 { ac_try
='test -s conftest.$ac_objext'
25707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25708 (eval $ac_try) 2>&5
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); }; }; then
25714 cat >conftest.
$ac_ext <<_ACEOF
25717 cat confdefs.h
>>conftest.
$ac_ext
25718 cat >>conftest.
$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25720 $ac_includes_default
25724 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
25731 rm -f conftest.
$ac_objext
25732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25733 (eval $ac_compile) 2>conftest.er1
25735 grep -v '^ *+' conftest.er1
>conftest.err
25737 cat conftest.err
>&5
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); } &&
25740 { ac_try
='test -z "$ac_c_werror_flag"
25741 || test ! -s conftest.err'
25742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25743 (eval $ac_try) 2>&5
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); }; } &&
25747 { ac_try
='test -s conftest.$ac_objext'
25748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749 (eval $ac_try) 2>&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); }; }; then
25753 ac_lo
=$ac_mid; break
25755 echo "$as_me: failed program was:" >&5
25756 sed 's/^/| /' conftest.
$ac_ext >&5
25758 ac_hi
=`expr '(' $ac_mid ')' - 1`
25759 if test $ac_mid -le $ac_hi; then
25763 ac_mid
=`expr 2 '*' $ac_mid`
25765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25768 echo "$as_me: failed program was:" >&5
25769 sed 's/^/| /' conftest.
$ac_ext >&5
25773 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25776 # Binary search between lo and hi bounds.
25777 while test "x$ac_lo" != "x$ac_hi"; do
25778 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25779 cat >conftest.
$ac_ext <<_ACEOF
25782 cat confdefs.h
>>conftest.
$ac_ext
25783 cat >>conftest.
$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25785 $ac_includes_default
25789 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25796 rm -f conftest.
$ac_objext
25797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25798 (eval $ac_compile) 2>conftest.er1
25800 grep -v '^ *+' conftest.er1
>conftest.err
25802 cat conftest.err
>&5
25803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25804 (exit $ac_status); } &&
25805 { ac_try
='test -z "$ac_c_werror_flag"
25806 || test ! -s conftest.err'
25807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25808 (eval $ac_try) 2>&5
25810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25811 (exit $ac_status); }; } &&
25812 { ac_try
='test -s conftest.$ac_objext'
25813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25814 (eval $ac_try) 2>&5
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); }; }; then
25820 echo "$as_me: failed program was:" >&5
25821 sed 's/^/| /' conftest.
$ac_ext >&5
25823 ac_lo
=`expr '(' $ac_mid ')' + 1`
25825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25828 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
25829 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25830 See \`config.log' for more details." >&5
25831 echo "$as_me: error: cannot compute sizeof (void *), 77
25832 See \`config.log' for more details." >&2;}
25833 { (exit 1); exit 1; }; } ;;
25836 if test "$cross_compiling" = yes; then
25837 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25838 See \`config.log' for more details." >&5
25839 echo "$as_me: error: cannot run test program while cross compiling
25840 See \`config.log' for more details." >&2;}
25841 { (exit 1); exit 1; }; }
25843 cat >conftest.
$ac_ext <<_ACEOF
25846 cat confdefs.h
>>conftest.
$ac_ext
25847 cat >>conftest.
$ac_ext <<_ACEOF
25848 /* end confdefs.h. */
25849 $ac_includes_default
25850 long longval () { return (long) (sizeof (void *)); }
25851 unsigned long ulongval () { return (long) (sizeof (void *)); }
25853 #include <stdlib.h>
25858 FILE *f = fopen ("conftest.val", "w");
25861 if (((long) (sizeof (void *))) < 0)
25863 long i = longval ();
25864 if (i != ((long) (sizeof (void *))))
25866 fprintf (f, "%ld\n", i);
25870 unsigned long i = ulongval ();
25871 if (i != ((long) (sizeof (void *))))
25873 fprintf (f, "%lu\n", i);
25875 exit (ferror (f) || fclose (f) != 0);
25881 rm -f conftest
$ac_exeext
25882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25883 (eval $ac_link) 2>&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25888 (eval $ac_try) 2>&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); }; }; then
25892 ac_cv_sizeof_void_p
=`cat conftest.val`
25894 echo "$as_me: program exited with status $ac_status" >&5
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.
$ac_ext >&5
25898 ( exit $ac_status )
25899 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25900 See \`config.log' for more details." >&5
25901 echo "$as_me: error: cannot compute sizeof (void *), 77
25902 See \`config.log' for more details." >&2;}
25903 { (exit 1); exit 1; }; }
25905 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25910 ac_cv_sizeof_void_p
=0
25913 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
25914 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
25915 cat >>confdefs.h
<<_ACEOF
25916 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
25921 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25922 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25923 if test "${ac_cv_c_bigendian+set}" = set; then
25924 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 # See if sys/param.h defines the BYTE_ORDER macro.
25927 cat >conftest.
$ac_ext <<_ACEOF
25930 cat confdefs.h
>>conftest.
$ac_ext
25931 cat >>conftest.
$ac_ext <<_ACEOF
25932 /* end confdefs.h. */
25933 #include <sys/types.h>
25934 #include <sys/param.h>
25939 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25940 bogus endian macros
25947 rm -f conftest.
$ac_objext
25948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25949 (eval $ac_compile) 2>conftest.er1
25951 grep -v '^ *+' conftest.er1
>conftest.err
25953 cat conftest.err
>&5
25954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955 (exit $ac_status); } &&
25956 { ac_try
='test -z "$ac_c_werror_flag"
25957 || test ! -s conftest.err'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; } &&
25963 { ac_try
='test -s conftest.$ac_objext'
25964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25965 (eval $ac_try) 2>&5
25967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25968 (exit $ac_status); }; }; then
25969 # It does; now see whether it defined to BIG_ENDIAN or not.
25970 cat >conftest.
$ac_ext <<_ACEOF
25973 cat confdefs.h
>>conftest.
$ac_ext
25974 cat >>conftest.
$ac_ext <<_ACEOF
25975 /* end confdefs.h. */
25976 #include <sys/types.h>
25977 #include <sys/param.h>
25982 #if BYTE_ORDER != BIG_ENDIAN
25990 rm -f conftest.
$ac_objext
25991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25992 (eval $ac_compile) 2>conftest.er1
25994 grep -v '^ *+' conftest.er1
>conftest.err
25996 cat conftest.err
>&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } &&
25999 { ac_try
='test -z "$ac_c_werror_flag"
26000 || test ! -s conftest.err'
26001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002 (eval $ac_try) 2>&5
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); }; } &&
26006 { ac_try
='test -s conftest.$ac_objext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26012 ac_cv_c_bigendian
=yes
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.
$ac_ext >&5
26017 ac_cv_c_bigendian
=no
26019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26021 echo "$as_me: failed program was:" >&5
26022 sed 's/^/| /' conftest.
$ac_ext >&5
26024 # It does not; compile a test program.
26025 if test "$cross_compiling" = yes; then
26026 # try to guess the endianness by grepping values into an object file
26027 ac_cv_c_bigendian
=unknown
26028 cat >conftest.
$ac_ext <<_ACEOF
26031 cat confdefs.h
>>conftest.
$ac_ext
26032 cat >>conftest.
$ac_ext <<_ACEOF
26033 /* end confdefs.h. */
26034 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26035 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26036 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26037 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26038 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26039 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26043 _ascii (); _ebcdic ();
26048 rm -f conftest.
$ac_objext
26049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26050 (eval $ac_compile) 2>conftest.er1
26052 grep -v '^ *+' conftest.er1
>conftest.err
26054 cat conftest.err
>&5
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); } &&
26057 { ac_try
='test -z "$ac_c_werror_flag"
26058 || test ! -s conftest.err'
26059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26060 (eval $ac_try) 2>&5
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); }; } &&
26064 { ac_try
='test -s conftest.$ac_objext'
26065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26066 (eval $ac_try) 2>&5
26068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26069 (exit $ac_status); }; }; then
26070 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
26071 ac_cv_c_bigendian
=yes
26073 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
26074 if test "$ac_cv_c_bigendian" = unknown
; then
26075 ac_cv_c_bigendian
=no
26077 # finding both strings is unlikely to happen, but who knows?
26078 ac_cv_c_bigendian
=unknown
26082 echo "$as_me: failed program was:" >&5
26083 sed 's/^/| /' conftest.
$ac_ext >&5
26086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26088 cat >conftest.
$ac_ext <<_ACEOF
26091 cat confdefs.h
>>conftest.
$ac_ext
26092 cat >>conftest.
$ac_ext <<_ACEOF
26093 /* end confdefs.h. */
26097 /* Are we little or big endian? From Harbison&Steele. */
26101 char c[sizeof (long)];
26104 exit (u.c[sizeof (long) - 1] == 1);
26107 rm -f conftest
$ac_exeext
26108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26109 (eval $ac_link) 2>&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26114 (eval $ac_try) 2>&5
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); }; }; then
26118 ac_cv_c_bigendian
=no
26120 echo "$as_me: program exited with status $ac_status" >&5
26121 echo "$as_me: failed program was:" >&5
26122 sed 's/^/| /' conftest.
$ac_ext >&5
26124 ( exit $ac_status )
26125 ac_cv_c_bigendian
=yes
26127 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26130 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26132 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26133 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
26134 case $ac_cv_c_bigendian in
26137 cat >>confdefs.h
<<\_ACEOF
26138 #define WORDS_BIGENDIAN 1
26144 { { echo "$as_me:$LINENO: error: unknown endianness
26145 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
26146 echo "$as_me: error: unknown endianness
26147 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
26148 { (exit 1); exit 1; }; } ;;
26156 if test -z "$ZLIBSPEC"; then
26157 # Use zlib from the GCC tree.
26158 ZINCS
='-I$(top_srcdir)/../zlib'
26159 ZLIBS
=..
/zlib
/libzgcj_convenience.la
26162 SYS_ZLIBS
="$ZLIBSPEC"
26175 if test "$NATIVE" = yes; then
26185 if test "$enable_shared" = yes; then
26186 ENABLE_SHARED_TRUE
=
26187 ENABLE_SHARED_FALSE
='#'
26189 ENABLE_SHARED_TRUE
='#'
26190 ENABLE_SHARED_FALSE
=
26195 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
26196 NEEDS_DATA_START_TRUE
=
26197 NEEDS_DATA_START_FALSE
='#'
26199 NEEDS_DATA_START_TRUE
='#'
26200 NEEDS_DATA_START_FALSE
=
26205 # Process the option "--enable-version-specific-runtime-libs"
26206 # Calculate toolexeclibdir
26207 case ${version_specific_libs} in
26209 # Need the gcc compiler version to know where to install libraries
26210 # and header files if --enable-version-specific-runtime-libs option
26212 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
26213 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
26214 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
26215 toolexeclibdir
=$toolexecmainlibdir
26218 if test -n "$with_cross_host" &&
26219 test x
"$with_cross_host" != x
"no"; then
26220 # Install a library built with a cross compiler in tooldir, not libdir.
26221 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
26222 toolexecmainlibdir
='$(toolexecdir)/lib'
26224 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
26225 toolexecmainlibdir
='$(libdir)'
26227 multi_os_directory
=`$CC -print-multi-os-directory`
26228 case $multi_os_directory in
26229 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
26230 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
26238 # Determine gcj and libgcj version number.
26239 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
26240 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
26241 GCJVERSION
=$gcjversion
26244 cat >>confdefs.h
<<_ACEOF
26245 #define GCJVERSION "$GCJVERSION"
26249 # Determine where the standard .db file and GNU Classpath JNI
26250 # libraries are found.
26251 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
26252 multi_os_directory
=`$CC -print-multi-os-directory`
26253 case $multi_os_directory in
26255 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
26258 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
26264 cat >>confdefs.h
<<\_ACEOF
26265 #define JV_VERSION "1.5.0"
26269 cat >>confdefs.h
<<\_ACEOF
26270 #define JV_API_VERSION "1.5"
26275 case "${with_gxx_include_dir}" in
26277 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
26278 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
26279 { (exit 1); exit 1; }; }
26282 case "${enable_version_specific_runtime_libs}" in
26283 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
26285 libstdcxx_incdir
='c++/$(gcc_version)'
26286 gxx_include_dir
='include/$(libstdcxx_incdir)'
26287 if test -n "$with_cross_host" &&
26288 test x
"$with_cross_host" != x
"no"; then
26289 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
26291 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
26294 *) gxx_include_dir
=${with_gxx_include_dir} ;;
26300 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
26301 # On that system, sys/ioctl.h will not include sys/filio.h unless
26302 # BSD_COMP is defined; just including sys/filio.h is simpler.
26303 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
26304 # for now. If you change this, you also must update natFile.cc.
26328 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
26329 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
26330 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
26331 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
26332 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
26334 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26336 echo "$as_me:$LINENO: checking for $ac_header" >&5
26337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26344 # Is the header compilable?
26345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26347 cat >conftest.
$ac_ext <<_ACEOF
26350 cat confdefs.h
>>conftest.
$ac_ext
26351 cat >>conftest.
$ac_ext <<_ACEOF
26352 /* end confdefs.h. */
26353 $ac_includes_default
26354 #include <$ac_header>
26356 rm -f conftest.
$ac_objext
26357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26358 (eval $ac_compile) 2>conftest.er1
26360 grep -v '^ *+' conftest.er1
>conftest.err
26362 cat conftest.err
>&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); } &&
26365 { ac_try
='test -z "$ac_c_werror_flag"
26366 || test ! -s conftest.err'
26367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26368 (eval $ac_try) 2>&5
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); }; } &&
26372 { ac_try
='test -s conftest.$ac_objext'
26373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26374 (eval $ac_try) 2>&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); }; }; then
26378 ac_header_compiler
=yes
26380 echo "$as_me: failed program was:" >&5
26381 sed 's/^/| /' conftest.
$ac_ext >&5
26383 ac_header_compiler
=no
26385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26387 echo "${ECHO_T}$ac_header_compiler" >&6
26389 # Is the header present?
26390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26392 cat >conftest.
$ac_ext <<_ACEOF
26395 cat confdefs.h
>>conftest.
$ac_ext
26396 cat >>conftest.
$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26398 #include <$ac_header>
26400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26403 grep -v '^ *+' conftest.er1
>conftest.err
26405 cat conftest.err
>&5
26406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26407 (exit $ac_status); } >/dev
/null
; then
26408 if test -s conftest.err
; then
26409 ac_cpp_err
=$ac_c_preproc_warn_flag
26410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26417 if test -z "$ac_cpp_err"; then
26418 ac_header_preproc
=yes
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.
$ac_ext >&5
26423 ac_header_preproc
=no
26425 rm -f conftest.err conftest.
$ac_ext
26426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26427 echo "${ECHO_T}$ac_header_preproc" >&6
26429 # So? What about this header?
26430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26436 ac_header_preproc
=yes
26439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26453 ## ---------------------------------- ##
26454 ## Report this to the libjava lists. ##
26455 ## ---------------------------------- ##
26458 sed "s/^/$as_me: WARNING: /" >&2
26461 echo "$as_me:$LINENO: checking for $ac_header" >&5
26462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26464 echo $ECHO_N "(cached) $ECHO_C" >&6
26466 eval "$as_ac_Header=\$ac_header_preproc"
26468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26473 cat >>confdefs.h
<<_ACEOF
26474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26482 for ac_header
in inttypes.h
26484 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26486 echo "$as_me:$LINENO: checking for $ac_header" >&5
26487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26489 echo $ECHO_N "(cached) $ECHO_C" >&6
26491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26494 # Is the header compilable?
26495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26497 cat >conftest.
$ac_ext <<_ACEOF
26500 cat confdefs.h
>>conftest.
$ac_ext
26501 cat >>conftest.
$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26503 $ac_includes_default
26504 #include <$ac_header>
26506 rm -f conftest.
$ac_objext
26507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26508 (eval $ac_compile) 2>conftest.er1
26510 grep -v '^ *+' conftest.er1
>conftest.err
26512 cat conftest.err
>&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } &&
26515 { ac_try
='test -z "$ac_c_werror_flag"
26516 || test ! -s conftest.err'
26517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26518 (eval $ac_try) 2>&5
26520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26521 (exit $ac_status); }; } &&
26522 { ac_try
='test -s conftest.$ac_objext'
26523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26524 (eval $ac_try) 2>&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); }; }; then
26528 ac_header_compiler
=yes
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.
$ac_ext >&5
26533 ac_header_compiler
=no
26535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26537 echo "${ECHO_T}$ac_header_compiler" >&6
26539 # Is the header present?
26540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26542 cat >conftest.
$ac_ext <<_ACEOF
26545 cat confdefs.h
>>conftest.
$ac_ext
26546 cat >>conftest.
$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26548 #include <$ac_header>
26550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26551 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26553 grep -v '^ *+' conftest.er1
>conftest.err
26555 cat conftest.err
>&5
26556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557 (exit $ac_status); } >/dev
/null
; then
26558 if test -s conftest.err
; then
26559 ac_cpp_err
=$ac_c_preproc_warn_flag
26560 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26567 if test -z "$ac_cpp_err"; then
26568 ac_header_preproc
=yes
26570 echo "$as_me: failed program was:" >&5
26571 sed 's/^/| /' conftest.
$ac_ext >&5
26573 ac_header_preproc
=no
26575 rm -f conftest.err conftest.
$ac_ext
26576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26577 echo "${ECHO_T}$ac_header_preproc" >&6
26579 # So? What about this header?
26580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26586 ac_header_preproc
=yes
26589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26603 ## ---------------------------------- ##
26604 ## Report this to the libjava lists. ##
26605 ## ---------------------------------- ##
26608 sed "s/^/$as_me: WARNING: /" >&2
26611 echo "$as_me:$LINENO: checking for $ac_header" >&5
26612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26614 echo $ECHO_N "(cached) $ECHO_C" >&6
26616 eval "$as_ac_Header=\$ac_header_preproc"
26618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26623 cat >>confdefs.h
<<_ACEOF
26624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26628 cat >>confdefs.h
<<\_ACEOF
26629 #define HAVE_INTTYPES_H 1
26633 cat >>confdefs.h
<<\_ACEOF
26634 #define JV_HAVE_INTTYPES_H 1
26643 echo "$as_me:$LINENO: checking for ssize_t" >&5
26644 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
26645 if test "${ac_cv_type_ssize_t+set}" = set; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 cat >conftest.
$ac_ext <<_ACEOF
26651 cat confdefs.h
>>conftest.
$ac_ext
26652 cat >>conftest.
$ac_ext <<_ACEOF
26653 /* end confdefs.h. */
26654 $ac_includes_default
26660 if (sizeof (ssize_t))
26666 rm -f conftest.
$ac_objext
26667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26668 (eval $ac_compile) 2>conftest.er1
26670 grep -v '^ *+' conftest.er1
>conftest.err
26672 cat conftest.err
>&5
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); } &&
26675 { ac_try
='test -z "$ac_c_werror_flag"
26676 || test ! -s conftest.err'
26677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26678 (eval $ac_try) 2>&5
26680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26681 (exit $ac_status); }; } &&
26682 { ac_try
='test -s conftest.$ac_objext'
26683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26684 (eval $ac_try) 2>&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); }; }; then
26688 ac_cv_type_ssize_t
=yes
26690 echo "$as_me: failed program was:" >&5
26691 sed 's/^/| /' conftest.
$ac_ext >&5
26693 ac_cv_type_ssize_t
=no
26695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26697 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26698 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
26699 if test $ac_cv_type_ssize_t = yes; then
26703 cat >>confdefs.h
<<_ACEOF
26704 #define ssize_t int
26709 echo "$as_me:$LINENO: checking for magic_t" >&5
26710 echo $ECHO_N "checking for magic_t... $ECHO_C" >&6
26711 if test "${ac_cv_type_magic_t+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 cat >conftest.
$ac_ext <<_ACEOF
26717 cat confdefs.h
>>conftest.
$ac_ext
26718 cat >>conftest.
$ac_ext <<_ACEOF
26719 /* end confdefs.h. */
26721 #ifdef HAVE_MAGIC_H
26730 if (sizeof (magic_t))
26736 rm -f conftest.
$ac_objext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26738 (eval $ac_compile) 2>conftest.er1
26740 grep -v '^ *+' conftest.er1
>conftest.err
26742 cat conftest.err
>&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } &&
26745 { ac_try
='test -z "$ac_c_werror_flag"
26746 || test ! -s conftest.err'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; } &&
26752 { ac_try
='test -s conftest.$ac_objext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 ac_cv_type_magic_t
=yes
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.
$ac_ext >&5
26763 ac_cv_type_magic_t
=no
26765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26767 echo "$as_me:$LINENO: result: $ac_cv_type_magic_t" >&5
26768 echo "${ECHO_T}$ac_cv_type_magic_t" >&6
26769 if test $ac_cv_type_magic_t = yes; then
26772 cat >>confdefs.h
<<\_ACEOF
26773 #define HAVE_MAGIC_T 1
26779 echo "$as_me:$LINENO: checking for in_addr_t" >&5
26780 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
26781 cat >conftest.
$ac_ext <<_ACEOF
26784 cat confdefs.h
>>conftest.
$ac_ext
26785 cat >>conftest.
$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26787 #include <sys/types.h>
26789 #include <stdlib.h>
26790 #include <stddef.h>
26792 #if HAVE_NETINET_IN_H
26793 #include <netinet/in.h>
26803 rm -f conftest.
$ac_objext
26804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26805 (eval $ac_compile) 2>conftest.er1
26807 grep -v '^ *+' conftest.er1
>conftest.err
26809 cat conftest.err
>&5
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); } &&
26812 { ac_try
='test -z "$ac_c_werror_flag"
26813 || test ! -s conftest.err'
26814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26815 (eval $ac_try) 2>&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); }; } &&
26819 { ac_try
='test -s conftest.$ac_objext'
26820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26821 (eval $ac_try) 2>&5
26823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26824 (exit $ac_status); }; }; then
26826 cat >>confdefs.h
<<\_ACEOF
26827 #define HAVE_IN_ADDR_T 1
26830 echo "$as_me:$LINENO: result: yes" >&5
26831 echo "${ECHO_T}yes" >&6
26833 echo "$as_me: failed program was:" >&5
26834 sed 's/^/| /' conftest.
$ac_ext >&5
26836 echo "$as_me:$LINENO: result: no" >&5
26837 echo "${ECHO_T}no" >&6
26839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26841 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
26842 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
26843 cat >conftest.
$ac_ext <<_ACEOF
26846 cat confdefs.h
>>conftest.
$ac_ext
26847 cat >>conftest.
$ac_ext <<_ACEOF
26848 /* end confdefs.h. */
26849 #include <netinet/in.h>
26853 struct ip_mreq mreq;
26858 rm -f conftest.
$ac_objext
26859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26860 (eval $ac_compile) 2>conftest.er1
26862 grep -v '^ *+' conftest.er1
>conftest.err
26864 cat conftest.err
>&5
26865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26866 (exit $ac_status); } &&
26867 { ac_try
='test -z "$ac_c_werror_flag"
26868 || test ! -s conftest.err'
26869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26870 (eval $ac_try) 2>&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); }; } &&
26874 { ac_try
='test -s conftest.$ac_objext'
26875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26876 (eval $ac_try) 2>&5
26878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26879 (exit $ac_status); }; }; then
26881 cat >>confdefs.h
<<\_ACEOF
26882 #define HAVE_STRUCT_IP_MREQ 1
26885 echo "$as_me:$LINENO: result: yes" >&5
26886 echo "${ECHO_T}yes" >&6
26888 echo "$as_me: failed program was:" >&5
26889 sed 's/^/| /' conftest.
$ac_ext >&5
26891 echo "$as_me:$LINENO: result: no" >&5
26892 echo "${ECHO_T}no" >&6
26894 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26896 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
26897 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
26898 cat >conftest.
$ac_ext <<_ACEOF
26901 cat confdefs.h
>>conftest.
$ac_ext
26902 cat >>conftest.
$ac_ext <<_ACEOF
26903 /* end confdefs.h. */
26904 #include <netinet/in.h>
26908 struct ipv6_mreq mreq6;
26913 rm -f conftest.
$ac_objext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26915 (eval $ac_compile) 2>conftest.er1
26917 grep -v '^ *+' conftest.er1
>conftest.err
26919 cat conftest.err
>&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try
='test -z "$ac_c_werror_flag"
26923 || test ! -s conftest.err'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; } &&
26929 { ac_try
='test -s conftest.$ac_objext'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; }; then
26936 cat >>confdefs.h
<<\_ACEOF
26937 #define HAVE_STRUCT_IPV6_MREQ 1
26940 echo "$as_me:$LINENO: result: yes" >&5
26941 echo "${ECHO_T}yes" >&6
26943 echo "$as_me: failed program was:" >&5
26944 sed 's/^/| /' conftest.
$ac_ext >&5
26946 echo "$as_me:$LINENO: result: no" >&5
26947 echo "${ECHO_T}no" >&6
26949 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26951 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
26952 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
26953 cat >conftest.
$ac_ext <<_ACEOF
26956 cat confdefs.h
>>conftest.
$ac_ext
26957 cat >>conftest.
$ac_ext <<_ACEOF
26958 /* end confdefs.h. */
26959 #include <netinet/in.h>
26963 struct sockaddr_in6 addr6;
26968 rm -f conftest.
$ac_objext
26969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26970 (eval $ac_compile) 2>conftest.er1
26972 grep -v '^ *+' conftest.er1
>conftest.err
26974 cat conftest.err
>&5
26975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26976 (exit $ac_status); } &&
26977 { ac_try
='test -z "$ac_c_werror_flag"
26978 || test ! -s conftest.err'
26979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980 (eval $ac_try) 2>&5
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; } &&
26984 { ac_try
='test -s conftest.$ac_objext'
26985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26986 (eval $ac_try) 2>&5
26988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989 (exit $ac_status); }; }; then
26991 cat >>confdefs.h
<<\_ACEOF
26992 #define HAVE_INET6 1
26995 echo "$as_me:$LINENO: result: yes" >&5
26996 echo "${ECHO_T}yes" >&6
26998 echo "$as_me: failed program was:" >&5
26999 sed 's/^/| /' conftest.
$ac_ext >&5
27001 echo "$as_me:$LINENO: result: no" >&5
27002 echo "${ECHO_T}no" >&6
27004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27006 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
27007 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
27008 cat >conftest.
$ac_ext <<_ACEOF
27011 cat confdefs.h
>>conftest.
$ac_ext
27012 cat >>conftest.
$ac_ext <<_ACEOF
27013 /* end confdefs.h. */
27014 #define _POSIX_PII_SOCKET
27015 #include <sys/types.h>
27016 #include <sys/socket.h>
27025 rm -f conftest.
$ac_objext
27026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27027 (eval $ac_compile) 2>conftest.er1
27029 grep -v '^ *+' conftest.er1
>conftest.err
27031 cat conftest.err
>&5
27032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 (exit $ac_status); } &&
27034 { ac_try
='test -z "$ac_c_werror_flag"
27035 || test ! -s conftest.err'
27036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27037 (eval $ac_try) 2>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); }; } &&
27041 { ac_try
='test -s conftest.$ac_objext'
27042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27043 (eval $ac_try) 2>&5
27045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27046 (exit $ac_status); }; }; then
27048 cat >>confdefs.h
<<\_ACEOF
27049 #define HAVE_SOCKLEN_T 1
27052 echo "$as_me:$LINENO: result: yes" >&5
27053 echo "${ECHO_T}yes" >&6
27055 echo "$as_me: failed program was:" >&5
27056 sed 's/^/| /' conftest.
$ac_ext >&5
27058 echo "$as_me:$LINENO: result: no" >&5
27059 echo "${ECHO_T}no" >&6
27061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27063 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27064 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27065 cat >conftest.
$ac_ext <<_ACEOF
27068 cat confdefs.h
>>conftest.
$ac_ext
27069 cat >>conftest.
$ac_ext <<_ACEOF
27070 /* end confdefs.h. */
27075 struct tm tim; tim.tm_gmtoff = 0;
27080 rm -f conftest.
$ac_objext
27081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27082 (eval $ac_compile) 2>conftest.er1
27084 grep -v '^ *+' conftest.er1
>conftest.err
27086 cat conftest.err
>&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); } &&
27089 { ac_try
='test -z "$ac_c_werror_flag"
27090 || test ! -s conftest.err'
27091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27092 (eval $ac_try) 2>&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); }; } &&
27096 { ac_try
='test -s conftest.$ac_objext'
27097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098 (eval $ac_try) 2>&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); }; }; then
27103 cat >>confdefs.h
<<\_ACEOF
27104 #define STRUCT_TM_HAS_GMTOFF 1
27107 echo "$as_me:$LINENO: result: yes" >&5
27108 echo "${ECHO_T}yes" >&6
27110 echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.
$ac_ext >&5
27113 echo "$as_me:$LINENO: result: no" >&5
27114 echo "${ECHO_T}no" >&6
27115 echo "$as_me:$LINENO: checking for global timezone variable" >&5
27116 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
27117 cat >conftest.
$ac_ext <<_ACEOF
27120 cat confdefs.h
>>conftest.
$ac_ext
27121 cat >>conftest.
$ac_ext <<_ACEOF
27122 /* end confdefs.h. */
27127 void i(){long z2 = 2*timezone;}
27132 rm -f conftest.
$ac_objext
27133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27134 (eval $ac_compile) 2>conftest.er1
27136 grep -v '^ *+' conftest.er1
>conftest.err
27138 cat conftest.err
>&5
27139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140 (exit $ac_status); } &&
27141 { ac_try
='test -z "$ac_c_werror_flag"
27142 || test ! -s conftest.err'
27143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144 (eval $ac_try) 2>&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); }; } &&
27148 { ac_try
='test -s conftest.$ac_objext'
27149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150 (eval $ac_try) 2>&5
27152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153 (exit $ac_status); }; }; then
27155 cat >>confdefs.h
<<\_ACEOF
27156 #define HAVE_TIMEZONE 1
27159 echo "$as_me:$LINENO: result: yes" >&5
27160 echo "${ECHO_T}yes" >&6
27162 echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.
$ac_ext >&5
27165 echo "$as_me:$LINENO: result: no" >&5
27166 echo "${ECHO_T}no" >&6
27167 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
27168 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
27169 cat >conftest.
$ac_ext <<_ACEOF
27172 cat confdefs.h
>>conftest.
$ac_ext
27173 cat >>conftest.
$ac_ext <<_ACEOF
27174 /* end confdefs.h. */
27179 long z2 = _timezone;
27184 rm -f conftest.
$ac_objext
27185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27186 (eval $ac_compile) 2>conftest.er1
27188 grep -v '^ *+' conftest.er1
>conftest.err
27190 cat conftest.err
>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } &&
27193 { ac_try
='test -z "$ac_c_werror_flag"
27194 || test ! -s conftest.err'
27195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27196 (eval $ac_try) 2>&5
27198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27199 (exit $ac_status); }; } &&
27200 { ac_try
='test -s conftest.$ac_objext'
27201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27202 (eval $ac_try) 2>&5
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); }; }; then
27207 cat >>confdefs.h
<<\_ACEOF
27208 #define HAVE_UNDERSCORE_TIMEZONE 1
27211 echo "$as_me:$LINENO: result: yes" >&5
27212 echo "${ECHO_T}yes" >&6
27214 echo "$as_me: failed program was:" >&5
27215 sed 's/^/| /' conftest.
$ac_ext >&5
27217 echo "$as_me:$LINENO: result: no" >&5
27218 echo "${ECHO_T}no" >&6
27220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27224 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27226 for ac_prog
in perl
27228 # Extract the first word of "$ac_prog", so it can be a program name with args.
27229 set dummy
$ac_prog; ac_word
=$2
27230 echo "$as_me:$LINENO: checking for $ac_word" >&5
27231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27232 if test "${ac_cv_prog_PERL+set}" = set; then
27233 echo $ECHO_N "(cached) $ECHO_C" >&6
27235 if test -n "$PERL"; then
27236 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
27238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27239 for as_dir
in $PATH
27242 test -z "$as_dir" && as_dir
=.
27243 for ac_exec_ext
in '' $ac_executable_extensions; do
27244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27245 ac_cv_prog_PERL
="$ac_prog"
27246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27254 PERL
=$ac_cv_prog_PERL
27255 if test -n "$PERL"; then
27256 echo "$as_me:$LINENO: result: $PERL" >&5
27257 echo "${ECHO_T}$PERL" >&6
27259 echo "$as_me:$LINENO: result: no" >&5
27260 echo "${ECHO_T}no" >&6
27263 test -n "$PERL" && break
27265 test -n "$PERL" || PERL
="false"
27269 SIGNAL_HANDLER_AUX
=
27273 SIGNAL_HANDLER
=include
/i386-signal.h
27275 sparc
*-sun-solaris*)
27276 SIGNAL_HANDLER
=include
/sparc-signal.h
27279 # SYSDEP_SOURCES=sysdep/ia64.c
27280 # test -d sysdep || mkdir sysdep
27283 SIGNAL_HANDLER
=include
/pa-signal.h
27286 SIGNAL_HANDLER
=include
/hppa-signal.h
27289 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27292 SIGNAL_HANDLER
=include
/powerpc-signal.h
27295 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27298 SIGNAL_HANDLER
=include
/s390-signal.h
27301 SIGNAL_HANDLER
=include
/x86_64-signal.h
27302 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
27305 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27308 SIGNAL_HANDLER
=include
/sh-signal.h
27311 SIGNAL_HANDLER
=include
/win32-signal.h
27314 SIGNAL_HANDLER
=include
/mips-signal.h
27317 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27319 powerpc
*-*-darwin* | i?
86-*-darwin9* | x86_64-
*-darwin9*)
27320 SIGNAL_HANDLER
=include
/darwin-signal.h
27323 SIGNAL_HANDLER
=include
/default-signal.h
27327 # If we're using sjlj exceptions, forget what we just learned.
27328 if test "$enable_sjlj_exceptions" = yes; then
27329 SIGNAL_HANDLER
=include
/default-signal.h
27330 SIGNAL_HANDLER_AUX
=
27335 if test -z "$SIGNAL_HANDLER_AUX"; then
27336 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
27339 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
27342 if test "${multilib}" = "yes"; then
27343 multilib_arg
="--enable-multilib"
27348 # See if we support thread-local storage.
27350 # Check whether --enable-tls or --disable-tls was given.
27351 if test "${enable_tls+set}" = set; then
27352 enableval
="$enable_tls"
27354 case "$enableval" in
27356 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
27357 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
27358 { (exit 1); exit 1; }; } ;;
27365 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
27366 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
27367 if test "${gcc_cv_have_tls+set}" = set; then
27368 echo $ECHO_N "(cached) $ECHO_C" >&6
27371 if test "$cross_compiling" = yes; then
27372 if test x
$gcc_no_link = xyes
; then
27373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27375 { (exit 1); exit 1; }; }
27377 cat >conftest.
$ac_ext <<_ACEOF
27378 __thread int a; int b; int main() { return a = b; }
27380 rm -f conftest.
$ac_objext conftest
$ac_exeext
27381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27382 (eval $ac_link) 2>conftest.er1
27384 grep -v '^ *+' conftest.er1
>conftest.err
27386 cat conftest.err
>&5
27387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27388 (exit $ac_status); } &&
27389 { ac_try
='test -z "$ac_c_werror_flag"
27390 || test ! -s conftest.err'
27391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27392 (eval $ac_try) 2>&5
27394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395 (exit $ac_status); }; } &&
27396 { ac_try
='test -s conftest$ac_exeext'
27397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27398 (eval $ac_try) 2>&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); }; }; then
27402 gcc_cv_have_tls
=yes
27404 echo "$as_me: failed program was:" >&5
27405 sed 's/^/| /' conftest.
$ac_ext >&5
27409 rm -f conftest.err conftest.
$ac_objext \
27410 conftest
$ac_exeext conftest.
$ac_ext
27414 cat >conftest.
$ac_ext <<_ACEOF
27415 __thread int a; int b; int main() { return a = b; }
27417 rm -f conftest
$ac_exeext
27418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27419 (eval $ac_link) 2>&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27424 (eval $ac_try) 2>&5
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); }; }; then
27428 chktls_save_LDFLAGS
="$LDFLAGS"
27429 LDFLAGS
="-static $LDFLAGS"
27430 if test x
$gcc_no_link = xyes
; then
27431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27433 { (exit 1); exit 1; }; }
27435 cat >conftest.
$ac_ext <<_ACEOF
27436 int main() { return 0; }
27438 rm -f conftest.
$ac_objext conftest
$ac_exeext
27439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27440 (eval $ac_link) 2>conftest.er1
27442 grep -v '^ *+' conftest.er1
>conftest.err
27444 cat conftest.err
>&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); } &&
27447 { ac_try
='test -z "$ac_c_werror_flag"
27448 || test ! -s conftest.err'
27449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27450 (eval $ac_try) 2>&5
27452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27453 (exit $ac_status); }; } &&
27454 { ac_try
='test -s conftest$ac_exeext'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; }; then
27460 if test "$cross_compiling" = yes; then
27461 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27462 See \`config.log' for more details." >&5
27463 echo "$as_me: error: cannot run test program while cross compiling
27464 See \`config.log' for more details." >&2;}
27465 { (exit 1); exit 1; }; }
27467 cat >conftest.
$ac_ext <<_ACEOF
27468 __thread int a; int b; int main() { return a = b; }
27470 rm -f conftest
$ac_exeext
27471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27472 (eval $ac_link) 2>&5
27474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27475 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27477 (eval $ac_try) 2>&5
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; }; then
27481 gcc_cv_have_tls
=yes
27483 echo "$as_me: program exited with status $ac_status" >&5
27484 echo "$as_me: failed program was:" >&5
27485 sed 's/^/| /' conftest.
$ac_ext >&5
27487 ( exit $ac_status )
27490 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27493 echo "$as_me: failed program was:" >&5
27494 sed 's/^/| /' conftest.
$ac_ext >&5
27496 gcc_cv_have_tls
=yes
27498 rm -f conftest.err conftest.
$ac_objext \
27499 conftest
$ac_exeext conftest.
$ac_ext
27500 LDFLAGS
="$chktls_save_LDFLAGS"
27501 if test $gcc_cv_have_tls = yes; then
27502 chktls_save_CFLAGS
="$CFLAGS"
27503 thread_CFLAGS
=failed
27504 for flag
in '' '-pthread' '-lpthread'; do
27505 CFLAGS
="$flag $chktls_save_CFLAGS"
27506 if test x
$gcc_no_link = xyes
; then
27507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27509 { (exit 1); exit 1; }; }
27511 cat >conftest.
$ac_ext <<_ACEOF
27514 cat confdefs.h
>>conftest.
$ac_ext
27515 cat >>conftest.
$ac_ext <<_ACEOF
27516 /* end confdefs.h. */
27517 #include <pthread.h>
27518 void *g(void *d) { return NULL; }
27522 pthread_t t; pthread_create(&t,NULL,g,NULL);
27527 rm -f conftest.
$ac_objext conftest
$ac_exeext
27528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27529 (eval $ac_link) 2>conftest.er1
27531 grep -v '^ *+' conftest.er1
>conftest.err
27533 cat conftest.err
>&5
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); } &&
27536 { ac_try
='test -z "$ac_c_werror_flag"
27537 || test ! -s conftest.err'
27538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27539 (eval $ac_try) 2>&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); }; } &&
27543 { ac_try
='test -s conftest$ac_exeext'
27544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27545 (eval $ac_try) 2>&5
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); }; }; then
27549 thread_CFLAGS
="$flag"
27551 echo "$as_me: failed program was:" >&5
27552 sed 's/^/| /' conftest.
$ac_ext >&5
27555 rm -f conftest.err conftest.
$ac_objext \
27556 conftest
$ac_exeext conftest.
$ac_ext
27557 if test "X$thread_CFLAGS" != Xfailed
; then
27561 CFLAGS
="$chktls_save_CFLAGS"
27562 if test "X$thread_CFLAGS" != Xfailed
; then
27563 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
27564 if test "$cross_compiling" = yes; then
27565 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27566 See \`config.log' for more details." >&5
27567 echo "$as_me: error: cannot run test program while cross compiling
27568 See \`config.log' for more details." >&2;}
27569 { (exit 1); exit 1; }; }
27571 cat >conftest.
$ac_ext <<_ACEOF
27574 cat confdefs.h
>>conftest.
$ac_ext
27575 cat >>conftest.
$ac_ext <<_ACEOF
27576 /* end confdefs.h. */
27577 #include <pthread.h>
27579 static int *a_in_other_thread;
27581 thread_func (void *arg)
27583 a_in_other_thread = &a;
27590 void *thread_retval;
27591 int *a_in_main_thread;
27592 if (pthread_create (&thread, (pthread_attr_t *)0,
27593 thread_func, (void *)0))
27595 a_in_main_thread = &a;
27596 if (pthread_join (thread, &thread_retval))
27598 return (a_in_other_thread == a_in_main_thread);
27603 rm -f conftest
$ac_exeext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27605 (eval $ac_link) 2>&5
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; }; then
27614 gcc_cv_have_tls
=yes
27616 echo "$as_me: program exited with status $ac_status" >&5
27617 echo "$as_me: failed program was:" >&5
27618 sed 's/^/| /' conftest.
$ac_ext >&5
27620 ( exit $ac_status )
27623 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27625 CFLAGS
="$chktls_save_CFLAGS"
27629 echo "$as_me: program exited with status $ac_status" >&5
27630 echo "$as_me: failed program was:" >&5
27631 sed 's/^/| /' conftest.
$ac_ext >&5
27633 ( exit $ac_status )
27636 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27639 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
27640 echo "${ECHO_T}$gcc_cv_have_tls" >&6
27641 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27643 cat >>confdefs.h
<<\_ACEOF
27649 # For _Unwind_GetIPInfo.
27654 ac_cpp
='$CXXCPP $CPPFLAGS'
27655 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27656 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27657 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27659 ac_save_CXXFLAGS
="$CXXFLAGS"
27660 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
27661 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
27662 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
27663 if test "${gcc_cv_getipinfo+set}" = set; then
27664 echo $ECHO_N "(cached) $ECHO_C" >&6
27667 if test x
$gcc_no_link = xyes
; then
27668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27670 { (exit 1); exit 1; }; }
27672 cat >conftest.
$ac_ext <<_ACEOF
27675 cat confdefs.h
>>conftest.
$ac_ext
27676 cat >>conftest.
$ac_ext <<_ACEOF
27677 /* end confdefs.h. */
27678 extern "C" { extern void _Unwind_GetIPInfo(); }
27682 _Unwind_GetIPInfo();
27687 rm -f conftest.
$ac_objext conftest
$ac_exeext
27688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27689 (eval $ac_link) 2>conftest.er1
27691 grep -v '^ *+' conftest.er1
>conftest.err
27693 cat conftest.err
>&5
27694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27695 (exit $ac_status); } &&
27696 { ac_try
='test -z "$ac_cxx_werror_flag"
27697 || test ! -s conftest.err'
27698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27699 (eval $ac_try) 2>&5
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); }; } &&
27703 { ac_try
='test -s conftest$ac_exeext'
27704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27705 (eval $ac_try) 2>&5
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); }; }; then
27709 gcc_cv_getipinfo
=yes
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.
$ac_ext >&5
27714 gcc_cv_getipinfo
=no
27716 rm -f conftest.err conftest.
$ac_objext \
27717 conftest
$ac_exeext conftest.
$ac_ext
27721 if test $gcc_cv_getipinfo = yes; then
27723 cat >>confdefs.h
<<\_ACEOF
27724 #define HAVE_GETIPINFO 1
27728 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
27729 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
27730 CXXFLAGS
="$ac_save_CXXFLAGS"
27732 ac_cpp
='$CPP $CPPFLAGS'
27733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27739 # See if linker supports anonymous version scripts.
27740 echo "$as_me:$LINENO: checking whether ld supports anonymous version scripts" >&5
27741 echo $ECHO_N "checking whether ld supports anonymous version scripts... $ECHO_C" >&6
27742 if test "${libjava_cv_anon_version_script+set}" = set; then
27743 echo $ECHO_N "(cached) $ECHO_C" >&6
27745 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
27746 libjava_cv_anon_version_script
=no
27747 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
27748 echo '{ global: globalsymb*; local: *; };' > conftest.map
27749 if test x
$gcc_no_link = xyes
; then
27750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27752 { (exit 1); exit 1; }; }
27754 cat >conftest.
$ac_ext <<_ACEOF
27757 cat confdefs.h
>>conftest.
$ac_ext
27758 cat >>conftest.
$ac_ext <<_ACEOF
27759 /* end confdefs.h. */
27760 void globalsymbol (void) {} void localsymbol (void) {}
27769 rm -f conftest.
$ac_objext conftest
$ac_exeext
27770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27771 (eval $ac_link) 2>conftest.er1
27773 grep -v '^ *+' conftest.er1
>conftest.err
27775 cat conftest.err
>&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } &&
27778 { ac_try
='test -z "$ac_c_werror_flag"
27779 || test ! -s conftest.err'
27780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781 (eval $ac_try) 2>&5
27783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784 (exit $ac_status); }; } &&
27785 { ac_try
='test -s conftest$ac_exeext'
27786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27787 (eval $ac_try) 2>&5
27789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27790 (exit $ac_status); }; }; then
27791 libjava_cv_anon_version_script
=yes
27793 echo "$as_me: failed program was:" >&5
27794 sed 's/^/| /' conftest.
$ac_ext >&5
27797 rm -f conftest.err conftest.
$ac_objext \
27798 conftest
$ac_exeext conftest.
$ac_ext
27799 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
27802 echo "$as_me:$LINENO: result: $libjava_cv_anon_version_script" >&5
27803 echo "${ECHO_T}$libjava_cv_anon_version_script" >&6
27806 if test "$libjava_cv_anon_version_script" = yes; then
27807 ANONVERSCRIPT_TRUE
=
27808 ANONVERSCRIPT_FALSE
='#'
27810 ANONVERSCRIPT_TRUE
='#'
27811 ANONVERSCRIPT_FALSE
=
27815 # Check if linker supports static linking on a per library basis
27816 LD_START_STATIC_SPEC
=
27817 LD_FINISH_STATIC_SPEC
=
27818 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
27819 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
27820 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
27821 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
27827 here
=`${PWDCMD-pwd}`
27830 # We get this from the environment.
27833 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
27836 if test ${multilib} = yes; then
27837 multilib_arg
="--enable-multilib"
27842 ac_config_files
="$ac_config_files scripts/jar"
27844 cat >confcache
<<\_ACEOF
27845 # This file is a shell script that caches the results of configure
27846 # tests run on this system so they can be shared between configure
27847 # scripts and configure runs, see configure's option --config-cache.
27848 # It is not useful on other systems. If it contains results you don't
27849 # want to keep, you may remove or edit it.
27851 # config.status only pays attention to the cache file if you give it
27852 # the --recheck option to rerun configure.
27854 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27855 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27856 # following values.
27860 # The following way of writing the cache mishandles newlines in values,
27861 # but we know of no workaround that is simple, portable, and efficient.
27862 # So, don't put newlines in cache variables' values.
27863 # Ultrix sh set writes to stderr and can't be redirected directly,
27864 # and sets the high bit in the cache file unless we assign to the vars.
27867 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27869 # `set' does not quote correctly, so add quotes (double-quote
27870 # substitution turns \\\\ into \\, and sed turns \\ into \).
27873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27876 # `set' quotes correctly as required by POSIX, so do not add quotes.
27878 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27885 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27887 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27889 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
27890 if test -w $cache_file; then
27891 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27892 cat confcache
>$cache_file
27894 echo "not updating unwritable cache $cache_file"
27899 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
27900 # Let make expand exec_prefix.
27901 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
27903 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27904 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27905 # trailing colons and then remove the whole line if VPATH becomes empty
27906 # (actually we leave an empty line to preserve line numbers).
27907 if test "x$srcdir" = x.
; then
27908 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
27909 s/:*\$(srcdir):*/:/;
27910 s/:*\${srcdir}:*/:/;
27912 s/^\([^=]*=[ ]*\):*/\1/;
27918 DEFS
=-DHAVE_CONFIG_H
27922 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
27923 # 1. Remove the extension, and $U if already installed.
27924 ac_i
=`echo "$ac_i" |
27925 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27927 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
27928 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
27930 LIBOBJS
=$ac_libobjs
27932 LTLIBOBJS
=$ac_ltlibobjs
27935 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
27936 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27937 Usually this means the macro was only invoked conditionally." >&5
27938 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27939 Usually this means the macro was only invoked conditionally." >&2;}
27940 { (exit 1); exit 1; }; }
27942 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27943 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27944 Usually this means the macro was only invoked conditionally." >&5
27945 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27946 Usually this means the macro was only invoked conditionally." >&2;}
27947 { (exit 1); exit 1; }; }
27949 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27950 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27951 Usually this means the macro was only invoked conditionally." >&5
27952 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27953 Usually this means the macro was only invoked conditionally." >&2;}
27954 { (exit 1); exit 1; }; }
27956 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27957 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27958 Usually this means the macro was only invoked conditionally." >&5
27959 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27960 Usually this means the macro was only invoked conditionally." >&2;}
27961 { (exit 1); exit 1; }; }
27963 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27964 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27965 Usually this means the macro was only invoked conditionally." >&5
27966 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27967 Usually this means the macro was only invoked conditionally." >&2;}
27968 { (exit 1); exit 1; }; }
27970 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
27971 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
27972 Usually this means the macro was only invoked conditionally." >&5
27973 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
27974 Usually this means the macro was only invoked conditionally." >&2;}
27975 { (exit 1); exit 1; }; }
27977 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
27978 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
27979 Usually this means the macro was only invoked conditionally." >&5
27980 echo "$as_me: error: conditional \"X_AWT\" was never defined.
27981 Usually this means the macro was only invoked conditionally." >&2;}
27982 { (exit 1); exit 1; }; }
27984 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
27985 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
27986 Usually this means the macro was only invoked conditionally." >&5
27987 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
27988 Usually this means the macro was only invoked conditionally." >&2;}
27989 { (exit 1); exit 1; }; }
27991 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
27992 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
27993 Usually this means the macro was only invoked conditionally." >&5
27994 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
27995 Usually this means the macro was only invoked conditionally." >&2;}
27996 { (exit 1); exit 1; }; }
27998 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
27999 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
28000 Usually this means the macro was only invoked conditionally." >&5
28001 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
28002 Usually this means the macro was only invoked conditionally." >&2;}
28003 { (exit 1); exit 1; }; }
28005 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
28006 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
28007 Usually this means the macro was only invoked conditionally." >&5
28008 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
28009 Usually this means the macro was only invoked conditionally." >&2;}
28010 { (exit 1); exit 1; }; }
28012 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
28013 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28014 Usually this means the macro was only invoked conditionally." >&5
28015 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28016 Usually this means the macro was only invoked conditionally." >&2;}
28017 { (exit 1); exit 1; }; }
28019 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
28020 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
28021 Usually this means the macro was only invoked conditionally." >&5
28022 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
28023 Usually this means the macro was only invoked conditionally." >&2;}
28024 { (exit 1); exit 1; }; }
28026 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
28027 { { echo "$as_me:$LINENO: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28028 Usually this means the macro was only invoked conditionally." >&5
28029 echo "$as_me: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28030 Usually this means the macro was only invoked conditionally." >&2;}
28031 { (exit 1); exit 1; }; }
28033 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
28034 { { echo "$as_me:$LINENO: error: conditional \"INTERPRETER\" was never defined.
28035 Usually this means the macro was only invoked conditionally." >&5
28036 echo "$as_me: error: conditional \"INTERPRETER\" was never defined.
28037 Usually this means the macro was only invoked conditionally." >&2;}
28038 { (exit 1); exit 1; }; }
28040 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
28041 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28042 Usually this means the macro was only invoked conditionally." >&5
28043 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28044 Usually this means the macro was only invoked conditionally." >&2;}
28045 { (exit 1); exit 1; }; }
28047 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
28048 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28049 Usually this means the macro was only invoked conditionally." >&5
28050 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28051 Usually this means the macro was only invoked conditionally." >&2;}
28052 { (exit 1); exit 1; }; }
28054 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
28055 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
28056 Usually this means the macro was only invoked conditionally." >&5
28057 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
28058 Usually this means the macro was only invoked conditionally." >&2;}
28059 { (exit 1); exit 1; }; }
28061 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
28062 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
28063 Usually this means the macro was only invoked conditionally." >&5
28064 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
28065 Usually this means the macro was only invoked conditionally." >&2;}
28066 { (exit 1); exit 1; }; }
28068 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
28069 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
28070 Usually this means the macro was only invoked conditionally." >&5
28071 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
28072 Usually this means the macro was only invoked conditionally." >&2;}
28073 { (exit 1); exit 1; }; }
28075 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
28076 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
28077 Usually this means the macro was only invoked conditionally." >&5
28078 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
28079 Usually this means the macro was only invoked conditionally." >&2;}
28080 { (exit 1); exit 1; }; }
28082 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
28083 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
28084 Usually this means the macro was only invoked conditionally." >&5
28085 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
28086 Usually this means the macro was only invoked conditionally." >&2;}
28087 { (exit 1); exit 1; }; }
28089 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
28090 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
28091 Usually this means the macro was only invoked conditionally." >&5
28092 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
28093 Usually this means the macro was only invoked conditionally." >&2;}
28094 { (exit 1); exit 1; }; }
28096 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
28097 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28098 Usually this means the macro was only invoked conditionally." >&5
28099 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28100 Usually this means the macro was only invoked conditionally." >&2;}
28101 { (exit 1); exit 1; }; }
28103 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
28104 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
28105 Usually this means the macro was only invoked conditionally." >&5
28106 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
28107 Usually this means the macro was only invoked conditionally." >&2;}
28108 { (exit 1); exit 1; }; }
28110 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28111 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28112 Usually this means the macro was only invoked conditionally." >&5
28113 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28114 Usually this means the macro was only invoked conditionally." >&2;}
28115 { (exit 1); exit 1; }; }
28117 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
28118 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
28119 Usually this means the macro was only invoked conditionally." >&5
28120 echo "$as_me: error: conditional \"NATIVE\" was never defined.
28121 Usually this means the macro was only invoked conditionally." >&2;}
28122 { (exit 1); exit 1; }; }
28124 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
28125 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
28126 Usually this means the macro was only invoked conditionally." >&5
28127 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
28128 Usually this means the macro was only invoked conditionally." >&2;}
28129 { (exit 1); exit 1; }; }
28131 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
28132 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
28133 Usually this means the macro was only invoked conditionally." >&5
28134 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
28135 Usually this means the macro was only invoked conditionally." >&2;}
28136 { (exit 1); exit 1; }; }
28138 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
28139 { { echo "$as_me:$LINENO: error: conditional \"ANONVERSCRIPT\" was never defined.
28140 Usually this means the macro was only invoked conditionally." >&5
28141 echo "$as_me: error: conditional \"ANONVERSCRIPT\" was never defined.
28142 Usually this means the macro was only invoked conditionally." >&2;}
28143 { (exit 1); exit 1; }; }
28146 : ${CONFIG_STATUS=./config.status}
28147 ac_clean_files_save
=$ac_clean_files
28148 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28149 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28150 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28151 cat >$CONFIG_STATUS <<_ACEOF
28153 # Generated by $as_me.
28154 # Run this file to recreate the current configuration.
28155 # Compiler output produced by configure, useful for debugging
28156 # configure, is in config.log if it exists.
28159 ac_cs_recheck=false
28161 SHELL=\${CONFIG_SHELL-$SHELL}
28164 cat >>$CONFIG_STATUS <<\_ACEOF
28165 ## --------------------- ##
28166 ## M4sh Initialization. ##
28167 ## --------------------- ##
28169 # Be Bourne compatible
28170 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28173 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28174 # is contrary to our usage. Disable this feature.
28175 alias -g '${1+"$@"}'='"$@"'
28176 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28179 DUALCASE
=1; export DUALCASE
# for MKS sh
28181 # Support unset when possible.
28182 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28189 # Work around bugs in pre-3.0 UWIN ksh.
28190 $as_unset ENV MAIL MAILPATH
28197 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28198 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28199 LC_TELEPHONE LC_TIME
28201 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28202 eval $as_var=C
; export $as_var
28208 # Required to use basename.
28209 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28215 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28216 as_basename
=basename
28222 # Name of the executable.
28223 as_me
=`$as_basename "$0" ||
28224 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28225 X"$0" : 'X\(//\)$' \| \
28226 X"$0" : 'X\(/\)$' \| \
28227 . : '\(.\)' 2>/dev/null ||
28229 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28230 /^X\/\(\/\/\)$/{ s//\1/; q; }
28231 /^X\/\(\/\).*/{ s//\1/; q; }
28235 # PATH needs CR, and LINENO needs CR and PATH.
28236 # Avoid depending upon Character Ranges.
28237 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28238 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28239 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28240 as_cr_digits
='0123456789'
28241 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28243 # The user is always right.
28244 if test "${PATH_SEPARATOR+set}" != set; then
28245 echo "#! /bin/sh" >conf$$.sh
28246 echo "exit 0" >>conf$$.sh
28248 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28257 as_lineno_1
=$LINENO
28258 as_lineno_2
=$LINENO
28259 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28260 test "x$as_lineno_1" != "x$as_lineno_2" &&
28261 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28262 # Find who we are. Look in the path if we contain no path at all
28265 *[\\/]* ) as_myself
=$0 ;;
28266 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28267 for as_dir
in $PATH
28270 test -z "$as_dir" && as_dir
=.
28271 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28276 # We did not find ourselves, most probably we were run as `sh COMMAND'
28277 # in which case we are not to be found in the path.
28278 if test "x$as_myself" = x
; then
28281 if test ! -f "$as_myself"; then
28282 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28283 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28284 { (exit 1); exit 1; }; }
28286 case $CONFIG_SHELL in
28288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28289 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28292 test -z "$as_dir" && as_dir
=.
28293 for as_base
in sh bash ksh sh5
; do
28296 if ("$as_dir/$as_base" -c '
28297 as_lineno_1=$LINENO
28298 as_lineno_2=$LINENO
28299 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28300 test "x$as_lineno_1" != "x$as_lineno_2" &&
28301 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28302 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28303 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28304 CONFIG_SHELL
=$as_dir/$as_base
28305 export CONFIG_SHELL
28306 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28314 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28315 # uniformly replaced by the line number. The first 'sed' inserts a
28316 # line-number line before each line; the second 'sed' does the real
28317 # work. The second script uses 'N' to pair each line-number line
28318 # with the numbered line, and appends trailing '-' during
28319 # substitution so that $LINENO is not a special case at line end.
28320 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28321 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28322 sed '=' <$as_myself |
28327 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28330 s,^['$as_cr_digits']*\n,,
28331 ' >$as_me.lineno
&&
28332 chmod +x
$as_me.lineno ||
28333 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28334 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28335 { (exit 1); exit 1; }; }
28337 # Don't try to exec as it changes $[0], causing all sort of problems
28338 # (the dirname of $[0] is not the place where we might find the
28339 # original and so on. Autoconf is especially sensible to this).
28341 # Exit status is that of the last command.
28346 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28347 *c
*,-n*) ECHO_N
= ECHO_C
='
28349 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28350 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28353 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28359 rm -f conf$$ conf$$.exe conf$$.
file
28361 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28362 # We could just check for DJGPP; but this test a) works b) is more generic
28363 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28364 if test -f conf$$.exe
; then
28365 # Don't use ln at all; we don't have any links
28370 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28375 rm -f conf$$ conf$$.exe conf$$.
file
28377 if mkdir
-p .
2>/dev
/null
; then
28380 test -d .
/-p && rmdir .
/-p
28384 as_executable_p
="test -f"
28386 # Sed expression to map a string onto a valid CPP name.
28387 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28389 # Sed expression to map a string onto a valid variable name.
28390 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28394 # We need space, tab and new line, in precisely that order.
28404 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28405 # report actual input values of CONFIG_FILES etc. instead of their
28406 # values after options handling. Logging --version etc. is OK.
28410 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28411 ## Running $as_me. ##
28416 This file was extended by libjava $as_me version-unused, which was
28417 generated by GNU Autoconf 2.59. Invocation command line was
28419 CONFIG_FILES = $CONFIG_FILES
28420 CONFIG_HEADERS = $CONFIG_HEADERS
28421 CONFIG_LINKS = $CONFIG_LINKS
28422 CONFIG_COMMANDS = $CONFIG_COMMANDS
28426 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28430 # Files that config.status was made for.
28431 if test -n "$ac_config_files"; then
28432 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28435 if test -n "$ac_config_headers"; then
28436 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28439 if test -n "$ac_config_links"; then
28440 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28443 if test -n "$ac_config_commands"; then
28444 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28447 cat >>$CONFIG_STATUS <<\_ACEOF
28450 \`$as_me' instantiates files from templates according to the
28451 current configuration.
28453 Usage: $0 [OPTIONS] [FILE]...
28455 -h, --help print this help, then exit
28456 -V, --version print version number, then exit
28457 -q, --quiet do not print progress messages
28458 -d, --debug don't remove temporary files
28459 --recheck update $as_me by reconfiguring in the same conditions
28460 --file=FILE[:TEMPLATE]
28461 instantiate the configuration file FILE
28462 --header=FILE[:TEMPLATE]
28463 instantiate the configuration header FILE
28465 Configuration files:
28468 Configuration headers:
28471 Configuration links:
28474 Configuration commands:
28477 Report bugs to <bug-autoconf@gnu.org>."
28480 cat >>$CONFIG_STATUS <<_ACEOF
28482 libjava config.status version-unused
28483 configured by $0, generated by GNU Autoconf 2.59,
28484 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28486 Copyright (C) 2003 Free Software Foundation, Inc.
28487 This config.status script is free software; the Free Software Foundation
28488 gives unlimited permission to copy, distribute and modify it."
28493 cat >>$CONFIG_STATUS <<\_ACEOF
28494 # If no file are specified by the user, then we need to provide default
28495 # value. By we need to know if files were specified by the user.
28501 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
28502 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
28510 *) # This is not an option, so the user has probably given explicit
28513 ac_need_defaults
=false
;;
28517 # Handling of the options.
28519 cat >>$CONFIG_STATUS <<\_ACEOF
28520 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28522 --version |
--vers* |
-V )
28523 echo "$ac_cs_version"; exit 0 ;;
28525 # Conflict between --help and --header
28526 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28527 Try \`$0 --help' for more information." >&5
28528 echo "$as_me: error: ambiguous option: $1
28529 Try \`$0 --help' for more information." >&2;}
28530 { (exit 1); exit 1; }; };;
28531 --help |
--hel |
-h )
28532 echo "$ac_cs_usage"; exit 0 ;;
28533 --debug |
--d* |
-d )
28535 --file |
--fil |
--fi |
--f )
28537 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
28538 ac_need_defaults
=false
;;
28539 --header |
--heade |
--head |
--hea )
28541 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
28542 ac_need_defaults
=false
;;
28543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28544 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28547 # This is an error.
28548 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28549 Try \`$0 --help' for more information." >&5
28550 echo "$as_me: error: unrecognized option: $1
28551 Try \`$0 --help' for more information." >&2;}
28552 { (exit 1); exit 1; }; } ;;
28554 *) ac_config_targets
="$ac_config_targets $1" ;;
28560 ac_configure_extra_args
=
28562 if $ac_cs_silent; then
28564 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28568 cat >>$CONFIG_STATUS <<_ACEOF
28569 if \$ac_cs_recheck; then
28570 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28571 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28576 cat >>$CONFIG_STATUS <<_ACEOF
28578 # INIT-COMMANDS section.
28585 with_multisubdir="$with_multisubdir"
28586 with_multisrctop="$with_multisrctop"
28587 with_target_subdir="$with_target_subdir"
28588 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28589 multi_basedir="$multi_basedir"
28590 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28592 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28595 # The HP-UX ksh and POSIX shell print the target directory to stdout
28596 # if CDPATH is set.
28597 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28599 sed_quote_subst='$sed_quote_subst'
28600 double_quote_subst='$double_quote_subst'
28601 delay_variable_subst='$delay_variable_subst'
28602 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
28603 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
28604 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
28605 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
28606 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
28607 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
28608 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
28609 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
28610 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
28611 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
28612 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
28613 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
28614 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
28615 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
28616 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
28617 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
28618 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
28619 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
28620 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
28621 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
28622 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
28623 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
28624 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
28625 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
28626 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
28627 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
28628 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
28629 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28630 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
28631 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
28632 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
28633 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28634 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
28635 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
28636 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28637 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28638 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28639 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
28640 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28641 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
28642 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
28643 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
28644 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
28645 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"`'
28646 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
28647 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
28648 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
28649 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
28650 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
28651 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
28652 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
28653 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
28654 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
28655 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
28656 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
28657 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28658 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28659 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
28660 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
28661 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28662 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28663 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
28664 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28665 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28666 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28667 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28668 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28669 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28670 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
28671 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28672 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28673 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28674 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
28675 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
28676 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
28677 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
28678 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
28679 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28680 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
28681 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
28682 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
28683 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
28684 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
28685 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28686 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28687 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28688 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28689 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
28690 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
28691 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
28692 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
28693 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
28694 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28695 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28696 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
28697 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28698 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
28699 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28700 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28701 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28702 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28703 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
28704 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
28705 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28706 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28707 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
28708 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
28709 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
28710 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
28711 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
28712 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
28713 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28714 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28715 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
28716 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
28717 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
28718 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28719 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28720 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28721 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28722 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28723 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28724 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28725 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28726 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28727 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28728 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28729 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28730 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28731 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28732 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28733 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28734 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28735 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28736 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28737 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28738 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28739 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28740 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28741 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28742 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28743 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28744 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28745 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28746 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28747 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28748 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28749 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28750 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28751 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28752 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28753 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28754 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28755 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28756 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28757 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28758 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28759 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28760 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28761 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28762 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28763 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28764 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28765 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28766 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28767 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28768 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28769 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28770 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28771 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28772 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28773 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28774 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28775 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28776 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28777 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28778 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28779 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28780 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28781 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28782 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28783 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28784 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28785 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28786 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28787 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28788 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28789 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28790 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28791 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28792 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28793 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28794 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28795 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28796 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28797 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28798 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28799 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28800 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28801 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28802 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28803 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28804 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28805 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28806 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28807 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28808 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28809 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28812 LTCFLAGS='$LTCFLAGS'
28813 compiler='$compiler_DEFAULT'
28815 # Quote evaled strings.
28826 deplibs_check_method \
28835 lt_cv_sys_global_symbol_pipe \
28836 lt_cv_sys_global_symbol_to_cdecl \
28837 lt_cv_sys_global_symbol_to_c_name_address \
28840 lt_prog_compiler_no_builtin_flag \
28841 lt_prog_compiler_wl \
28842 lt_prog_compiler_pic \
28843 lt_prog_compiler_static \
28844 lt_cv_prog_compiler_c_o \
28847 export_dynamic_flag_spec \
28848 whole_archive_flag_spec \
28849 compiler_needs_object \
28851 allow_undefined_flag \
28852 no_undefined_flag \
28853 hardcode_libdir_flag_spec \
28854 hardcode_libdir_flag_spec_ld \
28855 hardcode_libdir_separator \
28860 variables_saved_for_relink \
28862 library_names_spec \
28871 compiler_lib_search_path \
28876 lt_prog_compiler_no_builtin_flag_CXX \
28877 lt_prog_compiler_no_builtin_flag_GCJ \
28878 lt_prog_compiler_wl_CXX \
28879 lt_prog_compiler_wl_GCJ \
28880 lt_prog_compiler_pic_CXX \
28881 lt_prog_compiler_pic_GCJ \
28882 lt_prog_compiler_static_CXX \
28883 lt_prog_compiler_static_GCJ \
28884 lt_cv_prog_compiler_c_o_CXX \
28885 lt_cv_prog_compiler_c_o_GCJ \
28886 export_dynamic_flag_spec_CXX \
28887 export_dynamic_flag_spec_GCJ \
28888 whole_archive_flag_spec_CXX \
28889 whole_archive_flag_spec_GCJ \
28890 compiler_needs_object_CXX \
28891 compiler_needs_object_GCJ \
28894 allow_undefined_flag_CXX \
28895 allow_undefined_flag_GCJ \
28896 no_undefined_flag_CXX \
28897 no_undefined_flag_GCJ \
28898 hardcode_libdir_flag_spec_CXX \
28899 hardcode_libdir_flag_spec_GCJ \
28900 hardcode_libdir_flag_spec_ld_CXX \
28901 hardcode_libdir_flag_spec_ld_GCJ \
28902 hardcode_libdir_separator_CXX \
28903 hardcode_libdir_separator_GCJ \
28904 fix_srcfile_path_CXX \
28905 fix_srcfile_path_GCJ \
28906 exclude_expsyms_CXX \
28907 exclude_expsyms_GCJ \
28908 include_expsyms_CXX \
28909 include_expsyms_GCJ \
28910 file_list_spec_CXX \
28911 file_list_spec_GCJ \
28912 predep_objects_CXX \
28913 predep_objects_GCJ \
28914 postdep_objects_CXX \
28915 postdep_objects_GCJ \
28920 compiler_lib_search_path_CXX \
28921 compiler_lib_search_path_GCJ; do
28922 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28923 *[\\\\\\\`\\"\\\$]*)
28924 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28927 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28932 # Double-quote double-evaled strings.
28933 for var in reload_cmds \
28934 old_postinstall_cmds \
28935 old_postuninstall_cmds \
28937 extract_expsyms_cmds \
28938 old_archive_from_new_cmds \
28939 old_archive_from_expsyms_cmds \
28941 archive_expsym_cmds \
28943 module_expsym_cmds \
28944 export_symbols_cmds \
28947 postuninstall_cmds \
28949 sys_lib_search_path_spec \
28950 sys_lib_dlsearch_path_spec \
28951 old_archive_cmds_CXX \
28952 old_archive_cmds_GCJ \
28953 old_archive_from_new_cmds_CXX \
28954 old_archive_from_new_cmds_GCJ \
28955 old_archive_from_expsyms_cmds_CXX \
28956 old_archive_from_expsyms_cmds_GCJ \
28959 archive_expsym_cmds_CXX \
28960 archive_expsym_cmds_GCJ \
28963 module_expsym_cmds_CXX \
28964 module_expsym_cmds_GCJ \
28965 export_symbols_cmds_CXX \
28966 export_symbols_cmds_GCJ \
28968 prelink_cmds_GCJ; do
28969 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28970 *[\\\\\\\`\\"\\\$]*)
28971 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28974 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28979 # Fix-up fallback echo if it was mangled by the above quoting rules.
28981 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
28985 ac_aux_dir='$ac_aux_dir'
28986 xsi_shell='$xsi_shell'
28987 lt_shell_append='$lt_shell_append'
28989 # See if we are running on zsh, and set the options which allow our
28990 # commands through without removal of \ escapes INIT.
28991 if test -n "\${ZSH_VERSION+set}" ; then
28992 setopt NO_GLOB_SUBST
28998 TIMESTAMP='$TIMESTAMP'
29013 cat >>$CONFIG_STATUS <<\_ACEOF
29014 for ac_config_target
in $ac_config_targets
29016 case "$ac_config_target" in
29017 # Handling of arguments.
29018 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29019 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
29020 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
29021 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
29022 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
29023 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
29024 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
29025 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
29026 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
29027 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
29028 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
29029 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
29030 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
29031 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
29032 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
29033 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
29034 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
29035 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
29036 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
29037 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
29038 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
29039 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
29040 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
29041 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
29042 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
29043 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29044 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29045 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29046 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29047 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
29048 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29049 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29050 { (exit 1); exit 1; }; };;
29054 # If the user did not use the arguments to specify the items to instantiate,
29055 # then the envvar interface is used. Set only those that are not.
29056 # We use the long form for the default assignment because of an extremely
29057 # bizarre bug on SunOS 4.1.3.
29058 if $ac_need_defaults; then
29059 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29060 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29061 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29062 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29065 # Have a temporary directory for convenience. Make it in the build tree
29066 # simply because there is no reason to put it here, and in addition,
29067 # creating and moving files from /tmp can sometimes cause problems.
29068 # Create a temporary directory, and hook for its removal unless debugging.
29071 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29072 trap '{ (exit 1); exit 1; }' 1 2 13 15
29075 # Create a (secure) tmp directory for tmp files.
29078 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29079 test -n "$tmp" && test -d "$tmp"
29082 tmp
=.
/confstat$$
-$RANDOM
29083 (umask 077 && mkdir
$tmp)
29086 echo "$me: cannot create a temporary directory in ." >&2
29087 { (exit 1); exit 1; }
29092 cat >>$CONFIG_STATUS <<_ACEOF
29095 # CONFIG_FILES section.
29098 # No need to generate the scripts if there are no CONFIG_FILES.
29099 # This happens for instance when ./config.status config.h
29100 if test -n "\$CONFIG_FILES"; then
29101 # Protect against being on the right side of a sed subst in config.status.
29102 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29103 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29104 s,@SHELL@,$SHELL,;t t
29105 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29106 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29107 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29108 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29109 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29110 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29111 s,@exec_prefix@,$exec_prefix,;t t
29112 s,@prefix@,$prefix,;t t
29113 s,@program_transform_name@,$program_transform_name,;t t
29114 s,@bindir@,$bindir,;t t
29115 s,@sbindir@,$sbindir,;t t
29116 s,@libexecdir@,$libexecdir,;t t
29117 s,@datadir@,$datadir,;t t
29118 s,@sysconfdir@,$sysconfdir,;t t
29119 s,@sharedstatedir@,$sharedstatedir,;t t
29120 s,@localstatedir@,$localstatedir,;t t
29121 s,@libdir@,$libdir,;t t
29122 s,@includedir@,$includedir,;t t
29123 s,@oldincludedir@,$oldincludedir,;t t
29124 s,@infodir@,$infodir,;t t
29125 s,@mandir@,$mandir,;t t
29126 s,@build_alias@,$build_alias,;t t
29127 s,@host_alias@,$host_alias,;t t
29128 s,@target_alias@,$target_alias,;t t
29129 s,@DEFS@,$DEFS,;t t
29130 s,@ECHO_C@,$ECHO_C,;t t
29131 s,@ECHO_N@,$ECHO_N,;t t
29132 s,@ECHO_T@,$ECHO_T,;t t
29133 s,@LIBS@,$LIBS,;t t
29134 s,@build@,$build,;t t
29135 s,@build_cpu@,$build_cpu,;t t
29136 s,@build_vendor@,$build_vendor,;t t
29137 s,@build_os@,$build_os,;t t
29138 s,@build_libsubdir@,$build_libsubdir,;t t
29139 s,@build_subdir@,$build_subdir,;t t
29140 s,@host_subdir@,$host_subdir,;t t
29141 s,@target_subdir@,$target_subdir,;t t
29142 s,@multi_basedir@,$multi_basedir,;t t
29143 s,@host@,$host,;t t
29144 s,@host_cpu@,$host_cpu,;t t
29145 s,@host_vendor@,$host_vendor,;t t
29146 s,@host_os@,$host_os,;t t
29147 s,@target@,$target,;t t
29148 s,@target_cpu@,$target_cpu,;t t
29149 s,@target_vendor@,$target_vendor,;t t
29150 s,@target_os@,$target_os,;t t
29151 s,@target_noncanonical@,$target_noncanonical,;t t
29152 s,@LN_S@,$LN_S,;t t
29153 s,@mkinstalldirs@,$mkinstalldirs,;t t
29154 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29155 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29157 s,@ac_ct_CC@,$ac_ct_CC,;t t
29158 s,@EXEEXT@,$EXEEXT,;t t
29159 s,@OBJEXT@,$OBJEXT,;t t
29161 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29162 s,@CFLAGS@,$CFLAGS,;t t
29163 s,@CXXFLAGS@,$CXXFLAGS,;t t
29164 s,@LDFLAGS@,$LDFLAGS,;t t
29165 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29166 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29167 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29168 s,@CYGPATH_W@,$CYGPATH_W,;t t
29169 s,@PACKAGE@,$PACKAGE,;t t
29170 s,@VERSION@,$VERSION,;t t
29171 s,@ACLOCAL@,$ACLOCAL,;t t
29172 s,@AUTOCONF@,$AUTOCONF,;t t
29173 s,@AUTOMAKE@,$AUTOMAKE,;t t
29174 s,@AUTOHEADER@,$AUTOHEADER,;t t
29175 s,@MAKEINFO@,$MAKEINFO,;t t
29176 s,@install_sh@,$install_sh,;t t
29177 s,@STRIP@,$STRIP,;t t
29178 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29179 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29180 s,@mkdir_p@,$mkdir_p,;t t
29182 s,@SET_MAKE@,$SET_MAKE,;t t
29183 s,@am__leading_dot@,$am__leading_dot,;t t
29184 s,@AMTAR@,$AMTAR,;t t
29185 s,@am__tar@,$am__tar,;t t
29186 s,@am__untar@,$am__untar,;t t
29187 s,@DEPDIR@,$DEPDIR,;t t
29188 s,@am__include@,$am__include,;t t
29189 s,@am__quote@,$am__quote,;t t
29190 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29191 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29192 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29193 s,@CCDEPMODE@,$CCDEPMODE,;t t
29194 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29195 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29196 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29197 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29198 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29200 s,@ac_ct_AS@,$ac_ct_AS,;t t
29202 s,@ac_ct_LD@,$ac_ct_LD,;t t
29204 s,@ac_ct_AR@,$ac_ct_AR,;t t
29205 s,@RANLIB@,$RANLIB,;t t
29206 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29209 s,@UNZIP@,$UNZIP,;t t
29210 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29211 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29212 s,@MAINT@,$MAINT,;t t
29213 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
29214 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
29215 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
29216 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
29217 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
29218 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
29219 s,@TOOLKIT@,$TOOLKIT,;t t
29220 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
29221 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
29222 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
29223 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
29224 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
29225 s,@GCJH@,$GCJH,;t t
29226 s,@host_exeext@,$host_exeext,;t t
29227 s,@INCLTDL@,$INCLTDL,;t t
29228 s,@LIBLTDL@,$LIBLTDL,;t t
29229 s,@DIRLTDL@,$DIRLTDL,;t t
29230 s,@LIBTOOL@,$LIBTOOL,;t t
29232 s,@EGREP@,$EGREP,;t t
29233 s,@FGREP@,$FGREP,;t t
29234 s,@GREP@,$GREP,;t t
29235 s,@DUMPBIN@,$DUMPBIN,;t t
29236 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29238 s,@lt_ECHO@,$lt_ECHO,;t t
29240 s,@CPPFLAGS@,$CPPFLAGS,;t t
29241 s,@CXXCPP@,$CXXCPP,;t t
29243 s,@GCJFLAGS@,$GCJFLAGS,;t t
29244 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
29245 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
29246 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
29247 s,@subdirs@,$subdirs,;t t
29248 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
29249 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
29250 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
29251 s,@ECJ_JAR@,$ECJ_JAR,;t t
29252 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
29253 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
29254 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
29255 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
29256 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
29257 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
29258 s,@JAVA_HOME@,$JAVA_HOME,;t t
29259 s,@SUPPRESS_LIBGCJ_BC_TRUE@,$SUPPRESS_LIBGCJ_BC_TRUE,;t t
29260 s,@SUPPRESS_LIBGCJ_BC_FALSE@,$SUPPRESS_LIBGCJ_BC_FALSE,;t t
29261 s,@INTERPRETER@,$INTERPRETER,;t t
29262 s,@INTERPRETER_TRUE@,$INTERPRETER_TRUE,;t t
29263 s,@INTERPRETER_FALSE@,$INTERPRETER_FALSE,;t t
29264 s,@LIBFFI@,$LIBFFI,;t t
29265 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
29266 s,@PLATFORM@,$PLATFORM,;t t
29267 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
29268 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
29269 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
29270 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
29271 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
29272 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
29273 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
29274 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
29275 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
29276 s,@X_CFLAGS@,$X_CFLAGS,;t t
29277 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29278 s,@X_LIBS@,$X_LIBS,;t t
29279 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29280 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
29281 s,@extra_gij_ldflags@,$extra_gij_ldflags,;t t
29282 s,@extra_ldflags@,$extra_ldflags,;t t
29283 s,@LIBSTDCXXSPEC@,$LIBSTDCXXSPEC,;t t
29284 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
29285 s,@GCLIBS@,$GCLIBS,;t t
29286 s,@GCINCS@,$GCINCS,;t t
29287 s,@GCDEPS@,$GCDEPS,;t t
29288 s,@GCSPEC@,$GCSPEC,;t t
29289 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
29290 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
29291 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
29292 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
29293 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
29294 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
29295 s,@THREADLIBS@,$THREADLIBS,;t t
29296 s,@THREADINCS@,$THREADINCS,;t t
29297 s,@THREADDEPS@,$THREADDEPS,;t t
29298 s,@THREADSPEC@,$THREADSPEC,;t t
29299 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
29300 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
29301 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
29302 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
29303 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
29304 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
29305 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
29306 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
29307 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
29308 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
29309 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
29310 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
29311 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
29312 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
29313 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
29314 s,@LIBICONV@,$LIBICONV,;t t
29315 s,@LTLIBICONV@,$LTLIBICONV,;t t
29316 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29317 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29318 s,@GTK_LIBS@,$GTK_LIBS,;t t
29319 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29320 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29321 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
29322 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
29323 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
29324 s,@ZLIBS@,$ZLIBS,;t t
29325 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
29326 s,@ZINCS@,$ZINCS,;t t
29327 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
29328 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
29329 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
29330 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
29331 s,@IEEESPEC@,$IEEESPEC,;t t
29332 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
29333 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
29334 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
29335 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
29336 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
29337 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
29338 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
29339 s,@toolexecdir@,$toolexecdir,;t t
29340 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
29341 s,@toolexeclibdir@,$toolexeclibdir,;t t
29342 s,@GCJVERSION@,$GCJVERSION,;t t
29343 s,@dbexecdir@,$dbexecdir,;t t
29344 s,@gxx_include_dir@,$gxx_include_dir,;t t
29345 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
29346 s,@PERL@,$PERL,;t t
29347 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
29348 s,@ANONVERSCRIPT_TRUE@,$ANONVERSCRIPT_TRUE,;t t
29349 s,@ANONVERSCRIPT_FALSE@,$ANONVERSCRIPT_FALSE,;t t
29350 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
29351 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
29352 s,@here@,$here,;t t
29353 s,@LIBOBJS@,$LIBOBJS,;t t
29354 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29359 cat >>$CONFIG_STATUS <<\_ACEOF
29360 # Split the substitutions into bite-sized pieces for seds with
29361 # small command number limits, like on Digital OSF/1 and HP-UX.
29362 ac_max_sed_lines
=48
29363 ac_sed_frag
=1 # Number of current file.
29364 ac_beg
=1 # First line for current file.
29365 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29368 while $ac_more_lines; do
29369 if test $ac_beg -gt 1; then
29370 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29372 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29374 if test ! -s $tmp/subs.frag
; then
29375 ac_more_lines
=false
29377 # The purpose of the label and of the branching condition is to
29378 # speed up the sed processing (if there are no `@' at all, there
29379 # is no need to browse any of the substitutions).
29380 # These are the two extra sed commands mentioned above.
29382 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29383 if test -z "$ac_sed_cmds"; then
29384 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29386 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29388 ac_sed_frag
=`expr $ac_sed_frag + 1`
29390 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29393 if test -z "$ac_sed_cmds"; then
29396 fi # test -n "$CONFIG_FILES"
29399 cat >>$CONFIG_STATUS <<\_ACEOF
29400 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29401 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29403 - |
*:- |
*:-:* ) # input from stdin
29405 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29406 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29407 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29408 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29409 * ) ac_file_in
=$ac_file.
in ;;
29412 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29413 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29414 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29415 X"$ac_file" : 'X\(//\)[^/]' \| \
29416 X"$ac_file" : 'X\(//\)$' \| \
29417 X"$ac_file" : 'X\(/\)' \| \
29418 . : '\(.\)' 2>/dev/null ||
29420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29421 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29422 /^X\(\/\/\)$/{ s//\1/; q; }
29423 /^X\(\/\).*/{ s//\1/; q; }
29425 { if $as_mkdir_p; then
29430 while test ! -d "$as_dir"; do
29431 as_dirs
="$as_dir $as_dirs"
29432 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29433 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29434 X"$as_dir" : 'X\(//\)[^/]' \| \
29435 X"$as_dir" : 'X\(//\)$' \| \
29436 X"$as_dir" : 'X\(/\)' \| \
29437 . : '\(.\)' 2>/dev/null ||
29439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29441 /^X\(\/\/\)$/{ s//\1/; q; }
29442 /^X\(\/\).*/{ s//\1/; q; }
29445 test ! -n "$as_dirs" || mkdir
$as_dirs
29446 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29447 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29448 { (exit 1); exit 1; }; }; }
29452 if test "$ac_dir" != .
; then
29453 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29454 # A "../" for each directory in $ac_dir_suffix.
29455 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29457 ac_dir_suffix
= ac_top_builddir
=
29461 .
) # No --srcdir option. We are building in place.
29463 if test -z "$ac_top_builddir"; then
29466 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29468 [\\/]* | ?
:[\\/]* ) # Absolute path.
29469 ac_srcdir
=$srcdir$ac_dir_suffix;
29470 ac_top_srcdir
=$srcdir ;;
29471 *) # Relative path.
29472 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29473 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29476 # Do not use `cd foo && pwd` to compute absolute paths, because
29477 # the directories may not exist.
29479 .
) ac_abs_builddir
="$ac_dir";;
29482 .
) ac_abs_builddir
=`pwd`;;
29483 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29484 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29487 case $ac_abs_builddir in
29488 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29490 case ${ac_top_builddir}.
in
29491 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29492 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29493 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29496 case $ac_abs_builddir in
29497 .
) ac_abs_srcdir
=$ac_srcdir;;
29500 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29501 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29502 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29505 case $ac_abs_builddir in
29506 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29508 case $ac_top_srcdir in
29509 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29510 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29511 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29517 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29518 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29521 if test x
"$ac_file" != x-
; then
29522 { echo "$as_me:$LINENO: creating $ac_file" >&5
29523 echo "$as_me: creating $ac_file" >&6;}
29526 # Let's still pretend it is `configure' which instantiates (i.e., don't
29527 # use $as_me), people would be surprised to read:
29528 # /* config.h. Generated by config.status. */
29529 if test x
"$ac_file" = x-
; then
29532 configure_input
="$ac_file. "
29534 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29535 sed 's,.*/,,'` by configure."
29537 # First look for the input files in the build tree, otherwise in the
29539 ac_file_inputs
=`IFS=:
29540 for f in $ac_file_in; do
29542 -) echo $tmp/stdin ;;
29544 # Absolute (can't be DOS-style, as IFS=:)
29545 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29546 echo "$as_me: error: cannot find input file: $f" >&2;}
29547 { (exit 1); exit 1; }; }
29550 if test -f "$f"; then
29553 elif test -f "$srcdir/$f"; then
29558 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29559 echo "$as_me: error: cannot find input file: $f" >&2;}
29560 { (exit 1); exit 1; }; }
29563 done` ||
{ (exit 1); exit 1; }
29565 cat >>$CONFIG_STATUS <<_ACEOF
29569 cat >>$CONFIG_STATUS <<\_ACEOF
29571 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29572 s
,@configure_input@
,$configure_input,;t t
29573 s
,@srcdir@
,$ac_srcdir,;t t
29574 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29575 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29576 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29577 s
,@builddir@
,$ac_builddir,;t t
29578 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29579 s
,@top_builddir@
,$ac_top_builddir,;t t
29580 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29581 s
,@INSTALL@
,$ac_INSTALL,;t t
29582 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29584 if test x"$ac_file" != x-; then
29585 mv $tmp/out $ac_file
29591 # Run the commands associated with the file.
29593 scripts/jar ) chmod +x scripts/jar ;;
29597 cat >>$CONFIG_STATUS <<\_ACEOF
29600 # CONFIG_HEADER section.
29603 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
29604 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29606 # ac_d sets the value in "#define NAME VALUE" lines.
29607 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29608 ac_dB
='[ ].*$,\1#\2'
29611 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29612 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29613 ac_uB
='$,\1#\2define\3'
29617 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
29618 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29620 - |
*:- |
*:-:* ) # input from stdin
29622 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29623 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29624 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29625 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29626 * ) ac_file_in
=$ac_file.
in ;;
29629 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
29630 echo "$as_me: creating $ac_file" >&6;}
29632 # First look for the input files in the build tree, otherwise in the
29634 ac_file_inputs
=`IFS=:
29635 for f in $ac_file_in; do
29637 -) echo $tmp/stdin ;;
29639 # Absolute (can't be DOS-style, as IFS=:)
29640 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29641 echo "$as_me: error: cannot find input file: $f" >&2;}
29642 { (exit 1); exit 1; }; }
29643 # Do quote $f, to prevent DOS paths from being IFS'd.
29646 if test -f "$f"; then
29649 elif test -f "$srcdir/$f"; then
29654 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29655 echo "$as_me: error: cannot find input file: $f" >&2;}
29656 { (exit 1); exit 1; }; }
29659 done` ||
{ (exit 1); exit 1; }
29660 # Remove the trailing spaces.
29661 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29665 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29666 # `conftest.undefs', that substitutes the proper values into
29667 # config.h.in to produce config.h. The first handles `#define'
29668 # templates, and the second `#undef' templates.
29669 # And first: Protect against being on the right side of a sed subst in
29670 # config.status. Protect against being in an unquoted here document
29671 # in config.status.
29672 rm -f conftest.defines conftest.undefs
29673 # Using a here document instead of a string reduces the quoting nightmare.
29674 # Putting comments in sed scripts is not portable.
29676 # `end' is used to avoid that the second main sed command (meant for
29677 # 0-ary CPP macros) applies to n-ary macro definitions.
29678 # See the Autoconf documentation for `clear'.
29679 cat >confdef2sed.
sed <<\_ACEOF
29684 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29686 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29689 # If some macros were called several times there might be several times
29690 # the same #defines, which is useless. Nevertheless, we may not want to
29691 # sort them, since we want the *last* AC-DEFINE to be honored.
29692 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29693 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29694 rm -f confdef2sed.sed
29696 # This sed command replaces #undef with comments. This is necessary, for
29697 # example, in the case of _POSIX_SOURCE, which is predefined and required
29698 # on some systems where configure will not decide to define it.
29699 cat >>conftest.undefs <<\_ACEOF
29700 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29703 # Break up conftest.defines because some shells have a limit on the size
29704 # of here documents, and old seds have small limits too (100 cmds).
29705 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29706 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29707 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29708 echo ' :' >>$CONFIG_STATUS
29709 rm -f conftest.tail
29710 while grep . conftest.defines >/dev/null
29712 # Write a limited-size here document to $tmp/defines.sed.
29713 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29714 # Speed up: don't consider the non `#define' lines.
29715 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29716 # Work around the forget-to-reset-the-flag bug.
29717 echo 't clr' >>$CONFIG_STATUS
29718 echo ': clr' >>$CONFIG_STATUS
29719 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
29721 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29723 mv $tmp/out $tmp/in
29725 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
29726 rm -f conftest.defines
29727 mv conftest.
tail conftest.defines
29729 rm -f conftest.defines
29730 echo ' fi # grep' >>$CONFIG_STATUS
29731 echo >>$CONFIG_STATUS
29733 # Break up conftest.undefs because some shells have a limit on the size
29734 # of here documents, and old seds have small limits too (100 cmds).
29735 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29736 rm -f conftest.
tail
29737 while grep . conftest.undefs
>/dev
/null
29739 # Write a limited-size here document to $tmp/undefs.sed.
29740 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29741 # Speed up: don't consider the non
`#undef'
29742 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29743 # Work around the forget-to-reset-the-flag bug.
29744 echo 't clr' >>$CONFIG_STATUS
29745 echo ': clr' >>$CONFIG_STATUS
29746 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29748 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29750 mv $tmp/out $tmp/in
29752 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29753 rm -f conftest.undefs
29754 mv conftest.tail conftest.undefs
29756 rm -f conftest.undefs
29758 cat >>$CONFIG_STATUS <<\_ACEOF
29759 # Let's still pretend it is `configure
' which instantiates (i.e., don't
29760 # use $as_me), people would be surprised to read:
29761 # /* config.h. Generated by config.status. */
29762 if test x
"$ac_file" = x-
; then
29763 echo "/* Generated by configure. */" >$tmp/config.h
29765 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29767 cat $tmp/in >>$tmp/config.h
29769 if test x
"$ac_file" != x-
; then
29770 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
29771 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29772 echo "$as_me: $ac_file is unchanged" >&6;}
29774 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29775 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29776 X"$ac_file" : 'X\(//\)[^/]' \| \
29777 X"$ac_file" : 'X\(//\)$' \| \
29778 X"$ac_file" : 'X\(/\)' \| \
29779 . : '\(.\)' 2>/dev/null ||
29781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29783 /^X\(\/\/\)$/{ s//\1/; q; }
29784 /^X\(\/\).*/{ s//\1/; q; }
29786 { if $as_mkdir_p; then
29791 while test ! -d "$as_dir"; do
29792 as_dirs
="$as_dir $as_dirs"
29793 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29794 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29795 X"$as_dir" : 'X\(//\)[^/]' \| \
29796 X"$as_dir" : 'X\(//\)$' \| \
29797 X"$as_dir" : 'X\(/\)' \| \
29798 . : '\(.\)' 2>/dev/null ||
29800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29801 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29802 /^X\(\/\/\)$/{ s//\1/; q; }
29803 /^X\(\/\).*/{ s//\1/; q; }
29806 test ! -n "$as_dirs" || mkdir
$as_dirs
29807 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29808 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29809 { (exit 1); exit 1; }; }; }
29812 mv $tmp/config.h
$ac_file
29816 rm -f $tmp/config.h
29818 # Compute $ac_file's index in $config_headers.
29820 for _am_header
in $config_headers :; do
29821 case $_am_header in
29822 $ac_file |
$ac_file:* )
29825 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
29828 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29829 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29830 X$ac_file : 'X\(//\)[^/]' \| \
29831 X$ac_file : 'X\(//\)$' \| \
29832 X$ac_file : 'X\(/\)' \| \
29833 . : '\(.\)' 2>/dev/null ||
29835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29837 /^X\(\/\/\)$/{ s//\1/; q; }
29838 /^X\(\/\).*/{ s//\1/; q; }
29839 s/.*/./; q'`/stamp-h
$_am_stamp_count
29842 cat >>$CONFIG_STATUS <<\_ACEOF
29845 # CONFIG_LINKS section.
29848 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
29849 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29850 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29852 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
29853 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
29855 if test ! -r $srcdir/$ac_source; then
29856 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
29857 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
29858 { (exit 1); exit 1; }; }
29862 # Make relative symlinks.
29863 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29864 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29865 X"$ac_dest" : 'X\(//\)[^/]' \| \
29866 X"$ac_dest" : 'X\(//\)$' \| \
29867 X"$ac_dest" : 'X\(/\)' \| \
29868 . : '\(.\)' 2>/dev/null ||
29870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29872 /^X\(\/\/\)$/{ s//\1/; q; }
29873 /^X\(\/\).*/{ s//\1/; q; }
29875 { if $as_mkdir_p; then
29876 mkdir
-p "$ac_dest_dir"
29878 as_dir
="$ac_dest_dir"
29880 while test ! -d "$as_dir"; do
29881 as_dirs
="$as_dir $as_dirs"
29882 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29884 X"$as_dir" : 'X\(//\)[^/]' \| \
29885 X"$as_dir" : 'X\(//\)$' \| \
29886 X"$as_dir" : 'X\(/\)' \| \
29887 . : '\(.\)' 2>/dev/null ||
29889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29890 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29891 /^X\(\/\/\)$/{ s//\1/; q; }
29892 /^X\(\/\).*/{ s//\1/; q; }
29895 test ! -n "$as_dirs" || mkdir
$as_dirs
29896 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
29897 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
29898 { (exit 1); exit 1; }; }; }
29902 if test "$ac_dest_dir" != .
; then
29903 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
29904 # A "../" for each directory in $ac_dir_suffix.
29905 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29907 ac_dir_suffix
= ac_top_builddir
=
29911 .
) # No --srcdir option. We are building in place.
29913 if test -z "$ac_top_builddir"; then
29916 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29918 [\\/]* | ?
:[\\/]* ) # Absolute path.
29919 ac_srcdir
=$srcdir$ac_dir_suffix;
29920 ac_top_srcdir
=$srcdir ;;
29921 *) # Relative path.
29922 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29923 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29926 # Do not use `cd foo && pwd` to compute absolute paths, because
29927 # the directories may not exist.
29929 .
) ac_abs_builddir
="$ac_dest_dir";;
29931 case "$ac_dest_dir" in
29932 .
) ac_abs_builddir
=`pwd`;;
29933 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
29934 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
29937 case $ac_abs_builddir in
29938 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29940 case ${ac_top_builddir}.
in
29941 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29942 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29943 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29946 case $ac_abs_builddir in
29947 .
) ac_abs_srcdir
=$ac_srcdir;;
29950 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29951 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29952 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29955 case $ac_abs_builddir in
29956 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29958 case $ac_top_srcdir in
29959 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29960 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29961 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29967 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
29968 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
29971 # Try a symlink, then a hard link, then a copy.
29972 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
29973 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
29974 cp -p $srcdir/$ac_source $ac_dest ||
29975 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
29976 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
29977 { (exit 1); exit 1; }; }
29980 cat >>$CONFIG_STATUS <<\_ACEOF
29983 # CONFIG_COMMANDS section.
29985 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
29986 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29987 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29988 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29989 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29990 X"$ac_dest" : 'X\(//\)[^/]' \| \
29991 X"$ac_dest" : 'X\(//\)$' \| \
29992 X"$ac_dest" : 'X\(/\)' \| \
29993 . : '\(.\)' 2>/dev/null ||
29995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29997 /^X\(\/\/\)$/{ s//\1/; q; }
29998 /^X\(\/\).*/{ s//\1/; q; }
30000 { if $as_mkdir_p; then
30005 while test ! -d "$as_dir"; do
30006 as_dirs
="$as_dir $as_dirs"
30007 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30009 X"$as_dir" : 'X\(//\)[^/]' \| \
30010 X"$as_dir" : 'X\(//\)$' \| \
30011 X"$as_dir" : 'X\(/\)' \| \
30012 . : '\(.\)' 2>/dev/null ||
30014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30015 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30016 /^X\(\/\/\)$/{ s//\1/; q; }
30017 /^X\(\/\).*/{ s//\1/; q; }
30020 test ! -n "$as_dirs" || mkdir
$as_dirs
30021 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30022 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30023 { (exit 1); exit 1; }; }; }
30027 if test "$ac_dir" != .
; then
30028 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30029 # A "../" for each directory in $ac_dir_suffix.
30030 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30032 ac_dir_suffix
= ac_top_builddir
=
30036 .
) # No --srcdir option. We are building in place.
30038 if test -z "$ac_top_builddir"; then
30041 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30043 [\\/]* | ?
:[\\/]* ) # Absolute path.
30044 ac_srcdir
=$srcdir$ac_dir_suffix;
30045 ac_top_srcdir
=$srcdir ;;
30046 *) # Relative path.
30047 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30048 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30051 # Do not use `cd foo && pwd` to compute absolute paths, because
30052 # the directories may not exist.
30054 .
) ac_abs_builddir
="$ac_dir";;
30057 .
) ac_abs_builddir
=`pwd`;;
30058 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30059 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30062 case $ac_abs_builddir in
30063 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30065 case ${ac_top_builddir}.
in
30066 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30067 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30068 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30071 case $ac_abs_builddir in
30072 .
) ac_abs_srcdir
=$ac_srcdir;;
30075 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30076 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30077 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30080 case $ac_abs_builddir in
30081 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30083 case $ac_top_srcdir in
30084 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30085 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30086 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30091 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30092 echo "$as_me: executing $ac_dest commands" >&6;}
30095 # Only add multilib support code if we just rebuilt the top-level
30097 case " $CONFIG_FILES " in
30099 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30102 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30103 # Strip MF so we end up with the name of the file.
30104 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30105 # Check whether this is an Automake generated Makefile or not.
30106 # We used to match only the files named `Makefile.in', but
30107 # some people rename them; so instead we look at the file content.
30108 # Grep'ing the first line is not enough: some people post-process
30109 # each Makefile.in and add a new line on top of each file to say so.
30110 # So let's grep whole file.
30111 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30112 dirpart
=`(dirname "$mf") 2>/dev/null ||
30113 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30114 X"$mf" : 'X\(//\)[^/]' \| \
30115 X"$mf" : 'X\(//\)$' \| \
30116 X"$mf" : 'X\(/\)' \| \
30117 . : '\(.\)' 2>/dev/null ||
30119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30120 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30121 /^X\(\/\/\)$/{ s//\1/; q; }
30122 /^X\(\/\).*/{ s//\1/; q; }
30127 # Extract the definition of DEPDIR, am__include, and am__quote
30128 # from the Makefile without running `make'.
30129 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30130 test -z "$DEPDIR" && continue
30131 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30132 test -z "am__include" && continue
30133 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30134 # When using ansi2knr, U may be empty or an underscore; expand it
30135 U
=`sed -n 's/^U = //p' < "$mf"`
30136 # Find all dependency output files, they are included files with
30137 # $(DEPDIR) in their names. We invoke sed twice because it is the
30138 # simplest approach to changing $(DEPDIR) to its actual value in the
30140 for file in `sed -n "
30141 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30142 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30143 # Make sure the directory exists.
30144 test -f "$dirpart/$file" && continue
30145 fdir
=`(dirname "$file") 2>/dev/null ||
30146 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30147 X"$file" : 'X\(//\)[^/]' \| \
30148 X"$file" : 'X\(//\)$' \| \
30149 X"$file" : 'X\(/\)' \| \
30150 . : '\(.\)' 2>/dev/null ||
30152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30153 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30154 /^X\(\/\/\)$/{ s//\1/; q; }
30155 /^X\(\/\).*/{ s//\1/; q; }
30157 { if $as_mkdir_p; then
30158 mkdir
-p $dirpart/$fdir
30160 as_dir
=$dirpart/$fdir
30162 while test ! -d "$as_dir"; do
30163 as_dirs
="$as_dir $as_dirs"
30164 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30165 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30166 X"$as_dir" : 'X\(//\)[^/]' \| \
30167 X"$as_dir" : 'X\(//\)$' \| \
30168 X"$as_dir" : 'X\(/\)' \| \
30169 . : '\(.\)' 2>/dev/null ||
30171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30172 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30173 /^X\(\/\/\)$/{ s//\1/; q; }
30174 /^X\(\/\).*/{ s//\1/; q; }
30177 test ! -n "$as_dirs" || mkdir
$as_dirs
30178 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30179 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30180 { (exit 1); exit 1; }; }; }
30182 # echo "creating $dirpart/$file"
30183 echo '# dummy' > "$dirpart/$file"
30189 # See if we are running on zsh, and set the options which allow our
30190 # commands through without removal of \ escapes.
30191 if test -n "${ZSH_VERSION+set}" ; then
30192 setopt NO_GLOB_SUBST
30195 cfgfile
="${ofile}T"
30196 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30199 cat <<_LT_EOF >> "$cfgfile"
30202 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30203 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
30204 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30205 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30207 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30208 # 2006, 2007 Free Software Foundation, Inc.
30210 # This file is part of GNU Libtool:
30211 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
30213 # This program is free software; you can redistribute it and/or modify
30214 # it under the terms of the GNU General Public License as published by
30215 # the Free Software Foundation; either version 2 of the License, or
30216 # (at your option) any later version.
30218 # This program is distributed in the hope that it will be useful, but
30219 # WITHOUT ANY WARRANTY; without even the implied warranty of
30220 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30221 # General Public License for more details.
30223 # You should have received a copy of the GNU General Public License
30224 # along with this program; if not, a copy can be downloaded from
30225 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
30226 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30227 # MA 02110-1301, USA.
30229 # As a special exception to the GNU General Public License, if you
30230 # distribute this file as part of a program that contains a
30231 # configuration script generated by Autoconf, you may include it under
30232 # the same distribution terms that you use for the rest of that program.
30235 # The names of the tagged configurations supported by this script.
30236 available_tags="CXX GCJ "
30238 # ### BEGIN LIBTOOL CONFIG
30240 # Which release of libtool.m4 was used?
30241 macro_version=$macro_version
30242 macro_revision=$macro_revision
30244 # Whether or not to build shared libraries.
30245 build_libtool_libs=$enable_shared
30247 # Whether or not to build static libraries.
30248 build_old_libs=$enable_static
30250 # What type of objects to build.
30253 # Whether or not to optimize for fast installation.
30254 fast_install=$enable_fast_install
30257 host_alias=$host_alias
30261 # The build system.
30262 build_alias=$build_alias
30266 # A sed program that does not truncate output.
30269 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30270 Xsed="\$SED -e 1s/^X//"
30272 # A grep program that handles long lines.
30278 # A literal string matcher.
30281 # A BSD- or MS-compatible name lister.
30284 # Whether we need soft or hard links.
30287 # What is the maximum length of a command?
30288 max_cmd_len=$max_cmd_len
30290 # Object file suffix (normally "o").
30293 # Executable file suffix (normally "").
30296 # whether the shell understands "unset".
30299 # turn spaces into newlines.
30302 # turn newlines into spaces.
30305 # How to create reloadable object files.
30306 reload_flag=$lt_reload_flag
30307 reload_cmds=$lt_reload_cmds
30309 # Method to check whether dependent libraries are shared objects.
30310 deplibs_check_method=$lt_deplibs_check_method
30312 # Command to use when deplibs_check_method == "file_magic".
30313 file_magic_cmd=$lt_file_magic_cmd
30317 AR_FLAGS=$lt_AR_FLAGS
30319 # A symbol stripping program.
30322 # Commands used to install an old-style archive.
30324 old_postinstall_cmds=$lt_old_postinstall_cmds
30325 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30330 # LTCC compiler flags.
30331 LTCFLAGS=$lt_CFLAGS
30333 # Take the output of nm and produce a listing of raw symbols and C names.
30334 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30336 # Transform the output of nm in a proper C declaration.
30337 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30339 # Transform the output of nm in a C name address pair.
30340 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30342 # The name of the directory that contains temporary libtool files.
30345 # Shell to use when invoking shell scripts.
30348 # An echo program that does not interpret backslashes.
30351 # Used to examine libraries when file_magic_cmd begins with "file".
30352 MAGIC_CMD=$MAGIC_CMD
30354 # Must we lock files when doing compilation?
30355 need_locks=$lt_need_locks
30357 # Old archive suffix (normally "a").
30360 # Shared library suffix (normally ".so").
30361 shrext_cmds=$lt_shrext_cmds
30363 # The commands to extract the exported symbol list from a shared archive.
30364 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30366 # Variables whose values should be saved in libtool wrapper scripts and
30367 # restored at link time.
30368 variables_saved_for_relink=$lt_variables_saved_for_relink
30370 # Do we need the "lib" prefix for modules?
30371 need_lib_prefix=$need_lib_prefix
30373 # Do we need a version for libraries?
30374 need_version=$need_version
30376 # Library versioning type.
30377 version_type=$version_type
30379 # Shared library runtime path variable.
30380 runpath_var=$runpath_var
30382 # Shared library path variable.
30383 shlibpath_var=$shlibpath_var
30385 # Is shlibpath searched before the hard-coded library search path?
30386 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30388 # Format of library name prefix.
30389 libname_spec=$lt_libname_spec
30391 # List of archive names. First name is the real one, the rest are links.
30392 # The last name is the one that the linker finds with -lNAME
30393 library_names_spec=$lt_library_names_spec
30395 # The coded name of the library, if different from the real name.
30396 soname_spec=$lt_soname_spec
30398 # Command to use after installation of a shared archive.
30399 postinstall_cmds=$lt_postinstall_cmds
30401 # Command to use after uninstallation of a shared archive.
30402 postuninstall_cmds=$lt_postuninstall_cmds
30404 # Commands used to finish a libtool library installation in a directory.
30405 finish_cmds=$lt_finish_cmds
30407 # As "finish_cmds", except a single script fragment to be evaled but
30409 finish_eval=$lt_finish_eval
30411 # Whether we should hardcode library paths into libraries.
30412 hardcode_into_libs=$hardcode_into_libs
30414 # Compile-time system search path for libraries.
30415 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30417 # Run-time system search path for libraries.
30418 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30420 # Whether dlopen is supported.
30421 dlopen_support=$enable_dlopen
30423 # Whether dlopen of programs is supported.
30424 dlopen_self=$enable_dlopen_self
30426 # Whether dlopen of statically linked programs is supported.
30427 dlopen_self_static=$enable_dlopen_self_static
30429 # Commands to strip libraries.
30430 old_striplib=$lt_old_striplib
30431 striplib=$lt_striplib
30434 # The linker used to build libraries.
30437 # Commands used to build an old-style archive.
30438 old_archive_cmds=$lt_old_archive_cmds
30440 # A language specific compiler.
30443 # Is the compiler the GNU compiler?
30446 # Compiler flag to turn off builtin functions.
30447 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30449 # How to pass a linker flag through the compiler.
30450 wl=$lt_lt_prog_compiler_wl
30452 # Additional compiler flags for building library objects.
30453 pic_flag=$lt_lt_prog_compiler_pic
30455 # Compiler flag to prevent dynamic linking.
30456 link_static_flag=$lt_lt_prog_compiler_static
30458 # Does compiler simultaneously support -c and -o options?
30459 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30461 # Whether or not to add -lc for building shared libraries.
30462 build_libtool_need_lc=$archive_cmds_need_lc
30464 # Whether or not to disallow shared libs when runtime libs are static.
30465 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30467 # Compiler flag to allow reflexive dlopens.
30468 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30470 # Compiler flag to generate shared objects directly from archives.
30471 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30473 # Whether the compiler copes with passing no objects directly.
30474 compiler_needs_object=$lt_compiler_needs_object
30476 # Create an old-style archive from a shared archive.
30477 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30479 # Create a temporary old-style archive to link instead of a shared archive.
30480 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30482 # Commands used to build a shared archive.
30483 archive_cmds=$lt_archive_cmds
30484 archive_expsym_cmds=$lt_archive_expsym_cmds
30486 # Commands used to build a loadable module if different from building
30487 # a shared archive.
30488 module_cmds=$lt_module_cmds
30489 module_expsym_cmds=$lt_module_expsym_cmds
30491 # Whether we are building with GNU ld or not.
30492 with_gnu_ld=$lt_with_gnu_ld
30494 # Flag that allows shared libraries with undefined symbols to be built.
30495 allow_undefined_flag=$lt_allow_undefined_flag
30497 # Flag that enforces no undefined symbols.
30498 no_undefined_flag=$lt_no_undefined_flag
30500 # Flag to hardcode \$libdir into a binary during linking.
30501 # This must work even if \$libdir does not exist
30502 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30504 # If ld is used when linking, flag to hardcode \$libdir into a binary
30505 # during linking. This must work even if \$libdir does not exist.
30506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30508 # Whether we need a single "-rpath" flag with a separated argument.
30509 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30511 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30512 # DIR into the resulting binary.
30513 hardcode_direct=$hardcode_direct
30515 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30516 # DIR into the resulting binary and the resulting library dependency is
30517 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30518 # library is relocated.
30519 hardcode_direct_absolute=$hardcode_direct_absolute
30521 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30522 # into the resulting binary.
30523 hardcode_minus_L=$hardcode_minus_L
30525 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30526 # into the resulting binary.
30527 hardcode_shlibpath_var=$hardcode_shlibpath_var
30529 # Set to "yes" if building a shared library automatically hardcodes DIR
30530 # into the library and all subsequent libraries and executables linked
30532 hardcode_automatic=$hardcode_automatic
30534 # Set to yes if linker adds runtime paths of dependent libraries
30535 # to runtime path list.
30536 inherit_rpath=$inherit_rpath
30538 # Whether libtool must link a program against all its dependency libraries.
30539 link_all_deplibs=$link_all_deplibs
30541 # Fix the shell variable \$srcfile for the compiler.
30542 fix_srcfile_path=$lt_fix_srcfile_path
30544 # Set to "yes" if exported symbols are required.
30545 always_export_symbols=$always_export_symbols
30547 # The commands to list exported symbols.
30548 export_symbols_cmds=$lt_export_symbols_cmds
30550 # Symbols that should not be listed in the preloaded symbols.
30551 exclude_expsyms=$lt_exclude_expsyms
30553 # Symbols that must always be exported.
30554 include_expsyms=$lt_include_expsyms
30556 # Commands necessary for linking programs (against libraries) with templates.
30557 prelink_cmds=$lt_prelink_cmds
30559 # Specify filename containing input files.
30560 file_list_spec=$lt_file_list_spec
30562 # How to hardcode a shared library path into an executable.
30563 hardcode_action=$hardcode_action
30565 # Dependencies to place before and after the objects being linked to
30566 # create a shared library.
30567 predep_objects=$lt_predep_objects
30568 postdep_objects=$lt_postdep_objects
30569 predeps=$lt_predeps
30570 postdeps=$lt_postdeps
30572 # The library search path used internally by the compiler when linking
30573 # a shared library.
30574 compiler_lib_search_path=$lt_compiler_lib_search_path
30576 # ### END LIBTOOL CONFIG
30582 cat <<\_LT_EOF
>> "$cfgfile"
30583 # AIX sometimes has problems with the GCC collect2 program. For some
30584 # reason, if we set the COLLECT_NAMES environment variable, the problems
30585 # vanish in a puff of smoke.
30586 if test "X${COLLECT_NAMES+set}" != Xset
; then
30588 export COLLECT_NAMES
30595 ltmain
="$ac_aux_dir/ltmain.sh"
30598 # We use sed instead of cat because bash on DJGPP gets confused if
30599 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30600 # text mode, it properly converts lines to CR/LF. This bash problem
30601 # is reportedly fixed, but why not run on old versions too?
30602 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
30603 ||
(rm -f "$cfgfile"; exit 1)
30607 cat << \_LT_EOF
>> "$cfgfile"
30608 # func_dirname file append nondir_replacement
30609 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30610 # otherwise set result to NONDIR_REPLACEMENT.
30614 */*) func_dirname_result
="${1%/*}${2}" ;;
30615 * ) func_dirname_result
="${3}" ;;
30619 # func_basename file
30622 func_basename_result
="${1##*/}"
30625 # func_stripname prefix suffix name
30626 # strip PREFIX and SUFFIX off of NAME.
30627 # PREFIX and SUFFIX must not contain globbing or regex special
30628 # characters, hashes, percent signs, but SUFFIX may contain a leading
30629 # dot (in which case that matches only a dot).
30632 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
30633 # positional parameters, so assign one to ordinary parameter first.
30634 func_stripname_result
=${3}
30635 func_stripname_result
=${func_stripname_result#"${1}"}
30636 func_stripname_result
=${func_stripname_result%"${2}"}
30642 func_opt_split_opt
=${1%%=*}
30643 func_opt_split_arg
=${1#*=}
30650 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
30651 *) func_lo2o_result
=${1} ;;
30656 *) # Bourne compatible functions.
30657 cat << \_LT_EOF
>> "$cfgfile"
30658 # func_dirname file append nondir_replacement
30659 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30660 # otherwise set result to NONDIR_REPLACEMENT.
30663 # Extract subdirectory from the argument.
30664 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
30665 if test "X$func_dirname_result" = "X${1}"; then
30666 func_dirname_result
="${3}"
30668 func_dirname_result
="$func_dirname_result${2}"
30672 # func_basename file
30675 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
30678 # func_stripname prefix suffix name
30679 # strip PREFIX and SUFFIX off of NAME.
30680 # PREFIX and SUFFIX must not contain globbing or regex special
30681 # characters, hashes, percent signs, but SUFFIX may contain a leading
30682 # dot (in which case that matches only a dot).
30683 # func_strip_suffix prefix name
30687 .
*) func_stripname_result
=`$ECHO "X${3}" \
30688 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
30689 *) func_stripname_result
=`$ECHO "X${3}" \
30690 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
30695 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
30696 my_sed_long_arg
='1s/^-[^=]*=//'
30701 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
30702 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
30708 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
30713 case $lt_shell_append in
30715 cat << \_LT_EOF
>> "$cfgfile"
30717 # func_append var value
30718 # Append VALUE to the end of shell variable VAR.
30726 cat << \_LT_EOF
>> "$cfgfile"
30728 # func_append var value
30729 # Append VALUE to the end of shell variable VAR.
30739 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
30740 ||
(rm -f "$cfgfile"; exit 1)
30742 mv -f "$cfgfile" "$ofile" ||
30743 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30747 cat <<_LT_EOF >> "$ofile"
30749 # ### BEGIN LIBTOOL TAG CONFIG: CXX
30751 # The linker used to build libraries.
30754 # Commands used to build an old-style archive.
30755 old_archive_cmds=$lt_old_archive_cmds_CXX
30757 # A language specific compiler.
30758 CC=$lt_compiler_CXX
30760 # Is the compiler the GNU compiler?
30763 # Compiler flag to turn off builtin functions.
30764 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30766 # How to pass a linker flag through the compiler.
30767 wl=$lt_lt_prog_compiler_wl_CXX
30769 # Additional compiler flags for building library objects.
30770 pic_flag=$lt_lt_prog_compiler_pic_CXX
30772 # Compiler flag to prevent dynamic linking.
30773 link_static_flag=$lt_lt_prog_compiler_static_CXX
30775 # Does compiler simultaneously support -c and -o options?
30776 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30778 # Whether or not to add -lc for building shared libraries.
30779 build_libtool_need_lc=$archive_cmds_need_lc_CXX
30781 # Whether or not to disallow shared libs when runtime libs are static.
30782 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30784 # Compiler flag to allow reflexive dlopens.
30785 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30787 # Compiler flag to generate shared objects directly from archives.
30788 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30790 # Whether the compiler copes with passing no objects directly.
30791 compiler_needs_object=$lt_compiler_needs_object_CXX
30793 # Create an old-style archive from a shared archive.
30794 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30796 # Create a temporary old-style archive to link instead of a shared archive.
30797 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30799 # Commands used to build a shared archive.
30800 archive_cmds=$lt_archive_cmds_CXX
30801 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30803 # Commands used to build a loadable module if different from building
30804 # a shared archive.
30805 module_cmds=$lt_module_cmds_CXX
30806 module_expsym_cmds=$lt_module_expsym_cmds_CXX
30808 # Whether we are building with GNU ld or not.
30809 with_gnu_ld=$lt_with_gnu_ld_CXX
30811 # Flag that allows shared libraries with undefined symbols to be built.
30812 allow_undefined_flag=$lt_allow_undefined_flag_CXX
30814 # Flag that enforces no undefined symbols.
30815 no_undefined_flag=$lt_no_undefined_flag_CXX
30817 # Flag to hardcode \$libdir into a binary during linking.
30818 # This must work even if \$libdir does not exist
30819 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30821 # If ld is used when linking, flag to hardcode \$libdir into a binary
30822 # during linking. This must work even if \$libdir does not exist.
30823 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
30825 # Whether we need a single "-rpath" flag with a separated argument.
30826 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30828 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30829 # DIR into the resulting binary.
30830 hardcode_direct=$hardcode_direct_CXX
30832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30833 # DIR into the resulting binary and the resulting library dependency is
30834 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30835 # library is relocated.
30836 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30838 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30839 # into the resulting binary.
30840 hardcode_minus_L=$hardcode_minus_L_CXX
30842 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30843 # into the resulting binary.
30844 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30846 # Set to "yes" if building a shared library automatically hardcodes DIR
30847 # into the library and all subsequent libraries and executables linked
30849 hardcode_automatic=$hardcode_automatic_CXX
30851 # Set to yes if linker adds runtime paths of dependent libraries
30852 # to runtime path list.
30853 inherit_rpath=$inherit_rpath_CXX
30855 # Whether libtool must link a program against all its dependency libraries.
30856 link_all_deplibs=$link_all_deplibs_CXX
30858 # Fix the shell variable \$srcfile for the compiler.
30859 fix_srcfile_path=$lt_fix_srcfile_path_CXX
30861 # Set to "yes" if exported symbols are required.
30862 always_export_symbols=$always_export_symbols_CXX
30864 # The commands to list exported symbols.
30865 export_symbols_cmds=$lt_export_symbols_cmds_CXX
30867 # Symbols that should not be listed in the preloaded symbols.
30868 exclude_expsyms=$lt_exclude_expsyms_CXX
30870 # Symbols that must always be exported.
30871 include_expsyms=$lt_include_expsyms_CXX
30873 # Commands necessary for linking programs (against libraries) with templates.
30874 prelink_cmds=$lt_prelink_cmds_CXX
30876 # Specify filename containing input files.
30877 file_list_spec=$lt_file_list_spec_CXX
30879 # How to hardcode a shared library path into an executable.
30880 hardcode_action=$hardcode_action_CXX
30882 # Dependencies to place before and after the objects being linked to
30883 # create a shared library.
30884 predep_objects=$lt_predep_objects_CXX
30885 postdep_objects=$lt_postdep_objects_CXX
30886 predeps=$lt_predeps_CXX
30887 postdeps=$lt_postdeps_CXX
30889 # The library search path used internally by the compiler when linking
30890 # a shared library.
30891 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30893 # ### END LIBTOOL TAG CONFIG: CXX
30897 cat <<_LT_EOF >> "$ofile"
30899 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
30901 # The linker used to build libraries.
30904 # Commands used to build an old-style archive.
30905 old_archive_cmds=$lt_old_archive_cmds_GCJ
30907 # A language specific compiler.
30908 CC=$lt_compiler_GCJ
30910 # Is the compiler the GNU compiler?
30913 # Compiler flag to turn off builtin functions.
30914 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
30916 # How to pass a linker flag through the compiler.
30917 wl=$lt_lt_prog_compiler_wl_GCJ
30919 # Additional compiler flags for building library objects.
30920 pic_flag=$lt_lt_prog_compiler_pic_GCJ
30922 # Compiler flag to prevent dynamic linking.
30923 link_static_flag=$lt_lt_prog_compiler_static_GCJ
30925 # Does compiler simultaneously support -c and -o options?
30926 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
30928 # Whether or not to add -lc for building shared libraries.
30929 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
30931 # Whether or not to disallow shared libs when runtime libs are static.
30932 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
30934 # Compiler flag to allow reflexive dlopens.
30935 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
30937 # Compiler flag to generate shared objects directly from archives.
30938 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
30940 # Whether the compiler copes with passing no objects directly.
30941 compiler_needs_object=$lt_compiler_needs_object_GCJ
30943 # Create an old-style archive from a shared archive.
30944 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
30946 # Create a temporary old-style archive to link instead of a shared archive.
30947 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
30949 # Commands used to build a shared archive.
30950 archive_cmds=$lt_archive_cmds_GCJ
30951 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
30953 # Commands used to build a loadable module if different from building
30954 # a shared archive.
30955 module_cmds=$lt_module_cmds_GCJ
30956 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
30958 # Whether we are building with GNU ld or not.
30959 with_gnu_ld=$lt_with_gnu_ld_GCJ
30961 # Flag that allows shared libraries with undefined symbols to be built.
30962 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
30964 # Flag that enforces no undefined symbols.
30965 no_undefined_flag=$lt_no_undefined_flag_GCJ
30967 # Flag to hardcode \$libdir into a binary during linking.
30968 # This must work even if \$libdir does not exist
30969 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
30971 # If ld is used when linking, flag to hardcode \$libdir into a binary
30972 # during linking. This must work even if \$libdir does not exist.
30973 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
30975 # Whether we need a single "-rpath" flag with a separated argument.
30976 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
30978 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30979 # DIR into the resulting binary.
30980 hardcode_direct=$hardcode_direct_GCJ
30982 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30983 # DIR into the resulting binary and the resulting library dependency is
30984 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30985 # library is relocated.
30986 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
30988 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30989 # into the resulting binary.
30990 hardcode_minus_L=$hardcode_minus_L_GCJ
30992 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30993 # into the resulting binary.
30994 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
30996 # Set to "yes" if building a shared library automatically hardcodes DIR
30997 # into the library and all subsequent libraries and executables linked
30999 hardcode_automatic=$hardcode_automatic_GCJ
31001 # Set to yes if linker adds runtime paths of dependent libraries
31002 # to runtime path list.
31003 inherit_rpath=$inherit_rpath_GCJ
31005 # Whether libtool must link a program against all its dependency libraries.
31006 link_all_deplibs=$link_all_deplibs_GCJ
31008 # Fix the shell variable \$srcfile for the compiler.
31009 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
31011 # Set to "yes" if exported symbols are required.
31012 always_export_symbols=$always_export_symbols_GCJ
31014 # The commands to list exported symbols.
31015 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
31017 # Symbols that should not be listed in the preloaded symbols.
31018 exclude_expsyms=$lt_exclude_expsyms_GCJ
31020 # Symbols that must always be exported.
31021 include_expsyms=$lt_include_expsyms_GCJ
31023 # Commands necessary for linking programs (against libraries) with templates.
31024 prelink_cmds=$lt_prelink_cmds_GCJ
31026 # Specify filename containing input files.
31027 file_list_spec=$lt_file_list_spec_GCJ
31029 # How to hardcode a shared library path into an executable.
31030 hardcode_action=$hardcode_action_GCJ
31032 # Dependencies to place before and after the objects being linked to
31033 # create a shared library.
31034 predep_objects=$lt_predep_objects_GCJ
31035 postdep_objects=$lt_postdep_objects_GCJ
31036 predeps=$lt_predeps_GCJ
31037 postdeps=$lt_postdeps_GCJ
31039 # The library search path used internally by the compiler when linking
31040 # a shared library.
31041 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
31043 # ### END LIBTOOL TAG CONFIG: GCJ
31051 cat >>$CONFIG_STATUS <<\_ACEOF
31053 { (exit 0); exit 0; }
31055 chmod +x
$CONFIG_STATUS
31056 ac_clean_files
=$ac_clean_files_save
31059 # configure is writing to config.log, and then calls config.status.
31060 # config.status does its own redirection, appending to config.log.
31061 # Unfortunately, on DOS this fails, as config.log is still kept open
31062 # by configure, so config.status won't be able to write to it; its
31063 # output is simply discarded. So we exec the FD to /dev/null,
31064 # effectively closing config.log, so it can be properly (re)opened and
31065 # appended to by config.status. When coming back to configure, we
31066 # need to make the FD available again.
31067 if test "$no_create" != yes; then
31069 ac_config_status_args
=
31070 test "$silent" = yes &&
31071 ac_config_status_args
="$ac_config_status_args --quiet"
31073 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31075 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31076 # would make configure fail if this is the last instruction.
31077 $ac_cs_success ||
{ (exit 1); exit 1; }
31081 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
31083 if test "$no_recursion" != yes; then
31085 # Remove --cache-file and --srcdir arguments so they do not pile up.
31086 ac_sub_configure_args
=
31088 eval "set x $ac_configure_args"
31092 if test -n "$ac_prev"; then
31097 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31098 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31099 ac_prev
=cache_file
;;
31100 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31101 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31104 --config-cache |
-C)
31106 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31108 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31110 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31112 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31116 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31118 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
31122 # Always prepend --prefix to ensure using the same prefix
31123 # in subdir configurations.
31124 ac_arg
="--prefix=$prefix"
31126 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31128 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
31131 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31133 # Do not complain, so a configure script can configure whichever
31134 # parts of a large source tree are present.
31135 test -d "$srcdir/$ac_dir" ||
continue
31137 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31138 echo "$as_me: configuring in $ac_dir" >&6;}
31139 { if $as_mkdir_p; then
31144 while test ! -d "$as_dir"; do
31145 as_dirs
="$as_dir $as_dirs"
31146 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31147 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31148 X"$as_dir" : 'X\(//\)[^/]' \| \
31149 X"$as_dir" : 'X\(//\)$' \| \
31150 X"$as_dir" : 'X\(/\)' \| \
31151 . : '\(.\)' 2>/dev/null ||
31153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31154 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31155 /^X\(\/\/\)$/{ s//\1/; q; }
31156 /^X\(\/\).*/{ s//\1/; q; }
31159 test ! -n "$as_dirs" || mkdir
$as_dirs
31160 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31161 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31162 { (exit 1); exit 1; }; }; }
31166 if test "$ac_dir" != .
; then
31167 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31168 # A "../" for each directory in $ac_dir_suffix.
31169 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31171 ac_dir_suffix
= ac_top_builddir
=
31175 .
) # No --srcdir option. We are building in place.
31177 if test -z "$ac_top_builddir"; then
31180 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31182 [\\/]* | ?
:[\\/]* ) # Absolute path.
31183 ac_srcdir
=$srcdir$ac_dir_suffix;
31184 ac_top_srcdir
=$srcdir ;;
31185 *) # Relative path.
31186 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31187 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31190 # Do not use `cd foo && pwd` to compute absolute paths, because
31191 # the directories may not exist.
31193 .
) ac_abs_builddir
="$ac_dir";;
31196 .
) ac_abs_builddir
=`pwd`;;
31197 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31198 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31201 case $ac_abs_builddir in
31202 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31204 case ${ac_top_builddir}.
in
31205 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31206 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31207 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31210 case $ac_abs_builddir in
31211 .
) ac_abs_srcdir
=$ac_srcdir;;
31214 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31215 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31216 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31219 case $ac_abs_builddir in
31220 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31222 case $ac_top_srcdir in
31223 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31224 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31225 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31232 # Check for guested configure; otherwise get Cygnus style configure.
31233 if test -f "$ac_srcdir/configure.gnu"; then
31234 ac_sub_configure
=$ac_srcdir/configure.gnu
31235 elif test -f "$ac_srcdir/configure"; then
31236 ac_sub_configure
=$ac_srcdir/configure
31237 elif test -f "$ac_srcdir/configure.in"; then
31238 # This should be Cygnus configure.
31239 ac_sub_configure
=$ac_aux_dir/configure
31241 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31242 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31246 # The recursion is here.
31247 if test -n "$ac_sub_configure"; then
31248 # Make the cache file name correct relative to the subdirectory.
31249 case $cache_file in
31250 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31251 *) # Relative path.
31252 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31255 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31256 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31257 # The eval makes quoting arguments work.
31258 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31259 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31260 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31261 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31262 { (exit 1); exit 1; }; }