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 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_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-gc-debug include full support for pointer backtracing etc.
1039 --enable-interpreter enable interpreter
1040 --enable-sjlj-exceptions
1041 force use of builtin_setjmp for exceptions
1042 --disable-java-net disable java.net
1043 --disable-jvmpi disable JVMPI support
1044 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1045 --disable-rpath do not hardcode runtime library paths
1046 --enable-tls Use thread-local storage [default=yes]
1049 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1050 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1051 --with-build-libsubdir=DIR Directory where to find libraries for build system
1052 --with-target-subdir=SUBDIR
1053 configure in a subdirectory
1054 --with-cross-host=HOST configure with a cross compiler from HOST
1055 --with-newlib configure with newlib
1056 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1057 --with-pic try to use only PIC/non-PIC objects [default=use
1059 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1060 --with-ecj-jar=FILE use preinstalled ecj jar
1061 --with-java-home=DIRECTORY
1062 value of java.home system property
1063 --with-win32-nlsapi=ansi or unicows or unicode
1064 native MinGW libgcj Win32 OS API (default is ansi)
1065 --without-libffi don't use libffi
1066 --with-ecos enable runtime eCos target support
1067 --with-system-zlib use installed libz
1068 --with-x use the X Window System
1069 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1070 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1071 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1073 Some influential environment variables:
1074 CC C compiler command
1075 CFLAGS C compiler flags
1076 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1077 nonstandard directory <lib dir>
1078 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1079 headers in a nonstandard directory <include dir>
1080 CXX C++ compiler command
1081 CXXFLAGS C++ compiler flags
1083 CXXCPP C++ preprocessor
1085 Use these variables to override the choices made by `configure' or to
help
1086 it to
find libraries and programs with nonstandard names
/locations.
1091 if test "$ac_init_help" = "recursive"; then
1092 # If there are subdirs, report their specific --help.
1094 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1095 test -d $ac_dir ||
continue
1098 if test "$ac_dir" != .
; then
1099 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1100 # A "../" for each directory in $ac_dir_suffix.
1101 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1103 ac_dir_suffix
= ac_top_builddir
=
1107 .
) # No --srcdir option. We are building in place.
1109 if test -z "$ac_top_builddir"; then
1112 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1114 [\\/]* | ?
:[\\/]* ) # Absolute path.
1115 ac_srcdir
=$srcdir$ac_dir_suffix;
1116 ac_top_srcdir
=$srcdir ;;
1118 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1119 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1122 # Do not use `cd foo && pwd` to compute absolute paths, because
1123 # the directories may not exist.
1125 .
) ac_abs_builddir
="$ac_dir";;
1128 .
) ac_abs_builddir
=`pwd`;;
1129 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1130 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1133 case $ac_abs_builddir in
1134 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1136 case ${ac_top_builddir}.
in
1137 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1138 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1139 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1142 case $ac_abs_builddir in
1143 .
) ac_abs_srcdir
=$ac_srcdir;;
1146 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1147 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1148 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1151 case $ac_abs_builddir in
1152 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1154 case $ac_top_srcdir in
1155 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1156 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1157 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1162 # Check for guested configure; otherwise get Cygnus style configure.
1163 if test -f $ac_srcdir/configure.gnu
; then
1165 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1166 elif test -f $ac_srcdir/configure
; then
1168 $SHELL $ac_srcdir/configure
--help=recursive
1169 elif test -f $ac_srcdir/configure.ac ||
1170 test -f $ac_srcdir/configure.
in; then
1172 $ac_configure --help
1174 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1180 test -n "$ac_init_help" && exit 0
1181 if $ac_init_version; then
1183 libjava configure version-unused
1184 generated by GNU Autoconf
2.59
1186 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1187 This configure
script is free software
; the Free Software Foundation
1188 gives unlimited permission to copy
, distribute and modify it.
1194 This file contains any messages produced by compilers while
1195 running configure, to aid debugging if configure makes a mistake.
1197 It was created by libjava $as_me version-unused, which was
1198 generated by GNU Autoconf 2.59. Invocation command line was
1209 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1210 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1211 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1212 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1213 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1215 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1216 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1218 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1219 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1220 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1221 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1222 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1223 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1224 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1232 test -z "$as_dir" && as_dir
=.
1233 echo "PATH: $as_dir"
1248 # Keep a trace of the command line.
1249 # Strip out --no-create and --no-recursion so they do not pile up.
1250 # Strip out --silent because we don't want to record it for future runs.
1251 # Also quote any args containing shell meta-characters.
1252 # Make two passes to allow for proper duplicate-argument suppression.
1257 ac_must_keep_next
=false
1263 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1265 |
-silent |
--silent |
--silen |
--sile |
--sil)
1267 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1271 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1273 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1274 if test $ac_must_keep_next = true
; then
1275 ac_must_keep_next
=false
# Got value, back to normal.
1278 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1279 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1280 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1281 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1282 case "$ac_configure_args0 " in
1283 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1286 -* ) ac_must_keep_next
=true
;;
1289 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1290 # Get rid of the leading space.
1296 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1297 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1299 # When interrupted or exit'd, cleanup temporary files, and complete
1300 # config.log. We remove comments because anyway the quotes in there
1301 # would cause problems or look ugly.
1302 # WARNING: Be sure not to use single quotes in there, as some shells,
1303 # such as our DU 5.0 friend, will then `close' the trap.
1304 trap 'exit_status=$?
1305 # Save into config.log some information that might help in debugging.
1310 ## ---------------- ##
1311 ## Cache variables. ##
1312 ## ---------------- ##
1315 # The following way of writing the cache mishandles newlines in values,
1318 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1321 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1322 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1326 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1333 ## ----------------- ##
1334 ## Output variables. ##
1335 ## ----------------- ##
1338 for ac_var in $ac_subst_vars
1340 eval ac_val=$`echo $ac_var`
1341 echo "$ac_var='"'"'$ac_val'"'"'"
1345 if test -n "$ac_subst_files"; then
1352 for ac_var in $ac_subst_files
1354 eval ac_val=$`echo $ac_var`
1355 echo "$ac_var='"'"'$ac_val'"'"'"
1360 if test -s confdefs.h; then
1367 sed "/^$/d" confdefs.h | sort
1370 test "$ac_signal" != 0 &&
1371 echo "$as_me: caught signal $ac_signal"
1372 echo "$as_me: exit $exit_status"
1374 rm -f core *.core &&
1375 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1378 for ac_signal
in 1 2 13 15; do
1379 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1383 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1384 rm -rf conftest
* confdefs.h
1385 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1388 # Predefined preprocessor variables.
1390 cat >>confdefs.h
<<_ACEOF
1391 #define PACKAGE_NAME "$PACKAGE_NAME"
1395 cat >>confdefs.h
<<_ACEOF
1396 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1400 cat >>confdefs.h
<<_ACEOF
1401 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1405 cat >>confdefs.h
<<_ACEOF
1406 #define PACKAGE_STRING "$PACKAGE_STRING"
1410 cat >>confdefs.h
<<_ACEOF
1411 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1415 # Let the site file select an alternate cache file if it wants to.
1416 # Prefer explicitly selected file to automatically selected ones.
1417 if test -z "$CONFIG_SITE"; then
1418 if test "x$prefix" != xNONE
; then
1419 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1421 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1424 for ac_site_file
in $CONFIG_SITE; do
1425 if test -r "$ac_site_file"; then
1426 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1427 echo "$as_me: loading site script $ac_site_file" >&6;}
1428 sed 's/^/| /' "$ac_site_file" >&5
1433 if test -r "$cache_file"; then
1434 # Some versions of bash will fail to source /dev/null (special
1435 # files actually), so we avoid doing that.
1436 if test -f "$cache_file"; then
1437 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1438 echo "$as_me: loading cache $cache_file" >&6;}
1440 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1441 *) . .
/$cache_file;;
1445 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1446 echo "$as_me: creating cache $cache_file" >&6;}
1450 # Check that the precious variables saved in the cache have kept the same
1452 ac_cache_corrupted
=false
1453 for ac_var
in `(set) 2>&1 |
1454 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1455 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1456 eval ac_new_set
=\
$ac_env_${ac_var}_set
1457 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1458 eval ac_new_val
="\$ac_env_${ac_var}_value"
1459 case $ac_old_set,$ac_new_set in
1461 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1462 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1463 ac_cache_corrupted
=: ;;
1465 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1466 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1467 ac_cache_corrupted
=: ;;
1470 if test "x$ac_old_val" != "x$ac_new_val"; then
1471 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1472 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1473 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1474 echo "$as_me: former value: $ac_old_val" >&2;}
1475 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1476 echo "$as_me: current value: $ac_new_val" >&2;}
1477 ac_cache_corrupted
=:
1480 # Pass precious variables to config.status.
1481 if test "$ac_new_set" = set; then
1483 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1484 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1485 *) ac_arg
=$ac_var=$ac_new_val ;;
1487 case " $ac_configure_args " in
1488 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1489 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1493 if $ac_cache_corrupted; then
1494 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1495 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1496 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1497 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1498 { (exit 1); exit 1; }; }
1502 ac_cpp
='$CPP $CPPFLAGS'
1503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1537 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1538 if test -f $ac_dir/install-sh
; then
1540 ac_install_sh
="$ac_aux_dir/install-sh -c"
1542 elif test -f $ac_dir/install.sh
; then
1544 ac_install_sh
="$ac_aux_dir/install.sh -c"
1546 elif test -f $ac_dir/shtool
; then
1548 ac_install_sh
="$ac_aux_dir/shtool install -c"
1552 if test -z "$ac_aux_dir"; then
1553 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1554 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1555 { (exit 1); exit 1; }; }
1557 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1558 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1559 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1561 # Make sure we can run config.sub.
1562 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1563 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1564 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1565 { (exit 1); exit 1; }; }
1567 echo "$as_me:$LINENO: checking build system type" >&5
1568 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1569 if test "${ac_cv_build+set}" = set; then
1570 echo $ECHO_N "(cached) $ECHO_C" >&6
1572 ac_cv_build_alias
=$build_alias
1573 test -z "$ac_cv_build_alias" &&
1574 ac_cv_build_alias
=`$ac_config_guess`
1575 test -z "$ac_cv_build_alias" &&
1576 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1577 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1578 { (exit 1); exit 1; }; }
1579 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1580 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1581 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1582 { (exit 1); exit 1; }; }
1585 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1586 echo "${ECHO_T}$ac_cv_build" >&6
1588 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1589 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1590 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1593 case ${build_alias} in
1594 "") build_noncanonical
=${build} ;;
1595 *) build_noncanonical
=${build_alias} ;;
1598 case ${host_alias} in
1599 "") host_noncanonical
=${build_noncanonical} ;;
1600 *) host_noncanonical
=${host_alias} ;;
1603 case ${target_alias} in
1604 "") target_noncanonical
=${host_noncanonical} ;;
1605 *) target_noncanonical
=${target_alias} ;;
1609 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1610 # have matching libraries, they should use host libraries: Makefile.tpl
1611 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1612 # However, they still use the build modules, because the corresponding
1613 # host modules (e.g. bison) are only built for the host when bootstrap
1615 # - build_subdir is where we find build modules, and never changes.
1616 # - build_libsubdir is where we find build libraries, and can be overridden.
1618 # Prefix 'build-' so this never conflicts with target_subdir.
1619 build_subdir
="build-${build_noncanonical}"
1621 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1622 if test "${with_build_libsubdir+set}" = set; then
1623 withval
="$with_build_libsubdir"
1624 build_libsubdir
="$withval"
1626 build_libsubdir
="$build_subdir"
1628 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1629 if ( test $srcdir = .
&& test -d gcc
) \
1630 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1631 host_subdir
="host-${host_noncanonical}"
1636 target_subdir
=${target_noncanonical}
1639 # We use these options to decide which functions to include.
1641 # Check whether --with-target-subdir or --without-target-subdir was given.
1642 if test "${with_target_subdir+set}" = set; then
1643 withval
="$with_target_subdir"
1647 # We may get other options which we don't document:
1648 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1650 # Find the rest of the source tree framework.
1651 # Default to --enable-multilib
1652 # Check whether --enable-multilib or --disable-multilib was given.
1653 if test "${enable_multilib+set}" = set; then
1654 enableval
="$enable_multilib"
1655 case "$enableval" in
1656 yes) multilib
=yes ;;
1658 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1659 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1660 { (exit 1); exit 1; }; } ;;
1666 # We may get other options which we leave undocumented:
1667 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1668 # See config-ml.in if you want the gory details.
1670 if test "$srcdir" = "."; then
1671 if test "$with_target_subdir" != "."; then
1672 multi_basedir
="$srcdir/$with_multisrctop../.."
1674 multi_basedir
="$srcdir/$with_multisrctop.."
1677 multi_basedir
="$srcdir/.."
1681 # Even if the default multilib is not a cross compilation,
1682 # it may be that some of the other multilibs are.
1683 if test $cross_compiling = no
&& test $multilib = yes \
1684 && test "x${with_multisubdir}" != x
; then
1685 cross_compiling
=maybe
1688 ac_config_commands
="$ac_config_commands default-1"
1691 echo "$as_me:$LINENO: checking host system type" >&5
1692 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1693 if test "${ac_cv_host+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 ac_cv_host_alias
=$host_alias
1697 test -z "$ac_cv_host_alias" &&
1698 ac_cv_host_alias
=$ac_cv_build_alias
1699 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1700 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1701 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1702 { (exit 1); exit 1; }; }
1705 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1706 echo "${ECHO_T}$ac_cv_host" >&6
1708 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1709 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1710 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1713 echo "$as_me:$LINENO: checking target system type" >&5
1714 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1715 if test "${ac_cv_target+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 ac_cv_target_alias
=$target_alias
1719 test "x$ac_cv_target_alias" = "x" &&
1720 ac_cv_target_alias
=$ac_cv_host_alias
1721 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1722 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1723 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1724 { (exit 1); exit 1; }; }
1727 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1728 echo "${ECHO_T}$ac_cv_target" >&6
1729 target
=$ac_cv_target
1730 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1731 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1732 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1735 # The aliases save the names the user supplied, while $host etc.
1736 # will get canonicalized.
1737 test -n "$target_alias" &&
1738 test "$program_prefix$program_suffix$program_transform_name" = \
1740 program_prefix
=${target_alias}-
1741 case ${build_alias} in
1742 "") build_noncanonical
=${build} ;;
1743 *) build_noncanonical
=${build_alias} ;;
1746 case ${target_alias} in
1747 "") target_noncanonical
=${host_noncanonical} ;;
1748 *) target_noncanonical
=${target_alias} ;;
1754 # This works around the fact that libtool configuration may change LD
1755 # for this particular configuration, but some shells, instead of
1756 # keeping the changes in LD private, export them just because LD is
1758 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1760 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1761 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1763 if test "$LN_S" = "ln -s"; then
1764 echo "$as_me:$LINENO: result: yes" >&5
1765 echo "${ECHO_T}yes" >&6
1767 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1768 echo "${ECHO_T}no, using $LN_S" >&6
1772 # This works around an automake problem.
1773 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1777 # Check whether --with-cross-host or --without-cross-host was given.
1778 if test "${with_cross_host+set}" = set; then
1779 withval
="$with_cross_host"
1784 # Check whether --with-newlib or --without-newlib was given.
1785 if test "${with_newlib+set}" = set; then
1786 withval
="$with_newlib"
1790 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1791 if test "${enable_version_specific_runtime_libs+set}" = set; then
1792 enableval
="$enable_version_specific_runtime_libs"
1793 case "$enableval" in
1794 yes) version_specific_libs
=yes ;;
1795 no
) version_specific_libs
=no
;;
1796 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1797 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1798 { (exit 1); exit 1; }; };;
1801 version_specific_libs
=no
1805 # Check whether --enable-plugin or --disable-plugin was given.
1806 if test "${enable_plugin+set}" = set; then
1807 enableval
="$enable_plugin"
1808 case "$enableval" in
1809 yes) plugin_enabled
=yes ;;
1810 no
) plugin_enabled
=no
;;
1811 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1812 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1813 { (exit 1); exit 1; }; };;
1820 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1821 if test "${enable_gconf_peer+set}" = set; then
1822 enableval
="$enable_gconf_peer"
1823 case "$enableval" in
1824 yes) gconf_enabled
=yes ;;
1825 no
) gconf_enabled
=no
;;
1826 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1827 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1828 { (exit 1); exit 1; }; };;
1835 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1836 if test "${enable_java_maintainer_mode+set}" = set; then
1837 enableval
="$enable_java_maintainer_mode"
1842 if test "$enable_java_maintainer_mode" = yes; then
1843 JAVA_MAINTAINER_MODE_TRUE
=
1844 JAVA_MAINTAINER_MODE_FALSE
='#'
1846 JAVA_MAINTAINER_MODE_TRUE
='#'
1847 JAVA_MAINTAINER_MODE_FALSE
=
1851 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1854 # (1) We use an abnormal CXX (without library references), so we
1855 # must cache it under a different name.
1856 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1857 # the non-multilib-adjusted value will be used in multilibs.
1858 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1859 # (4) As another side effect, automake doesn't automatically include them
1861 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1862 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1863 # used in later tests. This may not be necessary in libjava; I don't know.
1866 save_CXXFLAGS
="$CXXFLAGS"
1867 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1869 ac_cpp
='$CPP $CPPFLAGS'
1870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1873 if test -n "$ac_tool_prefix"; then
1874 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1875 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1876 echo "$as_me:$LINENO: checking for $ac_word" >&5
1877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1878 if test "${ac_cv_prog_CC+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 if test -n "$CC"; then
1882 ac_cv_prog_CC
="$CC" # Let the user override the test.
1884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1888 test -z "$as_dir" && as_dir
=.
1889 for ac_exec_ext
in '' $ac_executable_extensions; do
1890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1891 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 if test -n "$CC"; then
1902 echo "$as_me:$LINENO: result: $CC" >&5
1903 echo "${ECHO_T}$CC" >&6
1905 echo "$as_me:$LINENO: result: no" >&5
1906 echo "${ECHO_T}no" >&6
1910 if test -z "$ac_cv_prog_CC"; then
1912 # Extract the first word of "gcc", so it can be a program name with args.
1913 set dummy gcc
; ac_word
=$2
1914 echo "$as_me:$LINENO: checking for $ac_word" >&5
1915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1916 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 if test -n "$ac_ct_CC"; then
1920 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1926 test -z "$as_dir" && as_dir
=.
1927 for ac_exec_ext
in '' $ac_executable_extensions; do
1928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1929 ac_cv_prog_ac_ct_CC
="gcc"
1930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1938 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1939 if test -n "$ac_ct_CC"; then
1940 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1941 echo "${ECHO_T}$ac_ct_CC" >&6
1943 echo "$as_me:$LINENO: result: no" >&5
1944 echo "${ECHO_T}no" >&6
1952 if test -z "$CC"; then
1953 if test -n "$ac_tool_prefix"; then
1954 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1955 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1956 echo "$as_me:$LINENO: checking for $ac_word" >&5
1957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1958 if test "${ac_cv_prog_CC+set}" = set; then
1959 echo $ECHO_N "(cached) $ECHO_C" >&6
1961 if test -n "$CC"; then
1962 ac_cv_prog_CC
="$CC" # Let the user override the test.
1964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1968 test -z "$as_dir" && as_dir
=.
1969 for ac_exec_ext
in '' $ac_executable_extensions; do
1970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1971 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1981 if test -n "$CC"; then
1982 echo "$as_me:$LINENO: result: $CC" >&5
1983 echo "${ECHO_T}$CC" >&6
1985 echo "$as_me:$LINENO: result: no" >&5
1986 echo "${ECHO_T}no" >&6
1990 if test -z "$ac_cv_prog_CC"; then
1992 # Extract the first word of "cc", so it can be a program name with args.
1993 set dummy cc
; ac_word
=$2
1994 echo "$as_me:$LINENO: checking for $ac_word" >&5
1995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1996 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 if test -n "$ac_ct_CC"; then
2000 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2006 test -z "$as_dir" && as_dir
=.
2007 for ac_exec_ext
in '' $ac_executable_extensions; do
2008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2009 ac_cv_prog_ac_ct_CC
="cc"
2010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2018 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2019 if test -n "$ac_ct_CC"; then
2020 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2021 echo "${ECHO_T}$ac_ct_CC" >&6
2023 echo "$as_me:$LINENO: result: no" >&5
2024 echo "${ECHO_T}no" >&6
2033 if test -z "$CC"; then
2034 # Extract the first word of "cc", so it can be a program name with args.
2035 set dummy cc
; ac_word
=$2
2036 echo "$as_me:$LINENO: checking for $ac_word" >&5
2037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2038 if test "${ac_cv_prog_CC+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 if test -n "$CC"; then
2042 ac_cv_prog_CC
="$CC" # Let the user override the test.
2045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2049 test -z "$as_dir" && as_dir
=.
2050 for ac_exec_ext
in '' $ac_executable_extensions; do
2051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2052 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2053 ac_prog_rejected
=yes
2057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 if test $ac_prog_rejected = yes; then
2064 # We found a bogon in the path, so make sure we never use it.
2065 set dummy
$ac_cv_prog_CC
2067 if test $# != 0; then
2068 # We chose a different compiler from the bogus one.
2069 # However, it has the same basename, so the bogon will be chosen
2070 # first if we set CC to just the basename; use the full file name.
2072 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2078 if test -n "$CC"; then
2079 echo "$as_me:$LINENO: result: $CC" >&5
2080 echo "${ECHO_T}$CC" >&6
2082 echo "$as_me:$LINENO: result: no" >&5
2083 echo "${ECHO_T}no" >&6
2087 if test -z "$CC"; then
2088 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2092 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_CC+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$CC"; then
2099 ac_cv_prog_CC
="$CC" # Let the user override the test.
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 for ac_exec_ext
in '' $ac_executable_extensions; do
2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 if test -n "$CC"; then
2119 echo "$as_me:$LINENO: result: $CC" >&5
2120 echo "${ECHO_T}$CC" >&6
2122 echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6
2126 test -n "$CC" && break
2129 if test -z "$CC"; then
2133 # Extract the first word of "$ac_prog", so it can be a program name with args.
2134 set dummy
$ac_prog; ac_word
=$2
2135 echo "$as_me:$LINENO: checking for $ac_word" >&5
2136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2137 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2140 if test -n "$ac_ct_CC"; then
2141 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2147 test -z "$as_dir" && as_dir
=.
2148 for ac_exec_ext
in '' $ac_executable_extensions; do
2149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2150 ac_cv_prog_ac_ct_CC
="$ac_prog"
2151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2159 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2160 if test -n "$ac_ct_CC"; then
2161 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2162 echo "${ECHO_T}$ac_ct_CC" >&6
2164 echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2168 test -n "$ac_ct_CC" && break
2177 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2178 See \`config.log' for more details." >&5
2179 echo "$as_me: error: no acceptable C compiler found in \$PATH
2180 See \`config.log' for more details." >&2;}
2181 { (exit 1); exit 1; }; }
2183 # Provide some information about the compiler.
2184 echo "$as_me:$LINENO:" \
2185 "checking for C compiler version" >&5
2186 ac_compiler
=`set X $ac_compile; echo $2`
2187 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2188 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }
2192 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2193 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }
2197 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2198 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); }
2203 cat >conftest.
$ac_ext <<_ACEOF
2206 cat confdefs.h
>>conftest.
$ac_ext
2207 cat >>conftest.
$ac_ext <<_ACEOF
2208 /* end confdefs.h. */
2219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2220 (eval $ac_link) 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; then
2229 if test x
$gcc_no_link = xyes
; then
2230 # Setting cross_compile will disable run tests; it will
2231 # also disable AC_CHECK_FILE but that's generally
2232 # correct if we can't link.
2236 cat >conftest.
$ac_ext <<_ACEOF
2239 cat confdefs.h
>>conftest.
$ac_ext
2240 cat >>conftest.
$ac_ext <<_ACEOF
2241 /* end confdefs.h. */
2251 ac_clean_files_save
=$ac_clean_files
2252 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2253 # Try to create an executable without -o first, disregard a.out.
2254 # It will help us diagnose broken compilers, and finding out an intuition
2256 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2257 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2258 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2259 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2260 (eval $ac_link_default) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; then
2264 # Find the output, starting from the most likely. This scheme is
2265 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2268 # Be careful to initialize this variable, since it used to be cached.
2269 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2271 # b.out is created by i960 compilers.
2272 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2274 test -f "$ac_file" ||
continue
2276 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2279 # This is the source file.
2282 # We found the default executable, but exeext='' is most
2286 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2287 # FIXME: I believe we export ac_cv_exeext for Libtool,
2288 # but it would be cool to find out if it's true. Does anybody
2289 # maintain Libtool? --akim.
2297 echo "$as_me: failed program was:" >&5
2298 sed 's/^/| /' conftest.
$ac_ext >&5
2300 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2301 See \`config.log' for more details." >&5
2302 echo "$as_me: error: C compiler cannot create executables
2303 See \`config.log' for more details." >&2;}
2304 { (exit 77); exit 77; }; }
2307 ac_exeext
=$ac_cv_exeext
2308 echo "$as_me:$LINENO: result: $ac_file" >&5
2309 echo "${ECHO_T}$ac_file" >&6
2311 # Check the compiler produces executables we can run. If not, either
2312 # the compiler is broken, or we cross compile.
2313 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2314 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2315 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2316 # If not cross compiling, check that we can run a simple program.
2317 if test "$cross_compiling" != yes; then
2318 if { ac_try
='./$ac_file'
2319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }; }; then
2326 if test "$cross_compiling" = maybe
; then
2329 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2330 If you meant to cross compile, use \`--host'.
2331 See \`config.log' for more details." >&5
2332 echo "$as_me: error: cannot run C compiled programs.
2333 If you meant to cross compile, use \`--host'.
2334 See \`config.log' for more details." >&2;}
2335 { (exit 1); exit 1; }; }
2339 echo "$as_me:$LINENO: result: yes" >&5
2340 echo "${ECHO_T}yes" >&6
2342 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2343 ac_clean_files
=$ac_clean_files_save
2344 # Check the compiler produces executables we can run. If not, either
2345 # the compiler is broken, or we cross compile.
2346 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2347 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2348 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2349 echo "${ECHO_T}$cross_compiling" >&6
2351 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2352 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2354 (eval $ac_link) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; then
2358 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2359 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2360 # work properly (i.e., refer to `conftest.exe'), while it won't with
2362 for ac_file
in conftest.exe conftest conftest.
*; do
2363 test -f "$ac_file" ||
continue
2365 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2366 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2373 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2374 See \`config.log' for more details." >&5
2375 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2376 See \`config.log' for more details." >&2;}
2377 { (exit 1); exit 1; }; }
2380 rm -f conftest
$ac_cv_exeext
2381 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2382 echo "${ECHO_T}$ac_cv_exeext" >&6
2384 rm -f conftest.
$ac_ext
2385 EXEEXT
=$ac_cv_exeext
2388 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2389 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2390 if test "${ac_cv_objext+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 cat >conftest.
$ac_ext <<_ACEOF
2396 cat confdefs.h
>>conftest.
$ac_ext
2397 cat >>conftest.
$ac_ext <<_ACEOF
2398 /* end confdefs.h. */
2408 rm -f conftest.o conftest.obj
2409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2410 (eval $ac_compile) 2>&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); }; then
2414 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2416 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2417 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2422 echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.
$ac_ext >&5
2425 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2426 See \`config.log' for more details." >&5
2427 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2428 See \`config.log' for more details." >&2;}
2429 { (exit 1); exit 1; }; }
2432 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2434 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2435 echo "${ECHO_T}$ac_cv_objext" >&6
2436 OBJEXT
=$ac_cv_objext
2438 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2439 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2440 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2441 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 cat >conftest.
$ac_ext <<_ACEOF
2446 cat confdefs.h
>>conftest.
$ac_ext
2447 cat >>conftest.
$ac_ext <<_ACEOF
2448 /* end confdefs.h. */
2461 rm -f conftest.
$ac_objext
2462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2463 (eval $ac_compile) 2>conftest.er1
2465 grep -v '^ *+' conftest.er1
>conftest.err
2467 cat conftest.err
>&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); } &&
2470 { ac_try
='test -z "$ac_c_werror_flag"
2471 || test ! -s conftest.err'
2472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); }; } &&
2477 { ac_try
='test -s conftest.$ac_objext'
2478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; }; then
2485 echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.
$ac_ext >&5
2490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2491 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2494 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2495 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2496 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2497 ac_test_CFLAGS
=${CFLAGS+set}
2498 ac_save_CFLAGS
=$CFLAGS
2500 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2501 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2502 if test "${ac_cv_prog_cc_g+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 cat >conftest.
$ac_ext <<_ACEOF
2508 cat confdefs.h
>>conftest.
$ac_ext
2509 cat >>conftest.
$ac_ext <<_ACEOF
2510 /* end confdefs.h. */
2520 rm -f conftest.
$ac_objext
2521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2522 (eval $ac_compile) 2>conftest.er1
2524 grep -v '^ *+' conftest.er1
>conftest.err
2526 cat conftest.err
>&5
2527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2528 (exit $ac_status); } &&
2529 { ac_try
='test -z "$ac_c_werror_flag"
2530 || test ! -s conftest.err'
2531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }; } &&
2536 { ac_try
='test -s conftest.$ac_objext'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; }; then
2544 echo "$as_me: failed program was:" >&5
2545 sed 's/^/| /' conftest.
$ac_ext >&5
2549 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2551 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2552 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2553 if test "$ac_test_CFLAGS" = set; then
2554 CFLAGS
=$ac_save_CFLAGS
2555 elif test $ac_cv_prog_cc_g = yes; then
2556 if test "$GCC" = yes; then
2562 if test "$GCC" = yes; then
2568 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2569 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2570 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 ac_cv_prog_cc_stdc
=no
2575 cat >conftest.
$ac_ext <<_ACEOF
2578 cat confdefs.h
>>conftest.
$ac_ext
2579 cat >>conftest.
$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2583 #include <sys/types.h>
2584 #include <sys/stat.h>
2585 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2586 struct buf { int x; };
2587 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2588 static char *e (p, i)
2594 static char *f (char * (*g) (char **, int), char **p, ...)
2599 s = g (p, va_arg (v,int));
2604 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2605 function prototypes and stuff, but not '\xHH' hex character constants.
2606 These don't provoke an error unfortunately, instead are silently treated
2607 as 'x'. The following induces an error, until -std1 is added to get
2608 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2609 array size at least. It's necessary to write '\x00'==0 to get something
2610 that's true only with -std1. */
2611 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2613 int test (int i, double x);
2614 struct s1 {int (*f) (int a);};
2615 struct s2 {int (*f) (double a);};
2616 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2622 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2627 # Don't try gcc -ansi; that turns off useful extensions and
2628 # breaks some systems' header files.
2629 # AIX -qlanglvl=ansi
2630 # Ultrix and OSF/1 -std1
2631 # HP-UX 10.20 and later -Ae
2632 # HP-UX older versions -Aa -D_HPUX_SOURCE
2633 # SVR4 -Xc -D__EXTENSIONS__
2634 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2636 CC
="$ac_save_CC $ac_arg"
2637 rm -f conftest.
$ac_objext
2638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2639 (eval $ac_compile) 2>conftest.er1
2641 grep -v '^ *+' conftest.er1
>conftest.err
2643 cat conftest.err
>&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); } &&
2646 { ac_try
='test -z "$ac_c_werror_flag"
2647 || test ! -s conftest.err'
2648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }; } &&
2653 { ac_try
='test -s conftest.$ac_objext'
2654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; }; then
2659 ac_cv_prog_cc_stdc
=$ac_arg
2662 echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.
$ac_ext >&5
2666 rm -f conftest.err conftest.
$ac_objext
2668 rm -f conftest.
$ac_ext conftest.
$ac_objext
2673 case "x$ac_cv_prog_cc_stdc" in
2675 echo "$as_me:$LINENO: result: none needed" >&5
2676 echo "${ECHO_T}none needed" >&6 ;;
2678 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2679 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2680 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2683 # Some people use a C++ compiler to compile C. Since we use `exit',
2684 # in C++ we need to declare it. In case someone uses the same compiler
2685 # for both compiling C and C++ we need to have the C++ compiler decide
2686 # the declaration of exit, since it's the most demanding environment.
2687 cat >conftest.
$ac_ext <<_ACEOF
2692 rm -f conftest.
$ac_objext
2693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2694 (eval $ac_compile) 2>conftest.er1
2696 grep -v '^ *+' conftest.er1
>conftest.err
2698 cat conftest.err
>&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); } &&
2701 { ac_try
='test -z "$ac_c_werror_flag"
2702 || test ! -s conftest.err'
2703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); }; } &&
2708 { ac_try
='test -s conftest.$ac_objext'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; }; then
2714 for ac_declaration
in \
2716 'extern "C" void std::exit (int) throw (); using std::exit;' \
2717 'extern "C" void std::exit (int); using std::exit;' \
2718 'extern "C" void exit (int) throw ();' \
2719 'extern "C" void exit (int);' \
2722 cat >conftest.
$ac_ext <<_ACEOF
2725 cat confdefs.h
>>conftest.
$ac_ext
2726 cat >>conftest.
$ac_ext <<_ACEOF
2727 /* end confdefs.h. */
2738 rm -f conftest.
$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>conftest.er1
2742 grep -v '^ *+' conftest.er1
>conftest.err
2744 cat conftest.err
>&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); } &&
2747 { ac_try
='test -z "$ac_c_werror_flag"
2748 || test ! -s conftest.err'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; } &&
2754 { ac_try
='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2762 echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.
$ac_ext >&5
2767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2768 cat >conftest.
$ac_ext <<_ACEOF
2771 cat confdefs.h
>>conftest.
$ac_ext
2772 cat >>conftest.
$ac_ext <<_ACEOF
2773 /* end confdefs.h. */
2783 rm -f conftest.
$ac_objext
2784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2785 (eval $ac_compile) 2>conftest.er1
2787 grep -v '^ *+' conftest.er1
>conftest.err
2789 cat conftest.err
>&5
2790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 (exit $ac_status); } &&
2792 { ac_try
='test -z "$ac_c_werror_flag"
2793 || test ! -s conftest.err'
2794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; } &&
2799 { ac_try
='test -s conftest.$ac_objext'
2800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); }; }; then
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.
$ac_ext >&5
2811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2814 if test -n "$ac_declaration"; then
2815 echo '#ifdef __cplusplus' >>confdefs.h
2816 echo $ac_declaration >>confdefs.h
2817 echo '#endif' >>confdefs.h
2821 echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.
$ac_ext >&5
2825 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2827 ac_cpp
='$CPP $CPPFLAGS'
2828 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2829 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2830 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2833 ac_cpp
='$CXXCPP $CPPFLAGS'
2834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2837 if test -n "$ac_tool_prefix"; then
2838 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2840 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2841 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2842 echo "$as_me:$LINENO: checking for $ac_word" >&5
2843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2844 if test "${ac_cv_prog_CXX+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 if test -n "$CXX"; then
2848 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2854 test -z "$as_dir" && as_dir
=.
2855 for ac_exec_ext
in '' $ac_executable_extensions; do
2856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2867 if test -n "$CXX"; then
2868 echo "$as_me:$LINENO: result: $CXX" >&5
2869 echo "${ECHO_T}$CXX" >&6
2871 echo "$as_me:$LINENO: result: no" >&5
2872 echo "${ECHO_T}no" >&6
2875 test -n "$CXX" && break
2878 if test -z "$CXX"; then
2880 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2882 # Extract the first word of "$ac_prog", so it can be a program name with args.
2883 set dummy
$ac_prog; ac_word
=$2
2884 echo "$as_me:$LINENO: checking for $ac_word" >&5
2885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2886 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 if test -n "$ac_ct_CXX"; then
2890 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2896 test -z "$as_dir" && as_dir
=.
2897 for ac_exec_ext
in '' $ac_executable_extensions; do
2898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2899 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2908 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2909 if test -n "$ac_ct_CXX"; then
2910 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2911 echo "${ECHO_T}$ac_ct_CXX" >&6
2913 echo "$as_me:$LINENO: result: no" >&5
2914 echo "${ECHO_T}no" >&6
2917 test -n "$ac_ct_CXX" && break
2919 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2925 # Provide some information about the compiler.
2926 echo "$as_me:$LINENO:" \
2927 "checking for C++ compiler version" >&5
2928 ac_compiler
=`set X $ac_compile; echo $2`
2929 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2930 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }
2934 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2935 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }
2939 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2940 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }
2945 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2946 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2947 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2948 echo $ECHO_N "(cached) $ECHO_C" >&6
2950 cat >conftest.
$ac_ext <<_ACEOF
2953 cat confdefs.h
>>conftest.
$ac_ext
2954 cat >>conftest.
$ac_ext <<_ACEOF
2955 /* end confdefs.h. */
2968 rm -f conftest.
$ac_objext
2969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2970 (eval $ac_compile) 2>conftest.er1
2972 grep -v '^ *+' conftest.er1
>conftest.err
2974 cat conftest.err
>&5
2975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 (exit $ac_status); } &&
2977 { ac_try
='test -z "$ac_cxx_werror_flag"
2978 || test ! -s conftest.err'
2979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; } &&
2984 { ac_try
='test -s conftest.$ac_objext'
2985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2992 echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.
$ac_ext >&5
2997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2998 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3001 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3002 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3003 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3004 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3005 ac_save_CXXFLAGS
=$CXXFLAGS
3007 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3008 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3009 if test "${ac_cv_prog_cxx_g+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 cat >conftest.
$ac_ext <<_ACEOF
3015 cat confdefs.h
>>conftest.
$ac_ext
3016 cat >>conftest.
$ac_ext <<_ACEOF
3017 /* end confdefs.h. */
3027 rm -f conftest.
$ac_objext
3028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3029 (eval $ac_compile) 2>conftest.er1
3031 grep -v '^ *+' conftest.er1
>conftest.err
3033 cat conftest.err
>&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); } &&
3036 { ac_try
='test -z "$ac_cxx_werror_flag"
3037 || test ! -s conftest.err'
3038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); }; } &&
3043 { ac_try
='test -s conftest.$ac_objext'
3044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); }; }; then
3049 ac_cv_prog_cxx_g
=yes
3051 echo "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.
$ac_ext >&5
3056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3058 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3059 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3060 if test "$ac_test_CXXFLAGS" = set; then
3061 CXXFLAGS
=$ac_save_CXXFLAGS
3062 elif test $ac_cv_prog_cxx_g = yes; then
3063 if test "$GXX" = yes; then
3069 if test "$GXX" = yes; then
3075 for ac_declaration
in \
3077 'extern "C" void std::exit (int) throw (); using std::exit;' \
3078 'extern "C" void std::exit (int); using std::exit;' \
3079 'extern "C" void exit (int) throw ();' \
3080 'extern "C" void exit (int);' \
3083 cat >conftest.
$ac_ext <<_ACEOF
3086 cat confdefs.h
>>conftest.
$ac_ext
3087 cat >>conftest.
$ac_ext <<_ACEOF
3088 /* end confdefs.h. */
3099 rm -f conftest.
$ac_objext
3100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3101 (eval $ac_compile) 2>conftest.er1
3103 grep -v '^ *+' conftest.er1
>conftest.err
3105 cat conftest.err
>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } &&
3108 { ac_try
='test -z "$ac_cxx_werror_flag"
3109 || test ! -s conftest.err'
3110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; } &&
3115 { ac_try
='test -s conftest.$ac_objext'
3116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }; }; then
3123 echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.
$ac_ext >&5
3128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3129 cat >conftest.
$ac_ext <<_ACEOF
3132 cat confdefs.h
>>conftest.
$ac_ext
3133 cat >>conftest.
$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3144 rm -f conftest.
$ac_objext
3145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3146 (eval $ac_compile) 2>conftest.er1
3148 grep -v '^ *+' conftest.er1
>conftest.err
3150 cat conftest.err
>&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } &&
3153 { ac_try
='test -z "$ac_cxx_werror_flag"
3154 || test ! -s conftest.err'
3155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }; } &&
3160 { ac_try
='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.
$ac_ext >&5
3172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3175 if test -n "$ac_declaration"; then
3176 echo '#ifdef __cplusplus' >>confdefs.h
3177 echo $ac_declaration >>confdefs.h
3178 echo '#endif' >>confdefs.h
3182 ac_cpp
='$CPP $CPPFLAGS'
3183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3187 CXXFLAGS
="$save_CXXFLAGS"
3193 am__api_version
="1.9"
3194 # Find a good install program. We prefer a C program (faster),
3195 # so one script is as good as another. But avoid the broken or
3196 # incompatible versions:
3197 # SysV /etc/install, /usr/sbin/install
3198 # SunOS /usr/etc/install
3199 # IRIX /sbin/install
3201 # AmigaOS /C/install, which installs bootblocks on floppy discs
3202 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3203 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3204 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3205 # OS/2's system install, which has a completely different semantic
3206 # ./install, which can be erroneously created by make from ./install.sh.
3207 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3208 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3209 if test -z "$INSTALL"; then
3210 if test "${ac_cv_path_install+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3217 test -z "$as_dir" && as_dir
=.
3218 # Account for people who put trailing slashes in PATH elements.
3220 .
/ | .
// |
/cC
/* | \
3221 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3222 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3225 # OSF1 and SCO ODT 3.0 have their own names for install.
3226 # Don't use installbsd from OSF since it installs stuff as root
3228 for ac_prog
in ginstall scoinst
install; do
3229 for ac_exec_ext
in '' $ac_executable_extensions; do
3230 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3231 if test $ac_prog = install &&
3232 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3233 # AIX install. It has an incompatible calling convention.
3235 elif test $ac_prog = install &&
3236 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3237 # program-specific install script used by HP pwplus--don't use.
3240 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3252 if test "${ac_cv_path_install+set}" = set; then
3253 INSTALL
=$ac_cv_path_install
3255 # As a last resort, use the slow shell script. We don't cache a
3256 # path for INSTALL within a source directory, because that will
3257 # break other packages using the cache if that directory is
3258 # removed, or if the path is relative.
3259 INSTALL
=$ac_install_sh
3262 echo "$as_me:$LINENO: result: $INSTALL" >&5
3263 echo "${ECHO_T}$INSTALL" >&6
3265 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3266 # It thinks the first close brace ends the variable substitution.
3267 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3269 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3271 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3273 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3274 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3277 echo timestamp
> conftest.
file
3278 # Do `set' in a subshell so we don't clobber the current shell's
3279 # arguments. Must try -L first in case configure is actually a
3280 # symlink; some systems play weird games with the mod time of symlinks
3281 # (eg FreeBSD returns the mod time of the symlink's containing
3284 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3285 if test "$*" = "X"; then
3287 set X
`ls -t $srcdir/configure conftest.file`
3290 if test "$*" != "X $srcdir/configure conftest.file" \
3291 && test "$*" != "X conftest.file $srcdir/configure"; then
3293 # If neither matched, then we have a broken ls. This can happen
3294 # if, for instance, CONFIG_SHELL is bash and it inherits a
3295 # broken ls alias from the environment. This has actually
3296 # happened. Such a system could not be considered "sane".
3297 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3298 alias in your environment" >&5
3299 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3300 alias in your environment" >&2;}
3301 { (exit 1); exit 1; }; }
3304 test "$2" = conftest.
file
3310 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3311 Check your system clock" >&5
3312 echo "$as_me: error: newly created file is older than distributed files!
3313 Check your system clock" >&2;}
3314 { (exit 1); exit 1; }; }
3316 echo "$as_me:$LINENO: result: yes" >&5
3317 echo "${ECHO_T}yes" >&6
3318 test "$program_prefix" != NONE
&&
3319 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3320 # Use a double $ so make ignores it.
3321 test "$program_suffix" != NONE
&&
3322 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3323 # Double any \ or $. echo might interpret backslashes.
3324 # By default was `s,x,x', remove it if useless.
3325 cat <<\_ACEOF
>conftest.
sed
3326 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3328 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3331 # expand $ac_aux_dir to an absolute path
3332 am_aux_dir
=`cd $ac_aux_dir && pwd`
3334 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3335 # Use eval to expand $SHELL
3336 if eval "$MISSING --run true"; then
3337 am_missing_run
="$MISSING --run "
3340 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3341 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3344 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3345 # We used to keeping the `.' as first argument, in order to
3346 # allow $(mkdir_p) to be used without argument. As in
3347 # $(mkdir_p) $(somedir)
3348 # where $(somedir) is conditionally defined. However this is wrong
3350 # 1. if the package is installed by a user who cannot write `.'
3351 # make install will fail,
3352 # 2. the above comment should most certainly read
3353 # $(mkdir_p) $(DESTDIR)$(somedir)
3354 # so it does not work when $(somedir) is undefined and
3355 # $(DESTDIR) is not.
3356 # To support the latter case, we have to write
3357 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3358 # so the `.' trick is pointless.
3359 mkdir_p
='mkdir -p --'
3361 # On NextStep and OpenStep, the `mkdir' command does not
3362 # recognize any option. It will interpret all options as
3363 # directories to create, and then abort because `.' already
3365 for d
in .
/-p .
/--version;
3367 test -d $d && rmdir $d
3369 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3370 if test -f "$ac_aux_dir/mkinstalldirs"; then
3371 mkdir_p
='$(mkinstalldirs)'
3373 mkdir_p
='$(install_sh) -d'
3377 for ac_prog
in gawk mawk nawk
awk
3379 # Extract the first word of "$ac_prog", so it can be a program name with args.
3380 set dummy
$ac_prog; ac_word
=$2
3381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3383 if test "${ac_cv_prog_AWK+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3386 if test -n "$AWK"; then
3387 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir
=.
3394 for ac_exec_ext
in '' $ac_executable_extensions; do
3395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_AWK
="$ac_prog"
3397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 if test -n "$AWK"; then
3407 echo "$as_me:$LINENO: result: $AWK" >&5
3408 echo "${ECHO_T}$AWK" >&6
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3414 test -n "$AWK" && break
3417 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3418 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3419 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3420 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 cat >conftest.
make <<\_ACEOF
3425 @
echo 'ac_maketemp="$(MAKE)"'
3427 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3428 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3429 if test -n "$ac_maketemp"; then
3430 eval ac_cv_prog_make_
${ac_make}_set
=yes
3432 eval ac_cv_prog_make_
${ac_make}_set
=no
3436 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3437 echo "$as_me:$LINENO: result: yes" >&5
3438 echo "${ECHO_T}yes" >&6
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3443 SET_MAKE
="MAKE=${MAKE-make}"
3446 rm -rf .tst
2>/dev
/null
3447 mkdir .tst
2>/dev
/null
3448 if test -d .tst
; then
3453 rmdir .tst
2>/dev
/null
3455 DEPDIR
="${am__leading_dot}deps"
3457 ac_config_commands
="$ac_config_commands depfiles"
3460 am_make
=${MAKE-make}
3461 cat > confinc
<< 'END'
3466 # If we don't find an include directive, just comment out the code.
3467 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3468 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3472 # First try GNU make style include.
3473 echo "include confinc" > confmf
3474 # We grep out `Entering directory' and `Leaving directory'
3475 # messages which can occur if `w' ends up in MAKEFLAGS.
3476 # In particular we don't look at `^make:' because GNU make might
3477 # be invoked under some other name (usually "gmake"), in which
3478 # case it prints its new name instead of `make'.
3479 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3484 # Now try BSD make style include.
3485 if test "$am__include" = "#"; then
3486 echo '.include "confinc"' > confmf
3487 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3488 am__include
=.include
3495 echo "$as_me:$LINENO: result: $_am_result" >&5
3496 echo "${ECHO_T}$_am_result" >&6
3497 rm -f confinc confmf
3499 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3500 if test "${enable_dependency_tracking+set}" = set; then
3501 enableval
="$enable_dependency_tracking"
3504 if test "x$enable_dependency_tracking" != xno
; then
3505 am_depcomp
="$ac_aux_dir/depcomp"
3510 if test "x$enable_dependency_tracking" != xno; then
3520 # test to see if srcdir already configured
3521 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3522 test -f $srcdir/config.status
; then
3523 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3524 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3525 { (exit 1); exit 1; }; }
3528 # test whether we have cygpath
3529 if test -z "$CYGPATH_W"; then
3530 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3531 CYGPATH_W
='cygpath -w'
3538 # Define the identity of the package.
3540 VERSION
='version-unused'
3543 cat >>confdefs.h
<<_ACEOF
3544 #define PACKAGE "$PACKAGE"
3548 cat >>confdefs.h
<<_ACEOF
3549 #define VERSION "$VERSION"
3552 # Some tools Automake needs.
3554 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3557 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3560 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3563 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3566 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3568 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3570 # Installed binaries are usually stripped using `strip' when the user
3571 # run `make install-strip'. However `strip' might not be the right
3572 # tool to use in cross-compilation environments, therefore Automake
3573 # will honor the `STRIP' environment variable to overrule this program.
3574 if test "$cross_compiling" != no
; then
3575 if test -n "$ac_tool_prefix"; then
3576 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3577 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3578 echo "$as_me:$LINENO: checking for $ac_word" >&5
3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3580 if test "${ac_cv_prog_STRIP+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 if test -n "$STRIP"; then
3584 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir
=.
3591 for ac_exec_ext
in '' $ac_executable_extensions; do
3592 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3593 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 STRIP
=$ac_cv_prog_STRIP
3603 if test -n "$STRIP"; then
3604 echo "$as_me:$LINENO: result: $STRIP" >&5
3605 echo "${ECHO_T}$STRIP" >&6
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3612 if test -z "$ac_cv_prog_STRIP"; then
3614 # Extract the first word of "strip", so it can be a program name with args.
3615 set dummy strip
; ac_word
=$2
3616 echo "$as_me:$LINENO: checking for $ac_word" >&5
3617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3618 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3621 if test -n "$ac_ct_STRIP"; then
3622 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3628 test -z "$as_dir" && as_dir
=.
3629 for ac_exec_ext
in '' $ac_executable_extensions; do
3630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3631 ac_cv_prog_ac_ct_STRIP
="strip"
3632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3638 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3641 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3642 if test -n "$ac_ct_STRIP"; then
3643 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3644 echo "${ECHO_T}$ac_ct_STRIP" >&6
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3652 STRIP
="$ac_cv_prog_STRIP"
3656 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3658 # We need awk for the "check" target. The system "awk" is bad on
3660 # Always define AMTAR for backward compatibility.
3662 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3664 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3669 depcc
="$CC" am_compiler_list
=
3671 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3672 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3673 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3676 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3677 # We make a subdir and do the tests there. Otherwise we can end up
3678 # making bogus files that we don't know about and never remove. For
3679 # instance it was reported that on HP-UX the gcc test will end up
3680 # making a dummy file named `D' -- because `-MD' means `put the output
3683 # Copy depcomp to subdir because otherwise we won't find it if we're
3684 # using a relative directory.
3685 cp "$am_depcomp" conftest.dir
3687 # We will build objects and dependencies in a subdirectory because
3688 # it helps to detect inapplicable dependency modes. For instance
3689 # both Tru64's cc and ICC support -MD to output dependencies as a
3690 # side effect of compilation, but ICC will put the dependencies in
3691 # the current directory while Tru64 will put them in the object
3695 am_cv_CC_dependencies_compiler_type
=none
3696 if test "$am_compiler_list" = ""; then
3697 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3699 for depmode
in $am_compiler_list; do
3700 # Setup a source with many dependencies, because some compilers
3701 # like to wrap large dependency lists on column 80 (with \), and
3702 # we should not choose a depcomp mode which is confused by this.
3704 # We need to recreate these files for each test, as the compiler may
3705 # overwrite some of them when testing with obscure command lines.
3706 # This happens at least with the AIX C compiler.
3708 for i
in 1 2 3 4 5 6; do
3709 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3710 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3711 # Solaris 8's {/usr,}/bin/sh.
3712 touch sub
/conftst
$i.h
3714 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3718 # after this tag, mechanisms are not by side-effect, so they'll
3719 # only be used when explicitly requested
3720 if test "x$enable_dependency_tracking" = xyes
; then
3728 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3729 # mode. It turns out that the SunPro C++ compiler does not properly
3730 # handle `-M -o', and we need to detect this.
3731 if depmode
=$depmode \
3732 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3733 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3734 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3735 >/dev
/null
2>conftest.err
&&
3736 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3737 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3738 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3739 # icc doesn't choke on unknown options, it will just issue warnings
3740 # or remarks (even with -Werror). So we grep stderr for any message
3741 # that says an option was ignored or not supported.
3742 # When given -MP, icc 7.0 and 7.1 complain thusly:
3743 # icc: Command line warning: ignoring option '-M'; no argument required
3744 # The diagnosis changed in icc 8.0:
3745 # icc: Command line remark: option '-MP' not supported
3746 if (grep 'ignoring option' conftest.err ||
3747 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3748 am_cv_CC_dependencies_compiler_type
=$depmode
3757 am_cv_CC_dependencies_compiler_type
=none
3761 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3762 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3763 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3768 test "x$enable_dependency_tracking" != xno \
3769 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3771 am__fastdepCC_FALSE
='#'
3773 am__fastdepCC_TRUE
='#'
3774 am__fastdepCC_FALSE
=
3778 depcc
="$CXX" am_compiler_list
=
3780 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3781 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3782 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3786 # We make a subdir and do the tests there. Otherwise we can end up
3787 # making bogus files that we don't know about and never remove. For
3788 # instance it was reported that on HP-UX the gcc test will end up
3789 # making a dummy file named `D' -- because `-MD' means `put the output
3792 # Copy depcomp to subdir because otherwise we won't find it if we're
3793 # using a relative directory.
3794 cp "$am_depcomp" conftest.dir
3796 # We will build objects and dependencies in a subdirectory because
3797 # it helps to detect inapplicable dependency modes. For instance
3798 # both Tru64's cc and ICC support -MD to output dependencies as a
3799 # side effect of compilation, but ICC will put the dependencies in
3800 # the current directory while Tru64 will put them in the object
3804 am_cv_CXX_dependencies_compiler_type
=none
3805 if test "$am_compiler_list" = ""; then
3806 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3808 for depmode
in $am_compiler_list; do
3809 # Setup a source with many dependencies, because some compilers
3810 # like to wrap large dependency lists on column 80 (with \), and
3811 # we should not choose a depcomp mode which is confused by this.
3813 # We need to recreate these files for each test, as the compiler may
3814 # overwrite some of them when testing with obscure command lines.
3815 # This happens at least with the AIX C compiler.
3817 for i
in 1 2 3 4 5 6; do
3818 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3819 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3820 # Solaris 8's {/usr,}/bin/sh.
3821 touch sub
/conftst
$i.h
3823 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3827 # after this tag, mechanisms are not by side-effect, so they'll
3828 # only be used when explicitly requested
3829 if test "x$enable_dependency_tracking" = xyes
; then
3837 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3838 # mode. It turns out that the SunPro C++ compiler does not properly
3839 # handle `-M -o', and we need to detect this.
3840 if depmode
=$depmode \
3841 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3842 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3843 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3844 >/dev
/null
2>conftest.err
&&
3845 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3846 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3847 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3848 # icc doesn't choke on unknown options, it will just issue warnings
3849 # or remarks (even with -Werror). So we grep stderr for any message
3850 # that says an option was ignored or not supported.
3851 # When given -MP, icc 7.0 and 7.1 complain thusly:
3852 # icc: Command line warning: ignoring option '-M'; no argument required
3853 # The diagnosis changed in icc 8.0:
3854 # icc: Command line remark: option '-MP' not supported
3855 if (grep 'ignoring option' conftest.err ||
3856 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3857 am_cv_CXX_dependencies_compiler_type
=$depmode
3866 am_cv_CXX_dependencies_compiler_type
=none
3870 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3871 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3872 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3877 test "x$enable_dependency_tracking" != xno \
3878 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3879 am__fastdepCXX_TRUE
=
3880 am__fastdepCXX_FALSE
='#'
3882 am__fastdepCXX_TRUE
='#'
3883 am__fastdepCXX_FALSE
=
3889 if test -n "$ac_tool_prefix"; then
3890 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3891 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3892 echo "$as_me:$LINENO: checking for $ac_word" >&5
3893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3894 if test "${ac_cv_prog_AS+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 if test -n "$AS"; then
3898 ac_cv_prog_AS
="$AS" # Let the user override the test.
3900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir
=.
3905 for ac_exec_ext
in '' $ac_executable_extensions; do
3906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_AS
="${ac_tool_prefix}as"
3908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3917 if test -n "$AS"; then
3918 echo "$as_me:$LINENO: result: $AS" >&5
3919 echo "${ECHO_T}$AS" >&6
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3926 if test -z "$ac_cv_prog_AS"; then
3928 # Extract the first word of "as", so it can be a program name with args.
3929 set dummy as
; ac_word
=$2
3930 echo "$as_me:$LINENO: checking for $ac_word" >&5
3931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3932 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 if test -n "$ac_ct_AS"; then
3936 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3942 test -z "$as_dir" && as_dir
=.
3943 for ac_exec_ext
in '' $ac_executable_extensions; do
3944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_prog_ac_ct_AS
="as"
3946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3955 if test -n "$ac_ct_AS"; then
3956 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3957 echo "${ECHO_T}$ac_ct_AS" >&6
3959 echo "$as_me:$LINENO: result: no" >&5
3960 echo "${ECHO_T}no" >&6
3968 if test -n "$ac_tool_prefix"; then
3969 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
3970 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
3971 echo "$as_me:$LINENO: checking for $ac_word" >&5
3972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3973 if test "${ac_cv_prog_LD+set}" = set; then
3974 echo $ECHO_N "(cached) $ECHO_C" >&6
3976 if test -n "$LD"; then
3977 ac_cv_prog_LD
="$LD" # Let the user override the test.
3979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3983 test -z "$as_dir" && as_dir
=.
3984 for ac_exec_ext
in '' $ac_executable_extensions; do
3985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3986 ac_cv_prog_LD
="${ac_tool_prefix}ld"
3987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 if test -n "$LD"; then
3997 echo "$as_me:$LINENO: result: $LD" >&5
3998 echo "${ECHO_T}$LD" >&6
4000 echo "$as_me:$LINENO: result: no" >&5
4001 echo "${ECHO_T}no" >&6
4005 if test -z "$ac_cv_prog_LD"; then
4007 # Extract the first word of "ld", so it can be a program name with args.
4008 set dummy ld
; ac_word
=$2
4009 echo "$as_me:$LINENO: checking for $ac_word" >&5
4010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4011 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4012 echo $ECHO_N "(cached) $ECHO_C" >&6
4014 if test -n "$ac_ct_LD"; then
4015 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4021 test -z "$as_dir" && as_dir
=.
4022 for ac_exec_ext
in '' $ac_executable_extensions; do
4023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4024 ac_cv_prog_ac_ct_LD
="ld"
4025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4033 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4034 if test -n "$ac_ct_LD"; then
4035 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4036 echo "${ECHO_T}$ac_ct_LD" >&6
4038 echo "$as_me:$LINENO: result: no" >&5
4039 echo "${ECHO_T}no" >&6
4047 if test -n "$ac_tool_prefix"; then
4048 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4049 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4050 echo "$as_me:$LINENO: checking for $ac_word" >&5
4051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4052 if test "${ac_cv_prog_AR+set}" = set; then
4053 echo $ECHO_N "(cached) $ECHO_C" >&6
4055 if test -n "$AR"; then
4056 ac_cv_prog_AR
="$AR" # Let the user override the test.
4058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4062 test -z "$as_dir" && as_dir
=.
4063 for ac_exec_ext
in '' $ac_executable_extensions; do
4064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4075 if test -n "$AR"; then
4076 echo "$as_me:$LINENO: result: $AR" >&5
4077 echo "${ECHO_T}$AR" >&6
4079 echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4084 if test -z "$ac_cv_prog_AR"; then
4086 # Extract the first word of "ar", so it can be a program name with args.
4087 set dummy
ar; ac_word
=$2
4088 echo "$as_me:$LINENO: checking for $ac_word" >&5
4089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4090 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4091 echo $ECHO_N "(cached) $ECHO_C" >&6
4093 if test -n "$ac_ct_AR"; then
4094 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4100 test -z "$as_dir" && as_dir
=.
4101 for ac_exec_ext
in '' $ac_executable_extensions; do
4102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4103 ac_cv_prog_ac_ct_AR
="ar"
4104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4113 if test -n "$ac_ct_AR"; then
4114 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4115 echo "${ECHO_T}$ac_ct_AR" >&6
4117 echo "$as_me:$LINENO: result: no" >&5
4118 echo "${ECHO_T}no" >&6
4126 if test -n "$ac_tool_prefix"; then
4127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4128 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4129 echo "$as_me:$LINENO: checking for $ac_word" >&5
4130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4131 if test "${ac_cv_prog_RANLIB+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 if test -n "$RANLIB"; then
4135 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir
=.
4142 for ac_exec_ext
in '' $ac_executable_extensions; do
4143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4144 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 RANLIB
=$ac_cv_prog_RANLIB
4154 if test -n "$RANLIB"; then
4155 echo "$as_me:$LINENO: result: $RANLIB" >&5
4156 echo "${ECHO_T}$RANLIB" >&6
4158 echo "$as_me:$LINENO: result: no" >&5
4159 echo "${ECHO_T}no" >&6
4163 if test -z "$ac_cv_prog_RANLIB"; then
4164 ac_ct_RANLIB
=$RANLIB
4165 # Extract the first word of "ranlib", so it can be a program name with args.
4166 set dummy ranlib
; ac_word
=$2
4167 echo "$as_me:$LINENO: checking for $ac_word" >&5
4168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4169 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4170 echo $ECHO_N "(cached) $ECHO_C" >&6
4172 if test -n "$ac_ct_RANLIB"; then
4173 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4179 test -z "$as_dir" && as_dir
=.
4180 for ac_exec_ext
in '' $ac_executable_extensions; do
4181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4189 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4192 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4193 if test -n "$ac_ct_RANLIB"; then
4194 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4195 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4201 RANLIB
=$ac_ct_RANLIB
4203 RANLIB
="$ac_cv_prog_RANLIB"
4206 for ac_prog
in gawk mawk nawk
awk
4208 # Extract the first word of "$ac_prog", so it can be a program name with args.
4209 set dummy
$ac_prog; ac_word
=$2
4210 echo "$as_me:$LINENO: checking for $ac_word" >&5
4211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4212 if test "${ac_cv_prog_AWK+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4215 if test -n "$AWK"; then
4216 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4222 test -z "$as_dir" && as_dir
=.
4223 for ac_exec_ext
in '' $ac_executable_extensions; do
4224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4225 ac_cv_prog_AWK
="$ac_prog"
4226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 if test -n "$AWK"; then
4236 echo "$as_me:$LINENO: result: $AWK" >&5
4237 echo "${ECHO_T}$AWK" >&6
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4243 test -n "$AWK" && break
4246 for ac_prog
in jar fastjar gjar
4248 # Extract the first word of "$ac_prog", so it can be a program name with args.
4249 set dummy
$ac_prog; ac_word
=$2
4250 echo "$as_me:$LINENO: checking for $ac_word" >&5
4251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4252 if test "${ac_cv_prog_JAR+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 if test -n "$JAR"; then
4256 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4262 test -z "$as_dir" && as_dir
=.
4263 for ac_exec_ext
in '' $ac_executable_extensions; do
4264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4265 ac_cv_prog_JAR
="$ac_prog"
4266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4275 if test -n "$JAR"; then
4276 echo "$as_me:$LINENO: result: $JAR" >&5
4277 echo "${ECHO_T}$JAR" >&6
4279 echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6
4283 test -n "$JAR" && break
4285 test -n "$JAR" || JAR
="no"
4287 # Extract the first word of "zip", so it can be a program name with args.
4288 set dummy
zip; ac_word
=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_path_ZIP+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4296 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4303 test -z "$as_dir" && as_dir
=.
4304 for ac_exec_ext
in '' $ac_executable_extensions; do
4305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4306 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4313 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4319 if test -n "$ZIP"; then
4320 echo "$as_me:$LINENO: result: $ZIP" >&5
4321 echo "${ECHO_T}$ZIP" >&6
4323 echo "$as_me:$LINENO: result: no" >&5
4324 echo "${ECHO_T}no" >&6
4327 # Extract the first word of "unzip", so it can be a program name with args.
4328 set dummy
unzip; ac_word
=$2
4329 echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4331 if test "${ac_cv_path_UNZIP+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4336 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4343 test -z "$as_dir" && as_dir
=.
4344 for ac_exec_ext
in '' $ac_executable_extensions; do
4345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4357 UNZIP
=$ac_cv_path_UNZIP
4359 if test -n "$UNZIP"; then
4360 echo "$as_me:$LINENO: result: $UNZIP" >&5
4361 echo "${ECHO_T}$UNZIP" >&6
4363 echo "$as_me:$LINENO: result: no" >&5
4364 echo "${ECHO_T}no" >&6
4368 # We need a jar that supports -@. This is a GNU extension.
4369 if test "$JAR" != no
; then
4370 rm -f config-test.jar
4371 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
4372 if test -f config-test.jar
; then
4373 rm -f config-test.jar
4379 # Prefer the jar we found, but fall back to our jar script.
4380 if test "$JAR" = no
; then
4381 if test "$ZIP" = no
; then
4382 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4383 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4384 { (exit 1); exit 1; }; }
4386 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4387 JAR
=`pwd`/scripts
/jar
4391 # Find a good install program. We prefer a C program (faster),
4392 # so one script is as good as another. But avoid the broken or
4393 # incompatible versions:
4394 # SysV /etc/install, /usr/sbin/install
4395 # SunOS /usr/etc/install
4396 # IRIX /sbin/install
4398 # AmigaOS /C/install, which installs bootblocks on floppy discs
4399 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4400 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4401 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4402 # OS/2's system install, which has a completely different semantic
4403 # ./install, which can be erroneously created by make from ./install.sh.
4404 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4405 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4406 if test -z "$INSTALL"; then
4407 if test "${ac_cv_path_install+set}" = set; then
4408 echo $ECHO_N "(cached) $ECHO_C" >&6
4410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir
=.
4415 # Account for people who put trailing slashes in PATH elements.
4417 .
/ | .
// |
/cC
/* | \
4418 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4419 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4422 # OSF1 and SCO ODT 3.0 have their own names for install.
4423 # Don't use installbsd from OSF since it installs stuff as root
4425 for ac_prog
in ginstall scoinst
install; do
4426 for ac_exec_ext
in '' $ac_executable_extensions; do
4427 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4428 if test $ac_prog = install &&
4429 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4430 # AIX install. It has an incompatible calling convention.
4432 elif test $ac_prog = install &&
4433 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4434 # program-specific install script used by HP pwplus--don't use.
4437 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4449 if test "${ac_cv_path_install+set}" = set; then
4450 INSTALL
=$ac_cv_path_install
4452 # As a last resort, use the slow shell script. We don't cache a
4453 # path for INSTALL within a source directory, because that will
4454 # break other packages using the cache if that directory is
4455 # removed, or if the path is relative.
4456 INSTALL
=$ac_install_sh
4459 echo "$as_me:$LINENO: result: $INSTALL" >&5
4460 echo "${ECHO_T}$INSTALL" >&6
4462 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4463 # It thinks the first close brace ends the variable substitution.
4464 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4466 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4468 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4471 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4472 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4473 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4474 if test "${enable_maintainer_mode+set}" = set; then
4475 enableval
="$enable_maintainer_mode"
4476 USE_MAINTAINER_MODE
=$enableval
4478 USE_MAINTAINER_MODE
=no
4480 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4481 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4484 if test $USE_MAINTAINER_MODE = yes; then
4485 MAINTAINER_MODE_TRUE
=
4486 MAINTAINER_MODE_FALSE
='#'
4488 MAINTAINER_MODE_TRUE
='#'
4489 MAINTAINER_MODE_FALSE
=
4492 MAINT
=$MAINTAINER_MODE_TRUE
4498 # configure.host sets the following important variables
4499 # libgcj_cflags - host specific C compiler flags
4500 # libgcj_cxxflags - host specific C++ compiler flags
4501 # libgcj_javaflags - host specific Java compiler flags
4507 .
${srcdir}/configure.
host
4509 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4510 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4511 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4515 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4516 acl_cv_prog_gnu_ld
=yes
4518 acl_cv_prog_gnu_ld
=no
4521 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4522 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4523 with_gnu_ld
=$acl_cv_prog_gnu_ld
4525 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4526 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4527 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4528 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 acl_cv_prog_gnu_ld_symbolic
=no
4533 if test x
"$with_gnu_ld" = x
"yes"; then
4534 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4535 acl_cv_prog_gnu_ld_symbolic
=yes
4539 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4540 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4541 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4542 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4547 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4548 if test -z "$libgcj_ld_symbolic"; then
4549 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4552 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4553 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4554 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4555 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4556 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4563 # Only use libltdl for non-newlib builds.
4564 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4565 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4566 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4568 libname_spec
='lib$name'
4576 shlibpath_overrides_runpath
=unknown
4578 dynamic_linker
="$host_os ld.so"
4579 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4580 if test "$GCC" = yes; then
4581 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4582 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4583 # if the path contains ";" then we assume it to be the separator
4584 # otherwise default to the standard path separator (i.e. ":") - it is
4585 # assumed that no part of a normal pathname contains ";" but that should
4586 # okay in the real world where ";" in dirpaths is itself problematic.
4587 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4589 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4592 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4594 need_lib_prefix
=unknown
4595 hardcode_into_libs
=no
4597 # when you set need_version to no, make sure it does not cause -set_version
4598 # flags to be left without arguments
4599 need_version
=unknown
4604 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4605 shlibpath_var
=LIBPATH
4607 # AIX 3 has no versioning support, so we append a major version to the name.
4608 soname_spec
='${libname}${release}${shared_ext}$major'
4615 hardcode_into_libs
=yes
4616 if test "$host_cpu" = ia64
; then
4617 # AIX 5 supports IA64
4618 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4619 shlibpath_var
=LD_LIBRARY_PATH
4621 # With GCC up to 2.95.x, collect2 would create an import file
4622 # for dependence libraries. The import file would start with
4623 # the line `#! .'. This would cause the generated library to
4624 # depend on `.', always an invalid library. This was fixed in
4625 # development snapshots of GCC prior to 3.0.
4627 aix4 | aix4.
[01] | aix4.
[01].
*)
4628 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4630 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4637 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4638 # soname into executable. Probably we can add versioning support to
4639 # collect2, so additional links can be useful in future.
4640 if test "$aix_use_runtimelinking" = yes; then
4641 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4642 # instead of lib<name>.a to let people know that these are not
4643 # typical AIX shared libraries.
4644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4646 # We preserve .a as extension for shared libraries through AIX4.2
4647 # and later when we are not doing run time linking.
4648 library_names_spec
='${libname}${release}.a $libname.a'
4649 soname_spec
='${libname}${release}${shared_ext}$major'
4651 shlibpath_var
=LIBPATH
4656 library_names_spec
='$libname.ixlibrary $libname.a'
4657 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4658 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'
4662 library_names_spec
='${libname}${shared_ext}'
4663 dynamic_linker
="$host_os ld.so"
4664 shlibpath_var
=LIBRARY_PATH
4670 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4671 soname_spec
='${libname}${release}${shared_ext}$major'
4672 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4673 shlibpath_var
=LD_LIBRARY_PATH
4674 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4675 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4676 # the default ld.so.conf also contains /usr/contrib/lib and
4677 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4678 # libtool to hard-code these into programs
4681 cygwin
* | mingw
* | pw32
*)
4682 version_type
=windows
4687 case $GCC,$host_os in
4688 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4689 library_names_spec
='$libname.dll.a'
4690 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4691 postinstall_cmds
='base_file=`basename \${file}`~
4692 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4693 dldir=$destdir/`dirname \$dlpath`~
4694 test -d \$dldir || mkdir -p \$dldir~
4695 $install_prog $dir/$dlname \$dldir/$dlname'
4696 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4697 dlpath=$dir/\$dldll~
4699 shlibpath_overrides_runpath
=yes
4703 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4704 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4705 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4708 # MinGW DLLs use traditional 'lib' prefix
4709 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4710 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4711 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4712 # It is most probably a Windows format PATH printed by
4713 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4714 # path with ; separators, and with drive letters. We can handle the
4715 # drive letters (cygwin fileutils understands them), so leave them,
4716 # especially as we might pass files found there to a mingw objdump,
4717 # which wouldn't understand a cygwinified path. Ahh.
4718 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4720 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4724 # pw32 DLLs use 'pw' prefix rather than 'lib'
4725 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4731 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4734 dynamic_linker
='Win32 ld.exe'
4735 # FIXME: first we should search . and the directory the executable is in
4739 darwin
* | rhapsody
*)
4740 dynamic_linker
="$host_os dyld"
4744 # FIXME: Relying on posixy $() will cause problems for
4745 # cross-compilation, but unfortunately the echo tests do not
4746 # yet detect zsh echo's removal of \ escapes.
4747 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4748 soname_spec
='${libname}${release}${major}$shared_ext'
4749 shlibpath_overrides_runpath
=yes
4750 shlibpath_var
=DYLD_LIBRARY_PATH
4751 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4752 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4753 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4754 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"`
4756 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4763 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4764 soname_spec
='${libname}${release}${shared_ext}$major'
4765 shlibpath_var
=LD_LIBRARY_PATH
4773 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4774 version_type
=freebsd-
$objformat
4775 case $version_type in
4777 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4782 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4786 shlibpath_var
=LD_LIBRARY_PATH
4789 shlibpath_overrides_runpath
=yes
4791 freebsd3.01
* | freebsdelf3.01
*)
4792 shlibpath_overrides_runpath
=yes
4793 hardcode_into_libs
=yes
4796 shlibpath_overrides_runpath
=no
4797 hardcode_into_libs
=yes
4806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4807 soname_spec
='${libname}${release}${shared_ext}$major'
4808 shlibpath_var
=LD_LIBRARY_PATH
4809 hardcode_into_libs
=yes
4812 hpux9
* | hpux10
* | hpux11
*)
4813 # Give a soname corresponding to the major version so that dld.sl refuses to
4814 # link against other versions.
4821 hardcode_into_libs
=yes
4822 dynamic_linker
="$host_os dld.so"
4823 shlibpath_var
=LD_LIBRARY_PATH
4824 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4826 soname_spec
='${libname}${release}${shared_ext}$major'
4827 if test "X$HPUX_IA64_MODE" = X32
; then
4828 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4830 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4832 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4836 hardcode_into_libs
=yes
4837 dynamic_linker
="$host_os dld.sl"
4838 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4839 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4841 soname_spec
='${libname}${release}${shared_ext}$major'
4842 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
4843 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4847 dynamic_linker
="$host_os dld.sl"
4848 shlibpath_var
=SHLIB_PATH
4849 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
4850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4851 soname_spec
='${libname}${release}${shared_ext}$major'
4854 # HP-UX runs *really* slowly unless shared libraries are mode 555.
4855 postinstall_cmds
='chmod 555 $lib'
4858 irix5
* | irix6
* | nonstopux
*)
4860 nonstopux
*) version_type
=nonstopux
;;
4862 if test "$lt_cv_prog_gnu_ld" = yes; then
4870 soname_spec
='${libname}${release}${shared_ext}$major'
4871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
4873 irix5
* | nonstopux
*)
4877 case $LD in # libtool.m4 will add one of these switches to LD
4878 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
4879 libsuff
= shlibsuff
= libmagic
=32-bit;;
4880 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
4881 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
4882 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
4883 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
4884 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
4888 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
4889 shlibpath_overrides_runpath
=no
4890 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
4891 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
4892 hardcode_into_libs
=yes
4895 # No shared lib support for Linux oldld, aout, or coff.
4896 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
4900 # This must be Linux ELF.
4905 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4906 soname_spec
='${libname}${release}${shared_ext}$major'
4907 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4908 shlibpath_var
=LD_LIBRARY_PATH
4909 shlibpath_overrides_runpath
=no
4910 # This implies no fast_install, which is unacceptable.
4911 # Some rework will be needed to allow for fast_install
4912 # before this can be enabled.
4913 hardcode_into_libs
=yes
4915 # We used to test for /lib/ld.so.1 and disable shared libraries on
4916 # powerpc, because MkLinux only supported shared libraries with the
4917 # GNU dynamic linker. Since this was broken with cross compilers,
4918 # most powerpc-linux boxes support dynamic linking these days and
4919 # people can always --disable-shared, the test was removed, and we
4920 # assume the GNU/Linux dynamic linker is in use.
4921 dynamic_linker
='GNU/Linux ld.so'
4928 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
4929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4930 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4931 dynamic_linker
='NetBSD (a.out) ld.so'
4933 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
4934 soname_spec
='${libname}${release}${shared_ext}$major'
4935 dynamic_linker
='NetBSD ld.elf_so'
4937 shlibpath_var
=LD_LIBRARY_PATH
4938 shlibpath_overrides_runpath
=yes
4939 hardcode_into_libs
=yes
4944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4945 shlibpath_var
=LD_LIBRARY_PATH
4946 shlibpath_overrides_runpath
=yes
4953 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4954 soname_spec
='${libname}${release}${shared_ext}$major'
4955 shlibpath_var
=LD_LIBRARY_PATH
4956 shlibpath_overrides_runpath
=yes
4963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
4964 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
4965 shlibpath_var
=LD_LIBRARY_PATH
4966 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4968 openbsd2.
[89] | openbsd2.
[89].
*)
4969 shlibpath_overrides_runpath
=no
4972 shlibpath_overrides_runpath
=yes
4976 shlibpath_overrides_runpath
=yes
4981 libname_spec
='$name'
4984 library_names_spec
='$libname${shared_ext} $libname.a'
4985 dynamic_linker
='OS/2 ld.exe'
4986 shlibpath_var
=LIBPATH
4989 osf3
* | osf4
* | osf5
*)
4993 soname_spec
='${libname}${release}${shared_ext}$major'
4994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4995 shlibpath_var
=LD_LIBRARY_PATH
4996 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
4997 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
5002 soname_spec
='${libname}${release}${shared_ext}$major'
5003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5004 shlibpath_var
=LD_LIBRARY_PATH
5011 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5012 soname_spec
='${libname}${release}${shared_ext}$major'
5013 shlibpath_var
=LD_LIBRARY_PATH
5014 shlibpath_overrides_runpath
=yes
5015 hardcode_into_libs
=yes
5016 # ldd complains unless libraries are executable
5017 postinstall_cmds
='chmod +x $lib'
5022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5023 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5024 shlibpath_var
=LD_LIBRARY_PATH
5025 shlibpath_overrides_runpath
=yes
5026 if test "$with_gnu_ld" = yes; then
5032 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5035 soname_spec
='${libname}${release}${shared_ext}$major'
5036 shlibpath_var
=LD_LIBRARY_PATH
5037 case $host_vendor in
5039 shlibpath_overrides_runpath
=no
5041 export_dynamic_flag_spec
='${wl}-Blargedynsym'
5042 runpath_var
=LD_RUN_PATH
5050 shlibpath_overrides_runpath
=no
5051 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
5057 if test -d /usr
/nec
;then
5059 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5060 soname_spec
='$libname${shared_ext}.$major'
5061 shlibpath_var
=LD_LIBRARY_PATH
5067 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5068 soname_spec
='${libname}${release}${shared_ext}$major'
5069 shlibpath_var
=LD_LIBRARY_PATH
5076 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5077 echo "${ECHO_T}$dynamic_linker" >&6
5078 test "$dynamic_linker" = no
&& can_build_shared
=no
5081 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5082 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5083 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 libltdl_cv_shlibpath_var
="$shlibpath_var"
5088 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5089 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5090 if test -n "$libltdl_cv_shlibpath_var"; then
5092 cat >>confdefs.h
<<_ACEOF
5093 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
5100 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
5103 # See if the user has requested runtime debugging.
5104 LIBGCJDEBUG
="disable"
5106 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5107 if test "${enable_libgcj_debug+set}" = set; then
5108 enableval
="$enable_libgcj_debug"
5109 if test "$enable_libgcj_debug" = yes; then
5111 cat >>confdefs.h
<<\_ACEOF
5115 LIBGCJDEBUG
="enable"
5120 # Check whether --with-escher or --without-escher was given.
5121 if test "${with_escher+set}" = set; then
5122 withval
="$with_escher"
5125 case "$with_escher" in
5133 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
5134 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
5135 { (exit 1); exit 1; }; }
5142 # Determine which AWT peer libraries to build
5143 # Check whether --enable-java-awt or --disable-java-awt was given.
5144 if test "${enable_java_awt+set}" = set; then
5145 enableval
="$enable_java_awt"
5149 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
5154 # The default toolkit to use is the first one specified.
5158 for peer
in $peerlibs ; do
5161 if test "$no_x" = yes; then
5162 echo "*** xlib peers requested but no X library available" 1>&2
5166 if test -z "$TOOLKIT"; then
5167 TOOLKIT
=gnu.awt.xlib.XToolkit
5172 if test "$no_x" = yes; then
5173 echo "*** gtk peers requested but no X library available" 1>&2
5177 if test -z "$TOOLKIT"; then
5178 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5183 if test "$no_x" = yes; then
5184 # Perhaps we should admit the possibility of embedded Qt.
5185 echo "*** Qt peers requested but no X library available" 1>&2
5189 if test -z "$TOOLKIT"; then
5190 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5196 if test -z "$TOOLKIT"; then
5197 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5208 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5215 if test "$use_xlib_awt" = yes; then
5225 if test "$use_x_awt" = yes; then
5235 cat >>confdefs.h
<<_ACEOF
5236 #define AWT_TOOLKIT "$TOOLKIT"
5241 cat >>confdefs.h
<<_ACEOF
5242 #define LIBGCJ_PREFIX "$prefix"
5246 # Create standard.omit based on decisions we just made.
5247 cp $srcdir/standard.omit.
in standard.omit
5248 if test "$use_xlib_awt" != yes; then
5249 echo gnu
/awt
/xlib
>> standard.omit
5250 echo gnu
/gcj
/xlib
>> standard.omit
5252 if test "$use_x_awt" != yes; then
5253 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5256 # Tools that need to be compiled against classpath's tools classes
5257 : > vm-tools-packages
5258 for package
in gnu
/gcj
/tools
/gc_analyze
; do
5259 echo $package >> standard.omit
5260 echo $package >> vm-tools-packages
5263 if test -z "${with_multisubdir}"; then
5266 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5271 # Which gcj and host gcj (for ecjx) do we use?
5273 host_exeext
=${ac_exeext}
5275 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5276 if test -n "${with_cross_host}"; then
5277 # We are being configured with a cross compiler. We can't
5278 # use ac_exeext, because that is for the target platform.
5281 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5282 case "${with_cross_host}" in
5284 cross_host_exeext
=.exe
5287 host_exeext
=${cross_host_exeext}
5288 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5289 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5290 # Ordinary cross (host!=target and host=build)
5293 # Canadian cross (host!=target and host!=build)
5300 # We are being configured with a native or crossed-native compiler
5301 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5302 if test x
"$build" = x
"$host"; then
5303 # True native build (host=target and host=build)
5306 # Crossed-native build (host=target and host!=build)
5313 case "${which_gcj}" in
5315 GCJ
="$built_gcc_dir/gcj -B`${PWDCMD-pwd}`/ -B$built_gcc_dir/"
5316 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5319 if test "x${with_newlib}" = "xyes"; then
5320 # FIXME (comment): Why is this needed?
5322 GCJ
="${target_noncanonical}-gcj"
5324 GCJ
="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
5326 GCJH
='$(target_noncanonical)-gcjh'
5329 GCJ
="gcj -B`${PWDCMD-pwd}`/"
5338 # Create it, so that compile/link tests don't fail
5339 test -f libgcj.spec ||
touch libgcj.spec
5343 # Set up to configure Classpath.
5344 # FIXME: no supported way to pass args in autoconf.
5345 ac_configure_args
="$ac_configure_args --with-fastjar=$JAR"
5346 # Disable tool wrappers to avoid ltdl.h configure check.
5347 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5348 ac_configure_args
="$ac_configure_args --disable-load-library"
5349 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5350 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5351 dir1
=`cd $srcdir && pwd`
5353 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5354 ac_configure_args
="$ac_configure_args --disable-core-jni"
5355 ac_configure_args
="$ac_configure_args --disable-examples"
5356 ac_configure_args
="$ac_configure_args --with-glibj=build"
5357 if test "$plugin_enabled" != yes; then
5358 ac_configure_args
="$ac_configure_args --disable-plugin"
5360 if test "$gconf_enabled" != yes; then
5361 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5362 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5364 if test "$use_gtk_awt" != yes; then
5365 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5367 if test "$use_qt_awt" != yes; then
5368 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5370 # We need this as qt is disabled by default in classpath.
5371 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5373 if test "$use_x_awt" != yes; then
5374 ac_configure_args
="$ac_configure_args --without-escher"
5376 # We need this as escher is disabled by default in classpath.
5377 if test "$use_escher" != true
; then
5378 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5379 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5380 { (exit 1); exit 1; }; }
5382 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5385 # -Werror causes unavoidable problems in code using alsa.
5386 ac_configure_args
="$ac_configure_args --disable-Werror"
5388 # Only use libltdl for non-newlib builds.
5389 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5390 case $enable_ltdl_convenience in
5391 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5392 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5393 { (exit 1); exit 1; }; } ;;
5394 "") enable_ltdl_convenience
=yes
5395 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5397 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5398 LTDLINCL
='-I${top_srcdir}/''libltdl'
5399 # For backwards non-gettext consistent compatibility...
5408 cat >>confdefs.h
<<\_ACEOF
5412 # Sigh. Libtool's macro doesn't do the right thing.
5413 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5414 # FIXME: this is a hack.
5415 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5416 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5423 macro_version
='2.1a'
5424 macro_revision
='1.2435'
5437 ltmain
="$ac_aux_dir/ltmain.sh"
5445 # Check whether --enable-shared or --disable-shared was given.
5446 if test "${enable_shared+set}" = set; then
5447 enableval
="$enable_shared"
5448 p
=${PACKAGE-default}
5450 yes) enable_shared
=yes ;;
5451 no
) enable_shared
=no
;;
5454 # Look at the argument we got. We use all the common list separators.
5455 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5456 for pkg
in $enableval; do
5458 if test "X$pkg" = "X$p"; then
5476 # Check whether --enable-static or --disable-static was given.
5477 if test "${enable_static+set}" = set; then
5478 enableval
="$enable_static"
5479 p
=${PACKAGE-default}
5481 yes) enable_static
=yes ;;
5482 no
) enable_static
=no
;;
5485 # Look at the argument we got. We use all the common list separators.
5486 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5487 for pkg
in $enableval; do
5489 if test "X$pkg" = "X$p"; then
5508 # Check whether --with-pic or --without-pic was given.
5509 if test "${with_pic+set}" = set; then
5516 test -z "$pic_mode" && pic_mode
=default
5524 # Check whether --enable-fast-install or --disable-fast-install was given.
5525 if test "${enable_fast_install+set}" = set; then
5526 enableval
="$enable_fast_install"
5527 p
=${PACKAGE-default}
5529 yes) enable_fast_install
=yes ;;
5530 no
) enable_fast_install
=no
;;
5532 enable_fast_install
=no
5533 # Look at the argument we got. We use all the common list separators.
5534 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
5535 for pkg
in $enableval; do
5537 if test "X$pkg" = "X$p"; then
5538 enable_fast_install
=yes
5545 enable_fast_install
=yes
5555 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5556 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5557 if test "${lt_cv_path_SED+set}" = set; then
5558 echo $ECHO_N "(cached) $ECHO_C" >&6
5560 # Loop through the user's path and test for sed and gsed.
5561 # Then use that list of sed's as ones to test for truncation.
5562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5566 test -z "$as_dir" && as_dir
=.
5567 for lt_ac_prog
in sed gsed
; do
5568 for ac_exec_ext
in '' $ac_executable_extensions; do
5569 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5570 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5578 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5579 # along with /bin/sed that truncates output.
5580 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5581 test ! -f $lt_ac_sed && continue
5582 cat /dev
/null
> conftest.
in
5584 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5585 # Check for GNU sed and select it if it is found.
5586 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5587 lt_cv_path_SED
=$lt_ac_sed
5591 cat conftest.
in conftest.
in >conftest.tmp
5592 mv conftest.tmp conftest.
in
5593 cp conftest.
in conftest.
nl
5595 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5596 cmp -s conftest.out conftest.
nl ||
break
5597 # 10000 chars as input seems more than enough
5598 test $lt_ac_count -gt 10 && break
5599 lt_ac_count
=`expr $lt_ac_count + 1`
5600 if test $lt_ac_count -gt $lt_ac_max; then
5601 lt_ac_max
=$lt_ac_count
5602 lt_cv_path_SED
=$lt_ac_sed
5611 echo "$as_me:$LINENO: result: $SED" >&5
5612 echo "${ECHO_T}$SED" >&6
5614 test -z "$SED" && SED
=sed
5615 Xsed
="$SED -e 1s/^X//"
5627 echo "$as_me:$LINENO: checking for egrep" >&5
5628 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5629 if test "${ac_cv_prog_egrep+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5633 then ac_cv_prog_egrep
='grep -E'
5634 else ac_cv_prog_egrep
='egrep'
5637 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5638 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5639 EGREP
=$ac_cv_prog_egrep
5642 echo "$as_me:$LINENO: checking for fgrep" >&5
5643 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5644 if test "${ac_cv_prog_fgrep+set}" = set; then
5645 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5648 then ac_cv_prog_fgrep
='grep -F'
5649 else ac_cv_prog_fgrep
='fgrep'
5652 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5653 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5654 FGREP
=$ac_cv_prog_fgrep
5657 test -z "$GREP" && GREP
=grep
5677 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5678 if test "${with_gnu_ld+set}" = set; then
5679 withval
="$with_gnu_ld"
5680 test "$withval" = no || with_gnu_ld
=yes
5685 if test "$GCC" = yes; then
5686 # Check if gcc -print-prog-name=ld gives a path.
5687 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5688 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5691 # gcc leaves a trailing carriage return which upsets mingw
5692 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5694 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5697 # Accept absolute paths.
5699 re_direlt
='/[^/][^/]*/\.\./'
5700 # Canonicalize the pathname of ld
5701 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5702 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5703 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5705 test -z "$LD" && LD
="$ac_prog"
5708 # If it fails, then pretend we aren't using GCC.
5712 # If it is relative, then search for the first ld in PATH.
5716 elif test "$with_gnu_ld" = yes; then
5717 echo "$as_me:$LINENO: checking for GNU ld" >&5
5718 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5720 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5721 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5723 if test "${lt_cv_path_LD+set}" = set; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 if test -z "$LD"; then
5727 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5728 for ac_dir
in $PATH; do
5730 test -z "$ac_dir" && ac_dir
=.
5731 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5732 lt_cv_path_LD
="$ac_dir/$ac_prog"
5733 # Check to see if the program is GNU ld. I'd rather use --version,
5734 # but apparently some variants of GNU ld only accept -v.
5735 # Break only if it was the GNU/non-GNU ld that we prefer.
5736 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5737 *GNU
* |
*'with BFD'*)
5738 test "$with_gnu_ld" != no
&& break
5741 test "$with_gnu_ld" != yes && break
5748 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5753 if test -n "$LD"; then
5754 echo "$as_me:$LINENO: result: $LD" >&5
5755 echo "${ECHO_T}$LD" >&6
5757 echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6
5760 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5761 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5762 { (exit 1); exit 1; }; }
5763 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5764 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5765 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5769 case `$LD -v 2>&1 </dev/null` in
5770 *GNU
* |
*'with BFD'*)
5771 lt_cv_prog_gnu_ld
=yes
5774 lt_cv_prog_gnu_ld
=no
5778 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5779 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5780 with_gnu_ld
=$lt_cv_prog_gnu_ld
5791 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5792 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5793 if test "${lt_cv_path_NM+set}" = set; then
5794 echo $ECHO_N "(cached) $ECHO_C" >&6
5796 if test -n "$NM"; then
5797 # Let the user override the test.
5800 lt_nm_to_check
="${ac_tool_prefix}nm"
5801 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5802 lt_nm_to_check
="$lt_nm_to_check nm"
5804 for lt_tmp_nm
in $lt_nm_to_check; do
5805 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5806 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5808 test -z "$ac_dir" && ac_dir
=.
5809 tmp_nm
="$ac_dir/$lt_tmp_nm"
5810 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5811 # Check to see if the nm accepts a BSD-compat flag.
5812 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5813 # nm: unknown option "B" ignored
5814 # Tru64's nm complains that /dev/null is an invalid object file
5815 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5816 */dev
/null
* |
*'Invalid file or object type'*)
5817 lt_cv_path_NM
="$tmp_nm -B"
5821 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5823 lt_cv_path_NM
="$tmp_nm -p"
5827 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5828 continue # so that we can try to find one that supports BSD flags
5837 : ${lt_cv_path_NM=no}
5840 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5841 echo "${ECHO_T}$lt_cv_path_NM" >&6
5842 if test "$lt_cv_path_NM" != "no"; then
5845 # Didn't find any BSD compatible name lister, look for dumpbin.
5846 if test -n "$ac_tool_prefix"; then
5847 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5849 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5850 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5851 echo "$as_me:$LINENO: checking for $ac_word" >&5
5852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5853 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5854 echo $ECHO_N "(cached) $ECHO_C" >&6
5856 if test -n "$DUMPBIN"; then
5857 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir
=.
5864 for ac_exec_ext
in '' $ac_executable_extensions; do
5865 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5866 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5875 DUMPBIN
=$ac_cv_prog_DUMPBIN
5876 if test -n "$DUMPBIN"; then
5877 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5878 echo "${ECHO_T}$DUMPBIN" >&6
5880 echo "$as_me:$LINENO: result: no" >&5
5881 echo "${ECHO_T}no" >&6
5884 test -n "$DUMPBIN" && break
5887 if test -z "$DUMPBIN"; then
5888 ac_ct_DUMPBIN
=$DUMPBIN
5889 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5891 # Extract the first word of "$ac_prog", so it can be a program name with args.
5892 set dummy
$ac_prog; ac_word
=$2
5893 echo "$as_me:$LINENO: checking for $ac_word" >&5
5894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5895 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 if test -n "$ac_ct_DUMPBIN"; then
5899 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir
=.
5906 for ac_exec_ext
in '' $ac_executable_extensions; do
5907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5918 if test -n "$ac_ct_DUMPBIN"; then
5919 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5920 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5926 test -n "$ac_ct_DUMPBIN" && break
5928 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5930 DUMPBIN
=$ac_ct_DUMPBIN
5934 if test "$DUMPBIN" != ":"; then
5938 test -z "$NM" && NM
=nm
5945 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5946 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
5947 if test "${lt_cv_nm_interface+set}" = set; then
5948 echo $ECHO_N "(cached) $ECHO_C" >&6
5950 lt_cv_nm_interface
="BSD nm"
5951 echo "int some_variable = 0;" > conftest.
$ac_ext
5952 (eval echo "\"\$as_me:5952: $ac_compile\"" >&5)
5953 (eval "$ac_compile" 2>conftest.err
)
5954 cat conftest.err
>&5
5955 (eval echo "\"\$as_me:5955: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5956 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5957 cat conftest.err
>&5
5958 (eval echo "\"\$as_me:5958: output\"" >&5)
5959 cat conftest.out
>&5
5960 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5961 lt_cv_nm_interface
="MS dumpbin"
5965 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5966 echo "${ECHO_T}$lt_cv_nm_interface" >&6
5968 # find the maximum length of command line arguments
5969 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5970 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5971 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 # On DJGPP, this test can blow up pretty badly due to problems in libc
5980 # (any single argument exceeding 2000 bytes causes a buffer overrun
5981 # during glob expansion). Even if it were fixed, the result of this
5982 # check would be larger than it should be.
5983 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5987 # Under GNU Hurd, this test is not required because there is
5988 # no limit to the length of command line arguments.
5989 # Libtool will interpret -1 as no limit whatsoever
5990 lt_cv_sys_max_cmd_len
=-1;
5994 # On Win9x/ME, this test blows up -- it succeeds, but takes
5995 # about 5 minutes as the teststring grows exponentially.
5996 # Worse, since 9x/ME are not pre-emptively multitasking,
5997 # you end up with a "frozen" computer, even though with patience
5998 # the test eventually succeeds (with a max line length of 256k).
5999 # Instead, let's just punt: use the minimum linelength reported by
6000 # all of the supported platforms: 8192 (on NT/2K/XP).
6001 lt_cv_sys_max_cmd_len
=8192;
6005 # On AmigaOS with pdksh, this test takes hours, literally.
6006 # So we just punt and use a minimum line length of 8192.
6007 lt_cv_sys_max_cmd_len
=8192;
6010 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6011 # This has been around since 386BSD, at least. Likely further.
6012 if test -x /sbin
/sysctl
; then
6013 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6014 elif test -x /usr
/sbin
/sysctl
; then
6015 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6017 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6019 # And add a safety zone
6020 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6021 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6025 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6026 lt_cv_sys_max_cmd_len
=196608
6030 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6031 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6032 # nice to cause kernel panics so lets avoid the loop below.
6033 # First set a reasonable default.
6034 lt_cv_sys_max_cmd_len
=16384
6036 if test -x /sbin
/sysconfig
; then
6037 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6038 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6043 lt_cv_sys_max_cmd_len
=102400
6045 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6046 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6047 if test -n "$kargmax"; then
6048 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6050 lt_cv_sys_max_cmd_len
=32768
6054 lt_cv_sys_max_cmd_len
=`getconf ARG_MAX 2> /dev/null`
6055 if test -n $lt_cv_sys_max_cmd_len; then
6056 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6057 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6059 # Make teststring a little bigger before we do anything with it.
6060 # a 1K string should be a reasonable start.
6061 for i
in 1 2 3 4 5 6 7 8 ; do
6062 teststring
=$teststring$teststring
6064 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6065 # If test is not a shell built-in, we'll probably end up computing a
6066 # maximum length that is only half of the actual maximum length, but
6068 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6069 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6070 test $i != 17 # 1/2 MB should be enough
6073 teststring
=$teststring$teststring
6075 # Only check the string length outside the loop.
6076 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6078 # Add a significant safety factor because C++ compilers can tack on
6079 # massive amounts of additional arguments before passing them to the
6080 # linker. It appears as though 1/2 is a usable value.
6081 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6088 if test -n $lt_cv_sys_max_cmd_len ; then
6089 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6090 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6092 echo "$as_me:$LINENO: result: none" >&5
6093 echo "${ECHO_T}none" >&6
6095 max_cmd_len
=$lt_cv_sys_max_cmd_len
6106 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6107 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6108 # Try some XSI features
6111 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6112 = c,a/b,, ) >/dev/null 2>&1 \
6114 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6115 echo "${ECHO_T}$xsi_shell" >&6
6118 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6119 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6121 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6123 && lt_shell_append=yes
6124 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6125 echo "${ECHO_T}$lt_shell_append" >&6
6128 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6138 # test EBCDIC or ASCII
6139 case `echo X|tr X '\101'` in
6140 A) # ASCII based system
6141 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6142 lt_SP2NL='tr \040 \012'
6143 lt_NL2SP='tr \015\012 \040\040'
6145 *) # EBCDIC based system
6146 lt_SP2NL='tr \100 \n'
6147 lt_NL2SP='tr \r\n \100\100'
6159 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6160 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6161 if test "${lt_cv_ld_reload_flag+set}" = set; then
6162 echo $ECHO_N "(cached
) $ECHO_C" >&6
6164 lt_cv_ld_reload_flag='-r'
6166 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6167 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6168 reload_flag=$lt_cv_ld_reload_flag
6169 case $reload_flag in
6171 *) reload_flag=" $reload_flag" ;;
6173 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6176 if test "$GCC" = yes; then
6177 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6179 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6193 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6194 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6195 if test "${lt_cv_deplibs_check_method+set}" = set; then
6196 echo $ECHO_N "(cached
) $ECHO_C" >&6
6198 lt_cv_file_magic_cmd='$MAGIC_CMD'
6199 lt_cv_file_magic_test_file=
6200 lt_cv_deplibs_check_method='unknown'
6201 # Need to set the preceding variable on all platforms that support
6202 # interlibrary dependencies.
6203 # 'none' -- dependencies not supported.
6204 # `unknown' -- same as none, but documents that we really don't know.
6205 # 'pass_all' -- all dependencies passed with no checks.
6206 # 'test_compile' -- check by making test program.
6207 # 'file_magic [[regex]]' -- check by looking for files in library path
6208 # which responds to the $file_magic_cmd with a given extended regex.
6209 # If you have `file' or equivalent on your system and you're not sure
6210 # whether `pass_all' will *always* work, you probably want this one.
6214 lt_cv_deplibs_check_method=pass_all
6218 lt_cv_deplibs_check_method=pass_all
6222 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6223 lt_cv_file_magic_cmd='/usr/bin/file -L'
6224 lt_cv_file_magic_test_file=/shlib/libc.so
6228 # func_win32_libid is a shell function defined in ltmain.sh
6229 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6230 lt_cv_file_magic_cmd='func_win32_libid'
6234 # Base MSYS/MinGW do not provide the 'file' command needed by
6235 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6236 # unless we find 'file', for example because we are cross-compiling.
6237 if ( file / ) >/dev/null 2>&1; then
6238 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6239 lt_cv_file_magic_cmd='func_win32_libid'
6241 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6242 lt_cv_file_magic_cmd='$OBJDUMP -f'
6246 darwin* | rhapsody*)
6247 lt_cv_deplibs_check_method=pass_all
6250 freebsd* | dragonfly*)
6251 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6254 # Not sure whether the presence of OpenBSD here was a mistake.
6255 # Let's accept both of them until this is cleared up.
6256 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6257 lt_cv_file_magic_cmd=/usr/bin/file
6258 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6262 lt_cv_deplibs_check_method=pass_all
6267 lt_cv_deplibs_check_method=pass_all
6270 hpux10.20* | hpux11*)
6271 lt_cv_file_magic_cmd=/usr/bin/file
6274 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6275 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6278 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]'
6279 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6282 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6283 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6289 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6290 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6293 irix5* | irix6* | nonstopux*)
6295 *-32|*"-32 ") libmagic=32-bit;;
6296 *-n32|*"-n32 ") libmagic=N32;;
6297 *-64|*"-64 ") libmagic=64-bit;;
6298 *) libmagic=never-match;;
6300 lt_cv_deplibs_check_method=pass_all
6303 # This must be Linux ELF.
6304 linux* | k*bsd*-gnu)
6305 lt_cv_deplibs_check_method=pass_all
6309 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6310 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6312 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6317 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6318 lt_cv_file_magic_cmd=/usr/bin/file
6319 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6323 lt_cv_deplibs_check_method=pass_all
6327 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6334 osf3* | osf4* | osf5*)
6335 lt_cv_deplibs_check_method=pass_all
6339 lt_cv_deplibs_check_method=pass_all
6343 lt_cv_deplibs_check_method=pass_all
6346 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6347 lt_cv_deplibs_check_method=pass_all
6351 case $host_vendor in
6353 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]'
6354 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6357 lt_cv_deplibs_check_method=pass_all
6360 lt_cv_file_magic_cmd='/bin/file'
6361 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6364 lt_cv_file_magic_cmd='/bin/file'
6365 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6366 lt_cv_file_magic_test_file=/lib/libc.so
6369 lt_cv_deplibs_check_method=pass_all
6372 lt_cv_deplibs_check_method=pass_all
6378 lt_cv_deplibs_check_method=pass_all
6383 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6384 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6385 file_magic_cmd=$lt_cv_file_magic_cmd
6386 deplibs_check_method=$lt_cv_deplibs_check_method
6387 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6400 if test -n "$ac_tool_prefix"; then
6401 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6402 set dummy ${ac_tool_prefix}ar; ac_word=$2
6403 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6404 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6405 if test "${ac_cv_prog_AR+set}" = set; then
6406 echo $ECHO_N "(cached
) $ECHO_C" >&6
6408 if test -n "$AR"; then
6409 ac_cv_prog_AR="$AR" # Let the user override the test.
6411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6415 test -z "$as_dir" && as_dir=.
6416 for ac_exec_ext in '' $ac_executable_extensions; do
6417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6418 ac_cv_prog_AR="${ac_tool_prefix}ar"
6419 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6428 if test -n "$AR"; then
6429 echo "$as_me:$LINENO: result
: $AR" >&5
6430 echo "${ECHO_T}$AR" >&6
6432 echo "$as_me:$LINENO: result
: no
" >&5
6433 echo "${ECHO_T}no
" >&6
6437 if test -z "$ac_cv_prog_AR"; then
6439 # Extract the first word of "ar", so it can be a program name with args.
6440 set dummy ar; ac_word=$2
6441 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6442 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6443 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6444 echo $ECHO_N "(cached
) $ECHO_C" >&6
6446 if test -n "$ac_ct_AR"; then
6447 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir=.
6454 for ac_exec_ext in '' $ac_executable_extensions; do
6455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_ac_ct_AR="ar"
6457 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6463 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6466 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6467 if test -n "$ac_ct_AR"; then
6468 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6469 echo "${ECHO_T}$ac_ct_AR" >&6
6471 echo "$as_me:$LINENO: result
: no
" >&5
6472 echo "${ECHO_T}no
" >&6
6480 test -z "$AR" && AR=ar
6481 test -z "$AR_FLAGS" && AR_FLAGS=cru
6493 if test -n "$ac_tool_prefix"; then
6494 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6495 set dummy ${ac_tool_prefix}strip; ac_word=$2
6496 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6497 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6498 if test "${ac_cv_prog_STRIP+set}" = set; then
6499 echo $ECHO_N "(cached
) $ECHO_C" >&6
6501 if test -n "$STRIP"; then
6502 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6512 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6520 STRIP=$ac_cv_prog_STRIP
6521 if test -n "$STRIP"; then
6522 echo "$as_me:$LINENO: result
: $STRIP" >&5
6523 echo "${ECHO_T}$STRIP" >&6
6525 echo "$as_me:$LINENO: result
: no
" >&5
6526 echo "${ECHO_T}no
" >&6
6530 if test -z "$ac_cv_prog_STRIP"; then
6532 # Extract the first word of "strip
", so it can be a program name with args.
6533 set dummy strip; ac_word=$2
6534 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6535 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6536 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6537 echo $ECHO_N "(cached
) $ECHO_C" >&6
6539 if test -n "$ac_ct_STRIP"; then
6540 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546 test -z "$as_dir" && as_dir=.
6547 for ac_exec_ext in '' $ac_executable_extensions; do
6548 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6549 ac_cv_prog_ac_ct_STRIP="strip
"
6550 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6556 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6559 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6560 if test -n "$ac_ct_STRIP"; then
6561 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6562 echo "${ECHO_T}$ac_ct_STRIP" >&6
6564 echo "$as_me:$LINENO: result
: no
" >&5
6565 echo "${ECHO_T}no
" >&6
6570 STRIP="$ac_cv_prog_STRIP"
6573 test -z "$STRIP" && STRIP=:
6580 if test -n "$ac_tool_prefix"; then
6581 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6582 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6583 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6584 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6585 if test "${ac_cv_prog_RANLIB+set}" = set; then
6586 echo $ECHO_N "(cached
) $ECHO_C" >&6
6588 if test -n "$RANLIB"; then
6589 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6595 test -z "$as_dir" && as_dir=.
6596 for ac_exec_ext in '' $ac_executable_extensions; do
6597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6598 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6599 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6607 RANLIB=$ac_cv_prog_RANLIB
6608 if test -n "$RANLIB"; then
6609 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6610 echo "${ECHO_T}$RANLIB" >&6
6612 echo "$as_me:$LINENO: result
: no
" >&5
6613 echo "${ECHO_T}no
" >&6
6617 if test -z "$ac_cv_prog_RANLIB"; then
6618 ac_ct_RANLIB=$RANLIB
6619 # Extract the first word of "ranlib
", so it can be a program name with args.
6620 set dummy ranlib; ac_word=$2
6621 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6622 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6623 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6624 echo $ECHO_N "(cached
) $ECHO_C" >&6
6626 if test -n "$ac_ct_RANLIB"; then
6627 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 test -z "$as_dir" && as_dir=.
6634 for ac_exec_ext in '' $ac_executable_extensions; do
6635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6636 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6637 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6643 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6646 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6647 if test -n "$ac_ct_RANLIB"; then
6648 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6649 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6651 echo "$as_me:$LINENO: result
: no
" >&5
6652 echo "${ECHO_T}no
" >&6
6655 RANLIB=$ac_ct_RANLIB
6657 RANLIB="$ac_cv_prog_RANLIB"
6660 test -z "$RANLIB" && RANLIB=:
6667 # Determine commands to create old-style static archives.
6668 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6669 old_postinstall_cmds='chmod 644 $oldlib'
6670 old_postuninstall_cmds=
6672 if test -n "$RANLIB"; then
6675 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6678 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6681 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6717 # If no C compiler was specified, use CC.
6720 # If no C compiler flags were specified, use CFLAGS.
6721 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6723 # Allow CC to be a program name with arguments.
6727 # Check for command to grab the raw symbol name followed by C symbol from nm.
6728 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6729 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6730 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6731 echo $ECHO_N "(cached
) $ECHO_C" >&6
6734 # These are sane defaults that work on at least a few old systems.
6735 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6737 # Character class describing NM global symbol codes.
6738 symcode='[BCDEGRST]'
6740 # Regexp to match symbols that can be accessed directly from C.
6741 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6743 # Define system-specific variables.
6748 cygwin* | mingw* | pw32*)
6749 symcode='[ABCDGISTW]'
6752 if test "$host_cpu" = ia64; then
6753 symcode='[ABCDEGRST]'
6757 symcode='[BCDEGRST]'
6760 symcode='[BCDEGQRST]'
6771 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6779 # If we're using GNU nm, then use its standard symbol codes.
6780 case `$NM -V 2>&1` in
6781 *GNU* | *'with BFD'*)
6782 symcode='[ABCDGIRSTW]' ;;
6785 # Transform an extracted symbol line into a proper C declaration.
6786 # Some systems (esp. on ia64) link data and code symbols differently,
6787 # so use this general approach.
6788 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6790 # Transform an extracted symbol line into symbol name and symbol address
6791 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6793 # Handle CRLF in mingw tool chain
6797 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6801 # Try without a prefix underscore, then with it.
6802 for ac_symprfx in "" "_
"; do
6804 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6805 symxfrm="\\1 $ac_symprfx\\2 \\2"
6807 # Write the raw and C identifiers.
6808 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6809 # Fake it for dumpbin and say T for any non-static function
6810 # and D for any global variable.
6811 # Also find C++ and __fastcall symbols from MSVC++,
6812 # which start with @ or ?.
6813 lt_cv_sys_global_symbol_pipe="$AWK '"\
6814 " {last_section=section; section=\$ 3};"\
6815 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6816 " \$ 0!~/External *\|/{next};"\
6817 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6818 " {if(hide[section]) next};"\
6819 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6820 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6821 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6822 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6823 " ' prfx
=^
$ac_symprfx"
6825 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6828 # Check to see that the pipe works correctly.
6832 cat > conftest.$ac_ext <<_LT_EOF
6837 void nm_test_func(void);
6838 void nm_test_func(void){}
6842 int main(){nm_test_var='a';nm_test_func();return(0);}
6845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6846 (eval $ac_compile) 2>&5
6848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6849 (exit $ac_status); }; then
6850 # Now try to grab the symbols.
6852 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
6853 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6855 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6856 (exit $ac_status); } && test -s "$nlist"; then
6857 # Try sorting and uniquifying the output.
6858 if sort "$nlist" | uniq > "$nlist"T; then
6859 mv -f "$nlist"T "$nlist"
6864 # Make sure that we snagged all the symbols we need.
6865 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6866 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6867 cat <<_LT_EOF > conftest.$ac_ext
6873 # Now generate the symbol file.
6874 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6876 cat <<_LT_EOF >> conftest.$ac_ext
6878 /* The mapping between symbol names and symbols. */
6883 lt__PROGRAM__LTX_preloaded_symbols[] =
6885 { "@PROGRAM@
", (void *) 0 },
6887 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6888 cat <<\_LT_EOF >> conftest.$ac_ext
6892 /* This works around a problem in FreeBSD linker */
6893 #ifdef FREEBSD_WORKAROUND
6894 static const void *lt_preloaded_setup() {
6895 return lt__PROGRAM__LTX_preloaded_symbols;
6903 # Now try linking the two files.
6904 mv conftest.$ac_objext conftstm.$ac_objext
6905 lt_save_LIBS="$LIBS"
6906 lt_save_CFLAGS="$CFLAGS"
6907 LIBS="conftstm.
$ac_objext"
6908 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6910 (eval $ac_link) 2>&5
6912 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6913 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6916 LIBS="$lt_save_LIBS"
6917 CFLAGS="$lt_save_CFLAGS"
6919 echo "cannot
find nm_test_func
in $nlist" >&5
6922 echo "cannot
find nm_test_var
in $nlist" >&5
6925 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6928 echo "$progname: failed program was
:" >&5
6929 cat conftest.$ac_ext >&5
6931 rm -f conftest* conftst*
6933 # Do not use the global_symbol_pipe unless it works.
6934 if test "$pipe_works" = yes; then
6937 lt_cv_sys_global_symbol_pipe=
6943 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6944 lt_cv_sys_global_symbol_to_cdecl=
6946 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6947 echo "$as_me:$LINENO: result
: failed
" >&5
6948 echo "${ECHO_T}failed
" >&6
6950 echo "$as_me:$LINENO: result
: ok
" >&5
6951 echo "${ECHO_T}ok
" >&6
6971 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6972 if test "${enable_libtool_lock+set}" = set; then
6973 enableval="$enable_libtool_lock"
6976 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6978 # Some flags need to be propagated to the compiler or linker for good
6982 # Find out which ABI we are using.
6983 echo 'int i;' > conftest.$ac_ext
6984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6985 (eval $ac_compile) 2>&5
6987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6988 (exit $ac_status); }; then
6989 case `/usr/bin/file conftest.$ac_objext` in
7001 # Find out which ABI we are using.
7002 echo '#line 7002 "configure
"' > conftest.$ac_ext
7003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7004 (eval $ac_compile) 2>&5
7006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7007 (exit $ac_status); }; then
7008 if test "$lt_cv_prog_gnu_ld" = yes; then
7009 case `/usr/bin/file conftest.$ac_objext` in
7011 LD="${LD-ld} -melf32bsmip"
7014 LD="${LD-ld} -melf32bmipn32"
7017 LD="${LD-ld} -melf64bmip"
7021 case `/usr/bin/file conftest.$ac_objext` in
7037 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7038 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7039 # Find out which ABI we are using.
7040 echo 'int i;' > conftest.$ac_ext
7041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7042 (eval $ac_compile) 2>&5
7044 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7045 (exit $ac_status); }; then
7046 case `/usr/bin/file conftest.o` in
7049 x86_64-*kfreebsd*-gnu)
7050 LD="${LD-ld} -m elf_i386_fbsd
"
7053 LD="${LD-ld} -m elf_i386
"
7055 ppc64-*linux*|powerpc64-*linux*)
7056 LD="${LD-ld} -m elf32ppclinux
"
7059 LD="${LD-ld} -m elf_s390
"
7062 LD="${LD-ld} -m elf32_sparc
"
7068 x86_64-*kfreebsd*-gnu)
7069 LD="${LD-ld} -m elf_x86_64_fbsd
"
7072 LD="${LD-ld} -m elf_x86_64
"
7074 ppc*-*linux*|powerpc*-*linux*)
7075 LD="${LD-ld} -m elf64ppc
"
7077 s390*-*linux*|s390*-*tpf*)
7078 LD="${LD-ld} -m elf64_s390
"
7081 LD="${LD-ld} -m elf64_sparc
"
7091 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7092 SAVE_CFLAGS="$CFLAGS"
7093 CFLAGS="$CFLAGS -belf"
7094 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7095 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7096 if test "${lt_cv_cc_needs_belf+set}" = set; then
7097 echo $ECHO_N "(cached
) $ECHO_C" >&6
7100 ac_cpp='$CPP $CPPFLAGS'
7101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7105 if test x$gcc_no_link = xyes; then
7106 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7107 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7108 { (exit 1); exit 1; }; }
7110 cat >conftest.$ac_ext <<_ACEOF
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7125 rm -f conftest.$ac_objext conftest$ac_exeext
7126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7127 (eval $ac_link) 2>conftest.er1
7129 grep -v '^ *+' conftest.er1 >conftest.err
7131 cat conftest.err >&5
7132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7133 (exit $ac_status); } &&
7134 { ac_try='test -z "$ac_c_werror_flag"
7135 || test ! -s conftest.err'
7136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7140 (exit $ac_status); }; } &&
7141 { ac_try='test -s conftest$ac_exeext'
7142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7146 (exit $ac_status); }; }; then
7147 lt_cv_cc_needs_belf=yes
7149 echo "$as_me: failed program was
:" >&5
7150 sed 's/^/| /' conftest.$ac_ext >&5
7152 lt_cv_cc_needs_belf=no
7154 rm -f conftest.err conftest.$ac_objext \
7155 conftest$ac_exeext conftest.$ac_ext
7157 ac_cpp='$CPP $CPPFLAGS'
7158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7163 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7164 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7165 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7166 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7167 CFLAGS="$SAVE_CFLAGS"
7171 # Find out which ABI we are using.
7172 echo 'int i;' > conftest.$ac_ext
7173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7174 (eval $ac_compile) 2>&5
7176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7177 (exit $ac_status); }; then
7178 case `/usr/bin/file conftest.o` in
7180 case $lt_cv_prog_gnu_ld in
7181 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7182 *) LD="${LD-ld} -64" ;;
7191 need_locks="$enable_libtool_lock"
7194 ac_cpp='$CPP $CPPFLAGS'
7195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7198 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7199 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
7200 # On Suns, sometimes $CPP names a directory.
7201 if test -n "$CPP" && test -d "$CPP"; then
7204 if test -z "$CPP"; then
7205 if test "${ac_cv_prog_CPP+set}" = set; then
7206 echo $ECHO_N "(cached
) $ECHO_C" >&6
7208 # Double quotes because CPP needs to be expanded
7209 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7212 for ac_c_preproc_warn_flag in '' yes
7214 # Use a header file that comes with gcc, so configuring glibc
7215 # with a fresh cross-compiler works.
7216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7217 # <limits.h> exists even on freestanding compilers.
7218 # On the NeXT, cc -E runs the code through the compiler's parser,
7219 # not just through cpp. "Syntax error
" is here to catch this case.
7220 cat >conftest.$ac_ext <<_ACEOF
7223 cat confdefs.h >>conftest.$ac_ext
7224 cat >>conftest.$ac_ext <<_ACEOF
7225 /* end confdefs.h. */
7227 # include <limits.h>
7229 # include <assert.h>
7233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7236 grep -v '^ *+' conftest.er1 >conftest.err
7238 cat conftest.err >&5
7239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7240 (exit $ac_status); } >/dev/null; then
7241 if test -s conftest.err; then
7242 ac_cpp_err=$ac_c_preproc_warn_flag
7243 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7250 if test -z "$ac_cpp_err"; then
7253 echo "$as_me: failed program was
:" >&5
7254 sed 's/^/| /' conftest.$ac_ext >&5
7256 # Broken: fails on valid input.
7259 rm -f conftest.err conftest.$ac_ext
7261 # OK, works on sane cases. Now check whether non-existent headers
7262 # can be detected and how.
7263 cat >conftest.$ac_ext <<_ACEOF
7266 cat confdefs.h >>conftest.$ac_ext
7267 cat >>conftest.$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7269 #include <ac_nonexistent.h>
7271 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7272 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7274 grep -v '^ *+' conftest.er1 >conftest.err
7276 cat conftest.err >&5
7277 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7278 (exit $ac_status); } >/dev/null; then
7279 if test -s conftest.err; then
7280 ac_cpp_err=$ac_c_preproc_warn_flag
7281 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7288 if test -z "$ac_cpp_err"; then
7289 # Broken: success on invalid input.
7292 echo "$as_me: failed program was
:" >&5
7293 sed 's/^/| /' conftest.$ac_ext >&5
7295 # Passes both tests.
7299 rm -f conftest.err conftest.$ac_ext
7302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7303 rm -f conftest.err conftest.$ac_ext
7304 if $ac_preproc_ok; then
7316 echo "$as_me:$LINENO: result
: $CPP" >&5
7317 echo "${ECHO_T}$CPP" >&6
7319 for ac_c_preproc_warn_flag in '' yes
7321 # Use a header file that comes with gcc, so configuring glibc
7322 # with a fresh cross-compiler works.
7323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7324 # <limits.h> exists even on freestanding compilers.
7325 # On the NeXT, cc -E runs the code through the compiler's parser,
7326 # not just through cpp. "Syntax error
" is here to catch this case.
7327 cat >conftest.$ac_ext <<_ACEOF
7330 cat confdefs.h >>conftest.$ac_ext
7331 cat >>conftest.$ac_ext <<_ACEOF
7332 /* end confdefs.h. */
7334 # include <limits.h>
7336 # include <assert.h>
7340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7343 grep -v '^ *+' conftest.er1 >conftest.err
7345 cat conftest.err >&5
7346 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7347 (exit $ac_status); } >/dev/null; then
7348 if test -s conftest.err; then
7349 ac_cpp_err=$ac_c_preproc_warn_flag
7350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7357 if test -z "$ac_cpp_err"; then
7360 echo "$as_me: failed program was
:" >&5
7361 sed 's/^/| /' conftest.$ac_ext >&5
7363 # Broken: fails on valid input.
7366 rm -f conftest.err conftest.$ac_ext
7368 # OK, works on sane cases. Now check whether non-existent headers
7369 # can be detected and how.
7370 cat >conftest.$ac_ext <<_ACEOF
7373 cat confdefs.h >>conftest.$ac_ext
7374 cat >>conftest.$ac_ext <<_ACEOF
7375 /* end confdefs.h. */
7376 #include <ac_nonexistent.h>
7378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7379 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7381 grep -v '^ *+' conftest.er1 >conftest.err
7383 cat conftest.err >&5
7384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7385 (exit $ac_status); } >/dev/null; then
7386 if test -s conftest.err; then
7387 ac_cpp_err=$ac_c_preproc_warn_flag
7388 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7395 if test -z "$ac_cpp_err"; then
7396 # Broken: success on invalid input.
7399 echo "$as_me: failed program was
:" >&5
7400 sed 's/^/| /' conftest.$ac_ext >&5
7402 # Passes both tests.
7406 rm -f conftest.err conftest.$ac_ext
7409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7410 rm -f conftest.err conftest.$ac_ext
7411 if $ac_preproc_ok; then
7414 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
7415 See \
`config.log' for more details." >&5
7416 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7417 See \`config.log
' for more details." >&2;}
7418 { (exit 1); exit 1; }; }
7422 ac_cpp='$CPP $CPPFLAGS'
7423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7424 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7428 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7429 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7430 if test "${ac_cv_header_stdc+set}" = set; then
7431 echo $ECHO_N "(cached) $ECHO_C" >&6
7433 cat >conftest.$ac_ext <<_ACEOF
7436 cat confdefs.h >>conftest.$ac_ext
7437 cat >>conftest.$ac_ext <<_ACEOF
7438 /* end confdefs.h. */
7452 rm -f conftest.$ac_objext
7453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7454 (eval $ac_compile) 2>conftest.er1
7456 grep -v '^
*+' conftest.er1 >conftest.err
7458 cat conftest.err >&5
7459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7460 (exit $ac_status); } &&
7461 { ac_try='test -z "$ac_c_werror_flag"
7462 ||
test ! -s conftest.err
'
7463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }; } &&
7468 { ac_try='test -s conftest.
$ac_objext'
7469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); }; }; then
7474 ac_cv_header_stdc=yes
7476 echo "$as_me: failed program was:" >&5
7477 sed 's
/^
/|
/' conftest.$ac_ext >&5
7479 ac_cv_header_stdc=no
7481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7483 if test $ac_cv_header_stdc = yes; then
7484 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7485 cat >conftest.$ac_ext <<_ACEOF
7488 cat confdefs.h >>conftest.$ac_ext
7489 cat >>conftest.$ac_ext <<_ACEOF
7490 /* end confdefs.h. */
7494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7495 $EGREP "memchr" >/dev/null 2>&1; then
7498 ac_cv_header_stdc=no
7504 if test $ac_cv_header_stdc = yes; then
7505 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7506 cat >conftest.$ac_ext <<_ACEOF
7509 cat confdefs.h >>conftest.$ac_ext
7510 cat >>conftest.$ac_ext <<_ACEOF
7511 /* end confdefs.h. */
7515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7516 $EGREP "free" >/dev/null 2>&1; then
7519 ac_cv_header_stdc=no
7525 if test $ac_cv_header_stdc = yes; then
7526 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7527 if test "$cross_compiling" = yes; then
7530 cat >conftest.$ac_ext <<_ACEOF
7533 cat confdefs.h >>conftest.$ac_ext
7534 cat >>conftest.$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7537 #if ((' ' & 0x0FF) == 0x020)
7538 # define ISLOWER(c) ('a
' <= (c) && (c) <= 'z
')
7539 # define TOUPPER(c) (ISLOWER(c) ? 'A
' + ((c) - 'a
') : (c))
7541 # define ISLOWER(c) \
7542 (('a
' <= (c) && (c) <= 'i
') \
7543 || ('j
' <= (c) && (c) <= 'r
') \
7544 || ('s
' <= (c) && (c) <= 'z
'))
7545 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7548 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7553 for (i = 0; i < 256; i++)
7554 if (XOR (islower (i), ISLOWER (i))
7555 || toupper (i) != TOUPPER (i))
7560 rm -f conftest$ac_exeext
7561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7562 (eval $ac_link) 2>&5
7564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7565 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
7566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); }; }; then
7573 echo "$as_me: program exited with status $ac_status" >&5
7574 echo "$as_me: failed program was:" >&5
7575 sed 's
/^
/|
/' conftest.$ac_ext >&5
7578 ac_cv_header_stdc=no
7580 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7584 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7585 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7586 if test $ac_cv_header_stdc = yes; then
7588 cat >>confdefs.h <<\_ACEOF
7589 #define STDC_HEADERS 1
7594 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7604 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7605 inttypes.h stdint.h unistd.h
7607 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7608 echo "$as_me:$LINENO: checking for $ac_header" >&5
7609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7611 echo $ECHO_N "(cached) $ECHO_C" >&6
7613 cat >conftest.$ac_ext <<_ACEOF
7616 cat confdefs.h >>conftest.$ac_ext
7617 cat >>conftest.$ac_ext <<_ACEOF
7618 /* end confdefs.h. */
7619 $ac_includes_default
7621 #include <$ac_header>
7623 rm -f conftest.$ac_objext
7624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7625 (eval $ac_compile) 2>conftest.er1
7627 grep -v '^
*+' conftest.er1 >conftest.err
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } &&
7632 { ac_try='test -z "$ac_c_werror_flag"
7633 ||
test ! -s conftest.err
'
7634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); }; } &&
7639 { ac_try='test -s conftest.
$ac_objext'
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; }; then
7645 eval "$as_ac_Header=yes"
7647 echo "$as_me: failed program was:" >&5
7648 sed 's
/^
/|
/' conftest.$ac_ext >&5
7650 eval "$as_ac_Header=no"
7652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7657 cat >>confdefs.h <<_ACEOF
7658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7667 for ac_header in dlfcn.h
7669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7670 echo "$as_me:$LINENO: checking for $ac_header" >&5
7671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7673 echo $ECHO_N "(cached) $ECHO_C" >&6
7675 cat >conftest.$ac_ext <<_ACEOF
7678 cat confdefs.h >>conftest.$ac_ext
7679 cat >>conftest.$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7681 $ac_includes_default
7683 #include <$ac_header>
7685 rm -f conftest.$ac_objext
7686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7687 (eval $ac_compile) 2>conftest.er1
7689 grep -v '^
*+' conftest.er1 >conftest.err
7691 cat conftest.err >&5
7692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 (exit $ac_status); } &&
7694 { ac_try='test -z "$ac_c_werror_flag"
7695 ||
test ! -s conftest.err
'
7696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); }; } &&
7701 { ac_try='test -s conftest.
$ac_objext'
7702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7706 (exit $ac_status); }; }; then
7707 eval "$as_ac_Header=yes"
7709 echo "$as_me: failed program was:" >&5
7710 sed 's
/^
/|
/' conftest.$ac_ext >&5
7712 eval "$as_ac_Header=no"
7714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7719 cat >>confdefs.h <<_ACEOF
7720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7730 ac_cpp='$CXXCPP $CPPFLAGS'
7731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
7732 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
7733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7734 if test -n "$ac_tool_prefix"; then
7735 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7737 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7739 echo "$as_me:$LINENO: checking for $ac_word" >&5
7740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7741 if test "${ac_cv_prog_CXX+set}" = set; then
7742 echo $ECHO_N "(cached) $ECHO_C" >&6
7744 if test -n "$CXX"; then
7745 ac_cv_prog_CXX="$CXX" # Let the user override the test.
7747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir=.
7752 for ac_exec_ext in '' $ac_executable_extensions; do
7753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7764 if test -n "$CXX"; then
7765 echo "$as_me:$LINENO: result: $CXX" >&5
7766 echo "${ECHO_T}$CXX" >&6
7768 echo "$as_me:$LINENO: result: no" >&5
7769 echo "${ECHO_T}no" >&6
7772 test -n "$CXX" && break
7775 if test -z "$CXX"; then
7777 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
7779 # Extract the first word of "$ac_prog", so it can be a program name with args.
7780 set dummy $ac_prog; ac_word=$2
7781 echo "$as_me:$LINENO: checking for $ac_word" >&5
7782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7783 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7784 echo $ECHO_N "(cached) $ECHO_C" >&6
7786 if test -n "$ac_ct_CXX"; then
7787 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7793 test -z "$as_dir" && as_dir=.
7794 for ac_exec_ext in '' $ac_executable_extensions; do
7795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7796 ac_cv_prog_ac_ct_CXX="$ac_prog"
7797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7805 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7806 if test -n "$ac_ct_CXX"; then
7807 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7808 echo "${ECHO_T}$ac_ct_CXX" >&6
7810 echo "$as_me:$LINENO: result: no" >&5
7811 echo "${ECHO_T}no" >&6
7814 test -n "$ac_ct_CXX" && break
7816 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
7822 # Provide some information about the compiler.
7823 echo "$as_me:$LINENO:" \
7824 "checking for C++ compiler version" >&5
7825 ac_compiler=`set X $ac_compile; echo $2`
7826 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
7827 (eval $ac_compiler --version </dev/null >&5) 2>&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }
7831 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
7832 (eval $ac_compiler -v </dev/null >&5) 2>&5
7834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835 (exit $ac_status); }
7836 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
7837 (eval $ac_compiler -V </dev/null >&5) 2>&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }
7842 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7843 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
7844 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7845 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 cat >conftest.$ac_ext <<_ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7865 rm -f conftest.$ac_objext
7866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7867 (eval $ac_compile) 2>conftest.er1
7869 grep -v '^
*+' conftest.er1 >conftest.err
7871 cat conftest.err >&5
7872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873 (exit $ac_status); } &&
7874 { ac_try='test -z "$ac_cxx_werror_flag"
7875 ||
test ! -s conftest.err
'
7876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); }; } &&
7881 { ac_try='test -s conftest.
$ac_objext'
7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; }; then
7889 echo "$as_me: failed program was:" >&5
7890 sed 's
/^
/|
/' conftest.$ac_ext >&5
7894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7895 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7898 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7899 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
7900 GXX=`test $ac_compiler_gnu = yes && echo yes`
7901 ac_test_CXXFLAGS=${CXXFLAGS+set}
7902 ac_save_CXXFLAGS=$CXXFLAGS
7904 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7905 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
7906 if test "${ac_cv_prog_cxx_g+set}" = set; then
7907 echo $ECHO_N "(cached) $ECHO_C" >&6
7909 cat >conftest.$ac_ext <<_ACEOF
7912 cat confdefs.h >>conftest.$ac_ext
7913 cat >>conftest.$ac_ext <<_ACEOF
7914 /* end confdefs.h. */
7924 rm -f conftest.$ac_objext
7925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7926 (eval $ac_compile) 2>conftest.er1
7928 grep -v '^
*+' conftest.er1 >conftest.err
7930 cat conftest.err >&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } &&
7933 { ac_try='test -z "$ac_cxx_werror_flag"
7934 ||
test ! -s conftest.err
'
7935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7939 (exit $ac_status); }; } &&
7940 { ac_try='test -s conftest.
$ac_objext'
7941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945 (exit $ac_status); }; }; then
7946 ac_cv_prog_cxx_g=yes
7948 echo "$as_me: failed program was:" >&5
7949 sed 's
/^
/|
/' conftest.$ac_ext >&5
7953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7955 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7956 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7957 if test "$ac_test_CXXFLAGS" = set; then
7958 CXXFLAGS=$ac_save_CXXFLAGS
7959 elif test $ac_cv_prog_cxx_g = yes; then
7960 if test "$GXX" = yes; then
7966 if test "$GXX" = yes; then
7972 for ac_declaration in \
7974 'extern
"C" void std
::exit (int
) throw
(); using std
::exit;' \
7975 'extern
"C" void std
::exit (int
); using std
::exit;' \
7976 'extern
"C" void
exit (int
) throw
();' \
7977 'extern
"C" void
exit (int
);' \
7980 cat >conftest.$ac_ext <<_ACEOF
7983 cat confdefs.h >>conftest.$ac_ext
7984 cat >>conftest.$ac_ext <<_ACEOF
7985 /* end confdefs.h. */
7996 rm -f conftest.$ac_objext
7997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7998 (eval $ac_compile) 2>conftest.er1
8000 grep -v '^
*+' conftest.er1 >conftest.err
8002 cat conftest.err >&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); } &&
8005 { ac_try='test -z "$ac_cxx_werror_flag"
8006 ||
test ! -s conftest.err
'
8007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); }; } &&
8012 { ac_try='test -s conftest.
$ac_objext'
8013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); }; }; then
8020 echo "$as_me: failed program was:" >&5
8021 sed 's
/^
/|
/' conftest.$ac_ext >&5
8025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8026 cat >conftest.$ac_ext <<_ACEOF
8029 cat confdefs.h >>conftest.$ac_ext
8030 cat >>conftest.$ac_ext <<_ACEOF
8031 /* end confdefs.h. */
8041 rm -f conftest.$ac_objext
8042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8043 (eval $ac_compile) 2>conftest.er1
8045 grep -v '^
*+' conftest.er1 >conftest.err
8047 cat conftest.err >&5
8048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049 (exit $ac_status); } &&
8050 { ac_try='test -z "$ac_cxx_werror_flag"
8051 ||
test ! -s conftest.err
'
8052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); }; } &&
8057 { ac_try='test -s conftest.
$ac_objext'
8058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); }; }; then
8065 echo "$as_me: failed program was:" >&5
8066 sed 's
/^
/|
/' conftest.$ac_ext >&5
8069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8072 if test -n "$ac_declaration"; then
8073 echo '#ifdef __cplusplus' >>confdefs.h
8074 echo $ac_declaration >>confdefs.h
8075 echo '#endif' >>confdefs.h
8079 ac_cpp
='$CPP $CPPFLAGS'
8080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8084 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8085 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8086 (test "X$CXX" != "Xg++"))) ; then
8088 ac_cpp
='$CXXCPP $CPPFLAGS'
8089 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8090 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8091 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8092 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8093 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8094 if test -z "$CXXCPP"; then
8095 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8098 # Double quotes because CXXCPP needs to be expanded
8099 for CXXCPP
in "$CXX -E" "/lib/cpp"
8102 for ac_cxx_preproc_warn_flag
in '' yes
8104 # Use a header file that comes with gcc, so configuring glibc
8105 # with a fresh cross-compiler works.
8106 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8107 # <limits.h> exists even on freestanding compilers.
8108 # On the NeXT, cc -E runs the code through the compiler's parser,
8109 # not just through cpp. "Syntax error" is here to catch this case.
8110 cat >conftest.
$ac_ext <<_ACEOF
8113 cat confdefs.h
>>conftest.
$ac_ext
8114 cat >>conftest.
$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8117 # include <limits.h>
8119 # include <assert.h>
8123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8124 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8126 grep -v '^ *+' conftest.er1
>conftest.err
8128 cat conftest.err
>&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } >/dev
/null
; then
8131 if test -s conftest.err
; then
8132 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8133 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8140 if test -z "$ac_cpp_err"; then
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.
$ac_ext >&5
8146 # Broken: fails on valid input.
8149 rm -f conftest.err conftest.
$ac_ext
8151 # OK, works on sane cases. Now check whether non-existent headers
8152 # can be detected and how.
8153 cat >conftest.
$ac_ext <<_ACEOF
8156 cat confdefs.h
>>conftest.
$ac_ext
8157 cat >>conftest.
$ac_ext <<_ACEOF
8158 /* end confdefs.h. */
8159 #include <ac_nonexistent.h>
8161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8162 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8164 grep -v '^ *+' conftest.er1
>conftest.err
8166 cat conftest.err
>&5
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); } >/dev
/null
; then
8169 if test -s conftest.err
; then
8170 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8171 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8178 if test -z "$ac_cpp_err"; then
8179 # Broken: success on invalid input.
8182 echo "$as_me: failed program was:" >&5
8183 sed 's/^/| /' conftest.
$ac_ext >&5
8185 # Passes both tests.
8189 rm -f conftest.err conftest.
$ac_ext
8192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8193 rm -f conftest.err conftest.
$ac_ext
8194 if $ac_preproc_ok; then
8199 ac_cv_prog_CXXCPP
=$CXXCPP
8202 CXXCPP
=$ac_cv_prog_CXXCPP
8204 ac_cv_prog_CXXCPP
=$CXXCPP
8206 echo "$as_me:$LINENO: result: $CXXCPP" >&5
8207 echo "${ECHO_T}$CXXCPP" >&6
8209 for ac_cxx_preproc_warn_flag
in '' yes
8211 # Use a header file that comes with gcc, so configuring glibc
8212 # with a fresh cross-compiler works.
8213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8214 # <limits.h> exists even on freestanding compilers.
8215 # On the NeXT, cc -E runs the code through the compiler's parser,
8216 # not just through cpp. "Syntax error" is here to catch this case.
8217 cat >conftest.
$ac_ext <<_ACEOF
8220 cat confdefs.h
>>conftest.
$ac_ext
8221 cat >>conftest.
$ac_ext <<_ACEOF
8222 /* end confdefs.h. */
8224 # include <limits.h>
8226 # include <assert.h>
8230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8231 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8233 grep -v '^ *+' conftest.er1
>conftest.err
8235 cat conftest.err
>&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); } >/dev
/null
; then
8238 if test -s conftest.err
; then
8239 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8240 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8247 if test -z "$ac_cpp_err"; then
8250 echo "$as_me: failed program was:" >&5
8251 sed 's/^/| /' conftest.
$ac_ext >&5
8253 # Broken: fails on valid input.
8256 rm -f conftest.err conftest.
$ac_ext
8258 # OK, works on sane cases. Now check whether non-existent headers
8259 # can be detected and how.
8260 cat >conftest.
$ac_ext <<_ACEOF
8263 cat confdefs.h
>>conftest.
$ac_ext
8264 cat >>conftest.
$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8266 #include <ac_nonexistent.h>
8268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8271 grep -v '^ *+' conftest.er1
>conftest.err
8273 cat conftest.err
>&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); } >/dev
/null
; then
8276 if test -s conftest.err
; then
8277 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8278 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8285 if test -z "$ac_cpp_err"; then
8286 # Broken: success on invalid input.
8289 echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.
$ac_ext >&5
8292 # Passes both tests.
8296 rm -f conftest.err conftest.
$ac_ext
8299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8300 rm -f conftest.err conftest.
$ac_ext
8301 if $ac_preproc_ok; then
8304 _lt_caught_CXX_error
=yes
8308 ac_cpp
='$CPP $CPPFLAGS'
8309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8314 _lt_caught_CXX_error
=yes
8321 # This can be used to rebuild libtool when needed
8322 LIBTOOL_DEPS
="$ltmain"
8324 # Always use our own libtool.
8325 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8351 test -z "$LN_S" && LN_S
="ln -s"
8366 if test -n "${ZSH_VERSION+set}" ; then
8367 setopt NO_GLOB_SUBST
8370 echo "$as_me:$LINENO: checking for objdir" >&5
8371 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
8372 if test "${lt_cv_objdir+set}" = set; then
8373 echo $ECHO_N "(cached) $ECHO_C" >&6
8375 rm -f .libs
2>/dev
/null
8376 mkdir .libs
2>/dev
/null
8377 if test -d .libs
; then
8380 # MS-DOS does not allow filenames that begin with a dot.
8383 rmdir .libs
2>/dev
/null
8385 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8386 echo "${ECHO_T}$lt_cv_objdir" >&6
8387 objdir
=$lt_cv_objdir
8393 cat >>confdefs.h
<<_ACEOF
8394 #define LT_OBJDIR "$lt_cv_objdir/"
8415 # AIX sometimes has problems with the GCC collect2 program. For some
8416 # reason, if we set the COLLECT_NAMES environment variable, the problems
8417 # vanish in a puff of smoke.
8418 if test "X${COLLECT_NAMES+set}" != Xset
; then
8420 export COLLECT_NAMES
8425 # Sed substitution that helps us do robust quoting. It backslashifies
8426 # metacharacters that are still active within double-quoted strings.
8427 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8429 # Same as above, but do not quote variable references.
8430 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8432 # Sed substitution to delay expansion of an escaped shell variable in a
8433 # double_quote_subst'ed string.
8434 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8436 # Sed substitution to delay expansion of an escaped single quote.
8437 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8439 # Sed substitution to avoid accidental globbing in evaled expressions
8440 no_glob_subst
='s/\*/\\\*/g'
8444 can_build_shared
=yes
8446 # All known linkers require a `.a' archive for static linking (except MSVC,
8447 # which needs '.lib').
8450 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8453 old_CFLAGS
="$CFLAGS"
8455 # Set sane defaults for various variables
8456 test -z "$CC" && CC
=cc
8457 test -z "$LTCC" && LTCC
=$CC
8458 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8459 test -z "$LD" && LD
=ld
8460 test -z "$ac_objext" && ac_objext
=o
8462 for cc_temp
in $compiler""; do
8464 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8465 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8470 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8473 # Only perform the check for file, if the check method requires it
8474 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8475 case $deplibs_check_method in
8477 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8478 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8479 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
8480 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8481 echo $ECHO_N "(cached) $ECHO_C" >&6
8485 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8488 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8489 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8490 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8491 for ac_dir
in $ac_dummy; do
8493 test -z "$ac_dir" && ac_dir
=.
8494 if test -f $ac_dir/${ac_tool_prefix}file; then
8495 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8496 if test -n "$file_magic_test_file"; then
8497 case $deplibs_check_method in
8499 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8500 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8501 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8502 $EGREP "$file_magic_regex" > /dev
/null
; then
8507 *** Warning: the command libtool uses to detect shared libraries,
8508 *** $file_magic_cmd, produces output that libtool cannot recognize.
8509 *** The result is that libtool may fail to recognize shared libraries
8510 *** as such. This will affect the creation of libtool libraries that
8511 *** depend on shared libraries, but programs linked with such libtool
8512 *** libraries will work regardless of this problem. Nevertheless, you
8513 *** may want to report the problem to your system manager and/or to
8514 *** bug-libtool@gnu.org
8524 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8529 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8530 if test -n "$MAGIC_CMD"; then
8531 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8532 echo "${ECHO_T}$MAGIC_CMD" >&6
8534 echo "$as_me:$LINENO: result: no" >&5
8535 echo "${ECHO_T}no" >&6
8542 if test -z "$lt_cv_path_MAGIC_CMD"; then
8543 if test -n "$ac_tool_prefix"; then
8544 echo "$as_me:$LINENO: checking for file" >&5
8545 echo $ECHO_N "checking for file... $ECHO_C" >&6
8546 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8547 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8554 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8555 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8556 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8557 for ac_dir
in $ac_dummy; do
8559 test -z "$ac_dir" && ac_dir
=.
8560 if test -f $ac_dir/file; then
8561 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8562 if test -n "$file_magic_test_file"; then
8563 case $deplibs_check_method in
8565 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8566 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8567 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8568 $EGREP "$file_magic_regex" > /dev
/null
; then
8573 *** Warning: the command libtool uses to detect shared libraries,
8574 *** $file_magic_cmd, produces output that libtool cannot recognize.
8575 *** The result is that libtool may fail to recognize shared libraries
8576 *** as such. This will affect the creation of libtool libraries that
8577 *** depend on shared libraries, but programs linked with such libtool
8578 *** libraries will work regardless of this problem. Nevertheless, you
8579 *** may want to report the problem to your system manager and/or to
8580 *** bug-libtool@gnu.org
8590 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8595 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8596 if test -n "$MAGIC_CMD"; then
8597 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8598 echo "${ECHO_T}$MAGIC_CMD" >&6
8600 echo "$as_me:$LINENO: result: no" >&5
8601 echo "${ECHO_T}no" >&6
8614 # Use C for the default configuration in the libtool script
8618 ac_cpp
='$CPP $CPPFLAGS'
8619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8624 # Source file extension for C test sources.
8627 # Object file extension for compiled C test sources.
8631 # Code to be used in simple compile tests
8632 lt_simple_compile_test_code
="int some_variable = 0;"
8634 # Code to be used in simple link tests
8635 lt_simple_link_test_code
='int main(){return(0);}'
8643 # If no C compiler was specified, use CC.
8646 # If no C compiler flags were specified, use CFLAGS.
8647 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8649 # Allow CC to be a program name with arguments.
8652 # Save the default compiler, since it gets overwritten when the other
8653 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8654 compiler_DEFAULT
=$CC
8656 # save warnings/boilerplate of simple test code
8657 ac_outfile
=conftest.
$ac_objext
8658 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8659 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8660 _lt_compiler_boilerplate
=`cat conftest.err`
8663 ac_outfile
=conftest.
$ac_objext
8664 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8665 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8666 _lt_linker_boilerplate
=`cat conftest.err`
8671 ## There is no encapsulation within the following macros, do not change
8672 ## the running order or otherwise move them around unless you know exactly
8673 ## what you are doing...
8674 if test -n "$compiler"; then
8676 lt_prog_compiler_no_builtin_flag
=
8678 if test "$GCC" = yes; then
8679 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8681 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8682 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
8683 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 lt_cv_prog_compiler_rtti_exceptions
=no
8687 ac_outfile
=conftest.
$ac_objext
8688 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8689 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8690 # Insert the option either (1) after the last *FLAGS variable, or
8691 # (2) before a word containing "conftest.", or (3) at the end.
8692 # Note that $ac_compile itself does not contain backslashes and begins
8693 # with a dollar sign (not a hyphen), so the echo should work correctly.
8694 # The option is referenced via a variable to avoid confusing sed.
8695 lt_compile
=`echo "$ac_compile" | $SED \
8696 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8697 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8698 -e 's:$: $lt_compiler_flag:'`
8699 (eval echo "\"\$as_me:8699: $lt_compile\"" >&5)
8700 (eval "$lt_compile" 2>conftest.err
)
8702 cat conftest.err
>&5
8703 echo "$as_me:8703: \$? = $ac_status" >&5
8704 if (exit $ac_status) && test -s "$ac_outfile"; then
8705 # The compiler can only warn and ignore the option if not recognized
8706 # So say no if there are warnings other than the usual output.
8707 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8708 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8709 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8710 lt_cv_prog_compiler_rtti_exceptions
=yes
8716 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8717 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
8719 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8720 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8732 lt_prog_compiler_wl
=
8733 lt_prog_compiler_pic
=
8734 lt_prog_compiler_static
=
8736 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8737 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8739 if test "$GCC" = yes; then
8740 lt_prog_compiler_wl
='-Wl,'
8741 lt_prog_compiler_static
='-static'
8745 # All AIX code is PIC.
8746 if test "$host_cpu" = ia64
; then
8747 # AIX 5 now supports IA64 processor
8748 lt_prog_compiler_static
='-Bstatic'
8753 if test "$host_cpu" = m68k
; then
8754 # FIXME: we need at least 68020 code to build shared libraries, but
8755 # adding the `-m68020' flag to GCC prevents building anything better,
8757 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8761 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8762 # PIC is the default for these OSes.
8765 mingw
* | cygwin
* | pw32
* | os2
*)
8766 # This hack is so that the source file can tell whether it is being
8767 # built for inclusion in a dll (and should export symbols for example).
8768 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8769 # (--disable-auto-import) libraries
8770 lt_prog_compiler_pic
='-DDLL_EXPORT'
8773 darwin
* | rhapsody
*)
8774 # PIC is the default on this platform
8775 # Common symbols not allowed in MH_DYLIB files
8776 lt_prog_compiler_pic
='-fno-common'
8780 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8787 lt_prog_compiler_pic
='-fPIC'
8793 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8794 # Instead, we relocate shared libraries at runtime.
8798 # Just because we use GCC doesn't mean we suddenly get shared libraries
8799 # on systems that don't support them.
8800 lt_prog_compiler_can_build_shared
=no
8805 # QNX uses GNU C++, but need to define -shared option too, otherwise
8807 lt_prog_compiler_pic
='-fPIC -shared'
8811 if test -d /usr
/nec
; then
8812 lt_prog_compiler_pic
=-Kconform_pic
8817 lt_prog_compiler_pic
='-fPIC'
8821 # PORTME Check for flag to pass linker flags through the system compiler.
8824 lt_prog_compiler_wl
='-Wl,'
8825 if test "$host_cpu" = ia64
; then
8826 # AIX 5 now supports IA64 processor
8827 lt_prog_compiler_static
='-Bstatic'
8829 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8833 # PIC is the default on this platform
8834 # Common symbols not allowed in MH_DYLIB files
8835 case $cc_basename in
8837 lt_prog_compiler_pic
='-qnocommon'
8838 lt_prog_compiler_wl
='-Wl,'
8843 mingw
* | cygwin
* | pw32
* | os2
*)
8844 # This hack is so that the source file can tell whether it is being
8845 # built for inclusion in a dll (and should export symbols for example).
8846 lt_prog_compiler_pic
='-DDLL_EXPORT'
8849 hpux9
* | hpux10
* | hpux11
*)
8850 lt_prog_compiler_wl
='-Wl,'
8851 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8858 lt_prog_compiler_pic
='+Z'
8861 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8862 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8865 irix5
* | irix6
* | nonstopux
*)
8866 lt_prog_compiler_wl
='-Wl,'
8867 # PIC (with -KPIC) is the default.
8868 lt_prog_compiler_static
='-non_shared'
8871 linux
* | k
*bsd
*-gnu)
8872 case $cc_basename in
8874 lt_prog_compiler_wl
='-Wl,'
8875 lt_prog_compiler_pic
='-KPIC'
8876 lt_prog_compiler_static
='-static'
8878 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8879 # Portland Group compilers (*not* the Pentium gcc compiler,
8880 # which looks to be a dead project)
8881 lt_prog_compiler_wl
='-Wl,'
8882 lt_prog_compiler_pic
='-fpic'
8883 lt_prog_compiler_static
='-Bstatic'
8886 lt_prog_compiler_wl
='-Wl,'
8887 # All Alpha code is PIC.
8888 lt_prog_compiler_static
='-non_shared'
8891 case `$CC -V 2>&1 | sed 5q` in
8894 lt_prog_compiler_pic
='-KPIC'
8895 lt_prog_compiler_static
='-Bstatic'
8896 lt_prog_compiler_wl
='-Wl,'
8899 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8900 lt_prog_compiler_pic
='-KPIC'
8901 lt_prog_compiler_static
='-Bstatic'
8902 lt_prog_compiler_wl
=''
8910 lt_prog_compiler_pic
='-KPIC'
8911 lt_prog_compiler_static
='-Bstatic'
8915 # QNX uses GNU C++, but need to define -shared option too, otherwise
8917 lt_prog_compiler_pic
='-fPIC -shared'
8920 osf3
* | osf4
* | osf5
*)
8921 lt_prog_compiler_wl
='-Wl,'
8922 # All OSF/1 code is PIC.
8923 lt_prog_compiler_static
='-non_shared'
8927 lt_prog_compiler_static
='-non_shared'
8931 lt_prog_compiler_pic
='-KPIC'
8932 lt_prog_compiler_static
='-Bstatic'
8933 case $cc_basename in
8935 lt_prog_compiler_wl
='-Qoption ld ';;
8937 lt_prog_compiler_wl
='-Wl,';;
8942 lt_prog_compiler_wl
='-Qoption ld '
8943 lt_prog_compiler_pic
='-PIC'
8944 lt_prog_compiler_static
='-Bstatic'
8947 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8948 lt_prog_compiler_wl
='-Wl,'
8949 lt_prog_compiler_pic
='-KPIC'
8950 lt_prog_compiler_static
='-Bstatic'
8954 if test -d /usr
/nec
;then
8955 lt_prog_compiler_pic
='-Kconform_pic'
8956 lt_prog_compiler_static
='-Bstatic'
8960 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8961 lt_prog_compiler_wl
='-Wl,'
8962 lt_prog_compiler_pic
='-KPIC'
8963 lt_prog_compiler_static
='-Bstatic'
8967 lt_prog_compiler_wl
='-Wl,'
8968 lt_prog_compiler_can_build_shared
=no
8972 lt_prog_compiler_pic
='-pic'
8973 lt_prog_compiler_static
='-Bstatic'
8977 lt_prog_compiler_can_build_shared
=no
8983 # For platforms which do not support PIC, -DPIC is meaningless:
8985 lt_prog_compiler_pic
=
8988 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8991 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8992 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9000 # Check to make sure the PIC flag actually works.
9002 if test -n "$lt_prog_compiler_pic"; then
9003 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9004 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9005 if test "${lt_prog_compiler_pic_works+set}" = set; then
9006 echo $ECHO_N "(cached) $ECHO_C" >&6
9008 lt_prog_compiler_pic_works
=no
9009 ac_outfile
=conftest.
$ac_objext
9010 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9011 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9012 # Insert the option either (1) after the last *FLAGS variable, or
9013 # (2) before a word containing "conftest.", or (3) at the end.
9014 # Note that $ac_compile itself does not contain backslashes and begins
9015 # with a dollar sign (not a hyphen), so the echo should work correctly.
9016 # The option is referenced via a variable to avoid confusing sed.
9017 lt_compile
=`echo "$ac_compile" | $SED \
9018 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9019 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9020 -e 's:$: $lt_compiler_flag:'`
9021 (eval echo "\"\$as_me:9021: $lt_compile\"" >&5)
9022 (eval "$lt_compile" 2>conftest.err
)
9024 cat conftest.err
>&5
9025 echo "$as_me:9025: \$? = $ac_status" >&5
9026 if (exit $ac_status) && test -s "$ac_outfile"; then
9027 # The compiler can only warn and ignore the option if not recognized
9028 # So say no if there are warnings other than the usual output.
9029 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9030 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9031 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9032 lt_prog_compiler_pic_works
=yes
9038 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
9039 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
9041 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
9042 case $lt_prog_compiler_pic in
9044 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9047 lt_prog_compiler_pic
=
9048 lt_prog_compiler_can_build_shared
=no
9059 # Check to make sure the static flag actually works.
9061 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9062 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9063 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9064 if test "${lt_prog_compiler_static_works+set}" = set; then
9065 echo $ECHO_N "(cached) $ECHO_C" >&6
9067 lt_prog_compiler_static_works
=no
9068 save_LDFLAGS
="$LDFLAGS"
9069 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9070 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9071 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9072 # The linker can only warn and ignore the option if not recognized
9073 # So say no if there are warnings
9074 if test -s conftest.err
; then
9075 # Append any errors to the config.log.
9076 cat conftest.err
1>&5
9077 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9078 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9079 if diff conftest.exp conftest.er2
>/dev
/null
; then
9080 lt_prog_compiler_static_works
=yes
9083 lt_prog_compiler_static_works
=yes
9087 LDFLAGS
="$save_LDFLAGS"
9090 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
9091 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
9093 if test x
"$lt_prog_compiler_static_works" = xyes
; then
9096 lt_prog_compiler_static
=
9105 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9106 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9107 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9108 echo $ECHO_N "(cached) $ECHO_C" >&6
9110 lt_cv_prog_compiler_c_o
=no
9111 $RM -r conftest
2>/dev
/null
9115 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9117 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9118 # Insert the option either (1) after the last *FLAGS variable, or
9119 # (2) before a word containing "conftest.", or (3) at the end.
9120 # Note that $ac_compile itself does not contain backslashes and begins
9121 # with a dollar sign (not a hyphen), so the echo should work correctly.
9122 lt_compile
=`echo "$ac_compile" | $SED \
9123 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9124 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9125 -e 's:$: $lt_compiler_flag:'`
9126 (eval echo "\"\$as_me:9126: $lt_compile\"" >&5)
9127 (eval "$lt_compile" 2>out
/conftest.err
)
9129 cat out
/conftest.err
>&5
9130 echo "$as_me:9130: \$? = $ac_status" >&5
9131 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9133 # The compiler can only warn and ignore the option if not recognized
9134 # So say no if there are warnings
9135 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9136 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9137 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9138 lt_cv_prog_compiler_c_o
=yes
9143 # SGI C++ compiler will create directory out/ii_files/ for
9144 # template instantiation
9145 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9146 $RM out
/* && rmdir out
9152 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9153 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9160 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9161 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9162 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 lt_cv_prog_compiler_c_o
=no
9166 $RM -r conftest
2>/dev
/null
9170 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9172 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9173 # Insert the option either (1) after the last *FLAGS variable, or
9174 # (2) before a word containing "conftest.", or (3) at the end.
9175 # Note that $ac_compile itself does not contain backslashes and begins
9176 # with a dollar sign (not a hyphen), so the echo should work correctly.
9177 lt_compile
=`echo "$ac_compile" | $SED \
9178 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9179 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9180 -e 's:$: $lt_compiler_flag:'`
9181 (eval echo "\"\$as_me:9181: $lt_compile\"" >&5)
9182 (eval "$lt_compile" 2>out
/conftest.err
)
9184 cat out
/conftest.err
>&5
9185 echo "$as_me:9185: \$? = $ac_status" >&5
9186 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9188 # The compiler can only warn and ignore the option if not recognized
9189 # So say no if there are warnings
9190 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9191 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9192 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9193 lt_cv_prog_compiler_c_o
=yes
9198 # SGI C++ compiler will create directory out/ii_files/ for
9199 # template instantiation
9200 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9201 $RM out
/* && rmdir out
9207 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9208 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
9213 hard_links
="nottested"
9214 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9215 # do not overwrite the value of need_locks provided by the user
9216 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9217 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9220 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9222 ln conftest.a conftest.b
2>&5 || hard_links
=no
9223 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9224 echo "$as_me:$LINENO: result: $hard_links" >&5
9225 echo "${ECHO_T}$hard_links" >&6
9226 if test "$hard_links" = no
; then
9227 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9228 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9240 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9241 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9244 allow_undefined_flag
=
9245 always_export_symbols
=no
9247 archive_expsym_cmds
=
9248 compiler_needs_object
=no
9249 enable_shared_with_static_runtimes
=no
9250 export_dynamic_flag_spec
=
9251 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9252 hardcode_automatic
=no
9254 hardcode_direct_absolute
=no
9255 hardcode_libdir_flag_spec
=
9256 hardcode_libdir_flag_spec_ld
=
9257 hardcode_libdir_separator
=
9259 hardcode_shlibpath_var
=unsupported
9261 link_all_deplibs
=unknown
9264 old_archive_from_new_cmds
=
9265 old_archive_from_expsyms_cmds
=
9266 thread_safe_flag_spec
=
9267 whole_archive_flag_spec
=
9268 # include_expsyms should be a list of space-separated symbols to be *always*
9269 # included in the symbol list
9271 # exclude_expsyms can be an extended regexp of symbols to exclude
9272 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9273 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9274 # as well as any symbol that contains `d'.
9275 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
9276 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9277 # platforms (ab)use it in PIC code, but their linkers get confused if
9278 # the symbol is explicitly referenced. Since portable code cannot
9279 # rely on this symbol name, it's probably fine to never include it in
9280 # preloaded symbol tables.
9281 extract_expsyms_cmds
=
9284 cygwin
* | mingw
* | pw32
*)
9285 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9286 # When not using gcc, we currently assume that we are using
9287 # Microsoft Visual C++.
9288 if test "$GCC" != yes; then
9293 # we just hope/assume this is gcc and not c89 (= MSVC++)
9302 if test "$with_gnu_ld" = yes; then
9303 # If archive_cmds runs LD, not CC, wlarc should be empty
9306 # Set some defaults for GNU ld with shared library support. These
9307 # are reset later if shared libraries are not supported. Putting them
9308 # here allows them to be overridden if necessary.
9309 runpath_var
=LD_RUN_PATH
9310 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9311 export_dynamic_flag_spec
='${wl}--export-dynamic'
9312 # ancient GNU ld didn't support --whole-archive et. al.
9313 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9314 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9316 whole_archive_flag_spec
=
9318 supports_anon_versioning
=no
9319 case `$LD -v 2>&1` in
9320 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9321 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9322 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9323 *\
2.11.
*) ;; # other 2.11 versions
9324 *) supports_anon_versioning
=yes ;;
9327 # See if GNU ld supports shared libraries.
9329 aix3
* | aix4
* | aix5
*)
9330 # On AIX/PPC, the GNU linker is very broken
9331 if test "$host_cpu" != ia64
; then
9335 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9336 *** to be unable to reliably create shared libraries on AIX.
9337 *** Therefore, libtool is disabling shared libraries support. If you
9338 *** really care for shared libraries, you may want to modify your PATH
9339 *** so that a non-GNU linker is found, and then restart.
9346 if test "$host_cpu" = m68k
; then
9347 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)'
9348 hardcode_libdir_flag_spec
='-L$libdir'
9349 hardcode_minus_L
=yes
9352 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
9353 # that the semantics of dynamic libraries on AmigaOS, at least up
9354 # to version 4, is to share data among multiple programs linked
9355 # with the same dynamic library. Since this doesn't match the
9356 # behavior of shared libraries on other platforms, we can't use
9362 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9363 allow_undefined_flag
=unsupported
9364 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9365 # support --undefined. This deserves some investigation. FIXME
9366 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9372 cygwin
* | mingw
* | pw32
*)
9373 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9374 # as there is no search path for DLLs.
9375 hardcode_libdir_flag_spec
='-L$libdir'
9376 allow_undefined_flag
=unsupported
9377 always_export_symbols
=no
9378 enable_shared_with_static_runtimes
=yes
9379 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9381 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9382 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9383 # If the export-symbols file already is a .def file (1st line
9384 # is EXPORTS), use it as is; otherwise, prepend...
9385 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9386 cp $export_symbols $output_objdir/$soname.def;
9388 echo EXPORTS > $output_objdir/$soname.def;
9389 cat $export_symbols >> $output_objdir/$soname.def;
9391 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9399 hardcode_shlibpath_var
=no
9400 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9401 export_dynamic_flag_spec
='${wl}-E'
9402 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9403 # Instead, shared libraries are loaded at an image base (0x10000000 by
9404 # default) and relocated if they conflict, which is a slow very memory
9405 # consuming and fragmenting process. To avoid this, we pick a random,
9406 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9407 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9408 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9409 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'
9412 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9414 if test "$host_os" = linux-dietlibc
; then
9415 case $cc_basename in
9416 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9419 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9420 && test "$tmp_diet" = no
9423 case $cc_basename,$host_cpu in
9424 pgcc
*) # Portland Group C compiler
9425 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'
9426 tmp_addflag
=' $pic_flag'
9428 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9429 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'
9430 tmp_addflag
=' $pic_flag -Mnomain' ;;
9431 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9432 tmp_addflag
=' -i_dynamic' ;;
9433 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9434 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9435 ifc
* | ifort
*) # Intel Fortran compiler
9436 tmp_addflag
=' -nofor_main' ;;
9438 case `$CC -V 2>&1 | sed 5q` in
9439 *Sun\ C
*) # Sun C 5.9
9440 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'
9441 compiler_needs_object
=yes
9442 tmp_sharedflag
='-G' ;;
9443 *Sun\ F
*) # Sun Fortran 8.3
9444 tmp_sharedflag
='-G' ;;
9446 tmp_sharedflag
='-shared' ;;
9448 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450 if test "x$supports_anon_versioning" = xyes
; then
9451 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9452 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9453 echo "local: *; };" >> $output_objdir/$libname.ver~
9454 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9462 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9463 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9466 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9467 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9472 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9476 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9477 *** create shared libraries on Solaris systems. Therefore, libtool
9478 *** is disabling shared libraries support. We urge you to upgrade GNU
9479 *** binutils to release 2.9.1 or newer. Another option is to modify
9480 *** your PATH or compiler configuration so that the native linker is
9481 *** used, and then restart.
9484 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9485 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9486 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9492 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9493 case `$LD -v 2>&1` in
9494 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9498 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9499 *** reliably create shared libraries on SCO systems. Therefore, libtool
9500 *** is disabling shared libraries support. We urge you to upgrade GNU
9501 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9502 *** your PATH or compiler configuration so that the native linker is
9503 *** used, and then restart.
9508 # For security reasons, it is highly recommended that you always
9509 # use absolute paths for naming shared libraries, and exclude the
9510 # DT_RUNPATH tag from executables and libraries. But doing so
9511 # requires that you compile everything twice, which is a pain.
9512 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9513 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9514 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9515 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9524 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9527 hardcode_shlibpath_var
=no
9531 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9532 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9533 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9540 if test "$ld_shlibs" = no
; then
9542 hardcode_libdir_flag_spec
=
9543 export_dynamic_flag_spec
=
9544 whole_archive_flag_spec
=
9547 # PORTME fill in a description of your system's linker (not GNU ld)
9550 allow_undefined_flag
=unsupported
9551 always_export_symbols
=yes
9552 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'
9553 # Note: this linker hardcodes the directories in LIBPATH if there
9554 # are no directories specified by -L.
9555 hardcode_minus_L
=yes
9556 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9557 # Neither direct hardcoding nor static linking is supported with a
9559 hardcode_direct
=unsupported
9564 if test "$host_cpu" = ia64
; then
9565 # On IA64, the linker does run time linking by default, so we don't
9566 # have to do anything special.
9567 aix_use_runtimelinking
=no
9568 exp_sym_flag
='-Bexport'
9571 # If we're using GNU nm, then we don't want the "-C" option.
9572 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9573 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9574 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'
9576 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'
9578 aix_use_runtimelinking
=no
9580 # Test if we are trying to use run time linking or normal
9581 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9582 # need to do runtime linking.
9583 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
9584 for ld_flag
in $LDFLAGS; do
9585 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9586 aix_use_runtimelinking
=yes
9593 exp_sym_flag
='-bexport'
9594 no_entry_flag
='-bnoentry'
9597 # When large executables or shared objects are built, AIX ld can
9598 # have problems creating the table of contents. If linking a library
9599 # or program results in "error TOC overflow" add -mminimal-toc to
9600 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9601 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9605 hardcode_direct_absolute
=yes
9606 hardcode_libdir_separator
=':'
9607 link_all_deplibs
=yes
9608 file_list_spec
='${wl}-f,'
9610 if test "$GCC" = yes; then
9611 case $host_os in aix4.
[012]|aix4.
[012].
*)
9612 # We only want to do this on AIX 4.2 and lower, the check
9613 # below for broken collect2 doesn't work under 4.3+
9614 collect2name
=`${CC} -print-prog-name=collect2`
9615 if test -f "$collect2name" &&
9616 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9618 # We have reworked collect2
9621 # We have old collect2
9622 hardcode_direct
=unsupported
9623 # It fails to find uninstalled libraries when the uninstalled
9624 # path is not listed in the libpath. Setting hardcode_minus_L
9625 # to unsupported forces relinking
9626 hardcode_minus_L
=yes
9627 hardcode_libdir_flag_spec
='-L$libdir'
9628 hardcode_libdir_separator
=
9632 shared_flag
='-shared'
9633 if test "$aix_use_runtimelinking" = yes; then
9634 shared_flag
="$shared_flag "'${wl}-G'
9638 if test "$host_cpu" = ia64
; then
9639 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9640 # chokes on -Wl,-G. The following line is correct:
9643 if test "$aix_use_runtimelinking" = yes; then
9644 shared_flag
='${wl}-G'
9646 shared_flag
='${wl}-bM:SRE'
9651 # It seems that -bexpall does not export symbols beginning with
9652 # underscore (_), so it is better to generate a list of symbols to export.
9653 always_export_symbols
=yes
9654 if test "$aix_use_runtimelinking" = yes; then
9655 # Warning - without using the other runtime loading flags (-brtl),
9656 # -berok will link without error, but may produce a broken library.
9657 allow_undefined_flag
='-berok'
9658 # Determine the default libpath from the value encoded in an
9660 if test x
$gcc_no_link = xyes
; then
9661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9663 { (exit 1); exit 1; }; }
9665 cat >conftest.
$ac_ext <<_ACEOF
9668 cat confdefs.h
>>conftest.
$ac_ext
9669 cat >>conftest.
$ac_ext <<_ACEOF
9670 /* end confdefs.h. */
9680 rm -f conftest.
$ac_objext conftest
$ac_exeext
9681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9682 (eval $ac_link) 2>conftest.er1
9684 grep -v '^ *+' conftest.er1
>conftest.err
9686 cat conftest.err
>&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } &&
9689 { ac_try
='test -z "$ac_c_werror_flag"
9690 || test ! -s conftest.err'
9691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9695 (exit $ac_status); }; } &&
9696 { ac_try
='test -s conftest$ac_exeext'
9697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9701 (exit $ac_status); }; }; then
9703 lt_aix_libpath_sed
='
9704 /Import File Strings/,/^$/ {
9710 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9711 # Check for a 64-bit object if we didn't find anything.
9712 if test -z "$aix_libpath"; then
9713 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.
$ac_ext >&5
9720 rm -f conftest.err conftest.
$ac_objext \
9721 conftest
$ac_exeext conftest.
$ac_ext
9722 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9724 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9725 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"
9727 if test "$host_cpu" = ia64
; then
9728 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9729 allow_undefined_flag
="-z nodefs"
9730 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"
9732 # Determine the default libpath from the value encoded in an
9734 if test x
$gcc_no_link = xyes
; then
9735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9737 { (exit 1); exit 1; }; }
9739 cat >conftest.
$ac_ext <<_ACEOF
9742 cat confdefs.h
>>conftest.
$ac_ext
9743 cat >>conftest.
$ac_ext <<_ACEOF
9744 /* end confdefs.h. */
9754 rm -f conftest.
$ac_objext conftest
$ac_exeext
9755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9756 (eval $ac_link) 2>conftest.er1
9758 grep -v '^ *+' conftest.er1
>conftest.err
9760 cat conftest.err
>&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); } &&
9763 { ac_try
='test -z "$ac_c_werror_flag"
9764 || test ! -s conftest.err'
9765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); }; } &&
9770 { ac_try
='test -s conftest$ac_exeext'
9771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; }; then
9777 lt_aix_libpath_sed
='
9778 /Import File Strings/,/^$/ {
9784 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9785 # Check for a 64-bit object if we didn't find anything.
9786 if test -z "$aix_libpath"; then
9787 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9790 echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.
$ac_ext >&5
9794 rm -f conftest.err conftest.
$ac_objext \
9795 conftest
$ac_exeext conftest.
$ac_ext
9796 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9798 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9799 # Warning - without using the other run time loading flags,
9800 # -berok will link without error, but may produce a broken library.
9801 no_undefined_flag
=' ${wl}-bernotok'
9802 allow_undefined_flag
=' ${wl}-berok'
9803 # Exported symbols can be pulled into shared objects from archives
9804 whole_archive_flag_spec
='$convenience'
9805 archive_cmds_need_lc
=yes
9806 # This is similar to how AIX traditionally builds its shared libraries.
9807 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'
9813 if test "$host_cpu" = m68k
; then
9814 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)'
9815 hardcode_libdir_flag_spec
='-L$libdir'
9816 hardcode_minus_L
=yes
9818 # see comment about different semantics on the GNU ld section
9823 export_dynamic_flag_spec
=-rdynamic
9826 cygwin
* | mingw
* | pw32
*)
9827 # When not using gcc, we currently assume that we are using
9828 # Microsoft Visual C++.
9829 # hardcode_libdir_flag_spec is actually meaningless, as there is
9830 # no search path for DLLs.
9831 hardcode_libdir_flag_spec
=' '
9832 allow_undefined_flag
=unsupported
9833 # Tell ltmain to make .lib files, not .a files.
9835 # Tell ltmain to make .dll files, not .so files.
9837 # FIXME: Setting linknames here is a bad hack.
9838 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9839 # The linker will automatically build a .lib file if we build a DLL.
9840 old_archive_from_new_cmds
='true'
9841 # FIXME: Should let the user specify the lib program.
9842 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9843 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9844 enable_shared_with_static_runtimes
=yes
9847 darwin
* | rhapsody
*)
9849 rhapsody
* | darwin1.
[012])
9850 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
9853 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
9855 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9858 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
9863 archive_cmds_need_lc
=no
9865 hardcode_automatic
=yes
9866 hardcode_shlibpath_var
=unsupported
9867 whole_archive_flag_spec
=''
9868 link_all_deplibs
=yes
9869 if test "$GCC" = yes ; then
9870 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9871 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 lt_cv_apple_cc_single_mod
=no
9874 if test -z "${LT_MULTI_MODULE}"; then
9875 # By default we will add the -single_module flag. You can override
9876 # by either setting the environment variable LT_MULTI_MODULE
9877 # non-empty at configure time, or by adding -multi-module to the
9879 echo "int foo(void){return 1;}" > conftest.c
9880 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9881 -dynamiclib ${wl}-single_module conftest.c
9882 if test -f libconftest.dylib
; then
9883 lt_cv_apple_cc_single_mod
=yes
9884 rm libconftest.dylib
9890 output_verbose_link_cmd
=echo
9891 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
9892 archive_cmds
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9893 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}'
9895 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9896 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}'
9898 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9899 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}'
9901 case $cc_basename in
9903 output_verbose_link_cmd
=echo
9904 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
9905 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
9906 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
9907 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}'
9908 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}'
9918 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9919 hardcode_libdir_flag_spec
='-L$libdir'
9920 hardcode_shlibpath_var
=no
9927 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9928 # support. Future versions do this automatically, but an explicit c++rt0.o
9929 # does not break anything, and helps significantly (at the cost of a little
9932 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9933 hardcode_libdir_flag_spec
='-R$libdir'
9935 hardcode_shlibpath_var
=no
9938 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9940 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9942 hardcode_minus_L
=yes
9943 hardcode_shlibpath_var
=no
9946 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9947 freebsd
* | dragonfly
*)
9948 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9949 hardcode_libdir_flag_spec
='-R$libdir'
9951 hardcode_shlibpath_var
=no
9955 if test "$GCC" = yes; then
9956 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'
9958 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'
9960 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9961 hardcode_libdir_separator
=:
9964 # hardcode_minus_L: Not really in the search PATH,
9965 # but as the default location of the library.
9966 hardcode_minus_L
=yes
9967 export_dynamic_flag_spec
='${wl}-E'
9971 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9972 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9974 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9976 if test "$with_gnu_ld" = no
; then
9977 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9978 hardcode_libdir_flag_spec_ld
='+b $libdir'
9979 hardcode_libdir_separator
=:
9981 hardcode_direct_absolute
=yes
9982 export_dynamic_flag_spec
='${wl}-E'
9983 # hardcode_minus_L: Not really in the search PATH,
9984 # but as the default location of the library.
9985 hardcode_minus_L
=yes
9990 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9993 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9996 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9999 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10005 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10008 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10015 if test "$with_gnu_ld" = no
; then
10016 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10017 hardcode_libdir_separator
=:
10022 hardcode_shlibpath_var
=no
10025 hardcode_direct
=yes
10026 hardcode_direct_absolute
=yes
10027 export_dynamic_flag_spec
='${wl}-E'
10029 # hardcode_minus_L: Not really in the search PATH,
10030 # but as the default location of the library.
10031 hardcode_minus_L
=yes
10037 irix5
* | irix6
* | nonstopux
*)
10038 if test "$GCC" = yes; then
10039 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'
10040 # Try to use the -exported_symbol ld option, if it does not
10041 # work, assume that -exports_file does not work either and
10042 # implicitly export all symbols.
10043 save_LDFLAGS
="$LDFLAGS"
10044 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10045 if test x
$gcc_no_link = xyes
; then
10046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10048 { (exit 1); exit 1; }; }
10050 cat >conftest.
$ac_ext <<_ACEOF
10053 rm -f conftest.
$ac_objext conftest
$ac_exeext
10054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10055 (eval $ac_link) 2>conftest.er1
10057 grep -v '^ *+' conftest.er1
>conftest.err
10059 cat conftest.err
>&5
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); } &&
10062 { ac_try
='test -z "$ac_c_werror_flag"
10063 || test ! -s conftest.err'
10064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065 (eval $ac_try) 2>&5
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); }; } &&
10069 { ac_try
='test -s conftest$ac_exeext'
10070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10071 (eval $ac_try) 2>&5
10073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074 (exit $ac_status); }; }; then
10075 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'
10078 echo "$as_me: failed program was:" >&5
10079 sed 's/^/| /' conftest.
$ac_ext >&5
10082 rm -f conftest.err conftest.
$ac_objext \
10083 conftest
$ac_exeext conftest.
$ac_ext
10084 LDFLAGS
="$save_LDFLAGS"
10086 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'
10087 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'
10089 archive_cmds_need_lc
='no'
10090 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10091 hardcode_libdir_separator
=:
10093 link_all_deplibs
=yes
10097 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10098 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10100 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10102 hardcode_libdir_flag_spec
='-R$libdir'
10103 hardcode_direct
=yes
10104 hardcode_shlibpath_var
=no
10108 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_direct
=yes
10110 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10111 hardcode_libdir_separator
=:
10112 hardcode_shlibpath_var
=no
10119 hardcode_direct
=yes
10120 hardcode_shlibpath_var
=no
10121 hardcode_direct_absolute
=yes
10122 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10123 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10124 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10125 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10126 export_dynamic_flag_spec
='${wl}-E'
10129 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10130 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_libdir_flag_spec
='-R$libdir'
10134 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10135 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10142 hardcode_libdir_flag_spec
='-L$libdir'
10143 hardcode_minus_L
=yes
10144 allow_undefined_flag
=unsupported
10145 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'
10146 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10150 if test "$GCC" = yes; then
10151 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10152 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'
10154 allow_undefined_flag
=' -expect_unresolved \*'
10155 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'
10157 archive_cmds_need_lc
='no'
10158 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10159 hardcode_libdir_separator
=:
10162 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10163 if test "$GCC" = yes; then
10164 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10165 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'
10166 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10168 allow_undefined_flag
=' -expect_unresolved \*'
10169 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'
10170 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~
10171 $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'
10173 # Both c and cxx compiler support -rpath directly
10174 hardcode_libdir_flag_spec
='-rpath $libdir'
10176 archive_cmds_need_lc
='no'
10177 hardcode_libdir_separator
=:
10181 no_undefined_flag
=' -z defs'
10182 if test "$GCC" = yes; then
10184 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10186 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10188 case `$CC -V 2>&1` in
10191 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10192 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10193 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10197 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10198 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10199 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10203 hardcode_libdir_flag_spec
='-R$libdir'
10204 hardcode_shlibpath_var
=no
10206 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10208 # The compiler driver will combine and reorder linker options,
10209 # but understands `-z linker_flag'. GCC discards it without `$wl',
10210 # but is careful enough not to reorder.
10211 # Supported since Solaris 2.6 (maybe 2.5.1?)
10212 if test "$GCC" = yes; then
10213 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10215 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10219 link_all_deplibs
=yes
10223 if test "x$host_vendor" = xsequent
; then
10224 # Use $CC to link under sequent, because it throws in some extra .o
10225 # files that make .init and .fini sections work.
10226 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10228 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10230 hardcode_libdir_flag_spec
='-L$libdir'
10231 hardcode_direct
=yes
10232 hardcode_minus_L
=yes
10233 hardcode_shlibpath_var
=no
10237 case $host_vendor in
10239 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240 hardcode_direct
=yes # is this really true???
10243 ## LD is ld it makes a PLAMLIB
10244 ## CC just makes a GrossModule.
10245 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10246 reload_cmds
='$CC -r -o $output$reload_objs'
10250 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10251 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10254 runpath_var
='LD_RUN_PATH'
10255 hardcode_shlibpath_var
=no
10259 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10260 hardcode_shlibpath_var
=no
10261 export_dynamic_flag_spec
='-Bexport'
10265 if test -d /usr
/nec
; then
10266 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_shlibpath_var
=no
10268 runpath_var
=LD_RUN_PATH
10269 hardcode_runpath_var
=yes
10274 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10275 no_undefined_flag
='${wl}-z,text'
10276 archive_cmds_need_lc
=no
10277 hardcode_shlibpath_var
=no
10278 runpath_var
='LD_RUN_PATH'
10280 if test "$GCC" = yes; then
10281 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10282 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10284 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10285 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10289 sysv5
* | sco3.2v5
* | sco5v6
*)
10290 # Note: We can NOT use -z defs as we might desire, because we do not
10291 # link with -lc, and that would cause any symbols used from libc to
10292 # always be unresolved, which means just about no library would
10293 # ever link correctly. If we're not using GNU ld we use -z text
10294 # though, which does catch some bad symbols but isn't as heavy-handed
10296 no_undefined_flag
='${wl}-z,text'
10297 allow_undefined_flag
='${wl}-z,nodefs'
10298 archive_cmds_need_lc
=no
10299 hardcode_shlibpath_var
=no
10300 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10301 hardcode_libdir_separator
=':'
10302 link_all_deplibs
=yes
10303 export_dynamic_flag_spec
='${wl}-Bexport'
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'
10316 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10317 hardcode_libdir_flag_spec
='-L$libdir'
10318 hardcode_shlibpath_var
=no
10326 if test x
$host_vendor = xsni
; then
10328 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10329 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10335 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10336 echo "${ECHO_T}$ld_shlibs" >&6
10337 test "$ld_shlibs" = no
&& can_build_shared
=no
10339 with_gnu_ld
=$with_gnu_ld
10356 # Do we need to explicitly link libc?
10358 case "x$archive_cmds_need_lc" in
10360 # Assume -lc should be added
10361 archive_cmds_need_lc
=yes
10363 if test "$enable_shared" = yes && test "$GCC" = yes; then
10364 case $archive_cmds in
10366 # FIXME: we may have to deal with multi-command sequences.
10369 # Test whether the compiler implicitly links with -lc since on some
10370 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10371 # to ld, don't add -lc before -lgcc.
10372 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10373 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10375 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10378 (eval $ac_compile) 2>&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); } 2>conftest.err
; then
10384 libobjs
=conftest.
$ac_objext
10386 wl
=$lt_prog_compiler_wl
10387 pic_flag
=$lt_prog_compiler_pic
10393 lt_save_allow_undefined_flag
=$allow_undefined_flag
10394 allow_undefined_flag
=
10395 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10396 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10399 (exit $ac_status); }
10401 archive_cmds_need_lc
=no
10403 archive_cmds_need_lc
=yes
10405 allow_undefined_flag
=$lt_save_allow_undefined_flag
10407 cat conftest.err
1>&5
10410 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10411 echo "${ECHO_T}$archive_cmds_need_lc" >&6
10574 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10575 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10577 if test "$withGCC" = yes; then
10579 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10580 *) lt_awk_arg
="/^libraries:/" ;;
10582 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10583 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10584 # if the path contains ";" then we assume it to be the separator
10585 # otherwise default to the standard path separator (i.e. ":") - it is
10586 # assumed that no part of a normal pathname contains ";" but that should
10587 # okay in the real world where ";" in dirpaths is itself problematic.
10588 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10590 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10592 # Ok, now we have the path, separated by spaces, we can step through it
10593 # and add multilib dir if necessary.
10594 lt_tmp_lt_search_path_spec
=
10595 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10596 for lt_sys_path
in $lt_search_path_spec; do
10597 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10598 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10600 test -d "$lt_sys_path" && \
10601 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10604 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10605 BEGIN {RS=" "; FS="/|\n";} {
10608 for (lt_i = NF; lt_i > 0; lt_i--) {
10609 if ($lt_i != "" && $lt_i != ".") {
10610 if ($lt_i == "..") {
10613 if (lt_count == 0) {
10614 lt_foo="/" $lt_i lt_foo;
10621 if (lt_foo != "") { lt_freq[lt_foo]++; }
10622 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10624 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10626 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10628 library_names_spec
=
10629 libname_spec
='lib$name'
10633 postuninstall_cmds
=
10637 shlibpath_overrides_runpath
=unknown
10639 dynamic_linker
="$host_os ld.so"
10640 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10641 need_lib_prefix
=unknown
10642 hardcode_into_libs
=no
10644 # when you set need_version to no, make sure it does not cause -set_version
10645 # flags to be left without arguments
10646 need_version
=unknown
10651 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10652 shlibpath_var
=LIBPATH
10654 # AIX 3 has no versioning support, so we append a major version to the name.
10655 soname_spec
='${libname}${release}${shared_ext}$major'
10662 hardcode_into_libs
=yes
10663 if test "$host_cpu" = ia64
; then
10664 # AIX 5 supports IA64
10665 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10666 shlibpath_var
=LD_LIBRARY_PATH
10668 # With GCC up to 2.95.x, collect2 would create an import file
10669 # for dependence libraries. The import file would start with
10670 # the line `#! .'. This would cause the generated library to
10671 # depend on `.', always an invalid library. This was fixed in
10672 # development snapshots of GCC prior to 3.0.
10674 aix4 | aix4.
[01] | aix4.
[01].
*)
10675 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10677 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10680 can_build_shared
=no
10684 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10685 # soname into executable. Probably we can add versioning support to
10686 # collect2, so additional links can be useful in future.
10687 if test "$aix_use_runtimelinking" = yes; then
10688 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10689 # instead of lib<name>.a to let people know that these are not
10690 # typical AIX shared libraries.
10691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693 # We preserve .a as extension for shared libraries through AIX4.2
10694 # and later when we are not doing run time linking.
10695 library_names_spec
='${libname}${release}.a $libname.a'
10696 soname_spec
='${libname}${release}${shared_ext}$major'
10698 shlibpath_var
=LIBPATH
10703 if test "$host_cpu" = m68k
; then
10704 library_names_spec
='$libname.ixlibrary $libname.a'
10705 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10706 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'
10713 library_names_spec
='${libname}${shared_ext}'
10714 dynamic_linker
="$host_os ld.so"
10715 shlibpath_var
=LIBRARY_PATH
10721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10722 soname_spec
='${libname}${release}${shared_ext}$major'
10723 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10724 shlibpath_var
=LD_LIBRARY_PATH
10725 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10726 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10727 # the default ld.so.conf also contains /usr/contrib/lib and
10728 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10729 # libtool to hard-code these into programs
10732 cygwin
* | mingw
* | pw32
*)
10733 version_type
=windows
10738 case $withGCC,$host_os in
10739 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10740 library_names_spec
='$libname.dll.a'
10741 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10742 postinstall_cmds
='base_file=`basename \${file}`~
10743 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10744 dldir=$destdir/`dirname \$dlpath`~
10745 test -d \$dldir || mkdir -p \$dldir~
10746 $install_prog $dir/$dlname \$dldir/$dlname~
10747 chmod a+x \$dldir/$dlname~
10748 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10749 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10751 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10752 dlpath=$dir/\$dldll~
10754 shlibpath_overrides_runpath
=yes
10758 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10759 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10760 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10763 # MinGW DLLs use traditional 'lib' prefix
10764 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10765 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10766 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10767 # It is most probably a Windows format PATH printed by
10768 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10769 # path with ; separators, and with drive letters. We can handle the
10770 # drive letters (cygwin fileutils understands them), so leave them,
10771 # especially as we might pass files found there to a mingw objdump,
10772 # which wouldn't understand a cygwinified path. Ahh.
10773 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10775 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10779 # pw32 DLLs use 'pw' prefix rather than 'lib'
10780 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10786 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10789 dynamic_linker
='Win32 ld.exe'
10790 # FIXME: first we should search . and the directory the executable is in
10794 darwin
* | rhapsody
*)
10795 dynamic_linker
="$host_os dyld"
10796 version_type
=darwin
10799 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10800 soname_spec
='${libname}${release}${major}$shared_ext'
10801 shlibpath_overrides_runpath
=yes
10802 shlibpath_var
=DYLD_LIBRARY_PATH
10803 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10805 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10806 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10814 soname_spec
='${libname}${release}${shared_ext}$major'
10815 shlibpath_var
=LD_LIBRARY_PATH
10822 freebsd
* | dragonfly
*)
10823 # DragonFly does not have aout. When/if they implement a new
10824 # versioning mechanism, adjust this.
10825 if test -x /usr
/bin
/objformat
; then
10826 objformat
=`/usr/bin/objformat`
10829 freebsd
[123]*) objformat
=aout
;;
10830 *) objformat
=elf
;;
10833 version_type
=freebsd-
$objformat
10834 case $version_type in
10836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10841 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10845 shlibpath_var
=LD_LIBRARY_PATH
10848 shlibpath_overrides_runpath
=yes
10850 freebsd3.
[01]* | freebsdelf3.
[01]*)
10851 shlibpath_overrides_runpath
=yes
10852 hardcode_into_libs
=yes
10854 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10855 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10856 shlibpath_overrides_runpath
=no
10857 hardcode_into_libs
=yes
10859 *) # from 4.6 on, and DragonFly
10860 shlibpath_overrides_runpath
=yes
10861 hardcode_into_libs
=yes
10870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10871 soname_spec
='${libname}${release}${shared_ext}$major'
10872 shlibpath_var
=LD_LIBRARY_PATH
10873 hardcode_into_libs
=yes
10876 hpux9
* | hpux10
* | hpux11
*)
10877 # Give a soname corresponding to the major version so that dld.sl refuses to
10878 # link against other versions.
10885 hardcode_into_libs
=yes
10886 dynamic_linker
="$host_os dld.so"
10887 shlibpath_var
=LD_LIBRARY_PATH
10888 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10889 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890 soname_spec
='${libname}${release}${shared_ext}$major'
10891 if test "X$HPUX_IA64_MODE" = X32
; then
10892 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10894 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10896 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10900 hardcode_into_libs
=yes
10901 dynamic_linker
="$host_os dld.sl"
10902 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10903 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10904 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10905 soname_spec
='${libname}${release}${shared_ext}$major'
10906 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10907 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10911 dynamic_linker
="$host_os dld.sl"
10912 shlibpath_var
=SHLIB_PATH
10913 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10914 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 soname_spec
='${libname}${release}${shared_ext}$major'
10918 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10919 postinstall_cmds
='chmod 555 $lib'
10926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10927 soname_spec
='${libname}${release}${shared_ext}$major'
10928 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10929 shlibpath_var
=LD_LIBRARY_PATH
10930 shlibpath_overrides_runpath
=no
10931 hardcode_into_libs
=yes
10934 irix5
* | irix6
* | nonstopux
*)
10936 nonstopux
*) version_type
=nonstopux
;;
10938 if test "$lt_cv_prog_gnu_ld" = yes; then
10946 soname_spec
='${libname}${release}${shared_ext}$major'
10947 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10949 irix5
* | nonstopux
*)
10950 libsuff
= shlibsuff
=
10953 case $LD in # libtool.m4 will add one of these switches to LD
10954 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10955 libsuff
= shlibsuff
= libmagic
=32-bit;;
10956 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10957 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10958 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10959 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10960 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10964 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10965 shlibpath_overrides_runpath
=no
10966 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10967 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10968 hardcode_into_libs
=yes
10971 # No shared lib support for Linux oldld, aout, or coff.
10972 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10976 # This must be Linux ELF.
10977 linux
* | k
*bsd
*-gnu)
10981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10982 soname_spec
='${libname}${release}${shared_ext}$major'
10983 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10984 shlibpath_var
=LD_LIBRARY_PATH
10985 shlibpath_overrides_runpath
=no
10986 # Some binutils ld are patched to set DT_RUNPATH
10987 save_LDFLAGS
=$LDFLAGS
10988 save_libdir
=$libdir
10989 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10990 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10991 if test x
$gcc_no_link = xyes
; then
10992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10994 { (exit 1); exit 1; }; }
10996 cat >conftest.
$ac_ext <<_ACEOF
10999 cat confdefs.h
>>conftest.
$ac_ext
11000 cat >>conftest.
$ac_ext <<_ACEOF
11001 /* end confdefs.h. */
11011 rm -f conftest.
$ac_objext conftest
$ac_exeext
11012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11013 (eval $ac_link) 2>conftest.er1
11015 grep -v '^ *+' conftest.er1
>conftest.err
11017 cat conftest.err
>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); } &&
11020 { ac_try
='test -z "$ac_c_werror_flag"
11021 || test ! -s conftest.err'
11022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11023 (eval $ac_try) 2>&5
11025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 (exit $ac_status); }; } &&
11027 { ac_try
='test -s conftest$ac_exeext'
11028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 (eval $ac_try) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }; }; then
11033 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
11034 shlibpath_overrides_runpath
=yes
11038 echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.
$ac_ext >&5
11042 rm -f conftest.err conftest.
$ac_objext \
11043 conftest
$ac_exeext conftest.
$ac_ext
11044 LDFLAGS
=$save_LDFLAGS
11045 libdir
=$save_libdir
11047 # This implies no fast_install, which is unacceptable.
11048 # Some rework will be needed to allow for fast_install
11049 # before this can be enabled.
11050 hardcode_into_libs
=yes
11052 # Append ld.so.conf contents to the search path
11053 if test -f /etc
/ld.so.conf
; then
11054 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' ' '`
11055 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11058 # We used to test for /lib/ld.so.1 and disable shared libraries on
11059 # powerpc, because MkLinux only supported shared libraries with the
11060 # GNU dynamic linker. Since this was broken with cross compilers,
11061 # most powerpc-linux boxes support dynamic linking these days and
11062 # people can always --disable-shared, the test was removed, and we
11063 # assume the GNU/Linux dynamic linker is in use.
11064 dynamic_linker
='GNU/Linux ld.so'
11071 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11073 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11074 dynamic_linker
='NetBSD (a.out) ld.so'
11076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11077 soname_spec
='${libname}${release}${shared_ext}$major'
11078 dynamic_linker
='NetBSD ld.elf_so'
11080 shlibpath_var
=LD_LIBRARY_PATH
11081 shlibpath_overrides_runpath
=yes
11082 hardcode_into_libs
=yes
11087 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11088 shlibpath_var
=LD_LIBRARY_PATH
11089 shlibpath_overrides_runpath
=yes
11096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11097 soname_spec
='${libname}${release}${shared_ext}$major'
11098 shlibpath_var
=LD_LIBRARY_PATH
11099 shlibpath_overrides_runpath
=no
11100 hardcode_into_libs
=yes
11101 dynamic_linker
='ldqnx.so'
11106 sys_lib_dlsearch_path_spec
="/usr/lib"
11108 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11110 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11111 *) need_version
=no
;;
11113 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11114 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11115 shlibpath_var
=LD_LIBRARY_PATH
11116 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11118 openbsd2.
[89] | openbsd2.
[89].
*)
11119 shlibpath_overrides_runpath
=no
11122 shlibpath_overrides_runpath
=yes
11126 shlibpath_overrides_runpath
=yes
11131 libname_spec
='$name'
11134 library_names_spec
='$libname${shared_ext} $libname.a'
11135 dynamic_linker
='OS/2 ld.exe'
11136 shlibpath_var
=LIBPATH
11139 osf3
* | osf4
* | osf5
*)
11143 soname_spec
='${libname}${release}${shared_ext}$major'
11144 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11145 shlibpath_var
=LD_LIBRARY_PATH
11146 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11147 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11158 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159 soname_spec
='${libname}${release}${shared_ext}$major'
11160 shlibpath_var
=LD_LIBRARY_PATH
11161 shlibpath_overrides_runpath
=yes
11162 hardcode_into_libs
=yes
11163 # ldd complains unless libraries are executable
11164 postinstall_cmds
='chmod +x $lib'
11169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11170 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11171 shlibpath_var
=LD_LIBRARY_PATH
11172 shlibpath_overrides_runpath
=yes
11173 if test "$with_gnu_ld" = yes; then
11181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11182 soname_spec
='${libname}${release}${shared_ext}$major'
11183 shlibpath_var
=LD_LIBRARY_PATH
11184 case $host_vendor in
11186 shlibpath_overrides_runpath
=no
11188 runpath_var
=LD_RUN_PATH
11196 shlibpath_overrides_runpath
=no
11197 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11203 if test -d /usr
/nec
;then
11205 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11206 soname_spec
='$libname${shared_ext}.$major'
11207 shlibpath_var
=LD_LIBRARY_PATH
11211 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11212 version_type
=freebsd-elf
11215 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11216 soname_spec
='${libname}${release}${shared_ext}$major'
11217 shlibpath_var
=LD_LIBRARY_PATH
11218 shlibpath_overrides_runpath
=yes
11219 hardcode_into_libs
=yes
11220 if test "$with_gnu_ld" = yes; then
11221 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11223 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11226 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11230 sys_lib_dlsearch_path_spec
='/usr/lib'
11234 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11238 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11239 shlibpath_var
=LD_LIBRARY_PATH
11240 shlibpath_overrides_runpath
=no
11241 hardcode_into_libs
=yes
11246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11247 soname_spec
='${libname}${release}${shared_ext}$major'
11248 shlibpath_var
=LD_LIBRARY_PATH
11255 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11256 echo "${ECHO_T}$dynamic_linker" >&6
11257 test "$dynamic_linker" = no
&& can_build_shared
=no
11259 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11260 if test "$GCC" = yes; then
11261 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11350 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11351 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11353 if test -n "$hardcode_libdir_flag_spec" ||
11354 test -n "$runpath_var" ||
11355 test "X$hardcode_automatic" = "Xyes" ; then
11357 # We can hardcode non-existent directories.
11358 if test "$hardcode_direct" != no
&&
11359 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11360 # have to relink, otherwise we might link with an installed library
11361 # when we should be linking with a yet-to-be-installed one
11362 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11363 test "$hardcode_minus_L" != no
; then
11364 # Linking always hardcodes the temporary library directory.
11365 hardcode_action
=relink
11367 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11368 hardcode_action
=immediate
11371 # We cannot hardcode anything, or else we can only hardcode existing
11373 hardcode_action
=unsupported
11375 echo "$as_me:$LINENO: result: $hardcode_action" >&5
11376 echo "${ECHO_T}$hardcode_action" >&6
11378 if test "$hardcode_action" = relink ||
11379 test "$inherit_rpath" = yes; then
11380 # Fast installation is not supported
11381 enable_fast_install
=no
11382 elif test "$shlibpath_overrides_runpath" = yes ||
11383 test "$enable_shared" = no
; then
11384 # Fast installation is not necessary
11385 enable_fast_install
=needless
11393 if test "x$enable_dlopen" != xyes
; then
11394 enable_dlopen
=unknown
11395 enable_dlopen_self
=unknown
11396 enable_dlopen_self_static
=unknown
11403 lt_cv_dlopen
="load_add_on"
11405 lt_cv_dlopen_self
=yes
11409 lt_cv_dlopen
="LoadLibrary"
11414 lt_cv_dlopen
="dlopen"
11419 # if libdl is installed we need to link against it
11420 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11421 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11422 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 ac_check_lib_save_LIBS
=$LIBS
11427 if test x
$gcc_no_link = xyes
; then
11428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11430 { (exit 1); exit 1; }; }
11432 cat >conftest.
$ac_ext <<_ACEOF
11435 cat confdefs.h
>>conftest.
$ac_ext
11436 cat >>conftest.
$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11439 /* Override any gcc2 internal prototype to avoid an error. */
11443 /* We use char because int might match the return type of a gcc2
11444 builtin and then its argument prototype would still apply. */
11454 rm -f conftest.
$ac_objext conftest
$ac_exeext
11455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11456 (eval $ac_link) 2>conftest.er1
11458 grep -v '^ *+' conftest.er1
>conftest.err
11460 cat conftest.err
>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } &&
11463 { ac_try
='test -z "$ac_c_werror_flag"
11464 || test ! -s conftest.err'
11465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466 (eval $ac_try) 2>&5
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); }; } &&
11470 { ac_try
='test -s conftest$ac_exeext'
11471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11472 (eval $ac_try) 2>&5
11474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11475 (exit $ac_status); }; }; then
11476 ac_cv_lib_dl_dlopen
=yes
11478 echo "$as_me: failed program was:" >&5
11479 sed 's/^/| /' conftest.
$ac_ext >&5
11481 ac_cv_lib_dl_dlopen
=no
11483 rm -f conftest.err conftest.
$ac_objext \
11484 conftest
$ac_exeext conftest.
$ac_ext
11485 LIBS
=$ac_check_lib_save_LIBS
11487 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11488 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11489 if test $ac_cv_lib_dl_dlopen = yes; then
11490 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11493 lt_cv_dlopen
="dyld"
11495 lt_cv_dlopen_self
=yes
11502 echo "$as_me:$LINENO: checking for shl_load" >&5
11503 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11504 if test "${ac_cv_func_shl_load+set}" = set; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11507 if test x
$gcc_no_link = xyes
; then
11508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11510 { (exit 1); exit 1; }; }
11512 cat >conftest.
$ac_ext <<_ACEOF
11515 cat confdefs.h
>>conftest.
$ac_ext
11516 cat >>conftest.
$ac_ext <<_ACEOF
11517 /* end confdefs.h. */
11518 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11520 #define shl_load innocuous_shl_load
11522 /* System header to define __stub macros and hopefully few prototypes,
11523 which can conflict with char shl_load (); below.
11524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11525 <limits.h> exists even on freestanding compilers. */
11528 # include <limits.h>
11530 # include <assert.h>
11535 /* Override any gcc2 internal prototype to avoid an error. */
11540 /* We use char because int might match the return type of a gcc2
11541 builtin and then its argument prototype would still apply. */
11543 /* The GNU C library defines this for functions which it implements
11544 to always fail with ENOSYS. Some functions are actually named
11545 something starting with __ and the normal name is an alias. */
11546 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11549 char (*f) () = shl_load;
11558 return f != shl_load;
11563 rm -f conftest.
$ac_objext conftest
$ac_exeext
11564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11565 (eval $ac_link) 2>conftest.er1
11567 grep -v '^ *+' conftest.er1
>conftest.err
11569 cat conftest.err
>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); } &&
11572 { ac_try
='test -z "$ac_c_werror_flag"
11573 || test ! -s conftest.err'
11574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11575 (eval $ac_try) 2>&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); }; } &&
11579 { ac_try
='test -s conftest$ac_exeext'
11580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11581 (eval $ac_try) 2>&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); }; }; then
11585 ac_cv_func_shl_load
=yes
11587 echo "$as_me: failed program was:" >&5
11588 sed 's/^/| /' conftest.
$ac_ext >&5
11590 ac_cv_func_shl_load
=no
11592 rm -f conftest.err conftest.
$ac_objext \
11593 conftest
$ac_exeext conftest.
$ac_ext
11595 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11596 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11597 if test $ac_cv_func_shl_load = yes; then
11598 lt_cv_dlopen
="shl_load"
11600 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11601 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11602 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11605 ac_check_lib_save_LIBS
=$LIBS
11607 if test x
$gcc_no_link = xyes
; then
11608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11610 { (exit 1); exit 1; }; }
11612 cat >conftest.
$ac_ext <<_ACEOF
11615 cat confdefs.h
>>conftest.
$ac_ext
11616 cat >>conftest.
$ac_ext <<_ACEOF
11617 /* end confdefs.h. */
11619 /* Override any gcc2 internal prototype to avoid an error. */
11623 /* We use char because int might match the return type of a gcc2
11624 builtin and then its argument prototype would still apply. */
11634 rm -f conftest.
$ac_objext conftest
$ac_exeext
11635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11636 (eval $ac_link) 2>conftest.er1
11638 grep -v '^ *+' conftest.er1
>conftest.err
11640 cat conftest.err
>&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } &&
11643 { ac_try
='test -z "$ac_c_werror_flag"
11644 || test ! -s conftest.err'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; } &&
11650 { ac_try
='test -s conftest$ac_exeext'
11651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11652 (eval $ac_try) 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; }; then
11656 ac_cv_lib_dld_shl_load
=yes
11658 echo "$as_me: failed program was:" >&5
11659 sed 's/^/| /' conftest.
$ac_ext >&5
11661 ac_cv_lib_dld_shl_load
=no
11663 rm -f conftest.err conftest.
$ac_objext \
11664 conftest
$ac_exeext conftest.
$ac_ext
11665 LIBS
=$ac_check_lib_save_LIBS
11667 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11668 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11669 if test $ac_cv_lib_dld_shl_load = yes; then
11670 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-dld"
11672 echo "$as_me:$LINENO: checking for dlopen" >&5
11673 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11674 if test "${ac_cv_func_dlopen+set}" = set; then
11675 echo $ECHO_N "(cached) $ECHO_C" >&6
11677 if test x
$gcc_no_link = xyes
; then
11678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11680 { (exit 1); exit 1; }; }
11682 cat >conftest.
$ac_ext <<_ACEOF
11685 cat confdefs.h
>>conftest.
$ac_ext
11686 cat >>conftest.
$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11688 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11690 #define dlopen innocuous_dlopen
11692 /* System header to define __stub macros and hopefully few prototypes,
11693 which can conflict with char dlopen (); below.
11694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11695 <limits.h> exists even on freestanding compilers. */
11698 # include <limits.h>
11700 # include <assert.h>
11705 /* Override any gcc2 internal prototype to avoid an error. */
11710 /* We use char because int might match the return type of a gcc2
11711 builtin and then its argument prototype would still apply. */
11713 /* The GNU C library defines this for functions which it implements
11714 to always fail with ENOSYS. Some functions are actually named
11715 something starting with __ and the normal name is an alias. */
11716 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11719 char (*f) () = dlopen;
11728 return f != dlopen;
11733 rm -f conftest.
$ac_objext conftest
$ac_exeext
11734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11735 (eval $ac_link) 2>conftest.er1
11737 grep -v '^ *+' conftest.er1
>conftest.err
11739 cat conftest.err
>&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } &&
11742 { ac_try
='test -z "$ac_c_werror_flag"
11743 || test ! -s conftest.err'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; } &&
11749 { ac_try
='test -s conftest$ac_exeext'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then
11755 ac_cv_func_dlopen
=yes
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.
$ac_ext >&5
11760 ac_cv_func_dlopen
=no
11762 rm -f conftest.err conftest.
$ac_objext \
11763 conftest
$ac_exeext conftest.
$ac_ext
11765 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11766 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11767 if test $ac_cv_func_dlopen = yes; then
11768 lt_cv_dlopen
="dlopen"
11770 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11771 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11772 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11775 ac_check_lib_save_LIBS
=$LIBS
11777 if test x
$gcc_no_link = xyes
; then
11778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11780 { (exit 1); exit 1; }; }
11782 cat >conftest.
$ac_ext <<_ACEOF
11785 cat confdefs.h
>>conftest.
$ac_ext
11786 cat >>conftest.
$ac_ext <<_ACEOF
11787 /* end confdefs.h. */
11789 /* Override any gcc2 internal prototype to avoid an error. */
11793 /* We use char because int might match the return type of a gcc2
11794 builtin and then its argument prototype would still apply. */
11804 rm -f conftest.
$ac_objext conftest
$ac_exeext
11805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11806 (eval $ac_link) 2>conftest.er1
11808 grep -v '^ *+' conftest.er1
>conftest.err
11810 cat conftest.err
>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); } &&
11813 { ac_try
='test -z "$ac_c_werror_flag"
11814 || test ! -s conftest.err'
11815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11816 (eval $ac_try) 2>&5
11818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11819 (exit $ac_status); }; } &&
11820 { ac_try
='test -s conftest$ac_exeext'
11821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11822 (eval $ac_try) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }; }; then
11826 ac_cv_lib_dl_dlopen
=yes
11828 echo "$as_me: failed program was:" >&5
11829 sed 's/^/| /' conftest.
$ac_ext >&5
11831 ac_cv_lib_dl_dlopen
=no
11833 rm -f conftest.err conftest.
$ac_objext \
11834 conftest
$ac_exeext conftest.
$ac_ext
11835 LIBS
=$ac_check_lib_save_LIBS
11837 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11838 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11839 if test $ac_cv_lib_dl_dlopen = yes; then
11840 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11842 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11843 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11844 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11845 echo $ECHO_N "(cached) $ECHO_C" >&6
11847 ac_check_lib_save_LIBS
=$LIBS
11848 LIBS
="-lsvld $LIBS"
11849 if test x
$gcc_no_link = xyes
; then
11850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11852 { (exit 1); exit 1; }; }
11854 cat >conftest.
$ac_ext <<_ACEOF
11857 cat confdefs.h
>>conftest.
$ac_ext
11858 cat >>conftest.
$ac_ext <<_ACEOF
11859 /* end confdefs.h. */
11861 /* Override any gcc2 internal prototype to avoid an error. */
11865 /* We use char because int might match the return type of a gcc2
11866 builtin and then its argument prototype would still apply. */
11876 rm -f conftest.
$ac_objext conftest
$ac_exeext
11877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11878 (eval $ac_link) 2>conftest.er1
11880 grep -v '^ *+' conftest.er1
>conftest.err
11882 cat conftest.err
>&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); } &&
11885 { ac_try
='test -z "$ac_c_werror_flag"
11886 || test ! -s conftest.err'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; } &&
11892 { ac_try
='test -s conftest$ac_exeext'
11893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11894 (eval $ac_try) 2>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); }; }; then
11898 ac_cv_lib_svld_dlopen
=yes
11900 echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.
$ac_ext >&5
11903 ac_cv_lib_svld_dlopen
=no
11905 rm -f conftest.err conftest.
$ac_objext \
11906 conftest
$ac_exeext conftest.
$ac_ext
11907 LIBS
=$ac_check_lib_save_LIBS
11909 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11910 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11911 if test $ac_cv_lib_svld_dlopen = yes; then
11912 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11914 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11915 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11916 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11919 ac_check_lib_save_LIBS
=$LIBS
11921 if test x
$gcc_no_link = xyes
; then
11922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11924 { (exit 1); exit 1; }; }
11926 cat >conftest.
$ac_ext <<_ACEOF
11929 cat confdefs.h
>>conftest.
$ac_ext
11930 cat >>conftest.
$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11933 /* Override any gcc2 internal prototype to avoid an error. */
11937 /* We use char because int might match the return type of a gcc2
11938 builtin and then its argument prototype would still apply. */
11948 rm -f conftest.
$ac_objext conftest
$ac_exeext
11949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11950 (eval $ac_link) 2>conftest.er1
11952 grep -v '^ *+' conftest.er1
>conftest.err
11954 cat conftest.err
>&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } &&
11957 { ac_try
='test -z "$ac_c_werror_flag"
11958 || test ! -s conftest.err'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; } &&
11964 { ac_try
='test -s conftest$ac_exeext'
11965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966 (eval $ac_try) 2>&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); }; }; then
11970 ac_cv_lib_dld_dld_link
=yes
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.
$ac_ext >&5
11975 ac_cv_lib_dld_dld_link
=no
11977 rm -f conftest.err conftest.
$ac_objext \
11978 conftest
$ac_exeext conftest.
$ac_ext
11979 LIBS
=$ac_check_lib_save_LIBS
11981 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11982 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11983 if test $ac_cv_lib_dld_dld_link = yes; then
11984 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-dld"
12005 if test "x$lt_cv_dlopen" != xno
; then
12011 case $lt_cv_dlopen in
12013 save_CPPFLAGS
="$CPPFLAGS"
12014 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12016 save_LDFLAGS
="$LDFLAGS"
12017 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12020 LIBS
="$lt_cv_dlopen_libs $LIBS"
12022 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12023 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12024 if test "${lt_cv_dlopen_self+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12027 if test "$cross_compiling" = yes; then :
12028 lt_cv_dlopen_self
=cross
12030 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12031 lt_status
=$lt_dlunknown
12032 cat > conftest.
$ac_ext <<_LT_EOF
12033 #line 12033 "configure"
12034 #include "confdefs.h"
12043 # define LT_DLGLOBAL RTLD_GLOBAL
12046 # define LT_DLGLOBAL DL_GLOBAL
12048 # define LT_DLGLOBAL 0
12052 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12053 find out it does not work in some platform. */
12054 #ifndef LT_DLLAZY_OR_NOW
12056 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12059 # define LT_DLLAZY_OR_NOW DL_LAZY
12062 # define LT_DLLAZY_OR_NOW RTLD_NOW
12065 # define LT_DLLAZY_OR_NOW DL_NOW
12067 # define LT_DLLAZY_OR_NOW 0
12075 extern "C" void exit (int);
12078 void fnord() { int i=42;}
12081 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12082 int status = $lt_dlunknown;
12086 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12087 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12088 /* dlclose (self); */
12096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12097 (eval $ac_link) 2>&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12101 (.
/conftest
; exit; ) >&5 2>/dev
/null
12103 case x
$lt_status in
12104 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12105 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12106 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12109 # compilation failed
12110 lt_cv_dlopen_self
=no
12117 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12118 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12120 if test "x$lt_cv_dlopen_self" = xyes
; then
12121 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12122 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12123 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12124 if test "${lt_cv_dlopen_self_static+set}" = set; then
12125 echo $ECHO_N "(cached) $ECHO_C" >&6
12127 if test "$cross_compiling" = yes; then :
12128 lt_cv_dlopen_self_static
=cross
12130 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12131 lt_status
=$lt_dlunknown
12132 cat > conftest.
$ac_ext <<_LT_EOF
12133 #line 12133 "configure"
12134 #include "confdefs.h"
12143 # define LT_DLGLOBAL RTLD_GLOBAL
12146 # define LT_DLGLOBAL DL_GLOBAL
12148 # define LT_DLGLOBAL 0
12152 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12153 find out it does not work in some platform. */
12154 #ifndef LT_DLLAZY_OR_NOW
12156 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12159 # define LT_DLLAZY_OR_NOW DL_LAZY
12162 # define LT_DLLAZY_OR_NOW RTLD_NOW
12165 # define LT_DLLAZY_OR_NOW DL_NOW
12167 # define LT_DLLAZY_OR_NOW 0
12175 extern "C" void exit (int);
12178 void fnord() { int i=42;}
12181 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12182 int status = $lt_dlunknown;
12186 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12187 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12188 /* dlclose (self); */
12196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12197 (eval $ac_link) 2>&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12201 (.
/conftest
; exit; ) >&5 2>/dev
/null
12203 case x
$lt_status in
12204 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12205 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12206 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12209 # compilation failed
12210 lt_cv_dlopen_self_static
=no
12217 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12218 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12221 CPPFLAGS
="$save_CPPFLAGS"
12222 LDFLAGS
="$save_LDFLAGS"
12227 case $lt_cv_dlopen_self in
12228 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12229 *) enable_dlopen_self
=unknown
;;
12232 case $lt_cv_dlopen_self_static in
12233 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12234 *) enable_dlopen_self_static
=unknown
;;
12256 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12257 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12258 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12259 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12260 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12261 echo "$as_me:$LINENO: result: yes" >&5
12262 echo "${ECHO_T}yes" >&6
12264 # FIXME - insert some real tests, host_os isn't really good enough
12267 if test -n "$STRIP" ; then
12268 striplib
="$STRIP -x"
12269 old_striplib
="$STRIP -S"
12270 echo "$as_me:$LINENO: result: yes" >&5
12271 echo "${ECHO_T}yes" >&6
12273 echo "$as_me:$LINENO: result: no" >&5
12274 echo "${ECHO_T}no" >&6
12278 echo "$as_me:$LINENO: result: no" >&5
12279 echo "${ECHO_T}no" >&6
12295 # Report which library types will actually be built
12296 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12297 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12298 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12299 echo "${ECHO_T}$can_build_shared" >&6
12301 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12302 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12303 test "$can_build_shared" = "no" && enable_shared
=no
12305 # On AIX, shared libraries and static libraries use the same namespace, and
12306 # are all built from PIC.
12309 test "$enable_shared" = yes && enable_static
=no
12310 if test -n "$RANLIB"; then
12311 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12312 postinstall_cmds
='$RANLIB $lib'
12317 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12318 test "$enable_shared" = yes && enable_static
=no
12322 echo "$as_me:$LINENO: result: $enable_shared" >&5
12323 echo "${ECHO_T}$enable_shared" >&6
12325 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12326 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12327 # Make sure either enable_shared or enable_static is yes.
12328 test "$enable_shared" = yes || enable_static
=yes
12329 echo "$as_me:$LINENO: result: $enable_static" >&5
12330 echo "${ECHO_T}$enable_static" >&6
12337 ac_cpp
='$CPP $CPPFLAGS'
12338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12346 ac_cpp
='$CXXCPP $CPPFLAGS'
12347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12351 archive_cmds_need_lc_CXX
=no
12352 allow_undefined_flag_CXX
=
12353 always_export_symbols_CXX
=no
12354 archive_expsym_cmds_CXX
=
12355 compiler_needs_object_CXX
=no
12356 export_dynamic_flag_spec_CXX
=
12357 hardcode_direct_CXX
=no
12358 hardcode_direct_absolute_CXX
=no
12359 hardcode_libdir_flag_spec_CXX
=
12360 hardcode_libdir_flag_spec_ld_CXX
=
12361 hardcode_libdir_separator_CXX
=
12362 hardcode_minus_L_CXX
=no
12363 hardcode_shlibpath_var_CXX
=unsupported
12364 hardcode_automatic_CXX
=no
12365 inherit_rpath_CXX
=no
12367 module_expsym_cmds_CXX
=
12368 link_all_deplibs_CXX
=unknown
12369 old_archive_cmds_CXX
=$old_archive_cmds
12370 no_undefined_flag_CXX
=
12371 whole_archive_flag_spec_CXX
=
12372 enable_shared_with_static_runtimes_CXX
=no
12374 # Source file extension for C++ test sources.
12377 # Object file extension for compiled C++ test sources.
12381 # No sense in running all these tests if we already determined that
12382 # the CXX compiler isn't working. Some variables (like enable_shared)
12383 # are currently assumed to apply to all compilers on this platform,
12384 # and will be corrupted by setting them based on a non-working compiler.
12385 if test "$_lt_caught_CXX_error" != yes; then
12386 # Code to be used in simple compile tests
12387 lt_simple_compile_test_code
="int some_variable = 0;"
12389 # Code to be used in simple link tests
12390 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12392 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12399 # If no C compiler was specified, use CC.
12402 # If no C compiler flags were specified, use CFLAGS.
12403 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12405 # Allow CC to be a program name with arguments.
12409 # save warnings/boilerplate of simple test code
12410 ac_outfile
=conftest.
$ac_objext
12411 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12412 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12413 _lt_compiler_boilerplate
=`cat conftest.err`
12416 ac_outfile
=conftest.
$ac_objext
12417 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12418 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12419 _lt_linker_boilerplate
=`cat conftest.err`
12423 # Allow CC to be a program name with arguments.
12428 lt_save_with_gnu_ld
=$with_gnu_ld
12429 lt_save_path_LD
=$lt_cv_path_LD
12430 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12431 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12433 $as_unset lt_cv_prog_gnu_ld
12435 if test -n "${lt_cv_path_LDCXX+set}"; then
12436 lt_cv_path_LD
=$lt_cv_path_LDCXX
12438 $as_unset lt_cv_path_LD
12440 test -z "${LDCXX+set}" || LD
=$LDCXX
12444 for cc_temp
in $compiler""; do
12446 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12447 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12452 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12455 if test -n "$compiler"; then
12456 # We don't want -fno-exception when compiling C++ code, so set the
12457 # no_builtin_flag separately
12458 if test "$GXX" = yes; then
12459 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12461 lt_prog_compiler_no_builtin_flag_CXX
=
12464 if test "$GXX" = yes; then
12465 # Set up default GNU C++ configuration
12469 # Check whether --with-gnu-ld or --without-gnu-ld was given.
12470 if test "${with_gnu_ld+set}" = set; then
12471 withval
="$with_gnu_ld"
12472 test "$withval" = no || with_gnu_ld
=yes
12477 if test "$GCC" = yes; then
12478 # Check if gcc -print-prog-name=ld gives a path.
12479 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12480 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
12483 # gcc leaves a trailing carriage return which upsets mingw
12484 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12486 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12489 # Accept absolute paths.
12491 re_direlt
='/[^/][^/]*/\.\./'
12492 # Canonicalize the pathname of ld
12493 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12494 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12495 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12497 test -z "$LD" && LD
="$ac_prog"
12500 # If it fails, then pretend we aren't using GCC.
12504 # If it is relative, then search for the first ld in PATH.
12505 with_gnu_ld
=unknown
12508 elif test "$with_gnu_ld" = yes; then
12509 echo "$as_me:$LINENO: checking for GNU ld" >&5
12510 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
12512 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12513 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
12515 if test "${lt_cv_path_LD+set}" = set; then
12516 echo $ECHO_N "(cached) $ECHO_C" >&6
12518 if test -z "$LD"; then
12519 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12520 for ac_dir
in $PATH; do
12522 test -z "$ac_dir" && ac_dir
=.
12523 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12524 lt_cv_path_LD
="$ac_dir/$ac_prog"
12525 # Check to see if the program is GNU ld. I'd rather use --version,
12526 # but apparently some variants of GNU ld only accept -v.
12527 # Break only if it was the GNU/non-GNU ld that we prefer.
12528 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12529 *GNU
* |
*'with BFD'*)
12530 test "$with_gnu_ld" != no
&& break
12533 test "$with_gnu_ld" != yes && break
12540 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12544 LD
="$lt_cv_path_LD"
12545 if test -n "$LD"; then
12546 echo "$as_me:$LINENO: result: $LD" >&5
12547 echo "${ECHO_T}$LD" >&6
12549 echo "$as_me:$LINENO: result: no" >&5
12550 echo "${ECHO_T}no" >&6
12552 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
12553 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
12554 { (exit 1); exit 1; }; }
12555 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12556 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
12557 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12558 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12561 case `$LD -v 2>&1 </dev/null` in
12562 *GNU
* |
*'with BFD'*)
12563 lt_cv_prog_gnu_ld
=yes
12566 lt_cv_prog_gnu_ld
=no
12570 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12571 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
12572 with_gnu_ld
=$lt_cv_prog_gnu_ld
12580 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12581 # archiving commands below assume that GNU ld is being used.
12582 if test "$with_gnu_ld" = yes; then
12583 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12584 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'
12586 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12587 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12589 # If archive_cmds runs LD, not CC, wlarc should be empty
12590 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12591 # investigate it a little bit more. (MM)
12594 # ancient GNU ld didn't support --whole-archive et. al.
12595 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12596 $GREP 'no-whole-archive' > /dev
/null
; then
12597 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12599 whole_archive_flag_spec_CXX
=
12605 # A generic and very simple default shared library creation
12606 # command for GNU C++ for the case where it uses the native
12607 # linker, instead of GNU ld. If possible, this setting should
12608 # overridden to take advantage of the native linker features on
12609 # the platform it is being used on.
12610 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12613 # Commands to make compiler produce verbose output that lists
12614 # what "hidden" libraries, object files and flags are used when
12615 # linking a shared library.
12616 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12624 # PORTME: fill in a description of your system's C++ link characteristics
12625 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12626 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12630 # FIXME: insert proper C++ library support
12634 if test "$host_cpu" = ia64
; then
12635 # On IA64, the linker does run time linking by default, so we don't
12636 # have to do anything special.
12637 aix_use_runtimelinking
=no
12638 exp_sym_flag
='-Bexport'
12641 aix_use_runtimelinking
=no
12643 # Test if we are trying to use run time linking or normal
12644 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12645 # need to do runtime linking.
12646 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
12647 for ld_flag
in $LDFLAGS; do
12650 aix_use_runtimelinking
=yes
12658 exp_sym_flag
='-bexport'
12659 no_entry_flag
='-bnoentry'
12662 # When large executables or shared objects are built, AIX ld can
12663 # have problems creating the table of contents. If linking a library
12664 # or program results in "error TOC overflow" add -mminimal-toc to
12665 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12666 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12668 archive_cmds_CXX
=''
12669 hardcode_direct_CXX
=yes
12670 hardcode_direct_absolute_CXX
=yes
12671 hardcode_libdir_separator_CXX
=':'
12672 link_all_deplibs_CXX
=yes
12673 file_list_spec_CXX
='${wl}-f,'
12675 if test "$GXX" = yes; then
12676 case $host_os in aix4.
[012]|aix4.
[012].
*)
12677 # We only want to do this on AIX 4.2 and lower, the check
12678 # below for broken collect2 doesn't work under 4.3+
12679 collect2name
=`${CC} -print-prog-name=collect2`
12680 if test -f "$collect2name" &&
12681 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12683 # We have reworked collect2
12686 # We have old collect2
12687 hardcode_direct_CXX
=unsupported
12688 # It fails to find uninstalled libraries when the uninstalled
12689 # path is not listed in the libpath. Setting hardcode_minus_L
12690 # to unsupported forces relinking
12691 hardcode_minus_L_CXX
=yes
12692 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12693 hardcode_libdir_separator_CXX
=
12696 shared_flag
='-shared'
12697 if test "$aix_use_runtimelinking" = yes; then
12698 shared_flag
="$shared_flag "'${wl}-G'
12702 if test "$host_cpu" = ia64
; then
12703 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12704 # chokes on -Wl,-G. The following line is correct:
12707 if test "$aix_use_runtimelinking" = yes; then
12708 shared_flag
='${wl}-G'
12710 shared_flag
='${wl}-bM:SRE'
12715 # It seems that -bexpall does not export symbols beginning with
12716 # underscore (_), so it is better to generate a list of symbols to
12718 always_export_symbols_CXX
=yes
12719 if test "$aix_use_runtimelinking" = yes; then
12720 # Warning - without using the other runtime loading flags (-brtl),
12721 # -berok will link without error, but may produce a broken library.
12722 allow_undefined_flag_CXX
='-berok'
12723 # Determine the default libpath from the value encoded in an empty
12725 if test x
$gcc_no_link = xyes
; then
12726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12728 { (exit 1); exit 1; }; }
12730 cat >conftest.
$ac_ext <<_ACEOF
12733 cat confdefs.h
>>conftest.
$ac_ext
12734 cat >>conftest.
$ac_ext <<_ACEOF
12735 /* end confdefs.h. */
12745 rm -f conftest.
$ac_objext conftest
$ac_exeext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12747 (eval $ac_link) 2>conftest.er1
12749 grep -v '^ *+' conftest.er1
>conftest.err
12751 cat conftest.err
>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); } &&
12754 { ac_try
='test -z "$ac_cxx_werror_flag"
12755 || test ! -s conftest.err'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; } &&
12761 { ac_try
='test -s conftest$ac_exeext'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; }; then
12768 lt_aix_libpath_sed
='
12769 /Import File Strings/,/^$/ {
12775 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12776 # Check for a 64-bit object if we didn't find anything.
12777 if test -z "$aix_libpath"; then
12778 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.
$ac_ext >&5
12785 rm -f conftest.err conftest.
$ac_objext \
12786 conftest
$ac_exeext conftest.
$ac_ext
12787 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12789 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12791 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"
12793 if test "$host_cpu" = ia64
; then
12794 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
12795 allow_undefined_flag_CXX
="-z nodefs"
12796 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"
12798 # Determine the default libpath from the value encoded in an
12799 # empty executable.
12800 if test x
$gcc_no_link = xyes
; then
12801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12803 { (exit 1); exit 1; }; }
12805 cat >conftest.
$ac_ext <<_ACEOF
12808 cat confdefs.h
>>conftest.
$ac_ext
12809 cat >>conftest.
$ac_ext <<_ACEOF
12810 /* end confdefs.h. */
12820 rm -f conftest.
$ac_objext conftest
$ac_exeext
12821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12822 (eval $ac_link) 2>conftest.er1
12824 grep -v '^ *+' conftest.er1
>conftest.err
12826 cat conftest.err
>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } &&
12829 { ac_try
='test -z "$ac_cxx_werror_flag"
12830 || test ! -s conftest.err'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; } &&
12836 { ac_try
='test -s conftest$ac_exeext'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; }; then
12843 lt_aix_libpath_sed
='
12844 /Import File Strings/,/^$/ {
12850 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12851 # Check for a 64-bit object if we didn't find anything.
12852 if test -z "$aix_libpath"; then
12853 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12856 echo "$as_me: failed program was:" >&5
12857 sed 's/^/| /' conftest.
$ac_ext >&5
12860 rm -f conftest.err conftest.
$ac_objext \
12861 conftest
$ac_exeext conftest.
$ac_ext
12862 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12864 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
12865 # Warning - without using the other run time loading flags,
12866 # -berok will link without error, but may produce a broken library.
12867 no_undefined_flag_CXX
=' ${wl}-bernotok'
12868 allow_undefined_flag_CXX
=' ${wl}-berok'
12869 # Exported symbols can be pulled into shared objects from archives
12870 whole_archive_flag_spec_CXX
='$convenience'
12871 archive_cmds_need_lc_CXX
=yes
12872 # This is similar to how AIX traditionally builds its shared
12874 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'
12880 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12881 allow_undefined_flag_CXX
=unsupported
12882 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12883 # support --undefined. This deserves some investigation. FIXME
12884 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12891 case $cc_basename in
12893 # FIXME: insert proper C++ library support
12899 cygwin
* | mingw
* | pw32
*)
12900 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12901 # as there is no search path for DLLs.
12902 hardcode_libdir_flag_spec_CXX
='-L$libdir'
12903 allow_undefined_flag_CXX
=unsupported
12904 always_export_symbols_CXX
=no
12905 enable_shared_with_static_runtimes_CXX
=yes
12907 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12908 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'
12909 # If the export-symbols file already is a .def file (1st line
12910 # is EXPORTS), use it as is; otherwise, prepend...
12911 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12912 cp $export_symbols $output_objdir/$soname.def;
12914 echo EXPORTS > $output_objdir/$soname.def;
12915 cat $export_symbols >> $output_objdir/$soname.def;
12917 $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'
12922 darwin
* | rhapsody
*)
12924 rhapsody
* | darwin1.
[012])
12925 allow_undefined_flag_CXX
='${wl}-undefined ${wl}suppress'
12928 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12930 allow_undefined_flag_CXX
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12933 allow_undefined_flag_CXX
='${wl}-undefined ${wl}dynamic_lookup'
12938 archive_cmds_need_lc_CXX
=no
12939 hardcode_direct_CXX
=no
12940 hardcode_automatic_CXX
=yes
12941 hardcode_shlibpath_var_CXX
=unsupported
12942 whole_archive_flag_spec_CXX
=''
12943 link_all_deplibs_CXX
=yes
12945 if test "$GXX" = yes ; then
12946 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 lt_cv_apple_cc_single_mod
=no
12950 if test -z "${LT_MULTI_MODULE}"; then
12951 # By default we will add the -single_module flag. You can override
12952 # by either setting the environment variable LT_MULTI_MODULE
12953 # non-empty at configure time, or by adding -multi-module to the
12955 echo "int foo(void){return 1;}" > conftest.c
12956 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12957 -dynamiclib ${wl}-single_module conftest.c
12958 if test -f libconftest.dylib
; then
12959 lt_cv_apple_cc_single_mod
=yes
12960 rm libconftest.dylib
12962 rm conftest.
$ac_ext
12966 output_verbose_link_cmd
=echo
12967 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
12968 archive_cmds_CXX
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12969 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}'
12971 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'
12972 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}'
12974 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12975 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}'
12977 case $cc_basename in
12979 output_verbose_link_cmd
=echo
12980 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'
12981 module_cmds_CXX
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12982 # Don't fix this by using the ld -exported_symbols_list flag,
12983 # it doesn't exist in older darwin lds
12984 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}'
12985 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}'
12995 case $cc_basename in
12997 # FIXME: insert proper C++ library support
13001 # Green Hills C++ Compiler
13002 # FIXME: insert proper C++ library support
13006 # FIXME: insert proper C++ library support
13013 # C++ shared libraries reported to be fairly broken before
13019 archive_cmds_need_lc_CXX
=no
13022 freebsd
* | dragonfly
*)
13023 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13032 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13033 hardcode_libdir_separator_CXX
=:
13034 export_dynamic_flag_spec_CXX
='${wl}-E'
13035 hardcode_direct_CXX
=yes
13036 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13037 # but as the default
13038 # location of the library.
13040 case $cc_basename in
13042 # FIXME: insert proper C++ library support
13046 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'
13047 # Commands to make compiler produce verbose output that lists
13048 # what "hidden" libraries, object files and flags are used when
13049 # linking a shared library.
13051 # There doesn't appear to be a way to prevent this compiler from
13052 # explicitly linking system object files so we need to strip them
13053 # from the output so that they don't get included in the library
13055 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'
13058 if test "$GXX" = yes; then
13059 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'
13061 # FIXME: insert proper C++ library support
13069 if test $with_gnu_ld = no
; then
13070 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13071 hardcode_libdir_separator_CXX
=:
13077 export_dynamic_flag_spec_CXX
='${wl}-E'
13083 hardcode_direct_CXX
=no
13084 hardcode_shlibpath_var_CXX
=no
13087 hardcode_direct_CXX
=yes
13088 hardcode_direct_absolute_CXX
=yes
13089 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13090 # but as the default
13091 # location of the library.
13095 case $cc_basename in
13097 # FIXME: insert proper C++ library support
13103 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13106 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13109 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13112 # Commands to make compiler produce verbose output that lists
13113 # what "hidden" libraries, object files and flags are used when
13114 # linking a shared library.
13116 # There doesn't appear to be a way to prevent this compiler from
13117 # explicitly linking system object files so we need to strip them
13118 # from the output so that they don't get included in the library
13120 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'
13123 if test "$GXX" = yes; then
13124 if test $with_gnu_ld = no
; then
13127 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13130 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13133 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'
13138 # FIXME: insert proper C++ library support
13146 hardcode_direct_CXX
=no
13147 hardcode_shlibpath_var_CXX
=no
13148 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13149 export_dynamic_flag_spec_CXX
='${wl}-E'
13150 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13151 # Instead, shared libraries are loaded at an image base (0x10000000 by
13152 # default) and relocated if they conflict, which is a slow very memory
13153 # consuming and fragmenting process. To avoid this, we pick a random,
13154 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13155 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13156 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'
13157 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'
13160 case $cc_basename in
13163 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'
13165 # Archives containing C++ object files must be created using
13166 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13167 # necessary to make sure instantiated templates are included
13169 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13172 if test "$GXX" = yes; then
13173 if test "$with_gnu_ld" = no
; then
13174 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'
13176 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13179 link_all_deplibs_CXX
=yes
13182 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13183 hardcode_libdir_separator_CXX
=:
13184 inherit_rpath_CXX
=yes
13187 linux
* | k
*bsd
*-gnu)
13188 case $cc_basename in
13190 # Kuck and Associates, Inc. (KAI) C++ Compiler
13192 # KCC will only create a shared library if the output file
13193 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13194 # to its proper name (with version) after linking.
13195 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'
13196 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'
13197 # Commands to make compiler produce verbose output that lists
13198 # what "hidden" libraries, object files and flags are used when
13199 # linking a shared library.
13201 # There doesn't appear to be a way to prevent this compiler from
13202 # explicitly linking system object files so we need to strip them
13203 # from the output so that they don't get included in the library
13205 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'
13207 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13208 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13210 # Archives containing C++ object files must be created using
13211 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13212 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13217 # version 8.0 and above of icpc choke on multiply defined symbols
13218 # if we add $predep_objects and $postdep_objects, however 7.1 and
13219 # earlier do not add the objects themselves.
13220 case `$CC -V 2>&1` in
13222 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13223 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'
13225 *) # Version 8.0 or newer
13228 ia64
*) tmp_idyn
=' -i_dynamic';;
13230 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13231 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'
13234 archive_cmds_need_lc_CXX
=no
13235 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13236 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13237 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13240 # Portland Group C++ compiler
13243 prelink_cmds_CXX
='tpldir=Template.dir~
13245 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13246 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13247 old_archive_cmds_CXX
='tpldir=Template.dir~
13249 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13250 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13252 archive_cmds_CXX
='tpldir=Template.dir~
13254 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13255 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13256 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13258 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13259 $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'
13261 *) # Version 6 will use weak symbols
13262 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13263 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'
13267 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13268 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13269 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'
13273 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13274 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'
13276 runpath_var
=LD_RUN_PATH
13277 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13278 hardcode_libdir_separator_CXX
=:
13280 # Commands to make compiler produce verbose output that lists
13281 # what "hidden" libraries, object files and flags are used when
13282 # linking a shared library.
13284 # There doesn't appear to be a way to prevent this compiler from
13285 # explicitly linking system object files so we need to strip them
13286 # from the output so that they don't get included in the library
13288 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'
13291 case `$CC -V 2>&1 | sed 5q` in
13294 no_undefined_flag_CXX
=' -zdefs'
13295 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13296 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'
13297 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13298 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'
13299 compiler_needs_object_CXX
=yes
13301 # Not sure whether something based on
13302 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13304 output_verbose_link_cmd
='echo'
13306 # Archives containing C++ object files must be created using
13307 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13308 # necessary to make sure instantiated templates are included
13310 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13318 # FIXME: insert proper C++ library support
13323 # FIXME: insert proper C++ library support
13328 case $cc_basename in
13330 # FIXME: insert proper C++ library support
13334 # FIXME: insert proper C++ library support
13341 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13342 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13344 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13345 hardcode_direct_CXX
=yes
13346 hardcode_shlibpath_var_CXX
=no
13348 # Workaround some broken pre-1.5 toolchains
13349 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13357 # C++ shared libraries are fairly broken
13362 hardcode_direct_CXX
=yes
13363 hardcode_shlibpath_var_CXX
=no
13364 hardcode_direct_absolute_CXX
=yes
13365 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13366 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13367 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13368 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13369 export_dynamic_flag_spec_CXX
='${wl}-E'
13370 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13372 output_verbose_link_cmd
=echo
13375 osf3
* | osf4
* | osf5
*)
13376 case $cc_basename in
13378 # Kuck and Associates, Inc. (KAI) C++ Compiler
13380 # KCC will only create a shared library if the output file
13381 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13382 # to its proper name (with version) after linking.
13383 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'
13385 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13386 hardcode_libdir_separator_CXX
=:
13388 # Archives containing C++ object files must be created using
13389 # the KAI C++ compiler.
13391 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13392 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13396 # Rational C++ 2.4.1
13397 # FIXME: insert proper C++ library support
13403 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13404 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'
13405 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13408 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13409 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'
13410 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13411 echo "-hidden">> $lib.exp~
13412 $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~
13414 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13418 hardcode_libdir_separator_CXX
=:
13420 # Commands to make compiler produce verbose output that lists
13421 # what "hidden" libraries, object files and flags are used when
13422 # linking a shared library.
13424 # There doesn't appear to be a way to prevent this compiler from
13425 # explicitly linking system object files so we need to strip them
13426 # from the output so that they don't get included in the library
13428 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'
13431 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13432 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13435 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'
13438 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'
13442 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13443 hardcode_libdir_separator_CXX
=:
13445 # Commands to make compiler produce verbose output that lists
13446 # what "hidden" libraries, object files and flags are used when
13447 # linking a shared library.
13448 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13451 # FIXME: insert proper C++ library support
13459 # FIXME: insert proper C++ library support
13464 case $cc_basename in
13467 # FIXME: insert proper C++ library support
13472 # FIXME: insert proper C++ library support
13476 # FIXME: insert proper C++ library support
13483 case $cc_basename in
13485 # Sun C++ 4.2, 5.x and Centerline C++
13486 archive_cmds_need_lc_CXX
=yes
13487 no_undefined_flag_CXX
=' -zdefs'
13488 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13489 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13490 $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'
13492 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13493 hardcode_shlibpath_var_CXX
=no
13495 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13497 # The compiler driver will combine and reorder linker options,
13498 # but understands `-z linker_flag'.
13499 # Supported since Solaris 2.6 (maybe 2.5.1?)
13500 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13503 link_all_deplibs_CXX
=yes
13505 output_verbose_link_cmd
='echo'
13507 # Archives containing C++ object files must be created using
13508 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13509 # necessary to make sure instantiated templates are included
13511 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13514 # Green Hills C++ Compiler
13515 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13517 # The C++ compiler must be used to create the archive.
13518 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13521 # GNU C++ compiler with Solaris linker
13522 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13523 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13524 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13525 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13526 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13527 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13529 # Commands to make compiler produce verbose output that lists
13530 # what "hidden" libraries, object files and flags are used when
13531 # linking a shared library.
13532 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13534 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13536 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13537 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13538 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13540 # Commands to make compiler produce verbose output that lists
13541 # what "hidden" libraries, object files and flags are used when
13542 # linking a shared library.
13543 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13546 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13548 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13550 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13558 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13559 no_undefined_flag_CXX
='${wl}-z,text'
13560 archive_cmds_need_lc_CXX
=no
13561 hardcode_shlibpath_var_CXX
=no
13562 runpath_var
='LD_RUN_PATH'
13564 case $cc_basename in
13566 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13567 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13570 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13571 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13576 sysv5
* | sco3.2v5
* | sco5v6
*)
13577 # Note: We can NOT use -z defs as we might desire, because we do not
13578 # link with -lc, and that would cause any symbols used from libc to
13579 # always be unresolved, which means just about no library would
13580 # ever link correctly. If we're not using GNU ld we use -z text
13581 # though, which does catch some bad symbols but isn't as heavy-handed
13583 no_undefined_flag_CXX
='${wl}-z,text'
13584 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13585 archive_cmds_need_lc_CXX
=no
13586 hardcode_shlibpath_var_CXX
=no
13587 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13588 hardcode_libdir_separator_CXX
=':'
13589 link_all_deplibs_CXX
=yes
13590 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13591 runpath_var
='LD_RUN_PATH'
13593 case $cc_basename in
13595 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13596 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13599 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13600 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13606 case $cc_basename in
13608 # NonStop-UX NCC 3.20
13609 # FIXME: insert proper C++ library support
13613 # FIXME: insert proper C++ library support
13620 # FIXME: insert proper C++ library support
13625 # FIXME: insert proper C++ library support
13630 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13631 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13632 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13638 ## There is no encapsulation within the following macros, do not change
13639 ## the running order or otherwise move them around unless you know exactly
13640 ## what you are doing...
13641 # Dependencies to place before and after the object being linked:
13642 predep_objects_CXX
=
13643 postdep_objects_CXX
=
13646 compiler_lib_search_path_CXX
=
13648 cat > conftest.
$ac_ext <<_LT_EOF
13652 Foo (void) { a = 0; }
13658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13659 (eval $ac_compile) 2>&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); }; then
13663 # Parse the compiler output and extract the necessary
13664 # objects, libraries and library flags.
13666 # Sentinel used to keep track of whether or not we are before
13667 # the conftest object file.
13668 pre_test_object_deps_done
=no
13670 # The `*' in the case matches for architectures that use `case' in
13671 # $output_verbose_cmd can trigger glob expansion during the loop
13672 # eval without this substitution.
13673 output_verbose_link_cmd
=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
13675 for p
in `eval $output_verbose_link_cmd`; do
13679 # Some compilers place space between "-{L,R}" and the path.
13680 # Remove the space.
13681 if test $p = "-L" ||
13682 test $p = "-R"; then
13689 if test "$pre_test_object_deps_done" = no
; then
13692 # Internal compiler library paths should come after those
13693 # provided the user. The postdeps already come after the
13694 # user supplied libs so there is no need to process them.
13695 if test -z "$compiler_lib_search_path_CXX"; then
13696 compiler_lib_search_path_CXX
="${prev}${p}"
13698 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
13701 # The "-l" case would never come before the object being
13702 # linked, so don't bother handling this case.
13705 if test -z "$postdeps_CXX"; then
13706 postdeps_CXX
="${prev}${p}"
13708 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
13714 # This assumes that the test object file only shows up
13715 # once in the compiler output.
13716 if test "$p" = "conftest.$objext"; then
13717 pre_test_object_deps_done
=yes
13721 if test "$pre_test_object_deps_done" = no
; then
13722 if test -z "$predep_objects_CXX"; then
13723 predep_objects_CXX
="$p"
13725 predep_objects_CXX
="$predep_objects_CXX $p"
13728 if test -z "$postdep_objects_CXX"; then
13729 postdep_objects_CXX
="$p"
13731 postdep_objects_CXX
="$postdep_objects_CXX $p"
13736 *) ;; # Ignore the rest.
13744 echo "libtool.m4: error: problem compiling CXX test program"
13747 $RM -f confest.
$objext
13749 # PORTME: override above test on systems where it is broken
13752 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13753 # hack all around it, let's just trust "g++" to DTRT.
13754 predep_objects_CXX
=
13755 postdep_objects_CXX
=
13760 case `$CC -V 2>&1 | sed 5q` in
13764 # The more standards-conforming stlport4 library is
13765 # incompatible with the Cstd library. Avoid specifying
13766 # it if it's in CXXFLAGS. Ignore libCrun as
13767 # -library=stlport4 depends on it.
13768 case " $CXX $CXXFLAGS " in
13769 *" -library=stlport4 "*)
13770 solaris_use_stlport4
=yes
13774 if test "$solaris_use_stlport4" != yes; then
13775 postdeps_CXX
='-library=Cstd -library=Crun'
13782 case $cc_basename in
13784 # The more standards-conforming stlport4 library is
13785 # incompatible with the Cstd library. Avoid specifying
13786 # it if it's in CXXFLAGS. Ignore libCrun as
13787 # -library=stlport4 depends on it.
13788 case " $CXX $CXXFLAGS " in
13789 *" -library=stlport4 "*)
13790 solaris_use_stlport4
=yes
13794 # Adding this requires a known-good setup of shared libraries for
13795 # Sun compiler versions before 5.6, else PIC objects from an old
13796 # archive will be linked into the output, leading to subtle bugs.
13797 if test "$solaris_use_stlport4" != yes; then
13798 postdeps_CXX
='-library=Cstd -library=Crun'
13806 case " $postdeps_CXX " in
13807 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
13835 lt_prog_compiler_wl_CXX
=
13836 lt_prog_compiler_pic_CXX
=
13837 lt_prog_compiler_static_CXX
=
13839 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13840 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13842 # C++ specific cases for pic, static, wl, etc.
13843 if test "$GXX" = yes; then
13844 lt_prog_compiler_wl_CXX
='-Wl,'
13845 lt_prog_compiler_static_CXX
='-static'
13849 # All AIX code is PIC.
13850 if test "$host_cpu" = ia64
; then
13851 # AIX 5 now supports IA64 processor
13852 lt_prog_compiler_static_CXX
='-Bstatic'
13856 if test "$host_cpu" = m68k
; then
13857 # FIXME: we need at least 68020 code to build shared libraries, but
13858 # adding the `-m68020' flag to GCC prevents building anything better,
13860 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
13863 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13864 # PIC is the default for these OSes.
13866 mingw
* | cygwin
* | os2
* | pw32
*)
13867 # This hack is so that the source file can tell whether it is being
13868 # built for inclusion in a dll (and should export symbols for example).
13869 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13870 # (--disable-auto-import) libraries
13871 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
13873 darwin
* | rhapsody
*)
13874 # PIC is the default on this platform
13875 # Common symbols not allowed in MH_DYLIB files
13876 lt_prog_compiler_pic_CXX
='-fno-common'
13879 # DJGPP does not support shared libraries at all
13880 lt_prog_compiler_pic_CXX
=
13883 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13884 # Instead, we relocate shared libraries at runtime.
13887 if test -d /usr
/nec
; then
13888 lt_prog_compiler_pic_CXX
=-Kconform_pic
13892 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13893 # not for PA HP-UX.
13898 lt_prog_compiler_pic_CXX
='-fPIC'
13903 # QNX uses GNU C++, but need to define -shared option too, otherwise
13904 # it will coredump.
13905 lt_prog_compiler_pic_CXX
='-fPIC -shared'
13908 lt_prog_compiler_pic_CXX
='-fPIC'
13914 # All AIX code is PIC.
13915 if test "$host_cpu" = ia64
; then
13916 # AIX 5 now supports IA64 processor
13917 lt_prog_compiler_static_CXX
='-Bstatic'
13919 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
13923 case $cc_basename in
13925 # Green Hills C++ Compiler
13926 # _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"
13931 # PIC is the default on this platform
13932 # Common symbols not allowed in MH_DYLIB files
13933 case $cc_basename in
13935 lt_prog_compiler_pic_CXX
='-qnocommon'
13936 lt_prog_compiler_wl_CXX
='-Wl,'
13941 case $cc_basename in
13943 lt_prog_compiler_pic_CXX
='-KPIC'
13946 # Green Hills C++ Compiler
13947 lt_prog_compiler_pic_CXX
='-pic'
13953 freebsd
* | dragonfly
*)
13954 # FreeBSD uses GNU C++
13956 hpux9
* | hpux10
* | hpux11
*)
13957 case $cc_basename in
13959 lt_prog_compiler_wl_CXX
='-Wl,'
13960 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13961 if test "$host_cpu" != ia64
; then
13962 lt_prog_compiler_pic_CXX
='+Z'
13966 lt_prog_compiler_wl_CXX
='-Wl,'
13967 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
13973 lt_prog_compiler_pic_CXX
='+Z'
13982 # This is c89, which is MS Visual C++ (no shared libs)
13983 # Anyone wants to do a port?
13985 irix5
* | irix6
* | nonstopux
*)
13986 case $cc_basename in
13988 lt_prog_compiler_wl_CXX
='-Wl,'
13989 lt_prog_compiler_static_CXX
='-non_shared'
13990 # CC pic flag -KPIC is the default.
13996 linux
* | k
*bsd
*-gnu)
13997 case $cc_basename in
14000 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14001 lt_prog_compiler_pic_CXX
='-fPIC'
14005 lt_prog_compiler_wl_CXX
='-Wl,'
14006 lt_prog_compiler_pic_CXX
='-KPIC'
14007 lt_prog_compiler_static_CXX
='-static'
14010 # Portland Group C++ compiler
14011 lt_prog_compiler_wl_CXX
='-Wl,'
14012 lt_prog_compiler_pic_CXX
='-fpic'
14013 lt_prog_compiler_static_CXX
='-Bstatic'
14017 # Make sure the PIC flag is empty. It appears that all Alpha
14018 # Linux and Compaq Tru64 Unix objects are PIC.
14019 lt_prog_compiler_pic_CXX
=
14020 lt_prog_compiler_static_CXX
='-non_shared'
14023 case `$CC -V 2>&1 | sed 5q` in
14026 lt_prog_compiler_pic_CXX
='-KPIC'
14027 lt_prog_compiler_static_CXX
='-Bstatic'
14028 lt_prog_compiler_wl_CXX
='-Qoption ld '
14039 case $cc_basename in
14041 lt_prog_compiler_pic_CXX
='-W c,exportall'
14050 # QNX uses GNU C++, but need to define -shared option too, otherwise
14051 # it will coredump.
14052 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14054 osf3
* | osf4
* | osf5
*)
14055 case $cc_basename in
14057 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14060 # Rational C++ 2.4.1
14061 lt_prog_compiler_pic_CXX
='-pic'
14064 # Digital/Compaq C++
14065 lt_prog_compiler_wl_CXX
='-Wl,'
14066 # Make sure the PIC flag is empty. It appears that all Alpha
14067 # Linux and Compaq Tru64 Unix objects are PIC.
14068 lt_prog_compiler_pic_CXX
=
14069 lt_prog_compiler_static_CXX
='-non_shared'
14078 case $cc_basename in
14080 # Sun C++ 4.2, 5.x and Centerline C++
14081 lt_prog_compiler_pic_CXX
='-KPIC'
14082 lt_prog_compiler_static_CXX
='-Bstatic'
14083 lt_prog_compiler_wl_CXX
='-Qoption ld '
14086 # Green Hills C++ Compiler
14087 lt_prog_compiler_pic_CXX
='-PIC'
14094 case $cc_basename in
14097 lt_prog_compiler_pic_CXX
='-pic'
14098 lt_prog_compiler_static_CXX
='-Bstatic'
14102 lt_prog_compiler_pic_CXX
='-pic'
14108 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14109 case $cc_basename in
14111 lt_prog_compiler_wl_CXX
='-Wl,'
14112 lt_prog_compiler_pic_CXX
='-KPIC'
14113 lt_prog_compiler_static_CXX
='-Bstatic'
14118 case $cc_basename in
14120 # NonStop-UX NCC 3.20
14121 lt_prog_compiler_pic_CXX
='-KPIC'
14130 lt_prog_compiler_can_build_shared_CXX
=no
14136 # For platforms which do not support PIC, -DPIC is meaningless:
14138 lt_prog_compiler_pic_CXX
=
14141 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14144 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14145 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
14150 # Check to make sure the PIC flag actually works.
14152 if test -n "$lt_prog_compiler_pic_CXX"; then
14153 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14154 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
14155 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
14156 echo $ECHO_N "(cached) $ECHO_C" >&6
14158 lt_prog_compiler_pic_works_CXX
=no
14159 ac_outfile
=conftest.
$ac_objext
14160 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14161 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14162 # Insert the option either (1) after the last *FLAGS variable, or
14163 # (2) before a word containing "conftest.", or (3) at the end.
14164 # Note that $ac_compile itself does not contain backslashes and begins
14165 # with a dollar sign (not a hyphen), so the echo should work correctly.
14166 # The option is referenced via a variable to avoid confusing sed.
14167 lt_compile
=`echo "$ac_compile" | $SED \
14168 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14169 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14170 -e 's:$: $lt_compiler_flag:'`
14171 (eval echo "\"\$as_me:14171: $lt_compile\"" >&5)
14172 (eval "$lt_compile" 2>conftest.err
)
14174 cat conftest.err
>&5
14175 echo "$as_me:14175: \$? = $ac_status" >&5
14176 if (exit $ac_status) && test -s "$ac_outfile"; then
14177 # The compiler can only warn and ignore the option if not recognized
14178 # So say no if there are warnings other than the usual output.
14179 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14180 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14181 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14182 lt_prog_compiler_pic_works_CXX
=yes
14188 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
14189 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
14191 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
14192 case $lt_prog_compiler_pic_CXX in
14194 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14197 lt_prog_compiler_pic_CXX
=
14198 lt_prog_compiler_can_build_shared_CXX
=no
14206 # Check to make sure the static flag actually works.
14208 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14209 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14210 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
14211 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
14212 echo $ECHO_N "(cached) $ECHO_C" >&6
14214 lt_prog_compiler_static_works_CXX
=no
14215 save_LDFLAGS
="$LDFLAGS"
14216 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14217 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14218 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14219 # The linker can only warn and ignore the option if not recognized
14220 # So say no if there are warnings
14221 if test -s conftest.err
; then
14222 # Append any errors to the config.log.
14223 cat conftest.err
1>&5
14224 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14225 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14226 if diff conftest.exp conftest.er2
>/dev
/null
; then
14227 lt_prog_compiler_static_works_CXX
=yes
14230 lt_prog_compiler_static_works_CXX
=yes
14234 LDFLAGS
="$save_LDFLAGS"
14237 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
14238 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
14240 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
14243 lt_prog_compiler_static_CXX
=
14249 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14250 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14251 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14252 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 lt_cv_prog_compiler_c_o_CXX
=no
14255 $RM -r conftest
2>/dev
/null
14259 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14261 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14262 # Insert the option either (1) after the last *FLAGS variable, or
14263 # (2) before a word containing "conftest.", or (3) at the end.
14264 # Note that $ac_compile itself does not contain backslashes and begins
14265 # with a dollar sign (not a hyphen), so the echo should work correctly.
14266 lt_compile
=`echo "$ac_compile" | $SED \
14267 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14268 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14269 -e 's:$: $lt_compiler_flag:'`
14270 (eval echo "\"\$as_me:14270: $lt_compile\"" >&5)
14271 (eval "$lt_compile" 2>out
/conftest.err
)
14273 cat out
/conftest.err
>&5
14274 echo "$as_me:14274: \$? = $ac_status" >&5
14275 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14277 # The compiler can only warn and ignore the option if not recognized
14278 # So say no if there are warnings
14279 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14280 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14281 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14282 lt_cv_prog_compiler_c_o_CXX
=yes
14287 # SGI C++ compiler will create directory out/ii_files/ for
14288 # template instantiation
14289 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14290 $RM out
/* && rmdir out
14296 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14297 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14301 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14302 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
14303 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 lt_cv_prog_compiler_c_o_CXX
=no
14307 $RM -r conftest
2>/dev
/null
14311 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14313 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14314 # Insert the option either (1) after the last *FLAGS variable, or
14315 # (2) before a word containing "conftest.", or (3) at the end.
14316 # Note that $ac_compile itself does not contain backslashes and begins
14317 # with a dollar sign (not a hyphen), so the echo should work correctly.
14318 lt_compile
=`echo "$ac_compile" | $SED \
14319 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14320 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14321 -e 's:$: $lt_compiler_flag:'`
14322 (eval echo "\"\$as_me:14322: $lt_compile\"" >&5)
14323 (eval "$lt_compile" 2>out
/conftest.err
)
14325 cat out
/conftest.err
>&5
14326 echo "$as_me:14326: \$? = $ac_status" >&5
14327 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14329 # The compiler can only warn and ignore the option if not recognized
14330 # So say no if there are warnings
14331 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14332 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14333 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14334 lt_cv_prog_compiler_c_o_CXX
=yes
14339 # SGI C++ compiler will create directory out/ii_files/ for
14340 # template instantiation
14341 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14342 $RM out
/* && rmdir out
14348 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14349 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
14354 hard_links
="nottested"
14355 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14356 # do not overwrite the value of need_locks provided by the user
14357 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14358 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
14361 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14363 ln conftest.a conftest.b
2>&5 || hard_links
=no
14364 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14365 echo "$as_me:$LINENO: result: $hard_links" >&5
14366 echo "${ECHO_T}$hard_links" >&6
14367 if test "$hard_links" = no
; then
14368 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14369 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14378 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14379 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
14381 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14384 # If we're using GNU nm, then we don't want the "-C" option.
14385 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14386 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14387 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'
14389 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'
14393 export_symbols_cmds_CXX
="$ltdll_cmds"
14396 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'
14399 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14403 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14404 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14405 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14407 with_gnu_ld_CXX
=$with_gnu_ld
14415 # Do we need to explicitly link libc?
14417 case "x$archive_cmds_need_lc_CXX" in
14419 # Assume -lc should be added
14420 archive_cmds_need_lc_CXX
=yes
14422 if test "$enable_shared" = yes && test "$GCC" = yes; then
14423 case $archive_cmds_CXX in
14425 # FIXME: we may have to deal with multi-command sequences.
14428 # Test whether the compiler implicitly links with -lc since on some
14429 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14430 # to ld, don't add -lc before -lgcc.
14431 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14432 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14434 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14437 (eval $ac_compile) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); } 2>conftest.err
; then
14443 libobjs
=conftest.
$ac_objext
14445 wl
=$lt_prog_compiler_wl_CXX
14446 pic_flag
=$lt_prog_compiler_pic_CXX
14452 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14453 allow_undefined_flag_CXX
=
14454 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
14455 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }
14460 archive_cmds_need_lc_CXX
=no
14462 archive_cmds_need_lc_CXX
=yes
14464 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14466 cat conftest.err
1>&5
14469 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
14470 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
14540 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14541 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14543 library_names_spec
=
14544 libname_spec
='lib$name'
14548 postuninstall_cmds
=
14552 shlibpath_overrides_runpath
=unknown
14554 dynamic_linker
="$host_os ld.so"
14555 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14556 need_lib_prefix
=unknown
14557 hardcode_into_libs
=no
14559 # when you set need_version to no, make sure it does not cause -set_version
14560 # flags to be left without arguments
14561 need_version
=unknown
14566 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14567 shlibpath_var
=LIBPATH
14569 # AIX 3 has no versioning support, so we append a major version to the name.
14570 soname_spec
='${libname}${release}${shared_ext}$major'
14577 hardcode_into_libs
=yes
14578 if test "$host_cpu" = ia64
; then
14579 # AIX 5 supports IA64
14580 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14581 shlibpath_var
=LD_LIBRARY_PATH
14583 # With GCC up to 2.95.x, collect2 would create an import file
14584 # for dependence libraries. The import file would start with
14585 # the line `#! .'. This would cause the generated library to
14586 # depend on `.', always an invalid library. This was fixed in
14587 # development snapshots of GCC prior to 3.0.
14589 aix4 | aix4.
[01] | aix4.
[01].
*)
14590 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14592 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14595 can_build_shared
=no
14599 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14600 # soname into executable. Probably we can add versioning support to
14601 # collect2, so additional links can be useful in future.
14602 if test "$aix_use_runtimelinking" = yes; then
14603 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14604 # instead of lib<name>.a to let people know that these are not
14605 # typical AIX shared libraries.
14606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14608 # We preserve .a as extension for shared libraries through AIX4.2
14609 # and later when we are not doing run time linking.
14610 library_names_spec
='${libname}${release}.a $libname.a'
14611 soname_spec
='${libname}${release}${shared_ext}$major'
14613 shlibpath_var
=LIBPATH
14618 if test "$host_cpu" = m68k
; then
14619 library_names_spec
='$libname.ixlibrary $libname.a'
14620 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14621 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'
14628 library_names_spec
='${libname}${shared_ext}'
14629 dynamic_linker
="$host_os ld.so"
14630 shlibpath_var
=LIBRARY_PATH
14636 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14637 soname_spec
='${libname}${release}${shared_ext}$major'
14638 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
14639 shlibpath_var
=LD_LIBRARY_PATH
14640 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14641 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
14642 # the default ld.so.conf also contains /usr/contrib/lib and
14643 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14644 # libtool to hard-code these into programs
14647 cygwin
* | mingw
* | pw32
*)
14648 version_type
=windows
14653 case $withGCC,$host_os in
14654 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
14655 library_names_spec
='$libname.dll.a'
14656 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14657 postinstall_cmds
='base_file=`basename \${file}`~
14658 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14659 dldir=$destdir/`dirname \$dlpath`~
14660 test -d \$dldir || mkdir -p \$dldir~
14661 $install_prog $dir/$dlname \$dldir/$dlname~
14662 chmod a+x \$dldir/$dlname~
14663 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14664 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14666 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14667 dlpath=$dir/\$dldll~
14669 shlibpath_overrides_runpath
=yes
14673 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14674 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14675 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
14678 # MinGW DLLs use traditional 'lib' prefix
14679 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14680 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14681 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
14682 # It is most probably a Windows format PATH printed by
14683 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14684 # path with ; separators, and with drive letters. We can handle the
14685 # drive letters (cygwin fileutils understands them), so leave them,
14686 # especially as we might pass files found there to a mingw objdump,
14687 # which wouldn't understand a cygwinified path. Ahh.
14688 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14690 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14694 # pw32 DLLs use 'pw' prefix rather than 'lib'
14695 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14701 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14704 dynamic_linker
='Win32 ld.exe'
14705 # FIXME: first we should search . and the directory the executable is in
14709 darwin
* | rhapsody
*)
14710 dynamic_linker
="$host_os dyld"
14711 version_type
=darwin
14714 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14715 soname_spec
='${libname}${release}${major}$shared_ext'
14716 shlibpath_overrides_runpath
=yes
14717 shlibpath_var
=DYLD_LIBRARY_PATH
14718 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
14720 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
14727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14728 soname_spec
='${libname}${release}${shared_ext}$major'
14729 shlibpath_var
=LD_LIBRARY_PATH
14736 freebsd
* | dragonfly
*)
14737 # DragonFly does not have aout. When/if they implement a new
14738 # versioning mechanism, adjust this.
14739 if test -x /usr
/bin
/objformat
; then
14740 objformat
=`/usr/bin/objformat`
14743 freebsd
[123]*) objformat
=aout
;;
14744 *) objformat
=elf
;;
14747 version_type
=freebsd-
$objformat
14748 case $version_type in
14750 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14755 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14759 shlibpath_var
=LD_LIBRARY_PATH
14762 shlibpath_overrides_runpath
=yes
14764 freebsd3.
[01]* | freebsdelf3.
[01]*)
14765 shlibpath_overrides_runpath
=yes
14766 hardcode_into_libs
=yes
14768 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
14769 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
14770 shlibpath_overrides_runpath
=no
14771 hardcode_into_libs
=yes
14773 *) # from 4.6 on, and DragonFly
14774 shlibpath_overrides_runpath
=yes
14775 hardcode_into_libs
=yes
14784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14785 soname_spec
='${libname}${release}${shared_ext}$major'
14786 shlibpath_var
=LD_LIBRARY_PATH
14787 hardcode_into_libs
=yes
14790 hpux9
* | hpux10
* | hpux11
*)
14791 # Give a soname corresponding to the major version so that dld.sl refuses to
14792 # link against other versions.
14799 hardcode_into_libs
=yes
14800 dynamic_linker
="$host_os dld.so"
14801 shlibpath_var
=LD_LIBRARY_PATH
14802 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14804 soname_spec
='${libname}${release}${shared_ext}$major'
14805 if test "X$HPUX_IA64_MODE" = X32
; then
14806 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14808 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
14810 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14814 hardcode_into_libs
=yes
14815 dynamic_linker
="$host_os dld.sl"
14816 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
14817 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
14818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14819 soname_spec
='${libname}${release}${shared_ext}$major'
14820 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14821 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
14825 dynamic_linker
="$host_os dld.sl"
14826 shlibpath_var
=SHLIB_PATH
14827 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
14828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14829 soname_spec
='${libname}${release}${shared_ext}$major'
14832 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14833 postinstall_cmds
='chmod 555 $lib'
14840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14841 soname_spec
='${libname}${release}${shared_ext}$major'
14842 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
14843 shlibpath_var
=LD_LIBRARY_PATH
14844 shlibpath_overrides_runpath
=no
14845 hardcode_into_libs
=yes
14848 irix5
* | irix6
* | nonstopux
*)
14850 nonstopux
*) version_type
=nonstopux
;;
14852 if test "$lt_cv_prog_gnu_ld" = yes; then
14860 soname_spec
='${libname}${release}${shared_ext}$major'
14861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14863 irix5
* | nonstopux
*)
14864 libsuff
= shlibsuff
=
14867 case $LD in # libtool.m4 will add one of these switches to LD
14868 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
14869 libsuff
= shlibsuff
= libmagic
=32-bit;;
14870 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
14871 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
14872 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
14873 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
14874 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
14878 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
14879 shlibpath_overrides_runpath
=no
14880 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14881 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
14882 hardcode_into_libs
=yes
14885 # No shared lib support for Linux oldld, aout, or coff.
14886 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
14890 # This must be Linux ELF.
14891 linux
* | k
*bsd
*-gnu)
14895 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14896 soname_spec
='${libname}${release}${shared_ext}$major'
14897 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14898 shlibpath_var
=LD_LIBRARY_PATH
14899 shlibpath_overrides_runpath
=no
14900 # Some binutils ld are patched to set DT_RUNPATH
14901 save_LDFLAGS
=$LDFLAGS
14902 save_libdir
=$libdir
14903 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14904 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14905 if test x
$gcc_no_link = xyes
; then
14906 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14908 { (exit 1); exit 1; }; }
14910 cat >conftest.
$ac_ext <<_ACEOF
14913 cat confdefs.h
>>conftest.
$ac_ext
14914 cat >>conftest.
$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14925 rm -f conftest.
$ac_objext conftest
$ac_exeext
14926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14927 (eval $ac_link) 2>conftest.er1
14929 grep -v '^ *+' conftest.er1
>conftest.err
14931 cat conftest.err
>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } &&
14934 { ac_try
='test -z "$ac_cxx_werror_flag"
14935 || test ! -s conftest.err'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; } &&
14941 { ac_try
='test -s conftest$ac_exeext'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; }; then
14947 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
14948 shlibpath_overrides_runpath
=yes
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.
$ac_ext >&5
14956 rm -f conftest.err conftest.
$ac_objext \
14957 conftest
$ac_exeext conftest.
$ac_ext
14958 LDFLAGS
=$save_LDFLAGS
14959 libdir
=$save_libdir
14961 # This implies no fast_install, which is unacceptable.
14962 # Some rework will be needed to allow for fast_install
14963 # before this can be enabled.
14964 hardcode_into_libs
=yes
14966 # Append ld.so.conf contents to the search path
14967 if test -f /etc
/ld.so.conf
; then
14968 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' ' '`
14969 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
14972 # We used to test for /lib/ld.so.1 and disable shared libraries on
14973 # powerpc, because MkLinux only supported shared libraries with the
14974 # GNU dynamic linker. Since this was broken with cross compilers,
14975 # most powerpc-linux boxes support dynamic linking these days and
14976 # people can always --disable-shared, the test was removed, and we
14977 # assume the GNU/Linux dynamic linker is in use.
14978 dynamic_linker
='GNU/Linux ld.so'
14985 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14987 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14988 dynamic_linker
='NetBSD (a.out) ld.so'
14990 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14991 soname_spec
='${libname}${release}${shared_ext}$major'
14992 dynamic_linker
='NetBSD ld.elf_so'
14994 shlibpath_var
=LD_LIBRARY_PATH
14995 shlibpath_overrides_runpath
=yes
14996 hardcode_into_libs
=yes
15001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15002 shlibpath_var
=LD_LIBRARY_PATH
15003 shlibpath_overrides_runpath
=yes
15010 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15011 soname_spec
='${libname}${release}${shared_ext}$major'
15012 shlibpath_var
=LD_LIBRARY_PATH
15013 shlibpath_overrides_runpath
=no
15014 hardcode_into_libs
=yes
15015 dynamic_linker
='ldqnx.so'
15020 sys_lib_dlsearch_path_spec
="/usr/lib"
15022 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15024 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15025 *) need_version
=no
;;
15027 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15028 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15029 shlibpath_var
=LD_LIBRARY_PATH
15030 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15032 openbsd2.
[89] | openbsd2.
[89].
*)
15033 shlibpath_overrides_runpath
=no
15036 shlibpath_overrides_runpath
=yes
15040 shlibpath_overrides_runpath
=yes
15045 libname_spec
='$name'
15048 library_names_spec
='$libname${shared_ext} $libname.a'
15049 dynamic_linker
='OS/2 ld.exe'
15050 shlibpath_var
=LIBPATH
15053 osf3
* | osf4
* | osf5
*)
15057 soname_spec
='${libname}${release}${shared_ext}$major'
15058 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15059 shlibpath_var
=LD_LIBRARY_PATH
15060 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15061 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15073 soname_spec
='${libname}${release}${shared_ext}$major'
15074 shlibpath_var
=LD_LIBRARY_PATH
15075 shlibpath_overrides_runpath
=yes
15076 hardcode_into_libs
=yes
15077 # ldd complains unless libraries are executable
15078 postinstall_cmds
='chmod +x $lib'
15083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15084 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15085 shlibpath_var
=LD_LIBRARY_PATH
15086 shlibpath_overrides_runpath
=yes
15087 if test "$with_gnu_ld" = yes; then
15095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15096 soname_spec
='${libname}${release}${shared_ext}$major'
15097 shlibpath_var
=LD_LIBRARY_PATH
15098 case $host_vendor in
15100 shlibpath_overrides_runpath
=no
15102 runpath_var
=LD_RUN_PATH
15110 shlibpath_overrides_runpath
=no
15111 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15117 if test -d /usr
/nec
;then
15119 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15120 soname_spec
='$libname${shared_ext}.$major'
15121 shlibpath_var
=LD_LIBRARY_PATH
15125 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15126 version_type
=freebsd-elf
15129 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15130 soname_spec
='${libname}${release}${shared_ext}$major'
15131 shlibpath_var
=LD_LIBRARY_PATH
15132 shlibpath_overrides_runpath
=yes
15133 hardcode_into_libs
=yes
15134 if test "$with_gnu_ld" = yes; then
15135 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15137 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15140 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15144 sys_lib_dlsearch_path_spec
='/usr/lib'
15148 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15152 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15153 shlibpath_var
=LD_LIBRARY_PATH
15154 shlibpath_overrides_runpath
=no
15155 hardcode_into_libs
=yes
15160 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15161 soname_spec
='${libname}${release}${shared_ext}$major'
15162 shlibpath_var
=LD_LIBRARY_PATH
15169 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15170 echo "${ECHO_T}$dynamic_linker" >&6
15171 test "$dynamic_linker" = no
&& can_build_shared
=no
15173 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15174 if test "$GCC" = yes; then
15175 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15213 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15214 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
15215 hardcode_action_CXX
=
15216 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15217 test -n "$runpath_var_CXX" ||
15218 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15220 # We can hardcode non-existent directories.
15221 if test "$hardcode_direct_CXX" != no
&&
15222 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15223 # have to relink, otherwise we might link with an installed library
15224 # when we should be linking with a yet-to-be-installed one
15225 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15226 test "$hardcode_minus_L_CXX" != no
; then
15227 # Linking always hardcodes the temporary library directory.
15228 hardcode_action_CXX
=relink
15230 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15231 hardcode_action_CXX
=immediate
15234 # We cannot hardcode anything, or else we can only hardcode existing
15236 hardcode_action_CXX
=unsupported
15238 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15239 echo "${ECHO_T}$hardcode_action_CXX" >&6
15241 if test "$hardcode_action_CXX" = relink ||
15242 test "$inherit_rpath_CXX" = yes; then
15243 # Fast installation is not supported
15244 enable_fast_install
=no
15245 elif test "$shlibpath_overrides_runpath" = yes ||
15246 test "$enable_shared" = no
; then
15247 # Fast installation is not necessary
15248 enable_fast_install
=needless
15257 fi # test -n "$compiler"
15263 with_gnu_ld
=$lt_save_with_gnu_ld
15264 lt_cv_path_LDCXX
=$lt_cv_path_LD
15265 lt_cv_path_LD
=$lt_save_path_LD
15266 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15267 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15268 fi # test "$_lt_caught_CXX_error" != yes
15271 ac_cpp
='$CPP $CPPFLAGS'
15272 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15273 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15274 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15288 ac_config_commands
="$ac_config_commands libtool"
15293 # Only expand once:
15299 # Extract the first word of "$ac_prog", so it can be a program name with args.
15300 set dummy
$ac_prog; ac_word
=$2
15301 echo "$as_me:$LINENO: checking for $ac_word" >&5
15302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15303 if test "${ac_cv_prog_GCJ+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15306 if test -n "$GCJ"; then
15307 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15310 for as_dir
in $PATH
15313 test -z "$as_dir" && as_dir
=.
15314 for ac_exec_ext
in '' $ac_executable_extensions; do
15315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15316 ac_cv_prog_GCJ
="$ac_prog"
15317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15325 GCJ
=$ac_cv_prog_GCJ
15326 if test -n "$GCJ"; then
15327 echo "$as_me:$LINENO: result: $GCJ" >&5
15328 echo "${ECHO_T}$GCJ" >&6
15330 echo "$as_me:$LINENO: result: no" >&5
15331 echo "${ECHO_T}no" >&6
15334 test -n "$GCJ" && break
15336 test -n "$GCJ" || GCJ
="gcj"
15338 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15339 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15340 { (exit 1); exit 1; }; }
15341 if test "x${GCJFLAGS-unset}" = xunset
; then
15346 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15348 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15349 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15350 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15353 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15354 # We make a subdir and do the tests there. Otherwise we can end up
15355 # making bogus files that we don't know about and never remove. For
15356 # instance it was reported that on HP-UX the gcc test will end up
15357 # making a dummy file named `D' -- because `-MD' means `put the output
15360 # Copy depcomp to subdir because otherwise we won't find it if we're
15361 # using a relative directory.
15362 cp "$am_depcomp" conftest.dir
15364 # We will build objects and dependencies in a subdirectory because
15365 # it helps to detect inapplicable dependency modes. For instance
15366 # both Tru64's cc and ICC support -MD to output dependencies as a
15367 # side effect of compilation, but ICC will put the dependencies in
15368 # the current directory while Tru64 will put them in the object
15372 am_cv_GCJ_dependencies_compiler_type
=none
15373 if test "$am_compiler_list" = ""; then
15374 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15376 for depmode
in $am_compiler_list; do
15377 # Setup a source with many dependencies, because some compilers
15378 # like to wrap large dependency lists on column 80 (with \), and
15379 # we should not choose a depcomp mode which is confused by this.
15381 # We need to recreate these files for each test, as the compiler may
15382 # overwrite some of them when testing with obscure command lines.
15383 # This happens at least with the AIX C compiler.
15385 for i
in 1 2 3 4 5 6; do
15386 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15387 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15388 # Solaris 8's {/usr,}/bin/sh.
15389 touch sub
/conftst
$i.h
15391 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15395 # after this tag, mechanisms are not by side-effect, so they'll
15396 # only be used when explicitly requested
15397 if test "x$enable_dependency_tracking" = xyes
; then
15405 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15406 # mode. It turns out that the SunPro C++ compiler does not properly
15407 # handle `-M -o', and we need to detect this.
15408 if depmode
=$depmode \
15409 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15410 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15411 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15412 >/dev
/null
2>conftest.err
&&
15413 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15414 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15415 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15416 # icc doesn't choke on unknown options, it will just issue warnings
15417 # or remarks (even with -Werror). So we grep stderr for any message
15418 # that says an option was ignored or not supported.
15419 # When given -MP, icc 7.0 and 7.1 complain thusly:
15420 # icc: Command line warning: ignoring option '-M'; no argument required
15421 # The diagnosis changed in icc 8.0:
15422 # icc: Command line remark: option '-MP' not supported
15423 if (grep 'ignoring option' conftest.err ||
15424 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15425 am_cv_GCJ_dependencies_compiler_type
=$depmode
15432 rm -rf conftest.dir
15434 am_cv_GCJ_dependencies_compiler_type
=none
15438 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15439 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15440 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15445 test "x$enable_dependency_tracking" != xno \
15446 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15447 am__fastdepGCJ_TRUE
=
15448 am__fastdepGCJ_FALSE
='#'
15450 am__fastdepGCJ_TRUE
='#'
15451 am__fastdepGCJ_FALSE
=
15458 # Extract the first word of "$ac_prog", so it can be a program name with args.
15459 set dummy
$ac_prog; ac_word
=$2
15460 echo "$as_me:$LINENO: checking for $ac_word" >&5
15461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15462 if test "${ac_cv_prog_GCJ+set}" = set; then
15463 echo $ECHO_N "(cached) $ECHO_C" >&6
15465 if test -n "$GCJ"; then
15466 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
15468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15469 for as_dir
in $PATH
15472 test -z "$as_dir" && as_dir
=.
15473 for ac_exec_ext
in '' $ac_executable_extensions; do
15474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15475 ac_cv_prog_GCJ
="$ac_prog"
15476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15484 GCJ
=$ac_cv_prog_GCJ
15485 if test -n "$GCJ"; then
15486 echo "$as_me:$LINENO: result: $GCJ" >&5
15487 echo "${ECHO_T}$GCJ" >&6
15489 echo "$as_me:$LINENO: result: no" >&5
15490 echo "${ECHO_T}no" >&6
15493 test -n "$GCJ" && break
15495 test -n "$GCJ" || GCJ
="gcj"
15497 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
15498 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
15499 { (exit 1); exit 1; }; }
15500 if test "x${GCJFLAGS-unset}" = xunset
; then
15505 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
15507 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
15508 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
15509 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15513 # We make a subdir and do the tests there. Otherwise we can end up
15514 # making bogus files that we don't know about and never remove. For
15515 # instance it was reported that on HP-UX the gcc test will end up
15516 # making a dummy file named `D' -- because `-MD' means `put the output
15519 # Copy depcomp to subdir because otherwise we won't find it if we're
15520 # using a relative directory.
15521 cp "$am_depcomp" conftest.dir
15523 # We will build objects and dependencies in a subdirectory because
15524 # it helps to detect inapplicable dependency modes. For instance
15525 # both Tru64's cc and ICC support -MD to output dependencies as a
15526 # side effect of compilation, but ICC will put the dependencies in
15527 # the current directory while Tru64 will put them in the object
15531 am_cv_GCJ_dependencies_compiler_type
=none
15532 if test "$am_compiler_list" = ""; then
15533 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15535 for depmode
in $am_compiler_list; do
15536 # Setup a source with many dependencies, because some compilers
15537 # like to wrap large dependency lists on column 80 (with \), and
15538 # we should not choose a depcomp mode which is confused by this.
15540 # We need to recreate these files for each test, as the compiler may
15541 # overwrite some of them when testing with obscure command lines.
15542 # This happens at least with the AIX C compiler.
15544 for i
in 1 2 3 4 5 6; do
15545 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
15546 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15547 # Solaris 8's {/usr,}/bin/sh.
15548 touch sub
/conftst
$i.h
15550 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15554 # after this tag, mechanisms are not by side-effect, so they'll
15555 # only be used when explicitly requested
15556 if test "x$enable_dependency_tracking" = xyes
; then
15564 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15565 # mode. It turns out that the SunPro C++ compiler does not properly
15566 # handle `-M -o', and we need to detect this.
15567 if depmode
=$depmode \
15568 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
15569 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
15570 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
15571 >/dev
/null
2>conftest.err
&&
15572 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
15573 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
15574 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
15575 # icc doesn't choke on unknown options, it will just issue warnings
15576 # or remarks (even with -Werror). So we grep stderr for any message
15577 # that says an option was ignored or not supported.
15578 # When given -MP, icc 7.0 and 7.1 complain thusly:
15579 # icc: Command line warning: ignoring option '-M'; no argument required
15580 # The diagnosis changed in icc 8.0:
15581 # icc: Command line remark: option '-MP' not supported
15582 if (grep 'ignoring option' conftest.err ||
15583 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
15584 am_cv_GCJ_dependencies_compiler_type
=$depmode
15591 rm -rf conftest.dir
15593 am_cv_GCJ_dependencies_compiler_type
=none
15597 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
15598 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
15599 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
15604 test "x$enable_dependency_tracking" != xno \
15605 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
15606 am__fastdepGCJ_TRUE
=
15607 am__fastdepGCJ_FALSE
='#'
15609 am__fastdepGCJ_TRUE
='#'
15610 am__fastdepGCJ_FALSE
=
15618 # Source file extension for Java test sources.
15621 # Object file extension for compiled Java test sources.
15625 # Code to be used in simple compile tests
15626 lt_simple_compile_test_code
="int some_variable = 0;"
15628 # Code to be used in simple link tests
15629 lt_simple_link_test_code
='int main(){return(0);}'
15631 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15638 # If no C compiler was specified, use CC.
15641 # If no C compiler flags were specified, use CFLAGS.
15642 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
15644 # Allow CC to be a program name with arguments.
15648 # save warnings/boilerplate of simple test code
15649 ac_outfile
=conftest.
$ac_objext
15650 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
15651 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15652 _lt_compiler_boilerplate
=`cat conftest.err`
15655 ac_outfile
=conftest.
$ac_objext
15656 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
15657 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
15658 _lt_linker_boilerplate
=`cat conftest.err`
15662 # Allow CC to be a program name with arguments.
15665 for cc_temp
in $compiler""; do
15667 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
15668 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
15673 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15676 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15677 archive_cmds_need_lc_GCJ
=no
15679 old_archive_cmds_GCJ
=$old_archive_cmds
15682 ## There is no encapsulation within the following macros, do not change
15683 ## the running order or otherwise move them around unless you know exactly
15684 ## what you are doing...
15685 if test -n "$compiler"; then
15687 lt_prog_compiler_no_builtin_flag_GCJ
=
15689 if test "$GCC" = yes; then
15690 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
15692 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15693 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15694 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15695 echo $ECHO_N "(cached) $ECHO_C" >&6
15697 lt_cv_prog_compiler_rtti_exceptions
=no
15698 ac_outfile
=conftest.
$ac_objext
15699 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15700 lt_compiler_flag
="-fno-rtti -fno-exceptions"
15701 # Insert the option either (1) after the last *FLAGS variable, or
15702 # (2) before a word containing "conftest.", or (3) at the end.
15703 # Note that $ac_compile itself does not contain backslashes and begins
15704 # with a dollar sign (not a hyphen), so the echo should work correctly.
15705 # The option is referenced via a variable to avoid confusing sed.
15706 lt_compile
=`echo "$ac_compile" | $SED \
15707 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15708 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15709 -e 's:$: $lt_compiler_flag:'`
15710 (eval echo "\"\$as_me:15710: $lt_compile\"" >&5)
15711 (eval "$lt_compile" 2>conftest.err
)
15713 cat conftest.err
>&5
15714 echo "$as_me:15714: \$? = $ac_status" >&5
15715 if (exit $ac_status) && test -s "$ac_outfile"; then
15716 # The compiler can only warn and ignore the option if not recognized
15717 # So say no if there are warnings other than the usual output.
15718 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15719 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15720 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15721 lt_cv_prog_compiler_rtti_exceptions
=yes
15727 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15728 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15730 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
15731 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15740 lt_prog_compiler_wl_GCJ
=
15741 lt_prog_compiler_pic_GCJ
=
15742 lt_prog_compiler_static_GCJ
=
15744 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15745 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15747 if test "$GCC" = yes; then
15748 lt_prog_compiler_wl_GCJ
='-Wl,'
15749 lt_prog_compiler_static_GCJ
='-static'
15753 # All AIX code is PIC.
15754 if test "$host_cpu" = ia64
; then
15755 # AIX 5 now supports IA64 processor
15756 lt_prog_compiler_static_GCJ
='-Bstatic'
15761 if test "$host_cpu" = m68k
; then
15762 # FIXME: we need at least 68020 code to build shared libraries, but
15763 # adding the `-m68020' flag to GCC prevents building anything better,
15765 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
15769 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15770 # PIC is the default for these OSes.
15773 mingw
* | cygwin
* | pw32
* | os2
*)
15774 # This hack is so that the source file can tell whether it is being
15775 # built for inclusion in a dll (and should export symbols for example).
15776 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15777 # (--disable-auto-import) libraries
15778 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15781 darwin
* | rhapsody
*)
15782 # PIC is the default on this platform
15783 # Common symbols not allowed in MH_DYLIB files
15784 lt_prog_compiler_pic_GCJ
='-fno-common'
15788 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15789 # not for PA HP-UX.
15795 lt_prog_compiler_pic_GCJ
='-fPIC'
15801 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15802 # Instead, we relocate shared libraries at runtime.
15806 # Just because we use GCC doesn't mean we suddenly get shared libraries
15807 # on systems that don't support them.
15808 lt_prog_compiler_can_build_shared_GCJ
=no
15813 # QNX uses GNU C++, but need to define -shared option too, otherwise
15814 # it will coredump.
15815 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15819 if test -d /usr
/nec
; then
15820 lt_prog_compiler_pic_GCJ
=-Kconform_pic
15825 lt_prog_compiler_pic_GCJ
='-fPIC'
15829 # PORTME Check for flag to pass linker flags through the system compiler.
15832 lt_prog_compiler_wl_GCJ
='-Wl,'
15833 if test "$host_cpu" = ia64
; then
15834 # AIX 5 now supports IA64 processor
15835 lt_prog_compiler_static_GCJ
='-Bstatic'
15837 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
15841 # PIC is the default on this platform
15842 # Common symbols not allowed in MH_DYLIB files
15843 case $cc_basename in
15845 lt_prog_compiler_pic_GCJ
='-qnocommon'
15846 lt_prog_compiler_wl_GCJ
='-Wl,'
15851 mingw
* | cygwin
* | pw32
* | os2
*)
15852 # This hack is so that the source file can tell whether it is being
15853 # built for inclusion in a dll (and should export symbols for example).
15854 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
15857 hpux9
* | hpux10
* | hpux11
*)
15858 lt_prog_compiler_wl_GCJ
='-Wl,'
15859 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15860 # not for PA HP-UX.
15866 lt_prog_compiler_pic_GCJ
='+Z'
15869 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15870 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
15873 irix5
* | irix6
* | nonstopux
*)
15874 lt_prog_compiler_wl_GCJ
='-Wl,'
15875 # PIC (with -KPIC) is the default.
15876 lt_prog_compiler_static_GCJ
='-non_shared'
15879 linux
* | k
*bsd
*-gnu)
15880 case $cc_basename in
15882 lt_prog_compiler_wl_GCJ
='-Wl,'
15883 lt_prog_compiler_pic_GCJ
='-KPIC'
15884 lt_prog_compiler_static_GCJ
='-static'
15886 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
15887 # Portland Group compilers (*not* the Pentium gcc compiler,
15888 # which looks to be a dead project)
15889 lt_prog_compiler_wl_GCJ
='-Wl,'
15890 lt_prog_compiler_pic_GCJ
='-fpic'
15891 lt_prog_compiler_static_GCJ
='-Bstatic'
15894 lt_prog_compiler_wl_GCJ
='-Wl,'
15895 # All Alpha code is PIC.
15896 lt_prog_compiler_static_GCJ
='-non_shared'
15899 case `$CC -V 2>&1 | sed 5q` in
15902 lt_prog_compiler_pic_GCJ
='-KPIC'
15903 lt_prog_compiler_static_GCJ
='-Bstatic'
15904 lt_prog_compiler_wl_GCJ
='-Wl,'
15907 # Sun Fortran 8.3 passes all unrecognized flags to the linker
15908 lt_prog_compiler_pic_GCJ
='-KPIC'
15909 lt_prog_compiler_static_GCJ
='-Bstatic'
15910 lt_prog_compiler_wl_GCJ
=''
15918 lt_prog_compiler_pic_GCJ
='-KPIC'
15919 lt_prog_compiler_static_GCJ
='-Bstatic'
15923 # QNX uses GNU C++, but need to define -shared option too, otherwise
15924 # it will coredump.
15925 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
15928 osf3
* | osf4
* | osf5
*)
15929 lt_prog_compiler_wl_GCJ
='-Wl,'
15930 # All OSF/1 code is PIC.
15931 lt_prog_compiler_static_GCJ
='-non_shared'
15935 lt_prog_compiler_static_GCJ
='-non_shared'
15939 lt_prog_compiler_pic_GCJ
='-KPIC'
15940 lt_prog_compiler_static_GCJ
='-Bstatic'
15941 case $cc_basename in
15942 f77
* | f90
* | f95
*)
15943 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
15945 lt_prog_compiler_wl_GCJ
='-Wl,';;
15950 lt_prog_compiler_wl_GCJ
='-Qoption ld '
15951 lt_prog_compiler_pic_GCJ
='-PIC'
15952 lt_prog_compiler_static_GCJ
='-Bstatic'
15955 sysv4 | sysv4.2uw2
* | sysv4.3
*)
15956 lt_prog_compiler_wl_GCJ
='-Wl,'
15957 lt_prog_compiler_pic_GCJ
='-KPIC'
15958 lt_prog_compiler_static_GCJ
='-Bstatic'
15962 if test -d /usr
/nec
;then
15963 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
15964 lt_prog_compiler_static_GCJ
='-Bstatic'
15968 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15969 lt_prog_compiler_wl_GCJ
='-Wl,'
15970 lt_prog_compiler_pic_GCJ
='-KPIC'
15971 lt_prog_compiler_static_GCJ
='-Bstatic'
15975 lt_prog_compiler_wl_GCJ
='-Wl,'
15976 lt_prog_compiler_can_build_shared_GCJ
=no
15980 lt_prog_compiler_pic_GCJ
='-pic'
15981 lt_prog_compiler_static_GCJ
='-Bstatic'
15985 lt_prog_compiler_can_build_shared_GCJ
=no
15991 # For platforms which do not support PIC, -DPIC is meaningless:
15993 lt_prog_compiler_pic_GCJ
=
15996 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
15999 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16000 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16005 # Check to make sure the PIC flag actually works.
16007 if test -n "$lt_prog_compiler_pic_GCJ"; then
16008 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16009 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16010 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16011 echo $ECHO_N "(cached) $ECHO_C" >&6
16013 lt_prog_compiler_pic_works_GCJ
=no
16014 ac_outfile
=conftest.
$ac_objext
16015 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16016 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16017 # Insert the option either (1) after the last *FLAGS variable, or
16018 # (2) before a word containing "conftest.", or (3) at the end.
16019 # Note that $ac_compile itself does not contain backslashes and begins
16020 # with a dollar sign (not a hyphen), so the echo should work correctly.
16021 # The option is referenced via a variable to avoid confusing sed.
16022 lt_compile
=`echo "$ac_compile" | $SED \
16023 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16024 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16025 -e 's:$: $lt_compiler_flag:'`
16026 (eval echo "\"\$as_me:16026: $lt_compile\"" >&5)
16027 (eval "$lt_compile" 2>conftest.err
)
16029 cat conftest.err
>&5
16030 echo "$as_me:16030: \$? = $ac_status" >&5
16031 if (exit $ac_status) && test -s "$ac_outfile"; then
16032 # The compiler can only warn and ignore the option if not recognized
16033 # So say no if there are warnings other than the usual output.
16034 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16035 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16036 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16037 lt_prog_compiler_pic_works_GCJ
=yes
16043 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16044 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
16046 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
16047 case $lt_prog_compiler_pic_GCJ in
16049 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16052 lt_prog_compiler_pic_GCJ
=
16053 lt_prog_compiler_can_build_shared_GCJ
=no
16061 # Check to make sure the static flag actually works.
16063 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16064 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16065 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16066 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16069 lt_prog_compiler_static_works_GCJ
=no
16070 save_LDFLAGS
="$LDFLAGS"
16071 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16072 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16073 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16074 # The linker can only warn and ignore the option if not recognized
16075 # So say no if there are warnings
16076 if test -s conftest.err
; then
16077 # Append any errors to the config.log.
16078 cat conftest.err
1>&5
16079 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16080 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16081 if diff conftest.exp conftest.er2
>/dev
/null
; then
16082 lt_prog_compiler_static_works_GCJ
=yes
16085 lt_prog_compiler_static_works_GCJ
=yes
16089 LDFLAGS
="$save_LDFLAGS"
16092 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16093 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
16095 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
16098 lt_prog_compiler_static_GCJ
=
16104 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16105 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16106 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 lt_cv_prog_compiler_c_o_GCJ
=no
16110 $RM -r conftest
2>/dev
/null
16114 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16116 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16117 # Insert the option either (1) after the last *FLAGS variable, or
16118 # (2) before a word containing "conftest.", or (3) at the end.
16119 # Note that $ac_compile itself does not contain backslashes and begins
16120 # with a dollar sign (not a hyphen), so the echo should work correctly.
16121 lt_compile
=`echo "$ac_compile" | $SED \
16122 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16123 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16124 -e 's:$: $lt_compiler_flag:'`
16125 (eval echo "\"\$as_me:16125: $lt_compile\"" >&5)
16126 (eval "$lt_compile" 2>out
/conftest.err
)
16128 cat out
/conftest.err
>&5
16129 echo "$as_me:16129: \$? = $ac_status" >&5
16130 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16132 # The compiler can only warn and ignore the option if not recognized
16133 # So say no if there are warnings
16134 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16135 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16136 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16137 lt_cv_prog_compiler_c_o_GCJ
=yes
16142 # SGI C++ compiler will create directory out/ii_files/ for
16143 # template instantiation
16144 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16145 $RM out
/* && rmdir out
16151 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16152 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16156 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16157 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
16158 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16159 echo $ECHO_N "(cached) $ECHO_C" >&6
16161 lt_cv_prog_compiler_c_o_GCJ
=no
16162 $RM -r conftest
2>/dev
/null
16166 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16168 lt_compiler_flag
="-o out/conftest2.$ac_objext"
16169 # Insert the option either (1) after the last *FLAGS variable, or
16170 # (2) before a word containing "conftest.", or (3) at the end.
16171 # Note that $ac_compile itself does not contain backslashes and begins
16172 # with a dollar sign (not a hyphen), so the echo should work correctly.
16173 lt_compile
=`echo "$ac_compile" | $SED \
16174 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16175 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16176 -e 's:$: $lt_compiler_flag:'`
16177 (eval echo "\"\$as_me:16177: $lt_compile\"" >&5)
16178 (eval "$lt_compile" 2>out
/conftest.err
)
16180 cat out
/conftest.err
>&5
16181 echo "$as_me:16181: \$? = $ac_status" >&5
16182 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
16184 # The compiler can only warn and ignore the option if not recognized
16185 # So say no if there are warnings
16186 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
16187 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
16188 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
16189 lt_cv_prog_compiler_c_o_GCJ
=yes
16194 # SGI C++ compiler will create directory out/ii_files/ for
16195 # template instantiation
16196 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
16197 $RM out
/* && rmdir out
16203 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16204 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
16209 hard_links
="nottested"
16210 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
16211 # do not overwrite the value of need_locks provided by the user
16212 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16213 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
16216 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16218 ln conftest.a conftest.b
2>&5 || hard_links
=no
16219 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
16220 echo "$as_me:$LINENO: result: $hard_links" >&5
16221 echo "${ECHO_T}$hard_links" >&6
16222 if test "$hard_links" = no
; then
16223 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16224 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16233 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16234 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
16237 allow_undefined_flag_GCJ
=
16238 always_export_symbols_GCJ
=no
16240 archive_expsym_cmds_GCJ
=
16241 compiler_needs_object_GCJ
=no
16242 enable_shared_with_static_runtimes_GCJ
=no
16243 export_dynamic_flag_spec_GCJ
=
16244 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16245 hardcode_automatic_GCJ
=no
16246 hardcode_direct_GCJ
=no
16247 hardcode_direct_absolute_GCJ
=no
16248 hardcode_libdir_flag_spec_GCJ
=
16249 hardcode_libdir_flag_spec_ld_GCJ
=
16250 hardcode_libdir_separator_GCJ
=
16251 hardcode_minus_L_GCJ
=no
16252 hardcode_shlibpath_var_GCJ
=unsupported
16253 inherit_rpath_GCJ
=no
16254 link_all_deplibs_GCJ
=unknown
16256 module_expsym_cmds_GCJ
=
16257 old_archive_from_new_cmds_GCJ
=
16258 old_archive_from_expsyms_cmds_GCJ
=
16259 thread_safe_flag_spec_GCJ
=
16260 whole_archive_flag_spec_GCJ
=
16261 # include_expsyms should be a list of space-separated symbols to be *always*
16262 # included in the symbol list
16263 include_expsyms_GCJ
=
16264 # exclude_expsyms can be an extended regexp of symbols to exclude
16265 # it will be wrapped by ` (' and `)$', so one must not match beginning or
16266 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16267 # as well as any symbol that contains `d'.
16268 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
16269 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16270 # platforms (ab)use it in PIC code, but their linkers get confused if
16271 # the symbol is explicitly referenced. Since portable code cannot
16272 # rely on this symbol name, it's probably fine to never include it in
16273 # preloaded symbol tables.
16274 extract_expsyms_cmds
=
16277 cygwin
* | mingw
* | pw32
*)
16278 # FIXME: the MSVC++ port hasn't been tested in a loooong time
16279 # When not using gcc, we currently assume that we are using
16280 # Microsoft Visual C++.
16281 if test "$GCC" != yes; then
16286 # we just hope/assume this is gcc and not c89 (= MSVC++)
16295 if test "$with_gnu_ld" = yes; then
16296 # If archive_cmds runs LD, not CC, wlarc should be empty
16299 # Set some defaults for GNU ld with shared library support. These
16300 # are reset later if shared libraries are not supported. Putting them
16301 # here allows them to be overridden if necessary.
16302 runpath_var
=LD_RUN_PATH
16303 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16304 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
16305 # ancient GNU ld didn't support --whole-archive et. al.
16306 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
16307 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16309 whole_archive_flag_spec_GCJ
=
16311 supports_anon_versioning
=no
16312 case `$LD -v 2>&1` in
16313 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
16314 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
16315 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
16316 *\
2.11.
*) ;; # other 2.11 versions
16317 *) supports_anon_versioning
=yes ;;
16320 # See if GNU ld supports shared libraries.
16322 aix3
* | aix4
* | aix5
*)
16323 # On AIX/PPC, the GNU linker is very broken
16324 if test "$host_cpu" != ia64
; then
16328 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
16329 *** to be unable to reliably create shared libraries on AIX.
16330 *** Therefore, libtool is disabling shared libraries support. If you
16331 *** really care for shared libraries, you may want to modify your PATH
16332 *** so that a non-GNU linker is found, and then restart.
16339 if test "$host_cpu" = m68k
; then
16340 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)'
16341 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16342 hardcode_minus_L_GCJ
=yes
16345 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
16346 # that the semantics of dynamic libraries on AmigaOS, at least up
16347 # to version 4, is to share data among multiple programs linked
16348 # with the same dynamic library. Since this doesn't match the
16349 # behavior of shared libraries on other platforms, we can't use
16355 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16356 allow_undefined_flag_GCJ
=unsupported
16357 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16358 # support --undefined. This deserves some investigation. FIXME
16359 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16365 cygwin
* | mingw
* | pw32
*)
16366 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
16367 # as there is no search path for DLLs.
16368 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16369 allow_undefined_flag_GCJ
=unsupported
16370 always_export_symbols_GCJ
=no
16371 enable_shared_with_static_runtimes_GCJ
=yes
16372 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
16374 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
16375 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16376 # If the export-symbols file already is a .def file (1st line
16377 # is EXPORTS), use it as is; otherwise, prepend...
16378 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16379 cp $export_symbols $output_objdir/$soname.def;
16381 echo EXPORTS > $output_objdir/$soname.def;
16382 cat $export_symbols >> $output_objdir/$soname.def;
16384 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16391 hardcode_direct_GCJ
=no
16392 hardcode_shlibpath_var_GCJ
=no
16393 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
16394 export_dynamic_flag_spec_GCJ
='${wl}-E'
16395 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16396 # Instead, shared libraries are loaded at an image base (0x10000000 by
16397 # default) and relocated if they conflict, which is a slow very memory
16398 # consuming and fragmenting process. To avoid this, we pick a random,
16399 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16400 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16401 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'
16402 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'
16405 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
16407 if test "$host_os" = linux-dietlibc
; then
16408 case $cc_basename in
16409 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
16412 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
16413 && test "$tmp_diet" = no
16416 case $cc_basename,$host_cpu in
16417 pgcc
*) # Portland Group C compiler
16418 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'
16419 tmp_addflag
=' $pic_flag'
16421 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
16422 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'
16423 tmp_addflag
=' $pic_flag -Mnomain' ;;
16424 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
16425 tmp_addflag
=' -i_dynamic' ;;
16426 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
16427 tmp_addflag
=' -i_dynamic -nofor_main' ;;
16428 ifc
* | ifort
*) # Intel Fortran compiler
16429 tmp_addflag
=' -nofor_main' ;;
16431 case `$CC -V 2>&1 | sed 5q` in
16432 *Sun\ C
*) # Sun C 5.9
16433 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'
16434 compiler_needs_object_GCJ
=yes
16435 tmp_sharedflag
='-G' ;;
16436 *Sun\ F
*) # Sun Fortran 8.3
16437 tmp_sharedflag
='-G' ;;
16439 tmp_sharedflag
='-shared' ;;
16441 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16443 if test "x$supports_anon_versioning" = xyes
; then
16444 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
16445 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16446 echo "local: *; };" >> $output_objdir/$libname.ver~
16447 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16455 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16456 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
16459 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16460 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16465 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
16469 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
16470 *** create shared libraries on Solaris systems. Therefore, libtool
16471 *** is disabling shared libraries support. We urge you to upgrade GNU
16472 *** binutils to release 2.9.1 or newer. Another option is to modify
16473 *** your PATH or compiler configuration so that the native linker is
16474 *** used, and then restart.
16477 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16478 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16479 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16485 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
16486 case `$LD -v 2>&1` in
16487 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
16491 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
16492 *** reliably create shared libraries on SCO systems. Therefore, libtool
16493 *** is disabling shared libraries support. We urge you to upgrade GNU
16494 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
16495 *** your PATH or compiler configuration so that the native linker is
16496 *** used, and then restart.
16501 # For security reasons, it is highly recommended that you always
16502 # use absolute paths for naming shared libraries, and exclude the
16503 # DT_RUNPATH tag from executables and libraries. But doing so
16504 # requires that you compile everything twice, which is a pain.
16505 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16506 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
16507 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16508 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16517 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16519 hardcode_direct_GCJ
=yes
16520 hardcode_shlibpath_var_GCJ
=no
16524 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
16525 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16526 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16533 if test "$ld_shlibs_GCJ" = no
; then
16535 hardcode_libdir_flag_spec_GCJ
=
16536 export_dynamic_flag_spec_GCJ
=
16537 whole_archive_flag_spec_GCJ
=
16540 # PORTME fill in a description of your system's linker (not GNU ld)
16543 allow_undefined_flag_GCJ
=unsupported
16544 always_export_symbols_GCJ
=yes
16545 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'
16546 # Note: this linker hardcodes the directories in LIBPATH if there
16547 # are no directories specified by -L.
16548 hardcode_minus_L_GCJ
=yes
16549 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
16550 # Neither direct hardcoding nor static linking is supported with a
16552 hardcode_direct_GCJ
=unsupported
16557 if test "$host_cpu" = ia64
; then
16558 # On IA64, the linker does run time linking by default, so we don't
16559 # have to do anything special.
16560 aix_use_runtimelinking
=no
16561 exp_sym_flag
='-Bexport'
16564 # If we're using GNU nm, then we don't want the "-C" option.
16565 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16566 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
16567 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'
16569 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'
16571 aix_use_runtimelinking
=no
16573 # Test if we are trying to use run time linking or normal
16574 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16575 # need to do runtime linking.
16576 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
16577 for ld_flag
in $LDFLAGS; do
16578 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
16579 aix_use_runtimelinking
=yes
16586 exp_sym_flag
='-bexport'
16587 no_entry_flag
='-bnoentry'
16590 # When large executables or shared objects are built, AIX ld can
16591 # have problems creating the table of contents. If linking a library
16592 # or program results in "error TOC overflow" add -mminimal-toc to
16593 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16594 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16596 archive_cmds_GCJ
=''
16597 hardcode_direct_GCJ
=yes
16598 hardcode_direct_absolute_GCJ
=yes
16599 hardcode_libdir_separator_GCJ
=':'
16600 link_all_deplibs_GCJ
=yes
16601 file_list_spec_GCJ
='${wl}-f,'
16603 if test "$GCC" = yes; then
16604 case $host_os in aix4.
[012]|aix4.
[012].
*)
16605 # We only want to do this on AIX 4.2 and lower, the check
16606 # below for broken collect2 doesn't work under 4.3+
16607 collect2name
=`${CC} -print-prog-name=collect2`
16608 if test -f "$collect2name" &&
16609 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
16611 # We have reworked collect2
16614 # We have old collect2
16615 hardcode_direct_GCJ
=unsupported
16616 # It fails to find uninstalled libraries when the uninstalled
16617 # path is not listed in the libpath. Setting hardcode_minus_L
16618 # to unsupported forces relinking
16619 hardcode_minus_L_GCJ
=yes
16620 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16621 hardcode_libdir_separator_GCJ
=
16625 shared_flag
='-shared'
16626 if test "$aix_use_runtimelinking" = yes; then
16627 shared_flag
="$shared_flag "'${wl}-G'
16631 if test "$host_cpu" = ia64
; then
16632 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16633 # chokes on -Wl,-G. The following line is correct:
16636 if test "$aix_use_runtimelinking" = yes; then
16637 shared_flag
='${wl}-G'
16639 shared_flag
='${wl}-bM:SRE'
16644 # It seems that -bexpall does not export symbols beginning with
16645 # underscore (_), so it is better to generate a list of symbols to export.
16646 always_export_symbols_GCJ
=yes
16647 if test "$aix_use_runtimelinking" = yes; then
16648 # Warning - without using the other runtime loading flags (-brtl),
16649 # -berok will link without error, but may produce a broken library.
16650 allow_undefined_flag_GCJ
='-berok'
16651 # Determine the default libpath from the value encoded in an
16652 # empty executable.
16653 if test x
$gcc_no_link = xyes
; then
16654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16656 { (exit 1); exit 1; }; }
16658 cat >conftest.
$ac_ext <<_ACEOF
16661 cat confdefs.h
>>conftest.
$ac_ext
16662 cat >>conftest.
$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16673 rm -f conftest.
$ac_objext conftest
$ac_exeext
16674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16675 (eval $ac_link) 2>conftest.er1
16677 grep -v '^ *+' conftest.er1
>conftest.err
16679 cat conftest.err
>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } &&
16682 { ac_try
='test -z "$ac_c_werror_flag"
16683 || test ! -s conftest.err'
16684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685 (eval $ac_try) 2>&5
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; } &&
16689 { ac_try
='test -s conftest$ac_exeext'
16690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16691 (eval $ac_try) 2>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); }; }; then
16696 lt_aix_libpath_sed
='
16697 /Import File Strings/,/^$/ {
16703 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16704 # Check for a 64-bit object if we didn't find anything.
16705 if test -z "$aix_libpath"; then
16706 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.
$ac_ext >&5
16713 rm -f conftest.err conftest.
$ac_objext \
16714 conftest
$ac_exeext conftest.
$ac_ext
16715 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16717 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16718 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"
16720 if test "$host_cpu" = ia64
; then
16721 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
16722 allow_undefined_flag_GCJ
="-z nodefs"
16723 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"
16725 # Determine the default libpath from the value encoded in an
16726 # empty executable.
16727 if test x
$gcc_no_link = xyes
; then
16728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16730 { (exit 1); exit 1; }; }
16732 cat >conftest.
$ac_ext <<_ACEOF
16735 cat confdefs.h
>>conftest.
$ac_ext
16736 cat >>conftest.
$ac_ext <<_ACEOF
16737 /* end confdefs.h. */
16747 rm -f conftest.
$ac_objext conftest
$ac_exeext
16748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16749 (eval $ac_link) 2>conftest.er1
16751 grep -v '^ *+' conftest.er1
>conftest.err
16753 cat conftest.err
>&5
16754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16755 (exit $ac_status); } &&
16756 { ac_try
='test -z "$ac_c_werror_flag"
16757 || test ! -s conftest.err'
16758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16759 (eval $ac_try) 2>&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); }; } &&
16763 { ac_try
='test -s conftest$ac_exeext'
16764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16765 (eval $ac_try) 2>&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); }; }; then
16770 lt_aix_libpath_sed
='
16771 /Import File Strings/,/^$/ {
16777 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16778 # Check for a 64-bit object if we didn't find anything.
16779 if test -z "$aix_libpath"; then
16780 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.
$ac_ext >&5
16787 rm -f conftest.err conftest.
$ac_objext \
16788 conftest
$ac_exeext conftest.
$ac_ext
16789 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
16791 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
16792 # Warning - without using the other run time loading flags,
16793 # -berok will link without error, but may produce a broken library.
16794 no_undefined_flag_GCJ
=' ${wl}-bernotok'
16795 allow_undefined_flag_GCJ
=' ${wl}-berok'
16796 # Exported symbols can be pulled into shared objects from archives
16797 whole_archive_flag_spec_GCJ
='$convenience'
16798 archive_cmds_need_lc_GCJ
=yes
16799 # This is similar to how AIX traditionally builds its shared libraries.
16800 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'
16806 if test "$host_cpu" = m68k
; then
16807 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)'
16808 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16809 hardcode_minus_L_GCJ
=yes
16811 # see comment about different semantics on the GNU ld section
16816 export_dynamic_flag_spec_GCJ
=-rdynamic
16819 cygwin
* | mingw
* | pw32
*)
16820 # When not using gcc, we currently assume that we are using
16821 # Microsoft Visual C++.
16822 # hardcode_libdir_flag_spec is actually meaningless, as there is
16823 # no search path for DLLs.
16824 hardcode_libdir_flag_spec_GCJ
=' '
16825 allow_undefined_flag_GCJ
=unsupported
16826 # Tell ltmain to make .lib files, not .a files.
16828 # Tell ltmain to make .dll files, not .so files.
16830 # FIXME: Setting linknames here is a bad hack.
16831 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
16832 # The linker will automatically build a .lib file if we build a DLL.
16833 old_archive_from_new_cmds_GCJ
='true'
16834 # FIXME: Should let the user specify the lib program.
16835 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
16836 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
16837 enable_shared_with_static_runtimes_GCJ
=yes
16840 darwin
* | rhapsody
*)
16842 rhapsody
* | darwin1.
[012])
16843 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
16846 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
16848 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
16851 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
16856 archive_cmds_need_lc_GCJ
=no
16857 hardcode_direct_GCJ
=no
16858 hardcode_automatic_GCJ
=yes
16859 hardcode_shlibpath_var_GCJ
=unsupported
16860 whole_archive_flag_spec_GCJ
=''
16861 link_all_deplibs_GCJ
=yes
16862 if test "$GCC" = yes ; then
16863 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
16864 echo $ECHO_N "(cached) $ECHO_C" >&6
16866 lt_cv_apple_cc_single_mod
=no
16867 if test -z "${LT_MULTI_MODULE}"; then
16868 # By default we will add the -single_module flag. You can override
16869 # by either setting the environment variable LT_MULTI_MODULE
16870 # non-empty at configure time, or by adding -multi-module to the
16872 echo "int foo(void){return 1;}" > conftest.c
16873 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16874 -dynamiclib ${wl}-single_module conftest.c
16875 if test -f libconftest.dylib
; then
16876 lt_cv_apple_cc_single_mod
=yes
16877 rm libconftest.dylib
16879 rm conftest.
$ac_ext
16883 output_verbose_link_cmd
=echo
16884 if test "X$lt_cv_apple_cc_single_mod" = Xyes
; then
16885 archive_cmds_GCJ
='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16886 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}'
16888 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16889 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}'
16891 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16892 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}'
16894 case $cc_basename in
16896 output_verbose_link_cmd
=echo
16897 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
16898 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16899 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
16900 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}'
16901 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}'
16911 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16912 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
16913 hardcode_shlibpath_var_GCJ
=no
16920 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
16921 # support. Future versions do this automatically, but an explicit c++rt0.o
16922 # does not break anything, and helps significantly (at the cost of a little
16925 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
16926 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16927 hardcode_direct_GCJ
=yes
16928 hardcode_shlibpath_var_GCJ
=no
16931 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
16933 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16934 hardcode_direct_GCJ
=yes
16935 hardcode_minus_L_GCJ
=yes
16936 hardcode_shlibpath_var_GCJ
=no
16939 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16940 freebsd
* | dragonfly
*)
16941 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16942 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
16943 hardcode_direct_GCJ
=yes
16944 hardcode_shlibpath_var_GCJ
=no
16948 if test "$GCC" = yes; then
16949 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'
16951 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'
16953 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16954 hardcode_libdir_separator_GCJ
=:
16955 hardcode_direct_GCJ
=yes
16957 # hardcode_minus_L: Not really in the search PATH,
16958 # but as the default location of the library.
16959 hardcode_minus_L_GCJ
=yes
16960 export_dynamic_flag_spec_GCJ
='${wl}-E'
16964 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16965 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16967 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16969 if test "$with_gnu_ld" = no
; then
16970 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
16971 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
16972 hardcode_libdir_separator_GCJ
=:
16973 hardcode_direct_GCJ
=yes
16974 hardcode_direct_absolute_GCJ
=yes
16975 export_dynamic_flag_spec_GCJ
='${wl}-E'
16976 # hardcode_minus_L: Not really in the search PATH,
16977 # but as the default location of the library.
16978 hardcode_minus_L_GCJ
=yes
16983 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
16986 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16989 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
16992 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16998 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17001 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17004 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17008 if test "$with_gnu_ld" = no
; then
17009 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17010 hardcode_libdir_separator_GCJ
=:
17014 hardcode_direct_GCJ
=no
17015 hardcode_shlibpath_var_GCJ
=no
17018 hardcode_direct_GCJ
=yes
17019 hardcode_direct_absolute_GCJ
=yes
17020 export_dynamic_flag_spec_GCJ
='${wl}-E'
17022 # hardcode_minus_L: Not really in the search PATH,
17023 # but as the default location of the library.
17024 hardcode_minus_L_GCJ
=yes
17030 irix5
* | irix6
* | nonstopux
*)
17031 if test "$GCC" = yes; then
17032 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'
17033 # Try to use the -exported_symbol ld option, if it does not
17034 # work, assume that -exports_file does not work either and
17035 # implicitly export all symbols.
17036 save_LDFLAGS
="$LDFLAGS"
17037 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17038 if test x
$gcc_no_link = xyes
; then
17039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17041 { (exit 1); exit 1; }; }
17043 cat >conftest.
$ac_ext <<_ACEOF
17046 rm -f conftest.
$ac_objext conftest
$ac_exeext
17047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17048 (eval $ac_link) 2>conftest.er1
17050 grep -v '^ *+' conftest.er1
>conftest.err
17052 cat conftest.err
>&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } &&
17055 { ac_try
='test -z "$ac_c_werror_flag"
17056 || test ! -s conftest.err'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; } &&
17062 { ac_try
='test -s conftest$ac_exeext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17068 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'
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.
$ac_ext >&5
17075 rm -f conftest.err conftest.
$ac_objext \
17076 conftest
$ac_exeext conftest.
$ac_ext
17077 LDFLAGS
="$save_LDFLAGS"
17079 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'
17080 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'
17082 archive_cmds_need_lc_GCJ
='no'
17083 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17084 hardcode_libdir_separator_GCJ
=:
17085 inherit_rpath_GCJ
=yes
17086 link_all_deplibs_GCJ
=yes
17090 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17091 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17093 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17095 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17096 hardcode_direct_GCJ
=yes
17097 hardcode_shlibpath_var_GCJ
=no
17101 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17102 hardcode_direct_GCJ
=yes
17103 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17104 hardcode_libdir_separator_GCJ
=:
17105 hardcode_shlibpath_var_GCJ
=no
17112 hardcode_direct_GCJ
=yes
17113 hardcode_shlibpath_var_GCJ
=no
17114 hardcode_direct_absolute_GCJ
=yes
17115 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17116 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17117 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17118 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17119 export_dynamic_flag_spec_GCJ
='${wl}-E'
17122 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
17123 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17124 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17127 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17128 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17135 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17136 hardcode_minus_L_GCJ
=yes
17137 allow_undefined_flag_GCJ
=unsupported
17138 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'
17139 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17143 if test "$GCC" = yes; then
17144 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17145 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'
17147 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17148 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'
17150 archive_cmds_need_lc_GCJ
='no'
17151 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17152 hardcode_libdir_separator_GCJ
=:
17155 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
17156 if test "$GCC" = yes; then
17157 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
17158 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'
17159 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17161 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
17162 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'
17163 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~
17164 $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'
17166 # Both c and cxx compiler support -rpath directly
17167 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
17169 archive_cmds_need_lc_GCJ
='no'
17170 hardcode_libdir_separator_GCJ
=:
17174 no_undefined_flag_GCJ
=' -z defs'
17175 if test "$GCC" = yes; then
17177 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17178 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17179 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17181 case `$CC -V 2>&1` in
17184 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17185 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17186 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17190 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17191 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17192 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17196 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17197 hardcode_shlibpath_var_GCJ
=no
17199 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
17201 # The compiler driver will combine and reorder linker options,
17202 # but understands `-z linker_flag'. GCC discards it without `$wl',
17203 # but is careful enough not to reorder.
17204 # Supported since Solaris 2.6 (maybe 2.5.1?)
17205 if test "$GCC" = yes; then
17206 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17208 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
17212 link_all_deplibs_GCJ
=yes
17216 if test "x$host_vendor" = xsequent
; then
17217 # Use $CC to link under sequent, because it throws in some extra .o
17218 # files that make .init and .fini sections work.
17219 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17221 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17223 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17224 hardcode_direct_GCJ
=yes
17225 hardcode_minus_L_GCJ
=yes
17226 hardcode_shlibpath_var_GCJ
=no
17230 case $host_vendor in
17232 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17233 hardcode_direct_GCJ
=yes # is this really true???
17236 ## LD is ld it makes a PLAMLIB
17237 ## CC just makes a GrossModule.
17238 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17239 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
17240 hardcode_direct_GCJ
=no
17243 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17244 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
17247 runpath_var
='LD_RUN_PATH'
17248 hardcode_shlibpath_var_GCJ
=no
17252 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17253 hardcode_shlibpath_var_GCJ
=no
17254 export_dynamic_flag_spec_GCJ
='-Bexport'
17258 if test -d /usr
/nec
; then
17259 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17260 hardcode_shlibpath_var_GCJ
=no
17261 runpath_var
=LD_RUN_PATH
17262 hardcode_runpath_var
=yes
17267 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
17268 no_undefined_flag_GCJ
='${wl}-z,text'
17269 archive_cmds_need_lc_GCJ
=no
17270 hardcode_shlibpath_var_GCJ
=no
17271 runpath_var
='LD_RUN_PATH'
17273 if test "$GCC" = yes; then
17274 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17275 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17277 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17278 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17282 sysv5
* | sco3.2v5
* | sco5v6
*)
17283 # Note: We can NOT use -z defs as we might desire, because we do not
17284 # link with -lc, and that would cause any symbols used from libc to
17285 # always be unresolved, which means just about no library would
17286 # ever link correctly. If we're not using GNU ld we use -z text
17287 # though, which does catch some bad symbols but isn't as heavy-handed
17289 no_undefined_flag_GCJ
='${wl}-z,text'
17290 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
17291 archive_cmds_need_lc_GCJ
=no
17292 hardcode_shlibpath_var_GCJ
=no
17293 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
17294 hardcode_libdir_separator_GCJ
=':'
17295 link_all_deplibs_GCJ
=yes
17296 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
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'
17309 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17310 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17311 hardcode_shlibpath_var_GCJ
=no
17319 if test x
$host_vendor = xsni
; then
17321 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
17322 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
17328 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17329 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
17330 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
17332 with_gnu_ld_GCJ
=$with_gnu_ld
17340 # Do we need to explicitly link libc?
17342 case "x$archive_cmds_need_lc_GCJ" in
17344 # Assume -lc should be added
17345 archive_cmds_need_lc_GCJ
=yes
17347 if test "$enable_shared" = yes && test "$GCC" = yes; then
17348 case $archive_cmds_GCJ in
17350 # FIXME: we may have to deal with multi-command sequences.
17353 # Test whether the compiler implicitly links with -lc since on some
17354 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17355 # to ld, don't add -lc before -lgcc.
17356 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17357 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
17359 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 (eval $ac_compile) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } 2>conftest.err
; then
17368 libobjs
=conftest.
$ac_objext
17370 wl
=$lt_prog_compiler_wl_GCJ
17371 pic_flag
=$lt_prog_compiler_pic_GCJ
17377 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
17378 allow_undefined_flag_GCJ
=
17379 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
17380 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }
17385 archive_cmds_need_lc_GCJ
=no
17387 archive_cmds_need_lc_GCJ
=yes
17389 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
17391 cat conftest.err
1>&5
17394 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
17395 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
17465 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
17466 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
17468 library_names_spec
=
17469 libname_spec
='lib$name'
17473 postuninstall_cmds
=
17477 shlibpath_overrides_runpath
=unknown
17479 dynamic_linker
="$host_os ld.so"
17480 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
17481 need_lib_prefix
=unknown
17482 hardcode_into_libs
=no
17484 # when you set need_version to no, make sure it does not cause -set_version
17485 # flags to be left without arguments
17486 need_version
=unknown
17491 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
17492 shlibpath_var
=LIBPATH
17494 # AIX 3 has no versioning support, so we append a major version to the name.
17495 soname_spec
='${libname}${release}${shared_ext}$major'
17502 hardcode_into_libs
=yes
17503 if test "$host_cpu" = ia64
; then
17504 # AIX 5 supports IA64
17505 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17506 shlibpath_var
=LD_LIBRARY_PATH
17508 # With GCC up to 2.95.x, collect2 would create an import file
17509 # for dependence libraries. The import file would start with
17510 # the line `#! .'. This would cause the generated library to
17511 # depend on `.', always an invalid library. This was fixed in
17512 # development snapshots of GCC prior to 3.0.
17514 aix4 | aix4.
[01] | aix4.
[01].
*)
17515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17517 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
17520 can_build_shared
=no
17524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17525 # soname into executable. Probably we can add versioning support to
17526 # collect2, so additional links can be useful in future.
17527 if test "$aix_use_runtimelinking" = yes; then
17528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17529 # instead of lib<name>.a to let people know that these are not
17530 # typical AIX shared libraries.
17531 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17533 # We preserve .a as extension for shared libraries through AIX4.2
17534 # and later when we are not doing run time linking.
17535 library_names_spec
='${libname}${release}.a $libname.a'
17536 soname_spec
='${libname}${release}${shared_ext}$major'
17538 shlibpath_var
=LIBPATH
17543 if test "$host_cpu" = m68k
; then
17544 library_names_spec
='$libname.ixlibrary $libname.a'
17545 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17546 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'
17553 library_names_spec
='${libname}${shared_ext}'
17554 dynamic_linker
="$host_os ld.so"
17555 shlibpath_var
=LIBRARY_PATH
17561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17562 soname_spec
='${libname}${release}${shared_ext}$major'
17563 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
17564 shlibpath_var
=LD_LIBRARY_PATH
17565 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17566 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
17567 # the default ld.so.conf also contains /usr/contrib/lib and
17568 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17569 # libtool to hard-code these into programs
17572 cygwin
* | mingw
* | pw32
*)
17573 version_type
=windows
17578 case $withGCC,$host_os in
17579 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
17580 library_names_spec
='$libname.dll.a'
17581 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17582 postinstall_cmds
='base_file=`basename \${file}`~
17583 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
17584 dldir=$destdir/`dirname \$dlpath`~
17585 test -d \$dldir || mkdir -p \$dldir~
17586 $install_prog $dir/$dlname \$dldir/$dlname~
17587 chmod a+x \$dldir/$dlname~
17588 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17589 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17591 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17592 dlpath=$dir/\$dldll~
17594 shlibpath_overrides_runpath
=yes
17598 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17599 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17600 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
17603 # MinGW DLLs use traditional 'lib' prefix
17604 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17605 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
17606 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
17607 # It is most probably a Windows format PATH printed by
17608 # mingw gcc, but we are running on Cygwin. Gcc prints its search
17609 # path with ; separators, and with drive letters. We can handle the
17610 # drive letters (cygwin fileutils understands them), so leave them,
17611 # especially as we might pass files found there to a mingw objdump,
17612 # which wouldn't understand a cygwinified path. Ahh.
17613 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17615 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17619 # pw32 DLLs use 'pw' prefix rather than 'lib'
17620 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
17626 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17629 dynamic_linker
='Win32 ld.exe'
17630 # FIXME: first we should search . and the directory the executable is in
17634 darwin
* | rhapsody
*)
17635 dynamic_linker
="$host_os dyld"
17636 version_type
=darwin
17639 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17640 soname_spec
='${libname}${release}${major}$shared_ext'
17641 shlibpath_overrides_runpath
=yes
17642 shlibpath_var
=DYLD_LIBRARY_PATH
17643 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
17645 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
17652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17653 soname_spec
='${libname}${release}${shared_ext}$major'
17654 shlibpath_var
=LD_LIBRARY_PATH
17661 freebsd
* | dragonfly
*)
17662 # DragonFly does not have aout. When/if they implement a new
17663 # versioning mechanism, adjust this.
17664 if test -x /usr
/bin
/objformat
; then
17665 objformat
=`/usr/bin/objformat`
17668 freebsd
[123]*) objformat
=aout
;;
17669 *) objformat
=elf
;;
17672 version_type
=freebsd-
$objformat
17673 case $version_type in
17675 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17680 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17684 shlibpath_var
=LD_LIBRARY_PATH
17687 shlibpath_overrides_runpath
=yes
17689 freebsd3.
[01]* | freebsdelf3.
[01]*)
17690 shlibpath_overrides_runpath
=yes
17691 hardcode_into_libs
=yes
17693 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
17694 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
17695 shlibpath_overrides_runpath
=no
17696 hardcode_into_libs
=yes
17698 *) # from 4.6 on, and DragonFly
17699 shlibpath_overrides_runpath
=yes
17700 hardcode_into_libs
=yes
17709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17710 soname_spec
='${libname}${release}${shared_ext}$major'
17711 shlibpath_var
=LD_LIBRARY_PATH
17712 hardcode_into_libs
=yes
17715 hpux9
* | hpux10
* | hpux11
*)
17716 # Give a soname corresponding to the major version so that dld.sl refuses to
17717 # link against other versions.
17724 hardcode_into_libs
=yes
17725 dynamic_linker
="$host_os dld.so"
17726 shlibpath_var
=LD_LIBRARY_PATH
17727 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17729 soname_spec
='${libname}${release}${shared_ext}$major'
17730 if test "X$HPUX_IA64_MODE" = X32
; then
17731 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17733 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
17735 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17739 hardcode_into_libs
=yes
17740 dynamic_linker
="$host_os dld.sl"
17741 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
17742 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
17743 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17744 soname_spec
='${libname}${release}${shared_ext}$major'
17745 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17746 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
17750 dynamic_linker
="$host_os dld.sl"
17751 shlibpath_var
=SHLIB_PATH
17752 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
17753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17754 soname_spec
='${libname}${release}${shared_ext}$major'
17757 # HP-UX runs *really* slowly unless shared libraries are mode 555.
17758 postinstall_cmds
='chmod 555 $lib'
17765 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17766 soname_spec
='${libname}${release}${shared_ext}$major'
17767 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
17768 shlibpath_var
=LD_LIBRARY_PATH
17769 shlibpath_overrides_runpath
=no
17770 hardcode_into_libs
=yes
17773 irix5
* | irix6
* | nonstopux
*)
17775 nonstopux
*) version_type
=nonstopux
;;
17777 if test "$lt_cv_prog_gnu_ld" = yes; then
17785 soname_spec
='${libname}${release}${shared_ext}$major'
17786 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17788 irix5
* | nonstopux
*)
17789 libsuff
= shlibsuff
=
17792 case $LD in # libtool.m4 will add one of these switches to LD
17793 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
17794 libsuff
= shlibsuff
= libmagic
=32-bit;;
17795 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
17796 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
17797 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
17798 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
17799 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
17803 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
17804 shlibpath_overrides_runpath
=no
17805 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17806 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
17807 hardcode_into_libs
=yes
17810 # No shared lib support for Linux oldld, aout, or coff.
17811 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
17815 # This must be Linux ELF.
17816 linux
* | k
*bsd
*-gnu)
17820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17821 soname_spec
='${libname}${release}${shared_ext}$major'
17822 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17823 shlibpath_var
=LD_LIBRARY_PATH
17824 shlibpath_overrides_runpath
=no
17825 # Some binutils ld are patched to set DT_RUNPATH
17826 save_LDFLAGS
=$LDFLAGS
17827 save_libdir
=$libdir
17828 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_GCJ\"; \
17829 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_GCJ\""
17830 if test x
$gcc_no_link = xyes
; then
17831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17833 { (exit 1); exit 1; }; }
17835 cat >conftest.
$ac_ext <<_ACEOF
17838 cat confdefs.h
>>conftest.
$ac_ext
17839 cat >>conftest.
$ac_ext <<_ACEOF
17840 /* end confdefs.h. */
17850 rm -f conftest.
$ac_objext conftest
$ac_exeext
17851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17852 (eval $ac_link) 2>conftest.er1
17854 grep -v '^ *+' conftest.er1
>conftest.err
17856 cat conftest.err
>&5
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); } &&
17859 { ac_try
='test -z "$ac_c_werror_flag"
17860 || test ! -s conftest.err'
17861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17862 (eval $ac_try) 2>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); }; } &&
17866 { ac_try
='test -s conftest$ac_exeext'
17867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17868 (eval $ac_try) 2>&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); }; }; then
17872 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir"; then
17873 shlibpath_overrides_runpath
=yes
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.
$ac_ext >&5
17881 rm -f conftest.err conftest.
$ac_objext \
17882 conftest
$ac_exeext conftest.
$ac_ext
17883 LDFLAGS
=$save_LDFLAGS
17884 libdir
=$save_libdir
17886 # This implies no fast_install, which is unacceptable.
17887 # Some rework will be needed to allow for fast_install
17888 # before this can be enabled.
17889 hardcode_into_libs
=yes
17891 # Append ld.so.conf contents to the search path
17892 if test -f /etc
/ld.so.conf
; then
17893 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' ' '`
17894 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
17897 # We used to test for /lib/ld.so.1 and disable shared libraries on
17898 # powerpc, because MkLinux only supported shared libraries with the
17899 # GNU dynamic linker. Since this was broken with cross compilers,
17900 # most powerpc-linux boxes support dynamic linking these days and
17901 # people can always --disable-shared, the test was removed, and we
17902 # assume the GNU/Linux dynamic linker is in use.
17903 dynamic_linker
='GNU/Linux ld.so'
17910 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17912 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17913 dynamic_linker
='NetBSD (a.out) ld.so'
17915 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17916 soname_spec
='${libname}${release}${shared_ext}$major'
17917 dynamic_linker
='NetBSD ld.elf_so'
17919 shlibpath_var
=LD_LIBRARY_PATH
17920 shlibpath_overrides_runpath
=yes
17921 hardcode_into_libs
=yes
17926 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17927 shlibpath_var
=LD_LIBRARY_PATH
17928 shlibpath_overrides_runpath
=yes
17935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17936 soname_spec
='${libname}${release}${shared_ext}$major'
17937 shlibpath_var
=LD_LIBRARY_PATH
17938 shlibpath_overrides_runpath
=no
17939 hardcode_into_libs
=yes
17940 dynamic_linker
='ldqnx.so'
17945 sys_lib_dlsearch_path_spec
="/usr/lib"
17947 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17949 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
17950 *) need_version
=no
;;
17952 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17953 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17954 shlibpath_var
=LD_LIBRARY_PATH
17955 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17957 openbsd2.
[89] | openbsd2.
[89].
*)
17958 shlibpath_overrides_runpath
=no
17961 shlibpath_overrides_runpath
=yes
17965 shlibpath_overrides_runpath
=yes
17970 libname_spec
='$name'
17973 library_names_spec
='$libname${shared_ext} $libname.a'
17974 dynamic_linker
='OS/2 ld.exe'
17975 shlibpath_var
=LIBPATH
17978 osf3
* | osf4
* | osf5
*)
17982 soname_spec
='${libname}${release}${shared_ext}$major'
17983 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17984 shlibpath_var
=LD_LIBRARY_PATH
17985 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17986 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
17997 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17998 soname_spec
='${libname}${release}${shared_ext}$major'
17999 shlibpath_var
=LD_LIBRARY_PATH
18000 shlibpath_overrides_runpath
=yes
18001 hardcode_into_libs
=yes
18002 # ldd complains unless libraries are executable
18003 postinstall_cmds
='chmod +x $lib'
18008 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18009 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18010 shlibpath_var
=LD_LIBRARY_PATH
18011 shlibpath_overrides_runpath
=yes
18012 if test "$with_gnu_ld" = yes; then
18020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18021 soname_spec
='${libname}${release}${shared_ext}$major'
18022 shlibpath_var
=LD_LIBRARY_PATH
18023 case $host_vendor in
18025 shlibpath_overrides_runpath
=no
18027 runpath_var
=LD_RUN_PATH
18035 shlibpath_overrides_runpath
=no
18036 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18042 if test -d /usr
/nec
;then
18044 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18045 soname_spec
='$libname${shared_ext}.$major'
18046 shlibpath_var
=LD_LIBRARY_PATH
18050 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18051 version_type
=freebsd-elf
18054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18055 soname_spec
='${libname}${release}${shared_ext}$major'
18056 shlibpath_var
=LD_LIBRARY_PATH
18057 shlibpath_overrides_runpath
=yes
18058 hardcode_into_libs
=yes
18059 if test "$with_gnu_ld" = yes; then
18060 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18062 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18065 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18069 sys_lib_dlsearch_path_spec
='/usr/lib'
18073 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18077 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18078 shlibpath_var
=LD_LIBRARY_PATH
18079 shlibpath_overrides_runpath
=no
18080 hardcode_into_libs
=yes
18085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18086 soname_spec
='${libname}${release}${shared_ext}$major'
18087 shlibpath_var
=LD_LIBRARY_PATH
18094 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18095 echo "${ECHO_T}$dynamic_linker" >&6
18096 test "$dynamic_linker" = no
&& can_build_shared
=no
18098 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18099 if test "$GCC" = yes; then
18100 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18138 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18139 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18140 hardcode_action_GCJ
=
18141 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18142 test -n "$runpath_var_GCJ" ||
18143 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18145 # We can hardcode non-existent directories.
18146 if test "$hardcode_direct_GCJ" != no
&&
18147 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18148 # have to relink, otherwise we might link with an installed library
18149 # when we should be linking with a yet-to-be-installed one
18150 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18151 test "$hardcode_minus_L_GCJ" != no
; then
18152 # Linking always hardcodes the temporary library directory.
18153 hardcode_action_GCJ
=relink
18155 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18156 hardcode_action_GCJ
=immediate
18159 # We cannot hardcode anything, or else we can only hardcode existing
18161 hardcode_action_GCJ
=unsupported
18163 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18164 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18166 if test "$hardcode_action_GCJ" = relink ||
18167 test "$inherit_rpath_GCJ" = yes; then
18168 # Fast installation is not supported
18169 enable_fast_install
=no
18170 elif test "$shlibpath_overrides_runpath" = yes ||
18171 test "$enable_shared" = no
; then
18172 # Fast installation is not necessary
18173 enable_fast_install
=needless
18184 compiler_GCJ
=${GCJ-gcj}
18186 ac_cpp
='$CPP $CPPFLAGS'
18187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18192 if test "x$CC" != xcc
; then
18193 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
18194 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
18196 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
18197 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
18199 set dummy
$CC; ac_cc
=`echo $2 |
18200 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18201 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
18202 echo $ECHO_N "(cached) $ECHO_C" >&6
18204 cat >conftest.
$ac_ext <<_ACEOF
18207 cat confdefs.h
>>conftest.
$ac_ext
18208 cat >>conftest.
$ac_ext <<_ACEOF
18209 /* end confdefs.h. */
18219 # Make sure it works both with $CC and with simple cc.
18220 # We do the test twice because some compilers refuse to overwrite an
18221 # existing .o file with -o, though they will create one.
18222 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18223 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); } &&
18228 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); };
18234 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18235 if test "x$CC" != xcc
; then
18236 # Test first that cc exists at all.
18237 if { ac_try
='cc -c conftest.$ac_ext >&5'
18238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18239 (eval $ac_try) 2>&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); }; }; then
18243 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18244 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18245 (eval $ac_try) 2>&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); } &&
18249 test -f conftest.
$ac_objext && { (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); };
18258 # cc exists but doesn't like -o.
18259 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18264 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18269 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
18270 echo "$as_me:$LINENO: result: yes" >&5
18271 echo "${ECHO_T}yes" >&6
18273 echo "$as_me:$LINENO: result: no" >&5
18274 echo "${ECHO_T}no" >&6
18276 cat >>confdefs.h
<<\_ACEOF
18277 #define NO_MINUS_C_MINUS_O 1
18282 # FIXME: we rely on the cache variable name because
18283 # there is no other way.
18285 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18286 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
18287 # Losing compiler, so override with the script.
18288 # FIXME: It is wrong to rewrite CC.
18289 # But if we don't then we get into trouble of one sort or another.
18290 # A longer-term fix would be to have automake use am__CC in this case,
18291 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18292 CC
="$am_aux_dir/compile $CC"
18298 subdirs
="$subdirs classpath libltdl"
18301 # The -no-testsuite modules omit the test subdir.
18304 if test -d $srcdir/testsuite
; then
18306 TESTSUBDIR_FALSE
='#'
18308 TESTSUBDIR_TRUE
='#'
18313 # Should the runtime set system properties by examining the
18314 # environment variable GCJ_PROPERTIES?
18315 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
18316 if test "${enable_getenv_properties+set}" = set; then
18317 enableval
="$enable_getenv_properties"
18321 # Whether GCJ_PROPERTIES is used depends on the target.
18322 if test -z "$enable_getenv_properties"; then
18323 enable_getenv_properties
=${enable_getenv_properties_default-yes}
18325 if test "$enable_getenv_properties" = no
; then
18327 cat >>confdefs.h
<<\_ACEOF
18328 #define DISABLE_GETENV_PROPERTIES 1
18333 # Whether we should use arguments to main()
18334 if test -z "$enable_main_args"; then
18335 enable_main_args
=${enable_main_args_default-yes}
18337 if test "$enable_main_args" = no
; then
18339 cat >>confdefs.h
<<\_ACEOF
18340 #define DISABLE_MAIN_ARGS 1
18346 # Should we use hashtable-based synchronization?
18347 # Currently works only for Linux X86/ia64
18348 # Typically faster and more space-efficient
18349 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
18350 if test "${enable_hash_synchronization+set}" = set; then
18351 enableval
="$enable_hash_synchronization"
18355 if test -z "$enable_hash_synchronization"; then
18356 enable_hash_synchronization
=$enable_hash_synchronization_default
18364 # Check whether --with-ecj-jar or --without-ecj-jar was given.
18365 if test "${with_ecj_jar+set}" = set; then
18366 withval
="$with_ecj_jar"
18369 if test -f $multi_basedir/ecj.jar
; then
18370 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
18371 ECJ_JAR
='$(jardir)/ecj.jar'
18372 install_ecj_jar
=yes
18379 if test "$ECJ_JAR" != ""; then
18381 BUILD_ECJ1_FALSE
='#'
18383 BUILD_ECJ1_TRUE
='#'
18389 if test $install_ecj_jar = yes; then
18390 INSTALL_ECJ_JAR_TRUE
=
18391 INSTALL_ECJ_JAR_FALSE
='#'
18393 INSTALL_ECJ_JAR_TRUE
='#'
18394 INSTALL_ECJ_JAR_FALSE
=
18399 # Check whether --with-java-home or --without-java-home was given.
18400 if test "${with_java_home+set}" = set; then
18401 withval
="$with_java_home"
18402 JAVA_HOME
="${withval}"
18408 if test ! -z "$JAVA_HOME"; then
18409 JAVA_HOME_SET_TRUE
=
18410 JAVA_HOME_SET_FALSE
='#'
18412 JAVA_HOME_SET_TRUE
='#'
18413 JAVA_HOME_SET_FALSE
=
18418 # What is the native OS API for MinGW?
18420 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
18421 if test "${with_win32_nlsapi+set}" = set; then
18422 withval
="$with_win32_nlsapi"
18423 case "${withval}" in
18424 ansi
) with_win32_nlsapi
=ansi
;;
18425 unicows
) with_win32_nlsapi
=unicows
;;
18426 unicode
) with_win32_nlsapi
=unicode
;;
18427 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
18428 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
18429 { (exit 1); exit 1; }; } ;;
18432 with_win32_nlsapi
=ansi
18435 case "${with_win32_nlsapi}" in
18438 cat >>confdefs.h
<<\_ACEOF
18439 #define MINGW_LIBGCJ_UNICODE 1
18445 # configure.host sets slow_pthread_self if the synchronization code should
18446 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
18447 if test "${slow_pthread_self}" = "yes"; then
18449 cat >>confdefs.h
<<\_ACEOF
18450 #define SLOW_PTHREAD_SELF 1
18455 # Check for gc debugging. This option is handled both here and in the GC.
18456 # Check whether --enable-gc-debug or --disable-gc-debug was given.
18457 if test "${enable_gc_debug+set}" = set; then
18458 enableval
="$enable_gc_debug"
18459 if test "$enable_gc_debug" = "yes"; then
18461 cat >>confdefs.h
<<\_ACEOF
18462 #define LIBGCJ_GC_DEBUG 1
18468 # See if the user has the interpreter included.
18469 # Check whether --enable-interpreter or --disable-interpreter was given.
18470 if test "${enable_interpreter+set}" = set; then
18471 enableval
="$enable_interpreter"
18472 if test "$enable_interpreter" = yes; then
18473 # This can also be set in configure.host.
18474 libgcj_interpreter
=yes
18475 elif test "$enable_interpreter" = no
; then
18476 libgcj_interpreter
=no
18480 if test "$libgcj_interpreter" = yes; then
18482 cat >>confdefs.h
<<\_ACEOF
18483 #define INTERPRETER 1
18487 INTERPRETER
="$libgcj_interpreter"
18491 if test "$libgcj_interpreter" = yes; then
18493 INTERPRETER_FALSE
='#'
18495 INTERPRETER_TRUE
='#'
18500 echo "$as_me:$LINENO: checking for exception model to use" >&5
18501 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
18503 ac_cpp
='$CXXCPP $CPPFLAGS'
18504 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18505 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18506 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18508 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
18509 if test "${enable_sjlj_exceptions+set}" = set; then
18510 enableval
="$enable_sjlj_exceptions"
18513 cat > conftest.
$ac_ext << EOF
18514 #line 18514 "configure"
18515 struct S { ~S(); };
18523 old_CXXFLAGS
="$CXXFLAGS"
18525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18526 (eval $ac_compile) 2>&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); }; then
18530 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
18531 enable_sjlj_exceptions
=yes
18532 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
18533 enable_sjlj_exceptions
=no
18536 CXXFLAGS
="$old_CXXFLAGS"
18539 if test x
$enable_sjlj_exceptions = xyes
; then
18541 cat >>confdefs.h
<<\_ACEOF
18542 #define SJLJ_EXCEPTIONS 1
18545 ac_exception_model_name
=sjlj
18546 elif test x
$enable_sjlj_exceptions = xno
; then
18547 ac_exception_model_name
="call frame"
18549 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
18550 echo "$as_me: error: unable to detect exception model" >&2;}
18551 { (exit 1); exit 1; }; }
18554 ac_cpp
='$CPP $CPPFLAGS'
18555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18559 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
18560 echo "${ECHO_T}$ac_exception_model_name" >&6
18562 # If we are non using SJLJ exceptions, and this host does not have support
18563 # for unwinding from a signal handler, enable checked dereferences and divides.
18564 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
18565 CHECKREFSPEC
=-fcheck-references
18566 DIVIDESPEC
=-fuse-divide-subroutine
18570 # See if the user wants to disable java.net. This is the mildly
18571 # ugly way that we admit that target-side configuration sucks.
18572 # Check whether --enable-java-net or --disable-java-net was given.
18573 if test "${enable_java_net+set}" = set; then
18574 enableval
="$enable_java_net"
18578 # Whether java.net is built by default can depend on the target.
18579 if test -z "$enable_java_net"; then
18580 enable_java_net
=${enable_java_net_default-yes}
18582 if test "$enable_java_net" = no
; then
18584 cat >>confdefs.h
<<\_ACEOF
18585 #define DISABLE_JAVA_NET 1
18590 # See if the user wants to configure without libffi. Some
18591 # architectures don't support it, and default values are set in
18594 # Check whether --with-libffi or --without-libffi was given.
18595 if test "${with_libffi+set}" = set; then
18596 withval
="$with_libffi"
18599 with_libffi
=${with_libffi_default-yes}
18604 if test "$with_libffi" != no
; then
18606 cat >>confdefs.h
<<\_ACEOF
18607 #define USE_LIBFFI 1
18610 LIBFFI
=..
/libffi
/libffi_convenience.la
18611 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
18616 # See if the user wants to disable JVMPI support.
18617 # Check whether --enable-jvmpi or --disable-jvmpi was given.
18618 if test "${enable_jvmpi+set}" = set; then
18619 enableval
="$enable_jvmpi"
18623 if test "$enable_jvmpi" != no
; then
18625 cat >>confdefs.h
<<\_ACEOF
18626 #define ENABLE_JVMPI 1
18631 # If the target is an eCos system, use the appropriate eCos
18633 # FIXME: this should not be a local option but a global target
18634 # system; at present there is no eCos target.
18635 TARGET_ECOS
=${PROCESS-"no"}
18637 # Check whether --with-ecos or --without-ecos was given.
18638 if test "${with_ecos+set}" = set; then
18639 withval
="$with_ecos"
18640 TARGET_ECOS
="$with_ecos"
18644 case "$TARGET_ECOS" in
18645 no
) case "$host" in
18651 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
18652 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
18653 LD_PROG
=`$CC --print-prog-name=ld`
18654 LD_VERSION
=`$LD_PROG --version`
18655 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
18656 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
18657 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
18660 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
18664 if test "x$LD_OK" != x
; then
18665 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18666 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18668 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18669 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18670 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
18671 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
18673 cat >>confdefs.h
<<\_ACEOF
18674 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
18690 cat >>confdefs.h
<<\_ACEOF
18698 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
18701 cat >conftest.
$ac_ext <<_ACEOF
18704 cat confdefs.h
>>conftest.
$ac_ext
18705 cat >>conftest.
$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707 #include <stdint.h>
18710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18711 $EGREP "uint32_t" >/dev
/null
2>&1; then
18713 cat >>confdefs.h
<<\_ACEOF
18714 #define HAVE_INT32_DEFINED 1
18720 cat >conftest.
$ac_ext <<_ACEOF
18723 cat confdefs.h
>>conftest.
$ac_ext
18724 cat >>conftest.
$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18726 #include <inttypes.h>
18729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18730 $EGREP "uint32_t" >/dev
/null
2>&1; then
18732 cat >>confdefs.h
<<\_ACEOF
18733 #define HAVE_INT32_DEFINED 1
18739 cat >conftest.
$ac_ext <<_ACEOF
18742 cat confdefs.h
>>conftest.
$ac_ext
18743 cat >>conftest.
$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18745 #include <sys/types.h>
18748 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18749 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18751 cat >>confdefs.h
<<\_ACEOF
18752 #define HAVE_BSD_INT32_DEFINED 1
18758 cat >conftest.
$ac_ext <<_ACEOF
18761 cat confdefs.h
>>conftest.
$ac_ext
18762 cat >>conftest.
$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 #include <sys/config.h>
18767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18768 $EGREP "u_int32_t" >/dev
/null
2>&1; then
18770 cat >>confdefs.h
<<\_ACEOF
18771 #define HAVE_BSD_INT32_DEFINED 1
18780 if test "$PLATFORM" = Win32
; then
18781 USING_WIN32_PLATFORM_TRUE
=
18782 USING_WIN32_PLATFORM_FALSE
='#'
18784 USING_WIN32_PLATFORM_TRUE
='#'
18785 USING_WIN32_PLATFORM_FALSE
=
18790 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
18791 USING_POSIX_PLATFORM_TRUE
=
18792 USING_POSIX_PLATFORM_FALSE
='#'
18794 USING_POSIX_PLATFORM_TRUE
='#'
18795 USING_POSIX_PLATFORM_FALSE
=
18800 *-darwin*) DARWIN_CRT
=true
;;
18801 *) DARWIN_CRT
=false
;;
18805 if $DARWIN_CRT; then
18806 USING_DARWIN_CRT_TRUE
=
18807 USING_DARWIN_CRT_FALSE
='#'
18809 USING_DARWIN_CRT_TRUE
='#'
18810 USING_DARWIN_CRT_FALSE
=
18814 # This may not be defined in a non-ANS conformant embedded system.
18815 # FIXME: Should these case a runtime exception in that case?
18816 cat >conftest.
$ac_ext <<_ACEOF
18819 cat confdefs.h
>>conftest.
$ac_ext
18820 cat >>conftest.
$ac_ext <<_ACEOF
18821 /* end confdefs.h. */
18825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18826 $EGREP "localtime" >/dev
/null
2>&1; then
18828 cat >>confdefs.h
<<\_ACEOF
18829 #define HAVE_LOCALTIME 1
18836 # Create the subdirectory for natFile.cc, or the attempt
18837 # to create the link will fail.
18838 test -d java || mkdir java
18839 test -d java
/io || mkdir java
/io
18840 test -d gnu || mkdir gnu
18841 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
18844 # Likewise for natConcreteProcess.cc.
18845 test -d java
/lang || mkdir java
/lang
18846 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
18849 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
18850 test -d java
/net || mkdir java
/net
18851 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
18853 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
18856 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
18857 test -d gnu
/java || mkdir gnu
/java
18858 test -d gnu
/java
/net || mkdir gnu
/java
/net
18859 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
18861 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
18864 # Likewise for natVMPipe.cc and natVMSelector.cc.
18865 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
18866 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
18868 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
18871 # Likewise for natFileChannelImpl.cc
18872 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
18873 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
18878 SYSTEMSPEC
="-lgdi32 -lws2_32"
18879 if test "${with_win32_nlsapi}" = "unicows"; then
18880 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
18890 # Check whether --with-system-zlib or --without-system-zlib was given.
18891 if test "${with_system_zlib+set}" = set; then
18892 withval
="$with_system_zlib"
18900 echo "$as_me:$LINENO: checking for X" >&5
18901 echo $ECHO_N "checking for X... $ECHO_C" >&6
18904 # Check whether --with-x or --without-x was given.
18905 if test "${with_x+set}" = set; then
18909 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
18910 if test "x$with_x" = xno
; then
18911 # The user explicitly disabled X.
18914 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
18915 # Both variables are already set.
18918 if test "${ac_cv_have_x+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18921 # One or both of the vars are not set, and there is no cached value.
18922 ac_x_includes
=no ac_x_libraries
=no
18923 rm -fr conftest.dir
18924 if mkdir conftest.dir
; then
18926 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
18927 cat >Imakefile
<<'_ACEOF'
18929 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
18931 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
18932 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18933 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
18934 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
18935 for ac_extension
in a so sl
; do
18936 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
18937 test -f $ac_im_libdir/libX11.
$ac_extension; then
18938 ac_im_usrlibdir
=$ac_im_libdir; break
18941 # Screen out bogus values from the imake configuration. They are
18942 # bogus both because they are the default anyway, and because
18943 # using them would break gcc on systems where it needs fixed includes.
18944 case $ac_im_incroot in
18946 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
18948 case $ac_im_usrlibdir in
18949 /usr
/lib |
/lib
) ;;
18950 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
18954 rm -fr conftest.dir
18957 # Standard set of common directories for X headers.
18958 # Check X11 before X11Rn because it is often a symlink to the current release.
18970 /usr/local/X11/include
18971 /usr/local/X11R6/include
18972 /usr/local/X11R5/include
18973 /usr/local/X11R4/include
18975 /usr/local/include/X11
18976 /usr/local/include/X11R6
18977 /usr/local/include/X11R5
18978 /usr/local/include/X11R4
18982 /usr/XFree86/include/X11
18986 /usr/unsupported/include
18987 /usr/athena/include
18988 /usr/local/x11r5/include
18989 /usr/lpp/Xamples/include
18991 /usr/openwin/include
18992 /usr/openwin/share/include'
18994 if test "$ac_x_includes" = no
; then
18995 # Guess where to find include files, by looking for Xlib.h.
18996 # First, try using that file with no special directory specified.
18997 cat >conftest.
$ac_ext <<_ACEOF
19000 cat confdefs.h
>>conftest.
$ac_ext
19001 cat >>conftest.
$ac_ext <<_ACEOF
19002 /* end confdefs.h. */
19003 #include <X11/Xlib.h>
19005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19006 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19008 grep -v '^ *+' conftest.er1
>conftest.err
19010 cat conftest.err
>&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } >/dev
/null
; then
19013 if test -s conftest.err
; then
19014 ac_cpp_err
=$ac_c_preproc_warn_flag
19015 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19022 if test -z "$ac_cpp_err"; then
19023 # We can compile using X headers with no special include directory.
19026 echo "$as_me: failed program was:" >&5
19027 sed 's/^/| /' conftest.
$ac_ext >&5
19029 for ac_dir
in $ac_x_header_dirs; do
19030 if test -r "$ac_dir/X11/Xlib.h"; then
19031 ac_x_includes
=$ac_dir
19036 rm -f conftest.err conftest.
$ac_ext
19037 fi # $ac_x_includes = no
19039 if test "$ac_x_libraries" = no
; then
19040 # Check for the libraries.
19041 # See if we find them without any special options.
19042 # Don't add to $LIBS permanently.
19045 if test x
$gcc_no_link = xyes
; then
19046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19048 { (exit 1); exit 1; }; }
19050 cat >conftest.
$ac_ext <<_ACEOF
19053 cat confdefs.h
>>conftest.
$ac_ext
19054 cat >>conftest.
$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19056 #include <X11/Xlib.h>
19065 rm -f conftest.
$ac_objext conftest
$ac_exeext
19066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19067 (eval $ac_link) 2>conftest.er1
19069 grep -v '^ *+' conftest.er1
>conftest.err
19071 cat conftest.err
>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try
='test -z "$ac_c_werror_flag"
19075 || test ! -s conftest.err'
19076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19077 (eval $ac_try) 2>&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); }; } &&
19081 { ac_try
='test -s conftest$ac_exeext'
19082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083 (eval $ac_try) 2>&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); }; }; then
19088 # We can link X programs with no special library path.
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.
$ac_ext >&5
19095 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19097 # Don't even attempt the hair of trying to link an X program!
19098 for ac_extension
in a so sl
; do
19099 if test -r $ac_dir/libXt.
$ac_extension; then
19100 ac_x_libraries
=$ac_dir
19106 rm -f conftest.err conftest.
$ac_objext \
19107 conftest
$ac_exeext conftest.
$ac_ext
19108 fi # $ac_x_libraries = no
19110 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19111 # Didn't find X anywhere. Cache the known absence of X.
19112 ac_cv_have_x
="have_x=no"
19114 # Record where we found X for the cache.
19115 ac_cv_have_x
="have_x=yes \
19116 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19121 eval "$ac_cv_have_x"
19124 if test "$have_x" != yes; then
19125 echo "$as_me:$LINENO: result: $have_x" >&5
19126 echo "${ECHO_T}$have_x" >&6
19129 # If each of the values was on the command line, it overrides each guess.
19130 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19131 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19132 # Update the cache value to reflect the command line values.
19133 ac_cv_have_x
="have_x=yes \
19134 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19135 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19136 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19139 if test "$no_x" = yes; then
19140 # Not all programs may use this symbol, but it does not hurt to define it.
19142 cat >>confdefs.h
<<\_ACEOF
19143 #define X_DISPLAY_MISSING 1
19146 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19148 if test -n "$x_includes"; then
19149 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19152 # It would also be nice to do this for all -L options, not just this one.
19153 if test -n "$x_libraries"; then
19154 X_LIBS
="$X_LIBS -L$x_libraries"
19155 # For Solaris; some versions of Sun CC require a space after -R and
19156 # others require no space. Words are not sufficient . . . .
19157 case `(uname -sr) 2>/dev/null` in
19159 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19160 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19161 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19162 if test x
$gcc_no_link = xyes
; then
19163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19165 { (exit 1); exit 1; }; }
19167 cat >conftest.
$ac_ext <<_ACEOF
19170 cat confdefs.h
>>conftest.
$ac_ext
19171 cat >>conftest.
$ac_ext <<_ACEOF
19172 /* end confdefs.h. */
19182 rm -f conftest.
$ac_objext conftest
$ac_exeext
19183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19184 (eval $ac_link) 2>conftest.er1
19186 grep -v '^ *+' conftest.er1
>conftest.err
19188 cat conftest.err
>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } &&
19191 { ac_try
='test -z "$ac_c_werror_flag"
19192 || test ! -s conftest.err'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; } &&
19198 { ac_try
='test -s conftest$ac_exeext'
19199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19200 (eval $ac_try) 2>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); }; }; then
19206 echo "$as_me: failed program was:" >&5
19207 sed 's/^/| /' conftest.
$ac_ext >&5
19211 rm -f conftest.err conftest.
$ac_objext \
19212 conftest
$ac_exeext conftest.
$ac_ext
19213 if test $ac_R_nospace = yes; then
19214 echo "$as_me:$LINENO: result: no" >&5
19215 echo "${ECHO_T}no" >&6
19216 X_LIBS
="$X_LIBS -R$x_libraries"
19218 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19219 if test x
$gcc_no_link = xyes
; then
19220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19222 { (exit 1); exit 1; }; }
19224 cat >conftest.
$ac_ext <<_ACEOF
19227 cat confdefs.h
>>conftest.
$ac_ext
19228 cat >>conftest.
$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19239 rm -f conftest.
$ac_objext conftest
$ac_exeext
19240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19241 (eval $ac_link) 2>conftest.er1
19243 grep -v '^ *+' conftest.er1
>conftest.err
19245 cat conftest.err
>&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); } &&
19248 { ac_try
='test -z "$ac_c_werror_flag"
19249 || test ! -s conftest.err'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; } &&
19255 { ac_try
='test -s conftest$ac_exeext'
19256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19257 (eval $ac_try) 2>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); }; }; then
19263 echo "$as_me: failed program was:" >&5
19264 sed 's/^/| /' conftest.
$ac_ext >&5
19268 rm -f conftest.err conftest.
$ac_objext \
19269 conftest
$ac_exeext conftest.
$ac_ext
19270 if test $ac_R_space = yes; then
19271 echo "$as_me:$LINENO: result: yes" >&5
19272 echo "${ECHO_T}yes" >&6
19273 X_LIBS
="$X_LIBS -R $x_libraries"
19275 echo "$as_me:$LINENO: result: neither works" >&5
19276 echo "${ECHO_T}neither works" >&6
19279 LIBS
=$ac_xsave_LIBS
19283 # Check for system-dependent libraries X programs must link with.
19284 # Do this before checking for the system-independent R6 libraries
19285 # (-lICE), since we may need -lsocket or whatever for X linking.
19287 if test "$ISC" = yes; then
19288 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19290 # Martyn Johnson says this is needed for Ultrix, if the X
19291 # libraries were built with DECnet support. And Karl Berry says
19292 # the Alpha needs dnet_stub (dnet does not exist).
19293 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19294 if test x
$gcc_no_link = xyes
; then
19295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19297 { (exit 1); exit 1; }; }
19299 cat >conftest.
$ac_ext <<_ACEOF
19302 cat confdefs.h
>>conftest.
$ac_ext
19303 cat >>conftest.
$ac_ext <<_ACEOF
19304 /* end confdefs.h. */
19306 /* Override any gcc2 internal prototype to avoid an error. */
19310 /* We use char because int might match the return type of a gcc2
19311 builtin and then its argument prototype would still apply. */
19312 char XOpenDisplay ();
19321 rm -f conftest.
$ac_objext conftest
$ac_exeext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19323 (eval $ac_link) 2>conftest.er1
19325 grep -v '^ *+' conftest.er1
>conftest.err
19327 cat conftest.err
>&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try
='test -z "$ac_c_werror_flag"
19331 || test ! -s conftest.err'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } &&
19337 { ac_try
='test -s conftest$ac_exeext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.
$ac_ext >&5
19348 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19349 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19350 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19351 echo $ECHO_N "(cached) $ECHO_C" >&6
19353 ac_check_lib_save_LIBS
=$LIBS
19354 LIBS
="-ldnet $LIBS"
19355 if test x
$gcc_no_link = xyes
; then
19356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19358 { (exit 1); exit 1; }; }
19360 cat >conftest.
$ac_ext <<_ACEOF
19363 cat confdefs.h
>>conftest.
$ac_ext
19364 cat >>conftest.
$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19367 /* Override any gcc2 internal prototype to avoid an error. */
19371 /* We use char because int might match the return type of a gcc2
19372 builtin and then its argument prototype would still apply. */
19382 rm -f conftest.
$ac_objext conftest
$ac_exeext
19383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19384 (eval $ac_link) 2>conftest.er1
19386 grep -v '^ *+' conftest.er1
>conftest.err
19388 cat conftest.err
>&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } &&
19391 { ac_try
='test -z "$ac_c_werror_flag"
19392 || test ! -s conftest.err'
19393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19394 (eval $ac_try) 2>&5
19396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19397 (exit $ac_status); }; } &&
19398 { ac_try
='test -s conftest$ac_exeext'
19399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400 (eval $ac_try) 2>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); }; }; then
19404 ac_cv_lib_dnet_dnet_ntoa
=yes
19406 echo "$as_me: failed program was:" >&5
19407 sed 's/^/| /' conftest.
$ac_ext >&5
19409 ac_cv_lib_dnet_dnet_ntoa
=no
19411 rm -f conftest.err conftest.
$ac_objext \
19412 conftest
$ac_exeext conftest.
$ac_ext
19413 LIBS
=$ac_check_lib_save_LIBS
19415 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19416 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19417 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19418 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19421 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19422 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19423 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19424 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19425 echo $ECHO_N "(cached) $ECHO_C" >&6
19427 ac_check_lib_save_LIBS
=$LIBS
19428 LIBS
="-ldnet_stub $LIBS"
19429 if test x
$gcc_no_link = xyes
; then
19430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19432 { (exit 1); exit 1; }; }
19434 cat >conftest.
$ac_ext <<_ACEOF
19437 cat confdefs.h
>>conftest.
$ac_ext
19438 cat >>conftest.
$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19441 /* Override any gcc2 internal prototype to avoid an error. */
19445 /* We use char because int might match the return type of a gcc2
19446 builtin and then its argument prototype would still apply. */
19456 rm -f conftest.
$ac_objext conftest
$ac_exeext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19458 (eval $ac_link) 2>conftest.er1
19460 grep -v '^ *+' conftest.er1
>conftest.err
19462 cat conftest.err
>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try
='test -z "$ac_c_werror_flag"
19466 || test ! -s conftest.err'
19467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19468 (eval $ac_try) 2>&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); }; } &&
19472 { ac_try
='test -s conftest$ac_exeext'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; }; then
19478 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19480 echo "$as_me: failed program was:" >&5
19481 sed 's/^/| /' conftest.
$ac_ext >&5
19483 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19485 rm -f conftest.err conftest.
$ac_objext \
19486 conftest
$ac_exeext conftest.
$ac_ext
19487 LIBS
=$ac_check_lib_save_LIBS
19489 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19490 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19491 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19492 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19497 rm -f conftest.err conftest.
$ac_objext \
19498 conftest
$ac_exeext conftest.
$ac_ext
19499 LIBS
="$ac_xsave_LIBS"
19501 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19502 # to get the SysV transport functions.
19503 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19505 # The nsl library prevents programs from opening the X display
19506 # on Irix 5.2, according to T.E. Dickey.
19507 # The functions gethostbyname, getservbyname, and inet_addr are
19508 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19509 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19510 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19511 if test "${ac_cv_func_gethostbyname+set}" = set; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 if test x
$gcc_no_link = xyes
; then
19515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19517 { (exit 1); exit 1; }; }
19519 cat >conftest.
$ac_ext <<_ACEOF
19522 cat confdefs.h
>>conftest.
$ac_ext
19523 cat >>conftest.
$ac_ext <<_ACEOF
19524 /* end confdefs.h. */
19525 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19527 #define gethostbyname innocuous_gethostbyname
19529 /* System header to define __stub macros and hopefully few prototypes,
19530 which can conflict with char gethostbyname (); below.
19531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19532 <limits.h> exists even on freestanding compilers. */
19535 # include <limits.h>
19537 # include <assert.h>
19540 #undef gethostbyname
19542 /* Override any gcc2 internal prototype to avoid an error. */
19547 /* We use char because int might match the return type of a gcc2
19548 builtin and then its argument prototype would still apply. */
19549 char gethostbyname ();
19550 /* The GNU C library defines this for functions which it implements
19551 to always fail with ENOSYS. Some functions are actually named
19552 something starting with __ and the normal name is an alias. */
19553 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19556 char (*f) () = gethostbyname;
19565 return f != gethostbyname;
19570 rm -f conftest.
$ac_objext conftest
$ac_exeext
19571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19572 (eval $ac_link) 2>conftest.er1
19574 grep -v '^ *+' conftest.er1
>conftest.err
19576 cat conftest.err
>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try
='test -z "$ac_c_werror_flag"
19580 || test ! -s conftest.err'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try
='test -s conftest$ac_exeext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 ac_cv_func_gethostbyname
=yes
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.
$ac_ext >&5
19597 ac_cv_func_gethostbyname
=no
19599 rm -f conftest.err conftest.
$ac_objext \
19600 conftest
$ac_exeext conftest.
$ac_ext
19602 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19603 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19605 if test $ac_cv_func_gethostbyname = no
; then
19606 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19607 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19608 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19609 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 ac_check_lib_save_LIBS
=$LIBS
19613 if test x
$gcc_no_link = xyes
; then
19614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19616 { (exit 1); exit 1; }; }
19618 cat >conftest.
$ac_ext <<_ACEOF
19621 cat confdefs.h
>>conftest.
$ac_ext
19622 cat >>conftest.
$ac_ext <<_ACEOF
19623 /* end confdefs.h. */
19625 /* Override any gcc2 internal prototype to avoid an error. */
19629 /* We use char because int might match the return type of a gcc2
19630 builtin and then its argument prototype would still apply. */
19631 char gethostbyname ();
19640 rm -f conftest.
$ac_objext conftest
$ac_exeext
19641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19642 (eval $ac_link) 2>conftest.er1
19644 grep -v '^ *+' conftest.er1
>conftest.err
19646 cat conftest.err
>&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } &&
19649 { ac_try
='test -z "$ac_c_werror_flag"
19650 || test ! -s conftest.err'
19651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652 (eval $ac_try) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; } &&
19656 { ac_try
='test -s conftest$ac_exeext'
19657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19658 (eval $ac_try) 2>&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); }; }; then
19662 ac_cv_lib_nsl_gethostbyname
=yes
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.
$ac_ext >&5
19667 ac_cv_lib_nsl_gethostbyname
=no
19669 rm -f conftest.err conftest.
$ac_objext \
19670 conftest
$ac_exeext conftest.
$ac_ext
19671 LIBS
=$ac_check_lib_save_LIBS
19673 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19674 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19675 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19676 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19679 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19680 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19681 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19682 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19683 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 ac_check_lib_save_LIBS
=$LIBS
19687 if test x
$gcc_no_link = xyes
; then
19688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19690 { (exit 1); exit 1; }; }
19692 cat >conftest.
$ac_ext <<_ACEOF
19695 cat confdefs.h
>>conftest.
$ac_ext
19696 cat >>conftest.
$ac_ext <<_ACEOF
19697 /* end confdefs.h. */
19699 /* Override any gcc2 internal prototype to avoid an error. */
19703 /* We use char because int might match the return type of a gcc2
19704 builtin and then its argument prototype would still apply. */
19705 char gethostbyname ();
19714 rm -f conftest.
$ac_objext conftest
$ac_exeext
19715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19716 (eval $ac_link) 2>conftest.er1
19718 grep -v '^ *+' conftest.er1
>conftest.err
19720 cat conftest.err
>&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } &&
19723 { ac_try
='test -z "$ac_c_werror_flag"
19724 || test ! -s conftest.err'
19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19726 (eval $ac_try) 2>&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }; } &&
19730 { ac_try
='test -s conftest$ac_exeext'
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; }; then
19736 ac_cv_lib_bsd_gethostbyname
=yes
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.
$ac_ext >&5
19741 ac_cv_lib_bsd_gethostbyname
=no
19743 rm -f conftest.err conftest.
$ac_objext \
19744 conftest
$ac_exeext conftest.
$ac_ext
19745 LIBS
=$ac_check_lib_save_LIBS
19747 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
19748 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
19749 if test $ac_cv_lib_bsd_gethostbyname = yes; then
19750 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
19756 # lieder@skyler.mavd.honeywell.com says without -lsocket,
19757 # socket/setsockopt and other routines are undefined under SCO ODT
19758 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
19759 # on later versions), says Simon Leinen: it contains gethostby*
19760 # variants that don't use the name server (or something). -lsocket
19761 # must be given before -lnsl if both are needed. We assume that
19762 # if connect needs -lnsl, so does gethostbyname.
19763 echo "$as_me:$LINENO: checking for connect" >&5
19764 echo $ECHO_N "checking for connect... $ECHO_C" >&6
19765 if test "${ac_cv_func_connect+set}" = set; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 if test x
$gcc_no_link = xyes
; then
19769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19771 { (exit 1); exit 1; }; }
19773 cat >conftest.
$ac_ext <<_ACEOF
19776 cat confdefs.h
>>conftest.
$ac_ext
19777 cat >>conftest.
$ac_ext <<_ACEOF
19778 /* end confdefs.h. */
19779 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
19780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19781 #define connect innocuous_connect
19783 /* System header to define __stub macros and hopefully few prototypes,
19784 which can conflict with char connect (); below.
19785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19786 <limits.h> exists even on freestanding compilers. */
19789 # include <limits.h>
19791 # include <assert.h>
19796 /* Override any gcc2 internal prototype to avoid an error. */
19801 /* We use char because int might match the return type of a gcc2
19802 builtin and then its argument prototype would still apply. */
19804 /* The GNU C library defines this for functions which it implements
19805 to always fail with ENOSYS. Some functions are actually named
19806 something starting with __ and the normal name is an alias. */
19807 #if defined (__stub_connect) || defined (__stub___connect)
19810 char (*f) () = connect;
19819 return f != connect;
19824 rm -f conftest.
$ac_objext conftest
$ac_exeext
19825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19826 (eval $ac_link) 2>conftest.er1
19828 grep -v '^ *+' conftest.er1
>conftest.err
19830 cat conftest.err
>&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } &&
19833 { ac_try
='test -z "$ac_c_werror_flag"
19834 || test ! -s conftest.err'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; } &&
19840 { ac_try
='test -s conftest$ac_exeext'
19841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19842 (eval $ac_try) 2>&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); }; }; then
19846 ac_cv_func_connect
=yes
19848 echo "$as_me: failed program was:" >&5
19849 sed 's/^/| /' conftest.
$ac_ext >&5
19851 ac_cv_func_connect
=no
19853 rm -f conftest.err conftest.
$ac_objext \
19854 conftest
$ac_exeext conftest.
$ac_ext
19856 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
19857 echo "${ECHO_T}$ac_cv_func_connect" >&6
19859 if test $ac_cv_func_connect = no
; then
19860 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
19861 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
19862 if test "${ac_cv_lib_socket_connect+set}" = set; then
19863 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 ac_check_lib_save_LIBS
=$LIBS
19866 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
19867 if test x
$gcc_no_link = xyes
; then
19868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19870 { (exit 1); exit 1; }; }
19872 cat >conftest.
$ac_ext <<_ACEOF
19875 cat confdefs.h
>>conftest.
$ac_ext
19876 cat >>conftest.
$ac_ext <<_ACEOF
19877 /* end confdefs.h. */
19879 /* Override any gcc2 internal prototype to avoid an error. */
19883 /* We use char because int might match the return type of a gcc2
19884 builtin and then its argument prototype would still apply. */
19894 rm -f conftest.
$ac_objext conftest
$ac_exeext
19895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19896 (eval $ac_link) 2>conftest.er1
19898 grep -v '^ *+' conftest.er1
>conftest.err
19900 cat conftest.err
>&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } &&
19903 { ac_try
='test -z "$ac_c_werror_flag"
19904 || test ! -s conftest.err'
19905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19906 (eval $ac_try) 2>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; } &&
19910 { ac_try
='test -s conftest$ac_exeext'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; }; then
19916 ac_cv_lib_socket_connect
=yes
19918 echo "$as_me: failed program was:" >&5
19919 sed 's/^/| /' conftest.
$ac_ext >&5
19921 ac_cv_lib_socket_connect
=no
19923 rm -f conftest.err conftest.
$ac_objext \
19924 conftest
$ac_exeext conftest.
$ac_ext
19925 LIBS
=$ac_check_lib_save_LIBS
19927 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
19928 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
19929 if test $ac_cv_lib_socket_connect = yes; then
19930 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
19935 # Guillermo Gomez says -lposix is necessary on A/UX.
19936 echo "$as_me:$LINENO: checking for remove" >&5
19937 echo $ECHO_N "checking for remove... $ECHO_C" >&6
19938 if test "${ac_cv_func_remove+set}" = set; then
19939 echo $ECHO_N "(cached) $ECHO_C" >&6
19941 if test x
$gcc_no_link = xyes
; then
19942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19944 { (exit 1); exit 1; }; }
19946 cat >conftest.
$ac_ext <<_ACEOF
19949 cat confdefs.h
>>conftest.
$ac_ext
19950 cat >>conftest.
$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
19953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19954 #define remove innocuous_remove
19956 /* System header to define __stub macros and hopefully few prototypes,
19957 which can conflict with char remove (); below.
19958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19959 <limits.h> exists even on freestanding compilers. */
19962 # include <limits.h>
19964 # include <assert.h>
19969 /* Override any gcc2 internal prototype to avoid an error. */
19974 /* We use char because int might match the return type of a gcc2
19975 builtin and then its argument prototype would still apply. */
19977 /* The GNU C library defines this for functions which it implements
19978 to always fail with ENOSYS. Some functions are actually named
19979 something starting with __ and the normal name is an alias. */
19980 #if defined (__stub_remove) || defined (__stub___remove)
19983 char (*f) () = remove;
19992 return f != remove;
19997 rm -f conftest.
$ac_objext conftest
$ac_exeext
19998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19999 (eval $ac_link) 2>conftest.er1
20001 grep -v '^ *+' conftest.er1
>conftest.err
20003 cat conftest.err
>&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } &&
20006 { ac_try
='test -z "$ac_c_werror_flag"
20007 || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try
='test -s conftest$ac_exeext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 ac_cv_func_remove
=yes
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.
$ac_ext >&5
20024 ac_cv_func_remove
=no
20026 rm -f conftest.err conftest.
$ac_objext \
20027 conftest
$ac_exeext conftest.
$ac_ext
20029 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20030 echo "${ECHO_T}$ac_cv_func_remove" >&6
20032 if test $ac_cv_func_remove = no
; then
20033 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20034 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20035 if test "${ac_cv_lib_posix_remove+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 ac_check_lib_save_LIBS
=$LIBS
20039 LIBS
="-lposix $LIBS"
20040 if test x
$gcc_no_link = xyes
; then
20041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20043 { (exit 1); exit 1; }; }
20045 cat >conftest.
$ac_ext <<_ACEOF
20048 cat confdefs.h
>>conftest.
$ac_ext
20049 cat >>conftest.
$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20052 /* Override any gcc2 internal prototype to avoid an error. */
20056 /* We use char because int might match the return type of a gcc2
20057 builtin and then its argument prototype would still apply. */
20067 rm -f conftest.
$ac_objext conftest
$ac_exeext
20068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20069 (eval $ac_link) 2>conftest.er1
20071 grep -v '^ *+' conftest.er1
>conftest.err
20073 cat conftest.err
>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try
='test -z "$ac_c_werror_flag"
20077 || test ! -s conftest.err'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; } &&
20083 { ac_try
='test -s conftest$ac_exeext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_cv_lib_posix_remove
=yes
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.
$ac_ext >&5
20094 ac_cv_lib_posix_remove
=no
20096 rm -f conftest.err conftest.
$ac_objext \
20097 conftest
$ac_exeext conftest.
$ac_ext
20098 LIBS
=$ac_check_lib_save_LIBS
20100 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20101 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20102 if test $ac_cv_lib_posix_remove = yes; then
20103 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20108 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20109 echo "$as_me:$LINENO: checking for shmat" >&5
20110 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20111 if test "${ac_cv_func_shmat+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 if test x
$gcc_no_link = xyes
; then
20115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20117 { (exit 1); exit 1; }; }
20119 cat >conftest.
$ac_ext <<_ACEOF
20122 cat confdefs.h
>>conftest.
$ac_ext
20123 cat >>conftest.
$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20127 #define shmat innocuous_shmat
20129 /* System header to define __stub macros and hopefully few prototypes,
20130 which can conflict with char shmat (); below.
20131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20132 <limits.h> exists even on freestanding compilers. */
20135 # include <limits.h>
20137 # include <assert.h>
20142 /* Override any gcc2 internal prototype to avoid an error. */
20147 /* We use char because int might match the return type of a gcc2
20148 builtin and then its argument prototype would still apply. */
20150 /* The GNU C library defines this for functions which it implements
20151 to always fail with ENOSYS. Some functions are actually named
20152 something starting with __ and the normal name is an alias. */
20153 #if defined (__stub_shmat) || defined (__stub___shmat)
20156 char (*f) () = shmat;
20170 rm -f conftest.
$ac_objext conftest
$ac_exeext
20171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20172 (eval $ac_link) 2>conftest.er1
20174 grep -v '^ *+' conftest.er1
>conftest.err
20176 cat conftest.err
>&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } &&
20179 { ac_try
='test -z "$ac_c_werror_flag"
20180 || test ! -s conftest.err'
20181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182 (eval $ac_try) 2>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); }; } &&
20186 { ac_try
='test -s conftest$ac_exeext'
20187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188 (eval $ac_try) 2>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); }; }; then
20192 ac_cv_func_shmat
=yes
20194 echo "$as_me: failed program was:" >&5
20195 sed 's/^/| /' conftest.
$ac_ext >&5
20197 ac_cv_func_shmat
=no
20199 rm -f conftest.err conftest.
$ac_objext \
20200 conftest
$ac_exeext conftest.
$ac_ext
20202 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20203 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20205 if test $ac_cv_func_shmat = no
; then
20206 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20207 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20208 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20209 echo $ECHO_N "(cached) $ECHO_C" >&6
20211 ac_check_lib_save_LIBS
=$LIBS
20213 if test x
$gcc_no_link = xyes
; then
20214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20216 { (exit 1); exit 1; }; }
20218 cat >conftest.
$ac_ext <<_ACEOF
20221 cat confdefs.h
>>conftest.
$ac_ext
20222 cat >>conftest.
$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20225 /* Override any gcc2 internal prototype to avoid an error. */
20229 /* We use char because int might match the return type of a gcc2
20230 builtin and then its argument prototype would still apply. */
20240 rm -f conftest.
$ac_objext conftest
$ac_exeext
20241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20242 (eval $ac_link) 2>conftest.er1
20244 grep -v '^ *+' conftest.er1
>conftest.err
20246 cat conftest.err
>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); } &&
20249 { ac_try
='test -z "$ac_c_werror_flag"
20250 || test ! -s conftest.err'
20251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20252 (eval $ac_try) 2>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); }; } &&
20256 { ac_try
='test -s conftest$ac_exeext'
20257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20258 (eval $ac_try) 2>&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); }; }; then
20262 ac_cv_lib_ipc_shmat
=yes
20264 echo "$as_me: failed program was:" >&5
20265 sed 's/^/| /' conftest.
$ac_ext >&5
20267 ac_cv_lib_ipc_shmat
=no
20269 rm -f conftest.err conftest.
$ac_objext \
20270 conftest
$ac_exeext conftest.
$ac_ext
20271 LIBS
=$ac_check_lib_save_LIBS
20273 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20274 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20275 if test $ac_cv_lib_ipc_shmat = yes; then
20276 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20282 # Check for libraries that X11R6 Xt/Xaw programs need.
20283 ac_save_LDFLAGS
=$LDFLAGS
20284 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20285 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20286 # check for ICE first), but we must link in the order -lSM -lICE or
20287 # we get undefined symbols. So assume we have SM if we have ICE.
20288 # These have to be linked with before -lX11, unlike the other
20289 # libraries we check for below, so use a different variable.
20290 # John Interrante, Karl Berry
20291 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20292 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20293 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20294 echo $ECHO_N "(cached) $ECHO_C" >&6
20296 ac_check_lib_save_LIBS
=$LIBS
20297 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20298 if test x
$gcc_no_link = xyes
; then
20299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20301 { (exit 1); exit 1; }; }
20303 cat >conftest.
$ac_ext <<_ACEOF
20306 cat confdefs.h
>>conftest.
$ac_ext
20307 cat >>conftest.
$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20310 /* Override any gcc2 internal prototype to avoid an error. */
20314 /* We use char because int might match the return type of a gcc2
20315 builtin and then its argument prototype would still apply. */
20316 char IceConnectionNumber ();
20320 IceConnectionNumber ();
20325 rm -f conftest.
$ac_objext conftest
$ac_exeext
20326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20327 (eval $ac_link) 2>conftest.er1
20329 grep -v '^ *+' conftest.er1
>conftest.err
20331 cat conftest.err
>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); } &&
20334 { ac_try
='test -z "$ac_c_werror_flag"
20335 || test ! -s conftest.err'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; } &&
20341 { ac_try
='test -s conftest$ac_exeext'
20342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20343 (eval $ac_try) 2>&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); }; }; then
20347 ac_cv_lib_ICE_IceConnectionNumber
=yes
20349 echo "$as_me: failed program was:" >&5
20350 sed 's/^/| /' conftest.
$ac_ext >&5
20352 ac_cv_lib_ICE_IceConnectionNumber
=no
20354 rm -f conftest.err conftest.
$ac_objext \
20355 conftest
$ac_exeext conftest.
$ac_ext
20356 LIBS
=$ac_check_lib_save_LIBS
20358 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20359 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20360 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20361 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20364 LDFLAGS
=$ac_save_LDFLAGS
20369 # FIXME: this should be _libs on some hosts.
20372 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20375 # extra LD Flags which are required for targets
20378 # For now we have to disable it on darwin[8-9] because it slows down
20379 # the linking phase. A possible bug in ld?
20380 # on Darwin -single_module speeds up loading of the dynamic libraries.
20381 extra_ldflags_libjava
=-Wl,-single_module
20384 # Some of the ARM unwinder code is actually in libstdc++. We
20385 # could in principle replicate it in libgcj, but it's better to
20386 # have a dependency on libstdc++.
20387 extra_ldflags
='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20388 LIBSTDCXXSPEC
=-lstdc++
20389 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20398 # Allow the GC to be disabled. Can be useful when debugging.
20399 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
20400 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
20401 # Check whether --enable-java-gc or --disable-java-gc was given.
20402 if test "${enable_java_gc+set}" = set; then
20403 enableval
="$enable_java_gc"
20416 echo "$as_me:$LINENO: result: boehm" >&5
20417 echo "${ECHO_T}boehm" >&6
20418 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
20419 JC1GCSPEC
='-fuse-boehm-gc'
20420 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20421 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20424 # The POSIX thread support needs to know this.
20426 cat >>confdefs.h
<<\_ACEOF
20427 #define HAVE_BOEHM_GC 1
20432 echo "$as_me:$LINENO: result: none" >&5
20433 echo "${ECHO_T}none" >&6
20437 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
20438 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
20439 { (exit 1); exit 1; }; }
20448 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
20452 if test "$GC" = boehm
; then
20453 USING_BOEHMGC_TRUE
=
20454 USING_BOEHMGC_FALSE
='#'
20456 USING_BOEHMGC_TRUE
='#'
20457 USING_BOEHMGC_FALSE
=
20462 if test "$GC" = no
; then
20464 USING_NOGC_FALSE
='#'
20466 USING_NOGC_TRUE
='#'
20472 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
20473 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
20474 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20475 echo "$as_me:$LINENO: result: $THREADS" >&5
20476 echo "${ECHO_T}$THREADS" >&6
20479 no | none | single
)
20482 posix | posix95 | pthreads
)
20487 cat >>confdefs.h
<<\_ACEOF
20488 #define LINUX_THREADS 1
20496 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
20497 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
20498 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
20499 { (exit 1); exit 1; }; }
20502 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
20503 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
20504 { (exit 1); exit 1; }; }
20515 THREADSTARTFILESPEC
=
20520 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20522 *-*-freebsd[1234]*)
20523 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20524 # merely adds pthread_* functions) but it does have a -pthread switch
20525 # which is required at link-time to select -lc_r *instead* of -lc.
20526 THREADLDFLAGS
=-pthread
20527 # Don't set THREADSPEC here as might be expected since -pthread is
20528 # not processed when found within a spec file, it must come from
20529 # the command line. For now, the user must provide the -pthread
20530 # switch to link code compiled with gcj. In future, consider adding
20531 # support for weak references to pthread_* functions ala gthr.h API.
20532 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20535 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20536 # systems which support threads and -lpthread.
20537 THREADLDFLAGS
=-pthread
20538 THREADSPEC
=-lpthread
20540 alpha
*-dec-osf* | hppa
*-hp-hpux*)
20541 THREADCXXFLAGS
=-pthread
20542 # boehm-gc needs some functions from librt, so link that too.
20543 THREADLIBS
='-lpthread -lrt'
20544 THREADSPEC
='-lpthread -lrt'
20547 THREADLIBS
=-lpthread
20548 THREADSPEC
=-lpthread
20551 THREADH
=posix-threads.h
20552 # MIT pthreads doesn't seem to have the mutexattr functions.
20553 # But for now we don't check for it. We just assume you aren't
20554 # using MIT pthreads.
20556 cat >>confdefs.h
<<\_ACEOF
20557 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20561 # If we're using the Boehm GC, then we happen to know that it
20562 # defines _REENTRANT, so we don't bother. Eww.
20563 if test "$GC" != boehm
; then
20565 cat >>confdefs.h
<<\_ACEOF
20566 #define _REENTRANT 1
20571 cat >>confdefs.h
<<\_ACEOF
20572 #define _POSIX_PTHREAD_SEMANTICS 1
20578 THREADH
=win32-threads.h
20579 THREADCXXFLAGS
=-mthreads
20580 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20581 # But we do not want the executables created to be dependent on
20582 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20583 # exception handling contexts. The following kludge achieves this effect
20584 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20585 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20586 # A workaround is to explicitly use -mthreads while linking Java programs.
20587 # See PR libgcj/28263.
20589 # FIXME: In Java we are able to detect thread death at the end of
20590 # Thread.run() so we should be able to clean up the exception handling
20591 # contexts ourselves.
20592 THREADSTARTFILESPEC
='crtmt%O%s'
20596 THREADH
=no-threads.h
20599 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
20610 if test "$THREADS" = posix
; then
20611 USING_POSIX_THREADS_TRUE
=
20612 USING_POSIX_THREADS_FALSE
='#'
20614 USING_POSIX_THREADS_TRUE
='#'
20615 USING_POSIX_THREADS_FALSE
=
20620 if test "$THREADS" = win32
; then
20621 USING_WIN32_THREADS_TRUE
=
20622 USING_WIN32_THREADS_FALSE
='#'
20624 USING_WIN32_THREADS_TRUE
='#'
20625 USING_WIN32_THREADS_FALSE
=
20630 if test "$THREADS" = none
; then
20631 USING_NO_THREADS_TRUE
=
20632 USING_NO_THREADS_FALSE
='#'
20634 USING_NO_THREADS_TRUE
='#'
20635 USING_NO_THREADS_FALSE
=
20640 if test "$use_libgcj_bc" = yes; then
20641 USE_LIBGCJ_BC_TRUE
=
20642 USE_LIBGCJ_BC_FALSE
='#'
20644 USE_LIBGCJ_BC_TRUE
='#'
20645 USE_LIBGCJ_BC_FALSE
=
20649 if test -d sysdep
; then true
; else mkdir sysdep
; fi
20650 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20652 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20654 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20657 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
20658 if test "$use_libgcj_bc" = yes; then
20659 LIBGCJ_SPEC
="%{s-bc-abi:-lgcj_bc;:-lgcj}"
20664 # Hash synchronization is only useful with posix threads right now.
20665 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20666 HASH_SYNC_SPEC
=-fhash-synchronization
20668 cat >>confdefs.h
<<\_ACEOF
20669 #define JV_HASH_SYNCHRONIZATION 1
20677 if test "$GCC" = yes; then
20679 USING_GCC_FALSE
='#'
20686 # We're in the tree with gcc, and need to include some of its headers.
20687 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
20689 if test "x${with_newlib}" = "xyes"; then
20690 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20691 # may not work correctly, because the compiler may not be able to
20692 # link executables.
20694 # We assume newlib. This lets us hard-code the functions we know
20697 cat >>confdefs.h
<<\_ACEOF
20698 #define HAVE_MEMMOVE 1
20702 cat >>confdefs.h
<<\_ACEOF
20703 #define HAVE_MEMCPY 1
20707 cat >>confdefs.h
<<\_ACEOF
20708 #define HAVE_TIME 1
20712 cat >>confdefs.h
<<\_ACEOF
20713 #define HAVE_GMTIME_R 1
20717 cat >>confdefs.h
<<\_ACEOF
20718 #define HAVE_LOCALTIME_R 1
20722 cat >>confdefs.h
<<\_ACEOF
20723 #define HAVE_USLEEP_DECL 1
20726 # This is only for POSIX threads.
20728 cat >>confdefs.h
<<\_ACEOF
20729 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20733 # Assume we do not have getuid and friends.
20735 cat >>confdefs.h
<<\_ACEOF
20736 #define NO_GETUID 1
20772 for ac_func
in strerror_r
select fstat open fsync
sleep opendir \
20773 localtime_r readdir_r getpwuid_r getcwd \
20774 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
20775 nl_langinfo setlocale \
20776 inet_pton uname inet_ntoa \
20777 getrlimit sigaction ftruncate mmap \
20780 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20781 echo "$as_me:$LINENO: checking for $ac_func" >&5
20782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20783 if eval "test \"\${$as_ac_var+set}\" = set"; then
20784 echo $ECHO_N "(cached) $ECHO_C" >&6
20786 if test x
$gcc_no_link = xyes
; then
20787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20789 { (exit 1); exit 1; }; }
20791 cat >conftest.
$ac_ext <<_ACEOF
20794 cat confdefs.h
>>conftest.
$ac_ext
20795 cat >>conftest.
$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20799 #define $ac_func innocuous_$ac_func
20801 /* System header to define __stub macros and hopefully few prototypes,
20802 which can conflict with char $ac_func (); below.
20803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20804 <limits.h> exists even on freestanding compilers. */
20807 # include <limits.h>
20809 # include <assert.h>
20814 /* Override any gcc2 internal prototype to avoid an error. */
20819 /* We use char because int might match the return type of a gcc2
20820 builtin and then its argument prototype would still apply. */
20822 /* The GNU C library defines this for functions which it implements
20823 to always fail with ENOSYS. Some functions are actually named
20824 something starting with __ and the normal name is an alias. */
20825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20828 char (*f) () = $ac_func;
20837 return f != $ac_func;
20842 rm -f conftest.
$ac_objext conftest
$ac_exeext
20843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20844 (eval $ac_link) 2>conftest.er1
20846 grep -v '^ *+' conftest.er1
>conftest.err
20848 cat conftest.err
>&5
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); } &&
20851 { ac_try
='test -z "$ac_c_werror_flag"
20852 || test ! -s conftest.err'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; } &&
20858 { ac_try
='test -s conftest$ac_exeext'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; }; then
20864 eval "$as_ac_var=yes"
20866 echo "$as_me: failed program was:" >&5
20867 sed 's/^/| /' conftest.
$ac_ext >&5
20869 eval "$as_ac_var=no"
20871 rm -f conftest.err conftest.
$ac_objext \
20872 conftest
$ac_exeext conftest.
$ac_ext
20874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20876 if test `eval echo '${'$as_ac_var'}'` = yes; then
20877 cat >>confdefs.h
<<_ACEOF
20878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20886 for ac_func
in inet_aton inet_addr
20888 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20889 echo "$as_me:$LINENO: checking for $ac_func" >&5
20890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20891 if eval "test \"\${$as_ac_var+set}\" = set"; then
20892 echo $ECHO_N "(cached) $ECHO_C" >&6
20894 if test x
$gcc_no_link = xyes
; then
20895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20897 { (exit 1); exit 1; }; }
20899 cat >conftest.
$ac_ext <<_ACEOF
20902 cat confdefs.h
>>conftest.
$ac_ext
20903 cat >>conftest.
$ac_ext <<_ACEOF
20904 /* end confdefs.h. */
20905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20907 #define $ac_func innocuous_$ac_func
20909 /* System header to define __stub macros and hopefully few prototypes,
20910 which can conflict with char $ac_func (); below.
20911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20912 <limits.h> exists even on freestanding compilers. */
20915 # include <limits.h>
20917 # include <assert.h>
20922 /* Override any gcc2 internal prototype to avoid an error. */
20927 /* We use char because int might match the return type of a gcc2
20928 builtin and then its argument prototype would still apply. */
20930 /* The GNU C library defines this for functions which it implements
20931 to always fail with ENOSYS. Some functions are actually named
20932 something starting with __ and the normal name is an alias. */
20933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20936 char (*f) () = $ac_func;
20945 return f != $ac_func;
20950 rm -f conftest.
$ac_objext conftest
$ac_exeext
20951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20952 (eval $ac_link) 2>conftest.er1
20954 grep -v '^ *+' conftest.er1
>conftest.err
20956 cat conftest.err
>&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } &&
20959 { ac_try
='test -z "$ac_c_werror_flag"
20960 || test ! -s conftest.err'
20961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962 (eval $ac_try) 2>&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); }; } &&
20966 { ac_try
='test -s conftest$ac_exeext'
20967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 (eval $ac_try) 2>&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; }; then
20972 eval "$as_ac_var=yes"
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.
$ac_ext >&5
20977 eval "$as_ac_var=no"
20979 rm -f conftest.err conftest.
$ac_objext \
20980 conftest
$ac_exeext conftest.
$ac_ext
20982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20984 if test `eval echo '${'$as_ac_var'}'` = yes; then
20985 cat >>confdefs.h
<<_ACEOF
20986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20995 for ac_header
in unistd.h dlfcn.h sys
/resource.h
20997 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20999 echo "$as_me:$LINENO: checking for $ac_header" >&5
21000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21002 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21007 # Is the header compilable?
21008 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21009 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21010 cat >conftest.
$ac_ext <<_ACEOF
21013 cat confdefs.h
>>conftest.
$ac_ext
21014 cat >>conftest.
$ac_ext <<_ACEOF
21015 /* end confdefs.h. */
21016 $ac_includes_default
21017 #include <$ac_header>
21019 rm -f conftest.
$ac_objext
21020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21021 (eval $ac_compile) 2>conftest.er1
21023 grep -v '^ *+' conftest.er1
>conftest.err
21025 cat conftest.err
>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); } &&
21028 { ac_try
='test -z "$ac_c_werror_flag"
21029 || test ! -s conftest.err'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; } &&
21035 { ac_try
='test -s conftest.$ac_objext'
21036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21037 (eval $ac_try) 2>&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; }; then
21041 ac_header_compiler
=yes
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.
$ac_ext >&5
21046 ac_header_compiler
=no
21048 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21050 echo "${ECHO_T}$ac_header_compiler" >&6
21052 # Is the header present?
21053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21055 cat >conftest.
$ac_ext <<_ACEOF
21058 cat confdefs.h
>>conftest.
$ac_ext
21059 cat >>conftest.
$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 #include <$ac_header>
21063 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21064 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21066 grep -v '^ *+' conftest.er1
>conftest.err
21068 cat conftest.err
>&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); } >/dev
/null
; then
21071 if test -s conftest.err
; then
21072 ac_cpp_err
=$ac_c_preproc_warn_flag
21073 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21080 if test -z "$ac_cpp_err"; then
21081 ac_header_preproc
=yes
21083 echo "$as_me: failed program was:" >&5
21084 sed 's/^/| /' conftest.
$ac_ext >&5
21086 ac_header_preproc
=no
21088 rm -f conftest.err conftest.
$ac_ext
21089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21090 echo "${ECHO_T}$ac_header_preproc" >&6
21092 # So? What about this header?
21093 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21098 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21099 ac_header_preproc
=yes
21102 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21103 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21104 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21105 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21106 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21107 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21108 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21109 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21112 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21113 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21116 ## ---------------------------------- ##
21117 ## Report this to the libjava lists. ##
21118 ## ---------------------------------- ##
21121 sed "s/^/$as_me: WARNING: /" >&2
21124 echo "$as_me:$LINENO: checking for $ac_header" >&5
21125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21127 echo $ECHO_N "(cached) $ECHO_C" >&6
21129 eval "$as_ac_Header=\$ac_header_preproc"
21131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21135 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21136 cat >>confdefs.h
<<_ACEOF
21137 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21144 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
21145 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
21146 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
21147 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
21148 echo $ECHO_N "(cached) $ECHO_C" >&6
21150 ac_check_lib_save_LIBS
=$LIBS
21152 if test x
$gcc_no_link = xyes
; then
21153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21155 { (exit 1); exit 1; }; }
21157 cat >conftest.
$ac_ext <<_ACEOF
21160 cat confdefs.h
>>conftest.
$ac_ext
21161 cat >>conftest.
$ac_ext <<_ACEOF
21162 /* end confdefs.h. */
21164 /* Override any gcc2 internal prototype to avoid an error. */
21168 /* We use char because int might match the return type of a gcc2
21169 builtin and then its argument prototype would still apply. */
21179 rm -f conftest.
$ac_objext conftest
$ac_exeext
21180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21181 (eval $ac_link) 2>conftest.er1
21183 grep -v '^ *+' conftest.er1
>conftest.err
21185 cat conftest.err
>&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } &&
21188 { ac_try
='test -z "$ac_c_werror_flag"
21189 || test ! -s conftest.err'
21190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21191 (eval $ac_try) 2>&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); }; } &&
21195 { ac_try
='test -s conftest$ac_exeext'
21196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21197 (eval $ac_try) 2>&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); }; }; then
21201 ac_cv_lib_dl_dladdr
=yes
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.
$ac_ext >&5
21206 ac_cv_lib_dl_dladdr
=no
21208 rm -f conftest.err conftest.
$ac_objext \
21209 conftest
$ac_exeext conftest.
$ac_ext
21210 LIBS
=$ac_check_lib_save_LIBS
21212 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
21213 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
21214 if test $ac_cv_lib_dl_dladdr = yes; then
21217 cat >>confdefs.h
<<\_ACEOF
21218 #define HAVE_DLADDR 1
21223 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
21224 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
21225 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
21226 echo $ECHO_N "(cached) $ECHO_C" >&6
21228 ac_check_lib_save_LIBS
=$LIBS
21230 if test x
$gcc_no_link = xyes
; then
21231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21233 { (exit 1); exit 1; }; }
21235 cat >conftest.
$ac_ext <<_ACEOF
21238 cat confdefs.h
>>conftest.
$ac_ext
21239 cat >>conftest.
$ac_ext <<_ACEOF
21240 /* end confdefs.h. */
21242 /* Override any gcc2 internal prototype to avoid an error. */
21246 /* We use char because int might match the return type of a gcc2
21247 builtin and then its argument prototype would still apply. */
21257 rm -f conftest.
$ac_objext conftest
$ac_exeext
21258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21259 (eval $ac_link) 2>conftest.er1
21261 grep -v '^ *+' conftest.er1
>conftest.err
21263 cat conftest.err
>&5
21264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21265 (exit $ac_status); } &&
21266 { ac_try
='test -z "$ac_c_werror_flag"
21267 || test ! -s conftest.err'
21268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269 (eval $ac_try) 2>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); }; } &&
21273 { ac_try
='test -s conftest$ac_exeext'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; }; then
21279 ac_cv_lib_dld_dladdr
=yes
21281 echo "$as_me: failed program was:" >&5
21282 sed 's/^/| /' conftest.
$ac_ext >&5
21284 ac_cv_lib_dld_dladdr
=no
21286 rm -f conftest.err conftest.
$ac_objext \
21287 conftest
$ac_exeext conftest.
$ac_ext
21288 LIBS
=$ac_check_lib_save_LIBS
21290 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
21291 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
21292 if test $ac_cv_lib_dld_dladdr = yes; then
21295 cat >>confdefs.h
<<\_ACEOF
21296 #define HAVE_DLADDR 1
21304 if test x
"$cross_compiling" = x
"no"; then
21305 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
21306 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
21307 if test "${ac_cv_file__proc_self_exe+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21310 test "$cross_compiling" = yes &&
21311 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21312 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21313 { (exit 1); exit 1; }; }
21314 if test -r "/proc/self/exe"; then
21315 ac_cv_file__proc_self_exe
=yes
21317 ac_cv_file__proc_self_exe
=no
21320 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
21321 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
21322 if test $ac_cv_file__proc_self_exe = yes; then
21324 cat >>confdefs.h
<<_ACEOF
21325 #define HAVE__PROC_SELF_EXE 1
21330 cat >>confdefs.h
<<\_ACEOF
21331 #define HAVE_PROC_SELF_EXE 1
21336 echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
21337 echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
21338 if test "${ac_cv_file__proc_self_maps+set}" = set; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6
21341 test "$cross_compiling" = yes &&
21342 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21343 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21344 { (exit 1); exit 1; }; }
21345 if test -r "/proc/self/maps"; then
21346 ac_cv_file__proc_self_maps
=yes
21348 ac_cv_file__proc_self_maps
=no
21351 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
21352 echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
21353 if test $ac_cv_file__proc_self_maps = yes; then
21355 cat >>confdefs.h
<<_ACEOF
21356 #define HAVE__PROC_SELF_MAPS 1
21361 cat >>confdefs.h
<<\_ACEOF
21362 #define HAVE_PROC_SELF_MAPS 1
21371 cat >>confdefs.h
<<\_ACEOF
21372 #define HAVE_PROC_SELF_EXE 1
21376 cat >>confdefs.h
<<\_ACEOF
21377 #define HAVE_PROC_SELF_MAPS 1
21385 if test "X$prefix" = "XNONE"; then
21386 acl_final_prefix
="$ac_default_prefix"
21388 acl_final_prefix
="$prefix"
21390 if test "X$exec_prefix" = "XNONE"; then
21391 acl_final_exec_prefix
='${prefix}'
21393 acl_final_exec_prefix
="$exec_prefix"
21395 acl_save_prefix
="$prefix"
21396 prefix
="$acl_final_prefix"
21397 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21398 prefix
="$acl_save_prefix"
21401 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21402 if test "${with_gnu_ld+set}" = set; then
21403 withval
="$with_gnu_ld"
21404 test "$withval" = no || with_gnu_ld
=yes
21408 # Prepare PATH_SEPARATOR.
21409 # The user is always right.
21410 if test "${PATH_SEPARATOR+set}" != set; then
21411 echo "#! /bin/sh" >conf$$.sh
21412 echo "exit 0" >>conf$$.sh
21414 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21422 if test "$GCC" = yes; then
21423 # Check if gcc -print-prog-name=ld gives a path.
21424 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21425 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
21428 # gcc leaves a trailing carriage return which upsets mingw
21429 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21431 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21434 # Accept absolute paths.
21435 [\\/]* |
[A-Za-z
]:[\\/]*)
21436 re_direlt
='/[^/][^/]*/\.\./'
21437 # Canonicalize the path of ld
21438 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21439 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21440 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21442 test -z "$LD" && LD
="$ac_prog"
21445 # If it fails, then pretend we aren't using GCC.
21449 # If it is relative, then search for the first ld in PATH.
21450 with_gnu_ld
=unknown
21453 elif test "$with_gnu_ld" = yes; then
21454 echo "$as_me:$LINENO: checking for GNU ld" >&5
21455 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
21457 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21458 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
21460 if test "${acl_cv_path_LD+set}" = set; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21463 if test -z "$LD"; then
21464 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21465 for ac_dir
in $PATH; do
21466 test -z "$ac_dir" && ac_dir
=.
21467 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21468 acl_cv_path_LD
="$ac_dir/$ac_prog"
21469 # Check to see if the program is GNU ld. I'd rather use --version,
21470 # but apparently some GNU ld's only accept -v.
21471 # Break only if it was the GNU/non-GNU ld that we prefer.
21472 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
21473 test "$with_gnu_ld" != no
&& break
21475 test "$with_gnu_ld" != yes && break
21481 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21485 LD
="$acl_cv_path_LD"
21486 if test -n "$LD"; then
21487 echo "$as_me:$LINENO: result: $LD" >&5
21488 echo "${ECHO_T}$LD" >&6
21490 echo "$as_me:$LINENO: result: no" >&5
21491 echo "${ECHO_T}no" >&6
21493 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21494 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21495 { (exit 1); exit 1; }; }
21496 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21497 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21498 if test "${acl_cv_prog_gnu_ld+set}" = set; then
21499 echo $ECHO_N "(cached) $ECHO_C" >&6
21501 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21502 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
21503 acl_cv_prog_gnu_ld
=yes
21505 acl_cv_prog_gnu_ld
=no
21508 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
21509 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
21510 with_gnu_ld
=$acl_cv_prog_gnu_ld
21514 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
21515 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
21516 if test "${acl_cv_rpath+set}" = set; then
21517 echo $ECHO_N "(cached) $ECHO_C" >&6
21520 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
21521 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21523 rm -f .
/conftest.sh
21527 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21528 echo "${ECHO_T}$acl_cv_rpath" >&6
21530 libext
="$acl_cv_libext"
21531 shlibext
="$acl_cv_shlibext"
21532 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
21533 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
21534 hardcode_direct
="$acl_cv_hardcode_direct"
21535 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
21536 # Check whether --enable-rpath or --disable-rpath was given.
21537 if test "${enable_rpath+set}" = set; then
21538 enableval
="$enable_rpath"
21552 acl_save_prefix
="$prefix"
21553 prefix
="$acl_final_prefix"
21554 acl_save_exec_prefix
="$exec_prefix"
21555 exec_prefix
="$acl_final_exec_prefix"
21557 eval additional_includedir
=\"$includedir\"
21558 eval additional_libdir
=\"$libdir\"
21560 exec_prefix
="$acl_save_exec_prefix"
21561 prefix
="$acl_save_prefix"
21564 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21565 if test "${with_libiconv_prefix+set}" = set; then
21566 withval
="$with_libiconv_prefix"
21568 if test "X$withval" = "Xno"; then
21571 if test "X$withval" = "X"; then
21573 acl_save_prefix
="$prefix"
21574 prefix
="$acl_final_prefix"
21575 acl_save_exec_prefix
="$exec_prefix"
21576 exec_prefix
="$acl_final_exec_prefix"
21578 eval additional_includedir
=\"$includedir\"
21579 eval additional_libdir
=\"$libdir\"
21581 exec_prefix
="$acl_save_exec_prefix"
21582 prefix
="$acl_save_prefix"
21585 additional_includedir
="$withval/include"
21586 additional_libdir
="$withval/lib"
21596 names_already_handled
=
21597 names_next_round
='iconv '
21598 while test -n "$names_next_round"; do
21599 names_this_round
="$names_next_round"
21601 for name
in $names_this_round; do
21603 for n
in $names_already_handled; do
21604 if test "$n" = "$name"; then
21605 already_handled
=yes
21609 if test -z "$already_handled"; then
21610 names_already_handled
="$names_already_handled $name"
21611 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21612 eval value
=\"\
$HAVE_LIB$uppername\"
21613 if test -n "$value"; then
21614 if test "$value" = yes; then
21615 eval value
=\"\
$LIB$uppername\"
21616 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21617 eval value
=\"\
$LTLIB$uppername\"
21618 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21627 if test $use_additional = yes; then
21628 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21629 found_dir
="$additional_libdir"
21630 found_so
="$additional_libdir/lib$name.$shlibext"
21631 if test -f "$additional_libdir/lib$name.la"; then
21632 found_la
="$additional_libdir/lib$name.la"
21635 if test -f "$additional_libdir/lib$name.$libext"; then
21636 found_dir
="$additional_libdir"
21637 found_a
="$additional_libdir/lib$name.$libext"
21638 if test -f "$additional_libdir/lib$name.la"; then
21639 found_la
="$additional_libdir/lib$name.la"
21644 if test "X$found_dir" = "X"; then
21645 for x
in $LDFLAGS $LTLIBICONV; do
21647 acl_save_prefix
="$prefix"
21648 prefix
="$acl_final_prefix"
21649 acl_save_exec_prefix
="$exec_prefix"
21650 exec_prefix
="$acl_final_exec_prefix"
21652 exec_prefix
="$acl_save_exec_prefix"
21653 prefix
="$acl_save_prefix"
21657 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21658 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21660 found_so
="$dir/lib$name.$shlibext"
21661 if test -f "$dir/lib$name.la"; then
21662 found_la
="$dir/lib$name.la"
21665 if test -f "$dir/lib$name.$libext"; then
21667 found_a
="$dir/lib$name.$libext"
21668 if test -f "$dir/lib$name.la"; then
21669 found_la
="$dir/lib$name.la"
21675 if test "X$found_dir" != "X"; then
21680 if test "X$found_dir" != "X"; then
21681 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21682 if test "X$found_so" != "X"; then
21683 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
21684 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21687 for x
in $ltrpathdirs; do
21688 if test "X$x" = "X$found_dir"; then
21693 if test -z "$haveit"; then
21694 ltrpathdirs
="$ltrpathdirs $found_dir"
21696 if test "$hardcode_direct" = yes; then
21697 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21699 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
21700 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21702 for x
in $rpathdirs; do
21703 if test "X$x" = "X$found_dir"; then
21708 if test -z "$haveit"; then
21709 rpathdirs
="$rpathdirs $found_dir"
21713 for x
in $LDFLAGS $LIBICONV; do
21715 acl_save_prefix
="$prefix"
21716 prefix
="$acl_final_prefix"
21717 acl_save_exec_prefix
="$exec_prefix"
21718 exec_prefix
="$acl_final_exec_prefix"
21720 exec_prefix
="$acl_save_exec_prefix"
21721 prefix
="$acl_save_prefix"
21723 if test "X$x" = "X-L$found_dir"; then
21728 if test -z "$haveit"; then
21729 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21731 if test "$hardcode_minus_L" != no
; then
21732 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21734 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21740 if test "X$found_a" != "X"; then
21741 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
21743 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21746 additional_includedir
=
21747 case "$found_dir" in
21749 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
21750 additional_includedir
="$basedir/include"
21753 if test "X$additional_includedir" != "X"; then
21754 if test "X$additional_includedir" != "X/usr/include"; then
21756 if test "X$additional_includedir" = "X/usr/local/include"; then
21757 if test -n "$GCC"; then
21759 linux
*) haveit
=yes;;
21763 if test -z "$haveit"; then
21764 for x
in $CPPFLAGS $INCICONV; do
21766 acl_save_prefix
="$prefix"
21767 prefix
="$acl_final_prefix"
21768 acl_save_exec_prefix
="$exec_prefix"
21769 exec_prefix
="$acl_final_exec_prefix"
21771 exec_prefix
="$acl_save_exec_prefix"
21772 prefix
="$acl_save_prefix"
21774 if test "X$x" = "X-I$additional_includedir"; then
21779 if test -z "$haveit"; then
21780 if test -d "$additional_includedir"; then
21781 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21787 if test -n "$found_la"; then
21788 save_libdir
="$libdir"
21789 case "$found_la" in
21790 */* |
*\\*) .
"$found_la" ;;
21791 *) .
"./$found_la" ;;
21793 libdir
="$save_libdir"
21794 for dep
in $dependency_libs; do
21797 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
21798 if test "X$additional_libdir" != "X/usr/lib"; then
21800 if test "X$additional_libdir" = "X/usr/local/lib"; then
21801 if test -n "$GCC"; then
21803 linux
*) haveit
=yes;;
21807 if test -z "$haveit"; then
21809 for x
in $LDFLAGS $LIBICONV; do
21811 acl_save_prefix
="$prefix"
21812 prefix
="$acl_final_prefix"
21813 acl_save_exec_prefix
="$exec_prefix"
21814 exec_prefix
="$acl_final_exec_prefix"
21816 exec_prefix
="$acl_save_exec_prefix"
21817 prefix
="$acl_save_prefix"
21819 if test "X$x" = "X-L$additional_libdir"; then
21824 if test -z "$haveit"; then
21825 if test -d "$additional_libdir"; then
21826 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21830 for x
in $LDFLAGS $LTLIBICONV; do
21832 acl_save_prefix
="$prefix"
21833 prefix
="$acl_final_prefix"
21834 acl_save_exec_prefix
="$exec_prefix"
21835 exec_prefix
="$acl_final_exec_prefix"
21837 exec_prefix
="$acl_save_exec_prefix"
21838 prefix
="$acl_save_prefix"
21840 if test "X$x" = "X-L$additional_libdir"; then
21845 if test -z "$haveit"; then
21846 if test -d "$additional_libdir"; then
21847 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21854 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
21855 if test "$enable_rpath" != no
; then
21857 for x
in $rpathdirs; do
21858 if test "X$x" = "X$dir"; then
21863 if test -z "$haveit"; then
21864 rpathdirs
="$rpathdirs $dir"
21867 for x
in $ltrpathdirs; do
21868 if test "X$x" = "X$dir"; then
21873 if test -z "$haveit"; then
21874 ltrpathdirs
="$ltrpathdirs $dir"
21879 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
21882 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21885 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
21886 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21892 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
21893 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21899 if test "X$rpathdirs" != "X"; then
21900 if test -n "$hardcode_libdir_separator"; then
21902 for found_dir
in $rpathdirs; do
21903 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21905 acl_save_libdir
="$libdir"
21907 eval flag
=\"$hardcode_libdir_flag_spec\"
21908 libdir
="$acl_save_libdir"
21909 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21911 for found_dir
in $rpathdirs; do
21912 acl_save_libdir
="$libdir"
21913 libdir
="$found_dir"
21914 eval flag
=\"$hardcode_libdir_flag_spec\"
21915 libdir
="$acl_save_libdir"
21916 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
21920 if test "X$ltrpathdirs" != "X"; then
21921 for found_dir
in $ltrpathdirs; do
21922 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21932 am_save_CPPFLAGS
="$CPPFLAGS"
21934 for element
in $INCICONV; do
21936 for x
in $CPPFLAGS; do
21938 acl_save_prefix
="$prefix"
21939 prefix
="$acl_final_prefix"
21940 acl_save_exec_prefix
="$exec_prefix"
21941 exec_prefix
="$acl_final_exec_prefix"
21943 exec_prefix
="$acl_save_exec_prefix"
21944 prefix
="$acl_save_prefix"
21946 if test "X$x" = "X$element"; then
21951 if test -z "$haveit"; then
21952 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
21957 echo "$as_me:$LINENO: checking for iconv" >&5
21958 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
21959 if test "${am_cv_func_iconv+set}" = set; then
21960 echo $ECHO_N "(cached) $ECHO_C" >&6
21963 am_cv_func_iconv
="no, consider installing GNU libiconv"
21965 if test x
$gcc_no_link = xyes
; then
21966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21968 { (exit 1); exit 1; }; }
21970 cat >conftest.
$ac_ext <<_ACEOF
21973 cat confdefs.h
>>conftest.
$ac_ext
21974 cat >>conftest.
$ac_ext <<_ACEOF
21975 /* end confdefs.h. */
21976 #include <stdlib.h>
21981 iconv_t cd = iconv_open("","");
21982 iconv(cd,NULL,NULL,NULL,NULL);
21988 rm -f conftest.
$ac_objext conftest
$ac_exeext
21989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21990 (eval $ac_link) 2>conftest.er1
21992 grep -v '^ *+' conftest.er1
>conftest.err
21994 cat conftest.err
>&5
21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21996 (exit $ac_status); } &&
21997 { ac_try
='test -z "$ac_c_werror_flag"
21998 || test ! -s conftest.err'
21999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22000 (eval $ac_try) 2>&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; } &&
22004 { ac_try
='test -s conftest$ac_exeext'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; }; then
22010 am_cv_func_iconv
=yes
22012 echo "$as_me: failed program was:" >&5
22013 sed 's/^/| /' conftest.
$ac_ext >&5
22016 rm -f conftest.err conftest.
$ac_objext \
22017 conftest
$ac_exeext conftest.
$ac_ext
22018 if test "$am_cv_func_iconv" != yes; then
22019 am_save_LIBS
="$LIBS"
22020 LIBS
="$LIBS $LIBICONV"
22021 if test x
$gcc_no_link = xyes
; then
22022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22024 { (exit 1); exit 1; }; }
22026 cat >conftest.
$ac_ext <<_ACEOF
22029 cat confdefs.h
>>conftest.
$ac_ext
22030 cat >>conftest.
$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032 #include <stdlib.h>
22037 iconv_t cd = iconv_open("","");
22038 iconv(cd,NULL,NULL,NULL,NULL);
22044 rm -f conftest.
$ac_objext conftest
$ac_exeext
22045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22046 (eval $ac_link) 2>conftest.er1
22048 grep -v '^ *+' conftest.er1
>conftest.err
22050 cat conftest.err
>&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } &&
22053 { ac_try
='test -z "$ac_c_werror_flag"
22054 || test ! -s conftest.err'
22055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22056 (eval $ac_try) 2>&5
22058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22059 (exit $ac_status); }; } &&
22060 { ac_try
='test -s conftest$ac_exeext'
22061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22062 (eval $ac_try) 2>&5
22064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22065 (exit $ac_status); }; }; then
22066 am_cv_lib_iconv
=yes
22067 am_cv_func_iconv
=yes
22069 echo "$as_me: failed program was:" >&5
22070 sed 's/^/| /' conftest.
$ac_ext >&5
22073 rm -f conftest.err conftest.
$ac_objext \
22074 conftest
$ac_exeext conftest.
$ac_ext
22075 LIBS
="$am_save_LIBS"
22079 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22080 echo "${ECHO_T}$am_cv_func_iconv" >&6
22081 if test "$am_cv_func_iconv" = yes; then
22083 cat >>confdefs.h
<<\_ACEOF
22084 #define HAVE_ICONV 1
22088 if test "$am_cv_lib_iconv" = yes; then
22089 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22090 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
22091 echo "$as_me:$LINENO: result: $LIBICONV" >&5
22092 echo "${ECHO_T}$LIBICONV" >&6
22094 CPPFLAGS
="$am_save_CPPFLAGS"
22101 if test "$am_cv_func_iconv" = yes; then
22102 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22103 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22104 if test "${am_cv_proto_iconv+set}" = set; then
22105 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 cat >conftest.
$ac_ext <<_ACEOF
22111 cat confdefs.h
>>conftest.
$ac_ext
22112 cat >>conftest.
$ac_ext <<_ACEOF
22113 /* end confdefs.h. */
22115 #include <stdlib.h>
22121 #if defined(__STDC__) || defined(__cplusplus)
22122 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22135 rm -f conftest.
$ac_objext
22136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22137 (eval $ac_compile) 2>conftest.er1
22139 grep -v '^ *+' conftest.er1
>conftest.err
22141 cat conftest.err
>&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } &&
22144 { ac_try
='test -z "$ac_c_werror_flag"
22145 || test ! -s conftest.err'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; } &&
22151 { ac_try
='test -s conftest.$ac_objext'
22152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153 (eval $ac_try) 2>&5
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; }; then
22157 am_cv_proto_iconv_arg1
=""
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.
$ac_ext >&5
22162 am_cv_proto_iconv_arg1
="const"
22164 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22165 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);"
22168 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22169 echo "$as_me:$LINENO: result: ${ac_t:-
22170 }$am_cv_proto_iconv" >&5
22171 echo "${ECHO_T}${ac_t:-
22172 }$am_cv_proto_iconv" >&6
22174 cat >>confdefs.h
<<_ACEOF
22175 #define ICONV_CONST $am_cv_proto_iconv_arg1
22181 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22182 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22183 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22184 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 if test x
$gcc_no_link = xyes
; then
22187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22189 { (exit 1); exit 1; }; }
22191 cat >conftest.
$ac_ext <<_ACEOF
22194 cat confdefs.h
>>conftest.
$ac_ext
22195 cat >>conftest.
$ac_ext <<_ACEOF
22196 /* end confdefs.h. */
22197 #include <locale.h>
22206 rm -f conftest.
$ac_objext conftest
$ac_exeext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22208 (eval $ac_link) 2>conftest.er1
22210 grep -v '^ *+' conftest.er1
>conftest.err
22212 cat conftest.err
>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } &&
22215 { ac_try
='test -z "$ac_c_werror_flag"
22216 || test ! -s conftest.err'
22217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218 (eval $ac_try) 2>&5
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; } &&
22222 { ac_try
='test -s conftest$ac_exeext'
22223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224 (eval $ac_try) 2>&5
22226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227 (exit $ac_status); }; }; then
22228 am_cv_val_LC_MESSAGES
=yes
22230 echo "$as_me: failed program was:" >&5
22231 sed 's/^/| /' conftest.
$ac_ext >&5
22233 am_cv_val_LC_MESSAGES
=no
22235 rm -f conftest.err conftest.
$ac_objext \
22236 conftest
$ac_exeext conftest.
$ac_ext
22238 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22239 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
22240 if test $am_cv_val_LC_MESSAGES = yes; then
22242 cat >>confdefs.h
<<\_ACEOF
22243 #define HAVE_LC_MESSAGES 1
22248 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22249 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22250 if test "${ac_cv_struct_tm+set}" = set; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 cat >conftest.
$ac_ext <<_ACEOF
22256 cat confdefs.h
>>conftest.
$ac_ext
22257 cat >>conftest.
$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259 #include <sys/types.h>
22265 struct tm *tp; tp->tm_sec;
22270 rm -f conftest.
$ac_objext
22271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22272 (eval $ac_compile) 2>conftest.er1
22274 grep -v '^ *+' conftest.er1
>conftest.err
22276 cat conftest.err
>&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } &&
22279 { ac_try
='test -z "$ac_c_werror_flag"
22280 || test ! -s conftest.err'
22281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 (eval $ac_try) 2>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; } &&
22286 { ac_try
='test -s conftest.$ac_objext'
22287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288 (eval $ac_try) 2>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; }; then
22292 ac_cv_struct_tm
=time.h
22294 echo "$as_me: failed program was:" >&5
22295 sed 's/^/| /' conftest.
$ac_ext >&5
22297 ac_cv_struct_tm
=sys
/time.h
22299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22301 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22302 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22303 if test $ac_cv_struct_tm = sys
/time.h
; then
22305 cat >>confdefs.h
<<\_ACEOF
22306 #define TM_IN_SYS_TIME 1
22311 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
22312 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
22313 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
22314 echo $ECHO_N "(cached) $ECHO_C" >&6
22316 cat >conftest.
$ac_ext <<_ACEOF
22319 cat confdefs.h
>>conftest.
$ac_ext
22320 cat >>conftest.
$ac_ext <<_ACEOF
22321 /* end confdefs.h. */
22322 #include <sys/types.h>
22323 #include <$ac_cv_struct_tm>
22329 static struct tm ac_aggr;
22330 if (ac_aggr.tm_zone)
22336 rm -f conftest.
$ac_objext
22337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22338 (eval $ac_compile) 2>conftest.er1
22340 grep -v '^ *+' conftest.er1
>conftest.err
22342 cat conftest.err
>&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } &&
22345 { ac_try
='test -z "$ac_c_werror_flag"
22346 || test ! -s conftest.err'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; } &&
22352 { ac_try
='test -s conftest.$ac_objext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_cv_member_struct_tm_tm_zone
=yes
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.
$ac_ext >&5
22363 cat >conftest.
$ac_ext <<_ACEOF
22366 cat confdefs.h
>>conftest.
$ac_ext
22367 cat >>conftest.
$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22369 #include <sys/types.h>
22370 #include <$ac_cv_struct_tm>
22376 static struct tm ac_aggr;
22377 if (sizeof ac_aggr.tm_zone)
22383 rm -f conftest.
$ac_objext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22385 (eval $ac_compile) 2>conftest.er1
22387 grep -v '^ *+' conftest.er1
>conftest.err
22389 cat conftest.err
>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } &&
22392 { ac_try
='test -z "$ac_c_werror_flag"
22393 || test ! -s conftest.err'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; } &&
22399 { ac_try
='test -s conftest.$ac_objext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405 ac_cv_member_struct_tm_tm_zone
=yes
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.
$ac_ext >&5
22410 ac_cv_member_struct_tm_tm_zone
=no
22412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22414 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22416 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
22417 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
22418 if test $ac_cv_member_struct_tm_tm_zone = yes; then
22420 cat >>confdefs.h
<<_ACEOF
22421 #define HAVE_STRUCT_TM_TM_ZONE 1
22427 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
22429 cat >>confdefs.h
<<\_ACEOF
22430 #define HAVE_TM_ZONE 1
22434 echo "$as_me:$LINENO: checking for tzname" >&5
22435 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
22436 if test "${ac_cv_var_tzname+set}" = set; then
22437 echo $ECHO_N "(cached) $ECHO_C" >&6
22439 if test x
$gcc_no_link = xyes
; then
22440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22442 { (exit 1); exit 1; }; }
22444 cat >conftest.
$ac_ext <<_ACEOF
22447 cat confdefs.h
>>conftest.
$ac_ext
22448 cat >>conftest.
$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22451 #ifndef tzname /* For SGI. */
22452 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
22463 rm -f conftest.
$ac_objext conftest
$ac_exeext
22464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22465 (eval $ac_link) 2>conftest.er1
22467 grep -v '^ *+' conftest.er1
>conftest.err
22469 cat conftest.err
>&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } &&
22472 { ac_try
='test -z "$ac_c_werror_flag"
22473 || test ! -s conftest.err'
22474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22475 (eval $ac_try) 2>&5
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); }; } &&
22479 { ac_try
='test -s conftest$ac_exeext'
22480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22481 (eval $ac_try) 2>&5
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); }; }; then
22485 ac_cv_var_tzname
=yes
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.
$ac_ext >&5
22490 ac_cv_var_tzname
=no
22492 rm -f conftest.err conftest.
$ac_objext \
22493 conftest
$ac_exeext conftest.
$ac_ext
22495 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
22496 echo "${ECHO_T}$ac_cv_var_tzname" >&6
22497 if test $ac_cv_var_tzname = yes; then
22499 cat >>confdefs.h
<<\_ACEOF
22500 #define HAVE_TZNAME 1
22508 for ac_func
in gethostbyname_r
22510 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22511 echo "$as_me:$LINENO: checking for $ac_func" >&5
22512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22513 if eval "test \"\${$as_ac_var+set}\" = set"; then
22514 echo $ECHO_N "(cached) $ECHO_C" >&6
22516 if test x
$gcc_no_link = xyes
; then
22517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22519 { (exit 1); exit 1; }; }
22521 cat >conftest.
$ac_ext <<_ACEOF
22524 cat confdefs.h
>>conftest.
$ac_ext
22525 cat >>conftest.
$ac_ext <<_ACEOF
22526 /* end confdefs.h. */
22527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22529 #define $ac_func innocuous_$ac_func
22531 /* System header to define __stub macros and hopefully few prototypes,
22532 which can conflict with char $ac_func (); below.
22533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22534 <limits.h> exists even on freestanding compilers. */
22537 # include <limits.h>
22539 # include <assert.h>
22544 /* Override any gcc2 internal prototype to avoid an error. */
22549 /* We use char because int might match the return type of a gcc2
22550 builtin and then its argument prototype would still apply. */
22552 /* The GNU C library defines this for functions which it implements
22553 to always fail with ENOSYS. Some functions are actually named
22554 something starting with __ and the normal name is an alias. */
22555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22558 char (*f) () = $ac_func;
22567 return f != $ac_func;
22572 rm -f conftest.
$ac_objext conftest
$ac_exeext
22573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22574 (eval $ac_link) 2>conftest.er1
22576 grep -v '^ *+' conftest.er1
>conftest.err
22578 cat conftest.err
>&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } &&
22581 { ac_try
='test -z "$ac_c_werror_flag"
22582 || test ! -s conftest.err'
22583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22584 (eval $ac_try) 2>&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); }; } &&
22588 { ac_try
='test -s conftest$ac_exeext'
22589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22590 (eval $ac_try) 2>&5
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); }; }; then
22594 eval "$as_ac_var=yes"
22596 echo "$as_me: failed program was:" >&5
22597 sed 's/^/| /' conftest.
$ac_ext >&5
22599 eval "$as_ac_var=no"
22601 rm -f conftest.err conftest.
$ac_objext \
22602 conftest
$ac_exeext conftest.
$ac_ext
22604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22606 if test `eval echo '${'$as_ac_var'}'` = yes; then
22607 cat >>confdefs.h
<<_ACEOF
22608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22612 cat >>confdefs.h
<<\_ACEOF
22613 #define HAVE_GETHOSTBYNAME_R 1
22616 # There are two different kinds of gethostbyname_r.
22617 # We look for the one that returns `int'.
22618 # Hopefully this check is robust enough.
22619 cat >conftest.
$ac_ext <<_ACEOF
22622 cat confdefs.h
>>conftest.
$ac_ext
22623 cat >>conftest.
$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22629 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
22632 cat >>confdefs.h
<<\_ACEOF
22633 #define GETHOSTBYNAME_R_RETURNS_INT 1
22640 case " $GCINCS " in
22641 *" -D_REENTRANT "*) ;;
22643 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22644 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
22645 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
22646 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 ac_cpp
='$CXXCPP $CPPFLAGS'
22650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22654 cat >conftest.
$ac_ext <<_ACEOF
22657 cat confdefs.h
>>conftest.
$ac_ext
22658 cat >>conftest.
$ac_ext <<_ACEOF
22659 /* end confdefs.h. */
22664 gethostbyname_r("", 0, 0);
22669 rm -f conftest.
$ac_objext
22670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22671 (eval $ac_compile) 2>conftest.er1
22673 grep -v '^ *+' conftest.er1
>conftest.err
22675 cat conftest.err
>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } &&
22678 { ac_try
='test -z "$ac_cxx_werror_flag"
22679 || test ! -s conftest.err'
22680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22681 (eval $ac_try) 2>&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); }; } &&
22685 { ac_try
='test -s conftest.$ac_objext'
22686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22687 (eval $ac_try) 2>&5
22689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22690 (exit $ac_status); }; }; then
22691 libjava_cv_gethostbyname_r_needs_reentrant
=no
22693 echo "$as_me: failed program was:" >&5
22694 sed 's/^/| /' conftest.
$ac_ext >&5
22696 CPPFLAGS_SAVE
="$CPPFLAGS"
22697 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
22698 cat >conftest.
$ac_ext <<_ACEOF
22701 cat confdefs.h
>>conftest.
$ac_ext
22702 cat >>conftest.
$ac_ext <<_ACEOF
22703 /* end confdefs.h. */
22708 gethostbyname_r("", 0, 0);
22713 rm -f conftest.
$ac_objext
22714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22715 (eval $ac_compile) 2>conftest.er1
22717 grep -v '^ *+' conftest.er1
>conftest.err
22719 cat conftest.err
>&5
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); } &&
22722 { ac_try
='test -z "$ac_cxx_werror_flag"
22723 || test ! -s conftest.err'
22724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22725 (eval $ac_try) 2>&5
22727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22728 (exit $ac_status); }; } &&
22729 { ac_try
='test -s conftest.$ac_objext'
22730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22731 (eval $ac_try) 2>&5
22733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734 (exit $ac_status); }; }; then
22735 libjava_cv_gethostbyname_r_needs_reentrant
=yes
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.
$ac_ext >&5
22740 libjava_cv_gethostbyname_r_needs_reentrant
=fail
22742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22743 CPPFLAGS
="$CPPFLAGS_SAVE"
22746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22748 ac_cpp
='$CPP $CPPFLAGS'
22749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22755 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22756 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
22757 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
22759 cat >>confdefs.h
<<\_ACEOF
22760 #define _REENTRANT 1
22767 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
22768 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
22769 if test "${libjava_cv_struct_hostent_data+set}" = set; then
22770 echo $ECHO_N "(cached) $ECHO_C" >&6
22772 cat >conftest.
$ac_ext <<_ACEOF
22775 cat confdefs.h
>>conftest.
$ac_ext
22776 cat >>conftest.
$ac_ext <<_ACEOF
22777 /* end confdefs.h. */
22779 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22780 # define _REENTRANT 1
22786 struct hostent_data data;
22791 rm -f conftest.
$ac_objext
22792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22793 (eval $ac_compile) 2>conftest.er1
22795 grep -v '^ *+' conftest.er1
>conftest.err
22797 cat conftest.err
>&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); } &&
22800 { ac_try
='test -z "$ac_c_werror_flag"
22801 || test ! -s conftest.err'
22802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22803 (eval $ac_try) 2>&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); }; } &&
22807 { ac_try
='test -s conftest.$ac_objext'
22808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22809 (eval $ac_try) 2>&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); }; }; then
22813 libjava_cv_struct_hostent_data
=yes
22815 echo "$as_me: failed program was:" >&5
22816 sed 's/^/| /' conftest.
$ac_ext >&5
22818 libjava_cv_struct_hostent_data
=no
22820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22822 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
22823 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
22824 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
22826 cat >>confdefs.h
<<\_ACEOF
22827 #define HAVE_STRUCT_HOSTENT_DATA 1
22836 # FIXME: libjava source code expects to find a prototype for
22837 # gethostbyaddr_r in netdb.h. The outer check ensures that
22838 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22839 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22840 # linkage check is enough, yet C++ code requires proper prototypes.)
22841 cat >conftest.
$ac_ext <<_ACEOF
22844 cat confdefs.h
>>conftest.
$ac_ext
22845 cat >>conftest.
$ac_ext <<_ACEOF
22846 /* end confdefs.h. */
22850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22851 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
22854 for ac_func
in gethostbyaddr_r
22856 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22857 echo "$as_me:$LINENO: checking for $ac_func" >&5
22858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22859 if eval "test \"\${$as_ac_var+set}\" = set"; then
22860 echo $ECHO_N "(cached) $ECHO_C" >&6
22862 if test x
$gcc_no_link = xyes
; then
22863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22865 { (exit 1); exit 1; }; }
22867 cat >conftest.
$ac_ext <<_ACEOF
22870 cat confdefs.h
>>conftest.
$ac_ext
22871 cat >>conftest.
$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22875 #define $ac_func innocuous_$ac_func
22877 /* System header to define __stub macros and hopefully few prototypes,
22878 which can conflict with char $ac_func (); below.
22879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22880 <limits.h> exists even on freestanding compilers. */
22883 # include <limits.h>
22885 # include <assert.h>
22890 /* Override any gcc2 internal prototype to avoid an error. */
22895 /* We use char because int might match the return type of a gcc2
22896 builtin and then its argument prototype would still apply. */
22898 /* The GNU C library defines this for functions which it implements
22899 to always fail with ENOSYS. Some functions are actually named
22900 something starting with __ and the normal name is an alias. */
22901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22904 char (*f) () = $ac_func;
22913 return f != $ac_func;
22918 rm -f conftest.
$ac_objext conftest
$ac_exeext
22919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22920 (eval $ac_link) 2>conftest.er1
22922 grep -v '^ *+' conftest.er1
>conftest.err
22924 cat conftest.err
>&5
22925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22926 (exit $ac_status); } &&
22927 { ac_try
='test -z "$ac_c_werror_flag"
22928 || test ! -s conftest.err'
22929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22930 (eval $ac_try) 2>&5
22932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22933 (exit $ac_status); }; } &&
22934 { ac_try
='test -s conftest$ac_exeext'
22935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22936 (eval $ac_try) 2>&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); }; }; then
22940 eval "$as_ac_var=yes"
22942 echo "$as_me: failed program was:" >&5
22943 sed 's/^/| /' conftest.
$ac_ext >&5
22945 eval "$as_ac_var=no"
22947 rm -f conftest.err conftest.
$ac_objext \
22948 conftest
$ac_exeext conftest.
$ac_ext
22950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22952 if test `eval echo '${'$as_ac_var'}'` = yes; then
22953 cat >>confdefs.h
<<_ACEOF
22954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22958 cat >>confdefs.h
<<\_ACEOF
22959 #define HAVE_GETHOSTBYADDR_R 1
22962 # There are two different kinds of gethostbyaddr_r.
22963 # We look for the one that returns `int'.
22964 # Hopefully this check is robust enough.
22965 cat >conftest.
$ac_ext <<_ACEOF
22968 cat confdefs.h
>>conftest.
$ac_ext
22969 cat >>conftest.
$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22975 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
22978 cat >>confdefs.h
<<\_ACEOF
22979 #define GETHOSTBYADDR_R_RETURNS_INT 1
22993 for ac_func
in gethostname
22995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22996 echo "$as_me:$LINENO: checking for $ac_func" >&5
22997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22998 if eval "test \"\${$as_ac_var+set}\" = set"; then
22999 echo $ECHO_N "(cached) $ECHO_C" >&6
23001 if test x
$gcc_no_link = xyes
; then
23002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23004 { (exit 1); exit 1; }; }
23006 cat >conftest.
$ac_ext <<_ACEOF
23009 cat confdefs.h
>>conftest.
$ac_ext
23010 cat >>conftest.
$ac_ext <<_ACEOF
23011 /* end confdefs.h. */
23012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23014 #define $ac_func innocuous_$ac_func
23016 /* System header to define __stub macros and hopefully few prototypes,
23017 which can conflict with char $ac_func (); below.
23018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23019 <limits.h> exists even on freestanding compilers. */
23022 # include <limits.h>
23024 # include <assert.h>
23029 /* Override any gcc2 internal prototype to avoid an error. */
23034 /* We use char because int might match the return type of a gcc2
23035 builtin and then its argument prototype would still apply. */
23037 /* The GNU C library defines this for functions which it implements
23038 to always fail with ENOSYS. Some functions are actually named
23039 something starting with __ and the normal name is an alias. */
23040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23043 char (*f) () = $ac_func;
23052 return f != $ac_func;
23057 rm -f conftest.
$ac_objext conftest
$ac_exeext
23058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23059 (eval $ac_link) 2>conftest.er1
23061 grep -v '^ *+' conftest.er1
>conftest.err
23063 cat conftest.err
>&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } &&
23066 { ac_try
='test -z "$ac_c_werror_flag"
23067 || test ! -s conftest.err'
23068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23069 (eval $ac_try) 2>&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); }; } &&
23073 { ac_try
='test -s conftest$ac_exeext'
23074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23075 (eval $ac_try) 2>&5
23077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23078 (exit $ac_status); }; }; then
23079 eval "$as_ac_var=yes"
23081 echo "$as_me: failed program was:" >&5
23082 sed 's/^/| /' conftest.
$ac_ext >&5
23084 eval "$as_ac_var=no"
23086 rm -f conftest.err conftest.
$ac_objext \
23087 conftest
$ac_exeext conftest.
$ac_ext
23089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23091 if test `eval echo '${'$as_ac_var'}'` = yes; then
23092 cat >>confdefs.h
<<_ACEOF
23093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23097 cat >>confdefs.h
<<\_ACEOF
23098 #define HAVE_GETHOSTNAME 1
23101 cat >conftest.
$ac_ext <<_ACEOF
23104 cat confdefs.h
>>conftest.
$ac_ext
23105 cat >>conftest.
$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23107 #include <unistd.h>
23110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23111 $EGREP "gethostname" >/dev
/null
2>&1; then
23114 cat >>confdefs.h
<<\_ACEOF
23115 #define HAVE_GETHOSTNAME_DECL 1
23126 for ac_func
in usleep
23128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23129 echo "$as_me:$LINENO: checking for $ac_func" >&5
23130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23131 if eval "test \"\${$as_ac_var+set}\" = set"; then
23132 echo $ECHO_N "(cached) $ECHO_C" >&6
23134 if test x
$gcc_no_link = xyes
; then
23135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23137 { (exit 1); exit 1; }; }
23139 cat >conftest.
$ac_ext <<_ACEOF
23142 cat confdefs.h
>>conftest.
$ac_ext
23143 cat >>conftest.
$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23147 #define $ac_func innocuous_$ac_func
23149 /* System header to define __stub macros and hopefully few prototypes,
23150 which can conflict with char $ac_func (); below.
23151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23152 <limits.h> exists even on freestanding compilers. */
23155 # include <limits.h>
23157 # include <assert.h>
23162 /* Override any gcc2 internal prototype to avoid an error. */
23167 /* We use char because int might match the return type of a gcc2
23168 builtin and then its argument prototype would still apply. */
23170 /* The GNU C library defines this for functions which it implements
23171 to always fail with ENOSYS. Some functions are actually named
23172 something starting with __ and the normal name is an alias. */
23173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23176 char (*f) () = $ac_func;
23185 return f != $ac_func;
23190 rm -f conftest.
$ac_objext conftest
$ac_exeext
23191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23192 (eval $ac_link) 2>conftest.er1
23194 grep -v '^ *+' conftest.er1
>conftest.err
23196 cat conftest.err
>&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } &&
23199 { ac_try
='test -z "$ac_c_werror_flag"
23200 || test ! -s conftest.err'
23201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23202 (eval $ac_try) 2>&5
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); }; } &&
23206 { ac_try
='test -s conftest$ac_exeext'
23207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; }; then
23212 eval "$as_ac_var=yes"
23214 echo "$as_me: failed program was:" >&5
23215 sed 's/^/| /' conftest.
$ac_ext >&5
23217 eval "$as_ac_var=no"
23219 rm -f conftest.err conftest.
$ac_objext \
23220 conftest
$ac_exeext conftest.
$ac_ext
23222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23224 if test `eval echo '${'$as_ac_var'}'` = yes; then
23225 cat >>confdefs.h
<<_ACEOF
23226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23229 cat >conftest.
$ac_ext <<_ACEOF
23232 cat confdefs.h
>>conftest.
$ac_ext
23233 cat >>conftest.
$ac_ext <<_ACEOF
23234 /* end confdefs.h. */
23235 #include <unistd.h>
23238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23239 $EGREP "usleep" >/dev
/null
2>&1; then
23242 cat >>confdefs.h
<<\_ACEOF
23243 #define HAVE_USLEEP_DECL 1
23253 # Look for these functions in the thread library, but only bother
23254 # if using POSIX threads.
23255 if test "$THREADS" = posix
; then
23257 LIBS
="$LIBS $THREADLIBS"
23259 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
23260 # Solaris 7 the name librt is preferred.
23262 for ac_func
in sched_yield
23264 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23265 echo "$as_me:$LINENO: checking for $ac_func" >&5
23266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23267 if eval "test \"\${$as_ac_var+set}\" = set"; then
23268 echo $ECHO_N "(cached) $ECHO_C" >&6
23270 if test x
$gcc_no_link = xyes
; then
23271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23273 { (exit 1); exit 1; }; }
23275 cat >conftest.
$ac_ext <<_ACEOF
23278 cat confdefs.h
>>conftest.
$ac_ext
23279 cat >>conftest.
$ac_ext <<_ACEOF
23280 /* end confdefs.h. */
23281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23283 #define $ac_func innocuous_$ac_func
23285 /* System header to define __stub macros and hopefully few prototypes,
23286 which can conflict with char $ac_func (); below.
23287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23288 <limits.h> exists even on freestanding compilers. */
23291 # include <limits.h>
23293 # include <assert.h>
23298 /* Override any gcc2 internal prototype to avoid an error. */
23303 /* We use char because int might match the return type of a gcc2
23304 builtin and then its argument prototype would still apply. */
23306 /* The GNU C library defines this for functions which it implements
23307 to always fail with ENOSYS. Some functions are actually named
23308 something starting with __ and the normal name is an alias. */
23309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23312 char (*f) () = $ac_func;
23321 return f != $ac_func;
23326 rm -f conftest.
$ac_objext conftest
$ac_exeext
23327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23328 (eval $ac_link) 2>conftest.er1
23330 grep -v '^ *+' conftest.er1
>conftest.err
23332 cat conftest.err
>&5
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); } &&
23335 { ac_try
='test -z "$ac_c_werror_flag"
23336 || test ! -s conftest.err'
23337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23338 (eval $ac_try) 2>&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); }; } &&
23342 { ac_try
='test -s conftest$ac_exeext'
23343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23344 (eval $ac_try) 2>&5
23346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23347 (exit $ac_status); }; }; then
23348 eval "$as_ac_var=yes"
23350 echo "$as_me: failed program was:" >&5
23351 sed 's/^/| /' conftest.
$ac_ext >&5
23353 eval "$as_ac_var=no"
23355 rm -f conftest.err conftest.
$ac_objext \
23356 conftest
$ac_exeext conftest.
$ac_ext
23358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23360 if test `eval echo '${'$as_ac_var'}'` = yes; then
23361 cat >>confdefs.h
<<_ACEOF
23362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23367 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
23368 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
23369 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23372 ac_check_lib_save_LIBS
=$LIBS
23374 if test x
$gcc_no_link = xyes
; then
23375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23377 { (exit 1); exit 1; }; }
23379 cat >conftest.
$ac_ext <<_ACEOF
23382 cat confdefs.h
>>conftest.
$ac_ext
23383 cat >>conftest.
$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23386 /* Override any gcc2 internal prototype to avoid an error. */
23390 /* We use char because int might match the return type of a gcc2
23391 builtin and then its argument prototype would still apply. */
23392 char sched_yield ();
23401 rm -f conftest.
$ac_objext conftest
$ac_exeext
23402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23403 (eval $ac_link) 2>conftest.er1
23405 grep -v '^ *+' conftest.er1
>conftest.err
23407 cat conftest.err
>&5
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); } &&
23410 { ac_try
='test -z "$ac_c_werror_flag"
23411 || test ! -s conftest.err'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; } &&
23417 { ac_try
='test -s conftest$ac_exeext'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; }; then
23423 ac_cv_lib_rt_sched_yield
=yes
23425 echo "$as_me: failed program was:" >&5
23426 sed 's/^/| /' conftest.
$ac_ext >&5
23428 ac_cv_lib_rt_sched_yield
=no
23430 rm -f conftest.err conftest.
$ac_objext \
23431 conftest
$ac_exeext conftest.
$ac_ext
23432 LIBS
=$ac_check_lib_save_LIBS
23434 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
23435 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
23436 if test $ac_cv_lib_rt_sched_yield = yes; then
23438 cat >>confdefs.h
<<\_ACEOF
23439 #define HAVE_SCHED_YIELD 1
23442 THREADLIBS
="$THREADLIBS -lrt"
23443 THREADSPEC
="$THREADSPEC -lrt"
23446 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
23447 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
23448 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
23449 echo $ECHO_N "(cached) $ECHO_C" >&6
23451 ac_check_lib_save_LIBS
=$LIBS
23452 LIBS
="-lposix4 $LIBS"
23453 if test x
$gcc_no_link = xyes
; then
23454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23456 { (exit 1); exit 1; }; }
23458 cat >conftest.
$ac_ext <<_ACEOF
23461 cat confdefs.h
>>conftest.
$ac_ext
23462 cat >>conftest.
$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23465 /* Override any gcc2 internal prototype to avoid an error. */
23469 /* We use char because int might match the return type of a gcc2
23470 builtin and then its argument prototype would still apply. */
23471 char sched_yield ();
23480 rm -f conftest.
$ac_objext conftest
$ac_exeext
23481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23482 (eval $ac_link) 2>conftest.er1
23484 grep -v '^ *+' conftest.er1
>conftest.err
23486 cat conftest.err
>&5
23487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); } &&
23489 { ac_try
='test -z "$ac_c_werror_flag"
23490 || test ! -s conftest.err'
23491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492 (eval $ac_try) 2>&5
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; } &&
23496 { ac_try
='test -s conftest$ac_exeext'
23497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23498 (eval $ac_try) 2>&5
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); }; }; then
23502 ac_cv_lib_posix4_sched_yield
=yes
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.
$ac_ext >&5
23507 ac_cv_lib_posix4_sched_yield
=no
23509 rm -f conftest.err conftest.
$ac_objext \
23510 conftest
$ac_exeext conftest.
$ac_ext
23511 LIBS
=$ac_check_lib_save_LIBS
23513 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
23514 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
23515 if test $ac_cv_lib_posix4_sched_yield = yes; then
23517 cat >>confdefs.h
<<\_ACEOF
23518 #define HAVE_SCHED_YIELD 1
23521 THREADLIBS
="$THREADLIBS -lposix4"
23522 THREADSPEC
="$THREADSPEC -lposix4"
23531 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
23532 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
23533 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
23534 echo $ECHO_N "(cached) $ECHO_C" >&6
23536 ac_check_lib_save_LIBS
=$LIBS
23538 if test x
$gcc_no_link = xyes
; then
23539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23541 { (exit 1); exit 1; }; }
23543 cat >conftest.
$ac_ext <<_ACEOF
23546 cat confdefs.h
>>conftest.
$ac_ext
23547 cat >>conftest.
$ac_ext <<_ACEOF
23548 /* end confdefs.h. */
23550 /* Override any gcc2 internal prototype to avoid an error. */
23554 /* We use char because int might match the return type of a gcc2
23555 builtin and then its argument prototype would still apply. */
23556 char clock_gettime ();
23565 rm -f conftest.
$ac_objext conftest
$ac_exeext
23566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23567 (eval $ac_link) 2>conftest.er1
23569 grep -v '^ *+' conftest.er1
>conftest.err
23571 cat conftest.err
>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); } &&
23574 { ac_try
='test -z "$ac_c_werror_flag"
23575 || test ! -s conftest.err'
23576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23577 (eval $ac_try) 2>&5
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); }; } &&
23581 { ac_try
='test -s conftest$ac_exeext'
23582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23583 (eval $ac_try) 2>&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); }; }; then
23587 ac_cv_lib_rt_clock_gettime
=yes
23589 echo "$as_me: failed program was:" >&5
23590 sed 's/^/| /' conftest.
$ac_ext >&5
23592 ac_cv_lib_rt_clock_gettime
=no
23594 rm -f conftest.err conftest.
$ac_objext \
23595 conftest
$ac_exeext conftest.
$ac_ext
23596 LIBS
=$ac_check_lib_save_LIBS
23598 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
23599 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
23600 if test $ac_cv_lib_rt_clock_gettime = yes; then
23603 cat >>confdefs.h
<<\_ACEOF
23604 #define HAVE_CLOCK_GETTIME 1
23607 case "$THREADSPEC" in
23610 THREADSPEC
="$THREADSPEC -lrt"
23611 THREADLIBS
="$THREADLIBS -lrt"
23619 # We can save a little space at runtime if the mutex has m_count
23620 # or __m_count. This is a nice hack for Linux.
23621 cat >conftest.
$ac_ext <<_ACEOF
23624 cat confdefs.h
>>conftest.
$ac_ext
23625 cat >>conftest.
$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627 #include <pthread.h>
23632 extern pthread_mutex_t *mutex; int q = mutex->m_count;
23638 rm -f conftest.
$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640 (eval $ac_compile) 2>conftest.er1
23642 grep -v '^ *+' conftest.er1
>conftest.err
23644 cat conftest.err
>&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } &&
23647 { ac_try
='test -z "$ac_c_werror_flag"
23648 || test ! -s conftest.err'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; } &&
23654 { ac_try
='test -s conftest.$ac_objext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23661 cat >>confdefs.h
<<\_ACEOF
23662 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.
$ac_ext >&5
23670 cat >conftest.
$ac_ext <<_ACEOF
23673 cat confdefs.h
>>conftest.
$ac_ext
23674 cat >>conftest.
$ac_ext <<_ACEOF
23675 /* end confdefs.h. */
23676 #include <pthread.h>
23681 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
23687 rm -f conftest.
$ac_objext
23688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23689 (eval $ac_compile) 2>conftest.er1
23691 grep -v '^ *+' conftest.er1
>conftest.err
23693 cat conftest.err
>&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); } &&
23696 { ac_try
='test -z "$ac_c_werror_flag"
23697 || test ! -s conftest.err'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; } &&
23703 { ac_try
='test -s conftest.$ac_objext'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; }; then
23710 cat >>confdefs.h
<<\_ACEOF
23711 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
23715 echo "$as_me: failed program was:" >&5
23716 sed 's/^/| /' conftest.
$ac_ext >&5
23719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23724 # We require a way to get the time.
23729 for ac_func
in gettimeofday
time ftime
23731 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23732 echo "$as_me:$LINENO: checking for $ac_func" >&5
23733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23734 if eval "test \"\${$as_ac_var+set}\" = set"; then
23735 echo $ECHO_N "(cached) $ECHO_C" >&6
23737 if test x
$gcc_no_link = xyes
; then
23738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23740 { (exit 1); exit 1; }; }
23742 cat >conftest.
$ac_ext <<_ACEOF
23745 cat confdefs.h
>>conftest.
$ac_ext
23746 cat >>conftest.
$ac_ext <<_ACEOF
23747 /* end confdefs.h. */
23748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23750 #define $ac_func innocuous_$ac_func
23752 /* System header to define __stub macros and hopefully few prototypes,
23753 which can conflict with char $ac_func (); below.
23754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23755 <limits.h> exists even on freestanding compilers. */
23758 # include <limits.h>
23760 # include <assert.h>
23765 /* Override any gcc2 internal prototype to avoid an error. */
23770 /* We use char because int might match the return type of a gcc2
23771 builtin and then its argument prototype would still apply. */
23773 /* The GNU C library defines this for functions which it implements
23774 to always fail with ENOSYS. Some functions are actually named
23775 something starting with __ and the normal name is an alias. */
23776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23779 char (*f) () = $ac_func;
23788 return f != $ac_func;
23793 rm -f conftest.
$ac_objext conftest
$ac_exeext
23794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23795 (eval $ac_link) 2>conftest.er1
23797 grep -v '^ *+' conftest.er1
>conftest.err
23799 cat conftest.err
>&5
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); } &&
23802 { ac_try
='test -z "$ac_c_werror_flag"
23803 || test ! -s conftest.err'
23804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23805 (eval $ac_try) 2>&5
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; } &&
23809 { ac_try
='test -s conftest$ac_exeext'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; }; then
23815 eval "$as_ac_var=yes"
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.
$ac_ext >&5
23820 eval "$as_ac_var=no"
23822 rm -f conftest.err conftest.
$ac_objext \
23823 conftest
$ac_exeext conftest.
$ac_ext
23825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23827 if test `eval echo '${'$as_ac_var'}'` = yes; then
23828 cat >>confdefs.h
<<_ACEOF
23829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23835 if test "$time_found" = no
; then
23836 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
23837 echo "$as_me: error: no function found to get the time" >&2;}
23838 { (exit 1); exit 1; }; }
23842 for ac_func
in memmove
23844 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23845 echo "$as_me:$LINENO: checking for $ac_func" >&5
23846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23847 if eval "test \"\${$as_ac_var+set}\" = set"; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23850 if test x
$gcc_no_link = xyes
; then
23851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23853 { (exit 1); exit 1; }; }
23855 cat >conftest.
$ac_ext <<_ACEOF
23858 cat confdefs.h
>>conftest.
$ac_ext
23859 cat >>conftest.
$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23863 #define $ac_func innocuous_$ac_func
23865 /* System header to define __stub macros and hopefully few prototypes,
23866 which can conflict with char $ac_func (); below.
23867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23868 <limits.h> exists even on freestanding compilers. */
23871 # include <limits.h>
23873 # include <assert.h>
23878 /* Override any gcc2 internal prototype to avoid an error. */
23883 /* We use char because int might match the return type of a gcc2
23884 builtin and then its argument prototype would still apply. */
23886 /* The GNU C library defines this for functions which it implements
23887 to always fail with ENOSYS. Some functions are actually named
23888 something starting with __ and the normal name is an alias. */
23889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23892 char (*f) () = $ac_func;
23901 return f != $ac_func;
23906 rm -f conftest.
$ac_objext conftest
$ac_exeext
23907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23908 (eval $ac_link) 2>conftest.er1
23910 grep -v '^ *+' conftest.er1
>conftest.err
23912 cat conftest.err
>&5
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); } &&
23915 { ac_try
='test -z "$ac_c_werror_flag"
23916 || test ! -s conftest.err'
23917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23918 (eval $ac_try) 2>&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); }; } &&
23922 { ac_try
='test -s conftest$ac_exeext'
23923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23924 (eval $ac_try) 2>&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); }; }; then
23928 eval "$as_ac_var=yes"
23930 echo "$as_me: failed program was:" >&5
23931 sed 's/^/| /' conftest.
$ac_ext >&5
23933 eval "$as_ac_var=no"
23935 rm -f conftest.err conftest.
$ac_objext \
23936 conftest
$ac_exeext conftest.
$ac_ext
23938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23940 if test `eval echo '${'$as_ac_var'}'` = yes; then
23941 cat >>confdefs.h
<<_ACEOF
23942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23949 # We require memcpy.
23952 for ac_func
in memcpy
23954 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23955 echo "$as_me:$LINENO: checking for $ac_func" >&5
23956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23957 if eval "test \"\${$as_ac_var+set}\" = set"; then
23958 echo $ECHO_N "(cached) $ECHO_C" >&6
23960 if test x
$gcc_no_link = xyes
; then
23961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23963 { (exit 1); exit 1; }; }
23965 cat >conftest.
$ac_ext <<_ACEOF
23968 cat confdefs.h
>>conftest.
$ac_ext
23969 cat >>conftest.
$ac_ext <<_ACEOF
23970 /* end confdefs.h. */
23971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23973 #define $ac_func innocuous_$ac_func
23975 /* System header to define __stub macros and hopefully few prototypes,
23976 which can conflict with char $ac_func (); below.
23977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23978 <limits.h> exists even on freestanding compilers. */
23981 # include <limits.h>
23983 # include <assert.h>
23988 /* Override any gcc2 internal prototype to avoid an error. */
23993 /* We use char because int might match the return type of a gcc2
23994 builtin and then its argument prototype would still apply. */
23996 /* The GNU C library defines this for functions which it implements
23997 to always fail with ENOSYS. Some functions are actually named
23998 something starting with __ and the normal name is an alias. */
23999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24002 char (*f) () = $ac_func;
24011 return f != $ac_func;
24016 rm -f conftest.
$ac_objext conftest
$ac_exeext
24017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24018 (eval $ac_link) 2>conftest.er1
24020 grep -v '^ *+' conftest.er1
>conftest.err
24022 cat conftest.err
>&5
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); } &&
24025 { ac_try
='test -z "$ac_c_werror_flag"
24026 || test ! -s conftest.err'
24027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24028 (eval $ac_try) 2>&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); }; } &&
24032 { ac_try
='test -s conftest$ac_exeext'
24033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034 (eval $ac_try) 2>&5
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; }; then
24038 eval "$as_ac_var=yes"
24040 echo "$as_me: failed program was:" >&5
24041 sed 's/^/| /' conftest.
$ac_ext >&5
24043 eval "$as_ac_var=no"
24045 rm -f conftest.err conftest.
$ac_objext \
24046 conftest
$ac_exeext conftest.
$ac_ext
24048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24050 if test `eval echo '${'$as_ac_var'}'` = yes; then
24051 cat >>confdefs.h
<<_ACEOF
24052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24058 if test "$memcpy_found" = no
; then
24059 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
24060 echo "$as_me: error: memcpy is required" >&2;}
24061 { (exit 1); exit 1; }; }
24063 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
24064 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24065 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24066 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24067 echo $ECHO_N "(cached) $ECHO_C" >&6
24069 ac_check_lib_save_LIBS
=$LIBS
24071 if test x
$gcc_no_link = xyes
; then
24072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24074 { (exit 1); exit 1; }; }
24076 cat >conftest.
$ac_ext <<_ACEOF
24079 cat confdefs.h
>>conftest.
$ac_ext
24080 cat >>conftest.
$ac_ext <<_ACEOF
24081 /* end confdefs.h. */
24083 /* Override any gcc2 internal prototype to avoid an error. */
24087 /* We use char because int might match the return type of a gcc2
24088 builtin and then its argument prototype would still apply. */
24098 rm -f conftest.
$ac_objext conftest
$ac_exeext
24099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24100 (eval $ac_link) 2>conftest.er1
24102 grep -v '^ *+' conftest.er1
>conftest.err
24104 cat conftest.err
>&5
24105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106 (exit $ac_status); } &&
24107 { ac_try
='test -z "$ac_c_werror_flag"
24108 || test ! -s conftest.err'
24109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24110 (eval $ac_try) 2>&5
24112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24113 (exit $ac_status); }; } &&
24114 { ac_try
='test -s conftest$ac_exeext'
24115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24116 (eval $ac_try) 2>&5
24118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24119 (exit $ac_status); }; }; then
24120 ac_cv_lib_dl_dlopen
=yes
24122 echo "$as_me: failed program was:" >&5
24123 sed 's/^/| /' conftest.
$ac_ext >&5
24125 ac_cv_lib_dl_dlopen
=no
24127 rm -f conftest.err conftest.
$ac_objext \
24128 conftest
$ac_exeext conftest.
$ac_ext
24129 LIBS
=$ac_check_lib_save_LIBS
24131 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24132 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24133 if test $ac_cv_lib_dl_dlopen = yes; then
24136 cat >>confdefs.h
<<\_ACEOF
24137 #define HAVE_DLOPEN 1
24142 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
24143 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
24144 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
24145 echo $ECHO_N "(cached) $ECHO_C" >&6
24147 ac_check_lib_save_LIBS
=$LIBS
24149 if test x
$gcc_no_link = xyes
; then
24150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24152 { (exit 1); exit 1; }; }
24154 cat >conftest.
$ac_ext <<_ACEOF
24157 cat confdefs.h
>>conftest.
$ac_ext
24158 cat >>conftest.
$ac_ext <<_ACEOF
24159 /* end confdefs.h. */
24161 /* Override any gcc2 internal prototype to avoid an error. */
24165 /* We use char because int might match the return type of a gcc2
24166 builtin and then its argument prototype would still apply. */
24176 rm -f conftest.
$ac_objext conftest
$ac_exeext
24177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24178 (eval $ac_link) 2>conftest.er1
24180 grep -v '^ *+' conftest.er1
>conftest.err
24182 cat conftest.err
>&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } &&
24185 { ac_try
='test -z "$ac_c_werror_flag"
24186 || test ! -s conftest.err'
24187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24188 (eval $ac_try) 2>&5
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); }; } &&
24192 { ac_try
='test -s conftest$ac_exeext'
24193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24194 (eval $ac_try) 2>&5
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); }; }; then
24198 ac_cv_lib_dld_dlopen
=yes
24200 echo "$as_me: failed program was:" >&5
24201 sed 's/^/| /' conftest.
$ac_ext >&5
24203 ac_cv_lib_dld_dlopen
=no
24205 rm -f conftest.err conftest.
$ac_objext \
24206 conftest
$ac_exeext conftest.
$ac_ext
24207 LIBS
=$ac_check_lib_save_LIBS
24209 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
24210 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
24211 if test $ac_cv_lib_dld_dlopen = yes; then
24214 cat >>confdefs.h
<<\_ACEOF
24215 #define HAVE_DLOPEN 1
24223 # Some library-finding code we stole from Tcl.
24224 #--------------------------------------------------------------------
24225 # Check for the existence of the -lsocket and -lnsl libraries.
24226 # The order here is important, so that they end up in the right
24227 # order in the command line generated by make. Here are some
24228 # special considerations:
24229 # 1. Use "connect" and "accept" to check for -lsocket, and
24230 # "gethostbyname" to check for -lnsl.
24231 # 2. Use each function name only once: can't redo a check because
24232 # autoconf caches the results of the last check and won't redo it.
24233 # 3. Use -lnsl and -lsocket only if they supply procedures that
24234 # aren't already present in the normal libraries. This is because
24235 # IRIX 5.2 has libraries, but they aren't needed and they're
24236 # bogus: they goof up name resolution if used.
24237 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
24238 # To get around this problem, check for both libraries together
24239 # if -lsocket doesn't work by itself.
24240 #--------------------------------------------------------------------
24242 echo "$as_me:$LINENO: checking for socket libraries" >&5
24243 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
24244 if test "${gcj_cv_lib_sockets+set}" = set; then
24245 echo $ECHO_N "(cached) $ECHO_C" >&6
24247 gcj_cv_lib_sockets
=
24249 unset ac_cv_func_connect
24250 echo "$as_me:$LINENO: checking for connect" >&5
24251 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24252 if test "${ac_cv_func_connect+set}" = set; then
24253 echo $ECHO_N "(cached) $ECHO_C" >&6
24255 if test x
$gcc_no_link = xyes
; then
24256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24258 { (exit 1); exit 1; }; }
24260 cat >conftest.
$ac_ext <<_ACEOF
24263 cat confdefs.h
>>conftest.
$ac_ext
24264 cat >>conftest.
$ac_ext <<_ACEOF
24265 /* end confdefs.h. */
24266 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24268 #define connect innocuous_connect
24270 /* System header to define __stub macros and hopefully few prototypes,
24271 which can conflict with char connect (); below.
24272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24273 <limits.h> exists even on freestanding compilers. */
24276 # include <limits.h>
24278 # include <assert.h>
24283 /* Override any gcc2 internal prototype to avoid an error. */
24288 /* We use char because int might match the return type of a gcc2
24289 builtin and then its argument prototype would still apply. */
24291 /* The GNU C library defines this for functions which it implements
24292 to always fail with ENOSYS. Some functions are actually named
24293 something starting with __ and the normal name is an alias. */
24294 #if defined (__stub_connect) || defined (__stub___connect)
24297 char (*f) () = connect;
24306 return f != connect;
24311 rm -f conftest.
$ac_objext conftest
$ac_exeext
24312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24313 (eval $ac_link) 2>conftest.er1
24315 grep -v '^ *+' conftest.er1
>conftest.err
24317 cat conftest.err
>&5
24318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24319 (exit $ac_status); } &&
24320 { ac_try
='test -z "$ac_c_werror_flag"
24321 || test ! -s conftest.err'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; } &&
24327 { ac_try
='test -s conftest$ac_exeext'
24328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24329 (eval $ac_try) 2>&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); }; }; then
24333 ac_cv_func_connect
=yes
24335 echo "$as_me: failed program was:" >&5
24336 sed 's/^/| /' conftest.
$ac_ext >&5
24338 ac_cv_func_connect
=no
24340 rm -f conftest.err conftest.
$ac_objext \
24341 conftest
$ac_exeext conftest.
$ac_ext
24343 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24344 echo "${ECHO_T}$ac_cv_func_connect" >&6
24345 if test $ac_cv_func_connect = yes; then
24351 if test "$gcj_checkSocket" = 1; then
24352 unset ac_cv_func_connect
24353 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
24354 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
24355 if test "${ac_cv_lib_socket_main+set}" = set; then
24356 echo $ECHO_N "(cached) $ECHO_C" >&6
24358 ac_check_lib_save_LIBS
=$LIBS
24359 LIBS
="-lsocket $LIBS"
24360 if test x
$gcc_no_link = xyes
; then
24361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24363 { (exit 1); exit 1; }; }
24365 cat >conftest.
$ac_ext <<_ACEOF
24368 cat confdefs.h
>>conftest.
$ac_ext
24369 cat >>conftest.
$ac_ext <<_ACEOF
24370 /* end confdefs.h. */
24381 rm -f conftest.
$ac_objext conftest
$ac_exeext
24382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24383 (eval $ac_link) 2>conftest.er1
24385 grep -v '^ *+' conftest.er1
>conftest.err
24387 cat conftest.err
>&5
24388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389 (exit $ac_status); } &&
24390 { ac_try
='test -z "$ac_c_werror_flag"
24391 || test ! -s conftest.err'
24392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24393 (eval $ac_try) 2>&5
24395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24396 (exit $ac_status); }; } &&
24397 { ac_try
='test -s conftest$ac_exeext'
24398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24399 (eval $ac_try) 2>&5
24401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24402 (exit $ac_status); }; }; then
24403 ac_cv_lib_socket_main
=yes
24405 echo "$as_me: failed program was:" >&5
24406 sed 's/^/| /' conftest.
$ac_ext >&5
24408 ac_cv_lib_socket_main
=no
24410 rm -f conftest.err conftest.
$ac_objext \
24411 conftest
$ac_exeext conftest.
$ac_ext
24412 LIBS
=$ac_check_lib_save_LIBS
24414 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
24415 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
24416 if test $ac_cv_lib_socket_main = yes; then
24417 gcj_cv_lib_sockets
="-lsocket"
24423 if test "$gcj_checkBoth" = 1; then
24425 LIBS
="$LIBS -lsocket -lnsl"
24426 unset ac_cv_func_accept
24427 echo "$as_me:$LINENO: checking for accept" >&5
24428 echo $ECHO_N "checking for accept... $ECHO_C" >&6
24429 if test "${ac_cv_func_accept+set}" = set; then
24430 echo $ECHO_N "(cached) $ECHO_C" >&6
24432 if test x
$gcc_no_link = xyes
; then
24433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24435 { (exit 1); exit 1; }; }
24437 cat >conftest.
$ac_ext <<_ACEOF
24440 cat confdefs.h
>>conftest.
$ac_ext
24441 cat >>conftest.
$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24443 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
24444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24445 #define accept innocuous_accept
24447 /* System header to define __stub macros and hopefully few prototypes,
24448 which can conflict with char accept (); below.
24449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24450 <limits.h> exists even on freestanding compilers. */
24453 # include <limits.h>
24455 # include <assert.h>
24460 /* Override any gcc2 internal prototype to avoid an error. */
24465 /* We use char because int might match the return type of a gcc2
24466 builtin and then its argument prototype would still apply. */
24468 /* The GNU C library defines this for functions which it implements
24469 to always fail with ENOSYS. Some functions are actually named
24470 something starting with __ and the normal name is an alias. */
24471 #if defined (__stub_accept) || defined (__stub___accept)
24474 char (*f) () = accept;
24483 return f != accept;
24488 rm -f conftest.
$ac_objext conftest
$ac_exeext
24489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24490 (eval $ac_link) 2>conftest.er1
24492 grep -v '^ *+' conftest.er1
>conftest.err
24494 cat conftest.err
>&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); } &&
24497 { ac_try
='test -z "$ac_c_werror_flag"
24498 || test ! -s conftest.err'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; } &&
24504 { ac_try
='test -s conftest$ac_exeext'
24505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24506 (eval $ac_try) 2>&5
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); }; }; then
24510 ac_cv_func_accept
=yes
24512 echo "$as_me: failed program was:" >&5
24513 sed 's/^/| /' conftest.
$ac_ext >&5
24515 ac_cv_func_accept
=no
24517 rm -f conftest.err conftest.
$ac_objext \
24518 conftest
$ac_exeext conftest.
$ac_ext
24520 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
24521 echo "${ECHO_T}$ac_cv_func_accept" >&6
24522 if test $ac_cv_func_accept = yes; then
24524 gcj_cv_lib_sockets
="-lsocket -lnsl"
24527 unset ac_cv_func_accept
24530 unset ac_cv_func_gethostbyname
24532 LIBS
="$LIBS $gcj_cv_lib_sockets"
24533 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24534 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24535 if test "${ac_cv_func_gethostbyname+set}" = set; then
24536 echo $ECHO_N "(cached) $ECHO_C" >&6
24538 if test x
$gcc_no_link = xyes
; then
24539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24541 { (exit 1); exit 1; }; }
24543 cat >conftest.
$ac_ext <<_ACEOF
24546 cat confdefs.h
>>conftest.
$ac_ext
24547 cat >>conftest.
$ac_ext <<_ACEOF
24548 /* end confdefs.h. */
24549 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24551 #define gethostbyname innocuous_gethostbyname
24553 /* System header to define __stub macros and hopefully few prototypes,
24554 which can conflict with char gethostbyname (); below.
24555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24556 <limits.h> exists even on freestanding compilers. */
24559 # include <limits.h>
24561 # include <assert.h>
24564 #undef gethostbyname
24566 /* Override any gcc2 internal prototype to avoid an error. */
24571 /* We use char because int might match the return type of a gcc2
24572 builtin and then its argument prototype would still apply. */
24573 char gethostbyname ();
24574 /* The GNU C library defines this for functions which it implements
24575 to always fail with ENOSYS. Some functions are actually named
24576 something starting with __ and the normal name is an alias. */
24577 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24580 char (*f) () = gethostbyname;
24589 return f != gethostbyname;
24594 rm -f conftest.
$ac_objext conftest
$ac_exeext
24595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24596 (eval $ac_link) 2>conftest.er1
24598 grep -v '^ *+' conftest.er1
>conftest.err
24600 cat conftest.err
>&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); } &&
24603 { ac_try
='test -z "$ac_c_werror_flag"
24604 || test ! -s conftest.err'
24605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24606 (eval $ac_try) 2>&5
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); }; } &&
24610 { ac_try
='test -s conftest$ac_exeext'
24611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24612 (eval $ac_try) 2>&5
24614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24615 (exit $ac_status); }; }; then
24616 ac_cv_func_gethostbyname
=yes
24618 echo "$as_me: failed program was:" >&5
24619 sed 's/^/| /' conftest.
$ac_ext >&5
24621 ac_cv_func_gethostbyname
=no
24623 rm -f conftest.err conftest.
$ac_objext \
24624 conftest
$ac_exeext conftest.
$ac_ext
24626 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24627 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24628 if test $ac_cv_func_gethostbyname = yes; then
24631 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
24632 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
24633 if test "${ac_cv_lib_nsl_main+set}" = set; then
24634 echo $ECHO_N "(cached) $ECHO_C" >&6
24636 ac_check_lib_save_LIBS
=$LIBS
24638 if test x
$gcc_no_link = xyes
; then
24639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24641 { (exit 1); exit 1; }; }
24643 cat >conftest.
$ac_ext <<_ACEOF
24646 cat confdefs.h
>>conftest.
$ac_ext
24647 cat >>conftest.
$ac_ext <<_ACEOF
24648 /* end confdefs.h. */
24659 rm -f conftest.
$ac_objext conftest
$ac_exeext
24660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24661 (eval $ac_link) 2>conftest.er1
24663 grep -v '^ *+' conftest.er1
>conftest.err
24665 cat conftest.err
>&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); } &&
24668 { ac_try
='test -z "$ac_c_werror_flag"
24669 || test ! -s conftest.err'
24670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24671 (eval $ac_try) 2>&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); }; } &&
24675 { ac_try
='test -s conftest$ac_exeext'
24676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677 (eval $ac_try) 2>&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); }; }; then
24681 ac_cv_lib_nsl_main
=yes
24683 echo "$as_me: failed program was:" >&5
24684 sed 's/^/| /' conftest.
$ac_ext >&5
24686 ac_cv_lib_nsl_main
=no
24688 rm -f conftest.err conftest.
$ac_objext \
24689 conftest
$ac_exeext conftest.
$ac_ext
24690 LIBS
=$ac_check_lib_save_LIBS
24692 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
24693 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
24694 if test $ac_cv_lib_nsl_main = yes; then
24695 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
24700 unset ac_cv_func_gethostbyname
24704 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
24705 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
24706 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
24708 if test "$with_system_zlib" = yes; then
24709 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24710 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24711 if test "${ac_cv_lib_z_deflate+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 ac_check_lib_save_LIBS
=$LIBS
24716 if test x
$gcc_no_link = xyes
; then
24717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24719 { (exit 1); exit 1; }; }
24721 cat >conftest.
$ac_ext <<_ACEOF
24724 cat confdefs.h
>>conftest.
$ac_ext
24725 cat >>conftest.
$ac_ext <<_ACEOF
24726 /* end confdefs.h. */
24728 /* Override any gcc2 internal prototype to avoid an error. */
24732 /* We use char because int might match the return type of a gcc2
24733 builtin and then its argument prototype would still apply. */
24743 rm -f conftest.
$ac_objext conftest
$ac_exeext
24744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24745 (eval $ac_link) 2>conftest.er1
24747 grep -v '^ *+' conftest.er1
>conftest.err
24749 cat conftest.err
>&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } &&
24752 { ac_try
='test -z "$ac_c_werror_flag"
24753 || test ! -s conftest.err'
24754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755 (eval $ac_try) 2>&5
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; } &&
24759 { ac_try
='test -s conftest$ac_exeext'
24760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761 (eval $ac_try) 2>&5
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); }; }; then
24765 ac_cv_lib_z_deflate
=yes
24767 echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.
$ac_ext >&5
24770 ac_cv_lib_z_deflate
=no
24772 rm -f conftest.err conftest.
$ac_objext \
24773 conftest
$ac_exeext conftest.
$ac_ext
24774 LIBS
=$ac_check_lib_save_LIBS
24776 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24777 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24778 if test $ac_cv_lib_z_deflate = yes; then
24786 # Test for Gtk stuff, if asked for.
24787 if test "$use_gtk_awt" = yes; then
24791 if test -z "$PKG_CONFIG"; then
24792 # Extract the first word of "pkg-config", so it can be a program name with args.
24793 set dummy pkg-config
; ac_word
=$2
24794 echo "$as_me:$LINENO: checking for $ac_word" >&5
24795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24796 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24797 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 case $PKG_CONFIG in
24801 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24805 for as_dir
in $PATH
24808 test -z "$as_dir" && as_dir
=.
24809 for ac_exec_ext
in '' $ac_executable_extensions; do
24810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24811 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24818 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24822 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24824 if test -n "$PKG_CONFIG"; then
24825 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24826 echo "${ECHO_T}$PKG_CONFIG" >&6
24828 echo "$as_me:$LINENO: result: no" >&5
24829 echo "${ECHO_T}no" >&6
24834 if test "$PKG_CONFIG" = "no" ; then
24835 echo "*** The pkg-config script could not be found. Make sure it is"
24836 echo "*** in your path, or set the PKG_CONFIG environment variable"
24837 echo "*** to the full path to pkg-config."
24838 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24840 PKG_CONFIG_MIN_VERSION
=0.9.0
24841 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24842 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
24843 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
24845 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
24846 echo "$as_me:$LINENO: result: yes" >&5
24847 echo "${ECHO_T}yes" >&6
24850 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
24851 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
24852 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
24853 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
24854 echo "${ECHO_T}$GTK_CFLAGS" >&6
24856 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
24857 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
24858 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
24859 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
24860 echo "${ECHO_T}$GTK_LIBS" >&6
24864 ## If we have a custom action on failure, don't print errors, but
24865 ## do set a variable so people can do so.
24866 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
24867 echo $GTK_PKG_ERRORS
24873 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24874 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24878 if test $succeeded = yes; then
24881 { { 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
24882 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;}
24883 { (exit 1); exit 1; }; }
24892 if test -z "$PKG_CONFIG"; then
24893 # Extract the first word of "pkg-config", so it can be a program name with args.
24894 set dummy pkg-config
; ac_word
=$2
24895 echo "$as_me:$LINENO: checking for $ac_word" >&5
24896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24897 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24898 echo $ECHO_N "(cached) $ECHO_C" >&6
24900 case $PKG_CONFIG in
24902 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24906 for as_dir
in $PATH
24909 test -z "$as_dir" && as_dir
=.
24910 for ac_exec_ext
in '' $ac_executable_extensions; do
24911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24912 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24919 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
24923 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24925 if test -n "$PKG_CONFIG"; then
24926 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24927 echo "${ECHO_T}$PKG_CONFIG" >&6
24929 echo "$as_me:$LINENO: result: no" >&5
24930 echo "${ECHO_T}no" >&6
24935 if test "$PKG_CONFIG" = "no" ; then
24936 echo "*** The pkg-config script could not be found. Make sure it is"
24937 echo "*** in your path, or set the PKG_CONFIG environment variable"
24938 echo "*** to the full path to pkg-config."
24939 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24941 PKG_CONFIG_MIN_VERSION
=0.9.0
24942 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24943 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
24944 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
24946 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
24947 echo "$as_me:$LINENO: result: yes" >&5
24948 echo "${ECHO_T}yes" >&6
24951 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
24952 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
24953 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
24954 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
24955 echo "${ECHO_T}$GLIB_CFLAGS" >&6
24957 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
24958 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
24959 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
24960 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
24961 echo "${ECHO_T}$GLIB_LIBS" >&6
24965 ## If we have a custom action on failure, don't print errors, but
24966 ## do set a variable so people can do so.
24967 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
24968 echo $GLIB_PKG_ERRORS
24974 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24975 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24979 if test $succeeded = yes; then
24982 { { 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
24983 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;}
24984 { (exit 1); exit 1; }; }
24993 if test -z "$PKG_CONFIG"; then
24994 # Extract the first word of "pkg-config", so it can be a program name with args.
24995 set dummy pkg-config
; ac_word
=$2
24996 echo "$as_me:$LINENO: checking for $ac_word" >&5
24997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
24998 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 case $PKG_CONFIG in
25003 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25007 for as_dir
in $PATH
25010 test -z "$as_dir" && as_dir
=.
25011 for ac_exec_ext
in '' $ac_executable_extensions; do
25012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25013 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25020 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25024 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25026 if test -n "$PKG_CONFIG"; then
25027 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25028 echo "${ECHO_T}$PKG_CONFIG" >&6
25030 echo "$as_me:$LINENO: result: no" >&5
25031 echo "${ECHO_T}no" >&6
25036 if test "$PKG_CONFIG" = "no" ; then
25037 echo "*** The pkg-config script could not be found. Make sure it is"
25038 echo "*** in your path, or set the PKG_CONFIG environment variable"
25039 echo "*** to the full path to pkg-config."
25040 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25042 PKG_CONFIG_MIN_VERSION
=0.9.0
25043 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25044 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
25045 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
25047 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
25048 echo "$as_me:$LINENO: result: yes" >&5
25049 echo "${ECHO_T}yes" >&6
25052 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
25053 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
25054 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
25055 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
25056 echo "${ECHO_T}$LIBART_CFLAGS" >&6
25058 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
25059 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
25060 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
25061 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
25062 echo "${ECHO_T}$LIBART_LIBS" >&6
25066 ## If we have a custom action on failure, don't print errors, but
25067 ## do set a variable so people can do so.
25068 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
25069 echo $LIBART_PKG_ERRORS
25075 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25076 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25080 if test $succeeded = yes; then
25083 { { 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
25084 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;}
25085 { (exit 1); exit 1; }; }
25091 # We require the XTest Extension to support java.awt.Robot.
25092 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
25093 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
25094 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
25095 echo $ECHO_N "(cached) $ECHO_C" >&6
25097 ac_check_lib_save_LIBS
=$LIBS
25098 LIBS
="-lXtst ${X_LIBS} $LIBS"
25099 if test x
$gcc_no_link = xyes
; then
25100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25102 { (exit 1); exit 1; }; }
25104 cat >conftest.
$ac_ext <<_ACEOF
25107 cat confdefs.h
>>conftest.
$ac_ext
25108 cat >>conftest.
$ac_ext <<_ACEOF
25109 /* end confdefs.h. */
25111 /* Override any gcc2 internal prototype to avoid an error. */
25115 /* We use char because int might match the return type of a gcc2
25116 builtin and then its argument prototype would still apply. */
25117 char XTestQueryExtension ();
25121 XTestQueryExtension ();
25126 rm -f conftest.
$ac_objext conftest
$ac_exeext
25127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25128 (eval $ac_link) 2>conftest.er1
25130 grep -v '^ *+' conftest.er1
>conftest.err
25132 cat conftest.err
>&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); } &&
25135 { ac_try
='test -z "$ac_c_werror_flag"
25136 || test ! -s conftest.err'
25137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25138 (eval $ac_try) 2>&5
25140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141 (exit $ac_status); }; } &&
25142 { ac_try
='test -s conftest$ac_exeext'
25143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25144 (eval $ac_try) 2>&5
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); }; }; then
25148 ac_cv_lib_Xtst_XTestQueryExtension
=yes
25150 echo "$as_me: failed program was:" >&5
25151 sed 's/^/| /' conftest.
$ac_ext >&5
25153 ac_cv_lib_Xtst_XTestQueryExtension
=no
25155 rm -f conftest.err conftest.
$ac_objext \
25156 conftest
$ac_exeext conftest.
$ac_ext
25157 LIBS
=$ac_check_lib_save_LIBS
25159 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
25160 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
25161 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
25164 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
25165 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
25166 { (exit 1); exit 1; }; }
25171 # On Solaris, and maybe other architectures, the Boehm collector
25173 if test "$GC" = boehm
; then
25176 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
25177 # libgcj.spec is used, so override here
25178 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
25181 echo "$as_me:$LINENO: checking for main in -ldl" >&5
25182 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
25183 if test "${ac_cv_lib_dl_main+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 ac_check_lib_save_LIBS
=$LIBS
25188 if test x
$gcc_no_link = xyes
; then
25189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25191 { (exit 1); exit 1; }; }
25193 cat >conftest.
$ac_ext <<_ACEOF
25196 cat confdefs.h
>>conftest.
$ac_ext
25197 cat >>conftest.
$ac_ext <<_ACEOF
25198 /* end confdefs.h. */
25209 rm -f conftest.
$ac_objext conftest
$ac_exeext
25210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25211 (eval $ac_link) 2>conftest.er1
25213 grep -v '^ *+' conftest.er1
>conftest.err
25215 cat conftest.err
>&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } &&
25218 { ac_try
='test -z "$ac_c_werror_flag"
25219 || test ! -s conftest.err'
25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25221 (eval $ac_try) 2>&5
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); }; } &&
25225 { ac_try
='test -s conftest$ac_exeext'
25226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25227 (eval $ac_try) 2>&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); }; }; then
25231 ac_cv_lib_dl_main
=yes
25233 echo "$as_me: failed program was:" >&5
25234 sed 's/^/| /' conftest.
$ac_ext >&5
25236 ac_cv_lib_dl_main
=no
25238 rm -f conftest.err conftest.
$ac_objext \
25239 conftest
$ac_exeext conftest.
$ac_ext
25240 LIBS
=$ac_check_lib_save_LIBS
25242 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
25243 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
25244 if test $ac_cv_lib_dl_main = yes; then
25245 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
25253 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
25255 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
25256 *) CLASSPATH_SEPARATOR
=':' ;;
25260 # We must search the source tree for java.lang, since we still don't
25261 # have libgcj.jar nor java/lang/*.class
25262 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
25263 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
25265 # Since some classes depend on this one, we need its source available
25266 # before we can do any GCJ compilation test :-(
25267 if test ! -f gnu
/classpath
/Configuration.java
; then
25268 test -d gnu || mkdir gnu
25269 test -d gnu
/classpath || mkdir gnu
/classpath
25270 # Note that it is not crucial that all the values here be correct.
25271 sed -e "s,@prefix@,$prefix," \
25272 -e "s,@VERSION@,$VERSION," \
25273 -e "s,@LIBDEBUG@,false," \
25274 -e "s,@INIT_LOAD_LIBRARY@,false," \
25275 -e "s,@@,$LIBGCJDEBUG," \
25276 -e "s,@default_toolkit@,$TOOLKIT," \
25277 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
25278 -e "s,@GTK_CAIRO_ENABLED@,false," \
25279 -e "s,@ECJ_JAR@,," \
25280 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
25281 > gnu
/classpath
/Configuration.java
25282 # We do not want to redirect the output of the grep below to /dev/null,
25283 # but we add /dev/null to the input list so that grep will print the
25284 # filename of Configuration.java in case it finds any matches.
25285 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
25286 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
25287 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
25288 { (exit 1); exit 1; }; }
25295 # Extract the first word of "$ac_prog", so it can be a program name with args.
25296 set dummy
$ac_prog; ac_word
=$2
25297 echo "$as_me:$LINENO: checking for $ac_word" >&5
25298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25299 if test "${ac_cv_prog_GCJ+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25302 if test -n "$GCJ"; then
25303 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
25305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25306 for as_dir
in $PATH
25309 test -z "$as_dir" && as_dir
=.
25310 for ac_exec_ext
in '' $ac_executable_extensions; do
25311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25312 ac_cv_prog_GCJ
="$ac_prog"
25313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25321 GCJ
=$ac_cv_prog_GCJ
25322 if test -n "$GCJ"; then
25323 echo "$as_me:$LINENO: result: $GCJ" >&5
25324 echo "${ECHO_T}$GCJ" >&6
25326 echo "$as_me:$LINENO: result: no" >&5
25327 echo "${ECHO_T}no" >&6
25330 test -n "$GCJ" && break
25332 test -n "$GCJ" || GCJ
="gcj"
25334 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
25335 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
25336 { (exit 1); exit 1; }; }
25337 if test "x${GCJFLAGS-unset}" = xunset
; then
25342 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
25344 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25345 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25346 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
25347 echo $ECHO_N "(cached) $ECHO_C" >&6
25349 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25350 # We make a subdir and do the tests there. Otherwise we can end up
25351 # making bogus files that we don't know about and never remove. For
25352 # instance it was reported that on HP-UX the gcc test will end up
25353 # making a dummy file named `D' -- because `-MD' means `put the output
25356 # Copy depcomp to subdir because otherwise we won't find it if we're
25357 # using a relative directory.
25358 cp "$am_depcomp" conftest.dir
25360 # We will build objects and dependencies in a subdirectory because
25361 # it helps to detect inapplicable dependency modes. For instance
25362 # both Tru64's cc and ICC support -MD to output dependencies as a
25363 # side effect of compilation, but ICC will put the dependencies in
25364 # the current directory while Tru64 will put them in the object
25368 am_cv_GCJ_dependencies_compiler_type
=none
25369 if test "$am_compiler_list" = ""; then
25370 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
25372 for depmode
in $am_compiler_list; do
25373 # Setup a source with many dependencies, because some compilers
25374 # like to wrap large dependency lists on column 80 (with \), and
25375 # we should not choose a depcomp mode which is confused by this.
25377 # We need to recreate these files for each test, as the compiler may
25378 # overwrite some of them when testing with obscure command lines.
25379 # This happens at least with the AIX C compiler.
25381 for i
in 1 2 3 4 5 6; do
25382 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
25383 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
25384 # Solaris 8's {/usr,}/bin/sh.
25385 touch sub
/conftst
$i.h
25387 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
25391 # after this tag, mechanisms are not by side-effect, so they'll
25392 # only be used when explicitly requested
25393 if test "x$enable_dependency_tracking" = xyes
; then
25401 # We check with `-c' and `-o' for the sake of the "dashmstdout"
25402 # mode. It turns out that the SunPro C++ compiler does not properly
25403 # handle `-M -o', and we need to detect this.
25404 if depmode
=$depmode \
25405 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
25406 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
25407 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
25408 >/dev
/null
2>conftest.err
&&
25409 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
25410 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
25411 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
25412 # icc doesn't choke on unknown options, it will just issue warnings
25413 # or remarks (even with -Werror). So we grep stderr for any message
25414 # that says an option was ignored or not supported.
25415 # When given -MP, icc 7.0 and 7.1 complain thusly:
25416 # icc: Command line warning: ignoring option '-M'; no argument required
25417 # The diagnosis changed in icc 8.0:
25418 # icc: Command line remark: option '-MP' not supported
25419 if (grep 'ignoring option' conftest.err ||
25420 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
25421 am_cv_GCJ_dependencies_compiler_type
=$depmode
25428 rm -rf conftest.dir
25430 am_cv_GCJ_dependencies_compiler_type
=none
25434 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
25435 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
25436 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
25441 test "x$enable_dependency_tracking" != xno \
25442 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
25443 am__fastdepGCJ_TRUE
=
25444 am__fastdepGCJ_FALSE
='#'
25446 am__fastdepGCJ_TRUE
='#'
25447 am__fastdepGCJ_FALSE
=
25454 rm -f gnu
/classpath
/Configuration.java
25456 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
25458 echo "$as_me:$LINENO: checking for void *" >&5
25459 echo $ECHO_N "checking for void *... $ECHO_C" >&6
25460 if test "${ac_cv_type_void_p+set}" = set; then
25461 echo $ECHO_N "(cached) $ECHO_C" >&6
25463 cat >conftest.
$ac_ext <<_ACEOF
25466 cat confdefs.h
>>conftest.
$ac_ext
25467 cat >>conftest.
$ac_ext <<_ACEOF
25468 /* end confdefs.h. */
25469 $ac_includes_default
25475 if (sizeof (void *))
25481 rm -f conftest.
$ac_objext
25482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25483 (eval $ac_compile) 2>conftest.er1
25485 grep -v '^ *+' conftest.er1
>conftest.err
25487 cat conftest.err
>&5
25488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25489 (exit $ac_status); } &&
25490 { ac_try
='test -z "$ac_c_werror_flag"
25491 || test ! -s conftest.err'
25492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25493 (eval $ac_try) 2>&5
25495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25496 (exit $ac_status); }; } &&
25497 { ac_try
='test -s conftest.$ac_objext'
25498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25499 (eval $ac_try) 2>&5
25501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25502 (exit $ac_status); }; }; then
25503 ac_cv_type_void_p
=yes
25505 echo "$as_me: failed program was:" >&5
25506 sed 's/^/| /' conftest.
$ac_ext >&5
25508 ac_cv_type_void_p
=no
25510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25512 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
25513 echo "${ECHO_T}$ac_cv_type_void_p" >&6
25515 echo "$as_me:$LINENO: checking size of void *" >&5
25516 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
25517 if test "${ac_cv_sizeof_void_p+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 if test "$ac_cv_type_void_p" = yes; then
25521 # The cast to unsigned long works around a bug in the HP C Compiler
25522 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25523 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25524 # This bug is HP SR number 8606223364.
25525 if test "$cross_compiling" = yes; then
25526 # Depending upon the size, compute the lo and hi bounds.
25527 cat >conftest.
$ac_ext <<_ACEOF
25530 cat confdefs.h
>>conftest.
$ac_ext
25531 cat >>conftest.
$ac_ext <<_ACEOF
25532 /* end confdefs.h. */
25533 $ac_includes_default
25537 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
25544 rm -f conftest.
$ac_objext
25545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25546 (eval $ac_compile) 2>conftest.er1
25548 grep -v '^ *+' conftest.er1
>conftest.err
25550 cat conftest.err
>&5
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); } &&
25553 { ac_try
='test -z "$ac_c_werror_flag"
25554 || test ! -s conftest.err'
25555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25556 (eval $ac_try) 2>&5
25558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25559 (exit $ac_status); }; } &&
25560 { ac_try
='test -s conftest.$ac_objext'
25561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25562 (eval $ac_try) 2>&5
25564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565 (exit $ac_status); }; }; then
25568 cat >conftest.
$ac_ext <<_ACEOF
25571 cat confdefs.h
>>conftest.
$ac_ext
25572 cat >>conftest.
$ac_ext <<_ACEOF
25573 /* end confdefs.h. */
25574 $ac_includes_default
25578 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25585 rm -f conftest.
$ac_objext
25586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25587 (eval $ac_compile) 2>conftest.er1
25589 grep -v '^ *+' conftest.er1
>conftest.err
25591 cat conftest.err
>&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); } &&
25594 { ac_try
='test -z "$ac_c_werror_flag"
25595 || test ! -s conftest.err'
25596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597 (eval $ac_try) 2>&5
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); }; } &&
25601 { ac_try
='test -s conftest.$ac_objext'
25602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25603 (eval $ac_try) 2>&5
25605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25606 (exit $ac_status); }; }; then
25607 ac_hi
=$ac_mid; break
25609 echo "$as_me: failed program was:" >&5
25610 sed 's/^/| /' conftest.
$ac_ext >&5
25612 ac_lo
=`expr $ac_mid + 1`
25613 if test $ac_lo -le $ac_mid; then
25617 ac_mid
=`expr 2 '*' $ac_mid + 1`
25619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25622 echo "$as_me: failed program was:" >&5
25623 sed 's/^/| /' conftest.
$ac_ext >&5
25625 cat >conftest.
$ac_ext <<_ACEOF
25628 cat confdefs.h
>>conftest.
$ac_ext
25629 cat >>conftest.
$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25631 $ac_includes_default
25635 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
25642 rm -f conftest.
$ac_objext
25643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25644 (eval $ac_compile) 2>conftest.er1
25646 grep -v '^ *+' conftest.er1
>conftest.err
25648 cat conftest.err
>&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); } &&
25651 { ac_try
='test -z "$ac_c_werror_flag"
25652 || test ! -s conftest.err'
25653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25654 (eval $ac_try) 2>&5
25656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657 (exit $ac_status); }; } &&
25658 { ac_try
='test -s conftest.$ac_objext'
25659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25660 (eval $ac_try) 2>&5
25662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25663 (exit $ac_status); }; }; then
25666 cat >conftest.
$ac_ext <<_ACEOF
25669 cat confdefs.h
>>conftest.
$ac_ext
25670 cat >>conftest.
$ac_ext <<_ACEOF
25671 /* end confdefs.h. */
25672 $ac_includes_default
25676 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
25683 rm -f conftest.
$ac_objext
25684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25685 (eval $ac_compile) 2>conftest.er1
25687 grep -v '^ *+' conftest.er1
>conftest.err
25689 cat conftest.err
>&5
25690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25691 (exit $ac_status); } &&
25692 { ac_try
='test -z "$ac_c_werror_flag"
25693 || test ! -s conftest.err'
25694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25695 (eval $ac_try) 2>&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); }; } &&
25699 { ac_try
='test -s conftest.$ac_objext'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; }; then
25705 ac_lo
=$ac_mid; break
25707 echo "$as_me: failed program was:" >&5
25708 sed 's/^/| /' conftest.
$ac_ext >&5
25710 ac_hi
=`expr '(' $ac_mid ')' - 1`
25711 if test $ac_mid -le $ac_hi; then
25715 ac_mid
=`expr 2 '*' $ac_mid`
25717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25720 echo "$as_me: failed program was:" >&5
25721 sed 's/^/| /' conftest.
$ac_ext >&5
25725 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25728 # Binary search between lo and hi bounds.
25729 while test "x$ac_lo" != "x$ac_hi"; do
25730 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25731 cat >conftest.
$ac_ext <<_ACEOF
25734 cat confdefs.h
>>conftest.
$ac_ext
25735 cat >>conftest.
$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737 $ac_includes_default
25741 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25748 rm -f conftest.
$ac_objext
25749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25750 (eval $ac_compile) 2>conftest.er1
25752 grep -v '^ *+' conftest.er1
>conftest.err
25754 cat conftest.err
>&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } &&
25757 { ac_try
='test -z "$ac_c_werror_flag"
25758 || test ! -s conftest.err'
25759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25760 (eval $ac_try) 2>&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); }; } &&
25764 { ac_try
='test -s conftest.$ac_objext'
25765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25766 (eval $ac_try) 2>&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); }; }; then
25772 echo "$as_me: failed program was:" >&5
25773 sed 's/^/| /' conftest.
$ac_ext >&5
25775 ac_lo
=`expr '(' $ac_mid ')' + 1`
25777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25780 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
25781 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25782 See \`config.log' for more details." >&5
25783 echo "$as_me: error: cannot compute sizeof (void *), 77
25784 See \`config.log' for more details." >&2;}
25785 { (exit 1); exit 1; }; } ;;
25788 if test "$cross_compiling" = yes; then
25789 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
25790 See \`config.log' for more details." >&5
25791 echo "$as_me: error: cannot run test program while cross compiling
25792 See \`config.log' for more details." >&2;}
25793 { (exit 1); exit 1; }; }
25795 cat >conftest.
$ac_ext <<_ACEOF
25798 cat confdefs.h
>>conftest.
$ac_ext
25799 cat >>conftest.
$ac_ext <<_ACEOF
25800 /* end confdefs.h. */
25801 $ac_includes_default
25802 long longval () { return (long) (sizeof (void *)); }
25803 unsigned long ulongval () { return (long) (sizeof (void *)); }
25805 #include <stdlib.h>
25810 FILE *f = fopen ("conftest.val", "w");
25813 if (((long) (sizeof (void *))) < 0)
25815 long i = longval ();
25816 if (i != ((long) (sizeof (void *))))
25818 fprintf (f, "%ld\n", i);
25822 unsigned long i = ulongval ();
25823 if (i != ((long) (sizeof (void *))))
25825 fprintf (f, "%lu\n", i);
25827 exit (ferror (f) || fclose (f) != 0);
25833 rm -f conftest
$ac_exeext
25834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25835 (eval $ac_link) 2>&5
25837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25838 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
25839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25840 (eval $ac_try) 2>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); }; }; then
25844 ac_cv_sizeof_void_p
=`cat conftest.val`
25846 echo "$as_me: program exited with status $ac_status" >&5
25847 echo "$as_me: failed program was:" >&5
25848 sed 's/^/| /' conftest.
$ac_ext >&5
25850 ( exit $ac_status )
25851 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
25852 See \`config.log' for more details." >&5
25853 echo "$as_me: error: cannot compute sizeof (void *), 77
25854 See \`config.log' for more details." >&2;}
25855 { (exit 1); exit 1; }; }
25857 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
25862 ac_cv_sizeof_void_p
=0
25865 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
25866 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
25867 cat >>confdefs.h
<<_ACEOF
25868 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
25873 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25874 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25875 if test "${ac_cv_c_bigendian+set}" = set; then
25876 echo $ECHO_N "(cached) $ECHO_C" >&6
25878 # See if sys/param.h defines the BYTE_ORDER macro.
25879 cat >conftest.
$ac_ext <<_ACEOF
25882 cat confdefs.h
>>conftest.
$ac_ext
25883 cat >>conftest.
$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25885 #include <sys/types.h>
25886 #include <sys/param.h>
25891 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25892 bogus endian macros
25899 rm -f conftest.
$ac_objext
25900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25901 (eval $ac_compile) 2>conftest.er1
25903 grep -v '^ *+' conftest.er1
>conftest.err
25905 cat conftest.err
>&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } &&
25908 { ac_try
='test -z "$ac_c_werror_flag"
25909 || test ! -s conftest.err'
25910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25911 (eval $ac_try) 2>&5
25913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25914 (exit $ac_status); }; } &&
25915 { ac_try
='test -s conftest.$ac_objext'
25916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25917 (eval $ac_try) 2>&5
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); }; }; then
25921 # It does; now see whether it defined to BIG_ENDIAN or not.
25922 cat >conftest.
$ac_ext <<_ACEOF
25925 cat confdefs.h
>>conftest.
$ac_ext
25926 cat >>conftest.
$ac_ext <<_ACEOF
25927 /* end confdefs.h. */
25928 #include <sys/types.h>
25929 #include <sys/param.h>
25934 #if BYTE_ORDER != BIG_ENDIAN
25942 rm -f conftest.
$ac_objext
25943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25944 (eval $ac_compile) 2>conftest.er1
25946 grep -v '^ *+' conftest.er1
>conftest.err
25948 cat conftest.err
>&5
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); } &&
25951 { ac_try
='test -z "$ac_c_werror_flag"
25952 || test ! -s conftest.err'
25953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25954 (eval $ac_try) 2>&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); }; } &&
25958 { ac_try
='test -s conftest.$ac_objext'
25959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 (eval $ac_try) 2>&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); }; }; then
25964 ac_cv_c_bigendian
=yes
25966 echo "$as_me: failed program was:" >&5
25967 sed 's/^/| /' conftest.
$ac_ext >&5
25969 ac_cv_c_bigendian
=no
25971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25973 echo "$as_me: failed program was:" >&5
25974 sed 's/^/| /' conftest.
$ac_ext >&5
25976 # It does not; compile a test program.
25977 if test "$cross_compiling" = yes; then
25978 # try to guess the endianness by grepping values into an object file
25979 ac_cv_c_bigendian
=unknown
25980 cat >conftest.
$ac_ext <<_ACEOF
25983 cat confdefs.h
>>conftest.
$ac_ext
25984 cat >>conftest.
$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25986 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
25987 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
25988 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
25989 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
25990 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
25991 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
25995 _ascii (); _ebcdic ();
26000 rm -f conftest.
$ac_objext
26001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26002 (eval $ac_compile) 2>conftest.er1
26004 grep -v '^ *+' conftest.er1
>conftest.err
26006 cat conftest.err
>&5
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); } &&
26009 { ac_try
='test -z "$ac_c_werror_flag"
26010 || test ! -s conftest.err'
26011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26012 (eval $ac_try) 2>&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); }; } &&
26016 { ac_try
='test -s conftest.$ac_objext'
26017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26018 (eval $ac_try) 2>&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); }; }; then
26022 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
26023 ac_cv_c_bigendian
=yes
26025 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
26026 if test "$ac_cv_c_bigendian" = unknown
; then
26027 ac_cv_c_bigendian
=no
26029 # finding both strings is unlikely to happen, but who knows?
26030 ac_cv_c_bigendian
=unknown
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.
$ac_ext >&5
26038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26040 cat >conftest.
$ac_ext <<_ACEOF
26043 cat confdefs.h
>>conftest.
$ac_ext
26044 cat >>conftest.
$ac_ext <<_ACEOF
26045 /* end confdefs.h. */
26049 /* Are we little or big endian? From Harbison&Steele. */
26053 char c[sizeof (long)];
26056 exit (u.c[sizeof (long) - 1] == 1);
26059 rm -f conftest
$ac_exeext
26060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26061 (eval $ac_link) 2>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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 ac_cv_c_bigendian
=no
26072 echo "$as_me: program exited with status $ac_status" >&5
26073 echo "$as_me: failed program was:" >&5
26074 sed 's/^/| /' conftest.
$ac_ext >&5
26076 ( exit $ac_status )
26077 ac_cv_c_bigendian
=yes
26079 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26084 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26085 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
26086 case $ac_cv_c_bigendian in
26089 cat >>confdefs.h
<<\_ACEOF
26090 #define WORDS_BIGENDIAN 1
26096 { { echo "$as_me:$LINENO: error: unknown endianness
26097 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
26098 echo "$as_me: error: unknown endianness
26099 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
26100 { (exit 1); exit 1; }; } ;;
26108 if test -z "$ZLIBSPEC"; then
26109 # Use zlib from the GCC tree.
26110 ZINCS
='-I$(top_srcdir)/../zlib'
26111 ZLIBS
=..
/zlib
/libzgcj_convenience.la
26114 SYS_ZLIBS
="$ZLIBSPEC"
26127 if test "$NATIVE" = yes; then
26137 if test "$enable_shared" = yes; then
26138 ENABLE_SHARED_TRUE
=
26139 ENABLE_SHARED_FALSE
='#'
26141 ENABLE_SHARED_TRUE
='#'
26142 ENABLE_SHARED_FALSE
=
26147 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
26148 NEEDS_DATA_START_TRUE
=
26149 NEEDS_DATA_START_FALSE
='#'
26151 NEEDS_DATA_START_TRUE
='#'
26152 NEEDS_DATA_START_FALSE
=
26157 # Process the option "--enable-version-specific-runtime-libs"
26158 # Calculate toolexeclibdir
26159 case ${version_specific_libs} in
26161 # Need the gcc compiler version to know where to install libraries
26162 # and header files if --enable-version-specific-runtime-libs option
26164 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
26165 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
26166 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
26167 toolexeclibdir
=$toolexecmainlibdir
26170 if test -n "$with_cross_host" &&
26171 test x
"$with_cross_host" != x
"no"; then
26172 # Install a library built with a cross compiler in tooldir, not libdir.
26173 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
26174 toolexecmainlibdir
='$(toolexecdir)/lib'
26176 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
26177 toolexecmainlibdir
='$(libdir)'
26179 multi_os_directory
=`$CC -print-multi-os-directory`
26180 case $multi_os_directory in
26181 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
26182 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
26190 # Determine gcj and libgcj version number.
26191 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
26192 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
26193 GCJVERSION
=$gcjversion
26196 cat >>confdefs.h
<<_ACEOF
26197 #define GCJVERSION "$GCJVERSION"
26201 # Determine where the standard .db file and GNU Classpath JNI
26202 # libraries are found.
26203 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
26204 multi_os_directory
=`$CC -print-multi-os-directory`
26205 case $multi_os_directory in
26207 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
26210 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
26216 cat >>confdefs.h
<<\_ACEOF
26217 #define JV_VERSION "1.5.0"
26221 cat >>confdefs.h
<<\_ACEOF
26222 #define JV_API_VERSION "1.5"
26227 case "${with_gxx_include_dir}" in
26229 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
26230 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
26231 { (exit 1); exit 1; }; }
26234 case "${enable_version_specific_runtime_libs}" in
26235 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
26237 libstdcxx_incdir
='c++/$(gcc_version)'
26238 gxx_include_dir
='include/$(libstdcxx_incdir)'
26239 if test -n "$with_cross_host" &&
26240 test x
"$with_cross_host" != x
"no"; then
26241 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
26243 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
26246 *) gxx_include_dir
=${with_gxx_include_dir} ;;
26252 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
26253 # On that system, sys/ioctl.h will not include sys/filio.h unless
26254 # BSD_COMP is defined; just including sys/filio.h is simpler.
26255 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
26256 # for now. If you change this, you also must update natFile.cc.
26280 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
26281 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
26282 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
26283 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
26284 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
26286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26288 echo "$as_me:$LINENO: checking for $ac_header" >&5
26289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26291 echo $ECHO_N "(cached) $ECHO_C" >&6
26293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26296 # Is the header compilable?
26297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26299 cat >conftest.
$ac_ext <<_ACEOF
26302 cat confdefs.h
>>conftest.
$ac_ext
26303 cat >>conftest.
$ac_ext <<_ACEOF
26304 /* end confdefs.h. */
26305 $ac_includes_default
26306 #include <$ac_header>
26308 rm -f conftest.
$ac_objext
26309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26310 (eval $ac_compile) 2>conftest.er1
26312 grep -v '^ *+' conftest.er1
>conftest.err
26314 cat conftest.err
>&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } &&
26317 { ac_try
='test -z "$ac_c_werror_flag"
26318 || test ! -s conftest.err'
26319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26320 (eval $ac_try) 2>&5
26322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26323 (exit $ac_status); }; } &&
26324 { ac_try
='test -s conftest.$ac_objext'
26325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26326 (eval $ac_try) 2>&5
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); }; }; then
26330 ac_header_compiler
=yes
26332 echo "$as_me: failed program was:" >&5
26333 sed 's/^/| /' conftest.
$ac_ext >&5
26335 ac_header_compiler
=no
26337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26339 echo "${ECHO_T}$ac_header_compiler" >&6
26341 # Is the header present?
26342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26344 cat >conftest.
$ac_ext <<_ACEOF
26347 cat confdefs.h
>>conftest.
$ac_ext
26348 cat >>conftest.
$ac_ext <<_ACEOF
26349 /* end confdefs.h. */
26350 #include <$ac_header>
26352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26353 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26355 grep -v '^ *+' conftest.er1
>conftest.err
26357 cat conftest.err
>&5
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); } >/dev
/null
; then
26360 if test -s conftest.err
; then
26361 ac_cpp_err
=$ac_c_preproc_warn_flag
26362 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26369 if test -z "$ac_cpp_err"; then
26370 ac_header_preproc
=yes
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.
$ac_ext >&5
26375 ac_header_preproc
=no
26377 rm -f conftest.err conftest.
$ac_ext
26378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26379 echo "${ECHO_T}$ac_header_preproc" >&6
26381 # So? What about this header?
26382 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26387 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26388 ac_header_preproc
=yes
26391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26395 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26396 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26397 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26398 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26401 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26402 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26405 ## ---------------------------------- ##
26406 ## Report this to the libjava lists. ##
26407 ## ---------------------------------- ##
26410 sed "s/^/$as_me: WARNING: /" >&2
26413 echo "$as_me:$LINENO: checking for $ac_header" >&5
26414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26416 echo $ECHO_N "(cached) $ECHO_C" >&6
26418 eval "$as_ac_Header=\$ac_header_preproc"
26420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26425 cat >>confdefs.h
<<_ACEOF
26426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26434 for ac_header
in inttypes.h
26436 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26438 echo "$as_me:$LINENO: checking for $ac_header" >&5
26439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26441 echo $ECHO_N "(cached) $ECHO_C" >&6
26443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26446 # Is the header compilable?
26447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26449 cat >conftest.
$ac_ext <<_ACEOF
26452 cat confdefs.h
>>conftest.
$ac_ext
26453 cat >>conftest.
$ac_ext <<_ACEOF
26454 /* end confdefs.h. */
26455 $ac_includes_default
26456 #include <$ac_header>
26458 rm -f conftest.
$ac_objext
26459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26460 (eval $ac_compile) 2>conftest.er1
26462 grep -v '^ *+' conftest.er1
>conftest.err
26464 cat conftest.err
>&5
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); } &&
26467 { ac_try
='test -z "$ac_c_werror_flag"
26468 || test ! -s conftest.err'
26469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26470 (eval $ac_try) 2>&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); }; } &&
26474 { ac_try
='test -s conftest.$ac_objext'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; }; then
26480 ac_header_compiler
=yes
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.
$ac_ext >&5
26485 ac_header_compiler
=no
26487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26489 echo "${ECHO_T}$ac_header_compiler" >&6
26491 # Is the header present?
26492 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26494 cat >conftest.
$ac_ext <<_ACEOF
26497 cat confdefs.h
>>conftest.
$ac_ext
26498 cat >>conftest.
$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26500 #include <$ac_header>
26502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26503 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26505 grep -v '^ *+' conftest.er1
>conftest.err
26507 cat conftest.err
>&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); } >/dev
/null
; then
26510 if test -s conftest.err
; then
26511 ac_cpp_err
=$ac_c_preproc_warn_flag
26512 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26519 if test -z "$ac_cpp_err"; then
26520 ac_header_preproc
=yes
26522 echo "$as_me: failed program was:" >&5
26523 sed 's/^/| /' conftest.
$ac_ext >&5
26525 ac_header_preproc
=no
26527 rm -f conftest.err conftest.
$ac_ext
26528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26529 echo "${ECHO_T}$ac_header_preproc" >&6
26531 # So? What about this header?
26532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26538 ac_header_preproc
=yes
26541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26555 ## ---------------------------------- ##
26556 ## Report this to the libjava lists. ##
26557 ## ---------------------------------- ##
26560 sed "s/^/$as_me: WARNING: /" >&2
26563 echo "$as_me:$LINENO: checking for $ac_header" >&5
26564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26566 echo $ECHO_N "(cached) $ECHO_C" >&6
26568 eval "$as_ac_Header=\$ac_header_preproc"
26570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26575 cat >>confdefs.h
<<_ACEOF
26576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26580 cat >>confdefs.h
<<\_ACEOF
26581 #define HAVE_INTTYPES_H 1
26585 cat >>confdefs.h
<<\_ACEOF
26586 #define JV_HAVE_INTTYPES_H 1
26595 echo "$as_me:$LINENO: checking for ssize_t" >&5
26596 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
26597 if test "${ac_cv_type_ssize_t+set}" = set; then
26598 echo $ECHO_N "(cached) $ECHO_C" >&6
26600 cat >conftest.
$ac_ext <<_ACEOF
26603 cat confdefs.h
>>conftest.
$ac_ext
26604 cat >>conftest.
$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26606 $ac_includes_default
26612 if (sizeof (ssize_t))
26618 rm -f conftest.
$ac_objext
26619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26620 (eval $ac_compile) 2>conftest.er1
26622 grep -v '^ *+' conftest.er1
>conftest.err
26624 cat conftest.err
>&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); } &&
26627 { ac_try
='test -z "$ac_c_werror_flag"
26628 || test ! -s conftest.err'
26629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26630 (eval $ac_try) 2>&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); }; } &&
26634 { ac_try
='test -s conftest.$ac_objext'
26635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26636 (eval $ac_try) 2>&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); }; }; then
26640 ac_cv_type_ssize_t
=yes
26642 echo "$as_me: failed program was:" >&5
26643 sed 's/^/| /' conftest.
$ac_ext >&5
26645 ac_cv_type_ssize_t
=no
26647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26649 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26650 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
26651 if test $ac_cv_type_ssize_t = yes; then
26655 cat >>confdefs.h
<<_ACEOF
26656 #define ssize_t int
26661 echo "$as_me:$LINENO: checking for magic_t" >&5
26662 echo $ECHO_N "checking for magic_t... $ECHO_C" >&6
26663 if test "${ac_cv_type_magic_t+set}" = set; then
26664 echo $ECHO_N "(cached) $ECHO_C" >&6
26666 cat >conftest.
$ac_ext <<_ACEOF
26669 cat confdefs.h
>>conftest.
$ac_ext
26670 cat >>conftest.
$ac_ext <<_ACEOF
26671 /* end confdefs.h. */
26673 #ifdef HAVE_MAGIC_H
26682 if (sizeof (magic_t))
26688 rm -f conftest.
$ac_objext
26689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26690 (eval $ac_compile) 2>conftest.er1
26692 grep -v '^ *+' conftest.er1
>conftest.err
26694 cat conftest.err
>&5
26695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26696 (exit $ac_status); } &&
26697 { ac_try
='test -z "$ac_c_werror_flag"
26698 || test ! -s conftest.err'
26699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26700 (eval $ac_try) 2>&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); }; } &&
26704 { ac_try
='test -s conftest.$ac_objext'
26705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26706 (eval $ac_try) 2>&5
26708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26709 (exit $ac_status); }; }; then
26710 ac_cv_type_magic_t
=yes
26712 echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.
$ac_ext >&5
26715 ac_cv_type_magic_t
=no
26717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26719 echo "$as_me:$LINENO: result: $ac_cv_type_magic_t" >&5
26720 echo "${ECHO_T}$ac_cv_type_magic_t" >&6
26721 if test $ac_cv_type_magic_t = yes; then
26724 cat >>confdefs.h
<<\_ACEOF
26725 #define HAVE_MAGIC_T 1
26731 echo "$as_me:$LINENO: checking for in_addr_t" >&5
26732 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
26733 cat >conftest.
$ac_ext <<_ACEOF
26736 cat confdefs.h
>>conftest.
$ac_ext
26737 cat >>conftest.
$ac_ext <<_ACEOF
26738 /* end confdefs.h. */
26739 #include <sys/types.h>
26741 #include <stdlib.h>
26742 #include <stddef.h>
26744 #if HAVE_NETINET_IN_H
26745 #include <netinet/in.h>
26755 rm -f conftest.
$ac_objext
26756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26757 (eval $ac_compile) 2>conftest.er1
26759 grep -v '^ *+' conftest.er1
>conftest.err
26761 cat conftest.err
>&5
26762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26763 (exit $ac_status); } &&
26764 { ac_try
='test -z "$ac_c_werror_flag"
26765 || test ! -s conftest.err'
26766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26767 (eval $ac_try) 2>&5
26769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26770 (exit $ac_status); }; } &&
26771 { ac_try
='test -s conftest.$ac_objext'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; }; then
26778 cat >>confdefs.h
<<\_ACEOF
26779 #define HAVE_IN_ADDR_T 1
26782 echo "$as_me:$LINENO: result: yes" >&5
26783 echo "${ECHO_T}yes" >&6
26785 echo "$as_me: failed program was:" >&5
26786 sed 's/^/| /' conftest.
$ac_ext >&5
26788 echo "$as_me:$LINENO: result: no" >&5
26789 echo "${ECHO_T}no" >&6
26791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26793 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
26794 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
26795 cat >conftest.
$ac_ext <<_ACEOF
26798 cat confdefs.h
>>conftest.
$ac_ext
26799 cat >>conftest.
$ac_ext <<_ACEOF
26800 /* end confdefs.h. */
26801 #include <netinet/in.h>
26805 struct ip_mreq mreq;
26810 rm -f conftest.
$ac_objext
26811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26812 (eval $ac_compile) 2>conftest.er1
26814 grep -v '^ *+' conftest.er1
>conftest.err
26816 cat conftest.err
>&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); } &&
26819 { ac_try
='test -z "$ac_c_werror_flag"
26820 || test ! -s conftest.err'
26821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26822 (eval $ac_try) 2>&5
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); }; } &&
26826 { ac_try
='test -s conftest.$ac_objext'
26827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26828 (eval $ac_try) 2>&5
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); }; }; then
26833 cat >>confdefs.h
<<\_ACEOF
26834 #define HAVE_STRUCT_IP_MREQ 1
26837 echo "$as_me:$LINENO: result: yes" >&5
26838 echo "${ECHO_T}yes" >&6
26840 echo "$as_me: failed program was:" >&5
26841 sed 's/^/| /' conftest.
$ac_ext >&5
26843 echo "$as_me:$LINENO: result: no" >&5
26844 echo "${ECHO_T}no" >&6
26846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26848 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
26849 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
26850 cat >conftest.
$ac_ext <<_ACEOF
26853 cat confdefs.h
>>conftest.
$ac_ext
26854 cat >>conftest.
$ac_ext <<_ACEOF
26855 /* end confdefs.h. */
26856 #include <netinet/in.h>
26860 struct ipv6_mreq mreq6;
26865 rm -f conftest.
$ac_objext
26866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26867 (eval $ac_compile) 2>conftest.er1
26869 grep -v '^ *+' conftest.er1
>conftest.err
26871 cat conftest.err
>&5
26872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26873 (exit $ac_status); } &&
26874 { ac_try
='test -z "$ac_c_werror_flag"
26875 || test ! -s conftest.err'
26876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26877 (eval $ac_try) 2>&5
26879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880 (exit $ac_status); }; } &&
26881 { ac_try
='test -s conftest.$ac_objext'
26882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26883 (eval $ac_try) 2>&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); }; }; then
26888 cat >>confdefs.h
<<\_ACEOF
26889 #define HAVE_STRUCT_IPV6_MREQ 1
26892 echo "$as_me:$LINENO: result: yes" >&5
26893 echo "${ECHO_T}yes" >&6
26895 echo "$as_me: failed program was:" >&5
26896 sed 's/^/| /' conftest.
$ac_ext >&5
26898 echo "$as_me:$LINENO: result: no" >&5
26899 echo "${ECHO_T}no" >&6
26901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26903 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
26904 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
26905 cat >conftest.
$ac_ext <<_ACEOF
26908 cat confdefs.h
>>conftest.
$ac_ext
26909 cat >>conftest.
$ac_ext <<_ACEOF
26910 /* end confdefs.h. */
26911 #include <netinet/in.h>
26915 struct sockaddr_in6 addr6;
26920 rm -f conftest.
$ac_objext
26921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26922 (eval $ac_compile) 2>conftest.er1
26924 grep -v '^ *+' conftest.er1
>conftest.err
26926 cat conftest.err
>&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); } &&
26929 { ac_try
='test -z "$ac_c_werror_flag"
26930 || test ! -s conftest.err'
26931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26932 (eval $ac_try) 2>&5
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); }; } &&
26936 { ac_try
='test -s conftest.$ac_objext'
26937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26938 (eval $ac_try) 2>&5
26940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941 (exit $ac_status); }; }; then
26943 cat >>confdefs.h
<<\_ACEOF
26944 #define HAVE_INET6 1
26947 echo "$as_me:$LINENO: result: yes" >&5
26948 echo "${ECHO_T}yes" >&6
26950 echo "$as_me: failed program was:" >&5
26951 sed 's/^/| /' conftest.
$ac_ext >&5
26953 echo "$as_me:$LINENO: result: no" >&5
26954 echo "${ECHO_T}no" >&6
26956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26958 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
26959 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
26960 cat >conftest.
$ac_ext <<_ACEOF
26963 cat confdefs.h
>>conftest.
$ac_ext
26964 cat >>conftest.
$ac_ext <<_ACEOF
26965 /* end confdefs.h. */
26966 #define _POSIX_PII_SOCKET
26967 #include <sys/types.h>
26968 #include <sys/socket.h>
26977 rm -f conftest.
$ac_objext
26978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26979 (eval $ac_compile) 2>conftest.er1
26981 grep -v '^ *+' conftest.er1
>conftest.err
26983 cat conftest.err
>&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } &&
26986 { ac_try
='test -z "$ac_c_werror_flag"
26987 || test ! -s conftest.err'
26988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26989 (eval $ac_try) 2>&5
26991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992 (exit $ac_status); }; } &&
26993 { ac_try
='test -s conftest.$ac_objext'
26994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26995 (eval $ac_try) 2>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); }; }; then
27000 cat >>confdefs.h
<<\_ACEOF
27001 #define HAVE_SOCKLEN_T 1
27004 echo "$as_me:$LINENO: result: yes" >&5
27005 echo "${ECHO_T}yes" >&6
27007 echo "$as_me: failed program was:" >&5
27008 sed 's/^/| /' conftest.
$ac_ext >&5
27010 echo "$as_me:$LINENO: result: no" >&5
27011 echo "${ECHO_T}no" >&6
27013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27015 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27016 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27017 cat >conftest.
$ac_ext <<_ACEOF
27020 cat confdefs.h
>>conftest.
$ac_ext
27021 cat >>conftest.
$ac_ext <<_ACEOF
27022 /* end confdefs.h. */
27027 struct tm tim; tim.tm_gmtoff = 0;
27032 rm -f conftest.
$ac_objext
27033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27034 (eval $ac_compile) 2>conftest.er1
27036 grep -v '^ *+' conftest.er1
>conftest.err
27038 cat conftest.err
>&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } &&
27041 { ac_try
='test -z "$ac_c_werror_flag"
27042 || test ! -s conftest.err'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; } &&
27048 { ac_try
='test -s conftest.$ac_objext'
27049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27050 (eval $ac_try) 2>&5
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); }; }; then
27055 cat >>confdefs.h
<<\_ACEOF
27056 #define STRUCT_TM_HAS_GMTOFF 1
27059 echo "$as_me:$LINENO: result: yes" >&5
27060 echo "${ECHO_T}yes" >&6
27062 echo "$as_me: failed program was:" >&5
27063 sed 's/^/| /' conftest.
$ac_ext >&5
27065 echo "$as_me:$LINENO: result: no" >&5
27066 echo "${ECHO_T}no" >&6
27067 echo "$as_me:$LINENO: checking for global timezone variable" >&5
27068 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
27069 cat >conftest.
$ac_ext <<_ACEOF
27072 cat confdefs.h
>>conftest.
$ac_ext
27073 cat >>conftest.
$ac_ext <<_ACEOF
27074 /* end confdefs.h. */
27079 void i(){long z2 = 2*timezone;}
27084 rm -f conftest.
$ac_objext
27085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27086 (eval $ac_compile) 2>conftest.er1
27088 grep -v '^ *+' conftest.er1
>conftest.err
27090 cat conftest.err
>&5
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); } &&
27093 { ac_try
='test -z "$ac_c_werror_flag"
27094 || test ! -s conftest.err'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; } &&
27100 { ac_try
='test -s conftest.$ac_objext'
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; }; then
27107 cat >>confdefs.h
<<\_ACEOF
27108 #define HAVE_TIMEZONE 1
27111 echo "$as_me:$LINENO: result: yes" >&5
27112 echo "${ECHO_T}yes" >&6
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.
$ac_ext >&5
27117 echo "$as_me:$LINENO: result: no" >&5
27118 echo "${ECHO_T}no" >&6
27119 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
27120 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
27121 cat >conftest.
$ac_ext <<_ACEOF
27124 cat confdefs.h
>>conftest.
$ac_ext
27125 cat >>conftest.
$ac_ext <<_ACEOF
27126 /* end confdefs.h. */
27131 long z2 = _timezone;
27136 rm -f conftest.
$ac_objext
27137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27138 (eval $ac_compile) 2>conftest.er1
27140 grep -v '^ *+' conftest.er1
>conftest.err
27142 cat conftest.err
>&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); } &&
27145 { ac_try
='test -z "$ac_c_werror_flag"
27146 || test ! -s conftest.err'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; } &&
27152 { ac_try
='test -s conftest.$ac_objext'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; }; then
27159 cat >>confdefs.h
<<\_ACEOF
27160 #define HAVE_UNDERSCORE_TIMEZONE 1
27163 echo "$as_me:$LINENO: result: yes" >&5
27164 echo "${ECHO_T}yes" >&6
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.
$ac_ext >&5
27169 echo "$as_me:$LINENO: result: no" >&5
27170 echo "${ECHO_T}no" >&6
27172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27178 for ac_prog
in perl
27180 # Extract the first word of "$ac_prog", so it can be a program name with args.
27181 set dummy
$ac_prog; ac_word
=$2
27182 echo "$as_me:$LINENO: checking for $ac_word" >&5
27183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27184 if test "${ac_cv_prog_PERL+set}" = set; then
27185 echo $ECHO_N "(cached) $ECHO_C" >&6
27187 if test -n "$PERL"; then
27188 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
27190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27191 for as_dir
in $PATH
27194 test -z "$as_dir" && as_dir
=.
27195 for ac_exec_ext
in '' $ac_executable_extensions; do
27196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27197 ac_cv_prog_PERL
="$ac_prog"
27198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27206 PERL
=$ac_cv_prog_PERL
27207 if test -n "$PERL"; then
27208 echo "$as_me:$LINENO: result: $PERL" >&5
27209 echo "${ECHO_T}$PERL" >&6
27211 echo "$as_me:$LINENO: result: no" >&5
27212 echo "${ECHO_T}no" >&6
27215 test -n "$PERL" && break
27217 test -n "$PERL" || PERL
="false"
27221 SIGNAL_HANDLER_AUX
=
27225 SIGNAL_HANDLER
=include
/i386-signal.h
27227 sparc
*-sun-solaris*)
27228 SIGNAL_HANDLER
=include
/sparc-signal.h
27231 # SYSDEP_SOURCES=sysdep/ia64.c
27232 # test -d sysdep || mkdir sysdep
27235 SIGNAL_HANDLER
=include
/pa-signal.h
27238 SIGNAL_HANDLER
=include
/hppa-signal.h
27241 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27244 SIGNAL_HANDLER
=include
/powerpc-signal.h
27247 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27250 SIGNAL_HANDLER
=include
/s390-signal.h
27253 SIGNAL_HANDLER
=include
/x86_64-signal.h
27254 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
27257 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27260 SIGNAL_HANDLER
=include
/sh-signal.h
27263 SIGNAL_HANDLER
=include
/win32-signal.h
27266 SIGNAL_HANDLER
=include
/mips-signal.h
27269 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27271 powerpc
*-*-darwin*)
27272 SIGNAL_HANDLER
=include
/darwin-signal.h
27275 SIGNAL_HANDLER
=include
/default-signal.h
27279 # If we're using sjlj exceptions, forget what we just learned.
27280 if test "$enable_sjlj_exceptions" = yes; then
27281 SIGNAL_HANDLER
=include
/default-signal.h
27282 SIGNAL_HANDLER_AUX
=
27287 if test -z "$SIGNAL_HANDLER_AUX"; then
27288 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
27291 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
27294 if test "${multilib}" = "yes"; then
27295 multilib_arg
="--enable-multilib"
27300 # See if we support thread-local storage.
27302 # Check whether --enable-tls or --disable-tls was given.
27303 if test "${enable_tls+set}" = set; then
27304 enableval
="$enable_tls"
27306 case "$enableval" in
27308 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
27309 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
27310 { (exit 1); exit 1; }; } ;;
27317 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
27318 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
27319 if test "${gcc_cv_have_tls+set}" = set; then
27320 echo $ECHO_N "(cached) $ECHO_C" >&6
27323 if test "$cross_compiling" = yes; then
27324 if test x
$gcc_no_link = xyes
; then
27325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27327 { (exit 1); exit 1; }; }
27329 cat >conftest.
$ac_ext <<_ACEOF
27330 __thread int a; int b; int main() { return a = b; }
27332 rm -f conftest.
$ac_objext conftest
$ac_exeext
27333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27334 (eval $ac_link) 2>conftest.er1
27336 grep -v '^ *+' conftest.er1
>conftest.err
27338 cat conftest.err
>&5
27339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27340 (exit $ac_status); } &&
27341 { ac_try
='test -z "$ac_c_werror_flag"
27342 || test ! -s conftest.err'
27343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27344 (eval $ac_try) 2>&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); }; } &&
27348 { ac_try
='test -s conftest$ac_exeext'
27349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27350 (eval $ac_try) 2>&5
27352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27353 (exit $ac_status); }; }; then
27354 gcc_cv_have_tls
=yes
27356 echo "$as_me: failed program was:" >&5
27357 sed 's/^/| /' conftest.
$ac_ext >&5
27361 rm -f conftest.err conftest.
$ac_objext \
27362 conftest
$ac_exeext conftest.
$ac_ext
27366 cat >conftest.
$ac_ext <<_ACEOF
27367 __thread int a; int b; int main() { return a = b; }
27369 rm -f conftest
$ac_exeext
27370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27371 (eval $ac_link) 2>&5
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376 (eval $ac_try) 2>&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; }; then
27380 chktls_save_LDFLAGS
="$LDFLAGS"
27381 LDFLAGS
="-static $LDFLAGS"
27382 if test x
$gcc_no_link = xyes
; then
27383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27385 { (exit 1); exit 1; }; }
27387 cat >conftest.
$ac_ext <<_ACEOF
27388 int main() { return 0; }
27390 rm -f conftest.
$ac_objext conftest
$ac_exeext
27391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27392 (eval $ac_link) 2>conftest.er1
27394 grep -v '^ *+' conftest.er1
>conftest.err
27396 cat conftest.err
>&5
27397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27398 (exit $ac_status); } &&
27399 { ac_try
='test -z "$ac_c_werror_flag"
27400 || test ! -s conftest.err'
27401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27402 (eval $ac_try) 2>&5
27404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27405 (exit $ac_status); }; } &&
27406 { ac_try
='test -s conftest$ac_exeext'
27407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27408 (eval $ac_try) 2>&5
27410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27411 (exit $ac_status); }; }; then
27412 if test "$cross_compiling" = yes; then
27413 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27414 See \`config.log' for more details." >&5
27415 echo "$as_me: error: cannot run test program while cross compiling
27416 See \`config.log' for more details." >&2;}
27417 { (exit 1); exit 1; }; }
27419 cat >conftest.
$ac_ext <<_ACEOF
27420 __thread int a; int b; int main() { return a = b; }
27422 rm -f conftest
$ac_exeext
27423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27424 (eval $ac_link) 2>&5
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27429 (eval $ac_try) 2>&5
27431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27432 (exit $ac_status); }; }; then
27433 gcc_cv_have_tls
=yes
27435 echo "$as_me: program exited with status $ac_status" >&5
27436 echo "$as_me: failed program was:" >&5
27437 sed 's/^/| /' conftest.
$ac_ext >&5
27439 ( exit $ac_status )
27442 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27445 echo "$as_me: failed program was:" >&5
27446 sed 's/^/| /' conftest.
$ac_ext >&5
27448 gcc_cv_have_tls
=yes
27450 rm -f conftest.err conftest.
$ac_objext \
27451 conftest
$ac_exeext conftest.
$ac_ext
27452 LDFLAGS
="$chktls_save_LDFLAGS"
27453 if test $gcc_cv_have_tls = yes; then
27454 chktls_save_CFLAGS
="$CFLAGS"
27455 thread_CFLAGS
=failed
27456 for flag
in '' '-pthread' '-lpthread'; do
27457 CFLAGS
="$flag $chktls_save_CFLAGS"
27458 if test x
$gcc_no_link = xyes
; then
27459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27461 { (exit 1); exit 1; }; }
27463 cat >conftest.
$ac_ext <<_ACEOF
27466 cat confdefs.h
>>conftest.
$ac_ext
27467 cat >>conftest.
$ac_ext <<_ACEOF
27468 /* end confdefs.h. */
27469 #include <pthread.h>
27470 void *g(void *d) { return NULL; }
27474 pthread_t t; pthread_create(&t,NULL,g,NULL);
27479 rm -f conftest.
$ac_objext conftest
$ac_exeext
27480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27481 (eval $ac_link) 2>conftest.er1
27483 grep -v '^ *+' conftest.er1
>conftest.err
27485 cat conftest.err
>&5
27486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27487 (exit $ac_status); } &&
27488 { ac_try
='test -z "$ac_c_werror_flag"
27489 || test ! -s conftest.err'
27490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27491 (eval $ac_try) 2>&5
27493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27494 (exit $ac_status); }; } &&
27495 { ac_try
='test -s conftest$ac_exeext'
27496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27497 (eval $ac_try) 2>&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); }; }; then
27501 thread_CFLAGS
="$flag"
27503 echo "$as_me: failed program was:" >&5
27504 sed 's/^/| /' conftest.
$ac_ext >&5
27507 rm -f conftest.err conftest.
$ac_objext \
27508 conftest
$ac_exeext conftest.
$ac_ext
27509 if test "X$thread_CFLAGS" != Xfailed
; then
27513 CFLAGS
="$chktls_save_CFLAGS"
27514 if test "X$thread_CFLAGS" != Xfailed
; then
27515 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
27516 if test "$cross_compiling" = yes; then
27517 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27518 See \`config.log' for more details." >&5
27519 echo "$as_me: error: cannot run test program while cross compiling
27520 See \`config.log' for more details." >&2;}
27521 { (exit 1); exit 1; }; }
27523 cat >conftest.
$ac_ext <<_ACEOF
27526 cat confdefs.h
>>conftest.
$ac_ext
27527 cat >>conftest.
$ac_ext <<_ACEOF
27528 /* end confdefs.h. */
27529 #include <pthread.h>
27531 static int *a_in_other_thread;
27533 thread_func (void *arg)
27535 a_in_other_thread = &a;
27542 void *thread_retval;
27543 int *a_in_main_thread;
27544 if (pthread_create (&thread, (pthread_attr_t *)0,
27545 thread_func, (void *)0))
27547 a_in_main_thread = &a;
27548 if (pthread_join (thread, &thread_retval))
27550 return (a_in_other_thread == a_in_main_thread);
27555 rm -f conftest
$ac_exeext
27556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27557 (eval $ac_link) 2>&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27562 (eval $ac_try) 2>&5
27564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27565 (exit $ac_status); }; }; then
27566 gcc_cv_have_tls
=yes
27568 echo "$as_me: program exited with status $ac_status" >&5
27569 echo "$as_me: failed program was:" >&5
27570 sed 's/^/| /' conftest.
$ac_ext >&5
27572 ( exit $ac_status )
27575 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27577 CFLAGS
="$chktls_save_CFLAGS"
27581 echo "$as_me: program exited with status $ac_status" >&5
27582 echo "$as_me: failed program was:" >&5
27583 sed 's/^/| /' conftest.
$ac_ext >&5
27585 ( exit $ac_status )
27588 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27591 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
27592 echo "${ECHO_T}$gcc_cv_have_tls" >&6
27593 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27595 cat >>confdefs.h
<<\_ACEOF
27601 # For _Unwind_GetIPInfo.
27606 ac_cpp
='$CXXCPP $CPPFLAGS'
27607 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27608 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27609 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27611 ac_save_CXXFLAGS
="$CXXFLAGS"
27612 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
27613 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
27614 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
27615 if test "${gcc_cv_getipinfo+set}" = set; then
27616 echo $ECHO_N "(cached) $ECHO_C" >&6
27619 if test x
$gcc_no_link = xyes
; then
27620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27622 { (exit 1); exit 1; }; }
27624 cat >conftest.
$ac_ext <<_ACEOF
27627 cat confdefs.h
>>conftest.
$ac_ext
27628 cat >>conftest.
$ac_ext <<_ACEOF
27629 /* end confdefs.h. */
27630 extern "C" { extern void _Unwind_GetIPInfo(); }
27634 _Unwind_GetIPInfo();
27639 rm -f conftest.
$ac_objext conftest
$ac_exeext
27640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27641 (eval $ac_link) 2>conftest.er1
27643 grep -v '^ *+' conftest.er1
>conftest.err
27645 cat conftest.err
>&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try
='test -z "$ac_cxx_werror_flag"
27649 || test ! -s conftest.err'
27650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27651 (eval $ac_try) 2>&5
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; } &&
27655 { ac_try
='test -s conftest$ac_exeext'
27656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27657 (eval $ac_try) 2>&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; }; then
27661 gcc_cv_getipinfo
=yes
27663 echo "$as_me: failed program was:" >&5
27664 sed 's/^/| /' conftest.
$ac_ext >&5
27666 gcc_cv_getipinfo
=no
27668 rm -f conftest.err conftest.
$ac_objext \
27669 conftest
$ac_exeext conftest.
$ac_ext
27673 if test $gcc_cv_getipinfo = yes; then
27675 cat >>confdefs.h
<<\_ACEOF
27676 #define HAVE_GETIPINFO 1
27680 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
27681 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
27682 CXXFLAGS
="$ac_save_CXXFLAGS"
27684 ac_cpp
='$CPP $CPPFLAGS'
27685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27691 # See if linker supports anonymous version scripts.
27692 echo "$as_me:$LINENO: checking whether ld supports anonymous version scripts" >&5
27693 echo $ECHO_N "checking whether ld supports anonymous version scripts... $ECHO_C" >&6
27694 if test "${libjava_cv_anon_version_script+set}" = set; then
27695 echo $ECHO_N "(cached) $ECHO_C" >&6
27697 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
27698 libjava_cv_anon_version_script
=no
27699 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
27700 echo '{ global: globalsymb*; local: *; };' > conftest.map
27701 if test x
$gcc_no_link = xyes
; then
27702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27704 { (exit 1); exit 1; }; }
27706 cat >conftest.
$ac_ext <<_ACEOF
27709 cat confdefs.h
>>conftest.
$ac_ext
27710 cat >>conftest.
$ac_ext <<_ACEOF
27711 /* end confdefs.h. */
27712 void globalsymbol (void) {} void localsymbol (void) {}
27721 rm -f conftest.
$ac_objext conftest
$ac_exeext
27722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27723 (eval $ac_link) 2>conftest.er1
27725 grep -v '^ *+' conftest.er1
>conftest.err
27727 cat conftest.err
>&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); } &&
27730 { ac_try
='test -z "$ac_c_werror_flag"
27731 || test ! -s conftest.err'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; } &&
27737 { ac_try
='test -s conftest$ac_exeext'
27738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27739 (eval $ac_try) 2>&5
27741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27742 (exit $ac_status); }; }; then
27743 libjava_cv_anon_version_script
=yes
27745 echo "$as_me: failed program was:" >&5
27746 sed 's/^/| /' conftest.
$ac_ext >&5
27749 rm -f conftest.err conftest.
$ac_objext \
27750 conftest
$ac_exeext conftest.
$ac_ext
27751 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
27754 echo "$as_me:$LINENO: result: $libjava_cv_anon_version_script" >&5
27755 echo "${ECHO_T}$libjava_cv_anon_version_script" >&6
27758 if test "$libjava_cv_anon_version_script" = yes; then
27759 ANONVERSCRIPT_TRUE
=
27760 ANONVERSCRIPT_FALSE
='#'
27762 ANONVERSCRIPT_TRUE
='#'
27763 ANONVERSCRIPT_FALSE
=
27767 # Check if linker supports static linking on a per library basis
27768 LD_START_STATIC_SPEC
=
27769 LD_FINISH_STATIC_SPEC
=
27770 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
27771 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
27772 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
27773 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
27779 here
=`${PWDCMD-pwd}`
27782 # We get this from the environment.
27785 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile"
27788 if test ${multilib} = yes; then
27789 multilib_arg
="--enable-multilib"
27794 ac_config_files
="$ac_config_files scripts/jar"
27796 cat >confcache
<<\_ACEOF
27797 # This file is a shell script that caches the results of configure
27798 # tests run on this system so they can be shared between configure
27799 # scripts and configure runs, see configure's option --config-cache.
27800 # It is not useful on other systems. If it contains results you don't
27801 # want to keep, you may remove or edit it.
27803 # config.status only pays attention to the cache file if you give it
27804 # the --recheck option to rerun configure.
27806 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27807 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27808 # following values.
27812 # The following way of writing the cache mishandles newlines in values,
27813 # but we know of no workaround that is simple, portable, and efficient.
27814 # So, don't put newlines in cache variables' values.
27815 # Ultrix sh set writes to stderr and can't be redirected directly,
27816 # and sets the high bit in the cache file unless we assign to the vars.
27819 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27821 # `set' does not quote correctly, so add quotes (double-quote
27822 # substitution turns \\\\ into \\, and sed turns \\ into \).
27825 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27828 # `set' quotes correctly as required by POSIX, so do not add quotes.
27830 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27837 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27839 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27841 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
27842 if test -w $cache_file; then
27843 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27844 cat confcache
>$cache_file
27846 echo "not updating unwritable cache $cache_file"
27851 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
27852 # Let make expand exec_prefix.
27853 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
27855 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27856 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27857 # trailing colons and then remove the whole line if VPATH becomes empty
27858 # (actually we leave an empty line to preserve line numbers).
27859 if test "x$srcdir" = x.
; then
27860 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
27861 s/:*\$(srcdir):*/:/;
27862 s/:*\${srcdir}:*/:/;
27864 s/^\([^=]*=[ ]*\):*/\1/;
27870 DEFS
=-DHAVE_CONFIG_H
27874 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
27875 # 1. Remove the extension, and $U if already installed.
27876 ac_i
=`echo "$ac_i" |
27877 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
27879 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
27880 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
27882 LIBOBJS
=$ac_libobjs
27884 LTLIBOBJS
=$ac_ltlibobjs
27887 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
27888 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27889 Usually this means the macro was only invoked conditionally." >&5
27890 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
27891 Usually this means the macro was only invoked conditionally." >&2;}
27892 { (exit 1); exit 1; }; }
27894 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27895 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27896 Usually this means the macro was only invoked conditionally." >&5
27897 echo "$as_me: error: conditional \"AMDEP\" was never defined.
27898 Usually this means the macro was only invoked conditionally." >&2;}
27899 { (exit 1); exit 1; }; }
27901 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27902 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27903 Usually this means the macro was only invoked conditionally." >&5
27904 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27905 Usually this means the macro was only invoked conditionally." >&2;}
27906 { (exit 1); exit 1; }; }
27908 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27909 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27910 Usually this means the macro was only invoked conditionally." >&5
27911 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27912 Usually this means the macro was only invoked conditionally." >&2;}
27913 { (exit 1); exit 1; }; }
27915 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27916 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27917 Usually this means the macro was only invoked conditionally." >&5
27918 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27919 Usually this means the macro was only invoked conditionally." >&2;}
27920 { (exit 1); exit 1; }; }
27922 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
27923 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
27924 Usually this means the macro was only invoked conditionally." >&5
27925 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
27926 Usually this means the macro was only invoked conditionally." >&2;}
27927 { (exit 1); exit 1; }; }
27929 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
27930 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
27931 Usually this means the macro was only invoked conditionally." >&5
27932 echo "$as_me: error: conditional \"X_AWT\" was never defined.
27933 Usually this means the macro was only invoked conditionally." >&2;}
27934 { (exit 1); exit 1; }; }
27936 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
27937 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
27938 Usually this means the macro was only invoked conditionally." >&5
27939 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
27940 Usually this means the macro was only invoked conditionally." >&2;}
27941 { (exit 1); exit 1; }; }
27943 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
27944 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
27945 Usually this means the macro was only invoked conditionally." >&5
27946 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
27947 Usually this means the macro was only invoked conditionally." >&2;}
27948 { (exit 1); exit 1; }; }
27950 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
27951 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
27952 Usually this means the macro was only invoked conditionally." >&5
27953 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
27954 Usually this means the macro was only invoked conditionally." >&2;}
27955 { (exit 1); exit 1; }; }
27957 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
27958 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
27959 Usually this means the macro was only invoked conditionally." >&5
27960 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
27961 Usually this means the macro was only invoked conditionally." >&2;}
27962 { (exit 1); exit 1; }; }
27964 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
27965 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
27966 Usually this means the macro was only invoked conditionally." >&5
27967 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
27968 Usually this means the macro was only invoked conditionally." >&2;}
27969 { (exit 1); exit 1; }; }
27971 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
27972 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
27973 Usually this means the macro was only invoked conditionally." >&5
27974 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
27975 Usually this means the macro was only invoked conditionally." >&2;}
27976 { (exit 1); exit 1; }; }
27978 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
27979 { { echo "$as_me:$LINENO: error: conditional \"INTERPRETER\" was never defined.
27980 Usually this means the macro was only invoked conditionally." >&5
27981 echo "$as_me: error: conditional \"INTERPRETER\" was never defined.
27982 Usually this means the macro was only invoked conditionally." >&2;}
27983 { (exit 1); exit 1; }; }
27985 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
27986 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
27987 Usually this means the macro was only invoked conditionally." >&5
27988 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
27989 Usually this means the macro was only invoked conditionally." >&2;}
27990 { (exit 1); exit 1; }; }
27992 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
27993 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
27994 Usually this means the macro was only invoked conditionally." >&5
27995 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
27996 Usually this means the macro was only invoked conditionally." >&2;}
27997 { (exit 1); exit 1; }; }
27999 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
28000 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
28001 Usually this means the macro was only invoked conditionally." >&5
28002 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
28003 Usually this means the macro was only invoked conditionally." >&2;}
28004 { (exit 1); exit 1; }; }
28006 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
28007 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
28008 Usually this means the macro was only invoked conditionally." >&5
28009 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
28010 Usually this means the macro was only invoked conditionally." >&2;}
28011 { (exit 1); exit 1; }; }
28013 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
28014 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
28015 Usually this means the macro was only invoked conditionally." >&5
28016 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
28017 Usually this means the macro was only invoked conditionally." >&2;}
28018 { (exit 1); exit 1; }; }
28020 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
28021 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
28022 Usually this means the macro was only invoked conditionally." >&5
28023 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
28024 Usually this means the macro was only invoked conditionally." >&2;}
28025 { (exit 1); exit 1; }; }
28027 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
28028 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
28029 Usually this means the macro was only invoked conditionally." >&5
28030 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
28031 Usually this means the macro was only invoked conditionally." >&2;}
28032 { (exit 1); exit 1; }; }
28034 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
28035 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
28036 Usually this means the macro was only invoked conditionally." >&5
28037 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
28038 Usually this means the macro was only invoked conditionally." >&2;}
28039 { (exit 1); exit 1; }; }
28041 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
28042 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28043 Usually this means the macro was only invoked conditionally." >&5
28044 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28045 Usually this means the macro was only invoked conditionally." >&2;}
28046 { (exit 1); exit 1; }; }
28048 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
28049 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
28050 Usually this means the macro was only invoked conditionally." >&5
28051 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
28052 Usually this means the macro was only invoked conditionally." >&2;}
28053 { (exit 1); exit 1; }; }
28055 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28056 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28057 Usually this means the macro was only invoked conditionally." >&5
28058 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28059 Usually this means the macro was only invoked conditionally." >&2;}
28060 { (exit 1); exit 1; }; }
28062 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
28063 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
28064 Usually this means the macro was only invoked conditionally." >&5
28065 echo "$as_me: error: conditional \"NATIVE\" was never defined.
28066 Usually this means the macro was only invoked conditionally." >&2;}
28067 { (exit 1); exit 1; }; }
28069 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
28070 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
28071 Usually this means the macro was only invoked conditionally." >&5
28072 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
28073 Usually this means the macro was only invoked conditionally." >&2;}
28074 { (exit 1); exit 1; }; }
28076 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
28077 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
28078 Usually this means the macro was only invoked conditionally." >&5
28079 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
28080 Usually this means the macro was only invoked conditionally." >&2;}
28081 { (exit 1); exit 1; }; }
28083 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
28084 { { echo "$as_me:$LINENO: error: conditional \"ANONVERSCRIPT\" was never defined.
28085 Usually this means the macro was only invoked conditionally." >&5
28086 echo "$as_me: error: conditional \"ANONVERSCRIPT\" was never defined.
28087 Usually this means the macro was only invoked conditionally." >&2;}
28088 { (exit 1); exit 1; }; }
28091 : ${CONFIG_STATUS=./config.status}
28092 ac_clean_files_save
=$ac_clean_files
28093 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28094 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28095 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28096 cat >$CONFIG_STATUS <<_ACEOF
28098 # Generated by $as_me.
28099 # Run this file to recreate the current configuration.
28100 # Compiler output produced by configure, useful for debugging
28101 # configure, is in config.log if it exists.
28104 ac_cs_recheck=false
28106 SHELL=\${CONFIG_SHELL-$SHELL}
28109 cat >>$CONFIG_STATUS <<\_ACEOF
28110 ## --------------------- ##
28111 ## M4sh Initialization. ##
28112 ## --------------------- ##
28114 # Be Bourne compatible
28115 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28118 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28119 # is contrary to our usage. Disable this feature.
28120 alias -g '${1+"$@"}'='"$@"'
28121 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28124 DUALCASE
=1; export DUALCASE
# for MKS sh
28126 # Support unset when possible.
28127 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28134 # Work around bugs in pre-3.0 UWIN ksh.
28135 $as_unset ENV MAIL MAILPATH
28142 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28143 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28144 LC_TELEPHONE LC_TIME
28146 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28147 eval $as_var=C
; export $as_var
28153 # Required to use basename.
28154 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28160 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28161 as_basename
=basename
28167 # Name of the executable.
28168 as_me
=`$as_basename "$0" ||
28169 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28170 X"$0" : 'X\(//\)$' \| \
28171 X"$0" : 'X\(/\)$' \| \
28172 . : '\(.\)' 2>/dev/null ||
28174 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28175 /^X\/\(\/\/\)$/{ s//\1/; q; }
28176 /^X\/\(\/\).*/{ s//\1/; q; }
28180 # PATH needs CR, and LINENO needs CR and PATH.
28181 # Avoid depending upon Character Ranges.
28182 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28183 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28184 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28185 as_cr_digits
='0123456789'
28186 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28188 # The user is always right.
28189 if test "${PATH_SEPARATOR+set}" != set; then
28190 echo "#! /bin/sh" >conf$$.sh
28191 echo "exit 0" >>conf$$.sh
28193 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28202 as_lineno_1
=$LINENO
28203 as_lineno_2
=$LINENO
28204 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28205 test "x$as_lineno_1" != "x$as_lineno_2" &&
28206 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28207 # Find who we are. Look in the path if we contain no path at all
28210 *[\\/]* ) as_myself
=$0 ;;
28211 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28212 for as_dir
in $PATH
28215 test -z "$as_dir" && as_dir
=.
28216 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28221 # We did not find ourselves, most probably we were run as `sh COMMAND'
28222 # in which case we are not to be found in the path.
28223 if test "x$as_myself" = x
; then
28226 if test ! -f "$as_myself"; then
28227 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28228 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28229 { (exit 1); exit 1; }; }
28231 case $CONFIG_SHELL in
28233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28234 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28237 test -z "$as_dir" && as_dir
=.
28238 for as_base
in sh bash ksh sh5
; do
28241 if ("$as_dir/$as_base" -c '
28242 as_lineno_1=$LINENO
28243 as_lineno_2=$LINENO
28244 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28245 test "x$as_lineno_1" != "x$as_lineno_2" &&
28246 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28247 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28248 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28249 CONFIG_SHELL
=$as_dir/$as_base
28250 export CONFIG_SHELL
28251 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28259 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28260 # uniformly replaced by the line number. The first 'sed' inserts a
28261 # line-number line before each line; the second 'sed' does the real
28262 # work. The second script uses 'N' to pair each line-number line
28263 # with the numbered line, and appends trailing '-' during
28264 # substitution so that $LINENO is not a special case at line end.
28265 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28266 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28267 sed '=' <$as_myself |
28272 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28275 s,^['$as_cr_digits']*\n,,
28276 ' >$as_me.lineno
&&
28277 chmod +x
$as_me.lineno ||
28278 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28279 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28280 { (exit 1); exit 1; }; }
28282 # Don't try to exec as it changes $[0], causing all sort of problems
28283 # (the dirname of $[0] is not the place where we might find the
28284 # original and so on. Autoconf is especially sensible to this).
28286 # Exit status is that of the last command.
28291 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28292 *c
*,-n*) ECHO_N
= ECHO_C
='
28294 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28295 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28298 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28304 rm -f conf$$ conf$$.exe conf$$.
file
28306 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28307 # We could just check for DJGPP; but this test a) works b) is more generic
28308 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28309 if test -f conf$$.exe
; then
28310 # Don't use ln at all; we don't have any links
28315 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28320 rm -f conf$$ conf$$.exe conf$$.
file
28322 if mkdir
-p .
2>/dev
/null
; then
28325 test -d .
/-p && rmdir .
/-p
28329 as_executable_p
="test -f"
28331 # Sed expression to map a string onto a valid CPP name.
28332 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28334 # Sed expression to map a string onto a valid variable name.
28335 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28339 # We need space, tab and new line, in precisely that order.
28349 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28350 # report actual input values of CONFIG_FILES etc. instead of their
28351 # values after options handling. Logging --version etc. is OK.
28355 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28356 ## Running $as_me. ##
28361 This file was extended by libjava $as_me version-unused, which was
28362 generated by GNU Autoconf 2.59. Invocation command line was
28364 CONFIG_FILES = $CONFIG_FILES
28365 CONFIG_HEADERS = $CONFIG_HEADERS
28366 CONFIG_LINKS = $CONFIG_LINKS
28367 CONFIG_COMMANDS = $CONFIG_COMMANDS
28371 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28375 # Files that config.status was made for.
28376 if test -n "$ac_config_files"; then
28377 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28380 if test -n "$ac_config_headers"; then
28381 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28384 if test -n "$ac_config_links"; then
28385 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28388 if test -n "$ac_config_commands"; then
28389 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28392 cat >>$CONFIG_STATUS <<\_ACEOF
28395 \`$as_me' instantiates files from templates according to the
28396 current configuration.
28398 Usage: $0 [OPTIONS] [FILE]...
28400 -h, --help print this help, then exit
28401 -V, --version print version number, then exit
28402 -q, --quiet do not print progress messages
28403 -d, --debug don't remove temporary files
28404 --recheck update $as_me by reconfiguring in the same conditions
28405 --file=FILE[:TEMPLATE]
28406 instantiate the configuration file FILE
28407 --header=FILE[:TEMPLATE]
28408 instantiate the configuration header FILE
28410 Configuration files:
28413 Configuration headers:
28416 Configuration links:
28419 Configuration commands:
28422 Report bugs to <bug-autoconf@gnu.org>."
28425 cat >>$CONFIG_STATUS <<_ACEOF
28427 libjava config.status version-unused
28428 configured by $0, generated by GNU Autoconf 2.59,
28429 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
28431 Copyright (C) 2003 Free Software Foundation, Inc.
28432 This config.status script is free software; the Free Software Foundation
28433 gives unlimited permission to copy, distribute and modify it."
28438 cat >>$CONFIG_STATUS <<\_ACEOF
28439 # If no file are specified by the user, then we need to provide default
28440 # value. By we need to know if files were specified by the user.
28446 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
28447 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
28455 *) # This is not an option, so the user has probably given explicit
28458 ac_need_defaults
=false
;;
28462 # Handling of the options.
28464 cat >>$CONFIG_STATUS <<\_ACEOF
28465 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28467 --version |
--vers* |
-V )
28468 echo "$ac_cs_version"; exit 0 ;;
28470 # Conflict between --help and --header
28471 { { echo "$as_me:$LINENO: error: ambiguous option: $1
28472 Try \`$0 --help' for more information." >&5
28473 echo "$as_me: error: ambiguous option: $1
28474 Try \`$0 --help' for more information." >&2;}
28475 { (exit 1); exit 1; }; };;
28476 --help |
--hel |
-h )
28477 echo "$ac_cs_usage"; exit 0 ;;
28478 --debug |
--d* |
-d )
28480 --file |
--fil |
--fi |
--f )
28482 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
28483 ac_need_defaults
=false
;;
28484 --header |
--heade |
--head |
--hea )
28486 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
28487 ac_need_defaults
=false
;;
28488 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28489 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28492 # This is an error.
28493 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
28494 Try \`$0 --help' for more information." >&5
28495 echo "$as_me: error: unrecognized option: $1
28496 Try \`$0 --help' for more information." >&2;}
28497 { (exit 1); exit 1; }; } ;;
28499 *) ac_config_targets
="$ac_config_targets $1" ;;
28505 ac_configure_extra_args
=
28507 if $ac_cs_silent; then
28509 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28513 cat >>$CONFIG_STATUS <<_ACEOF
28514 if \$ac_cs_recheck; then
28515 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
28516 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28521 cat >>$CONFIG_STATUS <<_ACEOF
28523 # INIT-COMMANDS section.
28530 with_multisubdir="$with_multisubdir"
28531 with_multisrctop="$with_multisrctop"
28532 with_target_subdir="$with_target_subdir"
28533 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28534 multi_basedir="$multi_basedir"
28535 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28537 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28540 # The HP-UX ksh and POSIX shell print the target directory to stdout
28541 # if CDPATH is set.
28542 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28544 sed_quote_subst='$sed_quote_subst'
28545 double_quote_subst='$double_quote_subst'
28546 delay_variable_subst='$delay_variable_subst'
28547 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
28548 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
28549 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
28550 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
28551 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
28552 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
28553 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
28554 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
28555 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
28556 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
28557 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
28558 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
28559 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
28560 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
28561 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
28562 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
28563 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
28564 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
28565 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
28566 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
28567 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
28568 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
28569 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
28570 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
28571 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
28572 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
28573 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
28574 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28575 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
28576 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
28577 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
28578 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28579 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
28580 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
28581 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28582 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28583 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28584 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
28585 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
28586 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
28587 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
28588 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
28589 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
28590 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"`'
28591 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
28592 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
28593 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
28594 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
28595 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
28596 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
28597 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
28598 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
28599 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
28600 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
28601 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
28602 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28603 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28604 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
28605 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
28606 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28607 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28608 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
28609 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28610 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28611 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28612 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28613 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28614 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28615 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
28616 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28617 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
28618 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
28619 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
28620 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
28621 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
28622 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
28623 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
28624 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28625 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
28626 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
28627 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
28628 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
28629 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
28630 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28631 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28632 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
28633 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28634 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
28635 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
28636 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
28637 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
28638 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
28639 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28640 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
28641 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
28642 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28643 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
28644 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
28645 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28646 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28647 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
28648 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
28649 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
28650 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28651 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
28652 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
28653 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
28654 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
28655 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
28656 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
28657 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
28658 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28659 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
28660 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
28661 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
28662 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
28663 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28664 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28665 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28666 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28667 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28668 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28669 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28670 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28671 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28672 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28673 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28674 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28675 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28676 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28677 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28678 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28679 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28680 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28681 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28682 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28683 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28684 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28685 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28686 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28687 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28688 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28689 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28690 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28691 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28692 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28693 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28694 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28695 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28696 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28697 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28698 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28699 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28700 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28701 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28702 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28703 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28704 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28705 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28706 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28707 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28708 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28709 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28710 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28711 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28712 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28713 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28714 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28715 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28716 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28717 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28718 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28719 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28720 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28721 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28722 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28723 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28724 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28725 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28726 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28727 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28728 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28729 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28730 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28731 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28732 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28733 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28734 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28735 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28736 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28737 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28738 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28739 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28740 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28741 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28742 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28743 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28744 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28745 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28746 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28747 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28748 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28749 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28750 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28751 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28752 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28753 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
28754 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
28757 LTCFLAGS='$LTCFLAGS'
28758 compiler='$compiler_DEFAULT'
28760 # Quote evaled strings.
28771 deplibs_check_method \
28780 lt_cv_sys_global_symbol_pipe \
28781 lt_cv_sys_global_symbol_to_cdecl \
28782 lt_cv_sys_global_symbol_to_c_name_address \
28785 lt_prog_compiler_no_builtin_flag \
28786 lt_prog_compiler_wl \
28787 lt_prog_compiler_pic \
28788 lt_prog_compiler_static \
28789 lt_cv_prog_compiler_c_o \
28792 export_dynamic_flag_spec \
28793 whole_archive_flag_spec \
28794 compiler_needs_object \
28796 allow_undefined_flag \
28797 no_undefined_flag \
28798 hardcode_libdir_flag_spec \
28799 hardcode_libdir_flag_spec_ld \
28800 hardcode_libdir_separator \
28805 variables_saved_for_relink \
28807 library_names_spec \
28816 compiler_lib_search_path \
28821 lt_prog_compiler_no_builtin_flag_CXX \
28822 lt_prog_compiler_no_builtin_flag_GCJ \
28823 lt_prog_compiler_wl_CXX \
28824 lt_prog_compiler_wl_GCJ \
28825 lt_prog_compiler_pic_CXX \
28826 lt_prog_compiler_pic_GCJ \
28827 lt_prog_compiler_static_CXX \
28828 lt_prog_compiler_static_GCJ \
28829 lt_cv_prog_compiler_c_o_CXX \
28830 lt_cv_prog_compiler_c_o_GCJ \
28831 export_dynamic_flag_spec_CXX \
28832 export_dynamic_flag_spec_GCJ \
28833 whole_archive_flag_spec_CXX \
28834 whole_archive_flag_spec_GCJ \
28835 compiler_needs_object_CXX \
28836 compiler_needs_object_GCJ \
28839 allow_undefined_flag_CXX \
28840 allow_undefined_flag_GCJ \
28841 no_undefined_flag_CXX \
28842 no_undefined_flag_GCJ \
28843 hardcode_libdir_flag_spec_CXX \
28844 hardcode_libdir_flag_spec_GCJ \
28845 hardcode_libdir_flag_spec_ld_CXX \
28846 hardcode_libdir_flag_spec_ld_GCJ \
28847 hardcode_libdir_separator_CXX \
28848 hardcode_libdir_separator_GCJ \
28849 fix_srcfile_path_CXX \
28850 fix_srcfile_path_GCJ \
28851 exclude_expsyms_CXX \
28852 exclude_expsyms_GCJ \
28853 include_expsyms_CXX \
28854 include_expsyms_GCJ \
28855 file_list_spec_CXX \
28856 file_list_spec_GCJ \
28857 predep_objects_CXX \
28858 predep_objects_GCJ \
28859 postdep_objects_CXX \
28860 postdep_objects_GCJ \
28865 compiler_lib_search_path_CXX \
28866 compiler_lib_search_path_GCJ; do
28867 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28868 *[\\\\\\\`\\"\\\$]*)
28869 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28872 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28877 # Double-quote double-evaled strings.
28878 for var in reload_cmds \
28879 old_postinstall_cmds \
28880 old_postuninstall_cmds \
28882 extract_expsyms_cmds \
28883 old_archive_from_new_cmds \
28884 old_archive_from_expsyms_cmds \
28886 archive_expsym_cmds \
28888 module_expsym_cmds \
28889 export_symbols_cmds \
28892 postuninstall_cmds \
28894 sys_lib_search_path_spec \
28895 sys_lib_dlsearch_path_spec \
28896 old_archive_cmds_CXX \
28897 old_archive_cmds_GCJ \
28898 old_archive_from_new_cmds_CXX \
28899 old_archive_from_new_cmds_GCJ \
28900 old_archive_from_expsyms_cmds_CXX \
28901 old_archive_from_expsyms_cmds_GCJ \
28904 archive_expsym_cmds_CXX \
28905 archive_expsym_cmds_GCJ \
28908 module_expsym_cmds_CXX \
28909 module_expsym_cmds_GCJ \
28910 export_symbols_cmds_CXX \
28911 export_symbols_cmds_GCJ \
28913 prelink_cmds_GCJ; do
28914 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
28915 *[\\\\\\\`\\"\\\$]*)
28916 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28919 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28924 # Fix-up fallback echo if it was mangled by the above quoting rules.
28926 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
28930 ac_aux_dir='$ac_aux_dir'
28931 xsi_shell='$xsi_shell'
28932 lt_shell_append='$lt_shell_append'
28934 # See if we are running on zsh, and set the options which allow our
28935 # commands through without removal of \ escapes INIT.
28936 if test -n "\${ZSH_VERSION+set}" ; then
28937 setopt NO_GLOB_SUBST
28943 TIMESTAMP='$TIMESTAMP'
28958 cat >>$CONFIG_STATUS <<\_ACEOF
28959 for ac_config_target
in $ac_config_targets
28961 case "$ac_config_target" in
28962 # Handling of arguments.
28963 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28964 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
28965 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
28966 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
28967 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
28968 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
28969 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
28970 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
28971 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
28972 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
28973 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
28974 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
28975 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
28976 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
28977 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
28978 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
28979 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
28980 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
28981 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
28982 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
28983 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
28984 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
28985 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
28986 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
28987 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
28988 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
28989 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
28990 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
28991 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
28992 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
28993 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28994 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28995 { (exit 1); exit 1; }; };;
28999 # If the user did not use the arguments to specify the items to instantiate,
29000 # then the envvar interface is used. Set only those that are not.
29001 # We use the long form for the default assignment because of an extremely
29002 # bizarre bug on SunOS 4.1.3.
29003 if $ac_need_defaults; then
29004 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29005 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29006 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29007 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29010 # Have a temporary directory for convenience. Make it in the build tree
29011 # simply because there is no reason to put it here, and in addition,
29012 # creating and moving files from /tmp can sometimes cause problems.
29013 # Create a temporary directory, and hook for its removal unless debugging.
29016 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29017 trap '{ (exit 1); exit 1; }' 1 2 13 15
29020 # Create a (secure) tmp directory for tmp files.
29023 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29024 test -n "$tmp" && test -d "$tmp"
29027 tmp
=.
/confstat$$
-$RANDOM
29028 (umask 077 && mkdir
$tmp)
29031 echo "$me: cannot create a temporary directory in ." >&2
29032 { (exit 1); exit 1; }
29037 cat >>$CONFIG_STATUS <<_ACEOF
29040 # CONFIG_FILES section.
29043 # No need to generate the scripts if there are no CONFIG_FILES.
29044 # This happens for instance when ./config.status config.h
29045 if test -n "\$CONFIG_FILES"; then
29046 # Protect against being on the right side of a sed subst in config.status.
29047 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29048 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29049 s,@SHELL@,$SHELL,;t t
29050 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29051 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29052 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29053 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29054 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29055 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29056 s,@exec_prefix@,$exec_prefix,;t t
29057 s,@prefix@,$prefix,;t t
29058 s,@program_transform_name@,$program_transform_name,;t t
29059 s,@bindir@,$bindir,;t t
29060 s,@sbindir@,$sbindir,;t t
29061 s,@libexecdir@,$libexecdir,;t t
29062 s,@datadir@,$datadir,;t t
29063 s,@sysconfdir@,$sysconfdir,;t t
29064 s,@sharedstatedir@,$sharedstatedir,;t t
29065 s,@localstatedir@,$localstatedir,;t t
29066 s,@libdir@,$libdir,;t t
29067 s,@includedir@,$includedir,;t t
29068 s,@oldincludedir@,$oldincludedir,;t t
29069 s,@infodir@,$infodir,;t t
29070 s,@mandir@,$mandir,;t t
29071 s,@build_alias@,$build_alias,;t t
29072 s,@host_alias@,$host_alias,;t t
29073 s,@target_alias@,$target_alias,;t t
29074 s,@DEFS@,$DEFS,;t t
29075 s,@ECHO_C@,$ECHO_C,;t t
29076 s,@ECHO_N@,$ECHO_N,;t t
29077 s,@ECHO_T@,$ECHO_T,;t t
29078 s,@LIBS@,$LIBS,;t t
29079 s,@build@,$build,;t t
29080 s,@build_cpu@,$build_cpu,;t t
29081 s,@build_vendor@,$build_vendor,;t t
29082 s,@build_os@,$build_os,;t t
29083 s,@build_libsubdir@,$build_libsubdir,;t t
29084 s,@build_subdir@,$build_subdir,;t t
29085 s,@host_subdir@,$host_subdir,;t t
29086 s,@target_subdir@,$target_subdir,;t t
29087 s,@multi_basedir@,$multi_basedir,;t t
29088 s,@host@,$host,;t t
29089 s,@host_cpu@,$host_cpu,;t t
29090 s,@host_vendor@,$host_vendor,;t t
29091 s,@host_os@,$host_os,;t t
29092 s,@target@,$target,;t t
29093 s,@target_cpu@,$target_cpu,;t t
29094 s,@target_vendor@,$target_vendor,;t t
29095 s,@target_os@,$target_os,;t t
29096 s,@target_noncanonical@,$target_noncanonical,;t t
29097 s,@LN_S@,$LN_S,;t t
29098 s,@mkinstalldirs@,$mkinstalldirs,;t t
29099 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29100 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29102 s,@ac_ct_CC@,$ac_ct_CC,;t t
29103 s,@EXEEXT@,$EXEEXT,;t t
29104 s,@OBJEXT@,$OBJEXT,;t t
29106 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29107 s,@CFLAGS@,$CFLAGS,;t t
29108 s,@CXXFLAGS@,$CXXFLAGS,;t t
29109 s,@LDFLAGS@,$LDFLAGS,;t t
29110 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29111 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29112 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29113 s,@CYGPATH_W@,$CYGPATH_W,;t t
29114 s,@PACKAGE@,$PACKAGE,;t t
29115 s,@VERSION@,$VERSION,;t t
29116 s,@ACLOCAL@,$ACLOCAL,;t t
29117 s,@AUTOCONF@,$AUTOCONF,;t t
29118 s,@AUTOMAKE@,$AUTOMAKE,;t t
29119 s,@AUTOHEADER@,$AUTOHEADER,;t t
29120 s,@MAKEINFO@,$MAKEINFO,;t t
29121 s,@install_sh@,$install_sh,;t t
29122 s,@STRIP@,$STRIP,;t t
29123 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29124 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29125 s,@mkdir_p@,$mkdir_p,;t t
29127 s,@SET_MAKE@,$SET_MAKE,;t t
29128 s,@am__leading_dot@,$am__leading_dot,;t t
29129 s,@AMTAR@,$AMTAR,;t t
29130 s,@am__tar@,$am__tar,;t t
29131 s,@am__untar@,$am__untar,;t t
29132 s,@DEPDIR@,$DEPDIR,;t t
29133 s,@am__include@,$am__include,;t t
29134 s,@am__quote@,$am__quote,;t t
29135 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29136 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29137 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29138 s,@CCDEPMODE@,$CCDEPMODE,;t t
29139 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29140 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29141 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29142 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29143 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29145 s,@ac_ct_AS@,$ac_ct_AS,;t t
29147 s,@ac_ct_LD@,$ac_ct_LD,;t t
29149 s,@ac_ct_AR@,$ac_ct_AR,;t t
29150 s,@RANLIB@,$RANLIB,;t t
29151 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29154 s,@UNZIP@,$UNZIP,;t t
29155 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29156 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29157 s,@MAINT@,$MAINT,;t t
29158 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
29159 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
29160 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
29161 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
29162 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
29163 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
29164 s,@TOOLKIT@,$TOOLKIT,;t t
29165 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
29166 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
29167 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
29168 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
29169 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
29170 s,@GCJH@,$GCJH,;t t
29171 s,@host_exeext@,$host_exeext,;t t
29172 s,@INCLTDL@,$INCLTDL,;t t
29173 s,@LIBLTDL@,$LIBLTDL,;t t
29174 s,@DIRLTDL@,$DIRLTDL,;t t
29175 s,@LIBTOOL@,$LIBTOOL,;t t
29177 s,@EGREP@,$EGREP,;t t
29178 s,@FGREP@,$FGREP,;t t
29179 s,@GREP@,$GREP,;t t
29180 s,@DUMPBIN@,$DUMPBIN,;t t
29181 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29183 s,@lt_ECHO@,$lt_ECHO,;t t
29185 s,@CPPFLAGS@,$CPPFLAGS,;t t
29186 s,@CXXCPP@,$CXXCPP,;t t
29188 s,@GCJFLAGS@,$GCJFLAGS,;t t
29189 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
29190 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
29191 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
29192 s,@subdirs@,$subdirs,;t t
29193 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
29194 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
29195 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
29196 s,@ECJ_JAR@,$ECJ_JAR,;t t
29197 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
29198 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
29199 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
29200 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
29201 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
29202 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
29203 s,@JAVA_HOME@,$JAVA_HOME,;t t
29204 s,@INTERPRETER@,$INTERPRETER,;t t
29205 s,@INTERPRETER_TRUE@,$INTERPRETER_TRUE,;t t
29206 s,@INTERPRETER_FALSE@,$INTERPRETER_FALSE,;t t
29207 s,@LIBFFI@,$LIBFFI,;t t
29208 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
29209 s,@PLATFORM@,$PLATFORM,;t t
29210 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
29211 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
29212 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
29213 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
29214 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
29215 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
29216 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
29217 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
29218 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
29219 s,@X_CFLAGS@,$X_CFLAGS,;t t
29220 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29221 s,@X_LIBS@,$X_LIBS,;t t
29222 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29223 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
29224 s,@extra_ldflags@,$extra_ldflags,;t t
29225 s,@LIBSTDCXXSPEC@,$LIBSTDCXXSPEC,;t t
29226 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
29227 s,@GCLIBS@,$GCLIBS,;t t
29228 s,@GCINCS@,$GCINCS,;t t
29229 s,@GCDEPS@,$GCDEPS,;t t
29230 s,@GCSPEC@,$GCSPEC,;t t
29231 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
29232 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
29233 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
29234 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
29235 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
29236 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
29237 s,@THREADLIBS@,$THREADLIBS,;t t
29238 s,@THREADINCS@,$THREADINCS,;t t
29239 s,@THREADDEPS@,$THREADDEPS,;t t
29240 s,@THREADSPEC@,$THREADSPEC,;t t
29241 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
29242 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
29243 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
29244 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
29245 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
29246 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
29247 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
29248 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
29249 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
29250 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
29251 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
29252 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
29253 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
29254 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
29255 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
29256 s,@LIBICONV@,$LIBICONV,;t t
29257 s,@LTLIBICONV@,$LTLIBICONV,;t t
29258 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29259 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29260 s,@GTK_LIBS@,$GTK_LIBS,;t t
29261 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29262 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29263 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
29264 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
29265 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
29266 s,@ZLIBS@,$ZLIBS,;t t
29267 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
29268 s,@ZINCS@,$ZINCS,;t t
29269 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
29270 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
29271 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
29272 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
29273 s,@IEEESPEC@,$IEEESPEC,;t t
29274 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
29275 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
29276 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
29277 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
29278 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
29279 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
29280 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
29281 s,@toolexecdir@,$toolexecdir,;t t
29282 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
29283 s,@toolexeclibdir@,$toolexeclibdir,;t t
29284 s,@GCJVERSION@,$GCJVERSION,;t t
29285 s,@dbexecdir@,$dbexecdir,;t t
29286 s,@gxx_include_dir@,$gxx_include_dir,;t t
29287 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
29288 s,@PERL@,$PERL,;t t
29289 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
29290 s,@ANONVERSCRIPT_TRUE@,$ANONVERSCRIPT_TRUE,;t t
29291 s,@ANONVERSCRIPT_FALSE@,$ANONVERSCRIPT_FALSE,;t t
29292 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
29293 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
29294 s,@here@,$here,;t t
29295 s,@LIBOBJS@,$LIBOBJS,;t t
29296 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29301 cat >>$CONFIG_STATUS <<\_ACEOF
29302 # Split the substitutions into bite-sized pieces for seds with
29303 # small command number limits, like on Digital OSF/1 and HP-UX.
29304 ac_max_sed_lines
=48
29305 ac_sed_frag
=1 # Number of current file.
29306 ac_beg
=1 # First line for current file.
29307 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29310 while $ac_more_lines; do
29311 if test $ac_beg -gt 1; then
29312 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29314 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29316 if test ! -s $tmp/subs.frag
; then
29317 ac_more_lines
=false
29319 # The purpose of the label and of the branching condition is to
29320 # speed up the sed processing (if there are no `@' at all, there
29321 # is no need to browse any of the substitutions).
29322 # These are the two extra sed commands mentioned above.
29324 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29325 if test -z "$ac_sed_cmds"; then
29326 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29328 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29330 ac_sed_frag
=`expr $ac_sed_frag + 1`
29332 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29335 if test -z "$ac_sed_cmds"; then
29338 fi # test -n "$CONFIG_FILES"
29341 cat >>$CONFIG_STATUS <<\_ACEOF
29342 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
29343 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29345 - |
*:- |
*:-:* ) # input from stdin
29347 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29348 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29349 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29350 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29351 * ) ac_file_in
=$ac_file.
in ;;
29354 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
29355 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29356 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29357 X"$ac_file" : 'X\(//\)[^/]' \| \
29358 X"$ac_file" : 'X\(//\)$' \| \
29359 X"$ac_file" : 'X\(/\)' \| \
29360 . : '\(.\)' 2>/dev/null ||
29362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29363 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29364 /^X\(\/\/\)$/{ s//\1/; q; }
29365 /^X\(\/\).*/{ s//\1/; q; }
29367 { if $as_mkdir_p; then
29372 while test ! -d "$as_dir"; do
29373 as_dirs
="$as_dir $as_dirs"
29374 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29375 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29376 X"$as_dir" : 'X\(//\)[^/]' \| \
29377 X"$as_dir" : 'X\(//\)$' \| \
29378 X"$as_dir" : 'X\(/\)' \| \
29379 . : '\(.\)' 2>/dev/null ||
29381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29382 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29383 /^X\(\/\/\)$/{ s//\1/; q; }
29384 /^X\(\/\).*/{ s//\1/; q; }
29387 test ! -n "$as_dirs" || mkdir
$as_dirs
29388 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29389 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29390 { (exit 1); exit 1; }; }; }
29394 if test "$ac_dir" != .
; then
29395 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29396 # A "../" for each directory in $ac_dir_suffix.
29397 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29399 ac_dir_suffix
= ac_top_builddir
=
29403 .
) # No --srcdir option. We are building in place.
29405 if test -z "$ac_top_builddir"; then
29408 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29410 [\\/]* | ?
:[\\/]* ) # Absolute path.
29411 ac_srcdir
=$srcdir$ac_dir_suffix;
29412 ac_top_srcdir
=$srcdir ;;
29413 *) # Relative path.
29414 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29415 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29418 # Do not use `cd foo && pwd` to compute absolute paths, because
29419 # the directories may not exist.
29421 .
) ac_abs_builddir
="$ac_dir";;
29424 .
) ac_abs_builddir
=`pwd`;;
29425 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
29426 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
29429 case $ac_abs_builddir in
29430 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29432 case ${ac_top_builddir}.
in
29433 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29434 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29435 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29438 case $ac_abs_builddir in
29439 .
) ac_abs_srcdir
=$ac_srcdir;;
29442 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29443 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29444 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29447 case $ac_abs_builddir in
29448 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29450 case $ac_top_srcdir in
29451 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29452 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29453 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29459 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29460 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
29463 if test x
"$ac_file" != x-
; then
29464 { echo "$as_me:$LINENO: creating $ac_file" >&5
29465 echo "$as_me: creating $ac_file" >&6;}
29468 # Let's still pretend it is `configure' which instantiates (i.e., don't
29469 # use $as_me), people would be surprised to read:
29470 # /* config.h. Generated by config.status. */
29471 if test x
"$ac_file" = x-
; then
29474 configure_input
="$ac_file. "
29476 configure_input
=$configure_input"Generated from `echo $ac_file_in |
29477 sed 's,.*/,,'` by configure."
29479 # First look for the input files in the build tree, otherwise in the
29481 ac_file_inputs
=`IFS=:
29482 for f in $ac_file_in; do
29484 -) echo $tmp/stdin ;;
29486 # Absolute (can't be DOS-style, as IFS=:)
29487 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29488 echo "$as_me: error: cannot find input file: $f" >&2;}
29489 { (exit 1); exit 1; }; }
29492 if test -f "$f"; then
29495 elif test -f "$srcdir/$f"; then
29500 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29501 echo "$as_me: error: cannot find input file: $f" >&2;}
29502 { (exit 1); exit 1; }; }
29505 done` ||
{ (exit 1); exit 1; }
29507 cat >>$CONFIG_STATUS <<_ACEOF
29511 cat >>$CONFIG_STATUS <<\_ACEOF
29513 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29514 s
,@configure_input@
,$configure_input,;t t
29515 s
,@srcdir@
,$ac_srcdir,;t t
29516 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
29517 s
,@top_srcdir@
,$ac_top_srcdir,;t t
29518 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
29519 s
,@builddir@
,$ac_builddir,;t t
29520 s
,@abs_builddir@
,$ac_abs_builddir,;t t
29521 s
,@top_builddir@
,$ac_top_builddir,;t t
29522 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
29523 s
,@INSTALL@
,$ac_INSTALL,;t t
29524 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
29526 if test x"$ac_file" != x-; then
29527 mv $tmp/out $ac_file
29533 # Run the commands associated with the file.
29535 scripts/jar ) chmod +x scripts/jar ;;
29539 cat >>$CONFIG_STATUS <<\_ACEOF
29542 # CONFIG_HEADER section.
29545 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
29546 # NAME is the cpp macro being defined and VALUE is the value it is being given.
29548 # ac_d sets the value in "#define NAME VALUE" lines.
29549 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
29550 ac_dB
='[ ].*$,\1#\2'
29553 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
29554 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
29555 ac_uB
='$,\1#\2define\3'
29559 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
29560 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
29562 - |
*:- |
*:-:* ) # input from stdin
29564 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29565 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29566 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29567 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
29568 * ) ac_file_in
=$ac_file.
in ;;
29571 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
29572 echo "$as_me: creating $ac_file" >&6;}
29574 # First look for the input files in the build tree, otherwise in the
29576 ac_file_inputs
=`IFS=:
29577 for f in $ac_file_in; do
29579 -) echo $tmp/stdin ;;
29581 # Absolute (can't be DOS-style, as IFS=:)
29582 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29583 echo "$as_me: error: cannot find input file: $f" >&2;}
29584 { (exit 1); exit 1; }; }
29585 # Do quote $f, to prevent DOS paths from being IFS'd.
29588 if test -f "$f"; then
29591 elif test -f "$srcdir/$f"; then
29596 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
29597 echo "$as_me: error: cannot find input file: $f" >&2;}
29598 { (exit 1); exit 1; }; }
29601 done` ||
{ (exit 1); exit 1; }
29602 # Remove the trailing spaces.
29603 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
29607 # Transform confdefs.h into two sed scripts, `conftest.defines' and
29608 # `conftest.undefs', that substitutes the proper values into
29609 # config.h.in to produce config.h. The first handles `#define'
29610 # templates, and the second `#undef' templates.
29611 # And first: Protect against being on the right side of a sed subst in
29612 # config.status. Protect against being in an unquoted here document
29613 # in config.status.
29614 rm -f conftest.defines conftest.undefs
29615 # Using a here document instead of a string reduces the quoting nightmare.
29616 # Putting comments in sed scripts is not portable.
29618 # `end' is used to avoid that the second main sed command (meant for
29619 # 0-ary CPP macros) applies to n-ary macro definitions.
29620 # See the Autoconf documentation for `clear'.
29621 cat >confdef2sed.
sed <<\_ACEOF
29626 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
29628 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
29631 # If some macros were called several times there might be several times
29632 # the same #defines, which is useless. Nevertheless, we may not want to
29633 # sort them, since we want the *last* AC-DEFINE to be honored.
29634 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
29635 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
29636 rm -f confdef2sed.sed
29638 # This sed command replaces #undef with comments. This is necessary, for
29639 # example, in the case of _POSIX_SOURCE, which is predefined and required
29640 # on some systems where configure will not decide to define it.
29641 cat >>conftest.undefs <<\_ACEOF
29642 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
29645 # Break up conftest.defines because some shells have a limit on the size
29646 # of here documents, and old seds have small limits too (100 cmds).
29647 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
29648 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
29649 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
29650 echo ' :' >>$CONFIG_STATUS
29651 rm -f conftest.tail
29652 while grep . conftest.defines >/dev/null
29654 # Write a limited-size here document to $tmp/defines.sed.
29655 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
29656 # Speed up: don't consider the non `#define' lines.
29657 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
29658 # Work around the forget-to-reset-the-flag bug.
29659 echo 't clr' >>$CONFIG_STATUS
29660 echo ': clr' >>$CONFIG_STATUS
29661 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
29663 sed -f $tmp/defines.sed $tmp/in >$tmp/out
29665 mv $tmp/out $tmp/in
29667 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
29668 rm -f conftest.defines
29669 mv conftest.
tail conftest.defines
29671 rm -f conftest.defines
29672 echo ' fi # grep' >>$CONFIG_STATUS
29673 echo >>$CONFIG_STATUS
29675 # Break up conftest.undefs because some shells have a limit on the size
29676 # of here documents, and old seds have small limits too (100 cmds).
29677 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
29678 rm -f conftest.
tail
29679 while grep . conftest.undefs
>/dev
/null
29681 # Write a limited-size here document to $tmp/undefs.sed.
29682 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
29683 # Speed up: don't consider the non
`#undef'
29684 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
29685 # Work around the forget-to-reset-the-flag bug.
29686 echo 't clr' >>$CONFIG_STATUS
29687 echo ': clr' >>$CONFIG_STATUS
29688 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
29690 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
29692 mv $tmp/out $tmp/in
29694 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
29695 rm -f conftest.undefs
29696 mv conftest.tail conftest.undefs
29698 rm -f conftest.undefs
29700 cat >>$CONFIG_STATUS <<\_ACEOF
29701 # Let's still pretend it is `configure
' which instantiates (i.e., don't
29702 # use $as_me), people would be surprised to read:
29703 # /* config.h. Generated by config.status. */
29704 if test x
"$ac_file" = x-
; then
29705 echo "/* Generated by configure. */" >$tmp/config.h
29707 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
29709 cat $tmp/in >>$tmp/config.h
29711 if test x
"$ac_file" != x-
; then
29712 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
29713 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
29714 echo "$as_me: $ac_file is unchanged" >&6;}
29716 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
29717 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29718 X"$ac_file" : 'X\(//\)[^/]' \| \
29719 X"$ac_file" : 'X\(//\)$' \| \
29720 X"$ac_file" : 'X\(/\)' \| \
29721 . : '\(.\)' 2>/dev/null ||
29723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29725 /^X\(\/\/\)$/{ s//\1/; q; }
29726 /^X\(\/\).*/{ s//\1/; q; }
29728 { if $as_mkdir_p; then
29733 while test ! -d "$as_dir"; do
29734 as_dirs
="$as_dir $as_dirs"
29735 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29736 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29737 X"$as_dir" : 'X\(//\)[^/]' \| \
29738 X"$as_dir" : 'X\(//\)$' \| \
29739 X"$as_dir" : 'X\(/\)' \| \
29740 . : '\(.\)' 2>/dev/null ||
29742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29743 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29744 /^X\(\/\/\)$/{ s//\1/; q; }
29745 /^X\(\/\).*/{ s//\1/; q; }
29748 test ! -n "$as_dirs" || mkdir
$as_dirs
29749 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29750 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29751 { (exit 1); exit 1; }; }; }
29754 mv $tmp/config.h
$ac_file
29758 rm -f $tmp/config.h
29760 # Compute $ac_file's index in $config_headers.
29762 for _am_header
in $config_headers :; do
29763 case $_am_header in
29764 $ac_file |
$ac_file:* )
29767 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
29770 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
29771 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29772 X$ac_file : 'X\(//\)[^/]' \| \
29773 X$ac_file : 'X\(//\)$' \| \
29774 X$ac_file : 'X\(/\)' \| \
29775 . : '\(.\)' 2>/dev/null ||
29777 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29778 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29779 /^X\(\/\/\)$/{ s//\1/; q; }
29780 /^X\(\/\).*/{ s//\1/; q; }
29781 s/.*/./; q'`/stamp-h
$_am_stamp_count
29784 cat >>$CONFIG_STATUS <<\_ACEOF
29787 # CONFIG_LINKS section.
29790 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
29791 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29792 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29794 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
29795 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
29797 if test ! -r $srcdir/$ac_source; then
29798 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
29799 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
29800 { (exit 1); exit 1; }; }
29804 # Make relative symlinks.
29805 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29806 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29807 X"$ac_dest" : 'X\(//\)[^/]' \| \
29808 X"$ac_dest" : 'X\(//\)$' \| \
29809 X"$ac_dest" : 'X\(/\)' \| \
29810 . : '\(.\)' 2>/dev/null ||
29812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29813 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29814 /^X\(\/\/\)$/{ s//\1/; q; }
29815 /^X\(\/\).*/{ s//\1/; q; }
29817 { if $as_mkdir_p; then
29818 mkdir
-p "$ac_dest_dir"
29820 as_dir
="$ac_dest_dir"
29822 while test ! -d "$as_dir"; do
29823 as_dirs
="$as_dir $as_dirs"
29824 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29825 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29826 X"$as_dir" : 'X\(//\)[^/]' \| \
29827 X"$as_dir" : 'X\(//\)$' \| \
29828 X"$as_dir" : 'X\(/\)' \| \
29829 . : '\(.\)' 2>/dev/null ||
29831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29832 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29833 /^X\(\/\/\)$/{ s//\1/; q; }
29834 /^X\(\/\).*/{ s//\1/; q; }
29837 test ! -n "$as_dirs" || mkdir
$as_dirs
29838 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
29839 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
29840 { (exit 1); exit 1; }; }; }
29844 if test "$ac_dest_dir" != .
; then
29845 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
29846 # A "../" for each directory in $ac_dir_suffix.
29847 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29849 ac_dir_suffix
= ac_top_builddir
=
29853 .
) # No --srcdir option. We are building in place.
29855 if test -z "$ac_top_builddir"; then
29858 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29860 [\\/]* | ?
:[\\/]* ) # Absolute path.
29861 ac_srcdir
=$srcdir$ac_dir_suffix;
29862 ac_top_srcdir
=$srcdir ;;
29863 *) # Relative path.
29864 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29865 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29868 # Do not use `cd foo && pwd` to compute absolute paths, because
29869 # the directories may not exist.
29871 .
) ac_abs_builddir
="$ac_dest_dir";;
29873 case "$ac_dest_dir" in
29874 .
) ac_abs_builddir
=`pwd`;;
29875 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
29876 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
29879 case $ac_abs_builddir in
29880 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29882 case ${ac_top_builddir}.
in
29883 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
29884 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
29885 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
29888 case $ac_abs_builddir in
29889 .
) ac_abs_srcdir
=$ac_srcdir;;
29892 .
) ac_abs_srcdir
=$ac_abs_builddir;;
29893 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
29894 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
29897 case $ac_abs_builddir in
29898 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
29900 case $ac_top_srcdir in
29901 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
29902 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
29903 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
29909 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
29910 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
29913 # Try a symlink, then a hard link, then a copy.
29914 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
29915 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
29916 cp -p $srcdir/$ac_source $ac_dest ||
29917 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
29918 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
29919 { (exit 1); exit 1; }; }
29922 cat >>$CONFIG_STATUS <<\_ACEOF
29925 # CONFIG_COMMANDS section.
29927 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
29928 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
29929 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
29930 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
29931 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29932 X"$ac_dest" : 'X\(//\)[^/]' \| \
29933 X"$ac_dest" : 'X\(//\)$' \| \
29934 X"$ac_dest" : 'X\(/\)' \| \
29935 . : '\(.\)' 2>/dev/null ||
29937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29938 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29939 /^X\(\/\/\)$/{ s//\1/; q; }
29940 /^X\(\/\).*/{ s//\1/; q; }
29942 { if $as_mkdir_p; then
29947 while test ! -d "$as_dir"; do
29948 as_dirs
="$as_dir $as_dirs"
29949 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
29950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29951 X"$as_dir" : 'X\(//\)[^/]' \| \
29952 X"$as_dir" : 'X\(//\)$' \| \
29953 X"$as_dir" : 'X\(/\)' \| \
29954 . : '\(.\)' 2>/dev/null ||
29956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
29957 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
29958 /^X\(\/\/\)$/{ s//\1/; q; }
29959 /^X\(\/\).*/{ s//\1/; q; }
29962 test ! -n "$as_dirs" || mkdir
$as_dirs
29963 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
29964 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
29965 { (exit 1); exit 1; }; }; }
29969 if test "$ac_dir" != .
; then
29970 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
29971 # A "../" for each directory in $ac_dir_suffix.
29972 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
29974 ac_dir_suffix
= ac_top_builddir
=
29978 .
) # No --srcdir option. We are building in place.
29980 if test -z "$ac_top_builddir"; then
29983 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
29985 [\\/]* | ?
:[\\/]* ) # Absolute path.
29986 ac_srcdir
=$srcdir$ac_dir_suffix;
29987 ac_top_srcdir
=$srcdir ;;
29988 *) # Relative path.
29989 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
29990 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
29993 # Do not use `cd foo && pwd` to compute absolute paths, because
29994 # the directories may not exist.
29996 .
) ac_abs_builddir
="$ac_dir";;
29999 .
) ac_abs_builddir
=`pwd`;;
30000 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30001 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30004 case $ac_abs_builddir in
30005 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30007 case ${ac_top_builddir}.
in
30008 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30009 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30010 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30013 case $ac_abs_builddir in
30014 .
) ac_abs_srcdir
=$ac_srcdir;;
30017 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30018 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30019 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30022 case $ac_abs_builddir in
30023 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30025 case $ac_top_srcdir in
30026 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30027 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30028 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30033 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30034 echo "$as_me: executing $ac_dest commands" >&6;}
30037 # Only add multilib support code if we just rebuilt the top-level
30039 case " $CONFIG_FILES " in
30041 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30044 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30045 # Strip MF so we end up with the name of the file.
30046 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30047 # Check whether this is an Automake generated Makefile or not.
30048 # We used to match only the files named `Makefile.in', but
30049 # some people rename them; so instead we look at the file content.
30050 # Grep'ing the first line is not enough: some people post-process
30051 # each Makefile.in and add a new line on top of each file to say so.
30052 # So let's grep whole file.
30053 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30054 dirpart
=`(dirname "$mf") 2>/dev/null ||
30055 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30056 X"$mf" : 'X\(//\)[^/]' \| \
30057 X"$mf" : 'X\(//\)$' \| \
30058 X"$mf" : 'X\(/\)' \| \
30059 . : '\(.\)' 2>/dev/null ||
30061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30062 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30063 /^X\(\/\/\)$/{ s//\1/; q; }
30064 /^X\(\/\).*/{ s//\1/; q; }
30069 # Extract the definition of DEPDIR, am__include, and am__quote
30070 # from the Makefile without running `make'.
30071 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30072 test -z "$DEPDIR" && continue
30073 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30074 test -z "am__include" && continue
30075 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30076 # When using ansi2knr, U may be empty or an underscore; expand it
30077 U
=`sed -n 's/^U = //p' < "$mf"`
30078 # Find all dependency output files, they are included files with
30079 # $(DEPDIR) in their names. We invoke sed twice because it is the
30080 # simplest approach to changing $(DEPDIR) to its actual value in the
30082 for file in `sed -n "
30083 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30084 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30085 # Make sure the directory exists.
30086 test -f "$dirpart/$file" && continue
30087 fdir
=`(dirname "$file") 2>/dev/null ||
30088 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30089 X"$file" : 'X\(//\)[^/]' \| \
30090 X"$file" : 'X\(//\)$' \| \
30091 X"$file" : 'X\(/\)' \| \
30092 . : '\(.\)' 2>/dev/null ||
30094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30095 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30096 /^X\(\/\/\)$/{ s//\1/; q; }
30097 /^X\(\/\).*/{ s//\1/; q; }
30099 { if $as_mkdir_p; then
30100 mkdir
-p $dirpart/$fdir
30102 as_dir
=$dirpart/$fdir
30104 while test ! -d "$as_dir"; do
30105 as_dirs
="$as_dir $as_dirs"
30106 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30107 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30108 X"$as_dir" : 'X\(//\)[^/]' \| \
30109 X"$as_dir" : 'X\(//\)$' \| \
30110 X"$as_dir" : 'X\(/\)' \| \
30111 . : '\(.\)' 2>/dev/null ||
30113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30114 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30115 /^X\(\/\/\)$/{ s//\1/; q; }
30116 /^X\(\/\).*/{ s//\1/; q; }
30119 test ! -n "$as_dirs" || mkdir
$as_dirs
30120 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30121 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30122 { (exit 1); exit 1; }; }; }
30124 # echo "creating $dirpart/$file"
30125 echo '# dummy' > "$dirpart/$file"
30131 # See if we are running on zsh, and set the options which allow our
30132 # commands through without removal of \ escapes.
30133 if test -n "${ZSH_VERSION+set}" ; then
30134 setopt NO_GLOB_SUBST
30137 cfgfile
="${ofile}T"
30138 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30141 cat <<_LT_EOF >> "$cfgfile"
30144 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30145 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
30146 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30147 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30149 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30150 # 2006, 2007 Free Software Foundation, Inc.
30152 # This file is part of GNU Libtool:
30153 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
30155 # This program is free software; you can redistribute it and/or modify
30156 # it under the terms of the GNU General Public License as published by
30157 # the Free Software Foundation; either version 2 of the License, or
30158 # (at your option) any later version.
30160 # This program is distributed in the hope that it will be useful, but
30161 # WITHOUT ANY WARRANTY; without even the implied warranty of
30162 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
30163 # General Public License for more details.
30165 # You should have received a copy of the GNU General Public License
30166 # along with this program; if not, a copy can be downloaded from
30167 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
30168 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
30169 # MA 02110-1301, USA.
30171 # As a special exception to the GNU General Public License, if you
30172 # distribute this file as part of a program that contains a
30173 # configuration script generated by Autoconf, you may include it under
30174 # the same distribution terms that you use for the rest of that program.
30177 # The names of the tagged configurations supported by this script.
30178 available_tags="CXX GCJ "
30180 # ### BEGIN LIBTOOL CONFIG
30182 # Which release of libtool.m4 was used?
30183 macro_version=$macro_version
30184 macro_revision=$macro_revision
30186 # Whether or not to build shared libraries.
30187 build_libtool_libs=$enable_shared
30189 # Whether or not to build static libraries.
30190 build_old_libs=$enable_static
30192 # What type of objects to build.
30195 # Whether or not to optimize for fast installation.
30196 fast_install=$enable_fast_install
30199 host_alias=$host_alias
30203 # The build system.
30204 build_alias=$build_alias
30208 # A sed program that does not truncate output.
30211 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30212 Xsed="\$SED -e 1s/^X//"
30214 # A grep program that handles long lines.
30220 # A literal string matcher.
30223 # A BSD- or MS-compatible name lister.
30226 # Whether we need soft or hard links.
30229 # What is the maximum length of a command?
30230 max_cmd_len=$max_cmd_len
30232 # Object file suffix (normally "o").
30235 # Executable file suffix (normally "").
30238 # whether the shell understands "unset".
30241 # turn spaces into newlines.
30244 # turn newlines into spaces.
30247 # How to create reloadable object files.
30248 reload_flag=$lt_reload_flag
30249 reload_cmds=$lt_reload_cmds
30251 # Method to check whether dependent libraries are shared objects.
30252 deplibs_check_method=$lt_deplibs_check_method
30254 # Command to use when deplibs_check_method == "file_magic".
30255 file_magic_cmd=$lt_file_magic_cmd
30259 AR_FLAGS=$lt_AR_FLAGS
30261 # A symbol stripping program.
30264 # Commands used to install an old-style archive.
30266 old_postinstall_cmds=$lt_old_postinstall_cmds
30267 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30272 # LTCC compiler flags.
30273 LTCFLAGS=$lt_CFLAGS
30275 # Take the output of nm and produce a listing of raw symbols and C names.
30276 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30278 # Transform the output of nm in a proper C declaration.
30279 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30281 # Transform the output of nm in a C name address pair.
30282 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30284 # The name of the directory that contains temporary libtool files.
30287 # Shell to use when invoking shell scripts.
30290 # An echo program that does not interpret backslashes.
30293 # Used to examine libraries when file_magic_cmd begins with "file".
30294 MAGIC_CMD=$MAGIC_CMD
30296 # Must we lock files when doing compilation?
30297 need_locks=$lt_need_locks
30299 # Old archive suffix (normally "a").
30302 # Shared library suffix (normally ".so").
30303 shrext_cmds=$lt_shrext_cmds
30305 # The commands to extract the exported symbol list from a shared archive.
30306 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30308 # Variables whose values should be saved in libtool wrapper scripts and
30309 # restored at link time.
30310 variables_saved_for_relink=$lt_variables_saved_for_relink
30312 # Do we need the "lib" prefix for modules?
30313 need_lib_prefix=$need_lib_prefix
30315 # Do we need a version for libraries?
30316 need_version=$need_version
30318 # Library versioning type.
30319 version_type=$version_type
30321 # Shared library runtime path variable.
30322 runpath_var=$runpath_var
30324 # Shared library path variable.
30325 shlibpath_var=$shlibpath_var
30327 # Is shlibpath searched before the hard-coded library search path?
30328 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
30330 # Format of library name prefix.
30331 libname_spec=$lt_libname_spec
30333 # List of archive names. First name is the real one, the rest are links.
30334 # The last name is the one that the linker finds with -lNAME
30335 library_names_spec=$lt_library_names_spec
30337 # The coded name of the library, if different from the real name.
30338 soname_spec=$lt_soname_spec
30340 # Command to use after installation of a shared archive.
30341 postinstall_cmds=$lt_postinstall_cmds
30343 # Command to use after uninstallation of a shared archive.
30344 postuninstall_cmds=$lt_postuninstall_cmds
30346 # Commands used to finish a libtool library installation in a directory.
30347 finish_cmds=$lt_finish_cmds
30349 # As "finish_cmds", except a single script fragment to be evaled but
30351 finish_eval=$lt_finish_eval
30353 # Whether we should hardcode library paths into libraries.
30354 hardcode_into_libs=$hardcode_into_libs
30356 # Compile-time system search path for libraries.
30357 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
30359 # Run-time system search path for libraries.
30360 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
30362 # Whether dlopen is supported.
30363 dlopen_support=$enable_dlopen
30365 # Whether dlopen of programs is supported.
30366 dlopen_self=$enable_dlopen_self
30368 # Whether dlopen of statically linked programs is supported.
30369 dlopen_self_static=$enable_dlopen_self_static
30371 # Commands to strip libraries.
30372 old_striplib=$lt_old_striplib
30373 striplib=$lt_striplib
30376 # The linker used to build libraries.
30379 # Commands used to build an old-style archive.
30380 old_archive_cmds=$lt_old_archive_cmds
30382 # A language specific compiler.
30385 # Is the compiler the GNU compiler?
30388 # Compiler flag to turn off builtin functions.
30389 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
30391 # How to pass a linker flag through the compiler.
30392 wl=$lt_lt_prog_compiler_wl
30394 # Additional compiler flags for building library objects.
30395 pic_flag=$lt_lt_prog_compiler_pic
30397 # Compiler flag to prevent dynamic linking.
30398 link_static_flag=$lt_lt_prog_compiler_static
30400 # Does compiler simultaneously support -c and -o options?
30401 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
30403 # Whether or not to add -lc for building shared libraries.
30404 build_libtool_need_lc=$archive_cmds_need_lc
30406 # Whether or not to disallow shared libs when runtime libs are static.
30407 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
30409 # Compiler flag to allow reflexive dlopens.
30410 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
30412 # Compiler flag to generate shared objects directly from archives.
30413 whole_archive_flag_spec=$lt_whole_archive_flag_spec
30415 # Whether the compiler copes with passing no objects directly.
30416 compiler_needs_object=$lt_compiler_needs_object
30418 # Create an old-style archive from a shared archive.
30419 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
30421 # Create a temporary old-style archive to link instead of a shared archive.
30422 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
30424 # Commands used to build a shared archive.
30425 archive_cmds=$lt_archive_cmds
30426 archive_expsym_cmds=$lt_archive_expsym_cmds
30428 # Commands used to build a loadable module if different from building
30429 # a shared archive.
30430 module_cmds=$lt_module_cmds
30431 module_expsym_cmds=$lt_module_expsym_cmds
30433 # Whether we are building with GNU ld or not.
30434 with_gnu_ld=$lt_with_gnu_ld
30436 # Flag that allows shared libraries with undefined symbols to be built.
30437 allow_undefined_flag=$lt_allow_undefined_flag
30439 # Flag that enforces no undefined symbols.
30440 no_undefined_flag=$lt_no_undefined_flag
30442 # Flag to hardcode \$libdir into a binary during linking.
30443 # This must work even if \$libdir does not exist
30444 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
30446 # If ld is used when linking, flag to hardcode \$libdir into a binary
30447 # during linking. This must work even if \$libdir does not exist.
30448 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
30450 # Whether we need a single "-rpath" flag with a separated argument.
30451 hardcode_libdir_separator=$lt_hardcode_libdir_separator
30453 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30454 # DIR into the resulting binary.
30455 hardcode_direct=$hardcode_direct
30457 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30458 # DIR into the resulting binary and the resulting library dependency is
30459 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30460 # library is relocated.
30461 hardcode_direct_absolute=$hardcode_direct_absolute
30463 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30464 # into the resulting binary.
30465 hardcode_minus_L=$hardcode_minus_L
30467 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30468 # into the resulting binary.
30469 hardcode_shlibpath_var=$hardcode_shlibpath_var
30471 # Set to "yes" if building a shared library automatically hardcodes DIR
30472 # into the library and all subsequent libraries and executables linked
30474 hardcode_automatic=$hardcode_automatic
30476 # Set to yes if linker adds runtime paths of dependent libraries
30477 # to runtime path list.
30478 inherit_rpath=$inherit_rpath
30480 # Whether libtool must link a program against all its dependency libraries.
30481 link_all_deplibs=$link_all_deplibs
30483 # Fix the shell variable \$srcfile for the compiler.
30484 fix_srcfile_path=$lt_fix_srcfile_path
30486 # Set to "yes" if exported symbols are required.
30487 always_export_symbols=$always_export_symbols
30489 # The commands to list exported symbols.
30490 export_symbols_cmds=$lt_export_symbols_cmds
30492 # Symbols that should not be listed in the preloaded symbols.
30493 exclude_expsyms=$lt_exclude_expsyms
30495 # Symbols that must always be exported.
30496 include_expsyms=$lt_include_expsyms
30498 # Commands necessary for linking programs (against libraries) with templates.
30499 prelink_cmds=$lt_prelink_cmds
30501 # Specify filename containing input files.
30502 file_list_spec=$lt_file_list_spec
30504 # How to hardcode a shared library path into an executable.
30505 hardcode_action=$hardcode_action
30507 # Dependencies to place before and after the objects being linked to
30508 # create a shared library.
30509 predep_objects=$lt_predep_objects
30510 postdep_objects=$lt_postdep_objects
30511 predeps=$lt_predeps
30512 postdeps=$lt_postdeps
30514 # The library search path used internally by the compiler when linking
30515 # a shared library.
30516 compiler_lib_search_path=$lt_compiler_lib_search_path
30518 # ### END LIBTOOL CONFIG
30524 cat <<\_LT_EOF
>> "$cfgfile"
30525 # AIX sometimes has problems with the GCC collect2 program. For some
30526 # reason, if we set the COLLECT_NAMES environment variable, the problems
30527 # vanish in a puff of smoke.
30528 if test "X${COLLECT_NAMES+set}" != Xset
; then
30530 export COLLECT_NAMES
30537 ltmain
="$ac_aux_dir/ltmain.sh"
30540 # We use sed instead of cat because bash on DJGPP gets confused if
30541 # if finds mixed CR/LF and LF-only lines. Since sed operates in
30542 # text mode, it properly converts lines to CR/LF. This bash problem
30543 # is reportedly fixed, but why not run on old versions too?
30544 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
30545 ||
(rm -f "$cfgfile"; exit 1)
30549 cat << \_LT_EOF
>> "$cfgfile"
30550 # func_dirname file append nondir_replacement
30551 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30552 # otherwise set result to NONDIR_REPLACEMENT.
30556 */*) func_dirname_result
="${1%/*}${2}" ;;
30557 * ) func_dirname_result
="${3}" ;;
30561 # func_basename file
30564 func_basename_result
="${1##*/}"
30567 # func_stripname prefix suffix name
30568 # strip PREFIX and SUFFIX off of NAME.
30569 # PREFIX and SUFFIX must not contain globbing or regex special
30570 # characters, hashes, percent signs, but SUFFIX may contain a leading
30571 # dot (in which case that matches only a dot).
30574 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
30575 # positional parameters, so assign one to ordinary parameter first.
30576 func_stripname_result
=${3}
30577 func_stripname_result
=${func_stripname_result#"${1}"}
30578 func_stripname_result
=${func_stripname_result%"${2}"}
30584 func_opt_split_opt
=${1%%=*}
30585 func_opt_split_arg
=${1#*=}
30592 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
30593 *) func_lo2o_result
=${1} ;;
30598 *) # Bourne compatible functions.
30599 cat << \_LT_EOF
>> "$cfgfile"
30600 # func_dirname file append nondir_replacement
30601 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
30602 # otherwise set result to NONDIR_REPLACEMENT.
30605 # Extract subdirectory from the argument.
30606 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
30607 if test "X$func_dirname_result" = "X${1}"; then
30608 func_dirname_result
="${3}"
30610 func_dirname_result
="$func_dirname_result${2}"
30614 # func_basename file
30617 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
30620 # func_stripname prefix suffix name
30621 # strip PREFIX and SUFFIX off of NAME.
30622 # PREFIX and SUFFIX must not contain globbing or regex special
30623 # characters, hashes, percent signs, but SUFFIX may contain a leading
30624 # dot (in which case that matches only a dot).
30625 # func_strip_suffix prefix name
30629 .
*) func_stripname_result
=`$ECHO "X${3}" \
30630 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
30631 *) func_stripname_result
=`$ECHO "X${3}" \
30632 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
30637 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
30638 my_sed_long_arg
='1s/^-[^=]*=//'
30643 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
30644 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
30650 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
30655 case $lt_shell_append in
30657 cat << \_LT_EOF
>> "$cfgfile"
30659 # func_append var value
30660 # Append VALUE to the end of shell variable VAR.
30668 cat << \_LT_EOF
>> "$cfgfile"
30670 # func_append var value
30671 # Append VALUE to the end of shell variable VAR.
30681 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
30682 ||
(rm -f "$cfgfile"; exit 1)
30684 mv -f "$cfgfile" "$ofile" ||
30685 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
30689 cat <<_LT_EOF >> "$ofile"
30691 # ### BEGIN LIBTOOL TAG CONFIG: CXX
30693 # The linker used to build libraries.
30696 # Commands used to build an old-style archive.
30697 old_archive_cmds=$lt_old_archive_cmds_CXX
30699 # A language specific compiler.
30700 CC=$lt_compiler_CXX
30702 # Is the compiler the GNU compiler?
30705 # Compiler flag to turn off builtin functions.
30706 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
30708 # How to pass a linker flag through the compiler.
30709 wl=$lt_lt_prog_compiler_wl_CXX
30711 # Additional compiler flags for building library objects.
30712 pic_flag=$lt_lt_prog_compiler_pic_CXX
30714 # Compiler flag to prevent dynamic linking.
30715 link_static_flag=$lt_lt_prog_compiler_static_CXX
30717 # Does compiler simultaneously support -c and -o options?
30718 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
30720 # Whether or not to add -lc for building shared libraries.
30721 build_libtool_need_lc=$archive_cmds_need_lc_CXX
30723 # Whether or not to disallow shared libs when runtime libs are static.
30724 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
30726 # Compiler flag to allow reflexive dlopens.
30727 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
30729 # Compiler flag to generate shared objects directly from archives.
30730 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
30732 # Whether the compiler copes with passing no objects directly.
30733 compiler_needs_object=$lt_compiler_needs_object_CXX
30735 # Create an old-style archive from a shared archive.
30736 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
30738 # Create a temporary old-style archive to link instead of a shared archive.
30739 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
30741 # Commands used to build a shared archive.
30742 archive_cmds=$lt_archive_cmds_CXX
30743 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
30745 # Commands used to build a loadable module if different from building
30746 # a shared archive.
30747 module_cmds=$lt_module_cmds_CXX
30748 module_expsym_cmds=$lt_module_expsym_cmds_CXX
30750 # Whether we are building with GNU ld or not.
30751 with_gnu_ld=$lt_with_gnu_ld_CXX
30753 # Flag that allows shared libraries with undefined symbols to be built.
30754 allow_undefined_flag=$lt_allow_undefined_flag_CXX
30756 # Flag that enforces no undefined symbols.
30757 no_undefined_flag=$lt_no_undefined_flag_CXX
30759 # Flag to hardcode \$libdir into a binary during linking.
30760 # This must work even if \$libdir does not exist
30761 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
30763 # If ld is used when linking, flag to hardcode \$libdir into a binary
30764 # during linking. This must work even if \$libdir does not exist.
30765 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
30767 # Whether we need a single "-rpath" flag with a separated argument.
30768 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
30770 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30771 # DIR into the resulting binary.
30772 hardcode_direct=$hardcode_direct_CXX
30774 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30775 # DIR into the resulting binary and the resulting library dependency is
30776 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30777 # library is relocated.
30778 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
30780 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30781 # into the resulting binary.
30782 hardcode_minus_L=$hardcode_minus_L_CXX
30784 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30785 # into the resulting binary.
30786 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
30788 # Set to "yes" if building a shared library automatically hardcodes DIR
30789 # into the library and all subsequent libraries and executables linked
30791 hardcode_automatic=$hardcode_automatic_CXX
30793 # Set to yes if linker adds runtime paths of dependent libraries
30794 # to runtime path list.
30795 inherit_rpath=$inherit_rpath_CXX
30797 # Whether libtool must link a program against all its dependency libraries.
30798 link_all_deplibs=$link_all_deplibs_CXX
30800 # Fix the shell variable \$srcfile for the compiler.
30801 fix_srcfile_path=$lt_fix_srcfile_path_CXX
30803 # Set to "yes" if exported symbols are required.
30804 always_export_symbols=$always_export_symbols_CXX
30806 # The commands to list exported symbols.
30807 export_symbols_cmds=$lt_export_symbols_cmds_CXX
30809 # Symbols that should not be listed in the preloaded symbols.
30810 exclude_expsyms=$lt_exclude_expsyms_CXX
30812 # Symbols that must always be exported.
30813 include_expsyms=$lt_include_expsyms_CXX
30815 # Commands necessary for linking programs (against libraries) with templates.
30816 prelink_cmds=$lt_prelink_cmds_CXX
30818 # Specify filename containing input files.
30819 file_list_spec=$lt_file_list_spec_CXX
30821 # How to hardcode a shared library path into an executable.
30822 hardcode_action=$hardcode_action_CXX
30824 # Dependencies to place before and after the objects being linked to
30825 # create a shared library.
30826 predep_objects=$lt_predep_objects_CXX
30827 postdep_objects=$lt_postdep_objects_CXX
30828 predeps=$lt_predeps_CXX
30829 postdeps=$lt_postdeps_CXX
30831 # The library search path used internally by the compiler when linking
30832 # a shared library.
30833 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
30835 # ### END LIBTOOL TAG CONFIG: CXX
30839 cat <<_LT_EOF >> "$ofile"
30841 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
30843 # The linker used to build libraries.
30846 # Commands used to build an old-style archive.
30847 old_archive_cmds=$lt_old_archive_cmds_GCJ
30849 # A language specific compiler.
30850 CC=$lt_compiler_GCJ
30852 # Is the compiler the GNU compiler?
30855 # Compiler flag to turn off builtin functions.
30856 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
30858 # How to pass a linker flag through the compiler.
30859 wl=$lt_lt_prog_compiler_wl_GCJ
30861 # Additional compiler flags for building library objects.
30862 pic_flag=$lt_lt_prog_compiler_pic_GCJ
30864 # Compiler flag to prevent dynamic linking.
30865 link_static_flag=$lt_lt_prog_compiler_static_GCJ
30867 # Does compiler simultaneously support -c and -o options?
30868 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
30870 # Whether or not to add -lc for building shared libraries.
30871 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
30873 # Whether or not to disallow shared libs when runtime libs are static.
30874 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
30876 # Compiler flag to allow reflexive dlopens.
30877 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
30879 # Compiler flag to generate shared objects directly from archives.
30880 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
30882 # Whether the compiler copes with passing no objects directly.
30883 compiler_needs_object=$lt_compiler_needs_object_GCJ
30885 # Create an old-style archive from a shared archive.
30886 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
30888 # Create a temporary old-style archive to link instead of a shared archive.
30889 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
30891 # Commands used to build a shared archive.
30892 archive_cmds=$lt_archive_cmds_GCJ
30893 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
30895 # Commands used to build a loadable module if different from building
30896 # a shared archive.
30897 module_cmds=$lt_module_cmds_GCJ
30898 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
30900 # Whether we are building with GNU ld or not.
30901 with_gnu_ld=$lt_with_gnu_ld_GCJ
30903 # Flag that allows shared libraries with undefined symbols to be built.
30904 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
30906 # Flag that enforces no undefined symbols.
30907 no_undefined_flag=$lt_no_undefined_flag_GCJ
30909 # Flag to hardcode \$libdir into a binary during linking.
30910 # This must work even if \$libdir does not exist
30911 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
30913 # If ld is used when linking, flag to hardcode \$libdir into a binary
30914 # during linking. This must work even if \$libdir does not exist.
30915 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
30917 # Whether we need a single "-rpath" flag with a separated argument.
30918 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
30920 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30921 # DIR into the resulting binary.
30922 hardcode_direct=$hardcode_direct_GCJ
30924 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
30925 # DIR into the resulting binary and the resulting library dependency is
30926 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
30927 # library is relocated.
30928 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
30930 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
30931 # into the resulting binary.
30932 hardcode_minus_L=$hardcode_minus_L_GCJ
30934 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30935 # into the resulting binary.
30936 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
30938 # Set to "yes" if building a shared library automatically hardcodes DIR
30939 # into the library and all subsequent libraries and executables linked
30941 hardcode_automatic=$hardcode_automatic_GCJ
30943 # Set to yes if linker adds runtime paths of dependent libraries
30944 # to runtime path list.
30945 inherit_rpath=$inherit_rpath_GCJ
30947 # Whether libtool must link a program against all its dependency libraries.
30948 link_all_deplibs=$link_all_deplibs_GCJ
30950 # Fix the shell variable \$srcfile for the compiler.
30951 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
30953 # Set to "yes" if exported symbols are required.
30954 always_export_symbols=$always_export_symbols_GCJ
30956 # The commands to list exported symbols.
30957 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
30959 # Symbols that should not be listed in the preloaded symbols.
30960 exclude_expsyms=$lt_exclude_expsyms_GCJ
30962 # Symbols that must always be exported.
30963 include_expsyms=$lt_include_expsyms_GCJ
30965 # Commands necessary for linking programs (against libraries) with templates.
30966 prelink_cmds=$lt_prelink_cmds_GCJ
30968 # Specify filename containing input files.
30969 file_list_spec=$lt_file_list_spec_GCJ
30971 # How to hardcode a shared library path into an executable.
30972 hardcode_action=$hardcode_action_GCJ
30974 # Dependencies to place before and after the objects being linked to
30975 # create a shared library.
30976 predep_objects=$lt_predep_objects_GCJ
30977 postdep_objects=$lt_postdep_objects_GCJ
30978 predeps=$lt_predeps_GCJ
30979 postdeps=$lt_postdeps_GCJ
30981 # The library search path used internally by the compiler when linking
30982 # a shared library.
30983 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
30985 # ### END LIBTOOL TAG CONFIG: GCJ
30993 cat >>$CONFIG_STATUS <<\_ACEOF
30995 { (exit 0); exit 0; }
30997 chmod +x
$CONFIG_STATUS
30998 ac_clean_files
=$ac_clean_files_save
31001 # configure is writing to config.log, and then calls config.status.
31002 # config.status does its own redirection, appending to config.log.
31003 # Unfortunately, on DOS this fails, as config.log is still kept open
31004 # by configure, so config.status won't be able to write to it; its
31005 # output is simply discarded. So we exec the FD to /dev/null,
31006 # effectively closing config.log, so it can be properly (re)opened and
31007 # appended to by config.status. When coming back to configure, we
31008 # need to make the FD available again.
31009 if test "$no_create" != yes; then
31011 ac_config_status_args
=
31012 test "$silent" = yes &&
31013 ac_config_status_args
="$ac_config_status_args --quiet"
31015 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31017 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31018 # would make configure fail if this is the last instruction.
31019 $ac_cs_success ||
{ (exit 1); exit 1; }
31023 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
31025 if test "$no_recursion" != yes; then
31027 # Remove --cache-file and --srcdir arguments so they do not pile up.
31028 ac_sub_configure_args
=
31030 eval "set x $ac_configure_args"
31034 if test -n "$ac_prev"; then
31039 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31040 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31041 ac_prev
=cache_file
;;
31042 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31043 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31046 --config-cache |
-C)
31048 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31050 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31052 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31054 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31058 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31060 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
31064 # Always prepend --prefix to ensure using the same prefix
31065 # in subdir configurations.
31066 ac_arg
="--prefix=$prefix"
31068 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31070 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
31073 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31075 # Do not complain, so a configure script can configure whichever
31076 # parts of a large source tree are present.
31077 test -d "$srcdir/$ac_dir" ||
continue
31079 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31080 echo "$as_me: configuring in $ac_dir" >&6;}
31081 { if $as_mkdir_p; then
31086 while test ! -d "$as_dir"; do
31087 as_dirs
="$as_dir $as_dirs"
31088 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31089 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31090 X"$as_dir" : 'X\(//\)[^/]' \| \
31091 X"$as_dir" : 'X\(//\)$' \| \
31092 X"$as_dir" : 'X\(/\)' \| \
31093 . : '\(.\)' 2>/dev/null ||
31095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31096 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31097 /^X\(\/\/\)$/{ s//\1/; q; }
31098 /^X\(\/\).*/{ s//\1/; q; }
31101 test ! -n "$as_dirs" || mkdir
$as_dirs
31102 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31103 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31104 { (exit 1); exit 1; }; }; }
31108 if test "$ac_dir" != .
; then
31109 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31110 # A "../" for each directory in $ac_dir_suffix.
31111 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31113 ac_dir_suffix
= ac_top_builddir
=
31117 .
) # No --srcdir option. We are building in place.
31119 if test -z "$ac_top_builddir"; then
31122 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31124 [\\/]* | ?
:[\\/]* ) # Absolute path.
31125 ac_srcdir
=$srcdir$ac_dir_suffix;
31126 ac_top_srcdir
=$srcdir ;;
31127 *) # Relative path.
31128 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31129 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31132 # Do not use `cd foo && pwd` to compute absolute paths, because
31133 # the directories may not exist.
31135 .
) ac_abs_builddir
="$ac_dir";;
31138 .
) ac_abs_builddir
=`pwd`;;
31139 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31140 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31143 case $ac_abs_builddir in
31144 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31146 case ${ac_top_builddir}.
in
31147 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31148 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31149 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31152 case $ac_abs_builddir in
31153 .
) ac_abs_srcdir
=$ac_srcdir;;
31156 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31157 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31158 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31161 case $ac_abs_builddir in
31162 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31164 case $ac_top_srcdir in
31165 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31166 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31167 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31174 # Check for guested configure; otherwise get Cygnus style configure.
31175 if test -f "$ac_srcdir/configure.gnu"; then
31176 ac_sub_configure
=$ac_srcdir/configure.gnu
31177 elif test -f "$ac_srcdir/configure"; then
31178 ac_sub_configure
=$ac_srcdir/configure
31179 elif test -f "$ac_srcdir/configure.in"; then
31180 # This should be Cygnus configure.
31181 ac_sub_configure
=$ac_aux_dir/configure
31183 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31184 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31188 # The recursion is here.
31189 if test -n "$ac_sub_configure"; then
31190 # Make the cache file name correct relative to the subdirectory.
31191 case $cache_file in
31192 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31193 *) # Relative path.
31194 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31197 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31198 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31199 # The eval makes quoting arguments work.
31200 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31201 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31202 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31203 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31204 { (exit 1); exit 1; }; }