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 ANTLR_JAR CREATE_GJDOC_TRUE CREATE_GJDOC_FALSE 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 OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CPPFLAGS CXXCPP GCJ GCJFLAGS GCJDEPMODE am__fastdepGCJ_TRUE am__fastdepGCJ_FALSE subdirs TESTSUBDIR_TRUE TESTSUBDIR_FALSE ECJ_BUILD_JAR ECJ_JAR BUILD_ECJ1_TRUE BUILD_ECJ1_FALSE INSTALL_ECJ_JAR_TRUE INSTALL_ECJ_JAR_FALSE JAVA_HOME_SET_TRUE JAVA_HOME_SET_FALSE JAVA_HOME SUPPRESS_LIBGCJ_BC_TRUE SUPPRESS_LIBGCJ_BC_FALSE BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE INTERPRETER INTERPRETER_TRUE INTERPRETER_FALSE LIBFFI LIBFFIINCS PLATFORM USING_WIN32_PLATFORM_TRUE USING_WIN32_PLATFORM_FALSE USING_POSIX_PLATFORM_TRUE USING_POSIX_PLATFORM_FALSE USING_DARWIN_CRT_TRUE USING_DARWIN_CRT_FALSE SYSTEMSPEC ZLIBSPEC ZLIBTESTSPEC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS extra_ldflags_libjava extra_gij_ldflags extra_ldflags LIBSTDCXXSPEC LIBGCJTESTSPEC GCLIBS GCINCS GCDEPS GCSPEC JC1GCSPEC GCTESTSPEC USING_BOEHMGC_TRUE USING_BOEHMGC_FALSE USING_NOGC_TRUE USING_NOGC_FALSE THREADLIBS THREADINCS THREADDEPS THREADSPEC THREADSTARTFILESPEC THREADLDFLAGS THREADCXXFLAGS USING_POSIX_THREADS_TRUE USING_POSIX_THREADS_FALSE USING_WIN32_THREADS_TRUE USING_WIN32_THREADS_FALSE USING_NO_THREADS_TRUE USING_NO_THREADS_FALSE USE_LIBGCJ_BC_TRUE USE_LIBGCJ_BC_FALSE LIBGCJ_SPEC HASH_SYNC_SPEC USING_GCC_TRUE USING_GCC_FALSE LIBICONV LTLIBICONV PKG_CONFIG GTK_CFLAGS GTK_LIBS GLIB_CFLAGS GLIB_LIBS LIBART_CFLAGS LIBART_LIBS CLASSPATH_SEPARATOR ZLIBS SYS_ZLIBS ZINCS DIVIDESPEC CHECKREFSPEC EXCEPTIONSPEC BACKTRACESPEC IEEESPEC NATIVE_TRUE NATIVE_FALSE ENABLE_SHARED_TRUE ENABLE_SHARED_FALSE NEEDS_DATA_START_TRUE NEEDS_DATA_START_FALSE INSTALL_BINARIES_TRUE INSTALL_BINARIES_FALSE GCC_UNWIND_INCLUDE toolexecdir toolexecmainlibdir toolexeclibdir GCJVERSION dbexecdir gcjsubdir gxx_include_dir libstdcxx_incdir PERL SYSDEP_SOURCES ANONVERSCRIPT_TRUE ANONVERSCRIPT_FALSE LD_START_STATIC_SPEC LD_FINISH_STATIC_SPEC here python_mod_dir python_mod_dir_expanded MAKE INSTALL_AOT_RPM_TRUE INSTALL_AOT_RPM_FALSE CREATE_JAVA_HOME_TRUE CREATE_JAVA_HOME_FALSE gcc_suffix JAVA_VERSION BUILD_VERSION JVM_ROOT_DIR JVM_JAR_ROOT_DIR JVM_JAR_DIR JRE_DIR JRE_LNK SDK_LNK SDK_BIN_DIR SDK_LIB_DIR SDK_INCLUDE_DIR JRE_BIN_DIR JRE_LIB_DIR GCJ_BIN_DIR CPU OS LIBDIR LIBOBJS LTLIBOBJS'
466 # Initialize some variables set by options.
468 ac_init_version
=false
469 # The variables have the same names as the options, with
470 # dashes changed to underlines.
478 program_transform_name
=s
,x
,x
,
486 # Installation directory options.
487 # These are left unexpanded so users can "make install exec_prefix=/foo"
488 # and all the variables that are supposed to be based on exec_prefix
489 # by default will actually change.
490 # Use braces instead of parens because sh, perl, etc. also accept them.
491 bindir
='${exec_prefix}/bin'
492 sbindir
='${exec_prefix}/sbin'
493 libexecdir
='${exec_prefix}/libexec'
494 datadir
='${prefix}/share'
495 sysconfdir
='${prefix}/etc'
496 sharedstatedir
='${prefix}/com'
497 localstatedir
='${prefix}/var'
498 libdir
='${exec_prefix}/lib'
499 includedir
='${prefix}/include'
500 oldincludedir
='/usr/include'
501 infodir
='${prefix}/info'
502 mandir
='${prefix}/man'
507 # If the previous option needs an argument, assign it.
508 if test -n "$ac_prev"; then
509 eval "$ac_prev=\$ac_option"
514 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
516 # Accept the important Cygnus configure options, so we can diagnose typos.
520 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
522 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
525 -build |
--build |
--buil |
--bui |
--bu)
526 ac_prev
=build_alias
;;
527 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
528 build_alias
=$ac_optarg ;;
530 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
531 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
532 ac_prev
=cache_file
;;
533 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
534 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
535 cache_file
=$ac_optarg ;;
538 cache_file
=config.cache
;;
540 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
542 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
544 datadir
=$ac_optarg ;;
546 -disable-* |
--disable-*)
547 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
548 # Reject names that are not valid shell variable names.
549 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
550 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
551 { (exit 1); exit 1; }; }
552 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
553 eval "enable_$ac_feature=no" ;;
555 -enable-* |
--enable-*)
556 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
557 # Reject names that are not valid shell variable names.
558 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
559 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
560 { (exit 1); exit 1; }; }
561 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
563 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
566 eval "enable_$ac_feature='$ac_optarg'" ;;
568 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
569 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
570 |
--exec |
--exe |
--ex)
571 ac_prev
=exec_prefix
;;
572 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
573 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
574 |
--exec=* |
--exe=* |
--ex=*)
575 exec_prefix
=$ac_optarg ;;
577 -gas |
--gas |
--ga |
--g)
578 # Obsolete; use --with-gas.
581 -help |
--help |
--hel |
--he |
-h)
583 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
584 ac_init_help
=recursive
;;
585 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
586 ac_init_help
=short
;;
588 -host |
--host |
--hos |
--ho)
589 ac_prev
=host_alias
;;
590 -host=* |
--host=* |
--hos=* |
--ho=*)
591 host_alias
=$ac_optarg ;;
593 -includedir |
--includedir |
--includedi |
--included |
--include \
594 |
--includ |
--inclu |
--incl |
--inc)
595 ac_prev
=includedir
;;
596 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
597 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
598 includedir
=$ac_optarg ;;
600 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
602 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
603 infodir
=$ac_optarg ;;
605 -libdir |
--libdir |
--libdi |
--libd)
607 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
610 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
611 |
--libexe |
--libex |
--libe)
612 ac_prev
=libexecdir
;;
613 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
614 |
--libexe=* |
--libex=* |
--libe=*)
615 libexecdir
=$ac_optarg ;;
617 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
618 |
--localstate |
--localstat |
--localsta |
--localst \
619 |
--locals |
--local |
--loca |
--loc |
--lo)
620 ac_prev
=localstatedir
;;
621 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
622 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
623 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
624 localstatedir
=$ac_optarg ;;
626 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
628 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
632 # Obsolete; use --without-fp.
635 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
636 |
--no-cr |
--no-c |
-n)
639 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
640 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
643 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
644 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
645 |
--oldin |
--oldi |
--old |
--ol |
--o)
646 ac_prev
=oldincludedir
;;
647 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
648 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
649 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
650 oldincludedir
=$ac_optarg ;;
652 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
654 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
657 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
658 |
--program-pre |
--program-pr |
--program-p)
659 ac_prev
=program_prefix
;;
660 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
661 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
662 program_prefix
=$ac_optarg ;;
664 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
665 |
--program-suf |
--program-su |
--program-s)
666 ac_prev
=program_suffix
;;
667 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
668 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
669 program_suffix
=$ac_optarg ;;
671 -program-transform-name |
--program-transform-name \
672 |
--program-transform-nam |
--program-transform-na \
673 |
--program-transform-n |
--program-transform- \
674 |
--program-transform |
--program-transfor \
675 |
--program-transfo |
--program-transf \
676 |
--program-trans |
--program-tran \
677 |
--progr-tra |
--program-tr |
--program-t)
678 ac_prev
=program_transform_name
;;
679 -program-transform-name=* |
--program-transform-name=* \
680 |
--program-transform-nam=* |
--program-transform-na=* \
681 |
--program-transform-n=* |
--program-transform-=* \
682 |
--program-transform=* |
--program-transfor=* \
683 |
--program-transfo=* |
--program-transf=* \
684 |
--program-trans=* |
--program-tran=* \
685 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
686 program_transform_name
=$ac_optarg ;;
688 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
689 |
-silent |
--silent |
--silen |
--sile |
--sil)
692 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
694 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
696 sbindir
=$ac_optarg ;;
698 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
699 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
700 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
702 ac_prev
=sharedstatedir
;;
703 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
704 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
705 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
707 sharedstatedir
=$ac_optarg ;;
709 -site |
--site |
--sit)
711 -site=* |
--site=* |
--sit=*)
714 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
716 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
719 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
720 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
721 ac_prev
=sysconfdir
;;
722 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
723 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
724 sysconfdir
=$ac_optarg ;;
726 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
727 ac_prev
=target_alias
;;
728 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
729 target_alias
=$ac_optarg ;;
731 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
734 -version |
--version |
--versio |
--versi |
--vers |
-V)
738 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
739 # Reject names that are not valid shell variable names.
740 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
741 { echo "$as_me: error: invalid package name: $ac_package" >&2
742 { (exit 1); exit 1; }; }
743 ac_package
=`echo $ac_package| sed 's/-/_/g'`
745 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
748 eval "with_$ac_package='$ac_optarg'" ;;
750 -without-* |
--without-*)
751 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
752 # Reject names that are not valid shell variable names.
753 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
754 { echo "$as_me: error: invalid package name: $ac_package" >&2
755 { (exit 1); exit 1; }; }
756 ac_package
=`echo $ac_package | sed 's/-/_/g'`
757 eval "with_$ac_package=no" ;;
760 # Obsolete; use --with-x.
763 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
764 |
--x-incl |
--x-inc |
--x-in |
--x-i)
765 ac_prev
=x_includes
;;
766 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
767 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
768 x_includes
=$ac_optarg ;;
770 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
771 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
772 ac_prev
=x_libraries
;;
773 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
774 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
775 x_libraries
=$ac_optarg ;;
777 -*) { echo "$as_me: error: unrecognized option: $ac_option
778 Try \`$0 --help' for more information." >&2
779 { (exit 1); exit 1; }; }
783 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
784 # Reject names that are not valid shell variable names.
785 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
786 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
787 { (exit 1); exit 1; }; }
788 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
789 eval "$ac_envvar='$ac_optarg'"
793 # FIXME: should be removed in autoconf 3.0.
794 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
795 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
796 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
797 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
803 if test -n "$ac_prev"; then
804 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
805 { echo "$as_me: error: missing argument to $ac_option" >&2
806 { (exit 1); exit 1; }; }
809 # Be sure to have absolute paths.
810 for ac_var
in exec_prefix prefix
812 eval ac_val
=$
`echo $ac_var`
814 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
815 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
816 { (exit 1); exit 1; }; };;
820 # Be sure to have absolute paths.
821 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
822 localstatedir libdir includedir oldincludedir infodir mandir
824 eval ac_val
=$
`echo $ac_var`
826 [\\/$
]* | ?
:[\\/]* ) ;;
827 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
828 { (exit 1); exit 1; }; };;
832 # There might be people who depend on the old broken behavior: `$host'
833 # used to hold the argument of --host etc.
834 # FIXME: To remove some day.
839 # FIXME: To remove some day.
840 if test "x$host_alias" != x
; then
841 if test "x$build_alias" = x
; then
842 cross_compiling
=maybe
843 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
844 If a cross compiler is detected then cross compile mode will be used." >&2
845 elif test "x$build_alias" != "x$host_alias"; then
851 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
853 test "$silent" = yes && exec 6>/dev
/null
856 # Find the source files, if location was not specified.
857 if test -z "$srcdir"; then
858 ac_srcdir_defaulted
=yes
859 # Try the directory containing this script, then its parent.
860 ac_confdir
=`(dirname "$0") 2>/dev/null ||
861 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
862 X"$0" : 'X\(//\)[^/]' \| \
863 X"$0" : 'X\(//\)$' \| \
864 X"$0" : 'X\(/\)' \| \
865 . : '\(.\)' 2>/dev/null ||
867 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
868 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
869 /^X\(\/\/\)$/{ s//\1/; q; }
870 /^X\(\/\).*/{ s//\1/; q; }
873 if test ! -r $srcdir/$ac_unique_file; then
877 ac_srcdir_defaulted
=no
879 if test ! -r $srcdir/$ac_unique_file; then
880 if test "$ac_srcdir_defaulted" = yes; then
881 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
882 { (exit 1); exit 1; }; }
884 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
885 { (exit 1); exit 1; }; }
888 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
889 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
890 { (exit 1); exit 1; }; }
891 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
892 ac_env_build_alias_set
=${build_alias+set}
893 ac_env_build_alias_value
=$build_alias
894 ac_cv_env_build_alias_set
=${build_alias+set}
895 ac_cv_env_build_alias_value
=$build_alias
896 ac_env_host_alias_set
=${host_alias+set}
897 ac_env_host_alias_value
=$host_alias
898 ac_cv_env_host_alias_set
=${host_alias+set}
899 ac_cv_env_host_alias_value
=$host_alias
900 ac_env_target_alias_set
=${target_alias+set}
901 ac_env_target_alias_value
=$target_alias
902 ac_cv_env_target_alias_set
=${target_alias+set}
903 ac_cv_env_target_alias_value
=$target_alias
904 ac_env_CPP_set
=${CPP+set}
905 ac_env_CPP_value
=$CPP
906 ac_cv_env_CPP_set
=${CPP+set}
907 ac_cv_env_CPP_value
=$CPP
908 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
909 ac_env_CPPFLAGS_value
=$CPPFLAGS
910 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
911 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
912 ac_env_CXX_set
=${CXX+set}
913 ac_env_CXX_value
=$CXX
914 ac_cv_env_CXX_set
=${CXX+set}
915 ac_cv_env_CXX_value
=$CXX
916 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
917 ac_env_CXXFLAGS_value
=$CXXFLAGS
918 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
919 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
920 ac_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_env_LDFLAGS_value
=$LDFLAGS
922 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
923 ac_cv_env_LDFLAGS_value
=$LDFLAGS
924 ac_env_CXXCPP_set
=${CXXCPP+set}
925 ac_env_CXXCPP_value
=$CXXCPP
926 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
927 ac_cv_env_CXXCPP_value
=$CXXCPP
930 # Report the --help message.
932 if test "$ac_init_help" = "long"; then
933 # Omit some internal or obsolete options to make the list less imposing.
934 # This message is too long to be a string in the A/UX 3.1 sh.
936 \`configure' configures libjava version-unused to adapt to many kinds of systems.
938 Usage: $0 [OPTION]... [VAR=VALUE]...
940 To assign environment variables (e.g., CC, CFLAGS...), specify them as
941 VAR=VALUE. See below for descriptions of some of the useful variables.
943 Defaults for the options are specified in brackets.
946 -h, --help display this help and exit
947 --help=short display options specific to this package
948 --help=recursive display the short help of all the included packages
949 -V, --version display version information and exit
950 -q, --quiet, --silent do not print \`checking...' messages
951 --cache-file=FILE cache test results in FILE [disabled]
952 -C, --config-cache alias for \`--cache-file=config.cache'
953 -n, --no-create do not create output files
954 --srcdir=DIR find the sources in DIR [configure dir or \`..']
959 Installation directories:
960 --prefix=PREFIX install architecture-independent files in PREFIX
962 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
965 By default, \`make install' will install all the files in
966 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
967 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
968 for instance \`--prefix=\$HOME'.
970 For better control, use the options below.
972 Fine tuning of the installation directories:
973 --bindir=DIR user executables [EPREFIX/bin]
974 --sbindir=DIR system admin executables [EPREFIX/sbin]
975 --libexecdir=DIR program executables [EPREFIX/libexec]
976 --datadir=DIR read-only architecture-independent data [PREFIX/share]
977 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
978 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
979 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
980 --libdir=DIR object code libraries [EPREFIX/lib]
981 --includedir=DIR C header files [PREFIX/include]
982 --oldincludedir=DIR C header files for non-gcc [/usr/include]
983 --infodir=DIR info documentation [PREFIX/info]
984 --mandir=DIR man documentation [PREFIX/man]
990 --program-prefix=PREFIX prepend PREFIX to installed program names
991 --program-suffix=SUFFIX append SUFFIX to installed program names
992 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
995 --x-includes=DIR X include files are
in DIR
996 --x-libraries=DIR X library files are
in DIR
999 --build=BUILD configure
for building on BUILD
[guessed
]
1000 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1001 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1005 if test -n "$ac_init_help"; then
1006 case $ac_init_help in
1007 short | recursive
) echo "Configuration of libjava version-unused:";;
1012 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1013 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1014 --enable-multilib build many library versions
(default
)
1015 --enable-version-specific-runtime-libs
1016 specify that runtime libraries should be installed
1017 in a compiler-specific directory
1018 --enable-plugin build gcjwebplugin web browser plugin
1019 --enable-gconf-peer compile GConf native peers
for util.preferences
1020 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1022 --enable-java-maintainer-mode
1023 allow rebuilding of .class and .h files
1024 --disable-dependency-tracking speeds up one-time build
1025 --enable-dependency-tracking do not reject slow dependency extractors
1026 --enable-maintainer-mode enable make rules and dependencies not useful
1027 (and sometimes confusing
) to the casual installer
1028 --enable-libgcj-debug enable runtime debugging code
1029 --enable-java-awt list of AWT peer implementations to be built
1030 --enable-shared[=PKGS
]
1031 build shared libraries
[default
=yes]
1032 --enable-static[=PKGS
]
1033 build static libraries
[default
=yes]
1034 --enable-fast-install[=PKGS
]
1035 optimize
for fast installation
[default
=yes]
1036 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1037 --disable-getenv-properties
1038 don
't set system properties from GCJ_PROPERTIES
1039 --enable-hash-synchronization
1040 use global hash table for monitor locks
1041 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1043 --enable-reduced-reflection
1044 enable or disable(default) -freduced-reflection when
1045 building portions of libgcj
1046 --enable-gc-debug include full support for pointer backtracing etc.
1047 --enable-interpreter enable interpreter
1048 --enable-sjlj-exceptions
1049 force use of builtin_setjmp for exceptions
1050 --disable-java-net disable java.net
1051 --disable-jvmpi disable JVMPI support
1052 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1053 --disable-rpath do not hardcode runtime library paths
1054 --enable-tls Use thread-local storage [default=yes]
1055 --enable-aot-compile-rpm
1056 enable installation of aot-compile-rpm [default=no]
1057 --enable-java-home create a standard JDK-style directory layout in the
1058 install tree [default=no]
1061 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1062 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1063 --with-build-libsubdir=DIR Directory where to find libraries for build system
1064 --with-target-subdir=SUBDIR
1065 configure in a subdirectory
1066 --with-cross-host=HOST configure with a cross compiler from HOST
1067 --with-newlib configure with newlib
1068 --with-antlr-jar=file Use ANTLR from the specified jar file
1069 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1070 --with-pic try to use only PIC/non-PIC objects [default=use
1072 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1073 --with-ecj-jar=FILE use preinstalled ecj jar
1074 --with-java-home=DIRECTORY
1075 value of java.home system property
1076 --with-win32-nlsapi=ansi or unicows or unicode
1077 native MinGW libgcj Win32 OS API (default is ansi)
1078 --without-libffi don't use libffi
1079 --with-ecos enable runtime eCos target support
1080 --with-system-zlib use installed libz
1081 --with-x use the X Window System
1082 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1083 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1084 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1085 --with-system-libunwind use installed libunwind
1086 --with-python-dir the location to install Python modules. This path
1087 should NOT include the prefix.
1088 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1089 --with-arch-directory the arch directory under jre/lib (defaults to
1091 --with-os-directory the os directory under include (defaults to
1093 --with-origin-name the JPackage origin name of this package (default is
1095 --with-arch-suffix the arch directory suffix (default is the empty
1097 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1098 --with-jvm-jar-dir where to install jars (default is
1099 ${prefix}/lib/jvm-exports)
1101 Some influential environment variables:
1102 CC C compiler command
1103 CFLAGS C compiler flags
1104 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1105 nonstandard directory <lib dir>
1106 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1107 headers in a nonstandard directory <include dir>
1108 CXX C++ compiler command
1109 CXXFLAGS C++ compiler flags
1111 CXXCPP C++ preprocessor
1113 Use these variables to override the choices made by `configure' or to
help
1114 it to
find libraries and programs with nonstandard names
/locations.
1119 if test "$ac_init_help" = "recursive"; then
1120 # If there are subdirs, report their specific --help.
1122 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1123 test -d $ac_dir ||
continue
1126 if test "$ac_dir" != .
; then
1127 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1128 # A "../" for each directory in $ac_dir_suffix.
1129 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1131 ac_dir_suffix
= ac_top_builddir
=
1135 .
) # No --srcdir option. We are building in place.
1137 if test -z "$ac_top_builddir"; then
1140 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1142 [\\/]* | ?
:[\\/]* ) # Absolute path.
1143 ac_srcdir
=$srcdir$ac_dir_suffix;
1144 ac_top_srcdir
=$srcdir ;;
1146 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1147 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1150 # Do not use `cd foo && pwd` to compute absolute paths, because
1151 # the directories may not exist.
1153 .
) ac_abs_builddir
="$ac_dir";;
1156 .
) ac_abs_builddir
=`pwd`;;
1157 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1158 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1161 case $ac_abs_builddir in
1162 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1164 case ${ac_top_builddir}.
in
1165 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1166 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1167 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1170 case $ac_abs_builddir in
1171 .
) ac_abs_srcdir
=$ac_srcdir;;
1174 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1175 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1176 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1179 case $ac_abs_builddir in
1180 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1182 case $ac_top_srcdir in
1183 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1184 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1185 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1190 # Check for guested configure; otherwise get Cygnus style configure.
1191 if test -f $ac_srcdir/configure.gnu
; then
1193 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1194 elif test -f $ac_srcdir/configure
; then
1196 $SHELL $ac_srcdir/configure
--help=recursive
1197 elif test -f $ac_srcdir/configure.ac ||
1198 test -f $ac_srcdir/configure.
in; then
1200 $ac_configure --help
1202 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1208 test -n "$ac_init_help" && exit 0
1209 if $ac_init_version; then
1211 libjava configure version-unused
1212 generated by GNU Autoconf
2.59
1214 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1215 This configure
script is free software
; the Free Software Foundation
1216 gives unlimited permission to copy
, distribute and modify it.
1222 This file contains any messages produced by compilers while
1223 running configure, to aid debugging if configure makes a mistake.
1225 It was created by libjava $as_me version-unused, which was
1226 generated by GNU Autoconf 2.59. Invocation command line was
1237 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1238 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1239 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1240 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1241 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1243 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1244 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1246 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1247 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1248 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1249 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1250 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1251 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1252 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1260 test -z "$as_dir" && as_dir
=.
1261 echo "PATH: $as_dir"
1276 # Keep a trace of the command line.
1277 # Strip out --no-create and --no-recursion so they do not pile up.
1278 # Strip out --silent because we don't want to record it for future runs.
1279 # Also quote any args containing shell meta-characters.
1280 # Make two passes to allow for proper duplicate-argument suppression.
1285 ac_must_keep_next
=false
1291 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1292 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1293 |
-silent |
--silent |
--silen |
--sile |
--sil)
1295 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1296 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1299 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1301 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1302 if test $ac_must_keep_next = true
; then
1303 ac_must_keep_next
=false
# Got value, back to normal.
1306 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1307 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1308 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1309 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1310 case "$ac_configure_args0 " in
1311 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1314 -* ) ac_must_keep_next
=true
;;
1317 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1318 # Get rid of the leading space.
1324 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1325 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1327 # When interrupted or exit'd, cleanup temporary files, and complete
1328 # config.log. We remove comments because anyway the quotes in there
1329 # would cause problems or look ugly.
1330 # WARNING: Be sure not to use single quotes in there, as some shells,
1331 # such as our DU 5.0 friend, will then `close' the trap.
1332 trap 'exit_status=$?
1333 # Save into config.log some information that might help in debugging.
1338 ## ---------------- ##
1339 ## Cache variables. ##
1340 ## ---------------- ##
1343 # The following way of writing the cache mishandles newlines in values,
1346 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1349 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1354 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1361 ## ----------------- ##
1362 ## Output variables. ##
1363 ## ----------------- ##
1366 for ac_var in $ac_subst_vars
1368 eval ac_val=$`echo $ac_var`
1369 echo "$ac_var='"'"'$ac_val'"'"'"
1373 if test -n "$ac_subst_files"; then
1380 for ac_var in $ac_subst_files
1382 eval ac_val=$`echo $ac_var`
1383 echo "$ac_var='"'"'$ac_val'"'"'"
1388 if test -s confdefs.h; then
1395 sed "/^$/d" confdefs.h | sort
1398 test "$ac_signal" != 0 &&
1399 echo "$as_me: caught signal $ac_signal"
1400 echo "$as_me: exit $exit_status"
1402 rm -f core *.core &&
1403 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1406 for ac_signal
in 1 2 13 15; do
1407 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1411 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1412 rm -rf conftest
* confdefs.h
1413 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1416 # Predefined preprocessor variables.
1418 cat >>confdefs.h
<<_ACEOF
1419 #define PACKAGE_NAME "$PACKAGE_NAME"
1423 cat >>confdefs.h
<<_ACEOF
1424 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1428 cat >>confdefs.h
<<_ACEOF
1429 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1433 cat >>confdefs.h
<<_ACEOF
1434 #define PACKAGE_STRING "$PACKAGE_STRING"
1438 cat >>confdefs.h
<<_ACEOF
1439 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1443 # Let the site file select an alternate cache file if it wants to.
1444 # Prefer explicitly selected file to automatically selected ones.
1445 if test -z "$CONFIG_SITE"; then
1446 if test "x$prefix" != xNONE
; then
1447 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1449 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1452 for ac_site_file
in $CONFIG_SITE; do
1453 if test -r "$ac_site_file"; then
1454 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1455 echo "$as_me: loading site script $ac_site_file" >&6;}
1456 sed 's/^/| /' "$ac_site_file" >&5
1461 if test -r "$cache_file"; then
1462 # Some versions of bash will fail to source /dev/null (special
1463 # files actually), so we avoid doing that.
1464 if test -f "$cache_file"; then
1465 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1466 echo "$as_me: loading cache $cache_file" >&6;}
1468 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1469 *) . .
/$cache_file;;
1473 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1474 echo "$as_me: creating cache $cache_file" >&6;}
1478 # Check that the precious variables saved in the cache have kept the same
1480 ac_cache_corrupted
=false
1481 for ac_var
in `(set) 2>&1 |
1482 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1483 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1484 eval ac_new_set
=\
$ac_env_${ac_var}_set
1485 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1486 eval ac_new_val
="\$ac_env_${ac_var}_value"
1487 case $ac_old_set,$ac_new_set in
1489 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1490 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1491 ac_cache_corrupted
=: ;;
1493 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1494 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1495 ac_cache_corrupted
=: ;;
1498 if test "x$ac_old_val" != "x$ac_new_val"; then
1499 # differences in whitespace do not lead to failure.
1500 ac_old_val_w
=`echo x $ac_old_val`
1501 ac_new_val_w
=`echo x $ac_new_val`
1502 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1503 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1504 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1505 ac_cache_corrupted
=:
1507 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1508 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1509 eval $ac_var=\
$ac_old_val
1511 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1512 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1513 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1514 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1517 # Pass precious variables to config.status.
1518 if test "$ac_new_set" = set; then
1520 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1521 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1522 *) ac_arg
=$ac_var=$ac_new_val ;;
1524 case " $ac_configure_args " in
1525 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1526 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1530 if $ac_cache_corrupted; then
1531 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1532 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1533 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1534 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1535 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1536 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1537 { (exit 1); exit 1; }; }
1541 ac_cpp
='$CPP $CPPFLAGS'
1542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1579 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1580 if test -f $ac_dir/install-sh
; then
1582 ac_install_sh
="$ac_aux_dir/install-sh -c"
1584 elif test -f $ac_dir/install.sh
; then
1586 ac_install_sh
="$ac_aux_dir/install.sh -c"
1588 elif test -f $ac_dir/shtool
; then
1590 ac_install_sh
="$ac_aux_dir/shtool install -c"
1594 if test -z "$ac_aux_dir"; then
1595 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1596 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1597 { (exit 1); exit 1; }; }
1599 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1600 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1601 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1603 # Make sure we can run config.sub.
1604 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1605 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1606 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1607 { (exit 1); exit 1; }; }
1609 echo "$as_me:$LINENO: checking build system type" >&5
1610 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1611 if test "${ac_cv_build+set}" = set; then
1612 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 ac_cv_build_alias
=$build_alias
1615 test -z "$ac_cv_build_alias" &&
1616 ac_cv_build_alias
=`$ac_config_guess`
1617 test -z "$ac_cv_build_alias" &&
1618 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1619 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1620 { (exit 1); exit 1; }; }
1621 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1622 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1623 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1624 { (exit 1); exit 1; }; }
1627 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1628 echo "${ECHO_T}$ac_cv_build" >&6
1630 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1631 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1632 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1635 case ${build_alias} in
1636 "") build_noncanonical
=${build} ;;
1637 *) build_noncanonical
=${build_alias} ;;
1640 case ${host_alias} in
1641 "") host_noncanonical
=${build_noncanonical} ;;
1642 *) host_noncanonical
=${host_alias} ;;
1645 case ${target_alias} in
1646 "") target_noncanonical
=${host_noncanonical} ;;
1647 *) target_noncanonical
=${target_alias} ;;
1651 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1652 # have matching libraries, they should use host libraries: Makefile.tpl
1653 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1654 # However, they still use the build modules, because the corresponding
1655 # host modules (e.g. bison) are only built for the host when bootstrap
1657 # - build_subdir is where we find build modules, and never changes.
1658 # - build_libsubdir is where we find build libraries, and can be overridden.
1660 # Prefix 'build-' so this never conflicts with target_subdir.
1661 build_subdir
="build-${build_noncanonical}"
1663 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1664 if test "${with_build_libsubdir+set}" = set; then
1665 withval
="$with_build_libsubdir"
1666 build_libsubdir
="$withval"
1668 build_libsubdir
="$build_subdir"
1670 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1671 if ( test $srcdir = .
&& test -d gcc
) \
1672 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
1673 host_subdir
="host-${host_noncanonical}"
1678 target_subdir
=${target_noncanonical}
1681 # We use these options to decide which functions to include.
1683 # Check whether --with-target-subdir or --without-target-subdir was given.
1684 if test "${with_target_subdir+set}" = set; then
1685 withval
="$with_target_subdir"
1689 # We may get other options which we don't document:
1690 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1692 # Find the rest of the source tree framework.
1693 # Default to --enable-multilib
1694 # Check whether --enable-multilib or --disable-multilib was given.
1695 if test "${enable_multilib+set}" = set; then
1696 enableval
="$enable_multilib"
1697 case "$enableval" in
1698 yes) multilib
=yes ;;
1700 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1701 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1702 { (exit 1); exit 1; }; } ;;
1708 # We may get other options which we leave undocumented:
1709 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1710 # See config-ml.in if you want the gory details.
1712 if test "$srcdir" = "."; then
1713 if test "$with_target_subdir" != "."; then
1714 multi_basedir
="$srcdir/$with_multisrctop../.."
1716 multi_basedir
="$srcdir/$with_multisrctop.."
1719 multi_basedir
="$srcdir/.."
1723 # Even if the default multilib is not a cross compilation,
1724 # it may be that some of the other multilibs are.
1725 if test $cross_compiling = no
&& test $multilib = yes \
1726 && test "x${with_multisubdir}" != x
; then
1727 cross_compiling
=maybe
1730 ac_config_commands
="$ac_config_commands default-1"
1733 echo "$as_me:$LINENO: checking host system type" >&5
1734 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1735 if test "${ac_cv_host+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 ac_cv_host_alias
=$host_alias
1739 test -z "$ac_cv_host_alias" &&
1740 ac_cv_host_alias
=$ac_cv_build_alias
1741 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1742 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1743 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1744 { (exit 1); exit 1; }; }
1747 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1748 echo "${ECHO_T}$ac_cv_host" >&6
1750 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1751 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1752 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1755 echo "$as_me:$LINENO: checking target system type" >&5
1756 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1757 if test "${ac_cv_target+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 ac_cv_target_alias
=$target_alias
1761 test "x$ac_cv_target_alias" = "x" &&
1762 ac_cv_target_alias
=$ac_cv_host_alias
1763 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1764 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1765 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1766 { (exit 1); exit 1; }; }
1769 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1770 echo "${ECHO_T}$ac_cv_target" >&6
1771 target
=$ac_cv_target
1772 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1773 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1774 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1777 # The aliases save the names the user supplied, while $host etc.
1778 # will get canonicalized.
1779 test -n "$target_alias" &&
1780 test "$program_prefix$program_suffix$program_transform_name" = \
1782 program_prefix
=${target_alias}-
1783 case ${build_alias} in
1784 "") build_noncanonical
=${build} ;;
1785 *) build_noncanonical
=${build_alias} ;;
1788 case ${target_alias} in
1789 "") target_noncanonical
=${host_noncanonical} ;;
1790 *) target_noncanonical
=${target_alias} ;;
1796 # This works around the fact that libtool configuration may change LD
1797 # for this particular configuration, but some shells, instead of
1798 # keeping the changes in LD private, export them just because LD is
1800 ORIGINAL_LD_FOR_MULTILIBS
=$LD
1802 echo "$as_me:$LINENO: checking whether ln -s works" >&5
1803 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1805 if test "$LN_S" = "ln -s"; then
1806 echo "$as_me:$LINENO: result: yes" >&5
1807 echo "${ECHO_T}yes" >&6
1809 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1810 echo "${ECHO_T}no, using $LN_S" >&6
1814 # This works around an automake problem.
1815 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
1819 # Check whether --with-cross-host or --without-cross-host was given.
1820 if test "${with_cross_host+set}" = set; then
1821 withval
="$with_cross_host"
1826 # Check whether --with-newlib or --without-newlib was given.
1827 if test "${with_newlib+set}" = set; then
1828 withval
="$with_newlib"
1832 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1833 if test "${enable_version_specific_runtime_libs+set}" = set; then
1834 enableval
="$enable_version_specific_runtime_libs"
1835 case "$enableval" in
1836 yes) version_specific_libs
=yes ;;
1837 no
) version_specific_libs
=no
;;
1838 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1839 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1840 { (exit 1); exit 1; }; };;
1843 version_specific_libs
=no
1847 # Check whether --enable-plugin or --disable-plugin was given.
1848 if test "${enable_plugin+set}" = set; then
1849 enableval
="$enable_plugin"
1850 case "$enableval" in
1851 yes) plugin_enabled
=yes ;;
1852 no
) plugin_enabled
=no
;;
1853 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable plugin" >&5
1854 echo "$as_me: error: Unknown argument to enable/disable plugin" >&2;}
1855 { (exit 1); exit 1; }; };;
1862 # Check whether --enable-gconf-peer or --disable-gconf-peer was given.
1863 if test "${enable_gconf_peer+set}" = set; then
1864 enableval
="$enable_gconf_peer"
1865 case "$enableval" in
1866 yes) gconf_enabled
=yes ;;
1867 no
) gconf_enabled
=no
;;
1868 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable gconf-peer" >&5
1869 echo "$as_me: error: Unknown argument to enable/disable gconf-peer" >&2;}
1870 { (exit 1); exit 1; }; };;
1878 # Check whether --with-antlr-jar or --without-antlr-jar was given.
1879 if test "${with_antlr_jar+set}" = set; then
1880 withval
="$with_antlr_jar"
1890 echo "$as_me:$LINENO: checking for antlr.jar" >&5
1891 echo $ECHO_N "checking for antlr.jar... $ECHO_C" >&6
1892 if test "x$ANTLR_JAR" = x
; then
1893 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
1894 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
1896 if test -f "$antlr_lib_home/antlr.jar"; then
1897 # FIXME: version check for antlr needed without using a VM
1898 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
1902 if test "x$ANTLR_JAR" = x
; then
1903 echo "$as_me:$LINENO: result: not found" >&5
1904 echo "${ECHO_T}not found" >&6
1906 echo "$as_me:$LINENO: result: $ANTLR_JAR" >&5
1907 echo "${ECHO_T}$ANTLR_JAR" >&6
1910 if test -f "${ANTLR_JAR}"; then
1911 echo "$as_me:$LINENO: result: $ANTLR_JAR" >&5
1912 echo "${ECHO_T}$ANTLR_JAR" >&6
1914 { { echo "$as_me:$LINENO: error: antlr jar file not found: $ANTLR_JAR" >&5
1915 echo "$as_me: error: antlr jar file not found: $ANTLR_JAR" >&2;}
1916 { (exit 1); exit 1; }; }
1921 # Check whether --enable-gjdoc or --disable-gjdoc was given.
1922 if test "${enable_gjdoc+set}" = set; then
1923 enableval
="$enable_gjdoc"
1924 case "${enableval}" in
1925 yes) BUILD_GJDOC
=yes ;;
1926 no
) BUILD_GJDOC
=no
;;
1927 *) BUILD_GJDOC
=yes ;;
1933 echo "$as_me:$LINENO: checking whether to build gjdoc" >&5
1934 echo $ECHO_N "checking whether to build gjdoc... $ECHO_C" >&6
1935 if test "x$BUILD_GJDOC" = xmaybe
; then
1936 if test -f "${ANTLR_JAR}"; then
1938 echo "$as_me:$LINENO: result: yes" >&5
1939 echo "${ECHO_T}yes" >&6
1942 echo "$as_me:$LINENO: result: no, antlr.jar not found" >&5
1943 echo "${ECHO_T}no, antlr.jar not found" >&6
1946 echo "$as_me:$LINENO: result: $BUILD_GJDOC" >&5
1947 echo "${ECHO_T}$BUILD_GJDOC" >&6
1951 if test "x${BUILD_GJDOC}" = xyes
; then
1953 CREATE_GJDOC_FALSE
='#'
1955 CREATE_GJDOC_TRUE
='#'
1960 # Check whether --enable-java-maintainer-mode or --disable-java-maintainer-mode was given.
1961 if test "${enable_java_maintainer_mode+set}" = set; then
1962 enableval
="$enable_java_maintainer_mode"
1967 if test "$enable_java_maintainer_mode" = yes; then
1968 JAVA_MAINTAINER_MODE_TRUE
=
1969 JAVA_MAINTAINER_MODE_FALSE
='#'
1971 JAVA_MAINTAINER_MODE_TRUE
='#'
1972 JAVA_MAINTAINER_MODE_FALSE
=
1976 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
1979 # (1) We use an abnormal CXX (without library references), so we
1980 # must cache it under a different name.
1981 # (2) CC, CFLAGS, CXX, CXXFLAGS, LDFLAGS must not be 'precious', or
1982 # the non-multilib-adjusted value will be used in multilibs.
1983 # (3) As a side effect, we must SUBST CXXFLAGS, CFLAGS, and LDFLAGS ourselves.
1984 # (4) As another side effect, automake doesn't automatically include them
1986 # (5) For libstdc++-v3, -fno-builtin must be present here so that a
1987 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
1988 # used in later tests. This may not be necessary in libjava; I don't know.
1991 save_CXXFLAGS
="$CXXFLAGS"
1992 CXXFLAGS
="$CXXFLAGS -fno-builtin"
1994 ac_cpp
='$CPP $CPPFLAGS'
1995 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1996 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1997 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1998 if test -n "$ac_tool_prefix"; then
1999 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2000 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_prog_CC+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 if test -n "$CC"; then
2007 ac_cv_prog_CC
="$CC" # Let the user override the test.
2009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2013 test -z "$as_dir" && as_dir
=.
2014 for ac_exec_ext
in '' $ac_executable_extensions; do
2015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2026 if test -n "$CC"; then
2027 echo "$as_me:$LINENO: result: $CC" >&5
2028 echo "${ECHO_T}$CC" >&6
2030 echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2035 if test -z "$ac_cv_prog_CC"; then
2037 # Extract the first word of "gcc", so it can be a program name with args.
2038 set dummy gcc
; ac_word
=$2
2039 echo "$as_me:$LINENO: checking for $ac_word" >&5
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 if test -n "$ac_ct_CC"; then
2045 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir
=.
2052 for ac_exec_ext
in '' $ac_executable_extensions; do
2053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054 ac_cv_prog_ac_ct_CC
="gcc"
2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2064 if test -n "$ac_ct_CC"; then
2065 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2066 echo "${ECHO_T}$ac_ct_CC" >&6
2068 echo "$as_me:$LINENO: result: no" >&5
2069 echo "${ECHO_T}no" >&6
2077 if test -z "$CC"; then
2078 if test -n "$ac_tool_prefix"; then
2079 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2080 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2081 echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2083 if test "${ac_cv_prog_CC+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2086 if test -n "$CC"; then
2087 ac_cv_prog_CC
="$CC" # Let the user override the test.
2089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2093 test -z "$as_dir" && as_dir
=.
2094 for ac_exec_ext
in '' $ac_executable_extensions; do
2095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 if test -n "$CC"; then
2107 echo "$as_me:$LINENO: result: $CC" >&5
2108 echo "${ECHO_T}$CC" >&6
2110 echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6
2115 if test -z "$ac_cv_prog_CC"; then
2117 # Extract the first word of "cc", so it can be a program name with args.
2118 set dummy cc
; ac_word
=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 if test -n "$ac_ct_CC"; then
2125 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2131 test -z "$as_dir" && as_dir
=.
2132 for ac_exec_ext
in '' $ac_executable_extensions; do
2133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134 ac_cv_prog_ac_ct_CC
="cc"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2143 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2144 if test -n "$ac_ct_CC"; then
2145 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2146 echo "${ECHO_T}$ac_ct_CC" >&6
2148 echo "$as_me:$LINENO: result: no" >&5
2149 echo "${ECHO_T}no" >&6
2158 if test -z "$CC"; then
2159 # Extract the first word of "cc", so it can be a program name with args.
2160 set dummy cc
; ac_word
=$2
2161 echo "$as_me:$LINENO: checking for $ac_word" >&5
2162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2163 if test "${ac_cv_prog_CC+set}" = set; then
2164 echo $ECHO_N "(cached) $ECHO_C" >&6
2166 if test -n "$CC"; then
2167 ac_cv_prog_CC
="$CC" # Let the user override the test.
2170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2174 test -z "$as_dir" && as_dir
=.
2175 for ac_exec_ext
in '' $ac_executable_extensions; do
2176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2178 ac_prog_rejected
=yes
2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 if test $ac_prog_rejected = yes; then
2189 # We found a bogon in the path, so make sure we never use it.
2190 set dummy
$ac_cv_prog_CC
2192 if test $# != 0; then
2193 # We chose a different compiler from the bogus one.
2194 # However, it has the same basename, so the bogon will be chosen
2195 # first if we set CC to just the basename; use the full file name.
2197 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2203 if test -n "$CC"; then
2204 echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6
2207 echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6
2212 if test -z "$CC"; then
2213 if test -n "$ac_tool_prefix"; then
2216 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2217 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2218 echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2220 if test "${ac_cv_prog_CC+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 if test -n "$CC"; then
2224 ac_cv_prog_CC
="$CC" # Let the user override the test.
2226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir
=.
2231 for ac_exec_ext
in '' $ac_executable_extensions; do
2232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2233 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 if test -n "$CC"; then
2244 echo "$as_me:$LINENO: result: $CC" >&5
2245 echo "${ECHO_T}$CC" >&6
2247 echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6
2251 test -n "$CC" && break
2254 if test -z "$CC"; then
2258 # Extract the first word of "$ac_prog", so it can be a program name with args.
2259 set dummy
$ac_prog; ac_word
=$2
2260 echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2262 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2263 echo $ECHO_N "(cached) $ECHO_C" >&6
2265 if test -n "$ac_ct_CC"; then
2266 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2272 test -z "$as_dir" && as_dir
=.
2273 for ac_exec_ext
in '' $ac_executable_extensions; do
2274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2275 ac_cv_prog_ac_ct_CC
="$ac_prog"
2276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2285 if test -n "$ac_ct_CC"; then
2286 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2287 echo "${ECHO_T}$ac_ct_CC" >&6
2289 echo "$as_me:$LINENO: result: no" >&5
2290 echo "${ECHO_T}no" >&6
2293 test -n "$ac_ct_CC" && break
2302 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2303 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2304 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2305 See \`config.log' for more details." >&5
2306 echo "$as_me: error: no acceptable C compiler found in \$PATH
2307 See \`config.log' for more details." >&2;}
2308 { (exit 1); exit 1; }; }; }
2310 # Provide some information about the compiler.
2311 echo "$as_me:$LINENO:" \
2312 "checking for C compiler version" >&5
2313 ac_compiler
=`set X $ac_compile; echo $2`
2314 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2315 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }
2319 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2320 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }
2324 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2325 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }
2330 cat >conftest.
$ac_ext <<_ACEOF
2333 cat confdefs.h
>>conftest.
$ac_ext
2334 cat >>conftest.
$ac_ext <<_ACEOF
2335 /* end confdefs.h. */
2346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2347 (eval $ac_link) 2>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }; then
2356 if test x
$gcc_no_link = xyes
; then
2357 # Setting cross_compile will disable run tests; it will
2358 # also disable AC_CHECK_FILE but that's generally
2359 # correct if we can't link.
2363 cat >conftest.
$ac_ext <<_ACEOF
2366 cat confdefs.h
>>conftest.
$ac_ext
2367 cat >>conftest.
$ac_ext <<_ACEOF
2368 /* end confdefs.h. */
2378 ac_clean_files_save
=$ac_clean_files
2379 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2380 # Try to create an executable without -o first, disregard a.out.
2381 # It will help us diagnose broken compilers, and finding out an intuition
2383 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2384 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2385 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2386 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2387 (eval $ac_link_default) 2>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; then
2391 # Find the output, starting from the most likely. This scheme is
2392 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2395 # Be careful to initialize this variable, since it used to be cached.
2396 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2398 # b.out is created by i960 compilers.
2399 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2401 test -f "$ac_file" ||
continue
2403 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2406 # This is the source file.
2409 # We found the default executable, but exeext='' is most
2413 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2414 # FIXME: I believe we export ac_cv_exeext for Libtool,
2415 # but it would be cool to find out if it's true. Does anybody
2416 # maintain Libtool? --akim.
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.
$ac_ext >&5
2427 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2428 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2430 See \`config.log' for more details." >&5
2431 echo "$as_me: error: C compiler cannot create executables
2432 See \`config.log' for more details." >&2;}
2433 { (exit 77); exit 77; }; }; }
2436 ac_exeext
=$ac_cv_exeext
2437 echo "$as_me:$LINENO: result: $ac_file" >&5
2438 echo "${ECHO_T}$ac_file" >&6
2440 # Check the compiler produces executables we can run. If not, either
2441 # the compiler is broken, or we cross compile.
2442 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2443 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2444 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2445 # If not cross compiling, check that we can run a simple program.
2446 if test "$cross_compiling" != yes; then
2447 if { ac_try
='./$ac_file'
2448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); }; }; then
2455 if test "$cross_compiling" = maybe
; then
2458 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2459 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2460 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2461 If you meant to cross compile, use \`--host'.
2462 See \`config.log' for more details." >&5
2463 echo "$as_me: error: cannot run C compiled programs.
2464 If you meant to cross compile, use \`--host'.
2465 See \`config.log' for more details." >&2;}
2466 { (exit 1); exit 1; }; }; }
2470 echo "$as_me:$LINENO: result: yes" >&5
2471 echo "${ECHO_T}yes" >&6
2473 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2474 ac_clean_files
=$ac_clean_files_save
2475 # Check the compiler produces executables we can run. If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2478 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2479 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2480 echo "${ECHO_T}$cross_compiling" >&6
2482 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2483 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2485 (eval $ac_link) 2>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; then
2489 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2490 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2491 # work properly (i.e., refer to `conftest.exe'), while it won't with
2493 for ac_file
in conftest.exe conftest conftest.
*; do
2494 test -f "$ac_file" ||
continue
2496 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2497 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2504 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2505 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2506 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2507 See \`config.log' for more details." >&5
2508 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2509 See \`config.log' for more details." >&2;}
2510 { (exit 1); exit 1; }; }; }
2513 rm -f conftest
$ac_cv_exeext
2514 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2515 echo "${ECHO_T}$ac_cv_exeext" >&6
2517 rm -f conftest.
$ac_ext
2518 EXEEXT
=$ac_cv_exeext
2521 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2522 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2523 if test "${ac_cv_objext+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 cat >conftest.
$ac_ext <<_ACEOF
2529 cat confdefs.h
>>conftest.
$ac_ext
2530 cat >>conftest.
$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2541 rm -f conftest.o conftest.obj
2542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543 (eval $ac_compile) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2549 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2550 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2555 echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.
$ac_ext >&5
2558 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2559 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }; }
2567 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2569 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2570 echo "${ECHO_T}$ac_cv_objext" >&6
2571 OBJEXT
=$ac_cv_objext
2573 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2574 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2575 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 cat >conftest.
$ac_ext <<_ACEOF
2581 cat confdefs.h
>>conftest.
$ac_ext
2582 cat >>conftest.
$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2596 rm -f conftest.
$ac_objext
2597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>conftest.er1
2600 grep -v '^ *+' conftest.er1
>conftest.err
2602 cat conftest.err
>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try
='test -z "$ac_c_werror_flag"
2606 || test ! -s conftest.err'
2607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611 (exit $ac_status); }; } &&
2612 { ac_try
='test -s conftest.$ac_objext'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; }; then
2620 echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.
$ac_ext >&5
2625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2626 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2629 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2630 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2631 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2632 ac_test_CFLAGS
=${CFLAGS+set}
2633 ac_save_CFLAGS
=$CFLAGS
2635 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2636 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2637 if test "${ac_cv_prog_cc_g+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 cat >conftest.
$ac_ext <<_ACEOF
2643 cat confdefs.h
>>conftest.
$ac_ext
2644 cat >>conftest.
$ac_ext <<_ACEOF
2645 /* end confdefs.h. */
2655 rm -f conftest.
$ac_objext
2656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2657 (eval $ac_compile) 2>conftest.er1
2659 grep -v '^ *+' conftest.er1
>conftest.err
2661 cat conftest.err
>&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } &&
2664 { ac_try
='test -z "$ac_c_werror_flag"
2665 || test ! -s conftest.err'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; } &&
2671 { ac_try
='test -s conftest.$ac_objext'
2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; }; then
2679 echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.
$ac_ext >&5
2684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2686 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2687 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2688 if test "$ac_test_CFLAGS" = set; then
2689 CFLAGS
=$ac_save_CFLAGS
2690 elif test $ac_cv_prog_cc_g = yes; then
2691 if test "$GCC" = yes; then
2697 if test "$GCC" = yes; then
2703 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2704 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2705 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2706 echo $ECHO_N "(cached) $ECHO_C" >&6
2708 ac_cv_prog_cc_stdc
=no
2710 cat >conftest.
$ac_ext <<_ACEOF
2713 cat confdefs.h
>>conftest.
$ac_ext
2714 cat >>conftest.
$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2718 #include <sys/types.h>
2719 #include <sys/stat.h>
2720 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2721 struct buf { int x; };
2722 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2723 static char *e (p, i)
2729 static char *f (char * (*g) (char **, int), char **p, ...)
2734 s = g (p, va_arg (v,int));
2739 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2740 function prototypes and stuff, but not '\xHH' hex character constants.
2741 These don't provoke an error unfortunately, instead are silently treated
2742 as 'x'. The following induces an error, until -std1 is added to get
2743 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2744 array size at least. It's necessary to write '\x00'==0 to get something
2745 that's true only with -std1. */
2746 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2748 int test (int i, double x);
2749 struct s1 {int (*f) (int a);};
2750 struct s2 {int (*f) (double a);};
2751 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2757 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2762 # Don't try gcc -ansi; that turns off useful extensions and
2763 # breaks some systems' header files.
2764 # AIX -qlanglvl=ansi
2765 # Ultrix and OSF/1 -std1
2766 # HP-UX 10.20 and later -Ae
2767 # HP-UX older versions -Aa -D_HPUX_SOURCE
2768 # SVR4 -Xc -D__EXTENSIONS__
2769 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2771 CC
="$ac_save_CC $ac_arg"
2772 rm -f conftest.
$ac_objext
2773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2774 (eval $ac_compile) 2>conftest.er1
2776 grep -v '^ *+' conftest.er1
>conftest.err
2778 cat conftest.err
>&5
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); } &&
2781 { ac_try
='test -z "$ac_c_werror_flag"
2782 || test ! -s conftest.err'
2783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 (exit $ac_status); }; } &&
2788 { ac_try
='test -s conftest.$ac_objext'
2789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); }; }; then
2794 ac_cv_prog_cc_stdc
=$ac_arg
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.
$ac_ext >&5
2801 rm -f conftest.err conftest.
$ac_objext
2803 rm -f conftest.
$ac_ext conftest.
$ac_objext
2808 case "x$ac_cv_prog_cc_stdc" in
2810 echo "$as_me:$LINENO: result: none needed" >&5
2811 echo "${ECHO_T}none needed" >&6 ;;
2813 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2814 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2815 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2818 # Some people use a C++ compiler to compile C. Since we use `exit',
2819 # in C++ we need to declare it. In case someone uses the same compiler
2820 # for both compiling C and C++ we need to have the C++ compiler decide
2821 # the declaration of exit, since it's the most demanding environment.
2822 cat >conftest.
$ac_ext <<_ACEOF
2827 rm -f conftest.
$ac_objext
2828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2829 (eval $ac_compile) 2>conftest.er1
2831 grep -v '^ *+' conftest.er1
>conftest.err
2833 cat conftest.err
>&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } &&
2836 { ac_try
='test -z "$ac_c_werror_flag"
2837 || test ! -s conftest.err'
2838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); }; } &&
2843 { ac_try
='test -s conftest.$ac_objext'
2844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }; }; then
2849 for ac_declaration
in \
2851 'extern "C" void std::exit (int) throw (); using std::exit;' \
2852 'extern "C" void std::exit (int); using std::exit;' \
2853 'extern "C" void exit (int) throw ();' \
2854 'extern "C" void exit (int);' \
2857 cat >conftest.
$ac_ext <<_ACEOF
2860 cat confdefs.h
>>conftest.
$ac_ext
2861 cat >>conftest.
$ac_ext <<_ACEOF
2862 /* end confdefs.h. */
2873 rm -f conftest.
$ac_objext
2874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2875 (eval $ac_compile) 2>conftest.er1
2877 grep -v '^ *+' conftest.er1
>conftest.err
2879 cat conftest.err
>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } &&
2882 { ac_try
='test -z "$ac_c_werror_flag"
2883 || test ! -s conftest.err'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; } &&
2889 { ac_try
='test -s conftest.$ac_objext'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; }; then
2897 echo "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.
$ac_ext >&5
2902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2903 cat >conftest.
$ac_ext <<_ACEOF
2906 cat confdefs.h
>>conftest.
$ac_ext
2907 cat >>conftest.
$ac_ext <<_ACEOF
2908 /* end confdefs.h. */
2918 rm -f conftest.
$ac_objext
2919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2920 (eval $ac_compile) 2>conftest.er1
2922 grep -v '^ *+' conftest.er1
>conftest.err
2924 cat conftest.err
>&5
2925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 (exit $ac_status); } &&
2927 { ac_try
='test -z "$ac_c_werror_flag"
2928 || test ! -s conftest.err'
2929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); }; } &&
2934 { ac_try
='test -s conftest.$ac_objext'
2935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2942 echo "$as_me: failed program was:" >&5
2943 sed 's/^/| /' conftest.
$ac_ext >&5
2946 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2949 if test -n "$ac_declaration"; then
2950 echo '#ifdef __cplusplus' >>confdefs.h
2951 echo $ac_declaration >>confdefs.h
2952 echo '#endif' >>confdefs.h
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.
$ac_ext >&5
2960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2962 ac_cpp
='$CPP $CPPFLAGS'
2963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2968 ac_cpp
='$CXXCPP $CPPFLAGS'
2969 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2970 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2971 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2972 if test -n "$ac_tool_prefix"; then
2973 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2975 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2976 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2977 echo "$as_me:$LINENO: checking for $ac_word" >&5
2978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2979 if test "${ac_cv_prog_CXX+set}" = set; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 if test -n "$CXX"; then
2983 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2992 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3002 if test -n "$CXX"; then
3003 echo "$as_me:$LINENO: result: $CXX" >&5
3004 echo "${ECHO_T}$CXX" >&6
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3010 test -n "$CXX" && break
3013 if test -z "$CXX"; then
3015 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy
$ac_prog; ac_word
=$2
3019 echo "$as_me:$LINENO: checking for $ac_word" >&5
3020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3021 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 if test -n "$ac_ct_CXX"; then
3025 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir
=.
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3044 if test -n "$ac_ct_CXX"; then
3045 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3046 echo "${ECHO_T}$ac_ct_CXX" >&6
3048 echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6
3052 test -n "$ac_ct_CXX" && break
3054 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
3060 # Provide some information about the compiler.
3061 echo "$as_me:$LINENO:" \
3062 "checking for C++ compiler version" >&5
3063 ac_compiler
=`set X $ac_compile; echo $2`
3064 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3065 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); }
3069 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3070 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }
3074 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3075 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }
3080 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3081 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3082 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 cat >conftest.
$ac_ext <<_ACEOF
3088 cat confdefs.h
>>conftest.
$ac_ext
3089 cat >>conftest.
$ac_ext <<_ACEOF
3090 /* end confdefs.h. */
3103 rm -f conftest.
$ac_objext
3104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105 (eval $ac_compile) 2>conftest.er1
3107 grep -v '^ *+' conftest.er1
>conftest.err
3109 cat conftest.err
>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } &&
3112 { ac_try
='test -z "$ac_cxx_werror_flag"
3113 || test ! -s conftest.err'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; } &&
3119 { ac_try
='test -s conftest.$ac_objext'
3120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }; }; then
3127 echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.
$ac_ext >&5
3132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3133 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3136 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3137 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3138 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3139 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3140 ac_save_CXXFLAGS
=$CXXFLAGS
3142 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3143 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3144 if test "${ac_cv_prog_cxx_g+set}" = set; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3147 cat >conftest.
$ac_ext <<_ACEOF
3150 cat confdefs.h
>>conftest.
$ac_ext
3151 cat >>conftest.
$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3162 rm -f conftest.
$ac_objext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3164 (eval $ac_compile) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1
>conftest.err
3168 cat conftest.err
>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try
='test -z "$ac_cxx_werror_flag"
3172 || test ! -s conftest.err'
3173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; } &&
3178 { ac_try
='test -s conftest.$ac_objext'
3179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); }; }; then
3184 ac_cv_prog_cxx_g
=yes
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.
$ac_ext >&5
3191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3193 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3194 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3195 if test "$ac_test_CXXFLAGS" = set; then
3196 CXXFLAGS
=$ac_save_CXXFLAGS
3197 elif test $ac_cv_prog_cxx_g = yes; then
3198 if test "$GXX" = yes; then
3204 if test "$GXX" = yes; then
3210 for ac_declaration
in \
3212 'extern "C" void std::exit (int) throw (); using std::exit;' \
3213 'extern "C" void std::exit (int); using std::exit;' \
3214 'extern "C" void exit (int) throw ();' \
3215 'extern "C" void exit (int);' \
3218 cat >conftest.
$ac_ext <<_ACEOF
3221 cat confdefs.h
>>conftest.
$ac_ext
3222 cat >>conftest.
$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3234 rm -f conftest.
$ac_objext
3235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236 (eval $ac_compile) 2>conftest.er1
3238 grep -v '^ *+' conftest.er1
>conftest.err
3240 cat conftest.err
>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try
='test -z "$ac_cxx_werror_flag"
3244 || test ! -s conftest.err'
3245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); }; } &&
3250 { ac_try
='test -s conftest.$ac_objext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3258 echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.
$ac_ext >&5
3263 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3264 cat >conftest.
$ac_ext <<_ACEOF
3267 cat confdefs.h
>>conftest.
$ac_ext
3268 cat >>conftest.
$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3279 rm -f conftest.
$ac_objext
3280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3281 (eval $ac_compile) 2>conftest.er1
3283 grep -v '^ *+' conftest.er1
>conftest.err
3285 cat conftest.err
>&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } &&
3288 { ac_try
='test -z "$ac_cxx_werror_flag"
3289 || test ! -s conftest.err'
3290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }; } &&
3295 { ac_try
='test -s conftest.$ac_objext'
3296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }; }; then
3303 echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.
$ac_ext >&5
3307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3310 if test -n "$ac_declaration"; then
3311 echo '#ifdef __cplusplus' >>confdefs.h
3312 echo $ac_declaration >>confdefs.h
3313 echo '#endif' >>confdefs.h
3317 ac_cpp
='$CPP $CPPFLAGS'
3318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3322 CXXFLAGS
="$save_CXXFLAGS"
3328 am__api_version
="1.9"
3329 # Find a good install program. We prefer a C program (faster),
3330 # so one script is as good as another. But avoid the broken or
3331 # incompatible versions:
3332 # SysV /etc/install, /usr/sbin/install
3333 # SunOS /usr/etc/install
3334 # IRIX /sbin/install
3336 # AmigaOS /C/install, which installs bootblocks on floppy discs
3337 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3338 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3339 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3340 # OS/2's system install, which has a completely different semantic
3341 # ./install, which can be erroneously created by make from ./install.sh.
3342 # Reject install programs that cannot install multiple files.
3343 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3344 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3345 if test -z "$INSTALL"; then
3346 if test "${ac_cv_path_install+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3353 test -z "$as_dir" && as_dir
=.
3354 # Account for people who put trailing slashes in PATH elements.
3356 .
/ | .
// |
/cC
/* | \
3357 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3358 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3361 # OSF1 and SCO ODT 3.0 have their own names for install.
3362 # Don't use installbsd from OSF since it installs stuff as root
3364 for ac_prog
in ginstall scoinst
install; do
3365 for ac_exec_ext
in '' $ac_executable_extensions; do
3366 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3367 if test $ac_prog = install &&
3368 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3369 # AIX install. It has an incompatible calling convention.
3371 elif test $ac_prog = install &&
3372 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3373 # program-specific install script used by HP pwplus--don't use.
3376 rm -rf conftest.one conftest.two conftest.dir
3377 echo one
> conftest.one
3378 echo two
> conftest.two
3380 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3381 test -s conftest.one
&& test -s conftest.two
&&
3382 test -s conftest.dir
/conftest.one
&&
3383 test -s conftest.dir
/conftest.two
3385 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3396 rm -rf conftest.one conftest.two conftest.dir
3399 if test "${ac_cv_path_install+set}" = set; then
3400 INSTALL
=$ac_cv_path_install
3402 # As a last resort, use the slow shell script. Don't cache a
3403 # value for INSTALL within a source directory, because that will
3404 # break other packages using the cache if that directory is
3405 # removed, or if the value is a relative name.
3406 INSTALL
=$ac_install_sh
3409 echo "$as_me:$LINENO: result: $INSTALL" >&5
3410 echo "${ECHO_T}$INSTALL" >&6
3412 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3413 # It thinks the first close brace ends the variable substitution.
3414 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3416 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3418 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3420 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3421 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3424 echo timestamp
> conftest.
file
3425 # Do `set' in a subshell so we don't clobber the current shell's
3426 # arguments. Must try -L first in case configure is actually a
3427 # symlink; some systems play weird games with the mod time of symlinks
3428 # (eg FreeBSD returns the mod time of the symlink's containing
3431 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
3432 if test "$*" = "X"; then
3434 set X
`ls -t $srcdir/configure conftest.file`
3437 if test "$*" != "X $srcdir/configure conftest.file" \
3438 && test "$*" != "X conftest.file $srcdir/configure"; then
3440 # If neither matched, then we have a broken ls. This can happen
3441 # if, for instance, CONFIG_SHELL is bash and it inherits a
3442 # broken ls alias from the environment. This has actually
3443 # happened. Such a system could not be considered "sane".
3444 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
3445 alias in your environment" >&5
3446 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
3447 alias in your environment" >&2;}
3448 { (exit 1); exit 1; }; }
3451 test "$2" = conftest.
file
3457 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
3458 Check your system clock" >&5
3459 echo "$as_me: error: newly created file is older than distributed files!
3460 Check your system clock" >&2;}
3461 { (exit 1); exit 1; }; }
3463 echo "$as_me:$LINENO: result: yes" >&5
3464 echo "${ECHO_T}yes" >&6
3465 test "$program_prefix" != NONE
&&
3466 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
3467 # Use a double $ so make ignores it.
3468 test "$program_suffix" != NONE
&&
3469 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
3470 # Double any \ or $. echo might interpret backslashes.
3471 # By default was `s,x,x', remove it if useless.
3472 cat <<\_ACEOF
>conftest.
sed
3473 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
3475 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
3478 # expand $ac_aux_dir to an absolute path
3479 am_aux_dir
=`cd $ac_aux_dir && pwd`
3481 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
3482 # Use eval to expand $SHELL
3483 if eval "$MISSING --run true"; then
3484 am_missing_run
="$MISSING --run "
3487 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
3488 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3491 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
3492 # We used to keeping the `.' as first argument, in order to
3493 # allow $(mkdir_p) to be used without argument. As in
3494 # $(mkdir_p) $(somedir)
3495 # where $(somedir) is conditionally defined. However this is wrong
3497 # 1. if the package is installed by a user who cannot write `.'
3498 # make install will fail,
3499 # 2. the above comment should most certainly read
3500 # $(mkdir_p) $(DESTDIR)$(somedir)
3501 # so it does not work when $(somedir) is undefined and
3502 # $(DESTDIR) is not.
3503 # To support the latter case, we have to write
3504 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
3505 # so the `.' trick is pointless.
3506 mkdir_p
='mkdir -p --'
3508 # On NextStep and OpenStep, the `mkdir' command does not
3509 # recognize any option. It will interpret all options as
3510 # directories to create, and then abort because `.' already
3512 for d
in .
/-p .
/--version;
3514 test -d $d && rmdir $d
3516 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
3517 if test -f "$ac_aux_dir/mkinstalldirs"; then
3518 mkdir_p
='$(mkinstalldirs)'
3520 mkdir_p
='$(install_sh) -d'
3524 for ac_prog
in gawk mawk nawk
awk
3526 # Extract the first word of "$ac_prog", so it can be a program name with args.
3527 set dummy
$ac_prog; ac_word
=$2
3528 echo "$as_me:$LINENO: checking for $ac_word" >&5
3529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3530 if test "${ac_cv_prog_AWK+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 if test -n "$AWK"; then
3534 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir
=.
3541 for ac_exec_ext
in '' $ac_executable_extensions; do
3542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3543 ac_cv_prog_AWK
="$ac_prog"
3544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3553 if test -n "$AWK"; then
3554 echo "$as_me:$LINENO: result: $AWK" >&5
3555 echo "${ECHO_T}$AWK" >&6
3557 echo "$as_me:$LINENO: result: no" >&5
3558 echo "${ECHO_T}no" >&6
3561 test -n "$AWK" && break
3564 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3565 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3566 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3567 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3570 cat >conftest.
make <<\_ACEOF
3572 @
echo 'ac_maketemp="$(MAKE)"'
3574 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3575 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3576 if test -n "$ac_maketemp"; then
3577 eval ac_cv_prog_make_
${ac_make}_set
=yes
3579 eval ac_cv_prog_make_
${ac_make}_set
=no
3583 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3584 echo "$as_me:$LINENO: result: yes" >&5
3585 echo "${ECHO_T}yes" >&6
3588 echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6
3590 SET_MAKE
="MAKE=${MAKE-make}"
3593 rm -rf .tst
2>/dev
/null
3594 mkdir .tst
2>/dev
/null
3595 if test -d .tst
; then
3600 rmdir .tst
2>/dev
/null
3602 DEPDIR
="${am__leading_dot}deps"
3604 ac_config_commands
="$ac_config_commands depfiles"
3607 am_make
=${MAKE-make}
3608 cat > confinc
<< 'END'
3613 # If we don't find an include directive, just comment out the code.
3614 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3615 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3619 # First try GNU make style include.
3620 echo "include confinc" > confmf
3621 # We grep out `Entering directory' and `Leaving directory'
3622 # messages which can occur if `w' ends up in MAKEFLAGS.
3623 # In particular we don't look at `^make:' because GNU make might
3624 # be invoked under some other name (usually "gmake"), in which
3625 # case it prints its new name instead of `make'.
3626 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3631 # Now try BSD make style include.
3632 if test "$am__include" = "#"; then
3633 echo '.include "confinc"' > confmf
3634 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3635 am__include
=.include
3642 echo "$as_me:$LINENO: result: $_am_result" >&5
3643 echo "${ECHO_T}$_am_result" >&6
3644 rm -f confinc confmf
3646 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3647 if test "${enable_dependency_tracking+set}" = set; then
3648 enableval
="$enable_dependency_tracking"
3651 if test "x$enable_dependency_tracking" != xno
; then
3652 am_depcomp
="$ac_aux_dir/depcomp"
3657 if test "x$enable_dependency_tracking" != xno; then
3667 # test to see if srcdir already configured
3668 if test "`cd $srcdir && pwd`" != "`pwd`" &&
3669 test -f $srcdir/config.status
; then
3670 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
3671 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
3672 { (exit 1); exit 1; }; }
3675 # test whether we have cygpath
3676 if test -z "$CYGPATH_W"; then
3677 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3678 CYGPATH_W
='cygpath -w'
3685 # Define the identity of the package.
3687 VERSION
='version-unused'
3690 cat >>confdefs.h
<<_ACEOF
3691 #define PACKAGE "$PACKAGE"
3695 cat >>confdefs.h
<<_ACEOF
3696 #define VERSION "$VERSION"
3699 # Some tools Automake needs.
3701 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3704 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3707 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3710 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3713 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3715 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
3717 # Installed binaries are usually stripped using `strip' when the user
3718 # run `make install-strip'. However `strip' might not be the right
3719 # tool to use in cross-compilation environments, therefore Automake
3720 # will honor the `STRIP' environment variable to overrule this program.
3721 if test "$cross_compiling" != no
; then
3722 if test -n "$ac_tool_prefix"; then
3723 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3724 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3725 echo "$as_me:$LINENO: checking for $ac_word" >&5
3726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3727 if test "${ac_cv_prog_STRIP+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 if test -n "$STRIP"; then
3731 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir
=.
3738 for ac_exec_ext
in '' $ac_executable_extensions; do
3739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3740 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 STRIP
=$ac_cv_prog_STRIP
3750 if test -n "$STRIP"; then
3751 echo "$as_me:$LINENO: result: $STRIP" >&5
3752 echo "${ECHO_T}$STRIP" >&6
3754 echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3759 if test -z "$ac_cv_prog_STRIP"; then
3761 # Extract the first word of "strip", so it can be a program name with args.
3762 set dummy strip
; ac_word
=$2
3763 echo "$as_me:$LINENO: checking for $ac_word" >&5
3764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3765 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 if test -n "$ac_ct_STRIP"; then
3769 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 test -z "$as_dir" && as_dir
=.
3776 for ac_exec_ext
in '' $ac_executable_extensions; do
3777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3778 ac_cv_prog_ac_ct_STRIP
="strip"
3779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3785 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
3788 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3789 if test -n "$ac_ct_STRIP"; then
3790 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3791 echo "${ECHO_T}$ac_ct_STRIP" >&6
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3799 STRIP
="$ac_cv_prog_STRIP"
3803 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
3805 # We need awk for the "check" target. The system "awk" is bad on
3807 # Always define AMTAR for backward compatibility.
3809 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3811 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3816 depcc
="$CC" am_compiler_list
=
3818 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3819 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3820 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3824 # We make a subdir and do the tests there. Otherwise we can end up
3825 # making bogus files that we don't know about and never remove. For
3826 # instance it was reported that on HP-UX the gcc test will end up
3827 # making a dummy file named `D' -- because `-MD' means `put the output
3830 # Copy depcomp to subdir because otherwise we won't find it if we're
3831 # using a relative directory.
3832 cp "$am_depcomp" conftest.dir
3834 # We will build objects and dependencies in a subdirectory because
3835 # it helps to detect inapplicable dependency modes. For instance
3836 # both Tru64's cc and ICC support -MD to output dependencies as a
3837 # side effect of compilation, but ICC will put the dependencies in
3838 # the current directory while Tru64 will put them in the object
3842 am_cv_CC_dependencies_compiler_type
=none
3843 if test "$am_compiler_list" = ""; then
3844 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3846 for depmode
in $am_compiler_list; do
3847 # Setup a source with many dependencies, because some compilers
3848 # like to wrap large dependency lists on column 80 (with \), and
3849 # we should not choose a depcomp mode which is confused by this.
3851 # We need to recreate these files for each test, as the compiler may
3852 # overwrite some of them when testing with obscure command lines.
3853 # This happens at least with the AIX C compiler.
3855 for i
in 1 2 3 4 5 6; do
3856 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3857 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3858 # Solaris 8's {/usr,}/bin/sh.
3859 touch sub
/conftst
$i.h
3861 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3865 # after this tag, mechanisms are not by side-effect, so they'll
3866 # only be used when explicitly requested
3867 if test "x$enable_dependency_tracking" = xyes
; then
3875 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3876 # mode. It turns out that the SunPro C++ compiler does not properly
3877 # handle `-M -o', and we need to detect this.
3878 if depmode
=$depmode \
3879 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3880 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3881 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3882 >/dev
/null
2>conftest.err
&&
3883 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3884 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3885 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3886 # icc doesn't choke on unknown options, it will just issue warnings
3887 # or remarks (even with -Werror). So we grep stderr for any message
3888 # that says an option was ignored or not supported.
3889 # When given -MP, icc 7.0 and 7.1 complain thusly:
3890 # icc: Command line warning: ignoring option '-M'; no argument required
3891 # The diagnosis changed in icc 8.0:
3892 # icc: Command line remark: option '-MP' not supported
3893 if (grep 'ignoring option' conftest.err ||
3894 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3895 am_cv_CC_dependencies_compiler_type
=$depmode
3904 am_cv_CC_dependencies_compiler_type
=none
3908 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3909 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3910 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3915 test "x$enable_dependency_tracking" != xno \
3916 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3918 am__fastdepCC_FALSE
='#'
3920 am__fastdepCC_TRUE
='#'
3921 am__fastdepCC_FALSE
=
3925 depcc
="$CXX" am_compiler_list
=
3927 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3928 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3929 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3930 echo $ECHO_N "(cached) $ECHO_C" >&6
3932 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3933 # We make a subdir and do the tests there. Otherwise we can end up
3934 # making bogus files that we don't know about and never remove. For
3935 # instance it was reported that on HP-UX the gcc test will end up
3936 # making a dummy file named `D' -- because `-MD' means `put the output
3939 # Copy depcomp to subdir because otherwise we won't find it if we're
3940 # using a relative directory.
3941 cp "$am_depcomp" conftest.dir
3943 # We will build objects and dependencies in a subdirectory because
3944 # it helps to detect inapplicable dependency modes. For instance
3945 # both Tru64's cc and ICC support -MD to output dependencies as a
3946 # side effect of compilation, but ICC will put the dependencies in
3947 # the current directory while Tru64 will put them in the object
3951 am_cv_CXX_dependencies_compiler_type
=none
3952 if test "$am_compiler_list" = ""; then
3953 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3955 for depmode
in $am_compiler_list; do
3956 # Setup a source with many dependencies, because some compilers
3957 # like to wrap large dependency lists on column 80 (with \), and
3958 # we should not choose a depcomp mode which is confused by this.
3960 # We need to recreate these files for each test, as the compiler may
3961 # overwrite some of them when testing with obscure command lines.
3962 # This happens at least with the AIX C compiler.
3964 for i
in 1 2 3 4 5 6; do
3965 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3966 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3967 # Solaris 8's {/usr,}/bin/sh.
3968 touch sub
/conftst
$i.h
3970 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3974 # after this tag, mechanisms are not by side-effect, so they'll
3975 # only be used when explicitly requested
3976 if test "x$enable_dependency_tracking" = xyes
; then
3984 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3985 # mode. It turns out that the SunPro C++ compiler does not properly
3986 # handle `-M -o', and we need to detect this.
3987 if depmode
=$depmode \
3988 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3989 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3990 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3991 >/dev
/null
2>conftest.err
&&
3992 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3993 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3994 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3995 # icc doesn't choke on unknown options, it will just issue warnings
3996 # or remarks (even with -Werror). So we grep stderr for any message
3997 # that says an option was ignored or not supported.
3998 # When given -MP, icc 7.0 and 7.1 complain thusly:
3999 # icc: Command line warning: ignoring option '-M'; no argument required
4000 # The diagnosis changed in icc 8.0:
4001 # icc: Command line remark: option '-MP' not supported
4002 if (grep 'ignoring option' conftest.err ||
4003 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4004 am_cv_CXX_dependencies_compiler_type
=$depmode
4013 am_cv_CXX_dependencies_compiler_type
=none
4017 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4018 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
4019 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
4024 test "x$enable_dependency_tracking" != xno \
4025 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
4026 am__fastdepCXX_TRUE
=
4027 am__fastdepCXX_FALSE
='#'
4029 am__fastdepCXX_TRUE
='#'
4030 am__fastdepCXX_FALSE
=
4036 if test -n "$ac_tool_prefix"; then
4037 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4038 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4039 echo "$as_me:$LINENO: checking for $ac_word" >&5
4040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4041 if test "${ac_cv_prog_AS+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 if test -n "$AS"; then
4045 ac_cv_prog_AS
="$AS" # Let the user override the test.
4047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4051 test -z "$as_dir" && as_dir
=.
4052 for ac_exec_ext
in '' $ac_executable_extensions; do
4053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_AS
="${ac_tool_prefix}as"
4055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 if test -n "$AS"; then
4065 echo "$as_me:$LINENO: result: $AS" >&5
4066 echo "${ECHO_T}$AS" >&6
4068 echo "$as_me:$LINENO: result: no" >&5
4069 echo "${ECHO_T}no" >&6
4073 if test -z "$ac_cv_prog_AS"; then
4075 # Extract the first word of "as", so it can be a program name with args.
4076 set dummy as
; ac_word
=$2
4077 echo "$as_me:$LINENO: checking for $ac_word" >&5
4078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4079 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 if test -n "$ac_ct_AS"; then
4083 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4089 test -z "$as_dir" && as_dir
=.
4090 for ac_exec_ext
in '' $ac_executable_extensions; do
4091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4092 ac_cv_prog_ac_ct_AS
="as"
4093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4102 if test -n "$ac_ct_AS"; then
4103 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4104 echo "${ECHO_T}$ac_ct_AS" >&6
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4115 if test -n "$ac_tool_prefix"; then
4116 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4117 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4118 echo "$as_me:$LINENO: checking for $ac_word" >&5
4119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4120 if test "${ac_cv_prog_LD+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 if test -n "$LD"; then
4124 ac_cv_prog_LD
="$LD" # Let the user override the test.
4126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4130 test -z "$as_dir" && as_dir
=.
4131 for ac_exec_ext
in '' $ac_executable_extensions; do
4132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4133 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 if test -n "$LD"; then
4144 echo "$as_me:$LINENO: result: $LD" >&5
4145 echo "${ECHO_T}$LD" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4152 if test -z "$ac_cv_prog_LD"; then
4154 # Extract the first word of "ld", so it can be a program name with args.
4155 set dummy ld
; ac_word
=$2
4156 echo "$as_me:$LINENO: checking for $ac_word" >&5
4157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4158 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 if test -n "$ac_ct_LD"; then
4162 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
4164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4168 test -z "$as_dir" && as_dir
=.
4169 for ac_exec_ext
in '' $ac_executable_extensions; do
4170 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4171 ac_cv_prog_ac_ct_LD
="ld"
4172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
4181 if test -n "$ac_ct_LD"; then
4182 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4183 echo "${ECHO_T}$ac_ct_LD" >&6
4185 echo "$as_me:$LINENO: result: no" >&5
4186 echo "${ECHO_T}no" >&6
4194 if test -n "$ac_tool_prefix"; then
4195 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4196 set dummy
${ac_tool_prefix}ar; ac_word
=$2
4197 echo "$as_me:$LINENO: checking for $ac_word" >&5
4198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4199 if test "${ac_cv_prog_AR+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 if test -n "$AR"; then
4203 ac_cv_prog_AR
="$AR" # Let the user override the test.
4205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4209 test -z "$as_dir" && as_dir
=.
4210 for ac_exec_ext
in '' $ac_executable_extensions; do
4211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4212 ac_cv_prog_AR
="${ac_tool_prefix}ar"
4213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 if test -n "$AR"; then
4223 echo "$as_me:$LINENO: result: $AR" >&5
4224 echo "${ECHO_T}$AR" >&6
4226 echo "$as_me:$LINENO: result: no" >&5
4227 echo "${ECHO_T}no" >&6
4231 if test -z "$ac_cv_prog_AR"; then
4233 # Extract the first word of "ar", so it can be a program name with args.
4234 set dummy
ar; ac_word
=$2
4235 echo "$as_me:$LINENO: checking for $ac_word" >&5
4236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4237 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4238 echo $ECHO_N "(cached) $ECHO_C" >&6
4240 if test -n "$ac_ct_AR"; then
4241 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4247 test -z "$as_dir" && as_dir
=.
4248 for ac_exec_ext
in '' $ac_executable_extensions; do
4249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4250 ac_cv_prog_ac_ct_AR
="ar"
4251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4260 if test -n "$ac_ct_AR"; then
4261 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4262 echo "${ECHO_T}$ac_ct_AR" >&6
4264 echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6
4273 if test -n "$ac_tool_prefix"; then
4274 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4275 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4276 echo "$as_me:$LINENO: checking for $ac_word" >&5
4277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4278 if test "${ac_cv_prog_RANLIB+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4281 if test -n "$RANLIB"; then
4282 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4288 test -z "$as_dir" && as_dir
=.
4289 for ac_exec_ext
in '' $ac_executable_extensions; do
4290 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4291 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 RANLIB
=$ac_cv_prog_RANLIB
4301 if test -n "$RANLIB"; then
4302 echo "$as_me:$LINENO: result: $RANLIB" >&5
4303 echo "${ECHO_T}$RANLIB" >&6
4305 echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6
4310 if test -z "$ac_cv_prog_RANLIB"; then
4311 ac_ct_RANLIB
=$RANLIB
4312 # Extract the first word of "ranlib", so it can be a program name with args.
4313 set dummy ranlib
; ac_word
=$2
4314 echo "$as_me:$LINENO: checking for $ac_word" >&5
4315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4316 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4317 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 if test -n "$ac_ct_RANLIB"; then
4320 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir
=.
4327 for ac_exec_ext
in '' $ac_executable_extensions; do
4328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4329 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
4339 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4340 if test -n "$ac_ct_RANLIB"; then
4341 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4342 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4344 echo "$as_me:$LINENO: result: no" >&5
4345 echo "${ECHO_T}no" >&6
4348 RANLIB
=$ac_ct_RANLIB
4350 RANLIB
="$ac_cv_prog_RANLIB"
4353 for ac_prog
in gawk mawk nawk
awk
4355 # Extract the first word of "$ac_prog", so it can be a program name with args.
4356 set dummy
$ac_prog; ac_word
=$2
4357 echo "$as_me:$LINENO: checking for $ac_word" >&5
4358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4359 if test "${ac_cv_prog_AWK+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 if test -n "$AWK"; then
4363 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_exec_ext
in '' $ac_executable_extensions; do
4371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372 ac_cv_prog_AWK
="$ac_prog"
4373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 if test -n "$AWK"; then
4383 echo "$as_me:$LINENO: result: $AWK" >&5
4384 echo "${ECHO_T}$AWK" >&6
4386 echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6
4390 test -n "$AWK" && break
4393 for ac_prog
in jar fastjar gjar
4395 # Extract the first word of "$ac_prog", so it can be a program name with args.
4396 set dummy
$ac_prog; ac_word
=$2
4397 echo "$as_me:$LINENO: checking for $ac_word" >&5
4398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4399 if test "${ac_cv_prog_JAR+set}" = set; then
4400 echo $ECHO_N "(cached) $ECHO_C" >&6
4402 if test -n "$JAR"; then
4403 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_exec_ext
in '' $ac_executable_extensions; do
4411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412 ac_cv_prog_JAR
="$ac_prog"
4413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 if test -n "$JAR"; then
4423 echo "$as_me:$LINENO: result: $JAR" >&5
4424 echo "${ECHO_T}$JAR" >&6
4426 echo "$as_me:$LINENO: result: no" >&5
4427 echo "${ECHO_T}no" >&6
4430 test -n "$JAR" && break
4432 test -n "$JAR" || JAR
="no"
4434 # Extract the first word of "zip", so it can be a program name with args.
4435 set dummy
zip; ac_word
=$2
4436 echo "$as_me:$LINENO: checking for $ac_word" >&5
4437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4438 if test "${ac_cv_path_ZIP+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4443 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
4446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4450 test -z "$as_dir" && as_dir
=.
4451 for ac_exec_ext
in '' $ac_executable_extensions; do
4452 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4453 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
4454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
4466 if test -n "$ZIP"; then
4467 echo "$as_me:$LINENO: result: $ZIP" >&5
4468 echo "${ECHO_T}$ZIP" >&6
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4474 # Extract the first word of "unzip", so it can be a program name with args.
4475 set dummy
unzip; ac_word
=$2
4476 echo "$as_me:$LINENO: checking for $ac_word" >&5
4477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4478 if test "${ac_cv_path_UNZIP+set}" = set; then
4479 echo $ECHO_N "(cached) $ECHO_C" >&6
4483 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir
=.
4491 for ac_exec_ext
in '' $ac_executable_extensions; do
4492 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4493 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
4494 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
4504 UNZIP
=$ac_cv_path_UNZIP
4506 if test -n "$UNZIP"; then
4507 echo "$as_me:$LINENO: result: $UNZIP" >&5
4508 echo "${ECHO_T}$UNZIP" >&6
4510 echo "$as_me:$LINENO: result: no" >&5
4511 echo "${ECHO_T}no" >&6
4515 # We need a jar that supports -@. This is a GNU extension.
4516 if test "$JAR" != no
; then
4517 rm -f config-test.jar
4518 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
4519 if test -f config-test.jar
; then
4520 rm -f config-test.jar
4526 # Prefer the jar we found, but fall back to our jar script.
4527 if test "$JAR" = no
; then
4528 if test "$ZIP" = no
; then
4529 { { echo "$as_me:$LINENO: error: cannot find neither zip nor jar, cannot continue" >&5
4530 echo "$as_me: error: cannot find neither zip nor jar, cannot continue" >&2;}
4531 { (exit 1); exit 1; }; }
4533 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
4534 JAR
=`pwd`/scripts
/jar
4538 # Find a good install program. We prefer a C program (faster),
4539 # so one script is as good as another. But avoid the broken or
4540 # incompatible versions:
4541 # SysV /etc/install, /usr/sbin/install
4542 # SunOS /usr/etc/install
4543 # IRIX /sbin/install
4545 # AmigaOS /C/install, which installs bootblocks on floppy discs
4546 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4547 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4548 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4549 # OS/2's system install, which has a completely different semantic
4550 # ./install, which can be erroneously created by make from ./install.sh.
4551 # Reject install programs that cannot install multiple files.
4552 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4553 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4554 if test -z "$INSTALL"; then
4555 if test "${ac_cv_path_install+set}" = set; then
4556 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4562 test -z "$as_dir" && as_dir
=.
4563 # Account for people who put trailing slashes in PATH elements.
4565 .
/ | .
// |
/cC
/* | \
4566 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4567 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4570 # OSF1 and SCO ODT 3.0 have their own names for install.
4571 # Don't use installbsd from OSF since it installs stuff as root
4573 for ac_prog
in ginstall scoinst
install; do
4574 for ac_exec_ext
in '' $ac_executable_extensions; do
4575 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4576 if test $ac_prog = install &&
4577 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4578 # AIX install. It has an incompatible calling convention.
4580 elif test $ac_prog = install &&
4581 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4582 # program-specific install script used by HP pwplus--don't use.
4585 rm -rf conftest.one conftest.two conftest.dir
4586 echo one
> conftest.one
4587 echo two
> conftest.two
4589 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4590 test -s conftest.one
&& test -s conftest.two
&&
4591 test -s conftest.dir
/conftest.one
&&
4592 test -s conftest.dir
/conftest.two
4594 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4605 rm -rf conftest.one conftest.two conftest.dir
4608 if test "${ac_cv_path_install+set}" = set; then
4609 INSTALL
=$ac_cv_path_install
4611 # As a last resort, use the slow shell script. Don't cache a
4612 # value for INSTALL within a source directory, because that will
4613 # break other packages using the cache if that directory is
4614 # removed, or if the value is a relative name.
4615 INSTALL
=$ac_install_sh
4618 echo "$as_me:$LINENO: result: $INSTALL" >&5
4619 echo "${ECHO_T}$INSTALL" >&6
4621 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4622 # It thinks the first close brace ends the variable substitution.
4623 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4625 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4627 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4630 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4631 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4632 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4633 if test "${enable_maintainer_mode+set}" = set; then
4634 enableval
="$enable_maintainer_mode"
4635 USE_MAINTAINER_MODE
=$enableval
4637 USE_MAINTAINER_MODE
=no
4639 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4640 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4643 if test $USE_MAINTAINER_MODE = yes; then
4644 MAINTAINER_MODE_TRUE
=
4645 MAINTAINER_MODE_FALSE
='#'
4647 MAINTAINER_MODE_TRUE
='#'
4648 MAINTAINER_MODE_FALSE
=
4651 MAINT
=$MAINTAINER_MODE_TRUE
4657 # configure.host sets the following important variables
4658 # libgcj_cflags - host specific C compiler flags
4659 # libgcj_cxxflags - host specific C++ compiler flags
4660 # libgcj_javaflags - host specific Java compiler flags
4666 .
${srcdir}/configure.
host
4668 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4669 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4670 if test "${acl_cv_prog_gnu_ld+set}" = set; then
4671 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4674 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
4675 acl_cv_prog_gnu_ld
=yes
4677 acl_cv_prog_gnu_ld
=no
4680 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
4681 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
4682 with_gnu_ld
=$acl_cv_prog_gnu_ld
4684 echo "$as_me:$LINENO: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
4685 echo $ECHO_N "checking if the GNU linker ($LD) supports -Bsymbolic-functions... $ECHO_C" >&6
4686 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4690 acl_cv_prog_gnu_ld_symbolic
=no
4692 if test x
"$with_gnu_ld" = x
"yes"; then
4693 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
4694 acl_cv_prog_gnu_ld_symbolic
=yes
4698 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld_symbolic" >&5
4699 echo "${ECHO_T}$acl_cv_prog_gnu_ld_symbolic" >&6
4700 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
4701 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
4706 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
4707 if test -z "$libgcj_ld_symbolic"; then
4708 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
4711 LIBGCJ_CFLAGS
="${libgcj_cflags}"
4712 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
4713 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
4714 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
4715 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
4722 # Only use libltdl for non-newlib builds.
4723 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
4724 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
4725 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
4727 libname_spec
='lib$name'
4735 shlibpath_overrides_runpath
=unknown
4737 dynamic_linker
="$host_os ld.so"
4738 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
4739 if test "$GCC" = yes; then
4740 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4741 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
4742 # if the path contains ";" then we assume it to be the separator
4743 # otherwise default to the standard path separator (i.e. ":") - it is
4744 # assumed that no part of a normal pathname contains ";" but that should
4745 # okay in the real world where ";" in dirpaths is itself problematic.
4746 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4748 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4751 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
4753 need_lib_prefix
=unknown
4754 hardcode_into_libs
=no
4756 # when you set need_version to no, make sure it does not cause -set_version
4757 # flags to be left without arguments
4758 need_version
=unknown
4763 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
4764 shlibpath_var
=LIBPATH
4766 # AIX 3 has no versioning support, so we append a major version to the name.
4767 soname_spec
='${libname}${release}${shared_ext}$major'
4774 hardcode_into_libs
=yes
4775 if test "$host_cpu" = ia64
; then
4776 # AIX 5 supports IA64
4777 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
4778 shlibpath_var
=LD_LIBRARY_PATH
4780 # With GCC up to 2.95.x, collect2 would create an import file
4781 # for dependence libraries. The import file would start with
4782 # the line `#! .'. This would cause the generated library to
4783 # depend on `.', always an invalid library. This was fixed in
4784 # development snapshots of GCC prior to 3.0.
4786 aix4 | aix4.
[01] | aix4.
[01].
*)
4787 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
4789 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
4796 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
4797 # soname into executable. Probably we can add versioning support to
4798 # collect2, so additional links can be useful in future.
4799 if test "$aix_use_runtimelinking" = yes; then
4800 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
4801 # instead of lib<name>.a to let people know that these are not
4802 # typical AIX shared libraries.
4803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4805 # We preserve .a as extension for shared libraries through AIX4.2
4806 # and later when we are not doing run time linking.
4807 library_names_spec
='${libname}${release}.a $libname.a'
4808 soname_spec
='${libname}${release}${shared_ext}$major'
4810 shlibpath_var
=LIBPATH
4815 library_names_spec
='$libname.ixlibrary $libname.a'
4816 # Create ${libname}_ixlibrary.a entries in /sys/libs.
4817 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'
4821 library_names_spec
='${libname}${shared_ext}'
4822 dynamic_linker
="$host_os ld.so"
4823 shlibpath_var
=LIBRARY_PATH
4829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4830 soname_spec
='${libname}${release}${shared_ext}$major'
4831 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
4832 shlibpath_var
=LD_LIBRARY_PATH
4833 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
4834 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
4835 # the default ld.so.conf also contains /usr/contrib/lib and
4836 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
4837 # libtool to hard-code these into programs
4840 cygwin
* | mingw
* | pw32
*)
4841 version_type
=windows
4846 case $GCC,$host_os in
4847 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
4848 library_names_spec
='$libname.dll.a'
4849 # DLL is installed to $(libdir)/../bin by postinstall_cmds
4850 postinstall_cmds
='base_file=`basename \${file}`~
4851 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
4852 dldir=$destdir/`dirname \$dlpath`~
4853 test -d \$dldir || mkdir -p \$dldir~
4854 $install_prog $dir/$dlname \$dldir/$dlname'
4855 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
4856 dlpath=$dir/\$dldll~
4858 shlibpath_overrides_runpath
=yes
4862 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4863 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4864 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
4867 # MinGW DLLs use traditional 'lib' prefix
4868 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
4869 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
4870 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
4871 # It is most probably a Windows format PATH printed by
4872 # mingw gcc, but we are running on Cygwin. Gcc prints its search
4873 # path with ; separators, and with drive letters. We can handle the
4874 # drive letters (cygwin fileutils understands them), so leave them,
4875 # especially as we might pass files found there to a mingw objdump,
4876 # which wouldn't understand a cygwinified path. Ahh.
4877 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
4879 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
4883 # pw32 DLLs use 'pw' prefix rather than 'lib'
4884 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
4890 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
4893 dynamic_linker
='Win32 ld.exe'
4894 # FIXME: first we should search . and the directory the executable is in
4898 darwin
* | rhapsody
*)
4899 dynamic_linker
="$host_os dyld"
4903 # FIXME: Relying on posixy $() will cause problems for
4904 # cross-compilation, but unfortunately the echo tests do not
4905 # yet detect zsh echo's removal of \ escapes.
4906 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
4907 soname_spec
='${libname}${release}${major}$shared_ext'
4908 shlibpath_overrides_runpath
=yes
4909 shlibpath_var
=DYLD_LIBRARY_PATH
4910 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
4911 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
4912 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
4913 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"`
4915 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
4922 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
4923 soname_spec
='${libname}${release}${shared_ext}$major'
4924 shlibpath_var
=LD_LIBRARY_PATH
4932 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
4933 version_type
=freebsd-
$objformat
4934 case $version_type in
4936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
4941 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
4945 shlibpath_var
=LD_LIBRARY_PATH
4948 shlibpath_overrides_runpath
=yes
4950 freebsd3.01
* | freebsdelf3.01
*)
4951 shlibpath_overrides_runpath
=yes
4952 hardcode_into_libs
=yes
4955 shlibpath_overrides_runpath
=no
4956 hardcode_into_libs
=yes
4965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
4966 soname_spec
='${libname}${release}${shared_ext}$major'
4967 shlibpath_var
=LD_LIBRARY_PATH
4968 hardcode_into_libs
=yes
4971 hpux9
* | hpux10
* | hpux11
*)
4972 # Give a soname corresponding to the major version so that dld.sl refuses to
4973 # link against other versions.
4980 hardcode_into_libs
=yes
4981 dynamic_linker
="$host_os dld.so"
4982 shlibpath_var
=LD_LIBRARY_PATH
4983 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4984 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
4985 soname_spec
='${libname}${release}${shared_ext}$major'
4986 if test "X$HPUX_IA64_MODE" = X32
; then
4987 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
4989 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
4991 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
4995 hardcode_into_libs
=yes
4996 dynamic_linker
="$host_os dld.sl"
4997 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
4998 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
4999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5000 soname_spec
='${libname}${release}${shared_ext}$major'
5001 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
5002 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
5006 dynamic_linker
="$host_os dld.sl"
5007 shlibpath_var
=SHLIB_PATH
5008 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
5009 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5010 soname_spec
='${libname}${release}${shared_ext}$major'
5013 # HP-UX runs *really* slowly unless shared libraries are mode 555.
5014 postinstall_cmds
='chmod 555 $lib'
5017 irix5
* | irix6
* | nonstopux
*)
5019 nonstopux
*) version_type
=nonstopux
;;
5021 if test "$lt_cv_prog_gnu_ld" = yes; then
5029 soname_spec
='${libname}${release}${shared_ext}$major'
5030 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
5032 irix5
* | nonstopux
*)
5036 case $LD in # libtool.m4 will add one of these switches to LD
5037 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
5038 libsuff
= shlibsuff
= libmagic
=32-bit;;
5039 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
5040 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
5041 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
5042 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
5043 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
5047 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
5048 shlibpath_overrides_runpath
=no
5049 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
5050 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
5051 hardcode_into_libs
=yes
5054 # No shared lib support for Linux oldld, aout, or coff.
5055 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
5059 # This must be Linux ELF.
5064 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5065 soname_spec
='${libname}${release}${shared_ext}$major'
5066 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
5067 shlibpath_var
=LD_LIBRARY_PATH
5068 shlibpath_overrides_runpath
=no
5069 # This implies no fast_install, which is unacceptable.
5070 # Some rework will be needed to allow for fast_install
5071 # before this can be enabled.
5072 hardcode_into_libs
=yes
5074 # We used to test for /lib/ld.so.1 and disable shared libraries on
5075 # powerpc, because MkLinux only supported shared libraries with the
5076 # GNU dynamic linker. Since this was broken with cross compilers,
5077 # most powerpc-linux boxes support dynamic linking these days and
5078 # people can always --disable-shared, the test was removed, and we
5079 # assume the GNU/Linux dynamic linker is in use.
5080 dynamic_linker
='GNU/Linux ld.so'
5087 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
5088 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5089 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5090 dynamic_linker
='NetBSD (a.out) ld.so'
5092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
5093 soname_spec
='${libname}${release}${shared_ext}$major'
5094 dynamic_linker
='NetBSD ld.elf_so'
5096 shlibpath_var
=LD_LIBRARY_PATH
5097 shlibpath_overrides_runpath
=yes
5098 hardcode_into_libs
=yes
5103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5104 shlibpath_var
=LD_LIBRARY_PATH
5105 shlibpath_overrides_runpath
=yes
5112 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5113 soname_spec
='${libname}${release}${shared_ext}$major'
5114 shlibpath_var
=LD_LIBRARY_PATH
5115 shlibpath_overrides_runpath
=yes
5122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5123 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
5124 shlibpath_var
=LD_LIBRARY_PATH
5125 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5127 openbsd2.
[89] | openbsd2.
[89].
*)
5128 shlibpath_overrides_runpath
=no
5131 shlibpath_overrides_runpath
=yes
5135 shlibpath_overrides_runpath
=yes
5140 libname_spec
='$name'
5143 library_names_spec
='$libname${shared_ext} $libname.a'
5144 dynamic_linker
='OS/2 ld.exe'
5145 shlibpath_var
=LIBPATH
5148 osf3
* | osf4
* | osf5
*)
5152 soname_spec
='${libname}${release}${shared_ext}$major'
5153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5154 shlibpath_var
=LD_LIBRARY_PATH
5155 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
5156 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
5161 soname_spec
='${libname}${release}${shared_ext}$major'
5162 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5163 shlibpath_var
=LD_LIBRARY_PATH
5170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5171 soname_spec
='${libname}${release}${shared_ext}$major'
5172 shlibpath_var
=LD_LIBRARY_PATH
5173 shlibpath_overrides_runpath
=yes
5174 hardcode_into_libs
=yes
5175 # ldd complains unless libraries are executable
5176 postinstall_cmds
='chmod +x $lib'
5181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
5182 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
5183 shlibpath_var
=LD_LIBRARY_PATH
5184 shlibpath_overrides_runpath
=yes
5185 if test "$with_gnu_ld" = yes; then
5191 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
5193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5194 soname_spec
='${libname}${release}${shared_ext}$major'
5195 shlibpath_var
=LD_LIBRARY_PATH
5196 case $host_vendor in
5198 shlibpath_overrides_runpath
=no
5200 export_dynamic_flag_spec
='${wl}-Blargedynsym'
5201 runpath_var
=LD_RUN_PATH
5209 shlibpath_overrides_runpath
=no
5210 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
5216 if test -d /usr
/nec
;then
5218 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
5219 soname_spec
='$libname${shared_ext}.$major'
5220 shlibpath_var
=LD_LIBRARY_PATH
5226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
5227 soname_spec
='${libname}${release}${shared_ext}$major'
5228 shlibpath_var
=LD_LIBRARY_PATH
5235 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
5236 echo "${ECHO_T}$dynamic_linker" >&6
5237 test "$dynamic_linker" = no
&& can_build_shared
=no
5240 echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
5241 echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
5242 if test "${libltdl_cv_shlibpath_var+set}" = set; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 libltdl_cv_shlibpath_var
="$shlibpath_var"
5247 echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
5248 echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
5249 if test -n "$libltdl_cv_shlibpath_var"; then
5251 cat >>confdefs.h
<<_ACEOF
5252 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
5259 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
5262 # See if the user has requested runtime debugging.
5263 LIBGCJDEBUG
="disable"
5265 # Check whether --enable-libgcj-debug or --disable-libgcj-debug was given.
5266 if test "${enable_libgcj_debug+set}" = set; then
5267 enableval
="$enable_libgcj_debug"
5268 if test "$enable_libgcj_debug" = yes; then
5270 cat >>confdefs.h
<<\_ACEOF
5271 #define __GCJ_DEBUG 1
5274 LIBGCJDEBUG
="enable"
5279 # Check whether --with-escher or --without-escher was given.
5280 if test "${with_escher+set}" = set; then
5281 withval
="$with_escher"
5284 case "$with_escher" in
5292 { { echo "$as_me:$LINENO: error: Please supply an absolute path to Escher library" >&5
5293 echo "$as_me: error: Please supply an absolute path to Escher library" >&2;}
5294 { (exit 1); exit 1; }; }
5301 # Determine which AWT peer libraries to build
5302 # Check whether --enable-java-awt or --disable-java-awt was given.
5303 if test "${enable_java_awt+set}" = set; then
5304 enableval
="$enable_java_awt"
5308 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
5313 # The default toolkit to use is the first one specified.
5317 for peer
in $peerlibs ; do
5320 if test "$no_x" = yes; then
5321 echo "*** xlib peers requested but no X library available" 1>&2
5325 if test -z "$TOOLKIT"; then
5326 TOOLKIT
=gnu.awt.xlib.XToolkit
5331 if test "$no_x" = yes; then
5332 echo "*** gtk peers requested but no X library available" 1>&2
5336 if test -z "$TOOLKIT"; then
5337 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
5342 if test "$no_x" = yes; then
5343 # Perhaps we should admit the possibility of embedded Qt.
5344 echo "*** Qt peers requested but no X library available" 1>&2
5348 if test -z "$TOOLKIT"; then
5349 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
5355 if test -z "$TOOLKIT"; then
5356 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
5367 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
5374 if test "$use_xlib_awt" = yes; then
5384 if test "$use_x_awt" = yes; then
5394 cat >>confdefs.h
<<_ACEOF
5395 #define AWT_TOOLKIT "$TOOLKIT"
5400 cat >>confdefs.h
<<_ACEOF
5401 #define LIBGCJ_PREFIX "$prefix"
5405 # Create standard.omit based on decisions we just made.
5406 cp $srcdir/standard.omit.
in standard.omit
5407 if test "$use_xlib_awt" != yes; then
5408 echo gnu
/awt
/xlib
>> standard.omit
5409 echo gnu
/gcj
/xlib
>> standard.omit
5411 if test "$use_x_awt" != yes; then
5412 echo gnu
/java
/awt
/peer
/x
>> standard.omit
5415 # Tools that need to be compiled against classpath's tools classes
5416 : > vm-tools-packages
5417 for package
in gnu
/gcj
/tools
/gc_analyze
; do
5418 echo $package >> standard.omit
5419 echo $package >> vm-tools-packages
5422 if test -z "${with_multisubdir}"; then
5425 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
5430 # Which gcj and host gcj (for ecjx) do we use?
5432 host_exeext
=${ac_exeext}
5434 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
5435 if test -n "${with_cross_host}"; then
5436 # We are being configured with a cross compiler. We can't
5437 # use ac_exeext, because that is for the target platform.
5440 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
5441 case "${with_cross_host}" in
5443 cross_host_exeext
=.exe
5446 host_exeext
=${cross_host_exeext}
5447 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
5448 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
5449 # Ordinary cross (host!=target and host=build)
5452 # Canadian cross (host!=target and host!=build)
5459 # We are being configured with a native or crossed-native compiler
5460 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
5461 if test x
"$build" = x
"$host"; then
5462 # True native build (host=target and host=build)
5465 # Crossed-native build (host=target and host!=build)
5472 libgcjdir
=`${PWDCMD-pwd}`
5475 # Just in case there is a comma in the build dir, quote it for the
5476 # sed command below.
5478 *[,\\]*) qlibgcjdir
=`echo "$libgcjdir" | sed 's:[,\\]:\\&:g'`;;
5479 *) qlibgcjdir
=$libgcjdir;;
5481 GCJ
=`echo "$GCJ" | sed "s, -B, -B$qlibgcjdir/&,"`
5484 GCJ
=$GCJ" -B$libgcjdir/"
5487 case "${which_gcj}" in
5489 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
5492 if test "x${with_newlib}" = "xyes"; then
5493 # FIXME (comment): Why is this needed?
5496 GCJH
='$(target_noncanonical)-gcjh'
5509 # Create it, so that compile/link tests don't fail
5510 test -f libgcj.spec ||
touch libgcj.spec
5514 # Set up to configure Classpath.
5515 # FIXME: no supported way to pass args in autoconf.
5516 # Disable tool wrappers to avoid ltdl.h configure check.
5517 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
5518 ac_configure_args
="$ac_configure_args --disable-load-library"
5519 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
5520 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
5521 dir1
=`cd $srcdir && pwd`
5523 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
5524 ac_configure_args
="$ac_configure_args --disable-core-jni"
5525 ac_configure_args
="$ac_configure_args --disable-examples"
5526 ac_configure_args
="$ac_configure_args --with-glibj=build"
5527 if test "$plugin_enabled" != yes; then
5528 ac_configure_args
="$ac_configure_args --disable-plugin"
5530 if test "$gconf_enabled" != yes; then
5531 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
5532 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
5534 if test "$use_gtk_awt" != yes; then
5535 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
5537 if test "$use_qt_awt" != yes; then
5538 ac_configure_args
="$ac_configure_args --disable-qt-peer"
5540 # We need this as qt is disabled by default in classpath.
5541 ac_configure_args
="$ac_configure_args --enable-qt-peer"
5543 if test "$use_x_awt" != yes; then
5544 ac_configure_args
="$ac_configure_args --without-escher"
5546 # We need this as escher is disabled by default in classpath.
5547 if test "$use_escher" != true
; then
5548 { { echo "$as_me:$LINENO: error: Please supply an absolute path to the Escher library" >&5
5549 echo "$as_me: error: Please supply an absolute path to the Escher library" >&2;}
5550 { (exit 1); exit 1; }; }
5552 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
5555 if test "x$BUILD_GJDOC" = xno
; then
5556 ac_configure_args
="$ac_configure_args --disable-gjdoc"
5558 # -Werror causes unavoidable problems in code using alsa.
5559 ac_configure_args
="$ac_configure_args --disable-regen-headers"
5560 ac_configure_args
="$ac_configure_args --disable-Werror"
5562 # Only use libltdl for non-newlib builds.
5563 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5564 case $enable_ltdl_convenience in
5565 no
) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
5566 echo "$as_me: error: this package needs a convenience libltdl" >&2;}
5567 { (exit 1); exit 1; }; } ;;
5568 "") enable_ltdl_convenience
=yes
5569 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
5571 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
5572 LTDLINCL
='-I${top_srcdir}/''libltdl'
5573 # For backwards non-gettext consistent compatibility...
5582 cat >>confdefs.h
<<\_ACEOF
5586 # Sigh. Libtool's macro doesn't do the right thing.
5587 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
5588 # FIXME: this is a hack.
5589 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
5590 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
5597 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5598 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5603 macro_version
='2.2.6'
5604 macro_revision
='1.3012'
5618 ltmain
="$ac_aux_dir/ltmain.sh"
5620 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5621 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
5622 if test "${lt_cv_path_SED+set}" = set; then
5623 echo $ECHO_N "(cached) $ECHO_C" >&6
5625 # Loop through the user's path and test for sed and gsed.
5626 # Then use that list of sed's as ones to test for truncation.
5627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5631 test -z "$as_dir" && as_dir
=.
5632 for lt_ac_prog
in sed gsed
; do
5633 for ac_exec_ext
in '' $ac_executable_extensions; do
5634 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
5635 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
5643 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
5644 # along with /bin/sed that truncates output.
5645 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
5646 test ! -f $lt_ac_sed && continue
5647 cat /dev
/null
> conftest.
in
5649 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
5650 # Check for GNU sed and select it if it is found.
5651 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
5652 lt_cv_path_SED
=$lt_ac_sed
5656 cat conftest.
in conftest.
in >conftest.tmp
5657 mv conftest.tmp conftest.
in
5658 cp conftest.
in conftest.
nl
5660 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
5661 cmp -s conftest.out conftest.
nl ||
break
5662 # 10000 chars as input seems more than enough
5663 test $lt_ac_count -gt 10 && break
5664 lt_ac_count
=`expr $lt_ac_count + 1`
5665 if test $lt_ac_count -gt $lt_ac_max; then
5666 lt_ac_max
=$lt_ac_count
5667 lt_cv_path_SED
=$lt_ac_sed
5676 echo "$as_me:$LINENO: result: $SED" >&5
5677 echo "${ECHO_T}$SED" >&6
5679 test -z "$SED" && SED
=sed
5680 Xsed
="$SED -e 1s/^X//"
5692 echo "$as_me:$LINENO: checking for egrep" >&5
5693 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5694 if test "${ac_cv_prog_egrep+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5698 then ac_cv_prog_egrep
='grep -E'
5699 else ac_cv_prog_egrep
='egrep'
5702 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5703 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5704 EGREP
=$ac_cv_prog_egrep
5707 echo "$as_me:$LINENO: checking for fgrep" >&5
5708 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
5709 if test "${ac_cv_prog_fgrep+set}" = set; then
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
5713 then ac_cv_prog_fgrep
='grep -F'
5714 else ac_cv_prog_fgrep
='fgrep'
5717 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
5718 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
5719 FGREP
=$ac_cv_prog_fgrep
5722 test -z "$GREP" && GREP
=grep
5742 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5743 if test "${with_gnu_ld+set}" = set; then
5744 withval
="$with_gnu_ld"
5745 test "$withval" = no || with_gnu_ld
=yes
5750 if test "$GCC" = yes; then
5751 # Check if gcc -print-prog-name=ld gives a path.
5752 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5753 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
5756 # gcc leaves a trailing carriage return which upsets mingw
5757 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5759 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5762 # Accept absolute paths.
5764 re_direlt
='/[^/][^/]*/\.\./'
5765 # Canonicalize the pathname of ld
5766 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5767 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5768 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5770 test -z "$LD" && LD
="$ac_prog"
5773 # If it fails, then pretend we aren't using GCC.
5777 # If it is relative, then search for the first ld in PATH.
5781 elif test "$with_gnu_ld" = yes; then
5782 echo "$as_me:$LINENO: checking for GNU ld" >&5
5783 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5785 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5786 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5788 if test "${lt_cv_path_LD+set}" = set; then
5789 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 if test -z "$LD"; then
5792 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5793 for ac_dir
in $PATH; do
5795 test -z "$ac_dir" && ac_dir
=.
5796 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5797 lt_cv_path_LD
="$ac_dir/$ac_prog"
5798 # Check to see if the program is GNU ld. I'd rather use --version,
5799 # but apparently some variants of GNU ld only accept -v.
5800 # Break only if it was the GNU/non-GNU ld that we prefer.
5801 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5802 *GNU
* |
*'with BFD'*)
5803 test "$with_gnu_ld" != no
&& break
5806 test "$with_gnu_ld" != yes && break
5813 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5818 if test -n "$LD"; then
5819 echo "$as_me:$LINENO: result: $LD" >&5
5820 echo "${ECHO_T}$LD" >&6
5822 echo "$as_me:$LINENO: result: no" >&5
5823 echo "${ECHO_T}no" >&6
5825 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5826 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5827 { (exit 1); exit 1; }; }
5828 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5829 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5830 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5833 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5834 case `$LD -v 2>&1 </dev/null` in
5835 *GNU
* |
*'with BFD'*)
5836 lt_cv_prog_gnu_ld
=yes
5839 lt_cv_prog_gnu_ld
=no
5843 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5844 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
5845 with_gnu_ld
=$lt_cv_prog_gnu_ld
5855 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5856 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
5857 if test "${lt_cv_path_NM+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 if test -n "$NM"; then
5861 # Let the user override the test.
5864 lt_nm_to_check
="${ac_tool_prefix}nm"
5865 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5866 lt_nm_to_check
="$lt_nm_to_check nm"
5868 for lt_tmp_nm
in $lt_nm_to_check; do
5869 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5870 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5872 test -z "$ac_dir" && ac_dir
=.
5873 tmp_nm
="$ac_dir/$lt_tmp_nm"
5874 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5875 # Check to see if the nm accepts a BSD-compat flag.
5876 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5877 # nm: unknown option "B" ignored
5878 # Tru64's nm complains that /dev/null is an invalid object file
5879 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5880 */dev
/null
* |
*'Invalid file or object type'*)
5881 lt_cv_path_NM
="$tmp_nm -B"
5885 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5887 lt_cv_path_NM
="$tmp_nm -p"
5891 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5892 continue # so that we can try to find one that supports BSD flags
5901 : ${lt_cv_path_NM=no}
5904 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5905 echo "${ECHO_T}$lt_cv_path_NM" >&6
5906 if test "$lt_cv_path_NM" != "no"; then
5909 # Didn't find any BSD compatible name lister, look for dumpbin.
5910 if test -n "$ac_tool_prefix"; then
5911 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5914 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5915 echo "$as_me:$LINENO: checking for $ac_word" >&5
5916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5917 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5920 if test -n "$DUMPBIN"; then
5921 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir
=.
5928 for ac_exec_ext
in '' $ac_executable_extensions; do
5929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 DUMPBIN
=$ac_cv_prog_DUMPBIN
5940 if test -n "$DUMPBIN"; then
5941 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5942 echo "${ECHO_T}$DUMPBIN" >&6
5944 echo "$as_me:$LINENO: result: no" >&5
5945 echo "${ECHO_T}no" >&6
5948 test -n "$DUMPBIN" && break
5951 if test -z "$DUMPBIN"; then
5952 ac_ct_DUMPBIN
=$DUMPBIN
5953 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5955 # Extract the first word of "$ac_prog", so it can be a program name with args.
5956 set dummy
$ac_prog; ac_word
=$2
5957 echo "$as_me:$LINENO: checking for $ac_word" >&5
5958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5959 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5962 if test -n "$ac_ct_DUMPBIN"; then
5963 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5969 test -z "$as_dir" && as_dir
=.
5970 for ac_exec_ext
in '' $ac_executable_extensions; do
5971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5972 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5982 if test -n "$ac_ct_DUMPBIN"; then
5983 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5984 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
5986 echo "$as_me:$LINENO: result: no" >&5
5987 echo "${ECHO_T}no" >&6
5990 test -n "$ac_ct_DUMPBIN" && break
5992 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
5994 DUMPBIN
=$ac_ct_DUMPBIN
5998 if test "$DUMPBIN" != ":"; then
6002 test -z "$NM" && NM
=nm
6009 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6010 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
6011 if test "${lt_cv_nm_interface+set}" = set; then
6012 echo $ECHO_N "(cached) $ECHO_C" >&6
6014 lt_cv_nm_interface
="BSD nm"
6015 echo "int some_variable = 0;" > conftest.
$ac_ext
6016 (eval echo "\"\$as_me:6016: $ac_compile\"" >&5)
6017 (eval "$ac_compile" 2>conftest.err
)
6018 cat conftest.err
>&5
6019 (eval echo "\"\$as_me:6019: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6020 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6021 cat conftest.err
>&5
6022 (eval echo "\"\$as_me:6022: output\"" >&5)
6023 cat conftest.out
>&5
6024 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6025 lt_cv_nm_interface
="MS dumpbin"
6029 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6030 echo "${ECHO_T}$lt_cv_nm_interface" >&6
6032 # find the maximum length of command line arguments
6033 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6034 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
6035 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6036 echo $ECHO_N "(cached) $ECHO_C" >&6
6043 # On DJGPP, this test can blow up pretty badly due to problems in libc
6044 # (any single argument exceeding 2000 bytes causes a buffer overrun
6045 # during glob expansion). Even if it were fixed, the result of this
6046 # check would be larger than it should be.
6047 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6051 # Under GNU Hurd, this test is not required because there is
6052 # no limit to the length of command line arguments.
6053 # Libtool will interpret -1 as no limit whatsoever
6054 lt_cv_sys_max_cmd_len
=-1;
6057 cygwin
* | mingw
* | cegcc
*)
6058 # On Win9x/ME, this test blows up -- it succeeds, but takes
6059 # about 5 minutes as the teststring grows exponentially.
6060 # Worse, since 9x/ME are not pre-emptively multitasking,
6061 # you end up with a "frozen" computer, even though with patience
6062 # the test eventually succeeds (with a max line length of 256k).
6063 # Instead, let's just punt: use the minimum linelength reported by
6064 # all of the supported platforms: 8192 (on NT/2K/XP).
6065 lt_cv_sys_max_cmd_len
=8192;
6069 # On AmigaOS with pdksh, this test takes hours, literally.
6070 # So we just punt and use a minimum line length of 8192.
6071 lt_cv_sys_max_cmd_len
=8192;
6074 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6075 # This has been around since 386BSD, at least. Likely further.
6076 if test -x /sbin
/sysctl
; then
6077 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6078 elif test -x /usr
/sbin
/sysctl
; then
6079 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6081 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6083 # And add a safety zone
6084 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6085 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6089 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6090 lt_cv_sys_max_cmd_len
=196608
6094 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6095 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6096 # nice to cause kernel panics so lets avoid the loop below.
6097 # First set a reasonable default.
6098 lt_cv_sys_max_cmd_len
=16384
6100 if test -x /sbin
/sysconfig
; then
6101 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6102 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6107 lt_cv_sys_max_cmd_len
=102400
6109 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6110 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6111 if test -n "$kargmax"; then
6112 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6114 lt_cv_sys_max_cmd_len
=32768
6118 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6119 if test -n "$lt_cv_sys_max_cmd_len"; then
6120 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6121 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6123 # Make teststring a little bigger before we do anything with it.
6124 # a 1K string should be a reasonable start.
6125 for i
in 1 2 3 4 5 6 7 8 ; do
6126 teststring
=$teststring$teststring
6128 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6129 # If test is not a shell built-in, we'll probably end up computing a
6130 # maximum length that is only half of the actual maximum length, but
6132 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6133 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6134 test $i != 17 # 1/2 MB should be enough
6137 teststring
=$teststring$teststring
6139 # Only check the string length outside the loop.
6140 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6142 # Add a significant safety factor because C++ compilers can tack on
6143 # massive amounts of additional arguments before passing them to the
6144 # linker. It appears as though 1/2 is a usable value.
6145 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6152 if test -n $lt_cv_sys_max_cmd_len ; then
6153 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6154 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
6156 echo "$as_me:$LINENO: result: none" >&5
6157 echo "${ECHO_T}none" >&6
6159 max_cmd_len
=$lt_cv_sys_max_cmd_len
6170 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6171 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
6172 # Try some XSI features
6175 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6177 && eval 'test $(( 1 + 1 )) -eq 2 \
6178 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6180 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6181 echo "${ECHO_T}$xsi_shell" >&6
6184 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6185 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
6187 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6189 && lt_shell_append=yes
6190 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6191 echo "${ECHO_T}$lt_shell_append" >&6
6194 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6204 # test EBCDIC or ASCII
6205 case `echo X|tr X '\101'` in
6206 A) # ASCII based system
6207 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6208 lt_SP2NL='tr \040 \012'
6209 lt_NL2SP='tr \015\012 \040\040'
6211 *) # EBCDIC based system
6212 lt_SP2NL='tr \100 \n'
6213 lt_NL2SP='tr \r\n \100\100'
6225 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6226 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
6227 if test "${lt_cv_ld_reload_flag+set}" = set; then
6228 echo $ECHO_N "(cached
) $ECHO_C" >&6
6230 lt_cv_ld_reload_flag='-r'
6232 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6233 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
6234 reload_flag=$lt_cv_ld_reload_flag
6235 case $reload_flag in
6237 *) reload_flag=" $reload_flag" ;;
6239 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6242 if test "$GCC" = yes; then
6243 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6245 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6258 if test -n "$ac_tool_prefix"; then
6259 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6260 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6261 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6262 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6263 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6264 echo $ECHO_N "(cached
) $ECHO_C" >&6
6266 if test -n "$OBJDUMP"; then
6267 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 test -z "$as_dir" && as_dir=.
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6276 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6277 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6285 OBJDUMP=$ac_cv_prog_OBJDUMP
6286 if test -n "$OBJDUMP"; then
6287 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6288 echo "${ECHO_T}$OBJDUMP" >&6
6290 echo "$as_me:$LINENO: result
: no
" >&5
6291 echo "${ECHO_T}no
" >&6
6295 if test -z "$ac_cv_prog_OBJDUMP"; then
6296 ac_ct_OBJDUMP=$OBJDUMP
6297 # Extract the first word of "objdump
", so it can be a program name with args.
6298 set dummy objdump; ac_word=$2
6299 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6300 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6301 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6302 echo $ECHO_N "(cached
) $ECHO_C" >&6
6304 if test -n "$ac_ct_OBJDUMP"; then
6305 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir=.
6312 for ac_exec_ext in '' $ac_executable_extensions; do
6313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6314 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6315 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6321 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
6324 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6325 if test -n "$ac_ct_OBJDUMP"; then
6326 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6327 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
6329 echo "$as_me:$LINENO: result
: no
" >&5
6330 echo "${ECHO_T}no
" >&6
6333 OBJDUMP=$ac_ct_OBJDUMP
6335 OBJDUMP="$ac_cv_prog_OBJDUMP"
6338 test -z "$OBJDUMP" && OBJDUMP=objdump
6348 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6349 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
6350 if test "${lt_cv_deplibs_check_method+set}" = set; then
6351 echo $ECHO_N "(cached
) $ECHO_C" >&6
6353 lt_cv_file_magic_cmd='$MAGIC_CMD'
6354 lt_cv_file_magic_test_file=
6355 lt_cv_deplibs_check_method='unknown'
6356 # Need to set the preceding variable on all platforms that support
6357 # interlibrary dependencies.
6358 # 'none' -- dependencies not supported.
6359 # `unknown' -- same as none, but documents that we really don't know.
6360 # 'pass_all' -- all dependencies passed with no checks.
6361 # 'test_compile' -- check by making test program.
6362 # 'file_magic [[regex]]' -- check by looking for files in library path
6363 # which responds to the $file_magic_cmd with a given extended regex.
6364 # If you have `file' or equivalent on your system and you're not sure
6365 # whether `pass_all' will *always* work, you probably want this one.
6369 lt_cv_deplibs_check_method=pass_all
6373 lt_cv_deplibs_check_method=pass_all
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6378 lt_cv_file_magic_cmd='/usr/bin/file -L'
6379 lt_cv_file_magic_test_file=/shlib/libc.so
6383 # func_win32_libid is a shell function defined in ltmain.sh
6384 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6385 lt_cv_file_magic_cmd='func_win32_libid'
6389 # Base MSYS/MinGW do not provide the 'file' command needed by
6390 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6391 # unless we find 'file', for example because we are cross-compiling.
6392 if ( file / ) >/dev/null 2>&1; then
6393 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6394 lt_cv_file_magic_cmd='func_win32_libid'
6396 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6397 lt_cv_file_magic_cmd='$OBJDUMP -f'
6402 # use the weaker test based on 'objdump'. See mingw*.
6403 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6404 lt_cv_file_magic_cmd='$OBJDUMP -f'
6407 darwin* | rhapsody*)
6408 lt_cv_deplibs_check_method=pass_all
6411 freebsd* | dragonfly*)
6412 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6415 # Not sure whether the presence of OpenBSD here was a mistake.
6416 # Let's accept both of them until this is cleared up.
6417 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6418 lt_cv_file_magic_cmd=/usr/bin/file
6419 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6423 lt_cv_deplibs_check_method=pass_all
6428 lt_cv_deplibs_check_method=pass_all
6431 hpux10.20* | hpux11*)
6432 lt_cv_file_magic_cmd=/usr/bin/file
6435 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6436 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6439 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]'
6440 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6443 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6444 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6450 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6451 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6454 irix5* | irix6* | nonstopux*)
6456 *-32|*"-32 ") libmagic=32-bit;;
6457 *-n32|*"-n32 ") libmagic=N32;;
6458 *-64|*"-64 ") libmagic=64-bit;;
6459 *) libmagic=never-match;;
6461 lt_cv_deplibs_check_method=pass_all
6464 # This must be Linux ELF.
6465 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6466 lt_cv_deplibs_check_method=pass_all
6470 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6471 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6473 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6478 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6479 lt_cv_file_magic_cmd=/usr/bin/file
6480 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6484 lt_cv_deplibs_check_method=pass_all
6488 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6489 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6491 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6495 osf3* | osf4* | osf5*)
6496 lt_cv_deplibs_check_method=pass_all
6500 lt_cv_deplibs_check_method=pass_all
6504 lt_cv_deplibs_check_method=pass_all
6507 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6508 lt_cv_deplibs_check_method=pass_all
6512 case $host_vendor in
6514 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]'
6515 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6518 lt_cv_deplibs_check_method=pass_all
6521 lt_cv_file_magic_cmd='/bin/file'
6522 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6525 lt_cv_file_magic_cmd='/bin/file'
6526 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6527 lt_cv_file_magic_test_file=/lib/libc.so
6530 lt_cv_deplibs_check_method=pass_all
6533 lt_cv_deplibs_check_method=pass_all
6539 lt_cv_deplibs_check_method=pass_all
6544 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6545 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
6546 file_magic_cmd=$lt_cv_file_magic_cmd
6547 deplibs_check_method=$lt_cv_deplibs_check_method
6548 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6561 if test -n "$ac_tool_prefix"; then
6562 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6563 set dummy ${ac_tool_prefix}ar; ac_word=$2
6564 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6565 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6566 if test "${ac_cv_prog_AR+set}" = set; then
6567 echo $ECHO_N "(cached
) $ECHO_C" >&6
6569 if test -n "$AR"; then
6570 ac_cv_prog_AR="$AR" # Let the user override the test.
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6579 ac_cv_prog_AR="${ac_tool_prefix}ar"
6580 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6589 if test -n "$AR"; then
6590 echo "$as_me:$LINENO: result
: $AR" >&5
6591 echo "${ECHO_T}$AR" >&6
6593 echo "$as_me:$LINENO: result
: no
" >&5
6594 echo "${ECHO_T}no
" >&6
6598 if test -z "$ac_cv_prog_AR"; then
6600 # Extract the first word of "ar", so it can be a program name with args.
6601 set dummy ar; ac_word=$2
6602 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6603 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6604 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6605 echo $ECHO_N "(cached
) $ECHO_C" >&6
6607 if test -n "$ac_ct_AR"; then
6608 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614 test -z "$as_dir" && as_dir=.
6615 for ac_exec_ext in '' $ac_executable_extensions; do
6616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6617 ac_cv_prog_ac_ct_AR="ar"
6618 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6624 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
6627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6628 if test -n "$ac_ct_AR"; then
6629 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6630 echo "${ECHO_T}$ac_ct_AR" >&6
6632 echo "$as_me:$LINENO: result
: no
" >&5
6633 echo "${ECHO_T}no
" >&6
6641 test -z "$AR" && AR=ar
6642 test -z "$AR_FLAGS" && AR_FLAGS=cru
6654 if test -n "$ac_tool_prefix"; then
6655 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6656 set dummy ${ac_tool_prefix}strip; ac_word=$2
6657 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6658 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6659 if test "${ac_cv_prog_STRIP+set}" = set; then
6660 echo $ECHO_N "(cached
) $ECHO_C" >&6
6662 if test -n "$STRIP"; then
6663 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669 test -z "$as_dir" && as_dir=.
6670 for ac_exec_ext in '' $ac_executable_extensions; do
6671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6672 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6673 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6681 STRIP=$ac_cv_prog_STRIP
6682 if test -n "$STRIP"; then
6683 echo "$as_me:$LINENO: result
: $STRIP" >&5
6684 echo "${ECHO_T}$STRIP" >&6
6686 echo "$as_me:$LINENO: result
: no
" >&5
6687 echo "${ECHO_T}no
" >&6
6691 if test -z "$ac_cv_prog_STRIP"; then
6693 # Extract the first word of "strip
", so it can be a program name with args.
6694 set dummy strip; ac_word=$2
6695 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6696 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6697 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6698 echo $ECHO_N "(cached
) $ECHO_C" >&6
6700 if test -n "$ac_ct_STRIP"; then
6701 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 test -z "$as_dir" && as_dir=.
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6710 ac_cv_prog_ac_ct_STRIP="strip
"
6711 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6717 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6720 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6721 if test -n "$ac_ct_STRIP"; then
6722 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6723 echo "${ECHO_T}$ac_ct_STRIP" >&6
6725 echo "$as_me:$LINENO: result
: no
" >&5
6726 echo "${ECHO_T}no
" >&6
6731 STRIP="$ac_cv_prog_STRIP"
6734 test -z "$STRIP" && STRIP=:
6741 if test -n "$ac_tool_prefix"; then
6742 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6743 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6744 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6745 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6746 if test "${ac_cv_prog_RANLIB+set}" = set; then
6747 echo $ECHO_N "(cached
) $ECHO_C" >&6
6749 if test -n "$RANLIB"; then
6750 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir=.
6757 for ac_exec_ext in '' $ac_executable_extensions; do
6758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6759 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6760 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6768 RANLIB=$ac_cv_prog_RANLIB
6769 if test -n "$RANLIB"; then
6770 echo "$as_me:$LINENO: result
: $RANLIB" >&5
6771 echo "${ECHO_T}$RANLIB" >&6
6773 echo "$as_me:$LINENO: result
: no
" >&5
6774 echo "${ECHO_T}no
" >&6
6778 if test -z "$ac_cv_prog_RANLIB"; then
6779 ac_ct_RANLIB=$RANLIB
6780 # Extract the first word of "ranlib
", so it can be a program name with args.
6781 set dummy ranlib; ac_word=$2
6782 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6783 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6784 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6785 echo $ECHO_N "(cached
) $ECHO_C" >&6
6787 if test -n "$ac_ct_RANLIB"; then
6788 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6794 test -z "$as_dir" && as_dir=.
6795 for ac_exec_ext in '' $ac_executable_extensions; do
6796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6797 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6798 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6804 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6807 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6808 if test -n "$ac_ct_RANLIB"; then
6809 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6810 echo "${ECHO_T}$ac_ct_RANLIB" >&6
6812 echo "$as_me:$LINENO: result
: no
" >&5
6813 echo "${ECHO_T}no
" >&6
6816 RANLIB=$ac_ct_RANLIB
6818 RANLIB="$ac_cv_prog_RANLIB"
6821 test -z "$RANLIB" && RANLIB=:
6828 # Determine commands to create old-style static archives.
6829 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6830 old_postinstall_cmds='chmod 644 $oldlib'
6831 old_postuninstall_cmds=
6833 if test -n "$RANLIB"; then
6836 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6839 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6842 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6878 # If no C compiler was specified, use CC.
6881 # If no C compiler flags were specified, use CFLAGS.
6882 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6884 # Allow CC to be a program name with arguments.
6888 # Check for command to grab the raw symbol name followed by C symbol from nm.
6889 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6890 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
6891 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6892 echo $ECHO_N "(cached
) $ECHO_C" >&6
6895 # These are sane defaults that work on at least a few old systems.
6896 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6898 # Character class describing NM global symbol codes.
6899 symcode='[BCDEGRST]'
6901 # Regexp to match symbols that can be accessed directly from C.
6902 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6904 # Define system-specific variables.
6909 cygwin* | mingw* | pw32* | cegcc*)
6910 symcode='[ABCDGISTW]'
6913 if test "$host_cpu" = ia64; then
6914 symcode='[ABCDEGRST]'
6918 symcode='[BCDEGRST]'
6921 symcode='[BCDEGQRST]'
6932 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6940 # If we're using GNU nm, then use its standard symbol codes.
6941 case `$NM -V 2>&1` in
6942 *GNU* | *'with BFD'*)
6943 symcode='[ABCDGIRSTW]' ;;
6946 # Transform an extracted symbol line into a proper C declaration.
6947 # Some systems (esp. on ia64) link data and code symbols differently,
6948 # so use this general approach.
6949 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6951 # Transform an extracted symbol line into symbol name and symbol address
6952 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6953 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6955 # Handle CRLF in mingw tool chain
6959 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6963 # Try without a prefix underscore, then with it.
6964 for ac_symprfx in "" "_
"; do
6966 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6967 symxfrm="\\1 $ac_symprfx\\2 \\2"
6969 # Write the raw and C identifiers.
6970 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6971 # Fake it for dumpbin and say T for any non-static function
6972 # and D for any global variable.
6973 # Also find C++ and __fastcall symbols from MSVC++,
6974 # which start with @ or ?.
6975 lt_cv_sys_global_symbol_pipe="$AWK '"\
6976 " {last_section=section; section=\$ 3};"\
6977 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6978 " \$ 0!~/External *\|/{next};"\
6979 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6980 " {if(hide[section]) next};"\
6981 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6982 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6983 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6984 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6985 " ' prfx
=^
$ac_symprfx"
6987 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6990 # Check to see that the pipe works correctly.
6994 cat > conftest.$ac_ext <<_LT_EOF
6999 void nm_test_func(void);
7000 void nm_test_func(void){}
7004 int main(){nm_test_var='a';nm_test_func();return(0);}
7007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7008 (eval $ac_compile) 2>&5
7010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7011 (exit $ac_status); }; then
7012 # Now try to grab the symbols.
7014 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
7015 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7018 (exit $ac_status); } && test -s "$nlist"; then
7019 # Try sorting and uniquifying the output.
7020 if sort "$nlist" | uniq > "$nlist"T; then
7021 mv -f "$nlist"T "$nlist"
7026 # Make sure that we snagged all the symbols we need.
7027 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7028 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7029 cat <<_LT_EOF > conftest.$ac_ext
7035 # Now generate the symbol file.
7036 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7038 cat <<_LT_EOF >> conftest.$ac_ext
7040 /* The mapping between symbol names and symbols. */
7045 lt__PROGRAM__LTX_preloaded_symbols[] =
7047 { "@PROGRAM@
", (void *) 0 },
7049 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7050 cat <<\_LT_EOF >> conftest.$ac_ext
7054 /* This works around a problem in FreeBSD linker */
7055 #ifdef FREEBSD_WORKAROUND
7056 static const void *lt_preloaded_setup() {
7057 return lt__PROGRAM__LTX_preloaded_symbols;
7065 # Now try linking the two files.
7066 mv conftest.$ac_objext conftstm.$ac_objext
7067 lt_save_LIBS="$LIBS"
7068 lt_save_CFLAGS="$CFLAGS"
7069 LIBS="conftstm.
$ac_objext"
7070 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7072 (eval $ac_link) 2>&5
7074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7075 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7078 LIBS="$lt_save_LIBS"
7079 CFLAGS="$lt_save_CFLAGS"
7081 echo "cannot
find nm_test_func
in $nlist" >&5
7084 echo "cannot
find nm_test_var
in $nlist" >&5
7087 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7090 echo "$progname: failed program was
:" >&5
7091 cat conftest.$ac_ext >&5
7093 rm -rf conftest* conftst*
7095 # Do not use the global_symbol_pipe unless it works.
7096 if test "$pipe_works" = yes; then
7099 lt_cv_sys_global_symbol_pipe=
7105 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7106 lt_cv_sys_global_symbol_to_cdecl=
7108 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7109 echo "$as_me:$LINENO: result
: failed
" >&5
7110 echo "${ECHO_T}failed
" >&6
7112 echo "$as_me:$LINENO: result
: ok
" >&5
7113 echo "${ECHO_T}ok
" >&6
7138 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
7139 if test "${enable_libtool_lock+set}" = set; then
7140 enableval="$enable_libtool_lock"
7143 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7145 # Some flags need to be propagated to the compiler or linker for good
7149 # Find out which ABI we are using.
7150 echo 'int i;' > conftest.$ac_ext
7151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7152 (eval $ac_compile) 2>&5
7154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7155 (exit $ac_status); }; then
7156 case `/usr/bin/file conftest.$ac_objext` in
7168 # Find out which ABI we are using.
7169 echo '#line 7169 "configure
"' > conftest.$ac_ext
7170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7171 (eval $ac_compile) 2>&5
7173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7174 (exit $ac_status); }; then
7175 if test "$lt_cv_prog_gnu_ld" = yes; then
7176 case `/usr/bin/file conftest.$ac_objext` in
7178 LD="${LD-ld} -melf32bsmip"
7181 LD="${LD-ld} -melf32bmipn32"
7184 LD="${LD-ld} -melf64bmip"
7188 case `/usr/bin/file conftest.$ac_objext` in
7204 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7205 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7206 # Find out which ABI we are using.
7207 echo 'int i;' > conftest.$ac_ext
7208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7209 (eval $ac_compile) 2>&5
7211 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7212 (exit $ac_status); }; then
7213 case `/usr/bin/file conftest.o` in
7216 x86_64-*kfreebsd*-gnu)
7217 LD="${LD-ld} -m elf_i386_fbsd
"
7220 LD="${LD-ld} -m elf_i386
"
7222 ppc64-*linux*|powerpc64-*linux*)
7223 LD="${LD-ld} -m elf32ppclinux
"
7226 LD="${LD-ld} -m elf_s390
"
7229 LD="${LD-ld} -m elf32_sparc
"
7235 x86_64-*kfreebsd*-gnu)
7236 LD="${LD-ld} -m elf_x86_64_fbsd
"
7239 LD="${LD-ld} -m elf_x86_64
"
7241 ppc*-*linux*|powerpc*-*linux*)
7242 LD="${LD-ld} -m elf64ppc
"
7244 s390*-*linux*|s390*-*tpf*)
7245 LD="${LD-ld} -m elf64_s390
"
7248 LD="${LD-ld} -m elf64_sparc
"
7258 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7259 SAVE_CFLAGS="$CFLAGS"
7260 CFLAGS="$CFLAGS -belf"
7261 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7262 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
7263 if test "${lt_cv_cc_needs_belf+set}" = set; then
7264 echo $ECHO_N "(cached
) $ECHO_C" >&6
7267 ac_cpp='$CPP $CPPFLAGS'
7268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7272 if test x$gcc_no_link = xyes; then
7273 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7274 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7275 { (exit 1); exit 1; }; }
7277 cat >conftest.$ac_ext <<_ACEOF
7280 cat confdefs.h >>conftest.$ac_ext
7281 cat >>conftest.$ac_ext <<_ACEOF
7282 /* end confdefs.h. */
7292 rm -f conftest.$ac_objext conftest$ac_exeext
7293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7294 (eval $ac_link) 2>conftest.er1
7296 grep -v '^ *+' conftest.er1 >conftest.err
7298 cat conftest.err >&5
7299 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7300 (exit $ac_status); } &&
7301 { ac_try='test -z "$ac_c_werror_flag"
7302 || test ! -s conftest.err'
7303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7307 (exit $ac_status); }; } &&
7308 { ac_try='test -s conftest$ac_exeext'
7309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7312 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7313 (exit $ac_status); }; }; then
7314 lt_cv_cc_needs_belf=yes
7316 echo "$as_me: failed program was
:" >&5
7317 sed 's/^/| /' conftest.$ac_ext >&5
7319 lt_cv_cc_needs_belf=no
7321 rm -f conftest.err conftest.$ac_objext \
7322 conftest$ac_exeext conftest.$ac_ext
7324 ac_cpp='$CPP $CPPFLAGS'
7325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7330 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7331 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
7332 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7333 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7334 CFLAGS="$SAVE_CFLAGS"
7338 # Find out which ABI we are using.
7339 echo 'int i;' > conftest.$ac_ext
7340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7341 (eval $ac_compile) 2>&5
7343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7344 (exit $ac_status); }; then
7345 case `/usr/bin/file conftest.o` in
7347 case $lt_cv_prog_gnu_ld in
7348 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7350 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7362 need_locks="$enable_libtool_lock"
7366 rhapsody* | darwin*)
7367 if test -n "$ac_tool_prefix"; then
7368 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7369 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7370 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7371 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7372 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7373 echo $ECHO_N "(cached
) $ECHO_C" >&6
7375 if test -n "$DSYMUTIL"; then
7376 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 test -z "$as_dir" && as_dir=.
7383 for ac_exec_ext in '' $ac_executable_extensions; do
7384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7386 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7394 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7395 if test -n "$DSYMUTIL"; then
7396 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7397 echo "${ECHO_T}$DSYMUTIL" >&6
7399 echo "$as_me:$LINENO: result
: no
" >&5
7400 echo "${ECHO_T}no
" >&6
7404 if test -z "$ac_cv_prog_DSYMUTIL"; then
7405 ac_ct_DSYMUTIL=$DSYMUTIL
7406 # Extract the first word of "dsymutil
", so it can be a program name with args.
7407 set dummy dsymutil; ac_word=$2
7408 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7409 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7410 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7411 echo $ECHO_N "(cached
) $ECHO_C" >&6
7413 if test -n "$ac_ct_DSYMUTIL"; then
7414 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420 test -z "$as_dir" && as_dir=.
7421 for ac_exec_ext in '' $ac_executable_extensions; do
7422 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7423 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7424 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7430 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
7433 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7434 if test -n "$ac_ct_DSYMUTIL"; then
7435 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7436 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
7438 echo "$as_me:$LINENO: result
: no
" >&5
7439 echo "${ECHO_T}no
" >&6
7442 DSYMUTIL=$ac_ct_DSYMUTIL
7444 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7447 if test -n "$ac_tool_prefix"; then
7448 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7449 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7450 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7451 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7452 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7453 echo $ECHO_N "(cached
) $ECHO_C" >&6
7455 if test -n "$NMEDIT"; then
7456 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462 test -z "$as_dir" && as_dir=.
7463 for ac_exec_ext in '' $ac_executable_extensions; do
7464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7465 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7466 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7474 NMEDIT=$ac_cv_prog_NMEDIT
7475 if test -n "$NMEDIT"; then
7476 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7477 echo "${ECHO_T}$NMEDIT" >&6
7479 echo "$as_me:$LINENO: result
: no
" >&5
7480 echo "${ECHO_T}no
" >&6
7484 if test -z "$ac_cv_prog_NMEDIT"; then
7485 ac_ct_NMEDIT=$NMEDIT
7486 # Extract the first word of "nmedit
", so it can be a program name with args.
7487 set dummy nmedit; ac_word=$2
7488 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7489 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7490 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7491 echo $ECHO_N "(cached
) $ECHO_C" >&6
7493 if test -n "$ac_ct_NMEDIT"; then
7494 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7503 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7504 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7510 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
7513 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7514 if test -n "$ac_ct_NMEDIT"; then
7515 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7516 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
7518 echo "$as_me:$LINENO: result
: no
" >&5
7519 echo "${ECHO_T}no
" >&6
7522 NMEDIT=$ac_ct_NMEDIT
7524 NMEDIT="$ac_cv_prog_NMEDIT"
7527 if test -n "$ac_tool_prefix"; then
7528 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7529 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7530 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7531 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7532 if test "${ac_cv_prog_LIPO+set}" = set; then
7533 echo $ECHO_N "(cached
) $ECHO_C" >&6
7535 if test -n "$LIPO"; then
7536 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 test -z "$as_dir" && as_dir=.
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7545 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7546 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7554 LIPO=$ac_cv_prog_LIPO
7555 if test -n "$LIPO"; then
7556 echo "$as_me:$LINENO: result
: $LIPO" >&5
7557 echo "${ECHO_T}$LIPO" >&6
7559 echo "$as_me:$LINENO: result
: no
" >&5
7560 echo "${ECHO_T}no
" >&6
7564 if test -z "$ac_cv_prog_LIPO"; then
7566 # Extract the first word of "lipo
", so it can be a program name with args.
7567 set dummy lipo; ac_word=$2
7568 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7569 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7570 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7571 echo $ECHO_N "(cached
) $ECHO_C" >&6
7573 if test -n "$ac_ct_LIPO"; then
7574 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir=.
7581 for ac_exec_ext in '' $ac_executable_extensions; do
7582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7583 ac_cv_prog_ac_ct_LIPO="lipo
"
7584 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7590 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
7593 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7594 if test -n "$ac_ct_LIPO"; then
7595 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7596 echo "${ECHO_T}$ac_ct_LIPO" >&6
7598 echo "$as_me:$LINENO: result
: no
" >&5
7599 echo "${ECHO_T}no
" >&6
7604 LIPO="$ac_cv_prog_LIPO"
7607 if test -n "$ac_tool_prefix"; then
7608 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7609 set dummy ${ac_tool_prefix}otool; ac_word=$2
7610 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7611 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7612 if test "${ac_cv_prog_OTOOL+set}" = set; then
7613 echo $ECHO_N "(cached
) $ECHO_C" >&6
7615 if test -n "$OTOOL"; then
7616 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7625 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7626 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7634 OTOOL=$ac_cv_prog_OTOOL
7635 if test -n "$OTOOL"; then
7636 echo "$as_me:$LINENO: result
: $OTOOL" >&5
7637 echo "${ECHO_T}$OTOOL" >&6
7639 echo "$as_me:$LINENO: result
: no
" >&5
7640 echo "${ECHO_T}no
" >&6
7644 if test -z "$ac_cv_prog_OTOOL"; then
7646 # Extract the first word of "otool
", so it can be a program name with args.
7647 set dummy otool; ac_word=$2
7648 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7649 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7650 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7651 echo $ECHO_N "(cached
) $ECHO_C" >&6
7653 if test -n "$ac_ct_OTOOL"; then
7654 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7660 test -z "$as_dir" && as_dir=.
7661 for ac_exec_ext in '' $ac_executable_extensions; do
7662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7663 ac_cv_prog_ac_ct_OTOOL="otool
"
7664 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7670 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
7673 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7674 if test -n "$ac_ct_OTOOL"; then
7675 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7676 echo "${ECHO_T}$ac_ct_OTOOL" >&6
7678 echo "$as_me:$LINENO: result
: no
" >&5
7679 echo "${ECHO_T}no
" >&6
7684 OTOOL="$ac_cv_prog_OTOOL"
7687 if test -n "$ac_tool_prefix"; then
7688 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7689 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7690 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7691 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7692 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7693 echo $ECHO_N "(cached
) $ECHO_C" >&6
7695 if test -n "$OTOOL64"; then
7696 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7702 test -z "$as_dir" && as_dir=.
7703 for ac_exec_ext in '' $ac_executable_extensions; do
7704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7705 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7706 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7714 OTOOL64=$ac_cv_prog_OTOOL64
7715 if test -n "$OTOOL64"; then
7716 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7717 echo "${ECHO_T}$OTOOL64" >&6
7719 echo "$as_me:$LINENO: result
: no
" >&5
7720 echo "${ECHO_T}no
" >&6
7724 if test -z "$ac_cv_prog_OTOOL64"; then
7725 ac_ct_OTOOL64=$OTOOL64
7726 # Extract the first word of "otool64
", so it can be a program name with args.
7727 set dummy otool64; ac_word=$2
7728 echo "$as_me:$LINENO: checking
for $ac_word" >&5
7729 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
7730 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7731 echo $ECHO_N "(cached
) $ECHO_C" >&6
7733 if test -n "$ac_ct_OTOOL64"; then
7734 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740 test -z "$as_dir" && as_dir=.
7741 for ac_exec_ext in '' $ac_executable_extensions; do
7742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7743 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7744 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7750 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
7753 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7754 if test -n "$ac_ct_OTOOL64"; then
7755 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7756 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
7758 echo "$as_me:$LINENO: result
: no
" >&5
7759 echo "${ECHO_T}no
" >&6
7762 OTOOL64=$ac_ct_OTOOL64
7764 OTOOL64="$ac_cv_prog_OTOOL64"
7793 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7794 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
7795 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7796 echo $ECHO_N "(cached
) $ECHO_C" >&6
7798 lt_cv_apple_cc_single_mod=no
7799 if test -z "${LT_MULTI_MODULE}"; then
7800 # By default we will add the -single_module flag. You can override
7801 # by either setting the environment variable LT_MULTI_MODULE
7802 # non-empty at configure time, or by adding -multi_module to the
7804 rm -rf libconftest.dylib*
7805 echo "int foo
(void
){return 1;}" > conftest.c
7806 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7807 -dynamiclib -Wl,-single_module conftest.c
" >&5
7808 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7809 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7811 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7812 lt_cv_apple_cc_single_mod=yes
7814 cat conftest.err >&5
7816 rm -rf libconftest.dylib*
7820 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7821 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
7822 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7823 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
7824 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7825 echo $ECHO_N "(cached
) $ECHO_C" >&6
7827 lt_cv_ld_exported_symbols_list=no
7828 save_LDFLAGS=$LDFLAGS
7829 echo "_main
" > conftest.sym
7830 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7831 if test x$gcc_no_link = xyes; then
7832 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
7833 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
7834 { (exit 1); exit 1; }; }
7836 cat >conftest.$ac_ext <<_ACEOF
7839 cat confdefs.h >>conftest.$ac_ext
7840 cat >>conftest.$ac_ext <<_ACEOF
7841 /* end confdefs.h. */
7851 rm -f conftest.$ac_objext conftest$ac_exeext
7852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7853 (eval $ac_link) 2>conftest.er1
7855 grep -v '^ *+' conftest.er1 >conftest.err
7857 cat conftest.err >&5
7858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7859 (exit $ac_status); } &&
7860 { ac_try='test -z "$ac_c_werror_flag"
7861 || test ! -s conftest.err'
7862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7866 (exit $ac_status); }; } &&
7867 { ac_try='test -s conftest$ac_exeext'
7868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7872 (exit $ac_status); }; }; then
7873 lt_cv_ld_exported_symbols_list=yes
7875 echo "$as_me: failed program was
:" >&5
7876 sed 's/^/| /' conftest.$ac_ext >&5
7878 lt_cv_ld_exported_symbols_list=no
7880 rm -f conftest.err conftest.$ac_objext \
7881 conftest$ac_exeext conftest.$ac_ext
7882 LDFLAGS="$save_LDFLAGS"
7885 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7886 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
7888 rhapsody* | darwin1.[012])
7889 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7891 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7892 darwin*) # darwin 5.x on
7893 # if running on 10.5 or later, the deployment target defaults
7894 # to the OS version, if on x86, and 10.4, the deployment
7895 # target defaults to 10.4. Don't you love it?
7896 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7897 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7898 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7900 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7902 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7906 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7907 _lt_dar_single_mod='$single_module'
7909 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7910 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7912 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7914 if test "$DSYMUTIL" != ":"; then
7915 _lt_dsymutil='~$DSYMUTIL $lib || :'
7923 ac_cpp='$CPP $CPPFLAGS'
7924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7927 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
7928 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
7929 # On Suns, sometimes $CPP names a directory.
7930 if test -n "$CPP" && test -d "$CPP"; then
7933 if test -z "$CPP"; then
7934 if test "${ac_cv_prog_CPP+set}" = set; then
7935 echo $ECHO_N "(cached
) $ECHO_C" >&6
7937 # Double quotes because CPP needs to be expanded
7938 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7941 for ac_c_preproc_warn_flag in '' yes
7943 # Use a header file that comes with gcc, so configuring glibc
7944 # with a fresh cross-compiler works.
7945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7946 # <limits.h> exists even on freestanding compilers.
7947 # On the NeXT, cc -E runs the code through the compiler's parser,
7948 # not just through cpp. "Syntax error
" is here to catch this case.
7949 cat >conftest.$ac_ext <<_ACEOF
7952 cat confdefs.h >>conftest.$ac_ext
7953 cat >>conftest.$ac_ext <<_ACEOF
7954 /* end confdefs.h. */
7956 # include <limits.h>
7958 # include <assert.h>
7962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
7963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7965 grep -v '^ *+' conftest.er1 >conftest.err
7967 cat conftest.err >&5
7968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7969 (exit $ac_status); } >/dev/null; then
7970 if test -s conftest.err; then
7971 ac_cpp_err=$ac_c_preproc_warn_flag
7972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7979 if test -z "$ac_cpp_err"; then
7982 echo "$as_me: failed program was
:" >&5
7983 sed 's/^/| /' conftest.$ac_ext >&5
7985 # Broken: fails on valid input.
7988 rm -f conftest.err conftest.$ac_ext
7990 # OK, works on sane cases. Now check whether non-existent headers
7991 # can be detected and how.
7992 cat >conftest.$ac_ext <<_ACEOF
7995 cat confdefs.h >>conftest.$ac_ext
7996 cat >>conftest.$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
7998 #include <ac_nonexistent.h>
8000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
8001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8003 grep -v '^ *+' conftest.er1 >conftest.err
8005 cat conftest.err >&5
8006 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8007 (exit $ac_status); } >/dev/null; then
8008 if test -s conftest.err; then
8009 ac_cpp_err=$ac_c_preproc_warn_flag
8010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8017 if test -z "$ac_cpp_err"; then
8018 # Broken: success on invalid input.
8021 echo "$as_me: failed program was
:" >&5
8022 sed 's/^/| /' conftest.$ac_ext >&5
8024 # Passes both tests.
8028 rm -f conftest.err conftest.$ac_ext
8031 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8032 rm -f conftest.err conftest.$ac_ext
8033 if $ac_preproc_ok; then
8045 echo "$as_me:$LINENO: result
: $CPP" >&5
8046 echo "${ECHO_T}$CPP" >&6
8048 for ac_c_preproc_warn_flag in '' yes
8050 # Use a header file that comes with gcc, so configuring glibc
8051 # with a fresh cross-compiler works.
8052 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8053 # <limits.h> exists even on freestanding compilers.
8054 # On the NeXT, cc -E runs the code through the compiler's parser,
8055 # not just through cpp. "Syntax error
" is here to catch this case.
8056 cat >conftest.$ac_ext <<_ACEOF
8059 cat confdefs.h >>conftest.$ac_ext
8060 cat >>conftest.$ac_ext <<_ACEOF
8061 /* end confdefs.h. */
8063 # include <limits.h>
8065 # include <assert.h>
8069 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
8070 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8072 grep -v '^ *+' conftest.er1 >conftest.err
8074 cat conftest.err >&5
8075 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8076 (exit $ac_status); } >/dev/null; then
8077 if test -s conftest.err; then
8078 ac_cpp_err=$ac_c_preproc_warn_flag
8079 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8086 if test -z "$ac_cpp_err"; then
8089 echo "$as_me: failed program was
:" >&5
8090 sed 's/^/| /' conftest.$ac_ext >&5
8092 # Broken: fails on valid input.
8095 rm -f conftest.err conftest.$ac_ext
8097 # OK, works on sane cases. Now check whether non-existent headers
8098 # can be detected and how.
8099 cat >conftest.$ac_ext <<_ACEOF
8102 cat confdefs.h >>conftest.$ac_ext
8103 cat >>conftest.$ac_ext <<_ACEOF
8104 /* end confdefs.h. */
8105 #include <ac_nonexistent.h>
8107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
8108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8110 grep -v '^ *+' conftest.er1 >conftest.err
8112 cat conftest.err >&5
8113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8114 (exit $ac_status); } >/dev/null; then
8115 if test -s conftest.err; then
8116 ac_cpp_err=$ac_c_preproc_warn_flag
8117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8124 if test -z "$ac_cpp_err"; then
8125 # Broken: success on invalid input.
8128 echo "$as_me: failed program was
:" >&5
8129 sed 's/^/| /' conftest.$ac_ext >&5
8131 # Passes both tests.
8135 rm -f conftest.err conftest.$ac_ext
8138 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8139 rm -f conftest.err conftest.$ac_ext
8140 if $ac_preproc_ok; then
8143 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
8144 echo "$as_me: error: in \`$ac_pwd':" >&2;}
8145 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
8146 See \`config.log' for more details.
" >&5
8147 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
8148 See \
`config.log' for more details." >&2;}
8149 { (exit 1); exit 1; }; }; }
8153 ac_cpp='$CPP $CPPFLAGS'
8154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8159 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8160 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8161 if test "${ac_cv_header_stdc+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8164 cat >conftest.$ac_ext <<_ACEOF
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8183 rm -f conftest.$ac_objext
8184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8185 (eval $ac_compile) 2>conftest.er1
8187 grep -v '^ *+' conftest.er1 >conftest.err
8189 cat conftest.err >&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } &&
8192 { ac_try='test -z "$ac_c_werror_flag"
8193 || test ! -s conftest.err'
8194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); }; } &&
8199 { ac_try='test -s conftest.$ac_objext'
8200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; }; then
8205 ac_cv_header_stdc=yes
8207 echo "$as_me: failed program was:" >&5
8208 sed 's/^/| /' conftest.$ac_ext >&5
8210 ac_cv_header_stdc=no
8212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8214 if test $ac_cv_header_stdc = yes; then
8215 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8216 cat >conftest.$ac_ext <<_ACEOF
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8226 $EGREP "memchr" >/dev/null 2>&1; then
8229 ac_cv_header_stdc=no
8235 if test $ac_cv_header_stdc = yes; then
8236 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8237 cat >conftest.$ac_ext <<_ACEOF
8240 cat confdefs.h >>conftest.$ac_ext
8241 cat >>conftest.$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8247 $EGREP "free" >/dev/null 2>&1; then
8250 ac_cv_header_stdc=no
8256 if test $ac_cv_header_stdc = yes; then
8257 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8258 if test "$cross_compiling" = yes; then
8261 cat >conftest.$ac_ext <<_ACEOF
8264 cat confdefs.h >>conftest.$ac_ext
8265 cat >>conftest.$ac_ext <<_ACEOF
8266 /* end confdefs.h. */
8268 #if ((' ' & 0x0FF) == 0x020)
8269 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8270 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8272 # define ISLOWER(c) \
8273 (('a' <= (c) && (c) <= 'i') \
8274 || ('j' <= (c) && (c) <= 'r') \
8275 || ('s' <= (c) && (c) <= 'z'))
8276 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8279 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8284 for (i = 0; i < 256; i++)
8285 if (XOR (islower (i), ISLOWER (i))
8286 || toupper (i) != TOUPPER (i))
8291 rm -f conftest$ac_exeext
8292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8293 (eval $ac_link) 2>&5
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); }; }; then
8304 echo "$as_me: program exited with status $ac_status" >&5
8305 echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.$ac_ext >&5
8309 ac_cv_header_stdc=no
8311 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8315 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8316 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8317 if test $ac_cv_header_stdc = yes; then
8319 cat >>confdefs.h <<\_ACEOF
8320 #define STDC_HEADERS 1
8325 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8335 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8336 inttypes.h stdint.h unistd.h
8338 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8339 echo "$as_me:$LINENO: checking for $ac_header" >&5
8340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8342 echo $ECHO_N "(cached) $ECHO_C" >&6
8344 cat >conftest.$ac_ext <<_ACEOF
8347 cat confdefs.h >>conftest.$ac_ext
8348 cat >>conftest.$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8350 $ac_includes_default
8352 #include <$ac_header>
8354 rm -f conftest.$ac_objext
8355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8356 (eval $ac_compile) 2>conftest.er1
8358 grep -v '^ *+' conftest.er1 >conftest.err
8360 cat conftest.err >&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } &&
8363 { ac_try='test -z "$ac_c_werror_flag"
8364 || test ! -s conftest.err'
8365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); }; } &&
8370 { ac_try='test -s conftest.$ac_objext'
8371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); }; }; then
8376 eval "$as_ac_Header=yes"
8378 echo "$as_me: failed program was:" >&5
8379 sed 's/^/| /' conftest.$ac_ext >&5
8381 eval "$as_ac_Header=no"
8383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8388 cat >>confdefs.h <<_ACEOF
8389 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8398 for ac_header in dlfcn.h
8400 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8401 echo "$as_me:$LINENO: checking for $ac_header" >&5
8402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8404 echo $ECHO_N "(cached) $ECHO_C" >&6
8406 cat >conftest.$ac_ext <<_ACEOF
8409 cat confdefs.h >>conftest.$ac_ext
8410 cat >>conftest.$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8412 $ac_includes_default
8414 #include <$ac_header>
8416 rm -f conftest.$ac_objext
8417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8418 (eval $ac_compile) 2>conftest.er1
8420 grep -v '^ *+' conftest.er1 >conftest.err
8422 cat conftest.err >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } &&
8425 { ac_try='test -z "$ac_c_werror_flag"
8426 || test ! -s conftest.err'
8427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); }; } &&
8432 { ac_try='test -s conftest.$ac_objext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8438 eval "$as_ac_Header=yes"
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8443 eval "$as_ac_Header=no"
8445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8450 cat >>confdefs.h <<_ACEOF
8451 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8461 ac_cpp='$CXXCPP $CPPFLAGS'
8462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8465 if test -n "$ac_tool_prefix"; then
8466 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
8468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8470 echo "$as_me:$LINENO: checking for $ac_word" >&5
8471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8472 if test "${ac_cv_prog_CXX+set}" = set; then
8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8475 if test -n "$CXX"; then
8476 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8482 test -z "$as_dir" && as_dir=.
8483 for ac_exec_ext in '' $ac_executable_extensions; do
8484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8485 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8495 if test -n "$CXX"; then
8496 echo "$as_me:$LINENO: result: $CXX" >&5
8497 echo "${ECHO_T}$CXX" >&6
8499 echo "$as_me:$LINENO: result: no" >&5
8500 echo "${ECHO_T}no" >&6
8503 test -n "$CXX" && break
8506 if test -z "$CXX"; then
8508 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
8510 # Extract the first word of "$ac_prog", so it can be a program name with args.
8511 set dummy $ac_prog; ac_word=$2
8512 echo "$as_me:$LINENO: checking for $ac_word" >&5
8513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8514 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8515 echo $ECHO_N "(cached) $ECHO_C" >&6
8517 if test -n "$ac_ct_CXX"; then
8518 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8524 test -z "$as_dir" && as_dir=.
8525 for ac_exec_ext in '' $ac_executable_extensions; do
8526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8527 ac_cv_prog_ac_ct_CXX="$ac_prog"
8528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8536 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8537 if test -n "$ac_ct_CXX"; then
8538 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
8539 echo "${ECHO_T}$ac_ct_CXX" >&6
8541 echo "$as_me:$LINENO: result: no" >&5
8542 echo "${ECHO_T}no" >&6
8545 test -n "$ac_ct_CXX" && break
8547 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
8553 # Provide some information about the compiler.
8554 echo "$as_me:$LINENO:" \
8555 "checking for C++ compiler version" >&5
8556 ac_compiler=`set X
$ac_compile; echo $2`
8557 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
8558 (eval $ac_compiler --version </dev/null >&5) 2>&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }
8562 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
8563 (eval $ac_compiler -v </dev/null >&5) 2>&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); }
8567 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
8568 (eval $ac_compiler -V </dev/null >&5) 2>&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }
8573 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
8574 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
8575 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8576 echo $ECHO_N "(cached) $ECHO_C" >&6
8578 cat >conftest.$ac_ext <<_ACEOF
8581 cat confdefs.h >>conftest.$ac_ext
8582 cat >>conftest.$ac_ext <<_ACEOF
8583 /* end confdefs.h. */
8596 rm -f conftest.$ac_objext
8597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8598 (eval $ac_compile) 2>conftest.er1
8600 grep -v '^ *+' conftest.er1 >conftest.err
8602 cat conftest.err >&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); } &&
8605 { ac_try='test -z "$ac_cxx_werror_flag"
8606 || test ! -s conftest.err'
8607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; } &&
8612 { ac_try='test -s conftest.$ac_objext'
8613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); }; }; then
8620 echo "$as_me: failed program was:" >&5
8621 sed 's/^/| /' conftest.$ac_ext >&5
8625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8626 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8629 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8630 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
8631 GXX=`test $ac_compiler_gnu = yes && echo yes`
8632 ac_test_CXXFLAGS=${CXXFLAGS+set}
8633 ac_save_CXXFLAGS=$CXXFLAGS
8635 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8636 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
8637 if test "${ac_cv_prog_cxx_g+set}" = set; then
8638 echo $ECHO_N "(cached) $ECHO_C" >&6
8640 cat >conftest.$ac_ext <<_ACEOF
8643 cat confdefs.h >>conftest.$ac_ext
8644 cat >>conftest.$ac_ext <<_ACEOF
8645 /* end confdefs.h. */
8655 rm -f conftest.$ac_objext
8656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8657 (eval $ac_compile) 2>conftest.er1
8659 grep -v '^ *+' conftest.er1 >conftest.err
8661 cat conftest.err >&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); } &&
8664 { ac_try='test -z "$ac_cxx_werror_flag"
8665 || test ! -s conftest.err'
8666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); }; } &&
8671 { ac_try='test -s conftest.$ac_objext'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; }; then
8677 ac_cv_prog_cxx_g=yes
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.$ac_ext >&5
8684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8686 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8687 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
8688 if test "$ac_test_CXXFLAGS" = set; then
8689 CXXFLAGS=$ac_save_CXXFLAGS
8690 elif test $ac_cv_prog_cxx_g = yes; then
8691 if test "$GXX" = yes; then
8697 if test "$GXX" = yes; then
8703 for ac_declaration in \
8705 'extern "C" void std::exit (int) throw (); using std::exit;' \
8706 'extern "C" void std::exit (int); using std::exit;' \
8707 'extern "C" void exit (int) throw ();' \
8708 'extern "C" void exit (int);' \
8711 cat >conftest.$ac_ext <<_ACEOF
8714 cat confdefs.h >>conftest.$ac_ext
8715 cat >>conftest.$ac_ext <<_ACEOF
8716 /* end confdefs.h. */
8727 rm -f conftest.$ac_objext
8728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8729 (eval $ac_compile) 2>conftest.er1
8731 grep -v '^ *+' conftest.er1 >conftest.err
8733 cat conftest.err >&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); } &&
8736 { ac_try='test -z "$ac_cxx_werror_flag"
8737 || test ! -s conftest.err'
8738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8742 (exit $ac_status); }; } &&
8743 { ac_try='test -s conftest.$ac_objext'
8744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8748 (exit $ac_status); }; }; then
8751 echo "$as_me: failed program was:" >&5
8752 sed 's/^/| /' conftest.$ac_ext >&5
8756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8757 cat >conftest.$ac_ext <<_ACEOF
8760 cat confdefs.h >>conftest.$ac_ext
8761 cat >>conftest.$ac_ext <<_ACEOF
8762 /* end confdefs.h. */
8772 rm -f conftest.$ac_objext
8773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8774 (eval $ac_compile) 2>conftest.er1
8776 grep -v '^ *+' conftest.er1 >conftest.err
8778 cat conftest.err >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); } &&
8781 { ac_try='test -z "$ac_cxx_werror_flag"
8782 || test ! -s conftest.err'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; } &&
8788 { ac_try='test -s conftest.$ac_objext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.$ac_ext >&5
8800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8803 if test -n "$ac_declaration"; then
8804 echo '#ifdef __cplusplus' >>confdefs.h
8805 echo $ac_declaration >>confdefs.h
8806 echo '#endif' >>confdefs.h
8810 ac_cpp='$CPP $CPPFLAGS'
8811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8815 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8816 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
8817 (test "X$CXX" != "Xg++"))) ; then
8819 ac_cpp='$CXXCPP $CPPFLAGS'
8820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8823 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8824 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8825 if test -z "$CXXCPP"; then
8826 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8827 echo $ECHO_N "(cached) $ECHO_C" >&6
8829 # Double quotes because CXXCPP needs to be expanded
8830 for CXXCPP in "$CXX -E" "/lib/cpp"
8833 for ac_cxx_preproc_warn_flag in '' yes
8835 # Use a header file that comes with gcc, so configuring glibc
8836 # with a fresh cross-compiler works.
8837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8838 # <limits.h> exists even on freestanding compilers.
8839 # On the NeXT, cc -E runs the code through the compiler's parser,
8840 # not just through cpp. "Syntax error" is here to catch this case.
8841 cat >conftest.$ac_ext <<_ACEOF
8844 cat confdefs.h >>conftest.$ac_ext
8845 cat >>conftest.$ac_ext <<_ACEOF
8846 /* end confdefs.h. */
8848 # include <limits.h>
8850 # include <assert.h>
8854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8857 grep -v '^ *+' conftest.er1 >conftest.err
8859 cat conftest.err >&5
8860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 (exit $ac_status); } >/dev/null; then
8862 if test -s conftest.err; then
8863 ac_cpp_err=$ac_cxx_preproc_warn_flag
8864 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8871 if test -z "$ac_cpp_err"; then
8874 echo "$as_me: failed program was:" >&5
8875 sed 's/^/| /' conftest.$ac_ext >&5
8877 # Broken: fails on valid input.
8880 rm -f conftest.err conftest.$ac_ext
8882 # OK, works on sane cases. Now check whether non-existent headers
8883 # can be detected and how.
8884 cat >conftest.$ac_ext <<_ACEOF
8887 cat confdefs.h >>conftest.$ac_ext
8888 cat >>conftest.$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8890 #include <ac_nonexistent.h>
8892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8895 grep -v '^ *+' conftest.er1 >conftest.err
8897 cat conftest.err >&5
8898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8899 (exit $ac_status); } >/dev/null; then
8900 if test -s conftest.err; then
8901 ac_cpp_err=$ac_cxx_preproc_warn_flag
8902 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8909 if test -z "$ac_cpp_err"; then
8910 # Broken: success on invalid input.
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8916 # Passes both tests.
8920 rm -f conftest.err conftest.$ac_ext
8923 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8924 rm -f conftest.err conftest.
$ac_ext
8925 if $ac_preproc_ok; then
8930 ac_cv_prog_CXXCPP
=$CXXCPP
8933 CXXCPP
=$ac_cv_prog_CXXCPP
8935 ac_cv_prog_CXXCPP
=$CXXCPP
8937 echo "$as_me:$LINENO: result: $CXXCPP" >&5
8938 echo "${ECHO_T}$CXXCPP" >&6
8940 for ac_cxx_preproc_warn_flag
in '' yes
8942 # Use a header file that comes with gcc, so configuring glibc
8943 # with a fresh cross-compiler works.
8944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8945 # <limits.h> exists even on freestanding compilers.
8946 # On the NeXT, cc -E runs the code through the compiler's parser,
8947 # not just through cpp. "Syntax error" is here to catch this case.
8948 cat >conftest.
$ac_ext <<_ACEOF
8951 cat confdefs.h
>>conftest.
$ac_ext
8952 cat >>conftest.
$ac_ext <<_ACEOF
8953 /* end confdefs.h. */
8955 # include <limits.h>
8957 # include <assert.h>
8961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8964 grep -v '^ *+' conftest.er1
>conftest.err
8966 cat conftest.err
>&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); } >/dev
/null
; then
8969 if test -s conftest.err
; then
8970 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8971 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8978 if test -z "$ac_cpp_err"; then
8981 echo "$as_me: failed program was:" >&5
8982 sed 's/^/| /' conftest.
$ac_ext >&5
8984 # Broken: fails on valid input.
8987 rm -f conftest.err conftest.
$ac_ext
8989 # OK, works on sane cases. Now check whether non-existent headers
8990 # can be detected and how.
8991 cat >conftest.
$ac_ext <<_ACEOF
8994 cat confdefs.h
>>conftest.
$ac_ext
8995 cat >>conftest.
$ac_ext <<_ACEOF
8996 /* end confdefs.h. */
8997 #include <ac_nonexistent.h>
8999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9000 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9002 grep -v '^ *+' conftest.er1
>conftest.err
9004 cat conftest.err
>&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); } >/dev
/null
; then
9007 if test -s conftest.err
; then
9008 ac_cpp_err
=$ac_cxx_preproc_warn_flag
9009 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
9016 if test -z "$ac_cpp_err"; then
9017 # Broken: success on invalid input.
9020 echo "$as_me: failed program was:" >&5
9021 sed 's/^/| /' conftest.
$ac_ext >&5
9023 # Passes both tests.
9027 rm -f conftest.err conftest.
$ac_ext
9030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9031 rm -f conftest.err conftest.
$ac_ext
9032 if $ac_preproc_ok; then
9035 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
9036 echo "$as_me: error: in \`$ac_pwd':" >&2;}
9037 _lt_caught_CXX_error
=yes; }
9041 ac_cpp
='$CPP $CPPFLAGS'
9042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9047 _lt_caught_CXX_error
=yes
9062 # Check whether --enable-shared or --disable-shared was given.
9063 if test "${enable_shared+set}" = set; then
9064 enableval
="$enable_shared"
9065 p
=${PACKAGE-default}
9067 yes) enable_shared
=yes ;;
9068 no
) enable_shared
=no
;;
9071 # Look at the argument we got. We use all the common list separators.
9072 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9073 for pkg
in $enableval; do
9075 if test "X$pkg" = "X$p"; then
9093 # Check whether --enable-static or --disable-static was given.
9094 if test "${enable_static+set}" = set; then
9095 enableval
="$enable_static"
9096 p
=${PACKAGE-default}
9098 yes) enable_static
=yes ;;
9099 no
) enable_static
=no
;;
9102 # Look at the argument we got. We use all the common list separators.
9103 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9104 for pkg
in $enableval; do
9106 if test "X$pkg" = "X$p"; then
9125 # Check whether --with-pic or --without-pic was given.
9126 if test "${with_pic+set}" = set; then
9133 test -z "$pic_mode" && pic_mode
=default
9141 # Check whether --enable-fast-install or --disable-fast-install was given.
9142 if test "${enable_fast_install+set}" = set; then
9143 enableval
="$enable_fast_install"
9144 p
=${PACKAGE-default}
9146 yes) enable_fast_install
=yes ;;
9147 no
) enable_fast_install
=no
;;
9149 enable_fast_install
=no
9150 # Look at the argument we got. We use all the common list separators.
9151 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9152 for pkg
in $enableval; do
9154 if test "X$pkg" = "X$p"; then
9155 enable_fast_install
=yes
9162 enable_fast_install
=yes
9174 # This can be used to rebuild libtool when needed
9175 LIBTOOL_DEPS
="$ltmain"
9177 # Always use our own libtool.
9178 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9204 test -z "$LN_S" && LN_S
="ln -s"
9219 if test -n "${ZSH_VERSION+set}" ; then
9220 setopt NO_GLOB_SUBST
9223 echo "$as_me:$LINENO: checking for objdir" >&5
9224 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
9225 if test "${lt_cv_objdir+set}" = set; then
9226 echo $ECHO_N "(cached) $ECHO_C" >&6
9228 rm -f .libs
2>/dev
/null
9229 mkdir .libs
2>/dev
/null
9230 if test -d .libs
; then
9233 # MS-DOS does not allow filenames that begin with a dot.
9236 rmdir .libs
2>/dev
/null
9238 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9239 echo "${ECHO_T}$lt_cv_objdir" >&6
9240 objdir
=$lt_cv_objdir
9246 cat >>confdefs.h
<<_ACEOF
9247 #define LT_OBJDIR "$lt_cv_objdir/"
9268 # AIX sometimes has problems with the GCC collect2 program. For some
9269 # reason, if we set the COLLECT_NAMES environment variable, the problems
9270 # vanish in a puff of smoke.
9271 if test "X${COLLECT_NAMES+set}" != Xset
; then
9273 export COLLECT_NAMES
9278 # Sed substitution that helps us do robust quoting. It backslashifies
9279 # metacharacters that are still active within double-quoted strings.
9280 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
9282 # Same as above, but do not quote variable references.
9283 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
9285 # Sed substitution to delay expansion of an escaped shell variable in a
9286 # double_quote_subst'ed string.
9287 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
9289 # Sed substitution to delay expansion of an escaped single quote.
9290 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
9292 # Sed substitution to avoid accidental globbing in evaled expressions
9293 no_glob_subst
='s/\*/\\\*/g'
9297 can_build_shared
=yes
9299 # All known linkers require a `.a' archive for static linking (except MSVC,
9300 # which needs '.lib').
9303 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9306 old_CFLAGS
="$CFLAGS"
9308 # Set sane defaults for various variables
9309 test -z "$CC" && CC
=cc
9310 test -z "$LTCC" && LTCC
=$CC
9311 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9312 test -z "$LD" && LD
=ld
9313 test -z "$ac_objext" && ac_objext
=o
9315 for cc_temp
in $compiler""; do
9317 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9318 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9323 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9326 # Only perform the check for file, if the check method requires it
9327 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9328 case $deplibs_check_method in
9330 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9331 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9332 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
9333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9334 echo $ECHO_N "(cached) $ECHO_C" >&6
9338 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9341 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9342 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9343 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9344 for ac_dir
in $ac_dummy; do
9346 test -z "$ac_dir" && ac_dir
=.
9347 if test -f $ac_dir/${ac_tool_prefix}file; then
9348 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9349 if test -n "$file_magic_test_file"; then
9350 case $deplibs_check_method in
9352 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9353 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9354 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9355 $EGREP "$file_magic_regex" > /dev
/null
; then
9360 *** Warning: the command libtool uses to detect shared libraries,
9361 *** $file_magic_cmd, produces output that libtool cannot recognize.
9362 *** The result is that libtool may fail to recognize shared libraries
9363 *** as such. This will affect the creation of libtool libraries that
9364 *** depend on shared libraries, but programs linked with such libtool
9365 *** libraries will work regardless of this problem. Nevertheless, you
9366 *** may want to report the problem to your system manager and/or to
9367 *** bug-libtool@gnu.org
9377 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9382 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9383 if test -n "$MAGIC_CMD"; then
9384 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9385 echo "${ECHO_T}$MAGIC_CMD" >&6
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9395 if test -z "$lt_cv_path_MAGIC_CMD"; then
9396 if test -n "$ac_tool_prefix"; then
9397 echo "$as_me:$LINENO: checking for file" >&5
9398 echo $ECHO_N "checking for file... $ECHO_C" >&6
9399 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9400 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9407 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9408 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9409 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9410 for ac_dir
in $ac_dummy; do
9412 test -z "$ac_dir" && ac_dir
=.
9413 if test -f $ac_dir/file; then
9414 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9415 if test -n "$file_magic_test_file"; then
9416 case $deplibs_check_method in
9418 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9419 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9420 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9421 $EGREP "$file_magic_regex" > /dev
/null
; then
9426 *** Warning: the command libtool uses to detect shared libraries,
9427 *** $file_magic_cmd, produces output that libtool cannot recognize.
9428 *** The result is that libtool may fail to recognize shared libraries
9429 *** as such. This will affect the creation of libtool libraries that
9430 *** depend on shared libraries, but programs linked with such libtool
9431 *** libraries will work regardless of this problem. Nevertheless, you
9432 *** may want to report the problem to your system manager and/or to
9433 *** bug-libtool@gnu.org
9443 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9448 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9449 if test -n "$MAGIC_CMD"; then
9450 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9451 echo "${ECHO_T}$MAGIC_CMD" >&6
9453 echo "$as_me:$LINENO: result: no" >&5
9454 echo "${ECHO_T}no" >&6
9467 # Use C for the default configuration in the libtool script
9471 ac_cpp
='$CPP $CPPFLAGS'
9472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9477 # Source file extension for C test sources.
9480 # Object file extension for compiled C test sources.
9484 # Code to be used in simple compile tests
9485 lt_simple_compile_test_code
="int some_variable = 0;"
9487 # Code to be used in simple link tests
9488 lt_simple_link_test_code
='int main(){return(0);}'
9496 # If no C compiler was specified, use CC.
9499 # If no C compiler flags were specified, use CFLAGS.
9500 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9502 # Allow CC to be a program name with arguments.
9505 # Save the default compiler, since it gets overwritten when the other
9506 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9507 compiler_DEFAULT
=$CC
9509 # save warnings/boilerplate of simple test code
9510 ac_outfile
=conftest.
$ac_objext
9511 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9512 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9513 _lt_compiler_boilerplate
=`cat conftest.err`
9516 ac_outfile
=conftest.
$ac_objext
9517 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9518 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9519 _lt_linker_boilerplate
=`cat conftest.err`
9524 ## There is no encapsulation within the following macros, do not change
9525 ## the running order or otherwise move them around unless you know exactly
9526 ## what you are doing...
9527 if test -n "$compiler"; then
9529 lt_prog_compiler_no_builtin_flag
=
9531 if test "$GCC" = yes; then
9532 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
9534 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9535 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
9536 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9537 echo $ECHO_N "(cached) $ECHO_C" >&6
9539 lt_cv_prog_compiler_rtti_exceptions
=no
9540 ac_outfile
=conftest.
$ac_objext
9541 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9542 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9543 # Insert the option either (1) after the last *FLAGS variable, or
9544 # (2) before a word containing "conftest.", or (3) at the end.
9545 # Note that $ac_compile itself does not contain backslashes and begins
9546 # with a dollar sign (not a hyphen), so the echo should work correctly.
9547 # The option is referenced via a variable to avoid confusing sed.
9548 lt_compile
=`echo "$ac_compile" | $SED \
9549 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9550 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9551 -e 's:$: $lt_compiler_flag:'`
9552 (eval echo "\"\$as_me:9552: $lt_compile\"" >&5)
9553 (eval "$lt_compile" 2>conftest.err
)
9555 cat conftest.err
>&5
9556 echo "$as_me:9556: \$? = $ac_status" >&5
9557 if (exit $ac_status) && test -s "$ac_outfile"; then
9558 # The compiler can only warn and ignore the option if not recognized
9559 # So say no if there are warnings other than the usual output.
9560 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9561 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9562 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9563 lt_cv_prog_compiler_rtti_exceptions
=yes
9569 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9570 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
9572 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9573 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9585 lt_prog_compiler_wl
=
9586 lt_prog_compiler_pic
=
9587 lt_prog_compiler_static
=
9589 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9590 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
9592 if test "$GCC" = yes; then
9593 lt_prog_compiler_wl
='-Wl,'
9594 lt_prog_compiler_static
='-static'
9598 # All AIX code is PIC.
9599 if test "$host_cpu" = ia64
; then
9600 # AIX 5 now supports IA64 processor
9601 lt_prog_compiler_static
='-Bstatic'
9608 # see comment about AmigaOS4 .so support
9609 lt_prog_compiler_pic
='-fPIC'
9612 # FIXME: we need at least 68020 code to build shared libraries, but
9613 # adding the `-m68020' flag to GCC prevents building anything better,
9615 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9620 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9621 # PIC is the default for these OSes.
9624 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9625 # This hack is so that the source file can tell whether it is being
9626 # built for inclusion in a dll (and should export symbols for example).
9627 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9628 # (--disable-auto-import) libraries
9629 lt_prog_compiler_pic
='-DDLL_EXPORT'
9632 darwin
* | rhapsody
*)
9633 # PIC is the default on this platform
9634 # Common symbols not allowed in MH_DYLIB files
9635 lt_prog_compiler_pic
='-fno-common'
9639 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9640 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9641 # sets the default TLS model and affects inlining.
9647 lt_prog_compiler_pic
='-fPIC'
9653 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9654 # Instead, we relocate shared libraries at runtime.
9658 # Just because we use GCC doesn't mean we suddenly get shared libraries
9659 # on systems that don't support them.
9660 lt_prog_compiler_can_build_shared
=no
9665 # QNX uses GNU C++, but need to define -shared option too, otherwise
9667 lt_prog_compiler_pic
='-fPIC -shared'
9671 if test -d /usr
/nec
; then
9672 lt_prog_compiler_pic
=-Kconform_pic
9677 lt_prog_compiler_pic
='-fPIC'
9681 # PORTME Check for flag to pass linker flags through the system compiler.
9684 lt_prog_compiler_wl
='-Wl,'
9685 if test "$host_cpu" = ia64
; then
9686 # AIX 5 now supports IA64 processor
9687 lt_prog_compiler_static
='-Bstatic'
9689 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9693 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9694 # This hack is so that the source file can tell whether it is being
9695 # built for inclusion in a dll (and should export symbols for example).
9696 lt_prog_compiler_pic
='-DDLL_EXPORT'
9699 hpux9
* | hpux10
* | hpux11
*)
9700 lt_prog_compiler_wl
='-Wl,'
9701 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9708 lt_prog_compiler_pic
='+Z'
9711 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9712 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9715 irix5
* | irix6
* | nonstopux
*)
9716 lt_prog_compiler_wl
='-Wl,'
9717 # PIC (with -KPIC) is the default.
9718 lt_prog_compiler_static
='-non_shared'
9721 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9722 case $cc_basename in
9723 # old Intel for x86_64 which still supported -KPIC.
9725 lt_prog_compiler_wl
='-Wl,'
9726 lt_prog_compiler_pic
='-KPIC'
9727 lt_prog_compiler_static
='-static'
9729 # icc used to be incompatible with GCC.
9730 # ICC 10 doesn't accept -KPIC any more.
9732 lt_prog_compiler_wl
='-Wl,'
9733 lt_prog_compiler_pic
='-fPIC'
9734 lt_prog_compiler_static
='-static'
9736 # Lahey Fortran 8.1.
9738 lt_prog_compiler_wl
='-Wl,'
9739 lt_prog_compiler_pic
='--shared'
9740 lt_prog_compiler_static
='--static'
9742 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9743 # Portland Group compilers (*not* the Pentium gcc compiler,
9744 # which looks to be a dead project)
9745 lt_prog_compiler_wl
='-Wl,'
9746 lt_prog_compiler_pic
='-fpic'
9747 lt_prog_compiler_static
='-Bstatic'
9750 lt_prog_compiler_wl
='-Wl,'
9751 # All Alpha code is PIC.
9752 lt_prog_compiler_static
='-non_shared'
9755 # IBM XL C 8.0/Fortran 10.1 on PPC
9756 lt_prog_compiler_wl
='-Wl,'
9757 lt_prog_compiler_pic
='-qpic'
9758 lt_prog_compiler_static
='-qstaticlink'
9761 case `$CC -V 2>&1 | sed 5q` in
9764 lt_prog_compiler_pic
='-KPIC'
9765 lt_prog_compiler_static
='-Bstatic'
9766 lt_prog_compiler_wl
='-Wl,'
9769 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9770 lt_prog_compiler_pic
='-KPIC'
9771 lt_prog_compiler_static
='-Bstatic'
9772 lt_prog_compiler_wl
=''
9780 lt_prog_compiler_pic
='-KPIC'
9781 lt_prog_compiler_static
='-Bstatic'
9785 # QNX uses GNU C++, but need to define -shared option too, otherwise
9787 lt_prog_compiler_pic
='-fPIC -shared'
9790 osf3
* | osf4
* | osf5
*)
9791 lt_prog_compiler_wl
='-Wl,'
9792 # All OSF/1 code is PIC.
9793 lt_prog_compiler_static
='-non_shared'
9797 lt_prog_compiler_static
='-non_shared'
9801 lt_prog_compiler_pic
='-KPIC'
9802 lt_prog_compiler_static
='-Bstatic'
9803 case $cc_basename in
9805 lt_prog_compiler_wl
='-Qoption ld ';;
9807 lt_prog_compiler_wl
='-Wl,';;
9812 lt_prog_compiler_wl
='-Qoption ld '
9813 lt_prog_compiler_pic
='-PIC'
9814 lt_prog_compiler_static
='-Bstatic'
9817 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9818 lt_prog_compiler_wl
='-Wl,'
9819 lt_prog_compiler_pic
='-KPIC'
9820 lt_prog_compiler_static
='-Bstatic'
9824 if test -d /usr
/nec
;then
9825 lt_prog_compiler_pic
='-Kconform_pic'
9826 lt_prog_compiler_static
='-Bstatic'
9830 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9831 lt_prog_compiler_wl
='-Wl,'
9832 lt_prog_compiler_pic
='-KPIC'
9833 lt_prog_compiler_static
='-Bstatic'
9837 lt_prog_compiler_wl
='-Wl,'
9838 lt_prog_compiler_can_build_shared
=no
9842 lt_prog_compiler_pic
='-pic'
9843 lt_prog_compiler_static
='-Bstatic'
9847 lt_prog_compiler_can_build_shared
=no
9853 # For platforms which do not support PIC, -DPIC is meaningless:
9855 lt_prog_compiler_pic
=
9858 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9861 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9862 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
9870 # Check to make sure the PIC flag actually works.
9872 if test -n "$lt_prog_compiler_pic"; then
9873 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9874 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
9875 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9876 echo $ECHO_N "(cached) $ECHO_C" >&6
9878 lt_cv_prog_compiler_pic_works
=no
9879 ac_outfile
=conftest.
$ac_objext
9880 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9881 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9882 # Insert the option either (1) after the last *FLAGS variable, or
9883 # (2) before a word containing "conftest.", or (3) at the end.
9884 # Note that $ac_compile itself does not contain backslashes and begins
9885 # with a dollar sign (not a hyphen), so the echo should work correctly.
9886 # The option is referenced via a variable to avoid confusing sed.
9887 lt_compile
=`echo "$ac_compile" | $SED \
9888 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9889 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9890 -e 's:$: $lt_compiler_flag:'`
9891 (eval echo "\"\$as_me:9891: $lt_compile\"" >&5)
9892 (eval "$lt_compile" 2>conftest.err
)
9894 cat conftest.err
>&5
9895 echo "$as_me:9895: \$? = $ac_status" >&5
9896 if (exit $ac_status) && test -s "$ac_outfile"; then
9897 # The compiler can only warn and ignore the option if not recognized
9898 # So say no if there are warnings other than the usual output.
9899 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9900 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9901 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9902 lt_cv_prog_compiler_pic_works
=yes
9908 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9909 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
9911 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9912 case $lt_prog_compiler_pic in
9914 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9917 lt_prog_compiler_pic
=
9918 lt_prog_compiler_can_build_shared
=no
9929 # Check to make sure the static flag actually works.
9931 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9932 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9933 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9934 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 lt_cv_prog_compiler_static_works
=no
9938 save_LDFLAGS
="$LDFLAGS"
9939 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9940 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9941 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9942 # The linker can only warn and ignore the option if not recognized
9943 # So say no if there are warnings
9944 if test -s conftest.err
; then
9945 # Append any errors to the config.log.
9946 cat conftest.err
1>&5
9947 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9948 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9949 if diff conftest.exp conftest.er2
>/dev
/null
; then
9950 lt_cv_prog_compiler_static_works
=yes
9953 lt_cv_prog_compiler_static_works
=yes
9957 LDFLAGS
="$save_LDFLAGS"
9960 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9961 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
9963 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9966 lt_prog_compiler_static
=
9975 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9976 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9977 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9978 echo $ECHO_N "(cached) $ECHO_C" >&6
9980 lt_cv_prog_compiler_c_o
=no
9981 $RM -r conftest
2>/dev
/null
9985 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9987 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9988 # Insert the option either (1) after the last *FLAGS variable, or
9989 # (2) before a word containing "conftest.", or (3) at the end.
9990 # Note that $ac_compile itself does not contain backslashes and begins
9991 # with a dollar sign (not a hyphen), so the echo should work correctly.
9992 lt_compile
=`echo "$ac_compile" | $SED \
9993 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9994 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9995 -e 's:$: $lt_compiler_flag:'`
9996 (eval echo "\"\$as_me:9996: $lt_compile\"" >&5)
9997 (eval "$lt_compile" 2>out
/conftest.err
)
9999 cat out
/conftest.err
>&5
10000 echo "$as_me:10000: \$? = $ac_status" >&5
10001 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10003 # The compiler can only warn and ignore the option if not recognized
10004 # So say no if there are warnings
10005 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
10006 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10007 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10008 lt_cv_prog_compiler_c_o
=yes
10013 # SGI C++ compiler will create directory out/ii_files/ for
10014 # template instantiation
10015 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10016 $RM out
/* && rmdir out
10022 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10023 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
10030 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10031 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10032 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
10033 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 lt_cv_prog_compiler_c_o
=no
10036 $RM -r conftest
2>/dev
/null
10040 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10042 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10043 # Insert the option either (1) after the last *FLAGS variable, or
10044 # (2) before a word containing "conftest.", or (3) at the end.
10045 # Note that $ac_compile itself does not contain backslashes and begins
10046 # with a dollar sign (not a hyphen), so the echo should work correctly.
10047 lt_compile
=`echo "$ac_compile" | $SED \
10048 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10049 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10050 -e 's:$: $lt_compiler_flag:'`
10051 (eval echo "\"\$as_me:10051: $lt_compile\"" >&5)
10052 (eval "$lt_compile" 2>out
/conftest.err
)
10054 cat out
/conftest.err
>&5
10055 echo "$as_me:10055: \$? = $ac_status" >&5
10056 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10058 # The compiler can only warn and ignore the option if not recognized
10059 # So say no if there are warnings
10060 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
10061 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10062 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10063 lt_cv_prog_compiler_c_o
=yes
10068 # SGI C++ compiler will create directory out/ii_files/ for
10069 # template instantiation
10070 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10071 $RM out
/* && rmdir out
10077 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
10078 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
10083 hard_links
="nottested"
10084 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10085 # do not overwrite the value of need_locks provided by the user
10086 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10087 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10090 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10092 ln conftest.a conftest.b
2>&5 || hard_links
=no
10093 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10094 echo "$as_me:$LINENO: result: $hard_links" >&5
10095 echo "${ECHO_T}$hard_links" >&6
10096 if test "$hard_links" = no
; then
10097 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10098 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10110 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10111 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10114 allow_undefined_flag
=
10115 always_export_symbols
=no
10117 archive_expsym_cmds
=
10118 compiler_needs_object
=no
10119 enable_shared_with_static_runtimes
=no
10120 export_dynamic_flag_spec
=
10121 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10122 hardcode_automatic
=no
10124 hardcode_direct_absolute
=no
10125 hardcode_libdir_flag_spec
=
10126 hardcode_libdir_flag_spec_ld
=
10127 hardcode_libdir_separator
=
10128 hardcode_minus_L
=no
10129 hardcode_shlibpath_var
=unsupported
10131 link_all_deplibs
=unknown
10133 module_expsym_cmds
=
10134 old_archive_from_new_cmds
=
10135 old_archive_from_expsyms_cmds
=
10136 thread_safe_flag_spec
=
10137 whole_archive_flag_spec
=
10138 # include_expsyms should be a list of space-separated symbols to be *always*
10139 # included in the symbol list
10141 # exclude_expsyms can be an extended regexp of symbols to exclude
10142 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10143 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10144 # as well as any symbol that contains `d'.
10145 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10146 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10147 # platforms (ab)use it in PIC code, but their linkers get confused if
10148 # the symbol is explicitly referenced. Since portable code cannot
10149 # rely on this symbol name, it's probably fine to never include it in
10150 # preloaded symbol tables.
10151 # Exclude shared library initialization/finalization symbols.
10152 extract_expsyms_cmds
=
10155 cygwin
* | mingw
* | pw32
* | cegcc
*)
10156 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10157 # When not using gcc, we currently assume that we are using
10158 # Microsoft Visual C++.
10159 if test "$GCC" != yes; then
10164 # we just hope/assume this is gcc and not c89 (= MSVC++)
10173 if test "$with_gnu_ld" = yes; then
10174 # If archive_cmds runs LD, not CC, wlarc should be empty
10177 # Set some defaults for GNU ld with shared library support. These
10178 # are reset later if shared libraries are not supported. Putting them
10179 # here allows them to be overridden if necessary.
10180 runpath_var
=LD_RUN_PATH
10181 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10182 export_dynamic_flag_spec
='${wl}--export-dynamic'
10183 # ancient GNU ld didn't support --whole-archive et. al.
10184 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10185 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10187 whole_archive_flag_spec
=
10189 supports_anon_versioning
=no
10190 case `$LD -v 2>&1` in
10191 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10192 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10193 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10194 *\
2.11.
*) ;; # other 2.11 versions
10195 *) supports_anon_versioning
=yes ;;
10198 # See if GNU ld supports shared libraries.
10201 # On AIX/PPC, the GNU linker is very broken
10202 if test "$host_cpu" != ia64
; then
10206 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10207 *** to be unable to reliably create shared libraries on AIX.
10208 *** Therefore, libtool is disabling shared libraries support. If you
10209 *** really care for shared libraries, you may want to modify your PATH
10210 *** so that a non-GNU linker is found, and then restart.
10219 # see comment about AmigaOS4 .so support
10220 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10221 archive_expsym_cmds
=''
10224 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)'
10225 hardcode_libdir_flag_spec
='-L$libdir'
10226 hardcode_minus_L
=yes
10232 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10233 allow_undefined_flag
=unsupported
10234 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10235 # support --undefined. This deserves some investigation. FIXME
10236 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10242 cygwin
* | mingw
* | pw32
* | cegcc
*)
10243 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10244 # as there is no search path for DLLs.
10245 hardcode_libdir_flag_spec
='-L$libdir'
10246 allow_undefined_flag
=unsupported
10247 always_export_symbols
=no
10248 enable_shared_with_static_runtimes
=yes
10249 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10251 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10252 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10253 # If the export-symbols file already is a .def file (1st line
10254 # is EXPORTS), use it as is; otherwise, prepend...
10255 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10256 cp $export_symbols $output_objdir/$soname.def;
10258 echo EXPORTS > $output_objdir/$soname.def;
10259 cat $export_symbols >> $output_objdir/$soname.def;
10261 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10269 hardcode_shlibpath_var
=no
10270 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10271 export_dynamic_flag_spec
='${wl}-E'
10272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10273 # Instead, shared libraries are loaded at an image base (0x10000000 by
10274 # default) and relocated if they conflict, which is a slow very memory
10275 # consuming and fragmenting process. To avoid this, we pick a random,
10276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10278 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10279 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'
10282 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10284 if test "$host_os" = linux-dietlibc
; then
10285 case $cc_basename in
10286 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10289 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10290 && test "$tmp_diet" = no
10293 tmp_sharedflag
='-shared'
10294 case $cc_basename,$host_cpu in
10295 pgcc
*) # Portland Group C compiler
10296 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'
10297 tmp_addflag
=' $pic_flag'
10299 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
10300 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'
10301 tmp_addflag
=' $pic_flag -Mnomain' ;;
10302 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10303 tmp_addflag
=' -i_dynamic' ;;
10304 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10305 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10306 ifc
* | ifort
*) # Intel Fortran compiler
10307 tmp_addflag
=' -nofor_main' ;;
10308 lf95
*) # Lahey Fortran 8.1
10309 whole_archive_flag_spec
=
10310 tmp_sharedflag
='--shared' ;;
10311 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10312 tmp_sharedflag
='-qmkshrobj'
10315 case `$CC -V 2>&1 | sed 5q` in
10316 *Sun\ C
*) # Sun C 5.9
10317 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'
10318 compiler_needs_object
=yes
10319 tmp_sharedflag
='-G' ;;
10320 *Sun\ F
*) # Sun Fortran 8.3
10321 tmp_sharedflag
='-G' ;;
10323 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10325 if test "x$supports_anon_versioning" = xyes
; then
10326 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10327 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10328 echo "local: *; };" >> $output_objdir/$libname.ver~
10329 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10332 case $cc_basename in
10334 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10335 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10336 hardcode_libdir_flag_spec
=
10337 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10338 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10339 if test "x$supports_anon_versioning" = xyes
; then
10340 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10341 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10342 echo "local: *; };" >> $output_objdir/$libname.ver~
10343 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10353 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10354 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10357 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10358 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10363 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10367 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10368 *** create shared libraries on Solaris systems. Therefore, libtool
10369 *** is disabling shared libraries support. We urge you to upgrade GNU
10370 *** binutils to release 2.9.1 or newer. Another option is to modify
10371 *** your PATH or compiler configuration so that the native linker is
10372 *** used, and then restart.
10375 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10376 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10377 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10383 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10384 case `$LD -v 2>&1` in
10385 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10389 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10390 *** reliably create shared libraries on SCO systems. Therefore, libtool
10391 *** is disabling shared libraries support. We urge you to upgrade GNU
10392 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10393 *** your PATH or compiler configuration so that the native linker is
10394 *** used, and then restart.
10399 # For security reasons, it is highly recommended that you always
10400 # use absolute paths for naming shared libraries, and exclude the
10401 # DT_RUNPATH tag from executables and libraries. But doing so
10402 # requires that you compile everything twice, which is a pain.
10403 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10404 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10405 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10406 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10415 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10417 hardcode_direct
=yes
10418 hardcode_shlibpath_var
=no
10422 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10423 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10424 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10431 if test "$ld_shlibs" = no
; then
10433 hardcode_libdir_flag_spec
=
10434 export_dynamic_flag_spec
=
10435 whole_archive_flag_spec
=
10438 # PORTME fill in a description of your system's linker (not GNU ld)
10441 allow_undefined_flag
=unsupported
10442 always_export_symbols
=yes
10443 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'
10444 # Note: this linker hardcodes the directories in LIBPATH if there
10445 # are no directories specified by -L.
10446 hardcode_minus_L
=yes
10447 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10448 # Neither direct hardcoding nor static linking is supported with a
10450 hardcode_direct
=unsupported
10455 if test "$host_cpu" = ia64
; then
10456 # On IA64, the linker does run time linking by default, so we don't
10457 # have to do anything special.
10458 aix_use_runtimelinking
=no
10459 exp_sym_flag
='-Bexport'
10462 # If we're using GNU nm, then we don't want the "-C" option.
10463 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10464 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10465 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'
10467 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'
10469 aix_use_runtimelinking
=no
10471 # Test if we are trying to use run time linking or normal
10472 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10473 # need to do runtime linking.
10474 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10475 for ld_flag
in $LDFLAGS; do
10476 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10477 aix_use_runtimelinking
=yes
10484 exp_sym_flag
='-bexport'
10485 no_entry_flag
='-bnoentry'
10488 # When large executables or shared objects are built, AIX ld can
10489 # have problems creating the table of contents. If linking a library
10490 # or program results in "error TOC overflow" add -mminimal-toc to
10491 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10492 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10495 hardcode_direct
=yes
10496 hardcode_direct_absolute
=yes
10497 hardcode_libdir_separator
=':'
10498 link_all_deplibs
=yes
10499 file_list_spec
='${wl}-f,'
10501 if test "$GCC" = yes; then
10502 case $host_os in aix4.
[012]|aix4.
[012].
*)
10503 # We only want to do this on AIX 4.2 and lower, the check
10504 # below for broken collect2 doesn't work under 4.3+
10505 collect2name
=`${CC} -print-prog-name=collect2`
10506 if test -f "$collect2name" &&
10507 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10509 # We have reworked collect2
10512 # We have old collect2
10513 hardcode_direct
=unsupported
10514 # It fails to find uninstalled libraries when the uninstalled
10515 # path is not listed in the libpath. Setting hardcode_minus_L
10516 # to unsupported forces relinking
10517 hardcode_minus_L
=yes
10518 hardcode_libdir_flag_spec
='-L$libdir'
10519 hardcode_libdir_separator
=
10523 shared_flag
='-shared'
10524 if test "$aix_use_runtimelinking" = yes; then
10525 shared_flag
="$shared_flag "'${wl}-G'
10529 if test "$host_cpu" = ia64
; then
10530 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10531 # chokes on -Wl,-G. The following line is correct:
10534 if test "$aix_use_runtimelinking" = yes; then
10535 shared_flag
='${wl}-G'
10537 shared_flag
='${wl}-bM:SRE'
10542 export_dynamic_flag_spec
='${wl}-bexpall'
10543 # It seems that -bexpall does not export symbols beginning with
10544 # underscore (_), so it is better to generate a list of symbols to export.
10545 always_export_symbols
=yes
10546 if test "$aix_use_runtimelinking" = yes; then
10547 # Warning - without using the other runtime loading flags (-brtl),
10548 # -berok will link without error, but may produce a broken library.
10549 allow_undefined_flag
='-berok'
10550 # Determine the default libpath from the value encoded in an
10551 # empty executable.
10552 if test x
$gcc_no_link = xyes
; then
10553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10555 { (exit 1); exit 1; }; }
10557 cat >conftest.
$ac_ext <<_ACEOF
10560 cat confdefs.h
>>conftest.
$ac_ext
10561 cat >>conftest.
$ac_ext <<_ACEOF
10562 /* end confdefs.h. */
10572 rm -f conftest.
$ac_objext conftest
$ac_exeext
10573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10574 (eval $ac_link) 2>conftest.er1
10576 grep -v '^ *+' conftest.er1
>conftest.err
10578 cat conftest.err
>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } &&
10581 { ac_try
='test -z "$ac_c_werror_flag"
10582 || test ! -s conftest.err'
10583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10584 (eval $ac_try) 2>&5
10586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10587 (exit $ac_status); }; } &&
10588 { ac_try
='test -s conftest$ac_exeext'
10589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10590 (eval $ac_try) 2>&5
10592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10593 (exit $ac_status); }; }; then
10595 lt_aix_libpath_sed
='
10596 /Import File Strings/,/^$/ {
10602 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10603 # Check for a 64-bit object if we didn't find anything.
10604 if test -z "$aix_libpath"; then
10605 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10608 echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.
$ac_ext >&5
10612 rm -f conftest.err conftest.
$ac_objext \
10613 conftest
$ac_exeext conftest.
$ac_ext
10614 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10616 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10617 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"
10619 if test "$host_cpu" = ia64
; then
10620 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10621 allow_undefined_flag
="-z nodefs"
10622 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"
10624 # Determine the default libpath from the value encoded in an
10625 # empty executable.
10626 if test x
$gcc_no_link = xyes
; then
10627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10629 { (exit 1); exit 1; }; }
10631 cat >conftest.
$ac_ext <<_ACEOF
10634 cat confdefs.h
>>conftest.
$ac_ext
10635 cat >>conftest.
$ac_ext <<_ACEOF
10636 /* end confdefs.h. */
10646 rm -f conftest.
$ac_objext conftest
$ac_exeext
10647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10648 (eval $ac_link) 2>conftest.er1
10650 grep -v '^ *+' conftest.er1
>conftest.err
10652 cat conftest.err
>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); } &&
10655 { ac_try
='test -z "$ac_c_werror_flag"
10656 || test ! -s conftest.err'
10657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10658 (eval $ac_try) 2>&5
10660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10661 (exit $ac_status); }; } &&
10662 { ac_try
='test -s conftest$ac_exeext'
10663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10664 (eval $ac_try) 2>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); }; }; then
10669 lt_aix_libpath_sed
='
10670 /Import File Strings/,/^$/ {
10676 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10677 # Check for a 64-bit object if we didn't find anything.
10678 if test -z "$aix_libpath"; then
10679 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10682 echo "$as_me: failed program was:" >&5
10683 sed 's/^/| /' conftest.
$ac_ext >&5
10686 rm -f conftest.err conftest.
$ac_objext \
10687 conftest
$ac_exeext conftest.
$ac_ext
10688 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10690 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10691 # Warning - without using the other run time loading flags,
10692 # -berok will link without error, but may produce a broken library.
10693 no_undefined_flag
=' ${wl}-bernotok'
10694 allow_undefined_flag
=' ${wl}-berok'
10695 # Exported symbols can be pulled into shared objects from archives
10696 whole_archive_flag_spec
='$convenience'
10697 archive_cmds_need_lc
=yes
10698 # This is similar to how AIX traditionally builds its shared libraries.
10699 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'
10707 # see comment about AmigaOS4 .so support
10708 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10709 archive_expsym_cmds
=''
10712 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)'
10713 hardcode_libdir_flag_spec
='-L$libdir'
10714 hardcode_minus_L
=yes
10720 export_dynamic_flag_spec
=-rdynamic
10723 cygwin
* | mingw
* | pw32
* | cegcc
*)
10724 # When not using gcc, we currently assume that we are using
10725 # Microsoft Visual C++.
10726 # hardcode_libdir_flag_spec is actually meaningless, as there is
10727 # no search path for DLLs.
10728 hardcode_libdir_flag_spec
=' '
10729 allow_undefined_flag
=unsupported
10730 # Tell ltmain to make .lib files, not .a files.
10732 # Tell ltmain to make .dll files, not .so files.
10734 # FIXME: Setting linknames here is a bad hack.
10735 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10736 # The linker will automatically build a .lib file if we build a DLL.
10737 old_archive_from_new_cmds
='true'
10738 # FIXME: Should let the user specify the lib program.
10739 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10740 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10741 enable_shared_with_static_runtimes
=yes
10744 darwin
* | rhapsody
*)
10747 archive_cmds_need_lc
=no
10749 hardcode_automatic
=yes
10750 hardcode_shlibpath_var
=unsupported
10751 whole_archive_flag_spec
=''
10752 link_all_deplibs
=yes
10753 allow_undefined_flag
="$_lt_dar_allow_undefined"
10754 case $cc_basename in
10755 ifort
*) _lt_dar_can_shared
=yes ;;
10756 *) _lt_dar_can_shared
=$GCC ;;
10758 if test "$_lt_dar_can_shared" = "yes"; then
10759 output_verbose_link_cmd
=echo
10760 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10761 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10762 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10763 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10772 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10773 hardcode_libdir_flag_spec
='-L$libdir'
10774 hardcode_shlibpath_var
=no
10781 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10782 # support. Future versions do this automatically, but an explicit c++rt0.o
10783 # does not break anything, and helps significantly (at the cost of a little
10786 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10787 hardcode_libdir_flag_spec
='-R$libdir'
10788 hardcode_direct
=yes
10789 hardcode_shlibpath_var
=no
10792 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10794 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10795 hardcode_direct
=yes
10796 hardcode_minus_L
=yes
10797 hardcode_shlibpath_var
=no
10800 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10801 freebsd
* | dragonfly
*)
10802 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10803 hardcode_libdir_flag_spec
='-R$libdir'
10804 hardcode_direct
=yes
10805 hardcode_shlibpath_var
=no
10809 if test "$GCC" = yes; then
10810 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'
10812 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'
10814 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10815 hardcode_libdir_separator
=:
10816 hardcode_direct
=yes
10818 # hardcode_minus_L: Not really in the search PATH,
10819 # but as the default location of the library.
10820 hardcode_minus_L
=yes
10821 export_dynamic_flag_spec
='${wl}-E'
10825 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10826 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10828 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10830 if test "$with_gnu_ld" = no
; then
10831 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10832 hardcode_libdir_flag_spec_ld
='+b $libdir'
10833 hardcode_libdir_separator
=:
10834 hardcode_direct
=yes
10835 hardcode_direct_absolute
=yes
10836 export_dynamic_flag_spec
='${wl}-E'
10837 # hardcode_minus_L: Not really in the search PATH,
10838 # but as the default location of the library.
10839 hardcode_minus_L
=yes
10844 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10847 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10850 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10853 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10859 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10862 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10865 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10869 if test "$with_gnu_ld" = no
; then
10870 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10871 hardcode_libdir_separator
=:
10876 hardcode_shlibpath_var
=no
10879 hardcode_direct
=yes
10880 hardcode_direct_absolute
=yes
10881 export_dynamic_flag_spec
='${wl}-E'
10883 # hardcode_minus_L: Not really in the search PATH,
10884 # but as the default location of the library.
10885 hardcode_minus_L
=yes
10891 irix5
* | irix6
* | nonstopux
*)
10892 if test "$GCC" = yes; then
10893 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'
10894 # Try to use the -exported_symbol ld option, if it does not
10895 # work, assume that -exports_file does not work either and
10896 # implicitly export all symbols.
10897 save_LDFLAGS
="$LDFLAGS"
10898 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10899 if test x
$gcc_no_link = xyes
; then
10900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10902 { (exit 1); exit 1; }; }
10904 cat >conftest.
$ac_ext <<_ACEOF
10907 rm -f conftest.
$ac_objext conftest
$ac_exeext
10908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10909 (eval $ac_link) 2>conftest.er1
10911 grep -v '^ *+' conftest.er1
>conftest.err
10913 cat conftest.err
>&5
10914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10915 (exit $ac_status); } &&
10916 { ac_try
='test -z "$ac_c_werror_flag"
10917 || test ! -s conftest.err'
10918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10919 (eval $ac_try) 2>&5
10921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10922 (exit $ac_status); }; } &&
10923 { ac_try
='test -s conftest$ac_exeext'
10924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10925 (eval $ac_try) 2>&5
10927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10928 (exit $ac_status); }; }; then
10929 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'
10932 echo "$as_me: failed program was:" >&5
10933 sed 's/^/| /' conftest.
$ac_ext >&5
10936 rm -f conftest.err conftest.
$ac_objext \
10937 conftest
$ac_exeext conftest.
$ac_ext
10938 LDFLAGS
="$save_LDFLAGS"
10940 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'
10941 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'
10943 archive_cmds_need_lc
='no'
10944 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10945 hardcode_libdir_separator
=:
10947 link_all_deplibs
=yes
10951 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10952 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10954 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10956 hardcode_libdir_flag_spec
='-R$libdir'
10957 hardcode_direct
=yes
10958 hardcode_shlibpath_var
=no
10962 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10963 hardcode_direct
=yes
10964 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10965 hardcode_libdir_separator
=:
10966 hardcode_shlibpath_var
=no
10973 if test -f /usr
/libexec
/ld.so
; then
10974 hardcode_direct
=yes
10975 hardcode_shlibpath_var
=no
10976 hardcode_direct_absolute
=yes
10977 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10978 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10979 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10980 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10981 export_dynamic_flag_spec
='${wl}-E'
10984 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10985 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10986 hardcode_libdir_flag_spec
='-R$libdir'
10989 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10990 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11000 hardcode_libdir_flag_spec
='-L$libdir'
11001 hardcode_minus_L
=yes
11002 allow_undefined_flag
=unsupported
11003 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'
11004 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11008 if test "$GCC" = yes; then
11009 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11010 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'
11012 allow_undefined_flag
=' -expect_unresolved \*'
11013 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'
11015 archive_cmds_need_lc
='no'
11016 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11017 hardcode_libdir_separator
=:
11020 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11021 if test "$GCC" = yes; then
11022 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11023 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'
11024 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11026 allow_undefined_flag
=' -expect_unresolved \*'
11027 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'
11028 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~
11029 $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'
11031 # Both c and cxx compiler support -rpath directly
11032 hardcode_libdir_flag_spec
='-rpath $libdir'
11034 archive_cmds_need_lc
='no'
11035 hardcode_libdir_separator
=:
11039 no_undefined_flag
=' -z defs'
11040 if test "$GCC" = yes; then
11042 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11043 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11044 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11046 case `$CC -V 2>&1` in
11049 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11050 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11051 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11055 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11056 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11057 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11061 hardcode_libdir_flag_spec
='-R$libdir'
11062 hardcode_shlibpath_var
=no
11064 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11066 # The compiler driver will combine and reorder linker options,
11067 # but understands `-z linker_flag'. GCC discards it without `$wl',
11068 # but is careful enough not to reorder.
11069 # Supported since Solaris 2.6 (maybe 2.5.1?)
11070 if test "$GCC" = yes; then
11071 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11073 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11077 link_all_deplibs
=yes
11081 if test "x$host_vendor" = xsequent
; then
11082 # Use $CC to link under sequent, because it throws in some extra .o
11083 # files that make .init and .fini sections work.
11084 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11086 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11088 hardcode_libdir_flag_spec
='-L$libdir'
11089 hardcode_direct
=yes
11090 hardcode_minus_L
=yes
11091 hardcode_shlibpath_var
=no
11095 case $host_vendor in
11097 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11098 hardcode_direct
=yes # is this really true???
11101 ## LD is ld it makes a PLAMLIB
11102 ## CC just makes a GrossModule.
11103 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11104 reload_cmds
='$CC -r -o $output$reload_objs'
11108 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11109 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11112 runpath_var
='LD_RUN_PATH'
11113 hardcode_shlibpath_var
=no
11117 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11118 hardcode_shlibpath_var
=no
11119 export_dynamic_flag_spec
='-Bexport'
11123 if test -d /usr
/nec
; then
11124 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11125 hardcode_shlibpath_var
=no
11126 runpath_var
=LD_RUN_PATH
11127 hardcode_runpath_var
=yes
11132 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11133 no_undefined_flag
='${wl}-z,text'
11134 archive_cmds_need_lc
=no
11135 hardcode_shlibpath_var
=no
11136 runpath_var
='LD_RUN_PATH'
11138 if test "$GCC" = yes; then
11139 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11140 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11142 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11143 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11147 sysv5
* | sco3.2v5
* | sco5v6
*)
11148 # Note: We can NOT use -z defs as we might desire, because we do not
11149 # link with -lc, and that would cause any symbols used from libc to
11150 # always be unresolved, which means just about no library would
11151 # ever link correctly. If we're not using GNU ld we use -z text
11152 # though, which does catch some bad symbols but isn't as heavy-handed
11154 no_undefined_flag
='${wl}-z,text'
11155 allow_undefined_flag
='${wl}-z,nodefs'
11156 archive_cmds_need_lc
=no
11157 hardcode_shlibpath_var
=no
11158 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11159 hardcode_libdir_separator
=':'
11160 link_all_deplibs
=yes
11161 export_dynamic_flag_spec
='${wl}-Bexport'
11162 runpath_var
='LD_RUN_PATH'
11164 if test "$GCC" = yes; then
11165 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11166 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11168 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11169 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11174 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11175 hardcode_libdir_flag_spec
='-L$libdir'
11176 hardcode_shlibpath_var
=no
11184 if test x
$host_vendor = xsni
; then
11186 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11187 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11193 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11194 echo "${ECHO_T}$ld_shlibs" >&6
11195 test "$ld_shlibs" = no
&& can_build_shared
=no
11197 with_gnu_ld
=$with_gnu_ld
11214 # Do we need to explicitly link libc?
11216 case "x$archive_cmds_need_lc" in
11218 # Assume -lc should be added
11219 archive_cmds_need_lc
=yes
11221 if test "$enable_shared" = yes && test "$GCC" = yes; then
11222 case $archive_cmds in
11224 # FIXME: we may have to deal with multi-command sequences.
11227 # Test whether the compiler implicitly links with -lc since on some
11228 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11229 # to ld, don't add -lc before -lgcc.
11230 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11231 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11232 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
11233 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11239 (eval $ac_compile) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); } 2>conftest.err
; then
11245 libobjs
=conftest.
$ac_objext
11247 wl
=$lt_prog_compiler_wl
11248 pic_flag
=$lt_prog_compiler_pic
11254 lt_save_allow_undefined_flag
=$allow_undefined_flag
11255 allow_undefined_flag
=
11256 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11257 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); }
11262 lt_cv_archive_cmds_need_lc
=no
11264 lt_cv_archive_cmds_need_lc
=yes
11266 allow_undefined_flag
=$lt_save_allow_undefined_flag
11268 cat conftest.err
1>&5
11273 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
11274 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
11275 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11438 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11439 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11441 if test "$GCC" = yes; then
11443 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11444 *) lt_awk_arg
="/^libraries:/" ;;
11446 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11447 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
11448 # if the path contains ";" then we assume it to be the separator
11449 # otherwise default to the standard path separator (i.e. ":") - it is
11450 # assumed that no part of a normal pathname contains ";" but that should
11451 # okay in the real world where ";" in dirpaths is itself problematic.
11452 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11454 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11456 # Ok, now we have the path, separated by spaces, we can step through it
11457 # and add multilib dir if necessary.
11458 lt_tmp_lt_search_path_spec
=
11459 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11460 for lt_sys_path
in $lt_search_path_spec; do
11461 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11462 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11464 test -d "$lt_sys_path" && \
11465 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11468 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11469 BEGIN {RS=" "; FS="/|\n";} {
11472 for (lt_i = NF; lt_i > 0; lt_i--) {
11473 if ($lt_i != "" && $lt_i != ".") {
11474 if ($lt_i == "..") {
11477 if (lt_count == 0) {
11478 lt_foo="/" $lt_i lt_foo;
11485 if (lt_foo != "") { lt_freq[lt_foo]++; }
11486 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11488 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
11490 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11492 library_names_spec
=
11493 libname_spec
='lib$name'
11497 postuninstall_cmds
=
11501 shlibpath_overrides_runpath
=unknown
11503 dynamic_linker
="$host_os ld.so"
11504 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11505 need_lib_prefix
=unknown
11506 hardcode_into_libs
=no
11508 # when you set need_version to no, make sure it does not cause -set_version
11509 # flags to be left without arguments
11510 need_version
=unknown
11515 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11516 shlibpath_var
=LIBPATH
11518 # AIX 3 has no versioning support, so we append a major version to the name.
11519 soname_spec
='${libname}${release}${shared_ext}$major'
11526 hardcode_into_libs
=yes
11527 if test "$host_cpu" = ia64
; then
11528 # AIX 5 supports IA64
11529 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11530 shlibpath_var
=LD_LIBRARY_PATH
11532 # With GCC up to 2.95.x, collect2 would create an import file
11533 # for dependence libraries. The import file would start with
11534 # the line `#! .'. This would cause the generated library to
11535 # depend on `.', always an invalid library. This was fixed in
11536 # development snapshots of GCC prior to 3.0.
11538 aix4 | aix4.
[01] | aix4.
[01].
*)
11539 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11541 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11544 can_build_shared
=no
11548 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11549 # soname into executable. Probably we can add versioning support to
11550 # collect2, so additional links can be useful in future.
11551 if test "$aix_use_runtimelinking" = yes; then
11552 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11553 # instead of lib<name>.a to let people know that these are not
11554 # typical AIX shared libraries.
11555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557 # We preserve .a as extension for shared libraries through AIX4.2
11558 # and later when we are not doing run time linking.
11559 library_names_spec
='${libname}${release}.a $libname.a'
11560 soname_spec
='${libname}${release}${shared_ext}$major'
11562 shlibpath_var
=LIBPATH
11569 # Since July 2007 AmigaOS4 officially supports .so libraries.
11570 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11574 library_names_spec
='$libname.ixlibrary $libname.a'
11575 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11576 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'
11582 library_names_spec
='${libname}${shared_ext}'
11583 dynamic_linker
="$host_os ld.so"
11584 shlibpath_var
=LIBRARY_PATH
11590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11591 soname_spec
='${libname}${release}${shared_ext}$major'
11592 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11593 shlibpath_var
=LD_LIBRARY_PATH
11594 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11595 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11596 # the default ld.so.conf also contains /usr/contrib/lib and
11597 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11598 # libtool to hard-code these into programs
11601 cygwin
* | mingw
* | pw32
* | cegcc
*)
11602 version_type
=windows
11607 case $GCC,$host_os in
11608 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11609 library_names_spec
='$libname.dll.a'
11610 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11611 postinstall_cmds
='base_file=`basename \${file}`~
11612 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11613 dldir=$destdir/`dirname \$dlpath`~
11614 test -d \$dldir || mkdir -p \$dldir~
11615 $install_prog $dir/$dlname \$dldir/$dlname~
11616 chmod a+x \$dldir/$dlname~
11617 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11618 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11620 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11621 dlpath=$dir/\$dldll~
11623 shlibpath_overrides_runpath
=yes
11627 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11628 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11629 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11632 # MinGW DLLs use traditional 'lib' prefix
11633 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11634 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11635 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11636 # It is most probably a Windows format PATH printed by
11637 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11638 # path with ; separators, and with drive letters. We can handle the
11639 # drive letters (cygwin fileutils understands them), so leave them,
11640 # especially as we might pass files found there to a mingw objdump,
11641 # which wouldn't understand a cygwinified path. Ahh.
11642 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11644 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11648 # pw32 DLLs use 'pw' prefix rather than 'lib'
11649 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11655 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11658 dynamic_linker
='Win32 ld.exe'
11659 # FIXME: first we should search . and the directory the executable is in
11663 darwin
* | rhapsody
*)
11664 dynamic_linker
="$host_os dyld"
11665 version_type
=darwin
11668 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11669 soname_spec
='${libname}${release}${major}$shared_ext'
11670 shlibpath_overrides_runpath
=yes
11671 shlibpath_var
=DYLD_LIBRARY_PATH
11672 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11674 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11675 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11682 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11683 soname_spec
='${libname}${release}${shared_ext}$major'
11684 shlibpath_var
=LD_LIBRARY_PATH
11691 freebsd
* | dragonfly
*)
11692 # DragonFly does not have aout. When/if they implement a new
11693 # versioning mechanism, adjust this.
11694 if test -x /usr
/bin
/objformat
; then
11695 objformat
=`/usr/bin/objformat`
11698 freebsd
[123]*) objformat
=aout
;;
11699 *) objformat
=elf
;;
11702 version_type
=freebsd-
$objformat
11703 case $version_type in
11705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11710 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11714 shlibpath_var
=LD_LIBRARY_PATH
11717 shlibpath_overrides_runpath
=yes
11719 freebsd3.
[01]* | freebsdelf3.
[01]*)
11720 shlibpath_overrides_runpath
=yes
11721 hardcode_into_libs
=yes
11723 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11724 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11725 shlibpath_overrides_runpath
=no
11726 hardcode_into_libs
=yes
11728 *) # from 4.6 on, and DragonFly
11729 shlibpath_overrides_runpath
=yes
11730 hardcode_into_libs
=yes
11739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11740 soname_spec
='${libname}${release}${shared_ext}$major'
11741 shlibpath_var
=LD_LIBRARY_PATH
11742 hardcode_into_libs
=yes
11745 hpux9
* | hpux10
* | hpux11
*)
11746 # Give a soname corresponding to the major version so that dld.sl refuses to
11747 # link against other versions.
11754 hardcode_into_libs
=yes
11755 dynamic_linker
="$host_os dld.so"
11756 shlibpath_var
=LD_LIBRARY_PATH
11757 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11759 soname_spec
='${libname}${release}${shared_ext}$major'
11760 if test "X$HPUX_IA64_MODE" = X32
; then
11761 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11763 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11765 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11769 hardcode_into_libs
=yes
11770 dynamic_linker
="$host_os dld.sl"
11771 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11772 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11774 soname_spec
='${libname}${release}${shared_ext}$major'
11775 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11776 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11780 dynamic_linker
="$host_os dld.sl"
11781 shlibpath_var
=SHLIB_PATH
11782 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11784 soname_spec
='${libname}${release}${shared_ext}$major'
11787 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11788 postinstall_cmds
='chmod 555 $lib'
11795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11796 soname_spec
='${libname}${release}${shared_ext}$major'
11797 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11798 shlibpath_var
=LD_LIBRARY_PATH
11799 shlibpath_overrides_runpath
=no
11800 hardcode_into_libs
=yes
11803 irix5
* | irix6
* | nonstopux
*)
11805 nonstopux
*) version_type
=nonstopux
;;
11807 if test "$lt_cv_prog_gnu_ld" = yes; then
11815 soname_spec
='${libname}${release}${shared_ext}$major'
11816 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11818 irix5
* | nonstopux
*)
11819 libsuff
= shlibsuff
=
11822 case $LD in # libtool.m4 will add one of these switches to LD
11823 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11824 libsuff
= shlibsuff
= libmagic
=32-bit;;
11825 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11826 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11827 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11828 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11829 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11833 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11834 shlibpath_overrides_runpath
=no
11835 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11836 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11837 hardcode_into_libs
=yes
11840 # No shared lib support for Linux oldld, aout, or coff.
11841 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11845 # This must be Linux ELF.
11846 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11851 soname_spec
='${libname}${release}${shared_ext}$major'
11852 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11853 shlibpath_var
=LD_LIBRARY_PATH
11854 shlibpath_overrides_runpath
=no
11856 # Some binutils ld are patched to set DT_RUNPATH
11857 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11860 lt_cv_shlibpath_overrides_runpath
=no
11861 save_LDFLAGS
=$LDFLAGS
11862 save_libdir
=$libdir
11863 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11864 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11865 if test x
$gcc_no_link = xyes
; then
11866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11868 { (exit 1); exit 1; }; }
11870 cat >conftest.
$ac_ext <<_ACEOF
11873 cat confdefs.h
>>conftest.
$ac_ext
11874 cat >>conftest.
$ac_ext <<_ACEOF
11875 /* end confdefs.h. */
11885 rm -f conftest.
$ac_objext conftest
$ac_exeext
11886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11887 (eval $ac_link) 2>conftest.er1
11889 grep -v '^ *+' conftest.er1
>conftest.err
11891 cat conftest.err
>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); } &&
11894 { ac_try
='test -z "$ac_c_werror_flag"
11895 || test ! -s conftest.err'
11896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11897 (eval $ac_try) 2>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); }; } &&
11901 { ac_try
='test -s conftest$ac_exeext'
11902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903 (eval $ac_try) 2>&5
11905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906 (exit $ac_status); }; }; then
11907 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
11908 lt_cv_shlibpath_overrides_runpath
=yes
11912 echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.
$ac_ext >&5
11916 rm -f conftest.err conftest.
$ac_objext \
11917 conftest
$ac_exeext conftest.
$ac_ext
11918 LDFLAGS
=$save_LDFLAGS
11919 libdir
=$save_libdir
11923 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11925 # This implies no fast_install, which is unacceptable.
11926 # Some rework will be needed to allow for fast_install
11927 # before this can be enabled.
11928 hardcode_into_libs
=yes
11930 # Append ld.so.conf contents to the search path
11931 if test -f /etc
/ld.so.conf
; then
11932 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11933 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11936 # We used to test for /lib/ld.so.1 and disable shared libraries on
11937 # powerpc, because MkLinux only supported shared libraries with the
11938 # GNU dynamic linker. Since this was broken with cross compilers,
11939 # most powerpc-linux boxes support dynamic linking these days and
11940 # people can always --disable-shared, the test was removed, and we
11941 # assume the GNU/Linux dynamic linker is in use.
11942 dynamic_linker
='GNU/Linux ld.so'
11949 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11950 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11951 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11952 dynamic_linker
='NetBSD (a.out) ld.so'
11954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11955 soname_spec
='${libname}${release}${shared_ext}$major'
11956 dynamic_linker
='NetBSD ld.elf_so'
11958 shlibpath_var
=LD_LIBRARY_PATH
11959 shlibpath_overrides_runpath
=yes
11960 hardcode_into_libs
=yes
11965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11966 shlibpath_var
=LD_LIBRARY_PATH
11967 shlibpath_overrides_runpath
=yes
11974 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11975 soname_spec
='${libname}${release}${shared_ext}$major'
11976 shlibpath_var
=LD_LIBRARY_PATH
11977 shlibpath_overrides_runpath
=no
11978 hardcode_into_libs
=yes
11979 dynamic_linker
='ldqnx.so'
11984 sys_lib_dlsearch_path_spec
="/usr/lib"
11986 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11988 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11989 *) need_version
=no
;;
11991 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11992 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11993 shlibpath_var
=LD_LIBRARY_PATH
11994 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11996 openbsd2.
[89] | openbsd2.
[89].
*)
11997 shlibpath_overrides_runpath
=no
12000 shlibpath_overrides_runpath
=yes
12004 shlibpath_overrides_runpath
=yes
12009 libname_spec
='$name'
12012 library_names_spec
='$libname${shared_ext} $libname.a'
12013 dynamic_linker
='OS/2 ld.exe'
12014 shlibpath_var
=LIBPATH
12017 osf3
* | osf4
* | osf5
*)
12021 soname_spec
='${libname}${release}${shared_ext}$major'
12022 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12023 shlibpath_var
=LD_LIBRARY_PATH
12024 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12025 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12036 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12037 soname_spec
='${libname}${release}${shared_ext}$major'
12038 shlibpath_var
=LD_LIBRARY_PATH
12039 shlibpath_overrides_runpath
=yes
12040 hardcode_into_libs
=yes
12041 # ldd complains unless libraries are executable
12042 postinstall_cmds
='chmod +x $lib'
12047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12048 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12049 shlibpath_var
=LD_LIBRARY_PATH
12050 shlibpath_overrides_runpath
=yes
12051 if test "$with_gnu_ld" = yes; then
12059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12060 soname_spec
='${libname}${release}${shared_ext}$major'
12061 shlibpath_var
=LD_LIBRARY_PATH
12062 case $host_vendor in
12064 shlibpath_overrides_runpath
=no
12066 runpath_var
=LD_RUN_PATH
12074 shlibpath_overrides_runpath
=no
12075 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12081 if test -d /usr
/nec
;then
12083 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12084 soname_spec
='$libname${shared_ext}.$major'
12085 shlibpath_var
=LD_LIBRARY_PATH
12089 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12090 version_type
=freebsd-elf
12093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12094 soname_spec
='${libname}${release}${shared_ext}$major'
12095 shlibpath_var
=LD_LIBRARY_PATH
12096 shlibpath_overrides_runpath
=yes
12097 hardcode_into_libs
=yes
12098 if test "$with_gnu_ld" = yes; then
12099 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12101 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12104 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12108 sys_lib_dlsearch_path_spec
='/usr/lib'
12112 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12116 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12117 shlibpath_var
=LD_LIBRARY_PATH
12118 shlibpath_overrides_runpath
=no
12119 hardcode_into_libs
=yes
12124 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12125 soname_spec
='${libname}${release}${shared_ext}$major'
12126 shlibpath_var
=LD_LIBRARY_PATH
12133 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
12134 echo "${ECHO_T}$dynamic_linker" >&6
12135 test "$dynamic_linker" = no
&& can_build_shared
=no
12137 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12138 if test "$GCC" = yes; then
12139 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12142 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12143 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12145 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12146 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12235 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12236 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
12238 if test -n "$hardcode_libdir_flag_spec" ||
12239 test -n "$runpath_var" ||
12240 test "X$hardcode_automatic" = "Xyes" ; then
12242 # We can hardcode non-existent directories.
12243 if test "$hardcode_direct" != no
&&
12244 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12245 # have to relink, otherwise we might link with an installed library
12246 # when we should be linking with a yet-to-be-installed one
12247 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12248 test "$hardcode_minus_L" != no
; then
12249 # Linking always hardcodes the temporary library directory.
12250 hardcode_action
=relink
12252 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12253 hardcode_action
=immediate
12256 # We cannot hardcode anything, or else we can only hardcode existing
12258 hardcode_action
=unsupported
12260 echo "$as_me:$LINENO: result: $hardcode_action" >&5
12261 echo "${ECHO_T}$hardcode_action" >&6
12263 if test "$hardcode_action" = relink ||
12264 test "$inherit_rpath" = yes; then
12265 # Fast installation is not supported
12266 enable_fast_install
=no
12267 elif test "$shlibpath_overrides_runpath" = yes ||
12268 test "$enable_shared" = no
; then
12269 # Fast installation is not necessary
12270 enable_fast_install
=needless
12278 if test "x$enable_dlopen" != xyes
; then
12279 enable_dlopen
=unknown
12280 enable_dlopen_self
=unknown
12281 enable_dlopen_self_static
=unknown
12288 lt_cv_dlopen
="load_add_on"
12290 lt_cv_dlopen_self
=yes
12293 mingw
* | pw32
* | cegcc
*)
12294 lt_cv_dlopen
="LoadLibrary"
12299 lt_cv_dlopen
="dlopen"
12304 # if libdl is installed we need to link against it
12305 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12306 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12307 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12308 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 ac_check_lib_save_LIBS
=$LIBS
12312 if test x
$gcc_no_link = xyes
; then
12313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12315 { (exit 1); exit 1; }; }
12317 cat >conftest.
$ac_ext <<_ACEOF
12320 cat confdefs.h
>>conftest.
$ac_ext
12321 cat >>conftest.
$ac_ext <<_ACEOF
12322 /* end confdefs.h. */
12324 /* Override any gcc2 internal prototype to avoid an error. */
12328 /* We use char because int might match the return type of a gcc2
12329 builtin and then its argument prototype would still apply. */
12339 rm -f conftest.
$ac_objext conftest
$ac_exeext
12340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12341 (eval $ac_link) 2>conftest.er1
12343 grep -v '^ *+' conftest.er1
>conftest.err
12345 cat conftest.err
>&5
12346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 (exit $ac_status); } &&
12348 { ac_try
='test -z "$ac_c_werror_flag"
12349 || test ! -s conftest.err'
12350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12351 (eval $ac_try) 2>&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); }; } &&
12355 { ac_try
='test -s conftest$ac_exeext'
12356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12357 (eval $ac_try) 2>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); }; }; then
12361 ac_cv_lib_dl_dlopen
=yes
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.
$ac_ext >&5
12366 ac_cv_lib_dl_dlopen
=no
12368 rm -f conftest.err conftest.
$ac_objext \
12369 conftest
$ac_exeext conftest.
$ac_ext
12370 LIBS
=$ac_check_lib_save_LIBS
12372 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12373 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12374 if test $ac_cv_lib_dl_dlopen = yes; then
12375 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12378 lt_cv_dlopen
="dyld"
12380 lt_cv_dlopen_self
=yes
12387 echo "$as_me:$LINENO: checking for shl_load" >&5
12388 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12389 if test "${ac_cv_func_shl_load+set}" = set; then
12390 echo $ECHO_N "(cached) $ECHO_C" >&6
12392 if test x
$gcc_no_link = xyes
; then
12393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12395 { (exit 1); exit 1; }; }
12397 cat >conftest.
$ac_ext <<_ACEOF
12400 cat confdefs.h
>>conftest.
$ac_ext
12401 cat >>conftest.
$ac_ext <<_ACEOF
12402 /* end confdefs.h. */
12403 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12405 #define shl_load innocuous_shl_load
12407 /* System header to define __stub macros and hopefully few prototypes,
12408 which can conflict with char shl_load (); below.
12409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12410 <limits.h> exists even on freestanding compilers. */
12413 # include <limits.h>
12415 # include <assert.h>
12420 /* Override any gcc2 internal prototype to avoid an error. */
12425 /* We use char because int might match the return type of a gcc2
12426 builtin and then its argument prototype would still apply. */
12428 /* The GNU C library defines this for functions which it implements
12429 to always fail with ENOSYS. Some functions are actually named
12430 something starting with __ and the normal name is an alias. */
12431 #if defined (__stub_shl_load) || defined (__stub___shl_load)
12434 char (*f) () = shl_load;
12443 return f != shl_load;
12448 rm -f conftest.
$ac_objext conftest
$ac_exeext
12449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12450 (eval $ac_link) 2>conftest.er1
12452 grep -v '^ *+' conftest.er1
>conftest.err
12454 cat conftest.err
>&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } &&
12457 { ac_try
='test -z "$ac_c_werror_flag"
12458 || test ! -s conftest.err'
12459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12460 (eval $ac_try) 2>&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; } &&
12464 { ac_try
='test -s conftest$ac_exeext'
12465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12466 (eval $ac_try) 2>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; }; then
12470 ac_cv_func_shl_load
=yes
12472 echo "$as_me: failed program was:" >&5
12473 sed 's/^/| /' conftest.
$ac_ext >&5
12475 ac_cv_func_shl_load
=no
12477 rm -f conftest.err conftest.
$ac_objext \
12478 conftest
$ac_exeext conftest.
$ac_ext
12480 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12481 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12482 if test $ac_cv_func_shl_load = yes; then
12483 lt_cv_dlopen
="shl_load"
12485 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12486 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12487 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12488 echo $ECHO_N "(cached) $ECHO_C" >&6
12490 ac_check_lib_save_LIBS
=$LIBS
12492 if test x
$gcc_no_link = xyes
; then
12493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12495 { (exit 1); exit 1; }; }
12497 cat >conftest.
$ac_ext <<_ACEOF
12500 cat confdefs.h
>>conftest.
$ac_ext
12501 cat >>conftest.
$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12504 /* Override any gcc2 internal prototype to avoid an error. */
12508 /* We use char because int might match the return type of a gcc2
12509 builtin and then its argument prototype would still apply. */
12519 rm -f conftest.
$ac_objext conftest
$ac_exeext
12520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12521 (eval $ac_link) 2>conftest.er1
12523 grep -v '^ *+' conftest.er1
>conftest.err
12525 cat conftest.err
>&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } &&
12528 { ac_try
='test -z "$ac_c_werror_flag"
12529 || test ! -s conftest.err'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; } &&
12535 { ac_try
='test -s conftest$ac_exeext'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; }; then
12541 ac_cv_lib_dld_shl_load
=yes
12543 echo "$as_me: failed program was:" >&5
12544 sed 's/^/| /' conftest.
$ac_ext >&5
12546 ac_cv_lib_dld_shl_load
=no
12548 rm -f conftest.err conftest.
$ac_objext \
12549 conftest
$ac_exeext conftest.
$ac_ext
12550 LIBS
=$ac_check_lib_save_LIBS
12552 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12553 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12554 if test $ac_cv_lib_dld_shl_load = yes; then
12555 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12557 echo "$as_me:$LINENO: checking for dlopen" >&5
12558 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12559 if test "${ac_cv_func_dlopen+set}" = set; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12562 if test x
$gcc_no_link = xyes
; then
12563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12565 { (exit 1); exit 1; }; }
12567 cat >conftest.
$ac_ext <<_ACEOF
12570 cat confdefs.h
>>conftest.
$ac_ext
12571 cat >>conftest.
$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12573 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12575 #define dlopen innocuous_dlopen
12577 /* System header to define __stub macros and hopefully few prototypes,
12578 which can conflict with char dlopen (); below.
12579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12580 <limits.h> exists even on freestanding compilers. */
12583 # include <limits.h>
12585 # include <assert.h>
12590 /* Override any gcc2 internal prototype to avoid an error. */
12595 /* We use char because int might match the return type of a gcc2
12596 builtin and then its argument prototype would still apply. */
12598 /* The GNU C library defines this for functions which it implements
12599 to always fail with ENOSYS. Some functions are actually named
12600 something starting with __ and the normal name is an alias. */
12601 #if defined (__stub_dlopen) || defined (__stub___dlopen)
12604 char (*f) () = dlopen;
12613 return f != dlopen;
12618 rm -f conftest.
$ac_objext conftest
$ac_exeext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12620 (eval $ac_link) 2>conftest.er1
12622 grep -v '^ *+' conftest.er1
>conftest.err
12624 cat conftest.err
>&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try
='test -z "$ac_c_werror_flag"
12628 || test ! -s conftest.err'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; } &&
12634 { ac_try
='test -s conftest$ac_exeext'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; }; then
12640 ac_cv_func_dlopen
=yes
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.
$ac_ext >&5
12645 ac_cv_func_dlopen
=no
12647 rm -f conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12650 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12651 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12652 if test $ac_cv_func_dlopen = yes; then
12653 lt_cv_dlopen
="dlopen"
12655 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12656 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12657 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12658 echo $ECHO_N "(cached) $ECHO_C" >&6
12660 ac_check_lib_save_LIBS
=$LIBS
12662 if test x
$gcc_no_link = xyes
; then
12663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12665 { (exit 1); exit 1; }; }
12667 cat >conftest.
$ac_ext <<_ACEOF
12670 cat confdefs.h
>>conftest.
$ac_ext
12671 cat >>conftest.
$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12674 /* Override any gcc2 internal prototype to avoid an error. */
12678 /* We use char because int might match the return type of a gcc2
12679 builtin and then its argument prototype would still apply. */
12689 rm -f conftest.
$ac_objext conftest
$ac_exeext
12690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12691 (eval $ac_link) 2>conftest.er1
12693 grep -v '^ *+' conftest.er1
>conftest.err
12695 cat conftest.err
>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); } &&
12698 { ac_try
='test -z "$ac_c_werror_flag"
12699 || test ! -s conftest.err'
12700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12701 (eval $ac_try) 2>&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); }; } &&
12705 { ac_try
='test -s conftest$ac_exeext'
12706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12707 (eval $ac_try) 2>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); }; }; then
12711 ac_cv_lib_dl_dlopen
=yes
12713 echo "$as_me: failed program was:" >&5
12714 sed 's/^/| /' conftest.
$ac_ext >&5
12716 ac_cv_lib_dl_dlopen
=no
12718 rm -f conftest.err conftest.
$ac_objext \
12719 conftest
$ac_exeext conftest.
$ac_ext
12720 LIBS
=$ac_check_lib_save_LIBS
12722 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12723 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12724 if test $ac_cv_lib_dl_dlopen = yes; then
12725 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12727 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12728 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12729 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12730 echo $ECHO_N "(cached) $ECHO_C" >&6
12732 ac_check_lib_save_LIBS
=$LIBS
12733 LIBS
="-lsvld $LIBS"
12734 if test x
$gcc_no_link = xyes
; then
12735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12737 { (exit 1); exit 1; }; }
12739 cat >conftest.
$ac_ext <<_ACEOF
12742 cat confdefs.h
>>conftest.
$ac_ext
12743 cat >>conftest.
$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12746 /* Override any gcc2 internal prototype to avoid an error. */
12750 /* We use char because int might match the return type of a gcc2
12751 builtin and then its argument prototype would still apply. */
12761 rm -f conftest.
$ac_objext conftest
$ac_exeext
12762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12763 (eval $ac_link) 2>conftest.er1
12765 grep -v '^ *+' conftest.er1
>conftest.err
12767 cat conftest.err
>&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); } &&
12770 { ac_try
='test -z "$ac_c_werror_flag"
12771 || test ! -s conftest.err'
12772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12773 (eval $ac_try) 2>&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; } &&
12777 { ac_try
='test -s conftest$ac_exeext'
12778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12779 (eval $ac_try) 2>&5
12781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12782 (exit $ac_status); }; }; then
12783 ac_cv_lib_svld_dlopen
=yes
12785 echo "$as_me: failed program was:" >&5
12786 sed 's/^/| /' conftest.
$ac_ext >&5
12788 ac_cv_lib_svld_dlopen
=no
12790 rm -f conftest.err conftest.
$ac_objext \
12791 conftest
$ac_exeext conftest.
$ac_ext
12792 LIBS
=$ac_check_lib_save_LIBS
12794 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12795 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12796 if test $ac_cv_lib_svld_dlopen = yes; then
12797 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12799 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12800 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12801 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 ac_check_lib_save_LIBS
=$LIBS
12806 if test x
$gcc_no_link = xyes
; then
12807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12809 { (exit 1); exit 1; }; }
12811 cat >conftest.
$ac_ext <<_ACEOF
12814 cat confdefs.h
>>conftest.
$ac_ext
12815 cat >>conftest.
$ac_ext <<_ACEOF
12816 /* end confdefs.h. */
12818 /* Override any gcc2 internal prototype to avoid an error. */
12822 /* We use char because int might match the return type of a gcc2
12823 builtin and then its argument prototype would still apply. */
12833 rm -f conftest.
$ac_objext conftest
$ac_exeext
12834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12835 (eval $ac_link) 2>conftest.er1
12837 grep -v '^ *+' conftest.er1
>conftest.err
12839 cat conftest.err
>&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); } &&
12842 { ac_try
='test -z "$ac_c_werror_flag"
12843 || test ! -s conftest.err'
12844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845 (eval $ac_try) 2>&5
12847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848 (exit $ac_status); }; } &&
12849 { ac_try
='test -s conftest$ac_exeext'
12850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12851 (eval $ac_try) 2>&5
12853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12854 (exit $ac_status); }; }; then
12855 ac_cv_lib_dld_dld_link
=yes
12857 echo "$as_me: failed program was:" >&5
12858 sed 's/^/| /' conftest.
$ac_ext >&5
12860 ac_cv_lib_dld_dld_link
=no
12862 rm -f conftest.err conftest.
$ac_objext \
12863 conftest
$ac_exeext conftest.
$ac_ext
12864 LIBS
=$ac_check_lib_save_LIBS
12866 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12867 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12868 if test $ac_cv_lib_dld_dld_link = yes; then
12869 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12890 if test "x$lt_cv_dlopen" != xno
; then
12896 case $lt_cv_dlopen in
12898 save_CPPFLAGS
="$CPPFLAGS"
12899 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12901 save_LDFLAGS
="$LDFLAGS"
12902 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12905 LIBS
="$lt_cv_dlopen_libs $LIBS"
12907 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12908 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12909 if test "${lt_cv_dlopen_self+set}" = set; then
12910 echo $ECHO_N "(cached) $ECHO_C" >&6
12912 if test "$cross_compiling" = yes; then :
12913 lt_cv_dlopen_self
=cross
12915 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12916 lt_status
=$lt_dlunknown
12917 cat > conftest.
$ac_ext <<_LT_EOF
12918 #line 12918 "configure"
12919 #include "confdefs.h"
12928 # define LT_DLGLOBAL RTLD_GLOBAL
12931 # define LT_DLGLOBAL DL_GLOBAL
12933 # define LT_DLGLOBAL 0
12937 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12938 find out it does not work in some platform. */
12939 #ifndef LT_DLLAZY_OR_NOW
12941 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12944 # define LT_DLLAZY_OR_NOW DL_LAZY
12947 # define LT_DLLAZY_OR_NOW RTLD_NOW
12950 # define LT_DLLAZY_OR_NOW DL_NOW
12952 # define LT_DLLAZY_OR_NOW 0
12959 void fnord() { int i=42;}
12962 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12963 int status = $lt_dlunknown;
12967 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12968 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12969 /* dlclose (self); */
12977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12978 (eval $ac_link) 2>&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12982 (.
/conftest
; exit; ) >&5 2>/dev
/null
12984 case x
$lt_status in
12985 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12986 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12987 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12990 # compilation failed
12991 lt_cv_dlopen_self
=no
12998 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12999 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
13001 if test "x$lt_cv_dlopen_self" = xyes
; then
13002 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13003 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
13004 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
13005 if test "${lt_cv_dlopen_self_static+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13008 if test "$cross_compiling" = yes; then :
13009 lt_cv_dlopen_self_static
=cross
13011 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13012 lt_status
=$lt_dlunknown
13013 cat > conftest.
$ac_ext <<_LT_EOF
13014 #line 13014 "configure"
13015 #include "confdefs.h"
13024 # define LT_DLGLOBAL RTLD_GLOBAL
13027 # define LT_DLGLOBAL DL_GLOBAL
13029 # define LT_DLGLOBAL 0
13033 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13034 find out it does not work in some platform. */
13035 #ifndef LT_DLLAZY_OR_NOW
13037 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13040 # define LT_DLLAZY_OR_NOW DL_LAZY
13043 # define LT_DLLAZY_OR_NOW RTLD_NOW
13046 # define LT_DLLAZY_OR_NOW DL_NOW
13048 # define LT_DLLAZY_OR_NOW 0
13055 void fnord() { int i=42;}
13058 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13059 int status = $lt_dlunknown;
13063 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13064 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13065 /* dlclose (self); */
13073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13074 (eval $ac_link) 2>&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13078 (.
/conftest
; exit; ) >&5 2>/dev
/null
13080 case x
$lt_status in
13081 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13082 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13083 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13086 # compilation failed
13087 lt_cv_dlopen_self_static
=no
13094 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13095 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13098 CPPFLAGS
="$save_CPPFLAGS"
13099 LDFLAGS
="$save_LDFLAGS"
13104 case $lt_cv_dlopen_self in
13105 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13106 *) enable_dlopen_self
=unknown
;;
13109 case $lt_cv_dlopen_self_static in
13110 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13111 *) enable_dlopen_self_static
=unknown
;;
13133 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
13134 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
13135 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13136 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13137 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13138 echo "$as_me:$LINENO: result: yes" >&5
13139 echo "${ECHO_T}yes" >&6
13141 # FIXME - insert some real tests, host_os isn't really good enough
13144 if test -n "$STRIP" ; then
13145 striplib
="$STRIP -x"
13146 old_striplib
="$STRIP -S"
13147 echo "$as_me:$LINENO: result: yes" >&5
13148 echo "${ECHO_T}yes" >&6
13150 echo "$as_me:$LINENO: result: no" >&5
13151 echo "${ECHO_T}no" >&6
13155 echo "$as_me:$LINENO: result: no" >&5
13156 echo "${ECHO_T}no" >&6
13172 # Report which library types will actually be built
13173 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13174 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13175 echo "$as_me:$LINENO: result: $can_build_shared" >&5
13176 echo "${ECHO_T}$can_build_shared" >&6
13178 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13179 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
13180 test "$can_build_shared" = "no" && enable_shared
=no
13182 # On AIX, shared libraries and static libraries use the same namespace, and
13183 # are all built from PIC.
13186 test "$enable_shared" = yes && enable_static
=no
13187 if test -n "$RANLIB"; then
13188 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13189 postinstall_cmds
='$RANLIB $lib'
13194 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13195 test "$enable_shared" = yes && enable_static
=no
13199 echo "$as_me:$LINENO: result: $enable_shared" >&5
13200 echo "${ECHO_T}$enable_shared" >&6
13202 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
13203 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
13204 # Make sure either enable_shared or enable_static is yes.
13205 test "$enable_shared" = yes || enable_static
=yes
13206 echo "$as_me:$LINENO: result: $enable_static" >&5
13207 echo "${ECHO_T}$enable_static" >&6
13214 ac_cpp
='$CPP $CPPFLAGS'
13215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13223 ac_cpp
='$CXXCPP $CPPFLAGS'
13224 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13225 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13226 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13228 archive_cmds_need_lc_CXX
=no
13229 allow_undefined_flag_CXX
=
13230 always_export_symbols_CXX
=no
13231 archive_expsym_cmds_CXX
=
13232 compiler_needs_object_CXX
=no
13233 export_dynamic_flag_spec_CXX
=
13234 hardcode_direct_CXX
=no
13235 hardcode_direct_absolute_CXX
=no
13236 hardcode_libdir_flag_spec_CXX
=
13237 hardcode_libdir_flag_spec_ld_CXX
=
13238 hardcode_libdir_separator_CXX
=
13239 hardcode_minus_L_CXX
=no
13240 hardcode_shlibpath_var_CXX
=unsupported
13241 hardcode_automatic_CXX
=no
13242 inherit_rpath_CXX
=no
13244 module_expsym_cmds_CXX
=
13245 link_all_deplibs_CXX
=unknown
13246 old_archive_cmds_CXX
=$old_archive_cmds
13247 no_undefined_flag_CXX
=
13248 whole_archive_flag_spec_CXX
=
13249 enable_shared_with_static_runtimes_CXX
=no
13251 # Source file extension for C++ test sources.
13254 # Object file extension for compiled C++ test sources.
13258 # No sense in running all these tests if we already determined that
13259 # the CXX compiler isn't working. Some variables (like enable_shared)
13260 # are currently assumed to apply to all compilers on this platform,
13261 # and will be corrupted by setting them based on a non-working compiler.
13262 if test "$_lt_caught_CXX_error" != yes; then
13263 # Code to be used in simple compile tests
13264 lt_simple_compile_test_code
="int some_variable = 0;"
13266 # Code to be used in simple link tests
13267 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13269 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13276 # If no C compiler was specified, use CC.
13279 # If no C compiler flags were specified, use CFLAGS.
13280 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13282 # Allow CC to be a program name with arguments.
13286 # save warnings/boilerplate of simple test code
13287 ac_outfile
=conftest.
$ac_objext
13288 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13289 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13290 _lt_compiler_boilerplate
=`cat conftest.err`
13293 ac_outfile
=conftest.
$ac_objext
13294 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13295 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13296 _lt_linker_boilerplate
=`cat conftest.err`
13300 # Allow CC to be a program name with arguments.
13305 lt_save_with_gnu_ld
=$with_gnu_ld
13306 lt_save_path_LD
=$lt_cv_path_LD
13307 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13308 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13310 $as_unset lt_cv_prog_gnu_ld
13312 if test -n "${lt_cv_path_LDCXX+set}"; then
13313 lt_cv_path_LD
=$lt_cv_path_LDCXX
13315 $as_unset lt_cv_path_LD
13317 test -z "${LDCXX+set}" || LD
=$LDCXX
13321 for cc_temp
in $compiler""; do
13323 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13324 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13329 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13332 if test -n "$compiler"; then
13333 # We don't want -fno-exception when compiling C++ code, so set the
13334 # no_builtin_flag separately
13335 if test "$GXX" = yes; then
13336 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13338 lt_prog_compiler_no_builtin_flag_CXX
=
13341 if test "$GXX" = yes; then
13342 # Set up default GNU C++ configuration
13346 # Check whether --with-gnu-ld or --without-gnu-ld was given.
13347 if test "${with_gnu_ld+set}" = set; then
13348 withval
="$with_gnu_ld"
13349 test "$withval" = no || with_gnu_ld
=yes
13354 if test "$GCC" = yes; then
13355 # Check if gcc -print-prog-name=ld gives a path.
13356 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13357 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
13360 # gcc leaves a trailing carriage return which upsets mingw
13361 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13363 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13366 # Accept absolute paths.
13368 re_direlt
='/[^/][^/]*/\.\./'
13369 # Canonicalize the pathname of ld
13370 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13371 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13372 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13374 test -z "$LD" && LD
="$ac_prog"
13377 # If it fails, then pretend we aren't using GCC.
13381 # If it is relative, then search for the first ld in PATH.
13382 with_gnu_ld
=unknown
13385 elif test "$with_gnu_ld" = yes; then
13386 echo "$as_me:$LINENO: checking for GNU ld" >&5
13387 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
13389 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13390 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
13392 if test "${lt_cv_path_LD+set}" = set; then
13393 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 if test -z "$LD"; then
13396 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13397 for ac_dir
in $PATH; do
13399 test -z "$ac_dir" && ac_dir
=.
13400 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13401 lt_cv_path_LD
="$ac_dir/$ac_prog"
13402 # Check to see if the program is GNU ld. I'd rather use --version,
13403 # but apparently some variants of GNU ld only accept -v.
13404 # Break only if it was the GNU/non-GNU ld that we prefer.
13405 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13406 *GNU
* |
*'with BFD'*)
13407 test "$with_gnu_ld" != no
&& break
13410 test "$with_gnu_ld" != yes && break
13417 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13421 LD
="$lt_cv_path_LD"
13422 if test -n "$LD"; then
13423 echo "$as_me:$LINENO: result: $LD" >&5
13424 echo "${ECHO_T}$LD" >&6
13426 echo "$as_me:$LINENO: result: no" >&5
13427 echo "${ECHO_T}no" >&6
13429 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13430 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13431 { (exit 1); exit 1; }; }
13432 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13433 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
13434 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13437 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13438 case `$LD -v 2>&1 </dev/null` in
13439 *GNU
* |
*'with BFD'*)
13440 lt_cv_prog_gnu_ld
=yes
13443 lt_cv_prog_gnu_ld
=no
13447 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13448 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
13449 with_gnu_ld
=$lt_cv_prog_gnu_ld
13457 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13458 # archiving commands below assume that GNU ld is being used.
13459 if test "$with_gnu_ld" = yes; then
13460 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13461 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'
13463 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13464 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13466 # If archive_cmds runs LD, not CC, wlarc should be empty
13467 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13468 # investigate it a little bit more. (MM)
13471 # ancient GNU ld didn't support --whole-archive et. al.
13472 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13473 $GREP 'no-whole-archive' > /dev
/null
; then
13474 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13476 whole_archive_flag_spec_CXX
=
13482 # A generic and very simple default shared library creation
13483 # command for GNU C++ for the case where it uses the native
13484 # linker, instead of GNU ld. If possible, this setting should
13485 # overridden to take advantage of the native linker features on
13486 # the platform it is being used on.
13487 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13490 # Commands to make compiler produce verbose output that lists
13491 # what "hidden" libraries, object files and flags are used when
13492 # linking a shared library.
13493 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13501 # PORTME: fill in a description of your system's C++ link characteristics
13502 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13503 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13507 # FIXME: insert proper C++ library support
13511 if test "$host_cpu" = ia64
; then
13512 # On IA64, the linker does run time linking by default, so we don't
13513 # have to do anything special.
13514 aix_use_runtimelinking
=no
13515 exp_sym_flag
='-Bexport'
13518 aix_use_runtimelinking
=no
13520 # Test if we are trying to use run time linking or normal
13521 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13522 # need to do runtime linking.
13523 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13524 for ld_flag
in $LDFLAGS; do
13527 aix_use_runtimelinking
=yes
13535 exp_sym_flag
='-bexport'
13536 no_entry_flag
='-bnoentry'
13539 # When large executables or shared objects are built, AIX ld can
13540 # have problems creating the table of contents. If linking a library
13541 # or program results in "error TOC overflow" add -mminimal-toc to
13542 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13543 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13545 archive_cmds_CXX
=''
13546 hardcode_direct_CXX
=yes
13547 hardcode_direct_absolute_CXX
=yes
13548 hardcode_libdir_separator_CXX
=':'
13549 link_all_deplibs_CXX
=yes
13550 file_list_spec_CXX
='${wl}-f,'
13552 if test "$GXX" = yes; then
13553 case $host_os in aix4.
[012]|aix4.
[012].
*)
13554 # We only want to do this on AIX 4.2 and lower, the check
13555 # below for broken collect2 doesn't work under 4.3+
13556 collect2name
=`${CC} -print-prog-name=collect2`
13557 if test -f "$collect2name" &&
13558 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13560 # We have reworked collect2
13563 # We have old collect2
13564 hardcode_direct_CXX
=unsupported
13565 # It fails to find uninstalled libraries when the uninstalled
13566 # path is not listed in the libpath. Setting hardcode_minus_L
13567 # to unsupported forces relinking
13568 hardcode_minus_L_CXX
=yes
13569 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13570 hardcode_libdir_separator_CXX
=
13573 shared_flag
='-shared'
13574 if test "$aix_use_runtimelinking" = yes; then
13575 shared_flag
="$shared_flag "'${wl}-G'
13579 if test "$host_cpu" = ia64
; then
13580 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13581 # chokes on -Wl,-G. The following line is correct:
13584 if test "$aix_use_runtimelinking" = yes; then
13585 shared_flag
='${wl}-G'
13587 shared_flag
='${wl}-bM:SRE'
13592 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13593 # It seems that -bexpall does not export symbols beginning with
13594 # underscore (_), so it is better to generate a list of symbols to
13596 always_export_symbols_CXX
=yes
13597 if test "$aix_use_runtimelinking" = yes; then
13598 # Warning - without using the other runtime loading flags (-brtl),
13599 # -berok will link without error, but may produce a broken library.
13600 allow_undefined_flag_CXX
='-berok'
13601 # Determine the default libpath from the value encoded in an empty
13603 if test x
$gcc_no_link = xyes
; then
13604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13606 { (exit 1); exit 1; }; }
13608 cat >conftest.
$ac_ext <<_ACEOF
13611 cat confdefs.h
>>conftest.
$ac_ext
13612 cat >>conftest.
$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13623 rm -f conftest.
$ac_objext conftest
$ac_exeext
13624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13625 (eval $ac_link) 2>conftest.er1
13627 grep -v '^ *+' conftest.er1
>conftest.err
13629 cat conftest.err
>&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); } &&
13632 { ac_try
='test -z "$ac_cxx_werror_flag"
13633 || test ! -s conftest.err'
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13635 (eval $ac_try) 2>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; } &&
13639 { ac_try
='test -s conftest$ac_exeext'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; }; then
13646 lt_aix_libpath_sed
='
13647 /Import File Strings/,/^$/ {
13653 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13654 # Check for a 64-bit object if we didn't find anything.
13655 if test -z "$aix_libpath"; then
13656 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13659 echo "$as_me: failed program was:" >&5
13660 sed 's/^/| /' conftest.
$ac_ext >&5
13663 rm -f conftest.err conftest.
$ac_objext \
13664 conftest
$ac_exeext conftest.
$ac_ext
13665 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13667 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13669 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"
13671 if test "$host_cpu" = ia64
; then
13672 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13673 allow_undefined_flag_CXX
="-z nodefs"
13674 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"
13676 # Determine the default libpath from the value encoded in an
13677 # empty executable.
13678 if test x
$gcc_no_link = xyes
; then
13679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13681 { (exit 1); exit 1; }; }
13683 cat >conftest.
$ac_ext <<_ACEOF
13686 cat confdefs.h
>>conftest.
$ac_ext
13687 cat >>conftest.
$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13698 rm -f conftest.
$ac_objext conftest
$ac_exeext
13699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13700 (eval $ac_link) 2>conftest.er1
13702 grep -v '^ *+' conftest.er1
>conftest.err
13704 cat conftest.err
>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); } &&
13707 { ac_try
='test -z "$ac_cxx_werror_flag"
13708 || test ! -s conftest.err'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; } &&
13714 { ac_try
='test -s conftest$ac_exeext'
13715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13716 (eval $ac_try) 2>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; }; then
13721 lt_aix_libpath_sed
='
13722 /Import File Strings/,/^$/ {
13728 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13729 # Check for a 64-bit object if we didn't find anything.
13730 if test -z "$aix_libpath"; then
13731 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13734 echo "$as_me: failed program was:" >&5
13735 sed 's/^/| /' conftest.
$ac_ext >&5
13738 rm -f conftest.err conftest.
$ac_objext \
13739 conftest
$ac_exeext conftest.
$ac_ext
13740 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13742 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13743 # Warning - without using the other run time loading flags,
13744 # -berok will link without error, but may produce a broken library.
13745 no_undefined_flag_CXX
=' ${wl}-bernotok'
13746 allow_undefined_flag_CXX
=' ${wl}-berok'
13747 # Exported symbols can be pulled into shared objects from archives
13748 whole_archive_flag_spec_CXX
='$convenience'
13749 archive_cmds_need_lc_CXX
=yes
13750 # This is similar to how AIX traditionally builds its shared
13752 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'
13758 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13759 allow_undefined_flag_CXX
=unsupported
13760 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13761 # support --undefined. This deserves some investigation. FIXME
13762 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13769 case $cc_basename in
13771 # FIXME: insert proper C++ library support
13777 cygwin
* | mingw
* | pw32
* | cegcc
*)
13778 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13779 # as there is no search path for DLLs.
13780 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13781 allow_undefined_flag_CXX
=unsupported
13782 always_export_symbols_CXX
=no
13783 enable_shared_with_static_runtimes_CXX
=yes
13785 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13786 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'
13787 # If the export-symbols file already is a .def file (1st line
13788 # is EXPORTS), use it as is; otherwise, prepend...
13789 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13790 cp $export_symbols $output_objdir/$soname.def;
13792 echo EXPORTS > $output_objdir/$soname.def;
13793 cat $export_symbols >> $output_objdir/$soname.def;
13795 $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'
13800 darwin
* | rhapsody
*)
13803 archive_cmds_need_lc_CXX
=no
13804 hardcode_direct_CXX
=no
13805 hardcode_automatic_CXX
=yes
13806 hardcode_shlibpath_var_CXX
=unsupported
13807 whole_archive_flag_spec_CXX
=''
13808 link_all_deplibs_CXX
=yes
13809 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13810 case $cc_basename in
13811 ifort
*) _lt_dar_can_shared
=yes ;;
13812 *) _lt_dar_can_shared
=$GCC ;;
13814 if test "$_lt_dar_can_shared" = "yes"; then
13815 output_verbose_link_cmd
=echo
13816 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13817 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13818 archive_expsym_cmds_CXX
="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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13819 module_expsym_cmds_CXX
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13820 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13821 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${_lt_dsymutil}"
13822 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${_lt_dar_export_syms}${_lt_dsymutil}"
13832 case $cc_basename in
13834 # FIXME: insert proper C++ library support
13838 # Green Hills C++ Compiler
13839 # FIXME: insert proper C++ library support
13843 # FIXME: insert proper C++ library support
13850 # C++ shared libraries reported to be fairly broken before
13856 archive_cmds_need_lc_CXX
=no
13859 freebsd
* | dragonfly
*)
13860 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13869 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13870 hardcode_libdir_separator_CXX
=:
13871 export_dynamic_flag_spec_CXX
='${wl}-E'
13872 hardcode_direct_CXX
=yes
13873 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13874 # but as the default
13875 # location of the library.
13877 case $cc_basename in
13879 # FIXME: insert proper C++ library support
13883 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'
13884 # Commands to make compiler produce verbose output that lists
13885 # what "hidden" libraries, object files and flags are used when
13886 # linking a shared library.
13888 # There doesn't appear to be a way to prevent this compiler from
13889 # explicitly linking system object files so we need to strip them
13890 # from the output so that they don't get included in the library
13892 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'
13895 if test "$GXX" = yes; then
13896 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'
13898 # FIXME: insert proper C++ library support
13906 if test $with_gnu_ld = no
; then
13907 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13908 hardcode_libdir_separator_CXX
=:
13914 export_dynamic_flag_spec_CXX
='${wl}-E'
13920 hardcode_direct_CXX
=no
13921 hardcode_shlibpath_var_CXX
=no
13924 hardcode_direct_CXX
=yes
13925 hardcode_direct_absolute_CXX
=yes
13926 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13927 # but as the default
13928 # location of the library.
13932 case $cc_basename in
13934 # FIXME: insert proper C++ library support
13940 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13943 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13946 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13949 # Commands to make compiler produce verbose output that lists
13950 # what "hidden" libraries, object files and flags are used when
13951 # linking a shared library.
13953 # There doesn't appear to be a way to prevent this compiler from
13954 # explicitly linking system object files so we need to strip them
13955 # from the output so that they don't get included in the library
13957 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'
13960 if test "$GXX" = yes; then
13961 if test $with_gnu_ld = no
; then
13964 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13967 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13970 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'
13975 # FIXME: insert proper C++ library support
13983 hardcode_direct_CXX
=no
13984 hardcode_shlibpath_var_CXX
=no
13985 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13986 export_dynamic_flag_spec_CXX
='${wl}-E'
13987 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13988 # Instead, shared libraries are loaded at an image base (0x10000000 by
13989 # default) and relocated if they conflict, which is a slow very memory
13990 # consuming and fragmenting process. To avoid this, we pick a random,
13991 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13992 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13993 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'
13994 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'
13997 case $cc_basename in
14000 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'
14002 # Archives containing C++ object files must be created using
14003 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14004 # necessary to make sure instantiated templates are included
14006 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14009 if test "$GXX" = yes; then
14010 if test "$with_gnu_ld" = no
; then
14011 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'
14013 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'
14016 link_all_deplibs_CXX
=yes
14019 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14020 hardcode_libdir_separator_CXX
=:
14021 inherit_rpath_CXX
=yes
14024 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14025 case $cc_basename in
14027 # Kuck and Associates, Inc. (KAI) C++ Compiler
14029 # KCC will only create a shared library if the output file
14030 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14031 # to its proper name (with version) after linking.
14032 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'
14033 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'
14034 # Commands to make compiler produce verbose output that lists
14035 # what "hidden" libraries, object files and flags are used when
14036 # linking a shared library.
14038 # There doesn't appear to be a way to prevent this compiler from
14039 # explicitly linking system object files so we need to strip them
14040 # from the output so that they don't get included in the library
14042 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'
14044 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14045 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14047 # Archives containing C++ object files must be created using
14048 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14049 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14054 # version 8.0 and above of icpc choke on multiply defined symbols
14055 # if we add $predep_objects and $postdep_objects, however 7.1 and
14056 # earlier do not add the objects themselves.
14057 case `$CC -V 2>&1` in
14059 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14060 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'
14062 *) # Version 8.0 or newer
14065 ia64
*) tmp_idyn
=' -i_dynamic';;
14067 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14068 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'
14071 archive_cmds_need_lc_CXX
=no
14072 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14073 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14074 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14077 # Portland Group C++ compiler
14079 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
14080 prelink_cmds_CXX
='tpldir=Template.dir~
14082 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14083 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14084 old_archive_cmds_CXX
='tpldir=Template.dir~
14086 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14087 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14089 archive_cmds_CXX
='tpldir=Template.dir~
14091 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14092 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14093 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14095 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14096 $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'
14098 *) # Version 6 will use weak symbols
14099 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14100 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'
14104 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14105 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14106 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'
14110 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14111 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'
14113 runpath_var
=LD_RUN_PATH
14114 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14115 hardcode_libdir_separator_CXX
=:
14117 # Commands to make compiler produce verbose output that lists
14118 # what "hidden" libraries, object files and flags are used when
14119 # linking a shared library.
14121 # There doesn't appear to be a way to prevent this compiler from
14122 # explicitly linking system object files so we need to strip them
14123 # from the output so that they don't get included in the library
14125 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'
14128 # IBM XL 8.0 on PPC, with GNU ld
14129 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14130 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14131 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14132 if test "x$supports_anon_versioning" = xyes
; then
14133 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14134 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14135 echo "local: *; };" >> $output_objdir/$libname.ver~
14136 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14140 case `$CC -V 2>&1 | sed 5q` in
14143 no_undefined_flag_CXX
=' -zdefs'
14144 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14145 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'
14146 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14147 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'
14148 compiler_needs_object_CXX
=yes
14150 # Not sure whether something based on
14151 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14153 output_verbose_link_cmd
='echo'
14155 # Archives containing C++ object files must be created using
14156 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14157 # necessary to make sure instantiated templates are included
14159 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14167 # FIXME: insert proper C++ library support
14172 # FIXME: insert proper C++ library support
14177 case $cc_basename in
14179 # FIXME: insert proper C++ library support
14183 # FIXME: insert proper C++ library support
14190 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14191 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14193 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14194 hardcode_direct_CXX
=yes
14195 hardcode_shlibpath_var_CXX
=no
14197 # Workaround some broken pre-1.5 toolchains
14198 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14206 # C++ shared libraries are fairly broken
14211 if test -f /usr
/libexec
/ld.so
; then
14212 hardcode_direct_CXX
=yes
14213 hardcode_shlibpath_var_CXX
=no
14214 hardcode_direct_absolute_CXX
=yes
14215 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14216 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14217 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14218 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14219 export_dynamic_flag_spec_CXX
='${wl}-E'
14220 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14222 output_verbose_link_cmd
=echo
14228 osf3
* | osf4
* | osf5
*)
14229 case $cc_basename in
14231 # Kuck and Associates, Inc. (KAI) C++ Compiler
14233 # KCC will only create a shared library if the output file
14234 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14235 # to its proper name (with version) after linking.
14236 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'
14238 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14239 hardcode_libdir_separator_CXX
=:
14241 # Archives containing C++ object files must be created using
14242 # the KAI C++ compiler.
14244 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14245 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14249 # Rational C++ 2.4.1
14250 # FIXME: insert proper C++ library support
14256 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14257 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'
14258 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14261 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14262 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'
14263 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14264 echo "-hidden">> $lib.exp~
14265 $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~
14267 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14271 hardcode_libdir_separator_CXX
=:
14273 # Commands to make compiler produce verbose output that lists
14274 # what "hidden" libraries, object files and flags are used when
14275 # linking a shared library.
14277 # There doesn't appear to be a way to prevent this compiler from
14278 # explicitly linking system object files so we need to strip them
14279 # from the output so that they don't get included in the library
14281 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'
14284 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14285 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14288 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'
14291 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'
14295 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14296 hardcode_libdir_separator_CXX
=:
14298 # Commands to make compiler produce verbose output that lists
14299 # what "hidden" libraries, object files and flags are used when
14300 # linking a shared library.
14301 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14304 # FIXME: insert proper C++ library support
14312 # FIXME: insert proper C++ library support
14317 case $cc_basename in
14320 # FIXME: insert proper C++ library support
14325 # FIXME: insert proper C++ library support
14329 # FIXME: insert proper C++ library support
14336 case $cc_basename in
14338 # Sun C++ 4.2, 5.x and Centerline C++
14339 archive_cmds_need_lc_CXX
=yes
14340 no_undefined_flag_CXX
=' -zdefs'
14341 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14342 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14343 $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'
14345 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14346 hardcode_shlibpath_var_CXX
=no
14348 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14350 # The compiler driver will combine and reorder linker options,
14351 # but understands `-z linker_flag'.
14352 # Supported since Solaris 2.6 (maybe 2.5.1?)
14353 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14356 link_all_deplibs_CXX
=yes
14358 output_verbose_link_cmd
='echo'
14360 # Archives containing C++ object files must be created using
14361 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14362 # necessary to make sure instantiated templates are included
14364 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14367 # Green Hills C++ Compiler
14368 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14370 # The C++ compiler must be used to create the archive.
14371 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14374 # GNU C++ compiler with Solaris linker
14375 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14376 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14377 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14378 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14379 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14380 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14382 # Commands to make compiler produce verbose output that lists
14383 # what "hidden" libraries, object files and flags are used when
14384 # linking a shared library.
14385 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14387 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14389 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14390 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14391 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14393 # Commands to make compiler produce verbose output that lists
14394 # what "hidden" libraries, object files and flags are used when
14395 # linking a shared library.
14396 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14399 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14401 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14403 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14411 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14412 no_undefined_flag_CXX
='${wl}-z,text'
14413 archive_cmds_need_lc_CXX
=no
14414 hardcode_shlibpath_var_CXX
=no
14415 runpath_var
='LD_RUN_PATH'
14417 case $cc_basename in
14419 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14420 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14423 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14424 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14429 sysv5
* | sco3.2v5
* | sco5v6
*)
14430 # Note: We can NOT use -z defs as we might desire, because we do not
14431 # link with -lc, and that would cause any symbols used from libc to
14432 # always be unresolved, which means just about no library would
14433 # ever link correctly. If we're not using GNU ld we use -z text
14434 # though, which does catch some bad symbols but isn't as heavy-handed
14436 no_undefined_flag_CXX
='${wl}-z,text'
14437 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14438 archive_cmds_need_lc_CXX
=no
14439 hardcode_shlibpath_var_CXX
=no
14440 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14441 hardcode_libdir_separator_CXX
=':'
14442 link_all_deplibs_CXX
=yes
14443 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14444 runpath_var
='LD_RUN_PATH'
14446 case $cc_basename in
14448 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14449 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14452 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14453 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14459 case $cc_basename in
14461 # NonStop-UX NCC 3.20
14462 # FIXME: insert proper C++ library support
14466 # FIXME: insert proper C++ library support
14473 # FIXME: insert proper C++ library support
14478 # FIXME: insert proper C++ library support
14483 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14484 echo "${ECHO_T}$ld_shlibs_CXX" >&6
14485 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14491 ## There is no encapsulation within the following macros, do not change
14492 ## the running order or otherwise move them around unless you know exactly
14493 ## what you are doing...
14494 # Dependencies to place before and after the object being linked:
14495 predep_objects_CXX
=
14496 postdep_objects_CXX
=
14499 compiler_lib_search_path_CXX
=
14501 cat > conftest.
$ac_ext <<_LT_EOF
14505 Foo (void) { a = 0; }
14511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14512 (eval $ac_compile) 2>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; then
14516 # Parse the compiler output and extract the necessary
14517 # objects, libraries and library flags.
14519 # Sentinel used to keep track of whether or not we are before
14520 # the conftest object file.
14521 pre_test_object_deps_done
=no
14523 for p
in `eval "$output_verbose_link_cmd"`; do
14527 # Some compilers place space between "-{L,R}" and the path.
14528 # Remove the space.
14529 if test $p = "-L" ||
14530 test $p = "-R"; then
14537 if test "$pre_test_object_deps_done" = no
; then
14540 # Internal compiler library paths should come after those
14541 # provided the user. The postdeps already come after the
14542 # user supplied libs so there is no need to process them.
14543 if test -z "$compiler_lib_search_path_CXX"; then
14544 compiler_lib_search_path_CXX
="${prev}${p}"
14546 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14549 # The "-l" case would never come before the object being
14550 # linked, so don't bother handling this case.
14553 if test -z "$postdeps_CXX"; then
14554 postdeps_CXX
="${prev}${p}"
14556 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14562 # This assumes that the test object file only shows up
14563 # once in the compiler output.
14564 if test "$p" = "conftest.$objext"; then
14565 pre_test_object_deps_done
=yes
14569 if test "$pre_test_object_deps_done" = no
; then
14570 if test -z "$predep_objects_CXX"; then
14571 predep_objects_CXX
="$p"
14573 predep_objects_CXX
="$predep_objects_CXX $p"
14576 if test -z "$postdep_objects_CXX"; then
14577 postdep_objects_CXX
="$p"
14579 postdep_objects_CXX
="$postdep_objects_CXX $p"
14584 *) ;; # Ignore the rest.
14592 echo "libtool.m4: error: problem compiling CXX test program"
14595 $RM -f confest.
$objext
14597 # PORTME: override above test on systems where it is broken
14600 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14601 # hack all around it, let's just trust "g++" to DTRT.
14602 predep_objects_CXX
=
14603 postdep_objects_CXX
=
14608 case `$CC -V 2>&1 | sed 5q` in
14612 # The more standards-conforming stlport4 library is
14613 # incompatible with the Cstd library. Avoid specifying
14614 # it if it's in CXXFLAGS. Ignore libCrun as
14615 # -library=stlport4 depends on it.
14616 case " $CXX $CXXFLAGS " in
14617 *" -library=stlport4 "*)
14618 solaris_use_stlport4
=yes
14622 if test "$solaris_use_stlport4" != yes; then
14623 postdeps_CXX
='-library=Cstd -library=Crun'
14630 case $cc_basename in
14632 # The more standards-conforming stlport4 library is
14633 # incompatible with the Cstd library. Avoid specifying
14634 # it if it's in CXXFLAGS. Ignore libCrun as
14635 # -library=stlport4 depends on it.
14636 case " $CXX $CXXFLAGS " in
14637 *" -library=stlport4 "*)
14638 solaris_use_stlport4
=yes
14642 # Adding this requires a known-good setup of shared libraries for
14643 # Sun compiler versions before 5.6, else PIC objects from an old
14644 # archive will be linked into the output, leading to subtle bugs.
14645 if test "$solaris_use_stlport4" != yes; then
14646 postdeps_CXX
='-library=Cstd -library=Crun'
14654 case " $postdeps_CXX " in
14655 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14657 compiler_lib_search_dirs_CXX
=
14658 if test -n "${compiler_lib_search_path_CXX}"; then
14659 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14692 lt_prog_compiler_wl_CXX
=
14693 lt_prog_compiler_pic_CXX
=
14694 lt_prog_compiler_static_CXX
=
14696 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14697 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
14699 # C++ specific cases for pic, static, wl, etc.
14700 if test "$GXX" = yes; then
14701 lt_prog_compiler_wl_CXX
='-Wl,'
14702 lt_prog_compiler_static_CXX
='-static'
14706 # All AIX code is PIC.
14707 if test "$host_cpu" = ia64
; then
14708 # AIX 5 now supports IA64 processor
14709 lt_prog_compiler_static_CXX
='-Bstatic'
14716 # see comment about AmigaOS4 .so support
14717 lt_prog_compiler_pic_CXX
='-fPIC'
14720 # FIXME: we need at least 68020 code to build shared libraries, but
14721 # adding the `-m68020' flag to GCC prevents building anything better,
14723 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14728 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14729 # PIC is the default for these OSes.
14731 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14732 # This hack is so that the source file can tell whether it is being
14733 # built for inclusion in a dll (and should export symbols for example).
14734 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14735 # (--disable-auto-import) libraries
14736 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14738 darwin
* | rhapsody
*)
14739 # PIC is the default on this platform
14740 # Common symbols not allowed in MH_DYLIB files
14741 lt_prog_compiler_pic_CXX
='-fno-common'
14744 # DJGPP does not support shared libraries at all
14745 lt_prog_compiler_pic_CXX
=
14748 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14749 # Instead, we relocate shared libraries at runtime.
14752 if test -d /usr
/nec
; then
14753 lt_prog_compiler_pic_CXX
=-Kconform_pic
14757 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14758 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14759 # sets the default TLS model and affects inlining.
14764 lt_prog_compiler_pic_CXX
='-fPIC'
14769 # QNX uses GNU C++, but need to define -shared option too, otherwise
14770 # it will coredump.
14771 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14774 lt_prog_compiler_pic_CXX
='-fPIC'
14780 # All AIX code is PIC.
14781 if test "$host_cpu" = ia64
; then
14782 # AIX 5 now supports IA64 processor
14783 lt_prog_compiler_static_CXX
='-Bstatic'
14785 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14789 case $cc_basename in
14791 # Green Hills C++ Compiler
14792 # _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"
14797 case $cc_basename in
14799 lt_prog_compiler_pic_CXX
='-KPIC'
14802 # Green Hills C++ Compiler
14803 lt_prog_compiler_pic_CXX
='-pic'
14809 freebsd
* | dragonfly
*)
14810 # FreeBSD uses GNU C++
14812 hpux9
* | hpux10
* | hpux11
*)
14813 case $cc_basename in
14815 lt_prog_compiler_wl_CXX
='-Wl,'
14816 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14817 if test "$host_cpu" != ia64
; then
14818 lt_prog_compiler_pic_CXX
='+Z'
14822 lt_prog_compiler_wl_CXX
='-Wl,'
14823 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14829 lt_prog_compiler_pic_CXX
='+Z'
14838 # This is c89, which is MS Visual C++ (no shared libs)
14839 # Anyone wants to do a port?
14841 irix5
* | irix6
* | nonstopux
*)
14842 case $cc_basename in
14844 lt_prog_compiler_wl_CXX
='-Wl,'
14845 lt_prog_compiler_static_CXX
='-non_shared'
14846 # CC pic flag -KPIC is the default.
14852 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14853 case $cc_basename in
14856 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14857 lt_prog_compiler_pic_CXX
='-fPIC'
14860 # old Intel C++ for x86_64 which still supported -KPIC.
14861 lt_prog_compiler_wl_CXX
='-Wl,'
14862 lt_prog_compiler_pic_CXX
='-KPIC'
14863 lt_prog_compiler_static_CXX
='-static'
14866 # Intel C++, used to be incompatible with GCC.
14867 # ICC 10 doesn't accept -KPIC any more.
14868 lt_prog_compiler_wl_CXX
='-Wl,'
14869 lt_prog_compiler_pic_CXX
='-fPIC'
14870 lt_prog_compiler_static_CXX
='-static'
14873 # Portland Group C++ compiler
14874 lt_prog_compiler_wl_CXX
='-Wl,'
14875 lt_prog_compiler_pic_CXX
='-fpic'
14876 lt_prog_compiler_static_CXX
='-Bstatic'
14880 # Make sure the PIC flag is empty. It appears that all Alpha
14881 # Linux and Compaq Tru64 Unix objects are PIC.
14882 lt_prog_compiler_pic_CXX
=
14883 lt_prog_compiler_static_CXX
='-non_shared'
14886 # IBM XL 8.0 on PPC
14887 lt_prog_compiler_wl_CXX
='-Wl,'
14888 lt_prog_compiler_pic_CXX
='-qpic'
14889 lt_prog_compiler_static_CXX
='-qstaticlink'
14892 case `$CC -V 2>&1 | sed 5q` in
14895 lt_prog_compiler_pic_CXX
='-KPIC'
14896 lt_prog_compiler_static_CXX
='-Bstatic'
14897 lt_prog_compiler_wl_CXX
='-Qoption ld '
14908 case $cc_basename in
14910 lt_prog_compiler_pic_CXX
='-W c,exportall'
14919 # QNX uses GNU C++, but need to define -shared option too, otherwise
14920 # it will coredump.
14921 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14923 osf3
* | osf4
* | osf5
*)
14924 case $cc_basename in
14926 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14929 # Rational C++ 2.4.1
14930 lt_prog_compiler_pic_CXX
='-pic'
14933 # Digital/Compaq C++
14934 lt_prog_compiler_wl_CXX
='-Wl,'
14935 # Make sure the PIC flag is empty. It appears that all Alpha
14936 # Linux and Compaq Tru64 Unix objects are PIC.
14937 lt_prog_compiler_pic_CXX
=
14938 lt_prog_compiler_static_CXX
='-non_shared'
14947 case $cc_basename in
14949 # Sun C++ 4.2, 5.x and Centerline C++
14950 lt_prog_compiler_pic_CXX
='-KPIC'
14951 lt_prog_compiler_static_CXX
='-Bstatic'
14952 lt_prog_compiler_wl_CXX
='-Qoption ld '
14955 # Green Hills C++ Compiler
14956 lt_prog_compiler_pic_CXX
='-PIC'
14963 case $cc_basename in
14966 lt_prog_compiler_pic_CXX
='-pic'
14967 lt_prog_compiler_static_CXX
='-Bstatic'
14971 lt_prog_compiler_pic_CXX
='-pic'
14977 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14978 case $cc_basename in
14980 lt_prog_compiler_wl_CXX
='-Wl,'
14981 lt_prog_compiler_pic_CXX
='-KPIC'
14982 lt_prog_compiler_static_CXX
='-Bstatic'
14987 case $cc_basename in
14989 # NonStop-UX NCC 3.20
14990 lt_prog_compiler_pic_CXX
='-KPIC'
14999 lt_prog_compiler_can_build_shared_CXX
=no
15005 # For platforms which do not support PIC, -DPIC is meaningless:
15007 lt_prog_compiler_pic_CXX
=
15010 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15013 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
15014 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
15019 # Check to make sure the PIC flag actually works.
15021 if test -n "$lt_prog_compiler_pic_CXX"; then
15022 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15023 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
15024 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
15025 echo $ECHO_N "(cached) $ECHO_C" >&6
15027 lt_cv_prog_compiler_pic_works_CXX
=no
15028 ac_outfile
=conftest.
$ac_objext
15029 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15030 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15031 # Insert the option either (1) after the last *FLAGS variable, or
15032 # (2) before a word containing "conftest.", or (3) at the end.
15033 # Note that $ac_compile itself does not contain backslashes and begins
15034 # with a dollar sign (not a hyphen), so the echo should work correctly.
15035 # The option is referenced via a variable to avoid confusing sed.
15036 lt_compile
=`echo "$ac_compile" | $SED \
15037 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15039 -e 's:$: $lt_compiler_flag:'`
15040 (eval echo "\"\$as_me:15040: $lt_compile\"" >&5)
15041 (eval "$lt_compile" 2>conftest.err
)
15043 cat conftest.err
>&5
15044 echo "$as_me:15044: \$? = $ac_status" >&5
15045 if (exit $ac_status) && test -s "$ac_outfile"; then
15046 # The compiler can only warn and ignore the option if not recognized
15047 # So say no if there are warnings other than the usual output.
15048 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
15049 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15050 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15051 lt_cv_prog_compiler_pic_works_CXX
=yes
15057 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15058 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
15060 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15061 case $lt_prog_compiler_pic_CXX in
15063 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15066 lt_prog_compiler_pic_CXX
=
15067 lt_prog_compiler_can_build_shared_CXX
=no
15075 # Check to make sure the static flag actually works.
15077 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15078 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15079 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
15080 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15083 lt_cv_prog_compiler_static_works_CXX
=no
15084 save_LDFLAGS
="$LDFLAGS"
15085 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15086 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15087 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15088 # The linker can only warn and ignore the option if not recognized
15089 # So say no if there are warnings
15090 if test -s conftest.err
; then
15091 # Append any errors to the config.log.
15092 cat conftest.err
1>&5
15093 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
15094 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15095 if diff conftest.exp conftest.er2
>/dev
/null
; then
15096 lt_cv_prog_compiler_static_works_CXX
=yes
15099 lt_cv_prog_compiler_static_works_CXX
=yes
15103 LDFLAGS
="$save_LDFLAGS"
15106 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15107 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
15109 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15112 lt_prog_compiler_static_CXX
=
15118 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15119 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15120 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 lt_cv_prog_compiler_c_o_CXX
=no
15124 $RM -r conftest
2>/dev
/null
15128 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15130 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15131 # Insert the option either (1) after the last *FLAGS variable, or
15132 # (2) before a word containing "conftest.", or (3) at the end.
15133 # Note that $ac_compile itself does not contain backslashes and begins
15134 # with a dollar sign (not a hyphen), so the echo should work correctly.
15135 lt_compile
=`echo "$ac_compile" | $SED \
15136 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15137 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15138 -e 's:$: $lt_compiler_flag:'`
15139 (eval echo "\"\$as_me:15139: $lt_compile\"" >&5)
15140 (eval "$lt_compile" 2>out
/conftest.err
)
15142 cat out
/conftest.err
>&5
15143 echo "$as_me:15143: \$? = $ac_status" >&5
15144 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15146 # The compiler can only warn and ignore the option if not recognized
15147 # So say no if there are warnings
15148 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15149 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15150 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15151 lt_cv_prog_compiler_c_o_CXX
=yes
15156 # SGI C++ compiler will create directory out/ii_files/ for
15157 # template instantiation
15158 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15159 $RM out
/* && rmdir out
15165 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15166 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15170 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15171 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15172 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 lt_cv_prog_compiler_c_o_CXX
=no
15176 $RM -r conftest
2>/dev
/null
15180 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15182 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15183 # Insert the option either (1) after the last *FLAGS variable, or
15184 # (2) before a word containing "conftest.", or (3) at the end.
15185 # Note that $ac_compile itself does not contain backslashes and begins
15186 # with a dollar sign (not a hyphen), so the echo should work correctly.
15187 lt_compile
=`echo "$ac_compile" | $SED \
15188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15190 -e 's:$: $lt_compiler_flag:'`
15191 (eval echo "\"\$as_me:15191: $lt_compile\"" >&5)
15192 (eval "$lt_compile" 2>out
/conftest.err
)
15194 cat out
/conftest.err
>&5
15195 echo "$as_me:15195: \$? = $ac_status" >&5
15196 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15198 # The compiler can only warn and ignore the option if not recognized
15199 # So say no if there are warnings
15200 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
15201 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15202 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15203 lt_cv_prog_compiler_c_o_CXX
=yes
15208 # SGI C++ compiler will create directory out/ii_files/ for
15209 # template instantiation
15210 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15211 $RM out
/* && rmdir out
15217 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15218 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
15223 hard_links
="nottested"
15224 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15225 # do not overwrite the value of need_locks provided by the user
15226 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15227 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15230 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15232 ln conftest.a conftest.b
2>&5 || hard_links
=no
15233 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15234 echo "$as_me:$LINENO: result: $hard_links" >&5
15235 echo "${ECHO_T}$hard_links" >&6
15236 if test "$hard_links" = no
; then
15237 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15238 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15247 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15248 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15250 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15253 # If we're using GNU nm, then we don't want the "-C" option.
15254 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15255 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15256 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'
15258 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'
15262 export_symbols_cmds_CXX
="$ltdll_cmds"
15264 cygwin
* | mingw
* | cegcc
*)
15265 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'
15268 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15271 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15273 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15274 echo "${ECHO_T}$ld_shlibs_CXX" >&6
15275 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15277 with_gnu_ld_CXX
=$with_gnu_ld
15285 # Do we need to explicitly link libc?
15287 case "x$archive_cmds_need_lc_CXX" in
15289 # Assume -lc should be added
15290 archive_cmds_need_lc_CXX
=yes
15292 if test "$enable_shared" = yes && test "$GCC" = yes; then
15293 case $archive_cmds_CXX in
15295 # FIXME: we may have to deal with multi-command sequences.
15298 # Test whether the compiler implicitly links with -lc since on some
15299 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15300 # to ld, don't add -lc before -lgcc.
15301 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15302 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
15303 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15307 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15310 (eval $ac_compile) 2>&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } 2>conftest.err
; then
15316 libobjs
=conftest.
$ac_objext
15318 wl
=$lt_prog_compiler_wl_CXX
15319 pic_flag
=$lt_prog_compiler_pic_CXX
15325 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15326 allow_undefined_flag_CXX
=
15327 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15328 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }
15333 lt_cv_archive_cmds_need_lc_CXX
=no
15335 lt_cv_archive_cmds_need_lc_CXX
=yes
15337 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15339 cat conftest.err
1>&5
15344 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15345 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
15346 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15416 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15417 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
15419 library_names_spec
=
15420 libname_spec
='lib$name'
15424 postuninstall_cmds
=
15428 shlibpath_overrides_runpath
=unknown
15430 dynamic_linker
="$host_os ld.so"
15431 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15432 need_lib_prefix
=unknown
15433 hardcode_into_libs
=no
15435 # when you set need_version to no, make sure it does not cause -set_version
15436 # flags to be left without arguments
15437 need_version
=unknown
15442 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15443 shlibpath_var
=LIBPATH
15445 # AIX 3 has no versioning support, so we append a major version to the name.
15446 soname_spec
='${libname}${release}${shared_ext}$major'
15453 hardcode_into_libs
=yes
15454 if test "$host_cpu" = ia64
; then
15455 # AIX 5 supports IA64
15456 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15457 shlibpath_var
=LD_LIBRARY_PATH
15459 # With GCC up to 2.95.x, collect2 would create an import file
15460 # for dependence libraries. The import file would start with
15461 # the line `#! .'. This would cause the generated library to
15462 # depend on `.', always an invalid library. This was fixed in
15463 # development snapshots of GCC prior to 3.0.
15465 aix4 | aix4.
[01] | aix4.
[01].
*)
15466 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15468 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15471 can_build_shared
=no
15475 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15476 # soname into executable. Probably we can add versioning support to
15477 # collect2, so additional links can be useful in future.
15478 if test "$aix_use_runtimelinking" = yes; then
15479 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15480 # instead of lib<name>.a to let people know that these are not
15481 # typical AIX shared libraries.
15482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15484 # We preserve .a as extension for shared libraries through AIX4.2
15485 # and later when we are not doing run time linking.
15486 library_names_spec
='${libname}${release}.a $libname.a'
15487 soname_spec
='${libname}${release}${shared_ext}$major'
15489 shlibpath_var
=LIBPATH
15496 # Since July 2007 AmigaOS4 officially supports .so libraries.
15497 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15501 library_names_spec
='$libname.ixlibrary $libname.a'
15502 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15503 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'
15509 library_names_spec
='${libname}${shared_ext}'
15510 dynamic_linker
="$host_os ld.so"
15511 shlibpath_var
=LIBRARY_PATH
15517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15518 soname_spec
='${libname}${release}${shared_ext}$major'
15519 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15520 shlibpath_var
=LD_LIBRARY_PATH
15521 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15522 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15523 # the default ld.so.conf also contains /usr/contrib/lib and
15524 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15525 # libtool to hard-code these into programs
15528 cygwin
* | mingw
* | pw32
* | cegcc
*)
15529 version_type
=windows
15534 case $GCC,$host_os in
15535 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15536 library_names_spec
='$libname.dll.a'
15537 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15538 postinstall_cmds
='base_file=`basename \${file}`~
15539 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15540 dldir=$destdir/`dirname \$dlpath`~
15541 test -d \$dldir || mkdir -p \$dldir~
15542 $install_prog $dir/$dlname \$dldir/$dlname~
15543 chmod a+x \$dldir/$dlname~
15544 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15545 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15547 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15548 dlpath=$dir/\$dldll~
15550 shlibpath_overrides_runpath
=yes
15554 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15555 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15556 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15559 # MinGW DLLs use traditional 'lib' prefix
15560 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15561 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15562 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15563 # It is most probably a Windows format PATH printed by
15564 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15565 # path with ; separators, and with drive letters. We can handle the
15566 # drive letters (cygwin fileutils understands them), so leave them,
15567 # especially as we might pass files found there to a mingw objdump,
15568 # which wouldn't understand a cygwinified path. Ahh.
15569 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15571 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15575 # pw32 DLLs use 'pw' prefix rather than 'lib'
15576 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15582 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15585 dynamic_linker
='Win32 ld.exe'
15586 # FIXME: first we should search . and the directory the executable is in
15590 darwin
* | rhapsody
*)
15591 dynamic_linker
="$host_os dyld"
15592 version_type
=darwin
15595 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15596 soname_spec
='${libname}${release}${major}$shared_ext'
15597 shlibpath_overrides_runpath
=yes
15598 shlibpath_var
=DYLD_LIBRARY_PATH
15599 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15601 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15609 soname_spec
='${libname}${release}${shared_ext}$major'
15610 shlibpath_var
=LD_LIBRARY_PATH
15617 freebsd
* | dragonfly
*)
15618 # DragonFly does not have aout. When/if they implement a new
15619 # versioning mechanism, adjust this.
15620 if test -x /usr
/bin
/objformat
; then
15621 objformat
=`/usr/bin/objformat`
15624 freebsd
[123]*) objformat
=aout
;;
15625 *) objformat
=elf
;;
15628 version_type
=freebsd-
$objformat
15629 case $version_type in
15631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15636 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15640 shlibpath_var
=LD_LIBRARY_PATH
15643 shlibpath_overrides_runpath
=yes
15645 freebsd3.
[01]* | freebsdelf3.
[01]*)
15646 shlibpath_overrides_runpath
=yes
15647 hardcode_into_libs
=yes
15649 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15650 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15651 shlibpath_overrides_runpath
=no
15652 hardcode_into_libs
=yes
15654 *) # from 4.6 on, and DragonFly
15655 shlibpath_overrides_runpath
=yes
15656 hardcode_into_libs
=yes
15665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15666 soname_spec
='${libname}${release}${shared_ext}$major'
15667 shlibpath_var
=LD_LIBRARY_PATH
15668 hardcode_into_libs
=yes
15671 hpux9
* | hpux10
* | hpux11
*)
15672 # Give a soname corresponding to the major version so that dld.sl refuses to
15673 # link against other versions.
15680 hardcode_into_libs
=yes
15681 dynamic_linker
="$host_os dld.so"
15682 shlibpath_var
=LD_LIBRARY_PATH
15683 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15685 soname_spec
='${libname}${release}${shared_ext}$major'
15686 if test "X$HPUX_IA64_MODE" = X32
; then
15687 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15689 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15691 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15695 hardcode_into_libs
=yes
15696 dynamic_linker
="$host_os dld.sl"
15697 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15698 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15700 soname_spec
='${libname}${release}${shared_ext}$major'
15701 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15702 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15706 dynamic_linker
="$host_os dld.sl"
15707 shlibpath_var
=SHLIB_PATH
15708 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15709 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15710 soname_spec
='${libname}${release}${shared_ext}$major'
15713 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15714 postinstall_cmds
='chmod 555 $lib'
15721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15722 soname_spec
='${libname}${release}${shared_ext}$major'
15723 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15724 shlibpath_var
=LD_LIBRARY_PATH
15725 shlibpath_overrides_runpath
=no
15726 hardcode_into_libs
=yes
15729 irix5
* | irix6
* | nonstopux
*)
15731 nonstopux
*) version_type
=nonstopux
;;
15733 if test "$lt_cv_prog_gnu_ld" = yes; then
15741 soname_spec
='${libname}${release}${shared_ext}$major'
15742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15744 irix5
* | nonstopux
*)
15745 libsuff
= shlibsuff
=
15748 case $LD in # libtool.m4 will add one of these switches to LD
15749 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15750 libsuff
= shlibsuff
= libmagic
=32-bit;;
15751 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15752 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15753 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15754 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15755 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15759 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15760 shlibpath_overrides_runpath
=no
15761 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15762 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15763 hardcode_into_libs
=yes
15766 # No shared lib support for Linux oldld, aout, or coff.
15767 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15771 # This must be Linux ELF.
15772 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15776 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15777 soname_spec
='${libname}${release}${shared_ext}$major'
15778 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15779 shlibpath_var
=LD_LIBRARY_PATH
15780 shlibpath_overrides_runpath
=no
15782 # Some binutils ld are patched to set DT_RUNPATH
15783 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
15784 echo $ECHO_N "(cached) $ECHO_C" >&6
15786 lt_cv_shlibpath_overrides_runpath
=no
15787 save_LDFLAGS
=$LDFLAGS
15788 save_libdir
=$libdir
15789 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15790 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15791 if test x
$gcc_no_link = xyes
; then
15792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15794 { (exit 1); exit 1; }; }
15796 cat >conftest.
$ac_ext <<_ACEOF
15799 cat confdefs.h
>>conftest.
$ac_ext
15800 cat >>conftest.
$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15811 rm -f conftest.
$ac_objext conftest
$ac_exeext
15812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15813 (eval $ac_link) 2>conftest.er1
15815 grep -v '^ *+' conftest.er1
>conftest.err
15817 cat conftest.err
>&5
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try
='test -z "$ac_cxx_werror_flag"
15821 || test ! -s conftest.err'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; } &&
15827 { ac_try
='test -s conftest$ac_exeext'
15828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15829 (eval $ac_try) 2>&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); }; }; then
15833 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
15834 lt_cv_shlibpath_overrides_runpath
=yes
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.
$ac_ext >&5
15842 rm -f conftest.err conftest.
$ac_objext \
15843 conftest
$ac_exeext conftest.
$ac_ext
15844 LDFLAGS
=$save_LDFLAGS
15845 libdir
=$save_libdir
15849 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15851 # This implies no fast_install, which is unacceptable.
15852 # Some rework will be needed to allow for fast_install
15853 # before this can be enabled.
15854 hardcode_into_libs
=yes
15856 # Append ld.so.conf contents to the search path
15857 if test -f /etc
/ld.so.conf
; then
15858 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15859 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15862 # We used to test for /lib/ld.so.1 and disable shared libraries on
15863 # powerpc, because MkLinux only supported shared libraries with the
15864 # GNU dynamic linker. Since this was broken with cross compilers,
15865 # most powerpc-linux boxes support dynamic linking these days and
15866 # people can always --disable-shared, the test was removed, and we
15867 # assume the GNU/Linux dynamic linker is in use.
15868 dynamic_linker
='GNU/Linux ld.so'
15875 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15877 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15878 dynamic_linker
='NetBSD (a.out) ld.so'
15880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15881 soname_spec
='${libname}${release}${shared_ext}$major'
15882 dynamic_linker
='NetBSD ld.elf_so'
15884 shlibpath_var
=LD_LIBRARY_PATH
15885 shlibpath_overrides_runpath
=yes
15886 hardcode_into_libs
=yes
15891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15892 shlibpath_var
=LD_LIBRARY_PATH
15893 shlibpath_overrides_runpath
=yes
15900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15901 soname_spec
='${libname}${release}${shared_ext}$major'
15902 shlibpath_var
=LD_LIBRARY_PATH
15903 shlibpath_overrides_runpath
=no
15904 hardcode_into_libs
=yes
15905 dynamic_linker
='ldqnx.so'
15910 sys_lib_dlsearch_path_spec
="/usr/lib"
15912 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15914 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15915 *) need_version
=no
;;
15917 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15918 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15919 shlibpath_var
=LD_LIBRARY_PATH
15920 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15922 openbsd2.
[89] | openbsd2.
[89].
*)
15923 shlibpath_overrides_runpath
=no
15926 shlibpath_overrides_runpath
=yes
15930 shlibpath_overrides_runpath
=yes
15935 libname_spec
='$name'
15938 library_names_spec
='$libname${shared_ext} $libname.a'
15939 dynamic_linker
='OS/2 ld.exe'
15940 shlibpath_var
=LIBPATH
15943 osf3
* | osf4
* | osf5
*)
15947 soname_spec
='${libname}${release}${shared_ext}$major'
15948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15949 shlibpath_var
=LD_LIBRARY_PATH
15950 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15951 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15962 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15963 soname_spec
='${libname}${release}${shared_ext}$major'
15964 shlibpath_var
=LD_LIBRARY_PATH
15965 shlibpath_overrides_runpath
=yes
15966 hardcode_into_libs
=yes
15967 # ldd complains unless libraries are executable
15968 postinstall_cmds
='chmod +x $lib'
15973 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15974 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15975 shlibpath_var
=LD_LIBRARY_PATH
15976 shlibpath_overrides_runpath
=yes
15977 if test "$with_gnu_ld" = yes; then
15985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15986 soname_spec
='${libname}${release}${shared_ext}$major'
15987 shlibpath_var
=LD_LIBRARY_PATH
15988 case $host_vendor in
15990 shlibpath_overrides_runpath
=no
15992 runpath_var
=LD_RUN_PATH
16000 shlibpath_overrides_runpath
=no
16001 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16007 if test -d /usr
/nec
;then
16009 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16010 soname_spec
='$libname${shared_ext}.$major'
16011 shlibpath_var
=LD_LIBRARY_PATH
16015 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16016 version_type
=freebsd-elf
16019 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16020 soname_spec
='${libname}${release}${shared_ext}$major'
16021 shlibpath_var
=LD_LIBRARY_PATH
16022 shlibpath_overrides_runpath
=yes
16023 hardcode_into_libs
=yes
16024 if test "$with_gnu_ld" = yes; then
16025 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16027 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16030 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16034 sys_lib_dlsearch_path_spec
='/usr/lib'
16038 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16042 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16043 shlibpath_var
=LD_LIBRARY_PATH
16044 shlibpath_overrides_runpath
=no
16045 hardcode_into_libs
=yes
16050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16051 soname_spec
='${libname}${release}${shared_ext}$major'
16052 shlibpath_var
=LD_LIBRARY_PATH
16059 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16060 echo "${ECHO_T}$dynamic_linker" >&6
16061 test "$dynamic_linker" = no
&& can_build_shared
=no
16063 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16064 if test "$GCC" = yes; then
16065 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16068 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16069 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16071 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16072 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16110 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16111 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16112 hardcode_action_CXX
=
16113 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16114 test -n "$runpath_var_CXX" ||
16115 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16117 # We can hardcode non-existent directories.
16118 if test "$hardcode_direct_CXX" != no
&&
16119 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16120 # have to relink, otherwise we might link with an installed library
16121 # when we should be linking with a yet-to-be-installed one
16122 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16123 test "$hardcode_minus_L_CXX" != no
; then
16124 # Linking always hardcodes the temporary library directory.
16125 hardcode_action_CXX
=relink
16127 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16128 hardcode_action_CXX
=immediate
16131 # We cannot hardcode anything, or else we can only hardcode existing
16133 hardcode_action_CXX
=unsupported
16135 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
16136 echo "${ECHO_T}$hardcode_action_CXX" >&6
16138 if test "$hardcode_action_CXX" = relink ||
16139 test "$inherit_rpath_CXX" = yes; then
16140 # Fast installation is not supported
16141 enable_fast_install
=no
16142 elif test "$shlibpath_overrides_runpath" = yes ||
16143 test "$enable_shared" = no
; then
16144 # Fast installation is not necessary
16145 enable_fast_install
=needless
16154 fi # test -n "$compiler"
16160 with_gnu_ld
=$lt_save_with_gnu_ld
16161 lt_cv_path_LDCXX
=$lt_cv_path_LD
16162 lt_cv_path_LD
=$lt_save_path_LD
16163 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16164 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16165 fi # test "$_lt_caught_CXX_error" != yes
16168 ac_cpp
='$CPP $CPPFLAGS'
16169 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16170 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16171 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16185 ac_config_commands
="$ac_config_commands libtool"
16190 # Only expand once:
16196 # Extract the first word of "$ac_prog", so it can be a program name with args.
16197 set dummy
$ac_prog; ac_word
=$2
16198 echo "$as_me:$LINENO: checking for $ac_word" >&5
16199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16200 if test "${ac_cv_prog_GCJ+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16203 if test -n "$GCJ"; then
16204 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16207 for as_dir
in $PATH
16210 test -z "$as_dir" && as_dir
=.
16211 for ac_exec_ext
in '' $ac_executable_extensions; do
16212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16213 ac_cv_prog_GCJ
="$ac_prog"
16214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16222 GCJ
=$ac_cv_prog_GCJ
16223 if test -n "$GCJ"; then
16224 echo "$as_me:$LINENO: result: $GCJ" >&5
16225 echo "${ECHO_T}$GCJ" >&6
16227 echo "$as_me:$LINENO: result: no" >&5
16228 echo "${ECHO_T}no" >&6
16231 test -n "$GCJ" && break
16233 test -n "$GCJ" || GCJ
="gcj"
16235 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
16236 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
16237 { (exit 1); exit 1; }; }
16238 if test "x${GCJFLAGS-unset}" = xunset
; then
16243 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16245 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
16246 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
16247 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
16248 echo $ECHO_N "(cached) $ECHO_C" >&6
16250 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16251 # We make a subdir and do the tests there. Otherwise we can end up
16252 # making bogus files that we don't know about and never remove. For
16253 # instance it was reported that on HP-UX the gcc test will end up
16254 # making a dummy file named `D' -- because `-MD' means `put the output
16257 # Copy depcomp to subdir because otherwise we won't find it if we're
16258 # using a relative directory.
16259 cp "$am_depcomp" conftest.dir
16261 # We will build objects and dependencies in a subdirectory because
16262 # it helps to detect inapplicable dependency modes. For instance
16263 # both Tru64's cc and ICC support -MD to output dependencies as a
16264 # side effect of compilation, but ICC will put the dependencies in
16265 # the current directory while Tru64 will put them in the object
16269 am_cv_GCJ_dependencies_compiler_type
=none
16270 if test "$am_compiler_list" = ""; then
16271 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16273 for depmode
in $am_compiler_list; do
16274 # Setup a source with many dependencies, because some compilers
16275 # like to wrap large dependency lists on column 80 (with \), and
16276 # we should not choose a depcomp mode which is confused by this.
16278 # We need to recreate these files for each test, as the compiler may
16279 # overwrite some of them when testing with obscure command lines.
16280 # This happens at least with the AIX C compiler.
16282 for i
in 1 2 3 4 5 6; do
16283 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16284 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16285 # Solaris 8's {/usr,}/bin/sh.
16286 touch sub
/conftst
$i.h
16288 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16292 # after this tag, mechanisms are not by side-effect, so they'll
16293 # only be used when explicitly requested
16294 if test "x$enable_dependency_tracking" = xyes
; then
16302 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16303 # mode. It turns out that the SunPro C++ compiler does not properly
16304 # handle `-M -o', and we need to detect this.
16305 if depmode
=$depmode \
16306 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
16307 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16308 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
16309 >/dev
/null
2>conftest.err
&&
16310 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16311 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
16312 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16313 # icc doesn't choke on unknown options, it will just issue warnings
16314 # or remarks (even with -Werror). So we grep stderr for any message
16315 # that says an option was ignored or not supported.
16316 # When given -MP, icc 7.0 and 7.1 complain thusly:
16317 # icc: Command line warning: ignoring option '-M'; no argument required
16318 # The diagnosis changed in icc 8.0:
16319 # icc: Command line remark: option '-MP' not supported
16320 if (grep 'ignoring option' conftest.err ||
16321 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16322 am_cv_GCJ_dependencies_compiler_type
=$depmode
16329 rm -rf conftest.dir
16331 am_cv_GCJ_dependencies_compiler_type
=none
16335 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
16336 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
16337 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
16342 test "x$enable_dependency_tracking" != xno \
16343 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
16344 am__fastdepGCJ_TRUE
=
16345 am__fastdepGCJ_FALSE
='#'
16347 am__fastdepGCJ_TRUE
='#'
16348 am__fastdepGCJ_FALSE
=
16355 # Extract the first word of "$ac_prog", so it can be a program name with args.
16356 set dummy
$ac_prog; ac_word
=$2
16357 echo "$as_me:$LINENO: checking for $ac_word" >&5
16358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16359 if test "${ac_cv_prog_GCJ+set}" = set; then
16360 echo $ECHO_N "(cached) $ECHO_C" >&6
16362 if test -n "$GCJ"; then
16363 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16366 for as_dir
in $PATH
16369 test -z "$as_dir" && as_dir
=.
16370 for ac_exec_ext
in '' $ac_executable_extensions; do
16371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16372 ac_cv_prog_GCJ
="$ac_prog"
16373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16381 GCJ
=$ac_cv_prog_GCJ
16382 if test -n "$GCJ"; then
16383 echo "$as_me:$LINENO: result: $GCJ" >&5
16384 echo "${ECHO_T}$GCJ" >&6
16386 echo "$as_me:$LINENO: result: no" >&5
16387 echo "${ECHO_T}no" >&6
16390 test -n "$GCJ" && break
16392 test -n "$GCJ" || GCJ
="gcj"
16394 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
16395 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
16396 { (exit 1); exit 1; }; }
16397 if test "x${GCJFLAGS-unset}" = xunset
; then
16402 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16404 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
16405 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
16406 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
16407 echo $ECHO_N "(cached) $ECHO_C" >&6
16409 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16410 # We make a subdir and do the tests there. Otherwise we can end up
16411 # making bogus files that we don't know about and never remove. For
16412 # instance it was reported that on HP-UX the gcc test will end up
16413 # making a dummy file named `D' -- because `-MD' means `put the output
16416 # Copy depcomp to subdir because otherwise we won't find it if we're
16417 # using a relative directory.
16418 cp "$am_depcomp" conftest.dir
16420 # We will build objects and dependencies in a subdirectory because
16421 # it helps to detect inapplicable dependency modes. For instance
16422 # both Tru64's cc and ICC support -MD to output dependencies as a
16423 # side effect of compilation, but ICC will put the dependencies in
16424 # the current directory while Tru64 will put them in the object
16428 am_cv_GCJ_dependencies_compiler_type
=none
16429 if test "$am_compiler_list" = ""; then
16430 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16432 for depmode
in $am_compiler_list; do
16433 # Setup a source with many dependencies, because some compilers
16434 # like to wrap large dependency lists on column 80 (with \), and
16435 # we should not choose a depcomp mode which is confused by this.
16437 # We need to recreate these files for each test, as the compiler may
16438 # overwrite some of them when testing with obscure command lines.
16439 # This happens at least with the AIX C compiler.
16441 for i
in 1 2 3 4 5 6; do
16442 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16443 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16444 # Solaris 8's {/usr,}/bin/sh.
16445 touch sub
/conftst
$i.h
16447 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16451 # after this tag, mechanisms are not by side-effect, so they'll
16452 # only be used when explicitly requested
16453 if test "x$enable_dependency_tracking" = xyes
; then
16461 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16462 # mode. It turns out that the SunPro C++ compiler does not properly
16463 # handle `-M -o', and we need to detect this.
16464 if depmode
=$depmode \
16465 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
16466 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16467 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
16468 >/dev
/null
2>conftest.err
&&
16469 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16470 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
16471 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16472 # icc doesn't choke on unknown options, it will just issue warnings
16473 # or remarks (even with -Werror). So we grep stderr for any message
16474 # that says an option was ignored or not supported.
16475 # When given -MP, icc 7.0 and 7.1 complain thusly:
16476 # icc: Command line warning: ignoring option '-M'; no argument required
16477 # The diagnosis changed in icc 8.0:
16478 # icc: Command line remark: option '-MP' not supported
16479 if (grep 'ignoring option' conftest.err ||
16480 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16481 am_cv_GCJ_dependencies_compiler_type
=$depmode
16488 rm -rf conftest.dir
16490 am_cv_GCJ_dependencies_compiler_type
=none
16494 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
16495 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
16496 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
16501 test "x$enable_dependency_tracking" != xno \
16502 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
16503 am__fastdepGCJ_TRUE
=
16504 am__fastdepGCJ_FALSE
='#'
16506 am__fastdepGCJ_TRUE
='#'
16507 am__fastdepGCJ_FALSE
=
16515 # Source file extension for Java test sources.
16518 # Object file extension for compiled Java test sources.
16522 # Code to be used in simple compile tests
16523 lt_simple_compile_test_code
="int some_variable = 0;"
16525 # Code to be used in simple link tests
16526 lt_simple_link_test_code
='int main(){return(0);}'
16528 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16535 # If no C compiler was specified, use CC.
16538 # If no C compiler flags were specified, use CFLAGS.
16539 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16541 # Allow CC to be a program name with arguments.
16545 # save warnings/boilerplate of simple test code
16546 ac_outfile
=conftest.
$ac_objext
16547 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16548 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16549 _lt_compiler_boilerplate
=`cat conftest.err`
16552 ac_outfile
=conftest.
$ac_objext
16553 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16554 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16555 _lt_linker_boilerplate
=`cat conftest.err`
16559 # Allow CC to be a program name with arguments.
16563 for cc_temp
in $compiler""; do
16565 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16566 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16571 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16574 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16575 archive_cmds_need_lc_GCJ
=no
16577 old_archive_cmds_GCJ
=$old_archive_cmds
16580 ## There is no encapsulation within the following macros, do not change
16581 ## the running order or otherwise move them around unless you know exactly
16582 ## what you are doing...
16583 if test -n "$compiler"; then
16585 lt_prog_compiler_no_builtin_flag_GCJ
=
16587 if test "$GCC" = yes; then
16588 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16590 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16591 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
16592 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 lt_cv_prog_compiler_rtti_exceptions
=no
16596 ac_outfile
=conftest.
$ac_objext
16597 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16598 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16599 # Insert the option either (1) after the last *FLAGS variable, or
16600 # (2) before a word containing "conftest.", or (3) at the end.
16601 # Note that $ac_compile itself does not contain backslashes and begins
16602 # with a dollar sign (not a hyphen), so the echo should work correctly.
16603 # The option is referenced via a variable to avoid confusing sed.
16604 lt_compile
=`echo "$ac_compile" | $SED \
16605 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16606 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16607 -e 's:$: $lt_compiler_flag:'`
16608 (eval echo "\"\$as_me:16608: $lt_compile\"" >&5)
16609 (eval "$lt_compile" 2>conftest.err
)
16611 cat conftest.err
>&5
16612 echo "$as_me:16612: \$? = $ac_status" >&5
16613 if (exit $ac_status) && test -s "$ac_outfile"; then
16614 # The compiler can only warn and ignore the option if not recognized
16615 # So say no if there are warnings other than the usual output.
16616 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16617 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16618 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16619 lt_cv_prog_compiler_rtti_exceptions
=yes
16625 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16626 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
16628 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16629 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16638 lt_prog_compiler_wl_GCJ
=
16639 lt_prog_compiler_pic_GCJ
=
16640 lt_prog_compiler_static_GCJ
=
16642 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16643 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
16645 if test "$GCC" = yes; then
16646 lt_prog_compiler_wl_GCJ
='-Wl,'
16647 lt_prog_compiler_static_GCJ
='-static'
16651 # All AIX code is PIC.
16652 if test "$host_cpu" = ia64
; then
16653 # AIX 5 now supports IA64 processor
16654 lt_prog_compiler_static_GCJ
='-Bstatic'
16661 # see comment about AmigaOS4 .so support
16662 lt_prog_compiler_pic_GCJ
='-fPIC'
16665 # FIXME: we need at least 68020 code to build shared libraries, but
16666 # adding the `-m68020' flag to GCC prevents building anything better,
16668 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16673 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16674 # PIC is the default for these OSes.
16677 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
16678 # This hack is so that the source file can tell whether it is being
16679 # built for inclusion in a dll (and should export symbols for example).
16680 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16681 # (--disable-auto-import) libraries
16685 darwin
* | rhapsody
*)
16686 # PIC is the default on this platform
16687 # Common symbols not allowed in MH_DYLIB files
16688 lt_prog_compiler_pic_GCJ
='-fno-common'
16692 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16693 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16694 # sets the default TLS model and affects inlining.
16700 lt_prog_compiler_pic_GCJ
='-fPIC'
16706 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16707 # Instead, we relocate shared libraries at runtime.
16711 # Just because we use GCC doesn't mean we suddenly get shared libraries
16712 # on systems that don't support them.
16713 lt_prog_compiler_can_build_shared_GCJ
=no
16718 # QNX uses GNU C++, but need to define -shared option too, otherwise
16719 # it will coredump.
16720 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
16724 if test -d /usr
/nec
; then
16725 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16730 lt_prog_compiler_pic_GCJ
='-fPIC'
16734 # PORTME Check for flag to pass linker flags through the system compiler.
16737 lt_prog_compiler_wl_GCJ
='-Wl,'
16738 if test "$host_cpu" = ia64
; then
16739 # AIX 5 now supports IA64 processor
16740 lt_prog_compiler_static_GCJ
='-Bstatic'
16742 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16746 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
16747 # This hack is so that the source file can tell whether it is being
16748 # built for inclusion in a dll (and should export symbols for example).
16752 hpux9
* | hpux10
* | hpux11
*)
16753 lt_prog_compiler_wl_GCJ
='-Wl,'
16754 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16755 # not for PA HP-UX.
16761 lt_prog_compiler_pic_GCJ
='+Z'
16764 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16765 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16768 irix5
* | irix6
* | nonstopux
*)
16769 lt_prog_compiler_wl_GCJ
='-Wl,'
16770 # PIC (with -KPIC) is the default.
16771 lt_prog_compiler_static_GCJ
='-non_shared'
16774 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16775 case $cc_basename in
16776 # old Intel for x86_64 which still supported -KPIC.
16778 lt_prog_compiler_wl_GCJ
='-Wl,'
16779 lt_prog_compiler_pic_GCJ
='-KPIC'
16780 lt_prog_compiler_static_GCJ
='-static'
16782 # icc used to be incompatible with GCC.
16783 # ICC 10 doesn't accept -KPIC any more.
16785 lt_prog_compiler_wl_GCJ
='-Wl,'
16786 lt_prog_compiler_pic_GCJ
='-fPIC'
16787 lt_prog_compiler_static_GCJ
='-static'
16789 # Lahey Fortran 8.1.
16791 lt_prog_compiler_wl_GCJ
='-Wl,'
16792 lt_prog_compiler_pic_GCJ
='--shared'
16793 lt_prog_compiler_static_GCJ
='--static'
16795 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
16796 # Portland Group compilers (*not* the Pentium gcc compiler,
16797 # which looks to be a dead project)
16798 lt_prog_compiler_wl_GCJ
='-Wl,'
16799 lt_prog_compiler_pic_GCJ
='-fpic'
16800 lt_prog_compiler_static_GCJ
='-Bstatic'
16803 lt_prog_compiler_wl_GCJ
='-Wl,'
16804 # All Alpha code is PIC.
16805 lt_prog_compiler_static_GCJ
='-non_shared'
16808 # IBM XL C 8.0/Fortran 10.1 on PPC
16809 lt_prog_compiler_wl_GCJ
='-Wl,'
16810 lt_prog_compiler_pic_GCJ
='-qpic'
16811 lt_prog_compiler_static_GCJ
='-qstaticlink'
16814 case `$CC -V 2>&1 | sed 5q` in
16817 lt_prog_compiler_pic_GCJ
='-KPIC'
16818 lt_prog_compiler_static_GCJ
='-Bstatic'
16819 lt_prog_compiler_wl_GCJ
='-Wl,'
16822 # Sun Fortran 8.3 passes all unrecognized flags to the linker
16823 lt_prog_compiler_pic_GCJ
='-KPIC'
16824 lt_prog_compiler_static_GCJ
='-Bstatic'
16825 lt_prog_compiler_wl_GCJ
=''
16833 lt_prog_compiler_pic_GCJ
='-KPIC'
16834 lt_prog_compiler_static_GCJ
='-Bstatic'
16838 # QNX uses GNU C++, but need to define -shared option too, otherwise
16839 # it will coredump.
16840 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
16843 osf3
* | osf4
* | osf5
*)
16844 lt_prog_compiler_wl_GCJ
='-Wl,'
16845 # All OSF/1 code is PIC.
16846 lt_prog_compiler_static_GCJ
='-non_shared'
16850 lt_prog_compiler_static_GCJ
='-non_shared'
16854 lt_prog_compiler_pic_GCJ
='-KPIC'
16855 lt_prog_compiler_static_GCJ
='-Bstatic'
16856 case $cc_basename in
16857 f77
* | f90
* | f95
*)
16858 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
16860 lt_prog_compiler_wl_GCJ
='-Wl,';;
16865 lt_prog_compiler_wl_GCJ
='-Qoption ld '
16866 lt_prog_compiler_pic_GCJ
='-PIC'
16867 lt_prog_compiler_static_GCJ
='-Bstatic'
16870 sysv4 | sysv4.2uw2
* | sysv4.3
*)
16871 lt_prog_compiler_wl_GCJ
='-Wl,'
16872 lt_prog_compiler_pic_GCJ
='-KPIC'
16873 lt_prog_compiler_static_GCJ
='-Bstatic'
16877 if test -d /usr
/nec
;then
16878 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
16879 lt_prog_compiler_static_GCJ
='-Bstatic'
16883 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
16884 lt_prog_compiler_wl_GCJ
='-Wl,'
16885 lt_prog_compiler_pic_GCJ
='-KPIC'
16886 lt_prog_compiler_static_GCJ
='-Bstatic'
16890 lt_prog_compiler_wl_GCJ
='-Wl,'
16891 lt_prog_compiler_can_build_shared_GCJ
=no
16895 lt_prog_compiler_pic_GCJ
='-pic'
16896 lt_prog_compiler_static_GCJ
='-Bstatic'
16900 lt_prog_compiler_can_build_shared_GCJ
=no
16906 # For platforms which do not support PIC, -DPIC is meaningless:
16908 lt_prog_compiler_pic_GCJ
=
16911 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
16914 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16915 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
16920 # Check to make sure the PIC flag actually works.
16922 if test -n "$lt_prog_compiler_pic_GCJ"; then
16923 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16924 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
16925 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
16926 echo $ECHO_N "(cached) $ECHO_C" >&6
16928 lt_cv_prog_compiler_pic_works_GCJ
=no
16929 ac_outfile
=conftest.
$ac_objext
16930 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16931 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
16932 # Insert the option either (1) after the last *FLAGS variable, or
16933 # (2) before a word containing "conftest.", or (3) at the end.
16934 # Note that $ac_compile itself does not contain backslashes and begins
16935 # with a dollar sign (not a hyphen), so the echo should work correctly.
16936 # The option is referenced via a variable to avoid confusing sed.
16937 lt_compile
=`echo "$ac_compile" | $SED \
16938 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16939 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16940 -e 's:$: $lt_compiler_flag:'`
16941 (eval echo "\"\$as_me:16941: $lt_compile\"" >&5)
16942 (eval "$lt_compile" 2>conftest.err
)
16944 cat conftest.err
>&5
16945 echo "$as_me:16945: \$? = $ac_status" >&5
16946 if (exit $ac_status) && test -s "$ac_outfile"; then
16947 # The compiler can only warn and ignore the option if not recognized
16948 # So say no if there are warnings other than the usual output.
16949 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16950 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16951 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16952 lt_cv_prog_compiler_pic_works_GCJ
=yes
16958 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
16959 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6
16961 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
16962 case $lt_prog_compiler_pic_GCJ in
16964 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
16967 lt_prog_compiler_pic_GCJ
=
16968 lt_prog_compiler_can_build_shared_GCJ
=no
16976 # Check to make sure the static flag actually works.
16978 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
16979 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16980 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
16981 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
16982 echo $ECHO_N "(cached) $ECHO_C" >&6
16984 lt_cv_prog_compiler_static_works_GCJ
=no
16985 save_LDFLAGS
="$LDFLAGS"
16986 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
16987 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
16988 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
16989 # The linker can only warn and ignore the option if not recognized
16990 # So say no if there are warnings
16991 if test -s conftest.err
; then
16992 # Append any errors to the config.log.
16993 cat conftest.err
1>&5
16994 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
16995 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16996 if diff conftest.exp conftest.er2
>/dev
/null
; then
16997 lt_cv_prog_compiler_static_works_GCJ
=yes
17000 lt_cv_prog_compiler_static_works_GCJ
=yes
17004 LDFLAGS
="$save_LDFLAGS"
17007 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17008 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6
17010 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17013 lt_prog_compiler_static_GCJ
=
17019 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17020 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17021 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 lt_cv_prog_compiler_c_o_GCJ
=no
17025 $RM -r conftest
2>/dev
/null
17029 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17031 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17032 # Insert the option either (1) after the last *FLAGS variable, or
17033 # (2) before a word containing "conftest.", or (3) at the end.
17034 # Note that $ac_compile itself does not contain backslashes and begins
17035 # with a dollar sign (not a hyphen), so the echo should work correctly.
17036 lt_compile
=`echo "$ac_compile" | $SED \
17037 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17038 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17039 -e 's:$: $lt_compiler_flag:'`
17040 (eval echo "\"\$as_me:17040: $lt_compile\"" >&5)
17041 (eval "$lt_compile" 2>out
/conftest.err
)
17043 cat out
/conftest.err
>&5
17044 echo "$as_me:17044: \$? = $ac_status" >&5
17045 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17047 # The compiler can only warn and ignore the option if not recognized
17048 # So say no if there are warnings
17049 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17050 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17051 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17052 lt_cv_prog_compiler_c_o_GCJ
=yes
17057 # SGI C++ compiler will create directory out/ii_files/ for
17058 # template instantiation
17059 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17060 $RM out
/* && rmdir out
17066 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17067 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17071 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17072 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
17073 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 lt_cv_prog_compiler_c_o_GCJ
=no
17077 $RM -r conftest
2>/dev
/null
17081 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17083 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17084 # Insert the option either (1) after the last *FLAGS variable, or
17085 # (2) before a word containing "conftest.", or (3) at the end.
17086 # Note that $ac_compile itself does not contain backslashes and begins
17087 # with a dollar sign (not a hyphen), so the echo should work correctly.
17088 lt_compile
=`echo "$ac_compile" | $SED \
17089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17091 -e 's:$: $lt_compiler_flag:'`
17092 (eval echo "\"\$as_me:17092: $lt_compile\"" >&5)
17093 (eval "$lt_compile" 2>out
/conftest.err
)
17095 cat out
/conftest.err
>&5
17096 echo "$as_me:17096: \$? = $ac_status" >&5
17097 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17099 # The compiler can only warn and ignore the option if not recognized
17100 # So say no if there are warnings
17101 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17102 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17103 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17104 lt_cv_prog_compiler_c_o_GCJ
=yes
17109 # SGI C++ compiler will create directory out/ii_files/ for
17110 # template instantiation
17111 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17112 $RM out
/* && rmdir out
17118 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17119 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
17124 hard_links
="nottested"
17125 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17126 # do not overwrite the value of need_locks provided by the user
17127 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17128 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
17131 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17133 ln conftest.a conftest.b
2>&5 || hard_links
=no
17134 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17135 echo "$as_me:$LINENO: result: $hard_links" >&5
17136 echo "${ECHO_T}$hard_links" >&6
17137 if test "$hard_links" = no
; then
17138 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17139 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17148 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17149 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
17152 allow_undefined_flag_GCJ
=
17153 always_export_symbols_GCJ
=no
17155 archive_expsym_cmds_GCJ
=
17156 compiler_needs_object_GCJ
=no
17157 enable_shared_with_static_runtimes_GCJ
=no
17158 export_dynamic_flag_spec_GCJ
=
17159 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17160 hardcode_automatic_GCJ
=no
17161 hardcode_direct_GCJ
=no
17162 hardcode_direct_absolute_GCJ
=no
17163 hardcode_libdir_flag_spec_GCJ
=
17164 hardcode_libdir_flag_spec_ld_GCJ
=
17165 hardcode_libdir_separator_GCJ
=
17166 hardcode_minus_L_GCJ
=no
17167 hardcode_shlibpath_var_GCJ
=unsupported
17168 inherit_rpath_GCJ
=no
17169 link_all_deplibs_GCJ
=unknown
17171 module_expsym_cmds_GCJ
=
17172 old_archive_from_new_cmds_GCJ
=
17173 old_archive_from_expsyms_cmds_GCJ
=
17174 thread_safe_flag_spec_GCJ
=
17175 whole_archive_flag_spec_GCJ
=
17176 # include_expsyms should be a list of space-separated symbols to be *always*
17177 # included in the symbol list
17178 include_expsyms_GCJ
=
17179 # exclude_expsyms can be an extended regexp of symbols to exclude
17180 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17181 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17182 # as well as any symbol that contains `d'.
17183 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17184 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17185 # platforms (ab)use it in PIC code, but their linkers get confused if
17186 # the symbol is explicitly referenced. Since portable code cannot
17187 # rely on this symbol name, it's probably fine to never include it in
17188 # preloaded symbol tables.
17189 # Exclude shared library initialization/finalization symbols.
17190 extract_expsyms_cmds
=
17193 cygwin
* | mingw
* | pw32
* | cegcc
*)
17194 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17195 # When not using gcc, we currently assume that we are using
17196 # Microsoft Visual C++.
17197 if test "$GCC" != yes; then
17202 # we just hope/assume this is gcc and not c89 (= MSVC++)
17211 if test "$with_gnu_ld" = yes; then
17212 # If archive_cmds runs LD, not CC, wlarc should be empty
17215 # Set some defaults for GNU ld with shared library support. These
17216 # are reset later if shared libraries are not supported. Putting them
17217 # here allows them to be overridden if necessary.
17218 runpath_var
=LD_RUN_PATH
17219 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17220 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17221 # ancient GNU ld didn't support --whole-archive et. al.
17222 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
17223 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17225 whole_archive_flag_spec_GCJ
=
17227 supports_anon_versioning
=no
17228 case `$LD -v 2>&1` in
17229 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17230 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17231 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17232 *\
2.11.
*) ;; # other 2.11 versions
17233 *) supports_anon_versioning
=yes ;;
17236 # See if GNU ld supports shared libraries.
17239 # On AIX/PPC, the GNU linker is very broken
17240 if test "$host_cpu" != ia64
; then
17244 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17245 *** to be unable to reliably create shared libraries on AIX.
17246 *** Therefore, libtool is disabling shared libraries support. If you
17247 *** really care for shared libraries, you may want to modify your PATH
17248 *** so that a non-GNU linker is found, and then restart.
17257 # see comment about AmigaOS4 .so support
17258 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17259 archive_expsym_cmds_GCJ
=''
17262 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)'
17263 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17264 hardcode_minus_L_GCJ
=yes
17270 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17271 allow_undefined_flag_GCJ
=unsupported
17272 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17273 # support --undefined. This deserves some investigation. FIXME
17274 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17280 cygwin
* | mingw
* | pw32
* | cegcc
*)
17281 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17282 # as there is no search path for DLLs.
17283 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17284 allow_undefined_flag_GCJ
=unsupported
17285 always_export_symbols_GCJ
=no
17286 enable_shared_with_static_runtimes_GCJ
=yes
17287 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17289 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
17290 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17291 # If the export-symbols file already is a .def file (1st line
17292 # is EXPORTS), use it as is; otherwise, prepend...
17293 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17294 cp $export_symbols $output_objdir/$soname.def;
17296 echo EXPORTS > $output_objdir/$soname.def;
17297 cat $export_symbols >> $output_objdir/$soname.def;
17299 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17306 hardcode_direct_GCJ
=no
17307 hardcode_shlibpath_var_GCJ
=no
17308 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17309 export_dynamic_flag_spec_GCJ
='${wl}-E'
17310 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17311 # Instead, shared libraries are loaded at an image base (0x10000000 by
17312 # default) and relocated if they conflict, which is a slow very memory
17313 # consuming and fragmenting process. To avoid this, we pick a random,
17314 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17315 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17316 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'
17317 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'
17320 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17322 if test "$host_os" = linux-dietlibc
; then
17323 case $cc_basename in
17324 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
17327 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
17328 && test "$tmp_diet" = no
17331 tmp_sharedflag
='-shared'
17332 case $cc_basename,$host_cpu in
17333 pgcc
*) # Portland Group C compiler
17334 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'
17335 tmp_addflag
=' $pic_flag'
17337 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17338 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'
17339 tmp_addflag
=' $pic_flag -Mnomain' ;;
17340 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17341 tmp_addflag
=' -i_dynamic' ;;
17342 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17343 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17344 ifc
* | ifort
*) # Intel Fortran compiler
17345 tmp_addflag
=' -nofor_main' ;;
17346 lf95
*) # Lahey Fortran 8.1
17347 whole_archive_flag_spec_GCJ
=
17348 tmp_sharedflag
='--shared' ;;
17349 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
17350 tmp_sharedflag
='-qmkshrobj'
17353 case `$CC -V 2>&1 | sed 5q` in
17354 *Sun\ C
*) # Sun C 5.9
17355 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'
17356 compiler_needs_object_GCJ
=yes
17357 tmp_sharedflag
='-G' ;;
17358 *Sun\ F
*) # Sun Fortran 8.3
17359 tmp_sharedflag
='-G' ;;
17361 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17363 if test "x$supports_anon_versioning" = xyes
; then
17364 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
17365 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17366 echo "local: *; };" >> $output_objdir/$libname.ver~
17367 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17370 case $cc_basename in
17372 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
17373 whole_archive_flag_spec_GCJ
='--whole-archive$convenience --no-whole-archive'
17374 hardcode_libdir_flag_spec_GCJ
=
17375 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
17376 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
17377 if test "x$supports_anon_versioning" = xyes
; then
17378 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
17379 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17380 echo "local: *; };" >> $output_objdir/$libname.ver~
17381 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17391 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17392 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17395 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17396 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17401 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
17405 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17406 *** create shared libraries on Solaris systems. Therefore, libtool
17407 *** is disabling shared libraries support. We urge you to upgrade GNU
17408 *** binutils to release 2.9.1 or newer. Another option is to modify
17409 *** your PATH or compiler configuration so that the native linker is
17410 *** used, and then restart.
17413 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17414 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17415 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17421 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17422 case `$LD -v 2>&1` in
17423 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17427 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17428 *** reliably create shared libraries on SCO systems. Therefore, libtool
17429 *** is disabling shared libraries support. We urge you to upgrade GNU
17430 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17431 *** your PATH or compiler configuration so that the native linker is
17432 *** used, and then restart.
17437 # For security reasons, it is highly recommended that you always
17438 # use absolute paths for naming shared libraries, and exclude the
17439 # DT_RUNPATH tag from executables and libraries. But doing so
17440 # requires that you compile everything twice, which is a pain.
17441 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17442 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17443 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17444 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17453 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17455 hardcode_direct_GCJ
=yes
17456 hardcode_shlibpath_var_GCJ
=no
17460 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17461 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17462 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17469 if test "$ld_shlibs_GCJ" = no
; then
17471 hardcode_libdir_flag_spec_GCJ
=
17472 export_dynamic_flag_spec_GCJ
=
17473 whole_archive_flag_spec_GCJ
=
17476 # PORTME fill in a description of your system's linker (not GNU ld)
17479 allow_undefined_flag_GCJ
=unsupported
17480 always_export_symbols_GCJ
=yes
17481 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'
17482 # Note: this linker hardcodes the directories in LIBPATH if there
17483 # are no directories specified by -L.
17484 hardcode_minus_L_GCJ
=yes
17485 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17486 # Neither direct hardcoding nor static linking is supported with a
17488 hardcode_direct_GCJ
=unsupported
17493 if test "$host_cpu" = ia64
; then
17494 # On IA64, the linker does run time linking by default, so we don't
17495 # have to do anything special.
17496 aix_use_runtimelinking
=no
17497 exp_sym_flag
='-Bexport'
17500 # If we're using GNU nm, then we don't want the "-C" option.
17501 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17502 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
17503 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'
17505 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'
17507 aix_use_runtimelinking
=no
17509 # Test if we are trying to use run time linking or normal
17510 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17511 # need to do runtime linking.
17512 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17513 for ld_flag
in $LDFLAGS; do
17514 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17515 aix_use_runtimelinking
=yes
17522 exp_sym_flag
='-bexport'
17523 no_entry_flag
='-bnoentry'
17526 # When large executables or shared objects are built, AIX ld can
17527 # have problems creating the table of contents. If linking a library
17528 # or program results in "error TOC overflow" add -mminimal-toc to
17529 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17530 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17532 archive_cmds_GCJ
=''
17533 hardcode_direct_GCJ
=yes
17534 hardcode_direct_absolute_GCJ
=yes
17535 hardcode_libdir_separator_GCJ
=':'
17536 link_all_deplibs_GCJ
=yes
17537 file_list_spec_GCJ
='${wl}-f,'
17539 if test "$GCC" = yes; then
17540 case $host_os in aix4.
[012]|aix4.
[012].
*)
17541 # We only want to do this on AIX 4.2 and lower, the check
17542 # below for broken collect2 doesn't work under 4.3+
17543 collect2name
=`${CC} -print-prog-name=collect2`
17544 if test -f "$collect2name" &&
17545 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
17547 # We have reworked collect2
17550 # We have old collect2
17551 hardcode_direct_GCJ
=unsupported
17552 # It fails to find uninstalled libraries when the uninstalled
17553 # path is not listed in the libpath. Setting hardcode_minus_L
17554 # to unsupported forces relinking
17555 hardcode_minus_L_GCJ
=yes
17556 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17557 hardcode_libdir_separator_GCJ
=
17561 shared_flag
='-shared'
17562 if test "$aix_use_runtimelinking" = yes; then
17563 shared_flag
="$shared_flag "'${wl}-G'
17567 if test "$host_cpu" = ia64
; then
17568 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17569 # chokes on -Wl,-G. The following line is correct:
17572 if test "$aix_use_runtimelinking" = yes; then
17573 shared_flag
='${wl}-G'
17575 shared_flag
='${wl}-bM:SRE'
17580 export_dynamic_flag_spec_GCJ
='${wl}-bexpall'
17581 # It seems that -bexpall does not export symbols beginning with
17582 # underscore (_), so it is better to generate a list of symbols to export.
17583 always_export_symbols_GCJ
=yes
17584 if test "$aix_use_runtimelinking" = yes; then
17585 # Warning - without using the other runtime loading flags (-brtl),
17586 # -berok will link without error, but may produce a broken library.
17587 allow_undefined_flag_GCJ
='-berok'
17588 # Determine the default libpath from the value encoded in an
17589 # empty executable.
17590 if test x
$gcc_no_link = xyes
; then
17591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17593 { (exit 1); exit 1; }; }
17595 cat >conftest.
$ac_ext <<_ACEOF
17598 cat confdefs.h
>>conftest.
$ac_ext
17599 cat >>conftest.
$ac_ext <<_ACEOF
17600 /* end confdefs.h. */
17610 rm -f conftest.
$ac_objext conftest
$ac_exeext
17611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17612 (eval $ac_link) 2>conftest.er1
17614 grep -v '^ *+' conftest.er1
>conftest.err
17616 cat conftest.err
>&5
17617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17618 (exit $ac_status); } &&
17619 { ac_try
='test -z "$ac_c_werror_flag"
17620 || test ! -s conftest.err'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; } &&
17626 { ac_try
='test -s conftest$ac_exeext'
17627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17628 (eval $ac_try) 2>&5
17630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17631 (exit $ac_status); }; }; then
17633 lt_aix_libpath_sed
='
17634 /Import File Strings/,/^$/ {
17640 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17641 # Check for a 64-bit object if we didn't find anything.
17642 if test -z "$aix_libpath"; then
17643 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.
$ac_ext >&5
17650 rm -f conftest.err conftest.
$ac_objext \
17651 conftest
$ac_exeext conftest.
$ac_ext
17652 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17654 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17655 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"
17657 if test "$host_cpu" = ia64
; then
17658 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
17659 allow_undefined_flag_GCJ
="-z nodefs"
17660 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"
17662 # Determine the default libpath from the value encoded in an
17663 # empty executable.
17664 if test x
$gcc_no_link = xyes
; then
17665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17667 { (exit 1); exit 1; }; }
17669 cat >conftest.
$ac_ext <<_ACEOF
17672 cat confdefs.h
>>conftest.
$ac_ext
17673 cat >>conftest.
$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17684 rm -f conftest.
$ac_objext conftest
$ac_exeext
17685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17686 (eval $ac_link) 2>conftest.er1
17688 grep -v '^ *+' conftest.er1
>conftest.err
17690 cat conftest.err
>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); } &&
17693 { ac_try
='test -z "$ac_c_werror_flag"
17694 || test ! -s conftest.err'
17695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17696 (eval $ac_try) 2>&5
17698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17699 (exit $ac_status); }; } &&
17700 { ac_try
='test -s conftest$ac_exeext'
17701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17702 (eval $ac_try) 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; }; then
17707 lt_aix_libpath_sed
='
17708 /Import File Strings/,/^$/ {
17714 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17715 # Check for a 64-bit object if we didn't find anything.
17716 if test -z "$aix_libpath"; then
17717 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17720 echo "$as_me: failed program was:" >&5
17721 sed 's/^/| /' conftest.
$ac_ext >&5
17724 rm -f conftest.err conftest.
$ac_objext \
17725 conftest
$ac_exeext conftest.
$ac_ext
17726 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17728 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17729 # Warning - without using the other run time loading flags,
17730 # -berok will link without error, but may produce a broken library.
17731 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17732 allow_undefined_flag_GCJ
=' ${wl}-berok'
17733 # Exported symbols can be pulled into shared objects from archives
17734 whole_archive_flag_spec_GCJ
='$convenience'
17735 archive_cmds_need_lc_GCJ
=yes
17736 # This is similar to how AIX traditionally builds its shared libraries.
17737 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'
17745 # see comment about AmigaOS4 .so support
17746 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17747 archive_expsym_cmds_GCJ
=''
17750 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)'
17751 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17752 hardcode_minus_L_GCJ
=yes
17758 export_dynamic_flag_spec_GCJ
=-rdynamic
17761 cygwin
* | mingw
* | pw32
* | cegcc
*)
17762 # When not using gcc, we currently assume that we are using
17763 # Microsoft Visual C++.
17764 # hardcode_libdir_flag_spec is actually meaningless, as there is
17765 # no search path for DLLs.
17766 hardcode_libdir_flag_spec_GCJ
=' '
17767 allow_undefined_flag_GCJ
=unsupported
17768 # Tell ltmain to make .lib files, not .a files.
17770 # Tell ltmain to make .dll files, not .so files.
17772 # FIXME: Setting linknames here is a bad hack.
17773 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
17774 # The linker will automatically build a .lib file if we build a DLL.
17775 old_archive_from_new_cmds_GCJ
='true'
17776 # FIXME: Should let the user specify the lib program.
17777 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17778 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17779 enable_shared_with_static_runtimes_GCJ
=yes
17782 darwin
* | rhapsody
*)
17785 archive_cmds_need_lc_GCJ
=no
17786 hardcode_direct_GCJ
=no
17787 hardcode_automatic_GCJ
=yes
17788 hardcode_shlibpath_var_GCJ
=unsupported
17789 whole_archive_flag_spec_GCJ
=''
17790 link_all_deplibs_GCJ
=yes
17791 allow_undefined_flag_GCJ
="$_lt_dar_allow_undefined"
17792 case $cc_basename in
17793 ifort
*) _lt_dar_can_shared
=yes ;;
17794 *) _lt_dar_can_shared
=$GCC ;;
17796 if test "$_lt_dar_can_shared" = "yes"; then
17797 output_verbose_link_cmd
=echo
17798 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17799 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17800 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17801 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${_lt_dar_export_syms}${_lt_dsymutil}"
17810 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17811 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17812 hardcode_shlibpath_var_GCJ
=no
17819 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17820 # support. Future versions do this automatically, but an explicit c++rt0.o
17821 # does not break anything, and helps significantly (at the cost of a little
17824 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17825 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17826 hardcode_direct_GCJ
=yes
17827 hardcode_shlibpath_var_GCJ
=no
17830 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17832 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17833 hardcode_direct_GCJ
=yes
17834 hardcode_minus_L_GCJ
=yes
17835 hardcode_shlibpath_var_GCJ
=no
17838 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17839 freebsd
* | dragonfly
*)
17840 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17841 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17842 hardcode_direct_GCJ
=yes
17843 hardcode_shlibpath_var_GCJ
=no
17847 if test "$GCC" = yes; then
17848 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'
17850 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'
17852 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17853 hardcode_libdir_separator_GCJ
=:
17854 hardcode_direct_GCJ
=yes
17856 # hardcode_minus_L: Not really in the search PATH,
17857 # but as the default location of the library.
17858 hardcode_minus_L_GCJ
=yes
17859 export_dynamic_flag_spec_GCJ
='${wl}-E'
17863 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17864 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17866 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17868 if test "$with_gnu_ld" = no
; then
17869 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17870 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
17871 hardcode_libdir_separator_GCJ
=:
17872 hardcode_direct_GCJ
=yes
17873 hardcode_direct_absolute_GCJ
=yes
17874 export_dynamic_flag_spec_GCJ
='${wl}-E'
17875 # hardcode_minus_L: Not really in the search PATH,
17876 # but as the default location of the library.
17877 hardcode_minus_L_GCJ
=yes
17882 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17885 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17888 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17891 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17897 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17900 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17903 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17907 if test "$with_gnu_ld" = no
; then
17908 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17909 hardcode_libdir_separator_GCJ
=:
17913 hardcode_direct_GCJ
=no
17914 hardcode_shlibpath_var_GCJ
=no
17917 hardcode_direct_GCJ
=yes
17918 hardcode_direct_absolute_GCJ
=yes
17919 export_dynamic_flag_spec_GCJ
='${wl}-E'
17921 # hardcode_minus_L: Not really in the search PATH,
17922 # but as the default location of the library.
17923 hardcode_minus_L_GCJ
=yes
17929 irix5
* | irix6
* | nonstopux
*)
17930 if test "$GCC" = yes; then
17931 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'
17932 # Try to use the -exported_symbol ld option, if it does not
17933 # work, assume that -exports_file does not work either and
17934 # implicitly export all symbols.
17935 save_LDFLAGS
="$LDFLAGS"
17936 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17937 if test x
$gcc_no_link = xyes
; then
17938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17940 { (exit 1); exit 1; }; }
17942 cat >conftest.
$ac_ext <<_ACEOF
17945 rm -f conftest.
$ac_objext conftest
$ac_exeext
17946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17947 (eval $ac_link) 2>conftest.er1
17949 grep -v '^ *+' conftest.er1
>conftest.err
17951 cat conftest.err
>&5
17952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953 (exit $ac_status); } &&
17954 { ac_try
='test -z "$ac_c_werror_flag"
17955 || test ! -s conftest.err'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; } &&
17961 { ac_try
='test -s conftest$ac_exeext'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; }; then
17967 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'
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.
$ac_ext >&5
17974 rm -f conftest.err conftest.
$ac_objext \
17975 conftest
$ac_exeext conftest.
$ac_ext
17976 LDFLAGS
="$save_LDFLAGS"
17978 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'
17979 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'
17981 archive_cmds_need_lc_GCJ
='no'
17982 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17983 hardcode_libdir_separator_GCJ
=:
17984 inherit_rpath_GCJ
=yes
17985 link_all_deplibs_GCJ
=yes
17989 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
17990 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17992 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17994 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17995 hardcode_direct_GCJ
=yes
17996 hardcode_shlibpath_var_GCJ
=no
18000 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18001 hardcode_direct_GCJ
=yes
18002 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18003 hardcode_libdir_separator_GCJ
=:
18004 hardcode_shlibpath_var_GCJ
=no
18011 if test -f /usr
/libexec
/ld.so
; then
18012 hardcode_direct_GCJ
=yes
18013 hardcode_shlibpath_var_GCJ
=no
18014 hardcode_direct_absolute_GCJ
=yes
18015 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18016 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18017 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18018 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18019 export_dynamic_flag_spec_GCJ
='${wl}-E'
18022 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18023 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18024 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18027 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18028 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18038 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18039 hardcode_minus_L_GCJ
=yes
18040 allow_undefined_flag_GCJ
=unsupported
18041 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'
18042 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18046 if test "$GCC" = yes; then
18047 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18048 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'
18050 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18051 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'
18053 archive_cmds_need_lc_GCJ
='no'
18054 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18055 hardcode_libdir_separator_GCJ
=:
18058 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18059 if test "$GCC" = yes; then
18060 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18061 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'
18062 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18064 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18065 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'
18066 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~
18067 $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'
18069 # Both c and cxx compiler support -rpath directly
18070 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18072 archive_cmds_need_lc_GCJ
='no'
18073 hardcode_libdir_separator_GCJ
=:
18077 no_undefined_flag_GCJ
=' -z defs'
18078 if test "$GCC" = yes; then
18080 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18081 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18082 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18084 case `$CC -V 2>&1` in
18087 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18088 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18089 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18093 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18094 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18095 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18099 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18100 hardcode_shlibpath_var_GCJ
=no
18102 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18104 # The compiler driver will combine and reorder linker options,
18105 # but understands `-z linker_flag'. GCC discards it without `$wl',
18106 # but is careful enough not to reorder.
18107 # Supported since Solaris 2.6 (maybe 2.5.1?)
18108 if test "$GCC" = yes; then
18109 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18111 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18115 link_all_deplibs_GCJ
=yes
18119 if test "x$host_vendor" = xsequent
; then
18120 # Use $CC to link under sequent, because it throws in some extra .o
18121 # files that make .init and .fini sections work.
18122 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18124 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18126 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18127 hardcode_direct_GCJ
=yes
18128 hardcode_minus_L_GCJ
=yes
18129 hardcode_shlibpath_var_GCJ
=no
18133 case $host_vendor in
18135 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18136 hardcode_direct_GCJ
=yes # is this really true???
18139 ## LD is ld it makes a PLAMLIB
18140 ## CC just makes a GrossModule.
18141 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18142 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18143 hardcode_direct_GCJ
=no
18146 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18147 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18150 runpath_var
='LD_RUN_PATH'
18151 hardcode_shlibpath_var_GCJ
=no
18155 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18156 hardcode_shlibpath_var_GCJ
=no
18157 export_dynamic_flag_spec_GCJ
='-Bexport'
18161 if test -d /usr
/nec
; then
18162 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18163 hardcode_shlibpath_var_GCJ
=no
18164 runpath_var
=LD_RUN_PATH
18165 hardcode_runpath_var
=yes
18170 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18171 no_undefined_flag_GCJ
='${wl}-z,text'
18172 archive_cmds_need_lc_GCJ
=no
18173 hardcode_shlibpath_var_GCJ
=no
18174 runpath_var
='LD_RUN_PATH'
18176 if test "$GCC" = yes; then
18177 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18178 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18180 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18181 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18185 sysv5
* | sco3.2v5
* | sco5v6
*)
18186 # Note: We can NOT use -z defs as we might desire, because we do not
18187 # link with -lc, and that would cause any symbols used from libc to
18188 # always be unresolved, which means just about no library would
18189 # ever link correctly. If we're not using GNU ld we use -z text
18190 # though, which does catch some bad symbols but isn't as heavy-handed
18192 no_undefined_flag_GCJ
='${wl}-z,text'
18193 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18194 archive_cmds_need_lc_GCJ
=no
18195 hardcode_shlibpath_var_GCJ
=no
18196 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
18197 hardcode_libdir_separator_GCJ
=':'
18198 link_all_deplibs_GCJ
=yes
18199 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18200 runpath_var
='LD_RUN_PATH'
18202 if test "$GCC" = yes; then
18203 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18204 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18206 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18207 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18212 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18213 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18214 hardcode_shlibpath_var_GCJ
=no
18222 if test x
$host_vendor = xsni
; then
18224 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18225 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
18231 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18232 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
18233 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18235 with_gnu_ld_GCJ
=$with_gnu_ld
18243 # Do we need to explicitly link libc?
18245 case "x$archive_cmds_need_lc_GCJ" in
18247 # Assume -lc should be added
18248 archive_cmds_need_lc_GCJ
=yes
18250 if test "$enable_shared" = yes && test "$GCC" = yes; then
18251 case $archive_cmds_GCJ in
18253 # FIXME: we may have to deal with multi-command sequences.
18256 # Test whether the compiler implicitly links with -lc since on some
18257 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18258 # to ld, don't add -lc before -lgcc.
18259 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18260 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
18261 if test "${lt_cv_archive_cmds_need_lc_GCJ+set}" = set; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18268 (eval $ac_compile) 2>&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); } 2>conftest.err
; then
18274 libobjs
=conftest.
$ac_objext
18276 wl
=$lt_prog_compiler_wl_GCJ
18277 pic_flag
=$lt_prog_compiler_pic_GCJ
18283 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18284 allow_undefined_flag_GCJ
=
18285 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
18286 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); }
18291 lt_cv_archive_cmds_need_lc_GCJ
=no
18293 lt_cv_archive_cmds_need_lc_GCJ
=yes
18295 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18297 cat conftest.err
1>&5
18302 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
18303 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_GCJ" >&6
18304 archive_cmds_need_lc_GCJ
=$lt_cv_archive_cmds_need_lc_GCJ
18374 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18375 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
18376 hardcode_action_GCJ
=
18377 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
18378 test -n "$runpath_var_GCJ" ||
18379 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18381 # We can hardcode non-existent directories.
18382 if test "$hardcode_direct_GCJ" != no
&&
18383 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18384 # have to relink, otherwise we might link with an installed library
18385 # when we should be linking with a yet-to-be-installed one
18386 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18387 test "$hardcode_minus_L_GCJ" != no
; then
18388 # Linking always hardcodes the temporary library directory.
18389 hardcode_action_GCJ
=relink
18391 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18392 hardcode_action_GCJ
=immediate
18395 # We cannot hardcode anything, or else we can only hardcode existing
18397 hardcode_action_GCJ
=unsupported
18399 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18400 echo "${ECHO_T}$hardcode_action_GCJ" >&6
18402 if test "$hardcode_action_GCJ" = relink ||
18403 test "$inherit_rpath_GCJ" = yes; then
18404 # Fast installation is not supported
18405 enable_fast_install
=no
18406 elif test "$shlibpath_overrides_runpath" = yes ||
18407 test "$enable_shared" = no
; then
18408 # Fast installation is not necessary
18409 enable_fast_install
=needless
18420 compiler_GCJ
=${GCJ-gcj}
18422 ac_cpp
='$CPP $CPPFLAGS'
18423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18428 if test "x$CC" != xcc
; then
18429 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
18430 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
18432 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
18433 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
18435 set dummy
$CC; ac_cc
=`echo $2 |
18436 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18437 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18440 cat >conftest.
$ac_ext <<_ACEOF
18443 cat confdefs.h
>>conftest.
$ac_ext
18444 cat >>conftest.
$ac_ext <<_ACEOF
18445 /* end confdefs.h. */
18455 # Make sure it works both with $CC and with simple cc.
18456 # We do the test twice because some compilers refuse to overwrite an
18457 # existing .o file with -o, though they will create one.
18458 ac_try
='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18459 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } &&
18464 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); };
18470 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
18471 if test "x$CC" != xcc
; then
18472 # Test first that cc exists at all.
18473 if { ac_try
='cc -c conftest.$ac_ext >&5'
18474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18475 (eval $ac_try) 2>&5
18477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18478 (exit $ac_status); }; }; then
18479 ac_try
='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
18480 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18481 (eval $ac_try) 2>&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); } &&
18485 test -f conftest.
$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); };
18494 # cc exists but doesn't like -o.
18495 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18500 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
18505 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
18506 echo "$as_me:$LINENO: result: yes" >&5
18507 echo "${ECHO_T}yes" >&6
18509 echo "$as_me:$LINENO: result: no" >&5
18510 echo "${ECHO_T}no" >&6
18512 cat >>confdefs.h
<<\_ACEOF
18513 #define NO_MINUS_C_MINUS_O 1
18518 # FIXME: we rely on the cache variable name because
18519 # there is no other way.
18521 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
18522 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
18523 # Losing compiler, so override with the script.
18524 # FIXME: It is wrong to rewrite CC.
18525 # But if we don't then we get into trouble of one sort or another.
18526 # A longer-term fix would be to have automake use am__CC in this case,
18527 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
18528 CC
="$am_aux_dir/compile $CC"
18534 subdirs
="$subdirs classpath libltdl"
18537 # The -no-testsuite modules omit the test subdir.
18540 if test -d $srcdir/testsuite
; then
18542 TESTSUBDIR_FALSE
='#'
18544 TESTSUBDIR_TRUE
='#'
18549 # Should the runtime set system properties by examining the
18550 # environment variable GCJ_PROPERTIES?
18551 # Check whether --enable-getenv-properties or --disable-getenv-properties was given.
18552 if test "${enable_getenv_properties+set}" = set; then
18553 enableval
="$enable_getenv_properties"
18557 # Whether GCJ_PROPERTIES is used depends on the target.
18558 if test -z "$enable_getenv_properties"; then
18559 enable_getenv_properties
=${enable_getenv_properties_default-yes}
18561 if test "$enable_getenv_properties" = no
; then
18563 cat >>confdefs.h
<<\_ACEOF
18564 #define DISABLE_GETENV_PROPERTIES 1
18569 # Whether we should use arguments to main()
18570 if test -z "$enable_main_args"; then
18571 enable_main_args
=${enable_main_args_default-yes}
18573 if test "$enable_main_args" = no
; then
18575 cat >>confdefs.h
<<\_ACEOF
18576 #define DISABLE_MAIN_ARGS 1
18582 # Should we use hashtable-based synchronization?
18583 # Currently works only for Linux X86/ia64
18584 # Typically faster and more space-efficient
18585 # Check whether --enable-hash-synchronization or --disable-hash-synchronization was given.
18586 if test "${enable_hash_synchronization+set}" = set; then
18587 enableval
="$enable_hash_synchronization"
18591 if test -z "$enable_hash_synchronization"; then
18592 enable_hash_synchronization
=$enable_hash_synchronization_default
18600 # Check whether --with-ecj-jar or --without-ecj-jar was given.
18601 if test "${with_ecj_jar+set}" = set; then
18602 withval
="$with_ecj_jar"
18605 if test -f $multi_basedir/ecj.jar
; then
18606 ECJ_BUILD_JAR
=$multi_basedir/ecj.jar
18607 ECJ_JAR
='$(jardir)/ecj.jar'
18608 install_ecj_jar
=yes
18615 if test "$ECJ_JAR" != ""; then
18617 BUILD_ECJ1_FALSE
='#'
18619 BUILD_ECJ1_TRUE
='#'
18625 if test $install_ecj_jar = yes; then
18626 INSTALL_ECJ_JAR_TRUE
=
18627 INSTALL_ECJ_JAR_FALSE
='#'
18629 INSTALL_ECJ_JAR_TRUE
='#'
18630 INSTALL_ECJ_JAR_FALSE
=
18635 # Check whether --with-java-home or --without-java-home was given.
18636 if test "${with_java_home+set}" = set; then
18637 withval
="$with_java_home"
18638 JAVA_HOME
="${withval}"
18644 if test ! -z "$JAVA_HOME"; then
18645 JAVA_HOME_SET_TRUE
=
18646 JAVA_HOME_SET_FALSE
='#'
18648 JAVA_HOME_SET_TRUE
='#'
18649 JAVA_HOME_SET_FALSE
=
18654 suppress_libgcj_bc
=no
18655 # Check whether --enable-libgcj-bc or --disable-libgcj-bc was given.
18656 if test "${enable_libgcj_bc+set}" = set; then
18657 enableval
="$enable_libgcj_bc"
18658 if test "$enable_libgcj_bc" = "no"; then
18659 suppress_libgcj_bc
=yes
18664 if test "$suppress_libgcj_bc" = "yes"; then
18665 SUPPRESS_LIBGCJ_BC_TRUE
=
18666 SUPPRESS_LIBGCJ_BC_FALSE
='#'
18668 SUPPRESS_LIBGCJ_BC_TRUE
='#'
18669 SUPPRESS_LIBGCJ_BC_FALSE
=
18673 build_libgcj_reduced_reflection
=no
18674 # Check whether --enable-reduced-reflection or --disable-reduced-reflection was given.
18675 if test "${enable_reduced_reflection+set}" = set; then
18676 enableval
="$enable_reduced_reflection"
18677 if test "$enable_reduced_reflection" = "yes"; then
18678 build_libgcj_reduced_reflection
=yes
18683 if test "$build_libgcj_reduced_reflection" = "yes"; then
18684 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
=
18685 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
='#'
18687 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
='#'
18688 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
=
18692 # What is the native OS API for MinGW?
18694 # Check whether --with-win32-nlsapi or --without-win32-nlsapi was given.
18695 if test "${with_win32_nlsapi+set}" = set; then
18696 withval
="$with_win32_nlsapi"
18697 case "${withval}" in
18698 ansi
) with_win32_nlsapi
=ansi
;;
18699 unicows
) with_win32_nlsapi
=unicows
;;
18700 unicode
) with_win32_nlsapi
=unicode
;;
18701 *) { { echo "$as_me:$LINENO: error: Bad value ${withval} for --with-win32-nlsapi." >&5
18702 echo "$as_me: error: Bad value ${withval} for --with-win32-nlsapi." >&2;}
18703 { (exit 1); exit 1; }; } ;;
18706 with_win32_nlsapi
=ansi
18709 case "${with_win32_nlsapi}" in
18712 cat >>confdefs.h
<<\_ACEOF
18713 #define MINGW_LIBGCJ_UNICODE 1
18719 # configure.host sets slow_pthread_self if the synchronization code should
18720 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
18721 if test "${slow_pthread_self}" = "yes"; then
18723 cat >>confdefs.h
<<\_ACEOF
18724 #define SLOW_PTHREAD_SELF 1
18729 # Check for gc debugging. This option is handled both here and in the GC.
18730 # Check whether --enable-gc-debug or --disable-gc-debug was given.
18731 if test "${enable_gc_debug+set}" = set; then
18732 enableval
="$enable_gc_debug"
18733 if test "$enable_gc_debug" = "yes"; then
18735 cat >>confdefs.h
<<\_ACEOF
18736 #define LIBGCJ_GC_DEBUG 1
18742 # See if the user has the interpreter included.
18743 # Check whether --enable-interpreter or --disable-interpreter was given.
18744 if test "${enable_interpreter+set}" = set; then
18745 enableval
="$enable_interpreter"
18746 if test "$enable_interpreter" = yes; then
18747 # This can also be set in configure.host.
18748 libgcj_interpreter
=yes
18749 elif test "$enable_interpreter" = no
; then
18750 libgcj_interpreter
=no
18754 if test "$libgcj_interpreter" = yes; then
18756 cat >>confdefs.h
<<\_ACEOF
18757 #define INTERPRETER 1
18761 INTERPRETER
="$libgcj_interpreter"
18765 if test "$libgcj_interpreter" = yes; then
18767 INTERPRETER_FALSE
='#'
18769 INTERPRETER_TRUE
='#'
18774 echo "$as_me:$LINENO: checking for exception model to use" >&5
18775 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
18777 ac_cpp
='$CXXCPP $CPPFLAGS'
18778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18782 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
18783 if test "${enable_sjlj_exceptions+set}" = set; then
18784 enableval
="$enable_sjlj_exceptions"
18787 cat > conftest.
$ac_ext << EOF
18788 #line 18788 "configure"
18789 struct S { ~S(); };
18797 old_CXXFLAGS
="$CXXFLAGS"
18799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18800 (eval $ac_compile) 2>&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; then
18804 if grep _Unwind_SjLj_Resume conftest.s
>/dev
/null
2>&1 ; then
18805 enable_sjlj_exceptions
=yes
18806 elif grep _Unwind_Resume conftest.s
>/dev
/null
2>&1 ; then
18807 enable_sjlj_exceptions
=no
18808 elif grep __cxa_end_cleanup conftest.s
>/dev
/null
2>&1 ; then
18810 enable_sjlj_exceptions
=no
18813 CXXFLAGS
="$old_CXXFLAGS"
18816 if test x
$enable_sjlj_exceptions = xyes
; then
18818 cat >>confdefs.h
<<\_ACEOF
18819 #define SJLJ_EXCEPTIONS 1
18822 ac_exception_model_name
=sjlj
18823 elif test x
$enable_sjlj_exceptions = xno
; then
18824 ac_exception_model_name
="call frame"
18826 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
18827 echo "$as_me: error: unable to detect exception model" >&2;}
18828 { (exit 1); exit 1; }; }
18831 ac_cpp
='$CPP $CPPFLAGS'
18832 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18833 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18834 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18836 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
18837 echo "${ECHO_T}$ac_exception_model_name" >&6
18839 # If we are non using SJLJ exceptions, and this host does not have support
18840 # for unwinding from a signal handler, enable checked dereferences and divides.
18841 if test $can_unwind_signal = no
&& test $enable_sjlj_exceptions = no
; then
18842 CHECKREFSPEC
=-fcheck-references
18843 DIVIDESPEC
=-fuse-divide-subroutine
18847 # See if the user wants to disable java.net. This is the mildly
18848 # ugly way that we admit that target-side configuration sucks.
18849 # Check whether --enable-java-net or --disable-java-net was given.
18850 if test "${enable_java_net+set}" = set; then
18851 enableval
="$enable_java_net"
18855 # Whether java.net is built by default can depend on the target.
18856 if test -z "$enable_java_net"; then
18857 enable_java_net
=${enable_java_net_default-yes}
18859 if test "$enable_java_net" = no
; then
18861 cat >>confdefs.h
<<\_ACEOF
18862 #define DISABLE_JAVA_NET 1
18867 # See if the user wants to configure without libffi. Some
18868 # architectures don't support it, and default values are set in
18871 # Check whether --with-libffi or --without-libffi was given.
18872 if test "${with_libffi+set}" = set; then
18873 withval
="$with_libffi"
18876 with_libffi
=${with_libffi_default-yes}
18881 if test "$with_libffi" != no
; then
18883 cat >>confdefs.h
<<\_ACEOF
18884 #define USE_LIBFFI 1
18887 LIBFFI
=..
/libffi
/libffi_convenience.la
18888 LIBFFIINCS
='-I$(top_srcdir)/../libffi/include -I../libffi/include'
18893 # See if the user wants to disable JVMPI support.
18894 # Check whether --enable-jvmpi or --disable-jvmpi was given.
18895 if test "${enable_jvmpi+set}" = set; then
18896 enableval
="$enable_jvmpi"
18900 if test "$enable_jvmpi" != no
; then
18902 cat >>confdefs.h
<<\_ACEOF
18903 #define ENABLE_JVMPI 1
18908 # If the target is an eCos system, use the appropriate eCos
18910 # FIXME: this should not be a local option but a global target
18911 # system; at present there is no eCos target.
18912 TARGET_ECOS
=${PROCESS-"no"}
18914 # Check whether --with-ecos or --without-ecos was given.
18915 if test "${with_ecos+set}" = set; then
18916 withval
="$with_ecos"
18917 TARGET_ECOS
="$with_ecos"
18921 case "$TARGET_ECOS" in
18922 no
) case "$host" in
18928 echo "$as_me:$LINENO: checking whether 'ld' is at least 2.13" >&5
18929 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
18930 LD_PROG
=`$CC --print-prog-name=ld`
18931 LD_VERSION
=`$LD_PROG --version`
18932 LD_VERSION_MAJOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
18933 LD_VERSION_MINOR
=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
18934 if expr "$LD_VERSION_MAJOR" \
> 2 > /dev
/null
; then
18937 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \
>= 13 > /dev
/null
; then
18941 if test "x$LD_OK" != x
; then
18942 echo "$as_me:$LINENO: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18943 echo "${ECHO_T}yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18945 echo "$as_me:$LINENO: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
18946 echo "${ECHO_T}no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6
18947 { echo "$as_me:$LINENO: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
18948 echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
18950 cat >>confdefs.h
<<\_ACEOF
18951 #define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1
18967 cat >>confdefs.h
<<\_ACEOF
18975 ac_config_links
="$ac_config_links include/platform.h:include/$PLATFORMH"
18978 cat >conftest.
$ac_ext <<_ACEOF
18981 cat confdefs.h
>>conftest.
$ac_ext
18982 cat >>conftest.
$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 #include <stdint.h>
18987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18988 $EGREP "uint32_t" >/dev
/null
2>&1; then
18990 cat >>confdefs.h
<<\_ACEOF
18991 #define HAVE_INT32_DEFINED 1
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 <inttypes.h>
19006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19007 $EGREP "uint32_t" >/dev
/null
2>&1; then
19009 cat >>confdefs.h
<<\_ACEOF
19010 #define HAVE_INT32_DEFINED 1
19016 cat >conftest.
$ac_ext <<_ACEOF
19019 cat confdefs.h
>>conftest.
$ac_ext
19020 cat >>conftest.
$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19022 #include <sys/types.h>
19025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19026 $EGREP "u_int32_t" >/dev
/null
2>&1; then
19028 cat >>confdefs.h
<<\_ACEOF
19029 #define HAVE_BSD_INT32_DEFINED 1
19035 cat >conftest.
$ac_ext <<_ACEOF
19038 cat confdefs.h
>>conftest.
$ac_ext
19039 cat >>conftest.
$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 #include <sys/config.h>
19044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19045 $EGREP "u_int32_t" >/dev
/null
2>&1; then
19047 cat >>confdefs.h
<<\_ACEOF
19048 #define HAVE_BSD_INT32_DEFINED 1
19057 if test "$PLATFORM" = Win32
; then
19058 USING_WIN32_PLATFORM_TRUE
=
19059 USING_WIN32_PLATFORM_FALSE
='#'
19061 USING_WIN32_PLATFORM_TRUE
='#'
19062 USING_WIN32_PLATFORM_FALSE
=
19067 if test "$PLATFORM" = Posix ||
test "$PLATFORM" = Ecos
; then
19068 USING_POSIX_PLATFORM_TRUE
=
19069 USING_POSIX_PLATFORM_FALSE
='#'
19071 USING_POSIX_PLATFORM_TRUE
='#'
19072 USING_POSIX_PLATFORM_FALSE
=
19077 *-darwin*) DARWIN_CRT
=true
;;
19078 *) DARWIN_CRT
=false
;;
19082 if $DARWIN_CRT; then
19083 USING_DARWIN_CRT_TRUE
=
19084 USING_DARWIN_CRT_FALSE
='#'
19086 USING_DARWIN_CRT_TRUE
='#'
19087 USING_DARWIN_CRT_FALSE
=
19091 # This may not be defined in a non-ANS conformant embedded system.
19092 # FIXME: Should these case a runtime exception in that case?
19093 cat >conftest.
$ac_ext <<_ACEOF
19096 cat confdefs.h
>>conftest.
$ac_ext
19097 cat >>conftest.
$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19103 $EGREP "localtime" >/dev
/null
2>&1; then
19105 cat >>confdefs.h
<<\_ACEOF
19106 #define HAVE_LOCALTIME 1
19113 # Create the subdirectory for natFile.cc, or the attempt
19114 # to create the link will fail.
19115 test -d java || mkdir java
19116 test -d java
/io || mkdir java
/io
19117 test -d gnu || mkdir gnu
19118 ac_config_links
="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
19121 # Likewise for natConcreteProcess.cc.
19122 test -d java
/lang || mkdir java
/lang
19123 ac_config_links
="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
19126 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
19127 test -d java
/net || mkdir java
/net
19128 ac_config_links
="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
19130 ac_config_links
="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
19133 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
19134 test -d gnu
/java || mkdir gnu
/java
19135 test -d gnu
/java
/net || mkdir gnu
/java
/net
19136 ac_config_links
="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
19138 ac_config_links
="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
19141 # Likewise for natVMPipe.cc and natVMSelector.cc.
19142 test -d gnu
/java
/nio || mkdir gnu
/java
/nio
19143 ac_config_links
="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
19145 ac_config_links
="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
19148 # Likewise for natFileChannelImpl.cc
19149 test -d gnu
/java
/nio
/channels || mkdir gnu
/java
/nio
/channels
19150 ac_config_links
="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
19153 # Likewise for natVMSecureRandom.cc
19154 test -d gnu
/java
/security || mkdir gnu
/java
/security
19155 test -d gnu
/java
/security
/jce || mkdir gnu
/java
/security
/jce
19156 test -d gnu
/java
/security
/jce
/prng || mkdir gnu
/java
/security
/jce
/prng
19157 ac_config_links
="$ac_config_links gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc"
19162 SYSTEMSPEC
="-lgdi32 -lws2_32"
19163 if test "${with_win32_nlsapi}" = "unicows"; then
19164 SYSTEMSPEC
="-lunicows $SYSTEMSPEC"
19174 # Check whether --with-system-zlib or --without-system-zlib was given.
19175 if test "${with_system_zlib+set}" = set; then
19176 withval
="$with_system_zlib"
19184 echo "$as_me:$LINENO: checking for X" >&5
19185 echo $ECHO_N "checking for X... $ECHO_C" >&6
19188 # Check whether --with-x or --without-x was given.
19189 if test "${with_x+set}" = set; then
19193 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19194 if test "x$with_x" = xno
; then
19195 # The user explicitly disabled X.
19198 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
19199 # Both variables are already set.
19202 if test "${ac_cv_have_x+set}" = set; then
19203 echo $ECHO_N "(cached) $ECHO_C" >&6
19205 # One or both of the vars are not set, and there is no cached value.
19206 ac_x_includes
=no ac_x_libraries
=no
19207 rm -fr conftest.dir
19208 if mkdir conftest.dir
; then
19210 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
19211 cat >Imakefile
<<'_ACEOF'
19213 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
19215 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
19216 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19217 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
19218 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19219 for ac_extension
in a so sl
; do
19220 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
19221 test -f $ac_im_libdir/libX11.
$ac_extension; then
19222 ac_im_usrlibdir
=$ac_im_libdir; break
19225 # Screen out bogus values from the imake configuration. They are
19226 # bogus both because they are the default anyway, and because
19227 # using them would break gcc on systems where it needs fixed includes.
19228 case $ac_im_incroot in
19230 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
19232 case $ac_im_usrlibdir in
19233 /usr
/lib |
/lib
) ;;
19234 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
19238 rm -fr conftest.dir
19241 # Standard set of common directories for X headers.
19242 # Check X11 before X11Rn because it is often a symlink to the current release.
19254 /usr/local/X11/include
19255 /usr/local/X11R6/include
19256 /usr/local/X11R5/include
19257 /usr/local/X11R4/include
19259 /usr/local/include/X11
19260 /usr/local/include/X11R6
19261 /usr/local/include/X11R5
19262 /usr/local/include/X11R4
19266 /usr/XFree86/include/X11
19270 /usr/unsupported/include
19271 /usr/athena/include
19272 /usr/local/x11r5/include
19273 /usr/lpp/Xamples/include
19275 /usr/openwin/include
19276 /usr/openwin/share/include'
19278 if test "$ac_x_includes" = no
; then
19279 # Guess where to find include files, by looking for Intrinsic.h.
19280 # First, try using that file with no special directory specified.
19281 cat >conftest.
$ac_ext <<_ACEOF
19284 cat confdefs.h
>>conftest.
$ac_ext
19285 cat >>conftest.
$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 #include <X11/Intrinsic.h>
19289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19290 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19292 grep -v '^ *+' conftest.er1
>conftest.err
19294 cat conftest.err
>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } >/dev
/null
; then
19297 if test -s conftest.err
; then
19298 ac_cpp_err
=$ac_c_preproc_warn_flag
19299 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19306 if test -z "$ac_cpp_err"; then
19307 # We can compile using X headers with no special include directory.
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.
$ac_ext >&5
19313 for ac_dir
in $ac_x_header_dirs; do
19314 if test -r "$ac_dir/X11/Intrinsic.h"; then
19315 ac_x_includes
=$ac_dir
19320 rm -f conftest.err conftest.
$ac_ext
19321 fi # $ac_x_includes = no
19323 if test "$ac_x_libraries" = no
; then
19324 # Check for the libraries.
19325 # See if we find them without any special options.
19326 # Don't add to $LIBS permanently.
19329 if test x
$gcc_no_link = xyes
; then
19330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19332 { (exit 1); exit 1; }; }
19334 cat >conftest.
$ac_ext <<_ACEOF
19337 cat confdefs.h
>>conftest.
$ac_ext
19338 cat >>conftest.
$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 #include <X11/Intrinsic.h>
19349 rm -f conftest.
$ac_objext conftest
$ac_exeext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19351 (eval $ac_link) 2>conftest.er1
19353 grep -v '^ *+' conftest.er1
>conftest.err
19355 cat conftest.err
>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } &&
19358 { ac_try
='test -z "$ac_c_werror_flag"
19359 || test ! -s conftest.err'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try
='test -s conftest$ac_exeext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19372 # We can link X programs with no special library path.
19375 echo "$as_me: failed program was:" >&5
19376 sed 's/^/| /' conftest.
$ac_ext >&5
19379 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
19381 # Don't even attempt the hair of trying to link an X program!
19382 for ac_extension
in a so sl
; do
19383 if test -r $ac_dir/libXt.
$ac_extension; then
19384 ac_x_libraries
=$ac_dir
19390 rm -f conftest.err conftest.
$ac_objext \
19391 conftest
$ac_exeext conftest.
$ac_ext
19392 fi # $ac_x_libraries = no
19394 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
19395 # Didn't find X anywhere. Cache the known absence of X.
19396 ac_cv_have_x
="have_x=no"
19398 # Record where we found X for the cache.
19399 ac_cv_have_x
="have_x=yes \
19400 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
19405 eval "$ac_cv_have_x"
19408 if test "$have_x" != yes; then
19409 echo "$as_me:$LINENO: result: $have_x" >&5
19410 echo "${ECHO_T}$have_x" >&6
19413 # If each of the values was on the command line, it overrides each guess.
19414 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
19415 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
19416 # Update the cache value to reflect the command line values.
19417 ac_cv_have_x
="have_x=yes \
19418 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
19419 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
19420 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
19423 if test "$no_x" = yes; then
19424 # Not all programs may use this symbol, but it does not hurt to define it.
19426 cat >>confdefs.h
<<\_ACEOF
19427 #define X_DISPLAY_MISSING 1
19430 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
19432 if test -n "$x_includes"; then
19433 X_CFLAGS
="$X_CFLAGS -I$x_includes"
19436 # It would also be nice to do this for all -L options, not just this one.
19437 if test -n "$x_libraries"; then
19438 X_LIBS
="$X_LIBS -L$x_libraries"
19439 # For Solaris; some versions of Sun CC require a space after -R and
19440 # others require no space. Words are not sufficient . . . .
19441 case `(uname -sr) 2>/dev/null` in
19443 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
19444 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
19445 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
19446 if test x
$gcc_no_link = xyes
; then
19447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19449 { (exit 1); exit 1; }; }
19451 cat >conftest.
$ac_ext <<_ACEOF
19454 cat confdefs.h
>>conftest.
$ac_ext
19455 cat >>conftest.
$ac_ext <<_ACEOF
19456 /* end confdefs.h. */
19466 rm -f conftest.
$ac_objext conftest
$ac_exeext
19467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19468 (eval $ac_link) 2>conftest.er1
19470 grep -v '^ *+' conftest.er1
>conftest.err
19472 cat conftest.err
>&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); } &&
19475 { ac_try
='test -z "$ac_c_werror_flag"
19476 || test ! -s conftest.err'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; } &&
19482 { ac_try
='test -s conftest$ac_exeext'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; }; then
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.
$ac_ext >&5
19495 rm -f conftest.err conftest.
$ac_objext \
19496 conftest
$ac_exeext conftest.
$ac_ext
19497 if test $ac_R_nospace = yes; then
19498 echo "$as_me:$LINENO: result: no" >&5
19499 echo "${ECHO_T}no" >&6
19500 X_LIBS
="$X_LIBS -R$x_libraries"
19502 LIBS
="$ac_xsave_LIBS -R $x_libraries"
19503 if test x
$gcc_no_link = xyes
; then
19504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19506 { (exit 1); exit 1; }; }
19508 cat >conftest.
$ac_ext <<_ACEOF
19511 cat confdefs.h
>>conftest.
$ac_ext
19512 cat >>conftest.
$ac_ext <<_ACEOF
19513 /* end confdefs.h. */
19523 rm -f conftest.
$ac_objext conftest
$ac_exeext
19524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19525 (eval $ac_link) 2>conftest.er1
19527 grep -v '^ *+' conftest.er1
>conftest.err
19529 cat conftest.err
>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } &&
19532 { ac_try
='test -z "$ac_c_werror_flag"
19533 || test ! -s conftest.err'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; } &&
19539 { ac_try
='test -s conftest$ac_exeext'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; }; then
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.
$ac_ext >&5
19552 rm -f conftest.err conftest.
$ac_objext \
19553 conftest
$ac_exeext conftest.
$ac_ext
19554 if test $ac_R_space = yes; then
19555 echo "$as_me:$LINENO: result: yes" >&5
19556 echo "${ECHO_T}yes" >&6
19557 X_LIBS
="$X_LIBS -R $x_libraries"
19559 echo "$as_me:$LINENO: result: neither works" >&5
19560 echo "${ECHO_T}neither works" >&6
19563 LIBS
=$ac_xsave_LIBS
19567 # Check for system-dependent libraries X programs must link with.
19568 # Do this before checking for the system-independent R6 libraries
19569 # (-lICE), since we may need -lsocket or whatever for X linking.
19571 if test "$ISC" = yes; then
19572 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
19574 # Martyn Johnson says this is needed for Ultrix, if the X
19575 # libraries were built with DECnet support. And Karl Berry says
19576 # the Alpha needs dnet_stub (dnet does not exist).
19577 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
19578 if test x
$gcc_no_link = xyes
; then
19579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19581 { (exit 1); exit 1; }; }
19583 cat >conftest.
$ac_ext <<_ACEOF
19586 cat confdefs.h
>>conftest.
$ac_ext
19587 cat >>conftest.
$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19590 /* Override any gcc2 internal prototype to avoid an error. */
19594 /* We use char because int might match the return type of a gcc2
19595 builtin and then its argument prototype would still apply. */
19596 char XOpenDisplay ();
19605 rm -f conftest.
$ac_objext conftest
$ac_exeext
19606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19607 (eval $ac_link) 2>conftest.er1
19609 grep -v '^ *+' conftest.er1
>conftest.err
19611 cat conftest.err
>&5
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); } &&
19614 { ac_try
='test -z "$ac_c_werror_flag"
19615 || test ! -s conftest.err'
19616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617 (eval $ac_try) 2>&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); }; } &&
19621 { ac_try
='test -s conftest$ac_exeext'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; }; then
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.
$ac_ext >&5
19632 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
19633 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
19634 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
19635 echo $ECHO_N "(cached) $ECHO_C" >&6
19637 ac_check_lib_save_LIBS
=$LIBS
19638 LIBS
="-ldnet $LIBS"
19639 if test x
$gcc_no_link = xyes
; then
19640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19642 { (exit 1); exit 1; }; }
19644 cat >conftest.
$ac_ext <<_ACEOF
19647 cat confdefs.h
>>conftest.
$ac_ext
19648 cat >>conftest.
$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19651 /* Override any gcc2 internal prototype to avoid an error. */
19655 /* We use char because int might match the return type of a gcc2
19656 builtin and then its argument prototype would still apply. */
19666 rm -f conftest.
$ac_objext conftest
$ac_exeext
19667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19668 (eval $ac_link) 2>conftest.er1
19670 grep -v '^ *+' conftest.er1
>conftest.err
19672 cat conftest.err
>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } &&
19675 { ac_try
='test -z "$ac_c_werror_flag"
19676 || test ! -s conftest.err'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; } &&
19682 { ac_try
='test -s conftest$ac_exeext'
19683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684 (eval $ac_try) 2>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; }; then
19688 ac_cv_lib_dnet_dnet_ntoa
=yes
19690 echo "$as_me: failed program was:" >&5
19691 sed 's/^/| /' conftest.
$ac_ext >&5
19693 ac_cv_lib_dnet_dnet_ntoa
=no
19695 rm -f conftest.err conftest.
$ac_objext \
19696 conftest
$ac_exeext conftest.
$ac_ext
19697 LIBS
=$ac_check_lib_save_LIBS
19699 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19700 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
19701 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
19702 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
19705 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
19706 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
19707 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
19708 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
19709 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 ac_check_lib_save_LIBS
=$LIBS
19712 LIBS
="-ldnet_stub $LIBS"
19713 if test x
$gcc_no_link = xyes
; then
19714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19716 { (exit 1); exit 1; }; }
19718 cat >conftest.
$ac_ext <<_ACEOF
19721 cat confdefs.h
>>conftest.
$ac_ext
19722 cat >>conftest.
$ac_ext <<_ACEOF
19723 /* end confdefs.h. */
19725 /* Override any gcc2 internal prototype to avoid an error. */
19729 /* We use char because int might match the return type of a gcc2
19730 builtin and then its argument prototype would still apply. */
19740 rm -f conftest.
$ac_objext conftest
$ac_exeext
19741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19742 (eval $ac_link) 2>conftest.er1
19744 grep -v '^ *+' conftest.er1
>conftest.err
19746 cat conftest.err
>&5
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); } &&
19749 { ac_try
='test -z "$ac_c_werror_flag"
19750 || test ! -s conftest.err'
19751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19752 (eval $ac_try) 2>&5
19754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755 (exit $ac_status); }; } &&
19756 { ac_try
='test -s conftest$ac_exeext'
19757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19758 (eval $ac_try) 2>&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); }; }; then
19762 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.
$ac_ext >&5
19767 ac_cv_lib_dnet_stub_dnet_ntoa
=no
19769 rm -f conftest.err conftest.
$ac_objext \
19770 conftest
$ac_exeext conftest.
$ac_ext
19771 LIBS
=$ac_check_lib_save_LIBS
19773 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19774 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
19775 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
19776 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
19781 rm -f conftest.err conftest.
$ac_objext \
19782 conftest
$ac_exeext conftest.
$ac_ext
19783 LIBS
="$ac_xsave_LIBS"
19785 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
19786 # to get the SysV transport functions.
19787 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
19789 # The nsl library prevents programs from opening the X display
19790 # on Irix 5.2, according to T.E. Dickey.
19791 # The functions gethostbyname, getservbyname, and inet_addr are
19792 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19793 echo "$as_me:$LINENO: checking for gethostbyname" >&5
19794 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
19795 if test "${ac_cv_func_gethostbyname+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 if test x
$gcc_no_link = xyes
; then
19799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19801 { (exit 1); exit 1; }; }
19803 cat >conftest.
$ac_ext <<_ACEOF
19806 cat confdefs.h
>>conftest.
$ac_ext
19807 cat >>conftest.
$ac_ext <<_ACEOF
19808 /* end confdefs.h. */
19809 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
19810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19811 #define gethostbyname innocuous_gethostbyname
19813 /* System header to define __stub macros and hopefully few prototypes,
19814 which can conflict with char gethostbyname (); below.
19815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19816 <limits.h> exists even on freestanding compilers. */
19819 # include <limits.h>
19821 # include <assert.h>
19824 #undef gethostbyname
19826 /* Override any gcc2 internal prototype to avoid an error. */
19831 /* We use char because int might match the return type of a gcc2
19832 builtin and then its argument prototype would still apply. */
19833 char gethostbyname ();
19834 /* The GNU C library defines this for functions which it implements
19835 to always fail with ENOSYS. Some functions are actually named
19836 something starting with __ and the normal name is an alias. */
19837 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
19840 char (*f) () = gethostbyname;
19849 return f != gethostbyname;
19854 rm -f conftest.
$ac_objext conftest
$ac_exeext
19855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19856 (eval $ac_link) 2>conftest.er1
19858 grep -v '^ *+' conftest.er1
>conftest.err
19860 cat conftest.err
>&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } &&
19863 { ac_try
='test -z "$ac_c_werror_flag"
19864 || test ! -s conftest.err'
19865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19866 (eval $ac_try) 2>&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); }; } &&
19870 { ac_try
='test -s conftest$ac_exeext'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; }; then
19876 ac_cv_func_gethostbyname
=yes
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.
$ac_ext >&5
19881 ac_cv_func_gethostbyname
=no
19883 rm -f conftest.err conftest.
$ac_objext \
19884 conftest
$ac_exeext conftest.
$ac_ext
19886 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
19887 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
19889 if test $ac_cv_func_gethostbyname = no
; then
19890 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
19891 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
19892 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
19893 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 ac_check_lib_save_LIBS
=$LIBS
19897 if test x
$gcc_no_link = xyes
; then
19898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19900 { (exit 1); exit 1; }; }
19902 cat >conftest.
$ac_ext <<_ACEOF
19905 cat confdefs.h
>>conftest.
$ac_ext
19906 cat >>conftest.
$ac_ext <<_ACEOF
19907 /* end confdefs.h. */
19909 /* Override any gcc2 internal prototype to avoid an error. */
19913 /* We use char because int might match the return type of a gcc2
19914 builtin and then its argument prototype would still apply. */
19915 char gethostbyname ();
19924 rm -f conftest.
$ac_objext conftest
$ac_exeext
19925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19926 (eval $ac_link) 2>conftest.er1
19928 grep -v '^ *+' conftest.er1
>conftest.err
19930 cat conftest.err
>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } &&
19933 { ac_try
='test -z "$ac_c_werror_flag"
19934 || test ! -s conftest.err'
19935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19936 (eval $ac_try) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); }; } &&
19940 { ac_try
='test -s conftest$ac_exeext'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; }; then
19946 ac_cv_lib_nsl_gethostbyname
=yes
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.
$ac_ext >&5
19951 ac_cv_lib_nsl_gethostbyname
=no
19953 rm -f conftest.err conftest.
$ac_objext \
19954 conftest
$ac_exeext conftest.
$ac_ext
19955 LIBS
=$ac_check_lib_save_LIBS
19957 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
19958 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
19959 if test $ac_cv_lib_nsl_gethostbyname = yes; then
19960 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
19963 if test $ac_cv_lib_nsl_gethostbyname = no
; then
19964 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
19965 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
19966 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
19967 echo $ECHO_N "(cached) $ECHO_C" >&6
19969 ac_check_lib_save_LIBS
=$LIBS
19971 if test x
$gcc_no_link = xyes
; then
19972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19974 { (exit 1); exit 1; }; }
19976 cat >conftest.
$ac_ext <<_ACEOF
19979 cat confdefs.h
>>conftest.
$ac_ext
19980 cat >>conftest.
$ac_ext <<_ACEOF
19981 /* end confdefs.h. */
19983 /* Override any gcc2 internal prototype to avoid an error. */
19987 /* We use char because int might match the return type of a gcc2
19988 builtin and then its argument prototype would still apply. */
19989 char gethostbyname ();
19998 rm -f conftest.
$ac_objext conftest
$ac_exeext
19999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20000 (eval $ac_link) 2>conftest.er1
20002 grep -v '^ *+' conftest.er1
>conftest.err
20004 cat conftest.err
>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try
='test -z "$ac_c_werror_flag"
20008 || test ! -s conftest.err'
20009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20010 (eval $ac_try) 2>&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try
='test -s conftest$ac_exeext'
20015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20016 (eval $ac_try) 2>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); }; }; then
20020 ac_cv_lib_bsd_gethostbyname
=yes
20022 echo "$as_me: failed program was:" >&5
20023 sed 's/^/| /' conftest.
$ac_ext >&5
20025 ac_cv_lib_bsd_gethostbyname
=no
20027 rm -f conftest.err conftest.
$ac_objext \
20028 conftest
$ac_exeext conftest.
$ac_ext
20029 LIBS
=$ac_check_lib_save_LIBS
20031 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
20032 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
20033 if test $ac_cv_lib_bsd_gethostbyname = yes; then
20034 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
20040 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20041 # socket/setsockopt and other routines are undefined under SCO ODT
20042 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20043 # on later versions), says Simon Leinen: it contains gethostby*
20044 # variants that don't use the name server (or something). -lsocket
20045 # must be given before -lnsl if both are needed. We assume that
20046 # if connect needs -lnsl, so does gethostbyname.
20047 echo "$as_me:$LINENO: checking for connect" >&5
20048 echo $ECHO_N "checking for connect... $ECHO_C" >&6
20049 if test "${ac_cv_func_connect+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20052 if test x
$gcc_no_link = xyes
; then
20053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20055 { (exit 1); exit 1; }; }
20057 cat >conftest.
$ac_ext <<_ACEOF
20060 cat confdefs.h
>>conftest.
$ac_ext
20061 cat >>conftest.
$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
20064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20065 #define connect innocuous_connect
20067 /* System header to define __stub macros and hopefully few prototypes,
20068 which can conflict with char connect (); below.
20069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20070 <limits.h> exists even on freestanding compilers. */
20073 # include <limits.h>
20075 # include <assert.h>
20080 /* Override any gcc2 internal prototype to avoid an error. */
20085 /* We use char because int might match the return type of a gcc2
20086 builtin and then its argument prototype would still apply. */
20088 /* The GNU C library defines this for functions which it implements
20089 to always fail with ENOSYS. Some functions are actually named
20090 something starting with __ and the normal name is an alias. */
20091 #if defined (__stub_connect) || defined (__stub___connect)
20094 char (*f) () = connect;
20103 return f != connect;
20108 rm -f conftest.
$ac_objext conftest
$ac_exeext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20110 (eval $ac_link) 2>conftest.er1
20112 grep -v '^ *+' conftest.er1
>conftest.err
20114 cat conftest.err
>&5
20115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20116 (exit $ac_status); } &&
20117 { ac_try
='test -z "$ac_c_werror_flag"
20118 || test ! -s conftest.err'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; } &&
20124 { ac_try
='test -s conftest$ac_exeext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20130 ac_cv_func_connect
=yes
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.
$ac_ext >&5
20135 ac_cv_func_connect
=no
20137 rm -f conftest.err conftest.
$ac_objext \
20138 conftest
$ac_exeext conftest.
$ac_ext
20140 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
20141 echo "${ECHO_T}$ac_cv_func_connect" >&6
20143 if test $ac_cv_func_connect = no
; then
20144 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20145 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20146 if test "${ac_cv_lib_socket_connect+set}" = set; then
20147 echo $ECHO_N "(cached) $ECHO_C" >&6
20149 ac_check_lib_save_LIBS
=$LIBS
20150 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
20151 if test x
$gcc_no_link = xyes
; then
20152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20154 { (exit 1); exit 1; }; }
20156 cat >conftest.
$ac_ext <<_ACEOF
20159 cat confdefs.h
>>conftest.
$ac_ext
20160 cat >>conftest.
$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20163 /* Override any gcc2 internal prototype to avoid an error. */
20167 /* We use char because int might match the return type of a gcc2
20168 builtin and then its argument prototype would still apply. */
20178 rm -f conftest.
$ac_objext conftest
$ac_exeext
20179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20180 (eval $ac_link) 2>conftest.er1
20182 grep -v '^ *+' conftest.er1
>conftest.err
20184 cat conftest.err
>&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } &&
20187 { ac_try
='test -z "$ac_c_werror_flag"
20188 || test ! -s conftest.err'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; } &&
20194 { ac_try
='test -s conftest$ac_exeext'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; }; then
20200 ac_cv_lib_socket_connect
=yes
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.
$ac_ext >&5
20205 ac_cv_lib_socket_connect
=no
20207 rm -f conftest.err conftest.
$ac_objext \
20208 conftest
$ac_exeext conftest.
$ac_ext
20209 LIBS
=$ac_check_lib_save_LIBS
20211 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20212 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20213 if test $ac_cv_lib_socket_connect = yes; then
20214 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
20219 # Guillermo Gomez says -lposix is necessary on A/UX.
20220 echo "$as_me:$LINENO: checking for remove" >&5
20221 echo $ECHO_N "checking for remove... $ECHO_C" >&6
20222 if test "${ac_cv_func_remove+set}" = set; then
20223 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 if test x
$gcc_no_link = xyes
; then
20226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20228 { (exit 1); exit 1; }; }
20230 cat >conftest.
$ac_ext <<_ACEOF
20233 cat confdefs.h
>>conftest.
$ac_ext
20234 cat >>conftest.
$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20236 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
20237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20238 #define remove innocuous_remove
20240 /* System header to define __stub macros and hopefully few prototypes,
20241 which can conflict with char remove (); below.
20242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20243 <limits.h> exists even on freestanding compilers. */
20246 # include <limits.h>
20248 # include <assert.h>
20253 /* Override any gcc2 internal prototype to avoid an error. */
20258 /* We use char because int might match the return type of a gcc2
20259 builtin and then its argument prototype would still apply. */
20261 /* The GNU C library defines this for functions which it implements
20262 to always fail with ENOSYS. Some functions are actually named
20263 something starting with __ and the normal name is an alias. */
20264 #if defined (__stub_remove) || defined (__stub___remove)
20267 char (*f) () = remove;
20276 return f != remove;
20281 rm -f conftest.
$ac_objext conftest
$ac_exeext
20282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20283 (eval $ac_link) 2>conftest.er1
20285 grep -v '^ *+' conftest.er1
>conftest.err
20287 cat conftest.err
>&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } &&
20290 { ac_try
='test -z "$ac_c_werror_flag"
20291 || test ! -s conftest.err'
20292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293 (eval $ac_try) 2>&5
20295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296 (exit $ac_status); }; } &&
20297 { ac_try
='test -s conftest$ac_exeext'
20298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299 (eval $ac_try) 2>&5
20301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302 (exit $ac_status); }; }; then
20303 ac_cv_func_remove
=yes
20305 echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.
$ac_ext >&5
20308 ac_cv_func_remove
=no
20310 rm -f conftest.err conftest.
$ac_objext \
20311 conftest
$ac_exeext conftest.
$ac_ext
20313 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
20314 echo "${ECHO_T}$ac_cv_func_remove" >&6
20316 if test $ac_cv_func_remove = no
; then
20317 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
20318 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
20319 if test "${ac_cv_lib_posix_remove+set}" = set; then
20320 echo $ECHO_N "(cached) $ECHO_C" >&6
20322 ac_check_lib_save_LIBS
=$LIBS
20323 LIBS
="-lposix $LIBS"
20324 if test x
$gcc_no_link = xyes
; then
20325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20327 { (exit 1); exit 1; }; }
20329 cat >conftest.
$ac_ext <<_ACEOF
20332 cat confdefs.h
>>conftest.
$ac_ext
20333 cat >>conftest.
$ac_ext <<_ACEOF
20334 /* end confdefs.h. */
20336 /* Override any gcc2 internal prototype to avoid an error. */
20340 /* We use char because int might match the return type of a gcc2
20341 builtin and then its argument prototype would still apply. */
20351 rm -f conftest.
$ac_objext conftest
$ac_exeext
20352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20353 (eval $ac_link) 2>conftest.er1
20355 grep -v '^ *+' conftest.er1
>conftest.err
20357 cat conftest.err
>&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } &&
20360 { ac_try
='test -z "$ac_c_werror_flag"
20361 || test ! -s conftest.err'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; } &&
20367 { ac_try
='test -s conftest$ac_exeext'
20368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369 (eval $ac_try) 2>&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); }; }; then
20373 ac_cv_lib_posix_remove
=yes
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.
$ac_ext >&5
20378 ac_cv_lib_posix_remove
=no
20380 rm -f conftest.err conftest.
$ac_objext \
20381 conftest
$ac_exeext conftest.
$ac_ext
20382 LIBS
=$ac_check_lib_save_LIBS
20384 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
20385 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
20386 if test $ac_cv_lib_posix_remove = yes; then
20387 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
20392 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20393 echo "$as_me:$LINENO: checking for shmat" >&5
20394 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
20395 if test "${ac_cv_func_shmat+set}" = set; then
20396 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 if test x
$gcc_no_link = xyes
; then
20399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20401 { (exit 1); exit 1; }; }
20403 cat >conftest.
$ac_ext <<_ACEOF
20406 cat confdefs.h
>>conftest.
$ac_ext
20407 cat >>conftest.
$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
20410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20411 #define shmat innocuous_shmat
20413 /* System header to define __stub macros and hopefully few prototypes,
20414 which can conflict with char shmat (); below.
20415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20416 <limits.h> exists even on freestanding compilers. */
20419 # include <limits.h>
20421 # include <assert.h>
20426 /* Override any gcc2 internal prototype to avoid an error. */
20431 /* We use char because int might match the return type of a gcc2
20432 builtin and then its argument prototype would still apply. */
20434 /* The GNU C library defines this for functions which it implements
20435 to always fail with ENOSYS. Some functions are actually named
20436 something starting with __ and the normal name is an alias. */
20437 #if defined (__stub_shmat) || defined (__stub___shmat)
20440 char (*f) () = shmat;
20454 rm -f conftest.
$ac_objext conftest
$ac_exeext
20455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20456 (eval $ac_link) 2>conftest.er1
20458 grep -v '^ *+' conftest.er1
>conftest.err
20460 cat conftest.err
>&5
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); } &&
20463 { ac_try
='test -z "$ac_c_werror_flag"
20464 || test ! -s conftest.err'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; } &&
20470 { ac_try
='test -s conftest$ac_exeext'
20471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472 (eval $ac_try) 2>&5
20474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475 (exit $ac_status); }; }; then
20476 ac_cv_func_shmat
=yes
20478 echo "$as_me: failed program was:" >&5
20479 sed 's/^/| /' conftest.
$ac_ext >&5
20481 ac_cv_func_shmat
=no
20483 rm -f conftest.err conftest.
$ac_objext \
20484 conftest
$ac_exeext conftest.
$ac_ext
20486 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
20487 echo "${ECHO_T}$ac_cv_func_shmat" >&6
20489 if test $ac_cv_func_shmat = no
; then
20490 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
20491 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
20492 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
20493 echo $ECHO_N "(cached) $ECHO_C" >&6
20495 ac_check_lib_save_LIBS
=$LIBS
20497 if test x
$gcc_no_link = xyes
; then
20498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20500 { (exit 1); exit 1; }; }
20502 cat >conftest.
$ac_ext <<_ACEOF
20505 cat confdefs.h
>>conftest.
$ac_ext
20506 cat >>conftest.
$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20509 /* Override any gcc2 internal prototype to avoid an error. */
20513 /* We use char because int might match the return type of a gcc2
20514 builtin and then its argument prototype would still apply. */
20524 rm -f conftest.
$ac_objext conftest
$ac_exeext
20525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20526 (eval $ac_link) 2>conftest.er1
20528 grep -v '^ *+' conftest.er1
>conftest.err
20530 cat conftest.err
>&5
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); } &&
20533 { ac_try
='test -z "$ac_c_werror_flag"
20534 || test ! -s conftest.err'
20535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20536 (eval $ac_try) 2>&5
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); }; } &&
20540 { ac_try
='test -s conftest$ac_exeext'
20541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20542 (eval $ac_try) 2>&5
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); }; }; then
20546 ac_cv_lib_ipc_shmat
=yes
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.
$ac_ext >&5
20551 ac_cv_lib_ipc_shmat
=no
20553 rm -f conftest.err conftest.
$ac_objext \
20554 conftest
$ac_exeext conftest.
$ac_ext
20555 LIBS
=$ac_check_lib_save_LIBS
20557 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
20558 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
20559 if test $ac_cv_lib_ipc_shmat = yes; then
20560 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
20566 # Check for libraries that X11R6 Xt/Xaw programs need.
20567 ac_save_LDFLAGS
=$LDFLAGS
20568 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
20569 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20570 # check for ICE first), but we must link in the order -lSM -lICE or
20571 # we get undefined symbols. So assume we have SM if we have ICE.
20572 # These have to be linked with before -lX11, unlike the other
20573 # libraries we check for below, so use a different variable.
20574 # John Interrante, Karl Berry
20575 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
20576 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
20577 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
20578 echo $ECHO_N "(cached) $ECHO_C" >&6
20580 ac_check_lib_save_LIBS
=$LIBS
20581 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
20582 if test x
$gcc_no_link = xyes
; then
20583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20585 { (exit 1); exit 1; }; }
20587 cat >conftest.
$ac_ext <<_ACEOF
20590 cat confdefs.h
>>conftest.
$ac_ext
20591 cat >>conftest.
$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20594 /* Override any gcc2 internal prototype to avoid an error. */
20598 /* We use char because int might match the return type of a gcc2
20599 builtin and then its argument prototype would still apply. */
20600 char IceConnectionNumber ();
20604 IceConnectionNumber ();
20609 rm -f conftest.
$ac_objext conftest
$ac_exeext
20610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20611 (eval $ac_link) 2>conftest.er1
20613 grep -v '^ *+' conftest.er1
>conftest.err
20615 cat conftest.err
>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); } &&
20618 { ac_try
='test -z "$ac_c_werror_flag"
20619 || test ! -s conftest.err'
20620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621 (eval $ac_try) 2>&5
20623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20624 (exit $ac_status); }; } &&
20625 { ac_try
='test -s conftest$ac_exeext'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; }; then
20631 ac_cv_lib_ICE_IceConnectionNumber
=yes
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.
$ac_ext >&5
20636 ac_cv_lib_ICE_IceConnectionNumber
=no
20638 rm -f conftest.err conftest.
$ac_objext \
20639 conftest
$ac_exeext conftest.
$ac_ext
20640 LIBS
=$ac_check_lib_save_LIBS
20642 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20643 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
20644 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
20645 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
20648 LDFLAGS
=$ac_save_LDFLAGS
20653 # FIXME: this should be _libs on some hosts.
20656 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20659 # extra LD Flags which are required for targets
20662 # For now we have to disable it on darwin[8-9] because it slows down
20663 # the linking phase. A possible bug in ld?
20664 # on Darwin -single_module speeds up loading of the dynamic libraries.
20665 extra_ldflags_libjava
=-Wl,-single_module
20668 extra_gij_ldflags
=-Wl,-allow_stack_execute
20671 # Some of the ARM unwinder code is actually in libstdc++. We
20672 # could in principle replicate it in libgcj, but it's better to
20673 # have a dependency on libstdc++.
20674 extra_ldflags
='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20675 LIBSTDCXXSPEC
=-lstdc++
20676 LIBGCJTESTSPEC
="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20686 # Allow the GC to be disabled. Can be useful when debugging.
20687 echo "$as_me:$LINENO: checking for garbage collector to use" >&5
20688 echo $ECHO_N "checking for garbage collector to use... $ECHO_C" >&6
20689 # Check whether --enable-java-gc or --disable-java-gc was given.
20690 if test "${enable_java_gc+set}" = set; then
20691 enableval
="$enable_java_gc"
20704 echo "$as_me:$LINENO: result: boehm" >&5
20705 echo "${ECHO_T}boehm" >&6
20706 GCLIBS
=..
/boehm-gc
/libgcjgc_convenience.la
20707 JC1GCSPEC
='-fuse-boehm-gc'
20708 GCTESTSPEC
="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20709 GCINCS
='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20712 # The POSIX thread support needs to know this.
20714 cat >>confdefs.h
<<\_ACEOF
20715 #define HAVE_BOEHM_GC 1
20720 echo "$as_me:$LINENO: result: none" >&5
20721 echo "${ECHO_T}none" >&6
20725 { { echo "$as_me:$LINENO: error: unrecognized collector \"$GC\"" >&5
20726 echo "$as_me: error: unrecognized collector \"$GC\"" >&2;}
20727 { (exit 1); exit 1; }; }
20736 ac_config_links
="$ac_config_links include/java-gc.h:include/$GCHDR"
20740 if test "$GC" = boehm
; then
20741 USING_BOEHMGC_TRUE
=
20742 USING_BOEHMGC_FALSE
='#'
20744 USING_BOEHMGC_TRUE
='#'
20745 USING_BOEHMGC_FALSE
=
20750 if test "$GC" = no
; then
20752 USING_NOGC_FALSE
='#'
20754 USING_NOGC_TRUE
='#'
20760 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
20761 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
20762 THREADS
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
20763 echo "$as_me:$LINENO: result: $THREADS" >&5
20764 echo "${ECHO_T}$THREADS" >&6
20767 no | none | single
)
20770 aix | posix | posix95 | pthreads
)
20775 cat >>confdefs.h
<<\_ACEOF
20776 #define LINUX_THREADS 1
20784 decosf1 | irix | mach | os2 | solaris | dce | vxworks
)
20785 { { echo "$as_me:$LINENO: error: thread package $THREADS not yet supported" >&5
20786 echo "$as_me: error: thread package $THREADS not yet supported" >&2;}
20787 { (exit 1); exit 1; }; }
20790 { { echo "$as_me:$LINENO: error: $THREADS is an unknown thread package" >&5
20791 echo "$as_me: error: $THREADS is an unknown thread package" >&2;}
20792 { (exit 1); exit 1; }; }
20803 THREADSTARTFILESPEC
=
20808 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20810 *-*-freebsd[1234]*)
20811 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20812 # merely adds pthread_* functions) but it does have a -pthread switch
20813 # which is required at link-time to select -lc_r *instead* of -lc.
20814 THREADLDFLAGS
=-pthread
20815 # Don't set THREADSPEC here as might be expected since -pthread is
20816 # not processed when found within a spec file, it must come from
20817 # the command line. For now, the user must provide the -pthread
20818 # switch to link code compiled with gcj. In future, consider adding
20819 # support for weak references to pthread_* functions ala gthr.h API.
20820 THREADSPEC
='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20823 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20824 # systems which support threads and -lpthread.
20825 THREADLDFLAGS
=-pthread
20826 THREADSPEC
=-lpthread
20828 alpha
*-dec-osf* | hppa
*-hp-hpux*)
20829 THREADCXXFLAGS
=-pthread
20830 # boehm-gc needs some functions from librt, so link that too.
20831 THREADLIBS
='-lpthread -lrt'
20832 THREADSPEC
='-lpthread -lrt'
20835 THREADLIBS
=-lpthread
20836 THREADSPEC
=-lpthread
20839 THREADH
=posix-threads.h
20840 # MIT pthreads doesn't seem to have the mutexattr functions.
20841 # But for now we don't check for it. We just assume you aren't
20842 # using MIT pthreads.
20844 cat >>confdefs.h
<<\_ACEOF
20845 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
20849 # If we're using the Boehm GC, then we happen to know that it
20850 # defines _REENTRANT, so we don't bother. Eww.
20851 if test "$GC" != boehm
; then
20853 cat >>confdefs.h
<<\_ACEOF
20854 #define _REENTRANT 1
20859 cat >>confdefs.h
<<\_ACEOF
20860 #define _POSIX_PTHREAD_SEMANTICS 1
20866 THREADH
=win32-threads.h
20867 THREADCXXFLAGS
=-mthreads
20868 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20869 # But we do not want the executables created to be dependent on
20870 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20871 # exception handling contexts. The following kludge achieves this effect
20872 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20873 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20874 # A workaround is to explicitly use -mthreads while linking Java programs.
20875 # See PR libgcj/28263.
20877 # FIXME: In Java we are able to detect thread death at the end of
20878 # Thread.run() so we should be able to clean up the exception handling
20879 # contexts ourselves.
20880 THREADSTARTFILESPEC
='crtmt%O%s'
20884 THREADH
=no-threads.h
20887 ac_config_links
="$ac_config_links include/java-threads.h:include/$THREADH"
20898 if test "$THREADS" = posix
; then
20899 USING_POSIX_THREADS_TRUE
=
20900 USING_POSIX_THREADS_FALSE
='#'
20902 USING_POSIX_THREADS_TRUE
='#'
20903 USING_POSIX_THREADS_FALSE
=
20908 if test "$THREADS" = win32
; then
20909 USING_WIN32_THREADS_TRUE
=
20910 USING_WIN32_THREADS_FALSE
='#'
20912 USING_WIN32_THREADS_TRUE
='#'
20913 USING_WIN32_THREADS_FALSE
=
20918 if test "$THREADS" = none
; then
20919 USING_NO_THREADS_TRUE
=
20920 USING_NO_THREADS_FALSE
='#'
20922 USING_NO_THREADS_TRUE
='#'
20923 USING_NO_THREADS_FALSE
=
20926 if test "$enable_shared" != yes; then
20931 if test "$use_libgcj_bc" = yes; then
20932 USE_LIBGCJ_BC_TRUE
=
20933 USE_LIBGCJ_BC_FALSE
='#'
20935 USE_LIBGCJ_BC_TRUE
='#'
20936 USE_LIBGCJ_BC_FALSE
=
20940 if test -d sysdep
; then true
; else mkdir sysdep
; fi
20941 ac_config_links
="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20943 ac_config_links
="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20945 ac_config_links
="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20948 LIBGCJ_SPEC
="%{s-bc-abi:} -lgcj"
20949 if test "$use_libgcj_bc" = yes; then
20950 LIBGCJ_SPEC
="%{static|static-libgcj|!s-bc-abi:-lgcj;:-lgcj_bc}"
20955 # Hash synchronization is only useful with posix threads right now.
20956 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20957 HASH_SYNC_SPEC
=-fhash-synchronization
20959 cat >>confdefs.h
<<\_ACEOF
20960 #define JV_HASH_SYNCHRONIZATION 1
20968 if test "$GCC" = yes; then
20970 USING_GCC_FALSE
='#'
20977 # We're in the tree with gcc, and need to include some of its headers.
20978 GCC_UNWIND_INCLUDE
='-I$(multi_basedir)/./libjava/../gcc'
20980 if test "x${with_newlib}" = "xyes"; then
20981 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20982 # may not work correctly, because the compiler may not be able to
20983 # link executables.
20985 # We assume newlib. This lets us hard-code the functions we know
20988 cat >>confdefs.h
<<\_ACEOF
20989 #define HAVE_MEMMOVE 1
20993 cat >>confdefs.h
<<\_ACEOF
20994 #define HAVE_MEMCPY 1
20998 cat >>confdefs.h
<<\_ACEOF
20999 #define HAVE_TIME 1
21003 cat >>confdefs.h
<<\_ACEOF
21004 #define HAVE_GMTIME_R 1
21008 cat >>confdefs.h
<<\_ACEOF
21009 #define HAVE_LOCALTIME_R 1
21013 cat >>confdefs.h
<<\_ACEOF
21014 #define HAVE_USLEEP_DECL 1
21017 # This is only for POSIX threads.
21019 cat >>confdefs.h
<<\_ACEOF
21020 #define HAVE_PTHREAD_MUTEXATTR_INIT 1
21024 # Assume we do not have getuid and friends.
21026 cat >>confdefs.h
<<\_ACEOF
21027 #define NO_GETUID 1
21062 for ac_func
in strerror_r
select fstat open fsync
sleep opendir \
21063 localtime_r getpwuid_r getcwd \
21064 access stat lstat mkdir rename
rmdir unlink utime
chmod readlink \
21065 nl_langinfo setlocale \
21066 inet_pton uname inet_ntoa \
21067 getrlimit sigaction ftruncate mmap \
21070 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21071 echo "$as_me:$LINENO: checking for $ac_func" >&5
21072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21073 if eval "test \"\${$as_ac_var+set}\" = set"; then
21074 echo $ECHO_N "(cached) $ECHO_C" >&6
21076 if test x
$gcc_no_link = xyes
; then
21077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21079 { (exit 1); exit 1; }; }
21081 cat >conftest.
$ac_ext <<_ACEOF
21084 cat confdefs.h
>>conftest.
$ac_ext
21085 cat >>conftest.
$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21089 #define $ac_func innocuous_$ac_func
21091 /* System header to define __stub macros and hopefully few prototypes,
21092 which can conflict with char $ac_func (); below.
21093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21094 <limits.h> exists even on freestanding compilers. */
21097 # include <limits.h>
21099 # include <assert.h>
21104 /* Override any gcc2 internal prototype to avoid an error. */
21109 /* We use char because int might match the return type of a gcc2
21110 builtin and then its argument prototype would still apply. */
21112 /* The GNU C library defines this for functions which it implements
21113 to always fail with ENOSYS. Some functions are actually named
21114 something starting with __ and the normal name is an alias. */
21115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21118 char (*f) () = $ac_func;
21127 return f != $ac_func;
21132 rm -f conftest.
$ac_objext conftest
$ac_exeext
21133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21134 (eval $ac_link) 2>conftest.er1
21136 grep -v '^ *+' conftest.er1
>conftest.err
21138 cat conftest.err
>&5
21139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140 (exit $ac_status); } &&
21141 { ac_try
='test -z "$ac_c_werror_flag"
21142 || test ! -s conftest.err'
21143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21144 (eval $ac_try) 2>&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); }; } &&
21148 { ac_try
='test -s conftest$ac_exeext'
21149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21150 (eval $ac_try) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); }; }; then
21154 eval "$as_ac_var=yes"
21156 echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.
$ac_ext >&5
21159 eval "$as_ac_var=no"
21161 rm -f conftest.err conftest.
$ac_objext \
21162 conftest
$ac_exeext conftest.
$ac_ext
21164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21166 if test `eval echo '${'$as_ac_var'}'` = yes; then
21167 cat >>confdefs.h
<<_ACEOF
21168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21176 for ac_func
in inet_aton inet_addr
21178 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21179 echo "$as_me:$LINENO: checking for $ac_func" >&5
21180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21181 if eval "test \"\${$as_ac_var+set}\" = set"; then
21182 echo $ECHO_N "(cached) $ECHO_C" >&6
21184 if test x
$gcc_no_link = xyes
; then
21185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21187 { (exit 1); exit 1; }; }
21189 cat >conftest.
$ac_ext <<_ACEOF
21192 cat confdefs.h
>>conftest.
$ac_ext
21193 cat >>conftest.
$ac_ext <<_ACEOF
21194 /* end confdefs.h. */
21195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21197 #define $ac_func innocuous_$ac_func
21199 /* System header to define __stub macros and hopefully few prototypes,
21200 which can conflict with char $ac_func (); below.
21201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21202 <limits.h> exists even on freestanding compilers. */
21205 # include <limits.h>
21207 # include <assert.h>
21212 /* Override any gcc2 internal prototype to avoid an error. */
21217 /* We use char because int might match the return type of a gcc2
21218 builtin and then its argument prototype would still apply. */
21220 /* The GNU C library defines this for functions which it implements
21221 to always fail with ENOSYS. Some functions are actually named
21222 something starting with __ and the normal name is an alias. */
21223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21226 char (*f) () = $ac_func;
21235 return f != $ac_func;
21240 rm -f conftest.
$ac_objext conftest
$ac_exeext
21241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21242 (eval $ac_link) 2>conftest.er1
21244 grep -v '^ *+' conftest.er1
>conftest.err
21246 cat conftest.err
>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); } &&
21249 { ac_try
='test -z "$ac_c_werror_flag"
21250 || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try
='test -s conftest$ac_exeext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 eval "$as_ac_var=yes"
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.
$ac_ext >&5
21267 eval "$as_ac_var=no"
21269 rm -f conftest.err conftest.
$ac_objext \
21270 conftest
$ac_exeext conftest.
$ac_ext
21272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21273 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21274 if test `eval echo '${'$as_ac_var'}'` = yes; then
21275 cat >>confdefs.h
<<_ACEOF
21276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21285 for ac_header
in unistd.h dlfcn.h sys
/resource.h
21287 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21289 echo "$as_me:$LINENO: checking for $ac_header" >&5
21290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21295 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21297 # Is the header compilable?
21298 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21300 cat >conftest.
$ac_ext <<_ACEOF
21303 cat confdefs.h
>>conftest.
$ac_ext
21304 cat >>conftest.
$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 #include <$ac_header>
21309 rm -f conftest.
$ac_objext
21310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21311 (eval $ac_compile) 2>conftest.er1
21313 grep -v '^ *+' conftest.er1
>conftest.err
21315 cat conftest.err
>&5
21316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317 (exit $ac_status); } &&
21318 { ac_try
='test -z "$ac_c_werror_flag"
21319 || test ! -s conftest.err'
21320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21321 (eval $ac_try) 2>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); }; } &&
21325 { ac_try
='test -s conftest.$ac_objext'
21326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21327 (eval $ac_try) 2>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); }; }; then
21331 ac_header_compiler
=yes
21333 echo "$as_me: failed program was:" >&5
21334 sed 's/^/| /' conftest.
$ac_ext >&5
21336 ac_header_compiler
=no
21338 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
21339 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21340 echo "${ECHO_T}$ac_header_compiler" >&6
21342 # Is the header present?
21343 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21344 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21345 cat >conftest.
$ac_ext <<_ACEOF
21348 cat confdefs.h
>>conftest.
$ac_ext
21349 cat >>conftest.
$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21351 #include <$ac_header>
21353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
21356 grep -v '^ *+' conftest.er1
>conftest.err
21358 cat conftest.err
>&5
21359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21360 (exit $ac_status); } >/dev
/null
; then
21361 if test -s conftest.err
; then
21362 ac_cpp_err
=$ac_c_preproc_warn_flag
21363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
21370 if test -z "$ac_cpp_err"; then
21371 ac_header_preproc
=yes
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.
$ac_ext >&5
21376 ac_header_preproc
=no
21378 rm -f conftest.err conftest.
$ac_ext
21379 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21380 echo "${ECHO_T}$ac_header_preproc" >&6
21382 # So? What about this header?
21383 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21385 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21386 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21387 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21388 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21389 ac_header_preproc
=yes
21392 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21393 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21394 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21395 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21396 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21397 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21398 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21399 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21401 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21402 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21403 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21406 ## ---------------------------------- ##
21407 ## Report this to the libjava lists. ##
21408 ## ---------------------------------- ##
21411 sed "s/^/$as_me: WARNING: /" >&2
21414 echo "$as_me:$LINENO: checking for $ac_header" >&5
21415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21417 echo $ECHO_N "(cached) $ECHO_C" >&6
21419 eval "$as_ac_Header=\$ac_header_preproc"
21421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21422 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21426 cat >>confdefs.h
<<_ACEOF
21427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21434 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
21435 echo "$as_me:$LINENO: checking for dladdr in -ldl" >&5
21436 echo $ECHO_N "checking for dladdr in -ldl... $ECHO_C" >&6
21437 if test "${ac_cv_lib_dl_dladdr+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21440 ac_check_lib_save_LIBS
=$LIBS
21442 if test x
$gcc_no_link = xyes
; then
21443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21445 { (exit 1); exit 1; }; }
21447 cat >conftest.
$ac_ext <<_ACEOF
21450 cat confdefs.h
>>conftest.
$ac_ext
21451 cat >>conftest.
$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21454 /* Override any gcc2 internal prototype to avoid an error. */
21458 /* We use char because int might match the return type of a gcc2
21459 builtin and then its argument prototype would still apply. */
21469 rm -f conftest.
$ac_objext conftest
$ac_exeext
21470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21471 (eval $ac_link) 2>conftest.er1
21473 grep -v '^ *+' conftest.er1
>conftest.err
21475 cat conftest.err
>&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); } &&
21478 { ac_try
='test -z "$ac_c_werror_flag"
21479 || test ! -s conftest.err'
21480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21481 (eval $ac_try) 2>&5
21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484 (exit $ac_status); }; } &&
21485 { ac_try
='test -s conftest$ac_exeext'
21486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21487 (eval $ac_try) 2>&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); }; }; then
21491 ac_cv_lib_dl_dladdr
=yes
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.
$ac_ext >&5
21496 ac_cv_lib_dl_dladdr
=no
21498 rm -f conftest.err conftest.
$ac_objext \
21499 conftest
$ac_exeext conftest.
$ac_ext
21500 LIBS
=$ac_check_lib_save_LIBS
21502 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dladdr" >&5
21503 echo "${ECHO_T}$ac_cv_lib_dl_dladdr" >&6
21504 if test $ac_cv_lib_dl_dladdr = yes; then
21507 cat >>confdefs.h
<<\_ACEOF
21508 #define HAVE_DLADDR 1
21513 echo "$as_me:$LINENO: checking for dladdr in -ldld" >&5
21514 echo $ECHO_N "checking for dladdr in -ldld... $ECHO_C" >&6
21515 if test "${ac_cv_lib_dld_dladdr+set}" = set; then
21516 echo $ECHO_N "(cached) $ECHO_C" >&6
21518 ac_check_lib_save_LIBS
=$LIBS
21520 if test x
$gcc_no_link = xyes
; then
21521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21523 { (exit 1); exit 1; }; }
21525 cat >conftest.
$ac_ext <<_ACEOF
21528 cat confdefs.h
>>conftest.
$ac_ext
21529 cat >>conftest.
$ac_ext <<_ACEOF
21530 /* end confdefs.h. */
21532 /* Override any gcc2 internal prototype to avoid an error. */
21536 /* We use char because int might match the return type of a gcc2
21537 builtin and then its argument prototype would still apply. */
21547 rm -f conftest.
$ac_objext conftest
$ac_exeext
21548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21549 (eval $ac_link) 2>conftest.er1
21551 grep -v '^ *+' conftest.er1
>conftest.err
21553 cat conftest.err
>&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } &&
21556 { ac_try
='test -z "$ac_c_werror_flag"
21557 || test ! -s conftest.err'
21558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21559 (eval $ac_try) 2>&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); }; } &&
21563 { ac_try
='test -s conftest$ac_exeext'
21564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565 (eval $ac_try) 2>&5
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); }; }; then
21569 ac_cv_lib_dld_dladdr
=yes
21571 echo "$as_me: failed program was:" >&5
21572 sed 's/^/| /' conftest.
$ac_ext >&5
21574 ac_cv_lib_dld_dladdr
=no
21576 rm -f conftest.err conftest.
$ac_objext \
21577 conftest
$ac_exeext conftest.
$ac_ext
21578 LIBS
=$ac_check_lib_save_LIBS
21580 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dladdr" >&5
21581 echo "${ECHO_T}$ac_cv_lib_dld_dladdr" >&6
21582 if test $ac_cv_lib_dld_dladdr = yes; then
21585 cat >>confdefs.h
<<\_ACEOF
21586 #define HAVE_DLADDR 1
21594 if test x
"$cross_compiling" = x
"no"; then
21595 echo "$as_me:$LINENO: checking for /proc/self/exe" >&5
21596 echo $ECHO_N "checking for /proc/self/exe... $ECHO_C" >&6
21597 if test "${ac_cv_file__proc_self_exe+set}" = set; then
21598 echo $ECHO_N "(cached) $ECHO_C" >&6
21600 test "$cross_compiling" = yes &&
21601 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21602 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21603 { (exit 1); exit 1; }; }
21604 if test -r "/proc/self/exe"; then
21605 ac_cv_file__proc_self_exe
=yes
21607 ac_cv_file__proc_self_exe
=no
21610 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_exe" >&5
21611 echo "${ECHO_T}$ac_cv_file__proc_self_exe" >&6
21612 if test $ac_cv_file__proc_self_exe = yes; then
21614 cat >>confdefs.h
<<_ACEOF
21615 #define HAVE__PROC_SELF_EXE 1
21620 cat >>confdefs.h
<<\_ACEOF
21621 #define HAVE_PROC_SELF_EXE 1
21626 echo "$as_me:$LINENO: checking for /proc/self/maps" >&5
21627 echo $ECHO_N "checking for /proc/self/maps... $ECHO_C" >&6
21628 if test "${ac_cv_file__proc_self_maps+set}" = set; then
21629 echo $ECHO_N "(cached) $ECHO_C" >&6
21631 test "$cross_compiling" = yes &&
21632 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
21633 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
21634 { (exit 1); exit 1; }; }
21635 if test -r "/proc/self/maps"; then
21636 ac_cv_file__proc_self_maps
=yes
21638 ac_cv_file__proc_self_maps
=no
21641 echo "$as_me:$LINENO: result: $ac_cv_file__proc_self_maps" >&5
21642 echo "${ECHO_T}$ac_cv_file__proc_self_maps" >&6
21643 if test $ac_cv_file__proc_self_maps = yes; then
21645 cat >>confdefs.h
<<_ACEOF
21646 #define HAVE__PROC_SELF_MAPS 1
21651 cat >>confdefs.h
<<\_ACEOF
21652 #define HAVE_PROC_SELF_MAPS 1
21661 cat >>confdefs.h
<<\_ACEOF
21662 #define HAVE_PROC_SELF_EXE 1
21666 cat >>confdefs.h
<<\_ACEOF
21667 #define HAVE_PROC_SELF_MAPS 1
21675 if test "X$prefix" = "XNONE"; then
21676 acl_final_prefix
="$ac_default_prefix"
21678 acl_final_prefix
="$prefix"
21680 if test "X$exec_prefix" = "XNONE"; then
21681 acl_final_exec_prefix
='${prefix}'
21683 acl_final_exec_prefix
="$exec_prefix"
21685 acl_save_prefix
="$prefix"
21686 prefix
="$acl_final_prefix"
21687 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
21688 prefix
="$acl_save_prefix"
21691 # Check whether --with-gnu-ld or --without-gnu-ld was given.
21692 if test "${with_gnu_ld+set}" = set; then
21693 withval
="$with_gnu_ld"
21694 test "$withval" = no || with_gnu_ld
=yes
21698 # Prepare PATH_SEPARATOR.
21699 # The user is always right.
21700 if test "${PATH_SEPARATOR+set}" != set; then
21701 echo "#! /bin/sh" >conf$$.sh
21702 echo "exit 0" >>conf$$.sh
21704 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
21712 if test "$GCC" = yes; then
21713 # Check if gcc -print-prog-name=ld gives a path.
21714 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
21715 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
21718 # gcc leaves a trailing carriage return which upsets mingw
21719 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21721 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
21724 # Accept absolute paths.
21725 [\\/]* |
[A-Za-z
]:[\\/]*)
21726 re_direlt
='/[^/][^/]*/\.\./'
21727 # Canonicalize the path of ld
21728 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
21729 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
21730 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
21732 test -z "$LD" && LD
="$ac_prog"
21735 # If it fails, then pretend we aren't using GCC.
21739 # If it is relative, then search for the first ld in PATH.
21740 with_gnu_ld
=unknown
21743 elif test "$with_gnu_ld" = yes; then
21744 echo "$as_me:$LINENO: checking for GNU ld" >&5
21745 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
21747 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
21748 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
21750 if test "${acl_cv_path_LD+set}" = set; then
21751 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 if test -z "$LD"; then
21754 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21755 for ac_dir
in $PATH; do
21756 test -z "$ac_dir" && ac_dir
=.
21757 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
21758 acl_cv_path_LD
="$ac_dir/$ac_prog"
21759 # Check to see if the program is GNU ld. I'd rather use --version,
21760 # but apparently some GNU ld's only accept -v.
21761 # Break only if it was the GNU/non-GNU ld that we prefer.
21762 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
21763 test "$with_gnu_ld" != no
&& break
21765 test "$with_gnu_ld" != yes && break
21771 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
21775 LD
="$acl_cv_path_LD"
21776 if test -n "$LD"; then
21777 echo "$as_me:$LINENO: result: $LD" >&5
21778 echo "${ECHO_T}$LD" >&6
21780 echo "$as_me:$LINENO: result: no" >&5
21781 echo "${ECHO_T}no" >&6
21783 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
21784 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
21785 { (exit 1); exit 1; }; }
21786 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
21787 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
21788 if test "${acl_cv_prog_gnu_ld+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21791 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21792 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
21793 acl_cv_prog_gnu_ld
=yes
21795 acl_cv_prog_gnu_ld
=no
21798 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
21799 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
21800 with_gnu_ld
=$acl_cv_prog_gnu_ld
21804 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
21805 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
21806 if test "${acl_cv_rpath+set}" = set; then
21807 echo $ECHO_N "(cached) $ECHO_C" >&6
21810 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
21811 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21813 rm -f .
/conftest.sh
21817 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21818 echo "${ECHO_T}$acl_cv_rpath" >&6
21820 libext
="$acl_cv_libext"
21821 shlibext
="$acl_cv_shlibext"
21822 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
21823 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
21824 hardcode_direct
="$acl_cv_hardcode_direct"
21825 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
21826 # Check whether --enable-rpath or --disable-rpath was given.
21827 if test "${enable_rpath+set}" = set; then
21828 enableval
="$enable_rpath"
21842 acl_save_prefix
="$prefix"
21843 prefix
="$acl_final_prefix"
21844 acl_save_exec_prefix
="$exec_prefix"
21845 exec_prefix
="$acl_final_exec_prefix"
21847 eval additional_includedir
=\"$includedir\"
21848 eval additional_libdir
=\"$libdir\"
21850 exec_prefix
="$acl_save_exec_prefix"
21851 prefix
="$acl_save_prefix"
21854 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21855 if test "${with_libiconv_prefix+set}" = set; then
21856 withval
="$with_libiconv_prefix"
21858 if test "X$withval" = "Xno"; then
21861 if test "X$withval" = "X"; then
21863 acl_save_prefix
="$prefix"
21864 prefix
="$acl_final_prefix"
21865 acl_save_exec_prefix
="$exec_prefix"
21866 exec_prefix
="$acl_final_exec_prefix"
21868 eval additional_includedir
=\"$includedir\"
21869 eval additional_libdir
=\"$libdir\"
21871 exec_prefix
="$acl_save_exec_prefix"
21872 prefix
="$acl_save_prefix"
21875 additional_includedir
="$withval/include"
21876 additional_libdir
="$withval/lib"
21886 names_already_handled
=
21887 names_next_round
='iconv '
21888 while test -n "$names_next_round"; do
21889 names_this_round
="$names_next_round"
21891 for name
in $names_this_round; do
21893 for n
in $names_already_handled; do
21894 if test "$n" = "$name"; then
21895 already_handled
=yes
21899 if test -z "$already_handled"; then
21900 names_already_handled
="$names_already_handled $name"
21901 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21902 eval value
=\"\
$HAVE_LIB$uppername\"
21903 if test -n "$value"; then
21904 if test "$value" = yes; then
21905 eval value
=\"\
$LIB$uppername\"
21906 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
21907 eval value
=\"\
$LTLIB$uppername\"
21908 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
21917 if test $use_additional = yes; then
21918 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21919 found_dir
="$additional_libdir"
21920 found_so
="$additional_libdir/lib$name.$shlibext"
21921 if test -f "$additional_libdir/lib$name.la"; then
21922 found_la
="$additional_libdir/lib$name.la"
21925 if test -f "$additional_libdir/lib$name.$libext"; then
21926 found_dir
="$additional_libdir"
21927 found_a
="$additional_libdir/lib$name.$libext"
21928 if test -f "$additional_libdir/lib$name.la"; then
21929 found_la
="$additional_libdir/lib$name.la"
21934 if test "X$found_dir" = "X"; then
21935 for x
in $LDFLAGS $LTLIBICONV; do
21937 acl_save_prefix
="$prefix"
21938 prefix
="$acl_final_prefix"
21939 acl_save_exec_prefix
="$exec_prefix"
21940 exec_prefix
="$acl_final_exec_prefix"
21942 exec_prefix
="$acl_save_exec_prefix"
21943 prefix
="$acl_save_prefix"
21947 dir
=`echo "X$x" | sed -e 's/^X-L//'`
21948 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21950 found_so
="$dir/lib$name.$shlibext"
21951 if test -f "$dir/lib$name.la"; then
21952 found_la
="$dir/lib$name.la"
21955 if test -f "$dir/lib$name.$libext"; then
21957 found_a
="$dir/lib$name.$libext"
21958 if test -f "$dir/lib$name.la"; then
21959 found_la
="$dir/lib$name.la"
21965 if test "X$found_dir" != "X"; then
21970 if test "X$found_dir" != "X"; then
21971 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21972 if test "X$found_so" != "X"; then
21973 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
21974 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21977 for x
in $ltrpathdirs; do
21978 if test "X$x" = "X$found_dir"; then
21983 if test -z "$haveit"; then
21984 ltrpathdirs
="$ltrpathdirs $found_dir"
21986 if test "$hardcode_direct" = yes; then
21987 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21989 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
21990 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
21992 for x
in $rpathdirs; do
21993 if test "X$x" = "X$found_dir"; then
21998 if test -z "$haveit"; then
21999 rpathdirs
="$rpathdirs $found_dir"
22003 for x
in $LDFLAGS $LIBICONV; do
22005 acl_save_prefix
="$prefix"
22006 prefix
="$acl_final_prefix"
22007 acl_save_exec_prefix
="$exec_prefix"
22008 exec_prefix
="$acl_final_exec_prefix"
22010 exec_prefix
="$acl_save_exec_prefix"
22011 prefix
="$acl_save_prefix"
22013 if test "X$x" = "X-L$found_dir"; then
22018 if test -z "$haveit"; then
22019 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
22021 if test "$hardcode_minus_L" != no
; then
22022 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
22024 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
22030 if test "X$found_a" != "X"; then
22031 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
22033 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
22036 additional_includedir
=
22037 case "$found_dir" in
22039 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
22040 additional_includedir
="$basedir/include"
22043 if test "X$additional_includedir" != "X"; then
22044 if test "X$additional_includedir" != "X/usr/include"; then
22046 if test "X$additional_includedir" = "X/usr/local/include"; then
22047 if test -n "$GCC"; then
22049 linux
*) haveit
=yes;;
22053 if test -z "$haveit"; then
22054 for x
in $CPPFLAGS $INCICONV; do
22056 acl_save_prefix
="$prefix"
22057 prefix
="$acl_final_prefix"
22058 acl_save_exec_prefix
="$exec_prefix"
22059 exec_prefix
="$acl_final_exec_prefix"
22061 exec_prefix
="$acl_save_exec_prefix"
22062 prefix
="$acl_save_prefix"
22064 if test "X$x" = "X-I$additional_includedir"; then
22069 if test -z "$haveit"; then
22070 if test -d "$additional_includedir"; then
22071 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
22077 if test -n "$found_la"; then
22078 save_libdir
="$libdir"
22079 case "$found_la" in
22080 */* |
*\\*) .
"$found_la" ;;
22081 *) .
"./$found_la" ;;
22083 libdir
="$save_libdir"
22084 for dep
in $dependency_libs; do
22087 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
22088 if test "X$additional_libdir" != "X/usr/lib"; then
22090 if test "X$additional_libdir" = "X/usr/local/lib"; then
22091 if test -n "$GCC"; then
22093 linux
*) haveit
=yes;;
22097 if test -z "$haveit"; then
22099 for x
in $LDFLAGS $LIBICONV; do
22101 acl_save_prefix
="$prefix"
22102 prefix
="$acl_final_prefix"
22103 acl_save_exec_prefix
="$exec_prefix"
22104 exec_prefix
="$acl_final_exec_prefix"
22106 exec_prefix
="$acl_save_exec_prefix"
22107 prefix
="$acl_save_prefix"
22109 if test "X$x" = "X-L$additional_libdir"; then
22114 if test -z "$haveit"; then
22115 if test -d "$additional_libdir"; then
22116 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
22120 for x
in $LDFLAGS $LTLIBICONV; do
22122 acl_save_prefix
="$prefix"
22123 prefix
="$acl_final_prefix"
22124 acl_save_exec_prefix
="$exec_prefix"
22125 exec_prefix
="$acl_final_exec_prefix"
22127 exec_prefix
="$acl_save_exec_prefix"
22128 prefix
="$acl_save_prefix"
22130 if test "X$x" = "X-L$additional_libdir"; then
22135 if test -z "$haveit"; then
22136 if test -d "$additional_libdir"; then
22137 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
22144 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
22145 if test "$enable_rpath" != no
; then
22147 for x
in $rpathdirs; do
22148 if test "X$x" = "X$dir"; then
22153 if test -z "$haveit"; then
22154 rpathdirs
="$rpathdirs $dir"
22157 for x
in $ltrpathdirs; do
22158 if test "X$x" = "X$dir"; then
22163 if test -z "$haveit"; then
22164 ltrpathdirs
="$ltrpathdirs $dir"
22169 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
22172 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
22175 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
22176 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
22182 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
22183 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
22189 if test "X$rpathdirs" != "X"; then
22190 if test -n "$hardcode_libdir_separator"; then
22192 for found_dir
in $rpathdirs; do
22193 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
22195 acl_save_libdir
="$libdir"
22197 eval flag
=\"$hardcode_libdir_flag_spec\"
22198 libdir
="$acl_save_libdir"
22199 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22201 for found_dir
in $rpathdirs; do
22202 acl_save_libdir
="$libdir"
22203 libdir
="$found_dir"
22204 eval flag
=\"$hardcode_libdir_flag_spec\"
22205 libdir
="$acl_save_libdir"
22206 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
22210 if test "X$ltrpathdirs" != "X"; then
22211 for found_dir
in $ltrpathdirs; do
22212 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
22222 am_save_CPPFLAGS
="$CPPFLAGS"
22224 for element
in $INCICONV; do
22226 for x
in $CPPFLAGS; do
22228 acl_save_prefix
="$prefix"
22229 prefix
="$acl_final_prefix"
22230 acl_save_exec_prefix
="$exec_prefix"
22231 exec_prefix
="$acl_final_exec_prefix"
22233 exec_prefix
="$acl_save_exec_prefix"
22234 prefix
="$acl_save_prefix"
22236 if test "X$x" = "X$element"; then
22241 if test -z "$haveit"; then
22242 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
22247 echo "$as_me:$LINENO: checking for iconv" >&5
22248 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
22249 if test "${am_cv_func_iconv+set}" = set; then
22250 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 am_cv_func_iconv
="no, consider installing GNU libiconv"
22255 if test x
$gcc_no_link = xyes
; then
22256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22258 { (exit 1); exit 1; }; }
22260 cat >conftest.
$ac_ext <<_ACEOF
22263 cat confdefs.h
>>conftest.
$ac_ext
22264 cat >>conftest.
$ac_ext <<_ACEOF
22265 /* end confdefs.h. */
22266 #include <stdlib.h>
22271 iconv_t cd = iconv_open("","");
22272 iconv(cd,NULL,NULL,NULL,NULL);
22278 rm -f conftest.
$ac_objext conftest
$ac_exeext
22279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22280 (eval $ac_link) 2>conftest.er1
22282 grep -v '^ *+' conftest.er1
>conftest.err
22284 cat conftest.err
>&5
22285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22286 (exit $ac_status); } &&
22287 { ac_try
='test -z "$ac_c_werror_flag"
22288 || test ! -s conftest.err'
22289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290 (eval $ac_try) 2>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; } &&
22294 { ac_try
='test -s conftest$ac_exeext'
22295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22296 (eval $ac_try) 2>&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); }; }; then
22300 am_cv_func_iconv
=yes
22302 echo "$as_me: failed program was:" >&5
22303 sed 's/^/| /' conftest.
$ac_ext >&5
22306 rm -f conftest.err conftest.
$ac_objext \
22307 conftest
$ac_exeext conftest.
$ac_ext
22308 if test "$am_cv_func_iconv" != yes; then
22309 am_save_LIBS
="$LIBS"
22310 LIBS
="$LIBS $LIBICONV"
22311 if test x
$gcc_no_link = xyes
; then
22312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22314 { (exit 1); exit 1; }; }
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 <stdlib.h>
22327 iconv_t cd = iconv_open("","");
22328 iconv(cd,NULL,NULL,NULL,NULL);
22334 rm -f conftest.
$ac_objext conftest
$ac_exeext
22335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22336 (eval $ac_link) 2>conftest.er1
22338 grep -v '^ *+' conftest.er1
>conftest.err
22340 cat conftest.err
>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); } &&
22343 { ac_try
='test -z "$ac_c_werror_flag"
22344 || test ! -s conftest.err'
22345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22346 (eval $ac_try) 2>&5
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); }; } &&
22350 { ac_try
='test -s conftest$ac_exeext'
22351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22352 (eval $ac_try) 2>&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); }; }; then
22356 am_cv_lib_iconv
=yes
22357 am_cv_func_iconv
=yes
22359 echo "$as_me: failed program was:" >&5
22360 sed 's/^/| /' conftest.
$ac_ext >&5
22363 rm -f conftest.err conftest.
$ac_objext \
22364 conftest
$ac_exeext conftest.
$ac_ext
22365 LIBS
="$am_save_LIBS"
22369 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
22370 echo "${ECHO_T}$am_cv_func_iconv" >&6
22371 if test "$am_cv_func_iconv" = yes; then
22373 cat >>confdefs.h
<<\_ACEOF
22374 #define HAVE_ICONV 1
22378 if test "$am_cv_lib_iconv" = yes; then
22379 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
22380 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
22381 echo "$as_me:$LINENO: result: $LIBICONV" >&5
22382 echo "${ECHO_T}$LIBICONV" >&6
22384 CPPFLAGS
="$am_save_CPPFLAGS"
22391 if test "$am_cv_func_iconv" = yes; then
22392 echo "$as_me:$LINENO: checking for iconv declaration" >&5
22393 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
22394 if test "${am_cv_proto_iconv+set}" = set; then
22395 echo $ECHO_N "(cached) $ECHO_C" >&6
22398 cat >conftest.
$ac_ext <<_ACEOF
22401 cat confdefs.h
>>conftest.
$ac_ext
22402 cat >>conftest.
$ac_ext <<_ACEOF
22403 /* end confdefs.h. */
22405 #include <stdlib.h>
22411 #if defined(__STDC__) || defined(__cplusplus)
22412 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22425 rm -f conftest.
$ac_objext
22426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22427 (eval $ac_compile) 2>conftest.er1
22429 grep -v '^ *+' conftest.er1
>conftest.err
22431 cat conftest.err
>&5
22432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22433 (exit $ac_status); } &&
22434 { ac_try
='test -z "$ac_c_werror_flag"
22435 || test ! -s conftest.err'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; } &&
22441 { ac_try
='test -s conftest.$ac_objext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 am_cv_proto_iconv_arg1
=""
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.
$ac_ext >&5
22452 am_cv_proto_iconv_arg1
="const"
22454 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22455 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);"
22458 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22459 echo "$as_me:$LINENO: result: ${ac_t:-
22460 }$am_cv_proto_iconv" >&5
22461 echo "${ECHO_T}${ac_t:-
22462 }$am_cv_proto_iconv" >&6
22464 cat >>confdefs.h
<<_ACEOF
22465 #define ICONV_CONST $am_cv_proto_iconv_arg1
22471 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
22472 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
22473 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
22474 echo $ECHO_N "(cached) $ECHO_C" >&6
22476 if test x
$gcc_no_link = xyes
; then
22477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22479 { (exit 1); exit 1; }; }
22481 cat >conftest.
$ac_ext <<_ACEOF
22484 cat confdefs.h
>>conftest.
$ac_ext
22485 cat >>conftest.
$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 #include <locale.h>
22496 rm -f conftest.
$ac_objext conftest
$ac_exeext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22498 (eval $ac_link) 2>conftest.er1
22500 grep -v '^ *+' conftest.er1
>conftest.err
22502 cat conftest.err
>&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); } &&
22505 { ac_try
='test -z "$ac_c_werror_flag"
22506 || test ! -s conftest.err'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; } &&
22512 { ac_try
='test -s conftest$ac_exeext'
22513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22514 (eval $ac_try) 2>&5
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 am_cv_val_LC_MESSAGES
=yes
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.
$ac_ext >&5
22523 am_cv_val_LC_MESSAGES
=no
22525 rm -f conftest.err conftest.
$ac_objext \
22526 conftest
$ac_exeext conftest.
$ac_ext
22528 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
22529 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
22530 if test $am_cv_val_LC_MESSAGES = yes; then
22532 cat >>confdefs.h
<<\_ACEOF
22533 #define HAVE_LC_MESSAGES 1
22538 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
22539 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
22540 if test "${ac_cv_struct_tm+set}" = set; then
22541 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 cat >conftest.
$ac_ext <<_ACEOF
22546 cat confdefs.h
>>conftest.
$ac_ext
22547 cat >>conftest.
$ac_ext <<_ACEOF
22548 /* end confdefs.h. */
22549 #include <sys/types.h>
22555 struct tm *tp; tp->tm_sec;
22560 rm -f conftest.
$ac_objext
22561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22562 (eval $ac_compile) 2>conftest.er1
22564 grep -v '^ *+' conftest.er1
>conftest.err
22566 cat conftest.err
>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } &&
22569 { ac_try
='test -z "$ac_c_werror_flag"
22570 || test ! -s conftest.err'
22571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22572 (eval $ac_try) 2>&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); }; } &&
22576 { ac_try
='test -s conftest.$ac_objext'
22577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22578 (eval $ac_try) 2>&5
22580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22581 (exit $ac_status); }; }; then
22582 ac_cv_struct_tm
=time.h
22584 echo "$as_me: failed program was:" >&5
22585 sed 's/^/| /' conftest.
$ac_ext >&5
22587 ac_cv_struct_tm
=sys
/time.h
22589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22591 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
22592 echo "${ECHO_T}$ac_cv_struct_tm" >&6
22593 if test $ac_cv_struct_tm = sys
/time.h
; then
22595 cat >>confdefs.h
<<\_ACEOF
22596 #define TM_IN_SYS_TIME 1
22601 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
22602 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
22603 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
22604 echo $ECHO_N "(cached) $ECHO_C" >&6
22606 cat >conftest.
$ac_ext <<_ACEOF
22609 cat confdefs.h
>>conftest.
$ac_ext
22610 cat >>conftest.
$ac_ext <<_ACEOF
22611 /* end confdefs.h. */
22612 #include <sys/types.h>
22613 #include <$ac_cv_struct_tm>
22619 static struct tm ac_aggr;
22620 if (ac_aggr.tm_zone)
22626 rm -f conftest.
$ac_objext
22627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22628 (eval $ac_compile) 2>conftest.er1
22630 grep -v '^ *+' conftest.er1
>conftest.err
22632 cat conftest.err
>&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); } &&
22635 { ac_try
='test -z "$ac_c_werror_flag"
22636 || test ! -s conftest.err'
22637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22638 (eval $ac_try) 2>&5
22640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22641 (exit $ac_status); }; } &&
22642 { ac_try
='test -s conftest.$ac_objext'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; }; then
22648 ac_cv_member_struct_tm_tm_zone
=yes
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.
$ac_ext >&5
22653 cat >conftest.
$ac_ext <<_ACEOF
22656 cat confdefs.h
>>conftest.
$ac_ext
22657 cat >>conftest.
$ac_ext <<_ACEOF
22658 /* end confdefs.h. */
22659 #include <sys/types.h>
22660 #include <$ac_cv_struct_tm>
22666 static struct tm ac_aggr;
22667 if (sizeof ac_aggr.tm_zone)
22673 rm -f conftest.
$ac_objext
22674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22675 (eval $ac_compile) 2>conftest.er1
22677 grep -v '^ *+' conftest.er1
>conftest.err
22679 cat conftest.err
>&5
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); } &&
22682 { ac_try
='test -z "$ac_c_werror_flag"
22683 || test ! -s conftest.err'
22684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22685 (eval $ac_try) 2>&5
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); }; } &&
22689 { ac_try
='test -s conftest.$ac_objext'
22690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22691 (eval $ac_try) 2>&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); }; }; then
22695 ac_cv_member_struct_tm_tm_zone
=yes
22697 echo "$as_me: failed program was:" >&5
22698 sed 's/^/| /' conftest.
$ac_ext >&5
22700 ac_cv_member_struct_tm_tm_zone
=no
22702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22704 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
22706 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
22707 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
22708 if test $ac_cv_member_struct_tm_tm_zone = yes; then
22710 cat >>confdefs.h
<<_ACEOF
22711 #define HAVE_STRUCT_TM_TM_ZONE 1
22717 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
22719 cat >>confdefs.h
<<\_ACEOF
22720 #define HAVE_TM_ZONE 1
22724 echo "$as_me:$LINENO: checking for tzname" >&5
22725 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
22726 if test "${ac_cv_var_tzname+set}" = set; then
22727 echo $ECHO_N "(cached) $ECHO_C" >&6
22729 if test x
$gcc_no_link = xyes
; then
22730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22732 { (exit 1); exit 1; }; }
22734 cat >conftest.
$ac_ext <<_ACEOF
22737 cat confdefs.h
>>conftest.
$ac_ext
22738 cat >>conftest.
$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22741 #ifndef tzname /* For SGI. */
22742 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
22753 rm -f conftest.
$ac_objext conftest
$ac_exeext
22754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22755 (eval $ac_link) 2>conftest.er1
22757 grep -v '^ *+' conftest.er1
>conftest.err
22759 cat conftest.err
>&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); } &&
22762 { ac_try
='test -z "$ac_c_werror_flag"
22763 || test ! -s conftest.err'
22764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22765 (eval $ac_try) 2>&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); }; } &&
22769 { ac_try
='test -s conftest$ac_exeext'
22770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22771 (eval $ac_try) 2>&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); }; }; then
22775 ac_cv_var_tzname
=yes
22777 echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.
$ac_ext >&5
22780 ac_cv_var_tzname
=no
22782 rm -f conftest.err conftest.
$ac_objext \
22783 conftest
$ac_exeext conftest.
$ac_ext
22785 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
22786 echo "${ECHO_T}$ac_cv_var_tzname" >&6
22787 if test $ac_cv_var_tzname = yes; then
22789 cat >>confdefs.h
<<\_ACEOF
22790 #define HAVE_TZNAME 1
22798 for ac_func
in gethostbyname_r
22800 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22801 echo "$as_me:$LINENO: checking for $ac_func" >&5
22802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22803 if eval "test \"\${$as_ac_var+set}\" = set"; then
22804 echo $ECHO_N "(cached) $ECHO_C" >&6
22806 if test x
$gcc_no_link = xyes
; then
22807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22809 { (exit 1); exit 1; }; }
22811 cat >conftest.
$ac_ext <<_ACEOF
22814 cat confdefs.h
>>conftest.
$ac_ext
22815 cat >>conftest.
$ac_ext <<_ACEOF
22816 /* end confdefs.h. */
22817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22819 #define $ac_func innocuous_$ac_func
22821 /* System header to define __stub macros and hopefully few prototypes,
22822 which can conflict with char $ac_func (); below.
22823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22824 <limits.h> exists even on freestanding compilers. */
22827 # include <limits.h>
22829 # include <assert.h>
22834 /* Override any gcc2 internal prototype to avoid an error. */
22839 /* We use char because int might match the return type of a gcc2
22840 builtin and then its argument prototype would still apply. */
22842 /* The GNU C library defines this for functions which it implements
22843 to always fail with ENOSYS. Some functions are actually named
22844 something starting with __ and the normal name is an alias. */
22845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22848 char (*f) () = $ac_func;
22857 return f != $ac_func;
22862 rm -f conftest.
$ac_objext conftest
$ac_exeext
22863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22864 (eval $ac_link) 2>conftest.er1
22866 grep -v '^ *+' conftest.er1
>conftest.err
22868 cat conftest.err
>&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); } &&
22871 { ac_try
='test -z "$ac_c_werror_flag"
22872 || test ! -s conftest.err'
22873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22874 (eval $ac_try) 2>&5
22876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22877 (exit $ac_status); }; } &&
22878 { ac_try
='test -s conftest$ac_exeext'
22879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22880 (eval $ac_try) 2>&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); }; }; then
22884 eval "$as_ac_var=yes"
22886 echo "$as_me: failed program was:" >&5
22887 sed 's/^/| /' conftest.
$ac_ext >&5
22889 eval "$as_ac_var=no"
22891 rm -f conftest.err conftest.
$ac_objext \
22892 conftest
$ac_exeext conftest.
$ac_ext
22894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22896 if test `eval echo '${'$as_ac_var'}'` = yes; then
22897 cat >>confdefs.h
<<_ACEOF
22898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22902 cat >>confdefs.h
<<\_ACEOF
22903 #define HAVE_GETHOSTBYNAME_R 1
22906 # There are two different kinds of gethostbyname_r.
22907 # We look for the one that returns `int'.
22908 # Hopefully this check is robust enough.
22909 cat >conftest.
$ac_ext <<_ACEOF
22912 cat confdefs.h
>>conftest.
$ac_ext
22913 cat >>conftest.
$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22919 $EGREP "int.*gethostbyname_r" >/dev
/null
2>&1; then
22922 cat >>confdefs.h
<<\_ACEOF
22923 #define GETHOSTBYNAME_R_RETURNS_INT 1
22930 case " $GCINCS " in
22931 *" -D_REENTRANT "*) ;;
22933 echo "$as_me:$LINENO: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22934 echo $ECHO_N "checking whether gethostbyname_r declaration requires -D_REENTRANT... $ECHO_C" >&6
22935 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then
22936 echo $ECHO_N "(cached) $ECHO_C" >&6
22939 ac_cpp
='$CXXCPP $CPPFLAGS'
22940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22944 cat >conftest.
$ac_ext <<_ACEOF
22947 cat confdefs.h
>>conftest.
$ac_ext
22948 cat >>conftest.
$ac_ext <<_ACEOF
22949 /* end confdefs.h. */
22954 gethostbyname_r("", 0, 0);
22959 rm -f conftest.
$ac_objext
22960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22961 (eval $ac_compile) 2>conftest.er1
22963 grep -v '^ *+' conftest.er1
>conftest.err
22965 cat conftest.err
>&5
22966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967 (exit $ac_status); } &&
22968 { ac_try
='test -z "$ac_cxx_werror_flag"
22969 || test ! -s conftest.err'
22970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22971 (eval $ac_try) 2>&5
22973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22974 (exit $ac_status); }; } &&
22975 { ac_try
='test -s conftest.$ac_objext'
22976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22977 (eval $ac_try) 2>&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); }; }; then
22981 libjava_cv_gethostbyname_r_needs_reentrant
=no
22983 echo "$as_me: failed program was:" >&5
22984 sed 's/^/| /' conftest.
$ac_ext >&5
22986 CPPFLAGS_SAVE
="$CPPFLAGS"
22987 CPPFLAGS
="$CPPFLAGS -D_REENTRANT"
22988 cat >conftest.
$ac_ext <<_ACEOF
22991 cat confdefs.h
>>conftest.
$ac_ext
22992 cat >>conftest.
$ac_ext <<_ACEOF
22993 /* end confdefs.h. */
22998 gethostbyname_r("", 0, 0);
23003 rm -f conftest.
$ac_objext
23004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23005 (eval $ac_compile) 2>conftest.er1
23007 grep -v '^ *+' conftest.er1
>conftest.err
23009 cat conftest.err
>&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); } &&
23012 { ac_try
='test -z "$ac_cxx_werror_flag"
23013 || test ! -s conftest.err'
23014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23015 (eval $ac_try) 2>&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); }; } &&
23019 { ac_try
='test -s conftest.$ac_objext'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; }; then
23025 libjava_cv_gethostbyname_r_needs_reentrant
=yes
23027 echo "$as_me: failed program was:" >&5
23028 sed 's/^/| /' conftest.
$ac_ext >&5
23030 libjava_cv_gethostbyname_r_needs_reentrant
=fail
23032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23033 CPPFLAGS
="$CPPFLAGS_SAVE"
23036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23038 ac_cpp
='$CPP $CPPFLAGS'
23039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23045 echo "$as_me:$LINENO: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
23046 echo "${ECHO_T}$libjava_cv_gethostbyname_r_needs_reentrant" >&6
23047 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes
; then
23049 cat >>confdefs.h
<<\_ACEOF
23050 #define _REENTRANT 1
23057 echo "$as_me:$LINENO: checking for struct hostent_data" >&5
23058 echo $ECHO_N "checking for struct hostent_data... $ECHO_C" >&6
23059 if test "${libjava_cv_struct_hostent_data+set}" = set; then
23060 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 cat >conftest.
$ac_ext <<_ACEOF
23065 cat confdefs.h
>>conftest.
$ac_ext
23066 cat >>conftest.
$ac_ext <<_ACEOF
23067 /* end confdefs.h. */
23069 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
23070 # define _REENTRANT 1
23076 struct hostent_data data;
23081 rm -f conftest.
$ac_objext
23082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23083 (eval $ac_compile) 2>conftest.er1
23085 grep -v '^ *+' conftest.er1
>conftest.err
23087 cat conftest.err
>&5
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } &&
23090 { ac_try
='test -z "$ac_c_werror_flag"
23091 || test ! -s conftest.err'
23092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093 (eval $ac_try) 2>&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; } &&
23097 { ac_try
='test -s conftest.$ac_objext'
23098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 (eval $ac_try) 2>&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); }; }; then
23103 libjava_cv_struct_hostent_data
=yes
23105 echo "$as_me: failed program was:" >&5
23106 sed 's/^/| /' conftest.
$ac_ext >&5
23108 libjava_cv_struct_hostent_data
=no
23110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
23112 echo "$as_me:$LINENO: result: $libjava_cv_struct_hostent_data" >&5
23113 echo "${ECHO_T}$libjava_cv_struct_hostent_data" >&6
23114 if test "x$libjava_cv_struct_hostent_data" = xyes
; then
23116 cat >>confdefs.h
<<\_ACEOF
23117 #define HAVE_STRUCT_HOSTENT_DATA 1
23126 # FIXME: libjava source code expects to find a prototype for
23127 # gethostbyaddr_r in netdb.h. The outer check ensures that
23128 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
23129 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
23130 # linkage check is enough, yet C++ code requires proper prototypes.)
23131 cat >conftest.
$ac_ext <<_ACEOF
23134 cat confdefs.h
>>conftest.
$ac_ext
23135 cat >>conftest.
$ac_ext <<_ACEOF
23136 /* end confdefs.h. */
23140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23141 $EGREP "gethostbyaddr_r" >/dev
/null
2>&1; then
23144 for ac_func
in gethostbyaddr_r
23146 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23147 echo "$as_me:$LINENO: checking for $ac_func" >&5
23148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23149 if eval "test \"\${$as_ac_var+set}\" = set"; then
23150 echo $ECHO_N "(cached) $ECHO_C" >&6
23152 if test x
$gcc_no_link = xyes
; then
23153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23155 { (exit 1); exit 1; }; }
23157 cat >conftest.
$ac_ext <<_ACEOF
23160 cat confdefs.h
>>conftest.
$ac_ext
23161 cat >>conftest.
$ac_ext <<_ACEOF
23162 /* end confdefs.h. */
23163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23165 #define $ac_func innocuous_$ac_func
23167 /* System header to define __stub macros and hopefully few prototypes,
23168 which can conflict with char $ac_func (); below.
23169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23170 <limits.h> exists even on freestanding compilers. */
23173 # include <limits.h>
23175 # include <assert.h>
23180 /* Override any gcc2 internal prototype to avoid an error. */
23185 /* We use char because int might match the return type of a gcc2
23186 builtin and then its argument prototype would still apply. */
23188 /* The GNU C library defines this for functions which it implements
23189 to always fail with ENOSYS. Some functions are actually named
23190 something starting with __ and the normal name is an alias. */
23191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23194 char (*f) () = $ac_func;
23203 return f != $ac_func;
23208 rm -f conftest.
$ac_objext conftest
$ac_exeext
23209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23210 (eval $ac_link) 2>conftest.er1
23212 grep -v '^ *+' conftest.er1
>conftest.err
23214 cat conftest.err
>&5
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); } &&
23217 { ac_try
='test -z "$ac_c_werror_flag"
23218 || test ! -s conftest.err'
23219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23220 (eval $ac_try) 2>&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); }; } &&
23224 { ac_try
='test -s conftest$ac_exeext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 eval "$as_ac_var=yes"
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.
$ac_ext >&5
23235 eval "$as_ac_var=no"
23237 rm -f conftest.err conftest.
$ac_objext \
23238 conftest
$ac_exeext conftest.
$ac_ext
23240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23242 if test `eval echo '${'$as_ac_var'}'` = yes; then
23243 cat >>confdefs.h
<<_ACEOF
23244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23248 cat >>confdefs.h
<<\_ACEOF
23249 #define HAVE_GETHOSTBYADDR_R 1
23252 # There are two different kinds of gethostbyaddr_r.
23253 # We look for the one that returns `int'.
23254 # Hopefully this check is robust enough.
23255 cat >conftest.
$ac_ext <<_ACEOF
23258 cat confdefs.h
>>conftest.
$ac_ext
23259 cat >>conftest.
$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23265 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then
23268 cat >>confdefs.h
<<\_ACEOF
23269 #define GETHOSTBYADDR_R_RETURNS_INT 1
23283 for ac_func
in gethostname
23285 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23286 echo "$as_me:$LINENO: checking for $ac_func" >&5
23287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23288 if eval "test \"\${$as_ac_var+set}\" = set"; then
23289 echo $ECHO_N "(cached) $ECHO_C" >&6
23291 if test x
$gcc_no_link = xyes
; then
23292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23294 { (exit 1); exit 1; }; }
23296 cat >conftest.
$ac_ext <<_ACEOF
23299 cat confdefs.h
>>conftest.
$ac_ext
23300 cat >>conftest.
$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23304 #define $ac_func innocuous_$ac_func
23306 /* System header to define __stub macros and hopefully few prototypes,
23307 which can conflict with char $ac_func (); below.
23308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23309 <limits.h> exists even on freestanding compilers. */
23312 # include <limits.h>
23314 # include <assert.h>
23319 /* Override any gcc2 internal prototype to avoid an error. */
23324 /* We use char because int might match the return type of a gcc2
23325 builtin and then its argument prototype would still apply. */
23327 /* The GNU C library defines this for functions which it implements
23328 to always fail with ENOSYS. Some functions are actually named
23329 something starting with __ and the normal name is an alias. */
23330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23333 char (*f) () = $ac_func;
23342 return f != $ac_func;
23347 rm -f conftest.
$ac_objext conftest
$ac_exeext
23348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23349 (eval $ac_link) 2>conftest.er1
23351 grep -v '^ *+' conftest.er1
>conftest.err
23353 cat conftest.err
>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } &&
23356 { ac_try
='test -z "$ac_c_werror_flag"
23357 || test ! -s conftest.err'
23358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23359 (eval $ac_try) 2>&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); }; } &&
23363 { ac_try
='test -s conftest$ac_exeext'
23364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23365 (eval $ac_try) 2>&5
23367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368 (exit $ac_status); }; }; then
23369 eval "$as_ac_var=yes"
23371 echo "$as_me: failed program was:" >&5
23372 sed 's/^/| /' conftest.
$ac_ext >&5
23374 eval "$as_ac_var=no"
23376 rm -f conftest.err conftest.
$ac_objext \
23377 conftest
$ac_exeext conftest.
$ac_ext
23379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23381 if test `eval echo '${'$as_ac_var'}'` = yes; then
23382 cat >>confdefs.h
<<_ACEOF
23383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23387 cat >>confdefs.h
<<\_ACEOF
23388 #define HAVE_GETHOSTNAME 1
23391 cat >conftest.
$ac_ext <<_ACEOF
23394 cat confdefs.h
>>conftest.
$ac_ext
23395 cat >>conftest.
$ac_ext <<_ACEOF
23396 /* end confdefs.h. */
23397 #include <unistd.h>
23400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23401 $EGREP "gethostname" >/dev
/null
2>&1; then
23404 cat >>confdefs.h
<<\_ACEOF
23405 #define HAVE_GETHOSTNAME_DECL 1
23416 for ac_func
in usleep
23418 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23419 echo "$as_me:$LINENO: checking for $ac_func" >&5
23420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23421 if eval "test \"\${$as_ac_var+set}\" = set"; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23424 if test x
$gcc_no_link = xyes
; then
23425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23427 { (exit 1); exit 1; }; }
23429 cat >conftest.
$ac_ext <<_ACEOF
23432 cat confdefs.h
>>conftest.
$ac_ext
23433 cat >>conftest.
$ac_ext <<_ACEOF
23434 /* end confdefs.h. */
23435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23437 #define $ac_func innocuous_$ac_func
23439 /* System header to define __stub macros and hopefully few prototypes,
23440 which can conflict with char $ac_func (); below.
23441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23442 <limits.h> exists even on freestanding compilers. */
23445 # include <limits.h>
23447 # include <assert.h>
23452 /* Override any gcc2 internal prototype to avoid an error. */
23457 /* We use char because int might match the return type of a gcc2
23458 builtin and then its argument prototype would still apply. */
23460 /* The GNU C library defines this for functions which it implements
23461 to always fail with ENOSYS. Some functions are actually named
23462 something starting with __ and the normal name is an alias. */
23463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23466 char (*f) () = $ac_func;
23475 return f != $ac_func;
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 eval "$as_ac_var=yes"
23504 echo "$as_me: failed program was:" >&5
23505 sed 's/^/| /' conftest.
$ac_ext >&5
23507 eval "$as_ac_var=no"
23509 rm -f conftest.err conftest.
$ac_objext \
23510 conftest
$ac_exeext conftest.
$ac_ext
23512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23514 if test `eval echo '${'$as_ac_var'}'` = yes; then
23515 cat >>confdefs.h
<<_ACEOF
23516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23519 cat >conftest.
$ac_ext <<_ACEOF
23522 cat confdefs.h
>>conftest.
$ac_ext
23523 cat >>conftest.
$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23525 #include <unistd.h>
23528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23529 $EGREP "usleep" >/dev
/null
2>&1; then
23532 cat >>confdefs.h
<<\_ACEOF
23533 #define HAVE_USLEEP_DECL 1
23543 # Look for these functions in the thread library, but only bother
23544 # if using POSIX threads.
23545 if test "$THREADS" = posix
; then
23547 LIBS
="$LIBS $THREADLIBS"
23549 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
23550 # Solaris 7 the name librt is preferred.
23552 for ac_func
in sched_yield
23554 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23555 echo "$as_me:$LINENO: checking for $ac_func" >&5
23556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23557 if eval "test \"\${$as_ac_var+set}\" = set"; then
23558 echo $ECHO_N "(cached) $ECHO_C" >&6
23560 if test x
$gcc_no_link = xyes
; then
23561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23563 { (exit 1); exit 1; }; }
23565 cat >conftest.
$ac_ext <<_ACEOF
23568 cat confdefs.h
>>conftest.
$ac_ext
23569 cat >>conftest.
$ac_ext <<_ACEOF
23570 /* end confdefs.h. */
23571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23573 #define $ac_func innocuous_$ac_func
23575 /* System header to define __stub macros and hopefully few prototypes,
23576 which can conflict with char $ac_func (); below.
23577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23578 <limits.h> exists even on freestanding compilers. */
23581 # include <limits.h>
23583 # include <assert.h>
23588 /* Override any gcc2 internal prototype to avoid an error. */
23593 /* We use char because int might match the return type of a gcc2
23594 builtin and then its argument prototype would still apply. */
23596 /* The GNU C library defines this for functions which it implements
23597 to always fail with ENOSYS. Some functions are actually named
23598 something starting with __ and the normal name is an alias. */
23599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23602 char (*f) () = $ac_func;
23611 return f != $ac_func;
23616 rm -f conftest.
$ac_objext conftest
$ac_exeext
23617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23618 (eval $ac_link) 2>conftest.er1
23620 grep -v '^ *+' conftest.er1
>conftest.err
23622 cat conftest.err
>&5
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } &&
23625 { ac_try
='test -z "$ac_c_werror_flag"
23626 || test ! -s conftest.err'
23627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23628 (eval $ac_try) 2>&5
23630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23631 (exit $ac_status); }; } &&
23632 { ac_try
='test -s conftest$ac_exeext'
23633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23634 (eval $ac_try) 2>&5
23636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637 (exit $ac_status); }; }; then
23638 eval "$as_ac_var=yes"
23640 echo "$as_me: failed program was:" >&5
23641 sed 's/^/| /' conftest.
$ac_ext >&5
23643 eval "$as_ac_var=no"
23645 rm -f conftest.err conftest.
$ac_objext \
23646 conftest
$ac_exeext conftest.
$ac_ext
23648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23650 if test `eval echo '${'$as_ac_var'}'` = yes; then
23651 cat >>confdefs.h
<<_ACEOF
23652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23657 echo "$as_me:$LINENO: checking for sched_yield in -lrt" >&5
23658 echo $ECHO_N "checking for sched_yield in -lrt... $ECHO_C" >&6
23659 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then
23660 echo $ECHO_N "(cached) $ECHO_C" >&6
23662 ac_check_lib_save_LIBS
=$LIBS
23664 if test x
$gcc_no_link = xyes
; then
23665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23667 { (exit 1); exit 1; }; }
23669 cat >conftest.
$ac_ext <<_ACEOF
23672 cat confdefs.h
>>conftest.
$ac_ext
23673 cat >>conftest.
$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23676 /* Override any gcc2 internal prototype to avoid an error. */
23680 /* We use char because int might match the return type of a gcc2
23681 builtin and then its argument prototype would still apply. */
23682 char sched_yield ();
23691 rm -f conftest.
$ac_objext conftest
$ac_exeext
23692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23693 (eval $ac_link) 2>conftest.er1
23695 grep -v '^ *+' conftest.er1
>conftest.err
23697 cat conftest.err
>&5
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); } &&
23700 { ac_try
='test -z "$ac_c_werror_flag"
23701 || test ! -s conftest.err'
23702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23703 (eval $ac_try) 2>&5
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); }; } &&
23707 { ac_try
='test -s conftest$ac_exeext'
23708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23709 (eval $ac_try) 2>&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); }; }; then
23713 ac_cv_lib_rt_sched_yield
=yes
23715 echo "$as_me: failed program was:" >&5
23716 sed 's/^/| /' conftest.
$ac_ext >&5
23718 ac_cv_lib_rt_sched_yield
=no
23720 rm -f conftest.err conftest.
$ac_objext \
23721 conftest
$ac_exeext conftest.
$ac_ext
23722 LIBS
=$ac_check_lib_save_LIBS
23724 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_sched_yield" >&5
23725 echo "${ECHO_T}$ac_cv_lib_rt_sched_yield" >&6
23726 if test $ac_cv_lib_rt_sched_yield = yes; then
23728 cat >>confdefs.h
<<\_ACEOF
23729 #define HAVE_SCHED_YIELD 1
23732 THREADLIBS
="$THREADLIBS -lrt"
23733 THREADSPEC
="$THREADSPEC -lrt"
23736 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
23737 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
23738 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
23739 echo $ECHO_N "(cached) $ECHO_C" >&6
23741 ac_check_lib_save_LIBS
=$LIBS
23742 LIBS
="-lposix4 $LIBS"
23743 if test x
$gcc_no_link = xyes
; then
23744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23746 { (exit 1); exit 1; }; }
23748 cat >conftest.
$ac_ext <<_ACEOF
23751 cat confdefs.h
>>conftest.
$ac_ext
23752 cat >>conftest.
$ac_ext <<_ACEOF
23753 /* end confdefs.h. */
23755 /* Override any gcc2 internal prototype to avoid an error. */
23759 /* We use char because int might match the return type of a gcc2
23760 builtin and then its argument prototype would still apply. */
23761 char sched_yield ();
23770 rm -f conftest.
$ac_objext conftest
$ac_exeext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23772 (eval $ac_link) 2>conftest.er1
23774 grep -v '^ *+' conftest.er1
>conftest.err
23776 cat conftest.err
>&5
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23778 (exit $ac_status); } &&
23779 { ac_try
='test -z "$ac_c_werror_flag"
23780 || test ! -s conftest.err'
23781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23782 (eval $ac_try) 2>&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); }; } &&
23786 { ac_try
='test -s conftest$ac_exeext'
23787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23788 (eval $ac_try) 2>&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); }; }; then
23792 ac_cv_lib_posix4_sched_yield
=yes
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.
$ac_ext >&5
23797 ac_cv_lib_posix4_sched_yield
=no
23799 rm -f conftest.err conftest.
$ac_objext \
23800 conftest
$ac_exeext conftest.
$ac_ext
23801 LIBS
=$ac_check_lib_save_LIBS
23803 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
23804 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
23805 if test $ac_cv_lib_posix4_sched_yield = yes; then
23807 cat >>confdefs.h
<<\_ACEOF
23808 #define HAVE_SCHED_YIELD 1
23811 THREADLIBS
="$THREADLIBS -lposix4"
23812 THREADSPEC
="$THREADSPEC -lposix4"
23821 echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
23822 echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6
23823 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
23824 echo $ECHO_N "(cached) $ECHO_C" >&6
23826 ac_check_lib_save_LIBS
=$LIBS
23828 if test x
$gcc_no_link = xyes
; then
23829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23831 { (exit 1); exit 1; }; }
23833 cat >conftest.
$ac_ext <<_ACEOF
23836 cat confdefs.h
>>conftest.
$ac_ext
23837 cat >>conftest.
$ac_ext <<_ACEOF
23838 /* end confdefs.h. */
23840 /* Override any gcc2 internal prototype to avoid an error. */
23844 /* We use char because int might match the return type of a gcc2
23845 builtin and then its argument prototype would still apply. */
23846 char clock_gettime ();
23855 rm -f conftest.
$ac_objext conftest
$ac_exeext
23856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23857 (eval $ac_link) 2>conftest.er1
23859 grep -v '^ *+' conftest.er1
>conftest.err
23861 cat conftest.err
>&5
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); } &&
23864 { ac_try
='test -z "$ac_c_werror_flag"
23865 || test ! -s conftest.err'
23866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23867 (eval $ac_try) 2>&5
23869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23870 (exit $ac_status); }; } &&
23871 { ac_try
='test -s conftest$ac_exeext'
23872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23873 (eval $ac_try) 2>&5
23875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23876 (exit $ac_status); }; }; then
23877 ac_cv_lib_rt_clock_gettime
=yes
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.
$ac_ext >&5
23882 ac_cv_lib_rt_clock_gettime
=no
23884 rm -f conftest.err conftest.
$ac_objext \
23885 conftest
$ac_exeext conftest.
$ac_ext
23886 LIBS
=$ac_check_lib_save_LIBS
23888 echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
23889 echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6
23890 if test $ac_cv_lib_rt_clock_gettime = yes; then
23893 cat >>confdefs.h
<<\_ACEOF
23894 #define HAVE_CLOCK_GETTIME 1
23897 case "$THREADSPEC" in
23900 THREADSPEC
="$THREADSPEC -lrt"
23901 THREADLIBS
="$THREADLIBS -lrt"
23909 # We can save a little space at runtime if the mutex has m_count
23910 # or __m_count. This is a nice hack for Linux.
23911 cat >conftest.
$ac_ext <<_ACEOF
23914 cat confdefs.h
>>conftest.
$ac_ext
23915 cat >>conftest.
$ac_ext <<_ACEOF
23916 /* end confdefs.h. */
23917 #include <pthread.h>
23922 extern pthread_mutex_t *mutex; int q = mutex->m_count;
23928 rm -f conftest.
$ac_objext
23929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23930 (eval $ac_compile) 2>conftest.er1
23932 grep -v '^ *+' conftest.er1
>conftest.err
23934 cat conftest.err
>&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); } &&
23937 { ac_try
='test -z "$ac_c_werror_flag"
23938 || test ! -s conftest.err'
23939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23940 (eval $ac_try) 2>&5
23942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23943 (exit $ac_status); }; } &&
23944 { ac_try
='test -s conftest.$ac_objext'
23945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23946 (eval $ac_try) 2>&5
23948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23949 (exit $ac_status); }; }; then
23951 cat >>confdefs.h
<<\_ACEOF
23952 #define PTHREAD_MUTEX_HAVE_M_COUNT 1
23956 echo "$as_me: failed program was:" >&5
23957 sed 's/^/| /' conftest.
$ac_ext >&5
23960 cat >conftest.
$ac_ext <<_ACEOF
23963 cat confdefs.h
>>conftest.
$ac_ext
23964 cat >>conftest.
$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 #include <pthread.h>
23971 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
23977 rm -f conftest.
$ac_objext
23978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23979 (eval $ac_compile) 2>conftest.er1
23981 grep -v '^ *+' conftest.er1
>conftest.err
23983 cat conftest.err
>&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); } &&
23986 { ac_try
='test -z "$ac_c_werror_flag"
23987 || test ! -s conftest.err'
23988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23989 (eval $ac_try) 2>&5
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); }; } &&
23993 { ac_try
='test -s conftest.$ac_objext'
23994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23995 (eval $ac_try) 2>&5
23997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23998 (exit $ac_status); }; }; then
24000 cat >>confdefs.h
<<\_ACEOF
24001 #define PTHREAD_MUTEX_HAVE___M_COUNT 1
24005 echo "$as_me: failed program was:" >&5
24006 sed 's/^/| /' conftest.
$ac_ext >&5
24009 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
24014 # We require a way to get the time.
24019 for ac_func
in gettimeofday
time ftime
24021 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24022 echo "$as_me:$LINENO: checking for $ac_func" >&5
24023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24024 if eval "test \"\${$as_ac_var+set}\" = set"; then
24025 echo $ECHO_N "(cached) $ECHO_C" >&6
24027 if test x
$gcc_no_link = xyes
; then
24028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24030 { (exit 1); exit 1; }; }
24032 cat >conftest.
$ac_ext <<_ACEOF
24035 cat confdefs.h
>>conftest.
$ac_ext
24036 cat >>conftest.
$ac_ext <<_ACEOF
24037 /* end confdefs.h. */
24038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24040 #define $ac_func innocuous_$ac_func
24042 /* System header to define __stub macros and hopefully few prototypes,
24043 which can conflict with char $ac_func (); below.
24044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24045 <limits.h> exists even on freestanding compilers. */
24048 # include <limits.h>
24050 # include <assert.h>
24055 /* Override any gcc2 internal prototype to avoid an error. */
24060 /* We use char because int might match the return type of a gcc2
24061 builtin and then its argument prototype would still apply. */
24063 /* The GNU C library defines this for functions which it implements
24064 to always fail with ENOSYS. Some functions are actually named
24065 something starting with __ and the normal name is an alias. */
24066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24069 char (*f) () = $ac_func;
24078 return f != $ac_func;
24083 rm -f conftest.
$ac_objext conftest
$ac_exeext
24084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24085 (eval $ac_link) 2>conftest.er1
24087 grep -v '^ *+' conftest.er1
>conftest.err
24089 cat conftest.err
>&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } &&
24092 { ac_try
='test -z "$ac_c_werror_flag"
24093 || test ! -s conftest.err'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; } &&
24099 { ac_try
='test -s conftest$ac_exeext'
24100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24101 (eval $ac_try) 2>&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); }; }; then
24105 eval "$as_ac_var=yes"
24107 echo "$as_me: failed program was:" >&5
24108 sed 's/^/| /' conftest.
$ac_ext >&5
24110 eval "$as_ac_var=no"
24112 rm -f conftest.err conftest.
$ac_objext \
24113 conftest
$ac_exeext conftest.
$ac_ext
24115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24117 if test `eval echo '${'$as_ac_var'}'` = yes; then
24118 cat >>confdefs.h
<<_ACEOF
24119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24125 if test "$time_found" = no
; then
24126 { { echo "$as_me:$LINENO: error: no function found to get the time" >&5
24127 echo "$as_me: error: no function found to get the time" >&2;}
24128 { (exit 1); exit 1; }; }
24132 for ac_func
in memmove
24134 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24135 echo "$as_me:$LINENO: checking for $ac_func" >&5
24136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24137 if eval "test \"\${$as_ac_var+set}\" = set"; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24140 if test x
$gcc_no_link = xyes
; then
24141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24143 { (exit 1); exit 1; }; }
24145 cat >conftest.
$ac_ext <<_ACEOF
24148 cat confdefs.h
>>conftest.
$ac_ext
24149 cat >>conftest.
$ac_ext <<_ACEOF
24150 /* end confdefs.h. */
24151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24153 #define $ac_func innocuous_$ac_func
24155 /* System header to define __stub macros and hopefully few prototypes,
24156 which can conflict with char $ac_func (); below.
24157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24158 <limits.h> exists even on freestanding compilers. */
24161 # include <limits.h>
24163 # include <assert.h>
24168 /* Override any gcc2 internal prototype to avoid an error. */
24173 /* We use char because int might match the return type of a gcc2
24174 builtin and then its argument prototype would still apply. */
24176 /* The GNU C library defines this for functions which it implements
24177 to always fail with ENOSYS. Some functions are actually named
24178 something starting with __ and the normal name is an alias. */
24179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24182 char (*f) () = $ac_func;
24191 return f != $ac_func;
24196 rm -f conftest.
$ac_objext conftest
$ac_exeext
24197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24198 (eval $ac_link) 2>conftest.er1
24200 grep -v '^ *+' conftest.er1
>conftest.err
24202 cat conftest.err
>&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } &&
24205 { ac_try
='test -z "$ac_c_werror_flag"
24206 || test ! -s conftest.err'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; } &&
24212 { ac_try
='test -s conftest$ac_exeext'
24213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24214 (eval $ac_try) 2>&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); }; }; then
24218 eval "$as_ac_var=yes"
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.
$ac_ext >&5
24223 eval "$as_ac_var=no"
24225 rm -f conftest.err conftest.
$ac_objext \
24226 conftest
$ac_exeext conftest.
$ac_ext
24228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24230 if test `eval echo '${'$as_ac_var'}'` = yes; then
24231 cat >>confdefs.h
<<_ACEOF
24232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24239 # We require memcpy.
24242 for ac_func
in memcpy
24244 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24245 echo "$as_me:$LINENO: checking for $ac_func" >&5
24246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24247 if eval "test \"\${$as_ac_var+set}\" = set"; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24250 if test x
$gcc_no_link = xyes
; then
24251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24253 { (exit 1); exit 1; }; }
24255 cat >conftest.
$ac_ext <<_ACEOF
24258 cat confdefs.h
>>conftest.
$ac_ext
24259 cat >>conftest.
$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24263 #define $ac_func innocuous_$ac_func
24265 /* System header to define __stub macros and hopefully few prototypes,
24266 which can conflict with char $ac_func (); below.
24267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24268 <limits.h> exists even on freestanding compilers. */
24271 # include <limits.h>
24273 # include <assert.h>
24278 /* Override any gcc2 internal prototype to avoid an error. */
24283 /* We use char because int might match the return type of a gcc2
24284 builtin and then its argument prototype would still apply. */
24286 /* The GNU C library defines this for functions which it implements
24287 to always fail with ENOSYS. Some functions are actually named
24288 something starting with __ and the normal name is an alias. */
24289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24292 char (*f) () = $ac_func;
24301 return f != $ac_func;
24306 rm -f conftest.
$ac_objext conftest
$ac_exeext
24307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24308 (eval $ac_link) 2>conftest.er1
24310 grep -v '^ *+' conftest.er1
>conftest.err
24312 cat conftest.err
>&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } &&
24315 { ac_try
='test -z "$ac_c_werror_flag"
24316 || test ! -s conftest.err'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; } &&
24322 { ac_try
='test -s conftest$ac_exeext'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 eval "$as_ac_var=yes"
24330 echo "$as_me: failed program was:" >&5
24331 sed 's/^/| /' conftest.
$ac_ext >&5
24333 eval "$as_ac_var=no"
24335 rm -f conftest.err conftest.
$ac_objext \
24336 conftest
$ac_exeext conftest.
$ac_ext
24338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24340 if test `eval echo '${'$as_ac_var'}'` = yes; then
24341 cat >>confdefs.h
<<_ACEOF
24342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24348 if test "$memcpy_found" = no
; then
24349 { { echo "$as_me:$LINENO: error: memcpy is required" >&5
24350 echo "$as_me: error: memcpy is required" >&2;}
24351 { (exit 1); exit 1; }; }
24353 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
24354 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
24355 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
24356 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
24357 echo $ECHO_N "(cached) $ECHO_C" >&6
24359 ac_check_lib_save_LIBS
=$LIBS
24361 if test x
$gcc_no_link = xyes
; then
24362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24364 { (exit 1); exit 1; }; }
24366 cat >conftest.
$ac_ext <<_ACEOF
24369 cat confdefs.h
>>conftest.
$ac_ext
24370 cat >>conftest.
$ac_ext <<_ACEOF
24371 /* end confdefs.h. */
24373 /* Override any gcc2 internal prototype to avoid an error. */
24377 /* We use char because int might match the return type of a gcc2
24378 builtin and then its argument prototype would still apply. */
24388 rm -f conftest.
$ac_objext conftest
$ac_exeext
24389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24390 (eval $ac_link) 2>conftest.er1
24392 grep -v '^ *+' conftest.er1
>conftest.err
24394 cat conftest.err
>&5
24395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24396 (exit $ac_status); } &&
24397 { ac_try
='test -z "$ac_c_werror_flag"
24398 || test ! -s conftest.err'
24399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24400 (eval $ac_try) 2>&5
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); }; } &&
24404 { ac_try
='test -s conftest$ac_exeext'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; }; then
24410 ac_cv_lib_dl_dlopen
=yes
24412 echo "$as_me: failed program was:" >&5
24413 sed 's/^/| /' conftest.
$ac_ext >&5
24415 ac_cv_lib_dl_dlopen
=no
24417 rm -f conftest.err conftest.
$ac_objext \
24418 conftest
$ac_exeext conftest.
$ac_ext
24419 LIBS
=$ac_check_lib_save_LIBS
24421 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
24422 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
24423 if test $ac_cv_lib_dl_dlopen = yes; then
24426 cat >>confdefs.h
<<\_ACEOF
24427 #define HAVE_DLOPEN 1
24432 echo "$as_me:$LINENO: checking for dlopen in -ldld" >&5
24433 echo $ECHO_N "checking for dlopen in -ldld... $ECHO_C" >&6
24434 if test "${ac_cv_lib_dld_dlopen+set}" = set; then
24435 echo $ECHO_N "(cached) $ECHO_C" >&6
24437 ac_check_lib_save_LIBS
=$LIBS
24439 if test x
$gcc_no_link = xyes
; then
24440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24442 { (exit 1); exit 1; }; }
24444 cat >conftest.
$ac_ext <<_ACEOF
24447 cat confdefs.h
>>conftest.
$ac_ext
24448 cat >>conftest.
$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24451 /* Override any gcc2 internal prototype to avoid an error. */
24455 /* We use char because int might match the return type of a gcc2
24456 builtin and then its argument prototype would still apply. */
24466 rm -f conftest.
$ac_objext conftest
$ac_exeext
24467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24468 (eval $ac_link) 2>conftest.er1
24470 grep -v '^ *+' conftest.er1
>conftest.err
24472 cat conftest.err
>&5
24473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24474 (exit $ac_status); } &&
24475 { ac_try
='test -z "$ac_c_werror_flag"
24476 || test ! -s conftest.err'
24477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24478 (eval $ac_try) 2>&5
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); }; } &&
24482 { ac_try
='test -s conftest$ac_exeext'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; }; then
24488 ac_cv_lib_dld_dlopen
=yes
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.
$ac_ext >&5
24493 ac_cv_lib_dld_dlopen
=no
24495 rm -f conftest.err conftest.
$ac_objext \
24496 conftest
$ac_exeext conftest.
$ac_ext
24497 LIBS
=$ac_check_lib_save_LIBS
24499 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dlopen" >&5
24500 echo "${ECHO_T}$ac_cv_lib_dld_dlopen" >&6
24501 if test $ac_cv_lib_dld_dlopen = yes; then
24504 cat >>confdefs.h
<<\_ACEOF
24505 #define HAVE_DLOPEN 1
24513 # Some library-finding code we stole from Tcl.
24514 #--------------------------------------------------------------------
24515 # Check for the existence of the -lsocket and -lnsl libraries.
24516 # The order here is important, so that they end up in the right
24517 # order in the command line generated by make. Here are some
24518 # special considerations:
24519 # 1. Use "connect" and "accept" to check for -lsocket, and
24520 # "gethostbyname" to check for -lnsl.
24521 # 2. Use each function name only once: can't redo a check because
24522 # autoconf caches the results of the last check and won't redo it.
24523 # 3. Use -lnsl and -lsocket only if they supply procedures that
24524 # aren't already present in the normal libraries. This is because
24525 # IRIX 5.2 has libraries, but they aren't needed and they're
24526 # bogus: they goof up name resolution if used.
24527 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
24528 # To get around this problem, check for both libraries together
24529 # if -lsocket doesn't work by itself.
24530 #--------------------------------------------------------------------
24532 echo "$as_me:$LINENO: checking for socket libraries" >&5
24533 echo $ECHO_N "checking for socket libraries... $ECHO_C" >&6
24534 if test "${gcj_cv_lib_sockets+set}" = set; then
24535 echo $ECHO_N "(cached) $ECHO_C" >&6
24537 gcj_cv_lib_sockets
=
24539 unset ac_cv_func_connect
24540 echo "$as_me:$LINENO: checking for connect" >&5
24541 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24542 if test "${ac_cv_func_connect+set}" = set; then
24543 echo $ECHO_N "(cached) $ECHO_C" >&6
24545 if test x
$gcc_no_link = xyes
; then
24546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24548 { (exit 1); exit 1; }; }
24550 cat >conftest.
$ac_ext <<_ACEOF
24553 cat confdefs.h
>>conftest.
$ac_ext
24554 cat >>conftest.
$ac_ext <<_ACEOF
24555 /* end confdefs.h. */
24556 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
24557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24558 #define connect innocuous_connect
24560 /* System header to define __stub macros and hopefully few prototypes,
24561 which can conflict with char connect (); below.
24562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24563 <limits.h> exists even on freestanding compilers. */
24566 # include <limits.h>
24568 # include <assert.h>
24573 /* Override any gcc2 internal prototype to avoid an error. */
24578 /* We use char because int might match the return type of a gcc2
24579 builtin and then its argument prototype would still apply. */
24581 /* The GNU C library defines this for functions which it implements
24582 to always fail with ENOSYS. Some functions are actually named
24583 something starting with __ and the normal name is an alias. */
24584 #if defined (__stub_connect) || defined (__stub___connect)
24587 char (*f) () = connect;
24596 return f != connect;
24601 rm -f conftest.
$ac_objext conftest
$ac_exeext
24602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24603 (eval $ac_link) 2>conftest.er1
24605 grep -v '^ *+' conftest.er1
>conftest.err
24607 cat conftest.err
>&5
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); } &&
24610 { ac_try
='test -z "$ac_c_werror_flag"
24611 || test ! -s conftest.err'
24612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24613 (eval $ac_try) 2>&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); }; } &&
24617 { ac_try
='test -s conftest$ac_exeext'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; }; then
24623 ac_cv_func_connect
=yes
24625 echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.
$ac_ext >&5
24628 ac_cv_func_connect
=no
24630 rm -f conftest.err conftest.
$ac_objext \
24631 conftest
$ac_exeext conftest.
$ac_ext
24633 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24634 echo "${ECHO_T}$ac_cv_func_connect" >&6
24635 if test $ac_cv_func_connect = yes; then
24641 if test "$gcj_checkSocket" = 1; then
24642 unset ac_cv_func_connect
24643 echo "$as_me:$LINENO: checking for main in -lsocket" >&5
24644 echo $ECHO_N "checking for main in -lsocket... $ECHO_C" >&6
24645 if test "${ac_cv_lib_socket_main+set}" = set; then
24646 echo $ECHO_N "(cached) $ECHO_C" >&6
24648 ac_check_lib_save_LIBS
=$LIBS
24649 LIBS
="-lsocket $LIBS"
24650 if test x
$gcc_no_link = xyes
; then
24651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24653 { (exit 1); exit 1; }; }
24655 cat >conftest.
$ac_ext <<_ACEOF
24658 cat confdefs.h
>>conftest.
$ac_ext
24659 cat >>conftest.
$ac_ext <<_ACEOF
24660 /* end confdefs.h. */
24671 rm -f conftest.
$ac_objext conftest
$ac_exeext
24672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24673 (eval $ac_link) 2>conftest.er1
24675 grep -v '^ *+' conftest.er1
>conftest.err
24677 cat conftest.err
>&5
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); } &&
24680 { ac_try
='test -z "$ac_c_werror_flag"
24681 || test ! -s conftest.err'
24682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683 (eval $ac_try) 2>&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); }; } &&
24687 { ac_try
='test -s conftest$ac_exeext'
24688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24689 (eval $ac_try) 2>&5
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); }; }; then
24693 ac_cv_lib_socket_main
=yes
24695 echo "$as_me: failed program was:" >&5
24696 sed 's/^/| /' conftest.
$ac_ext >&5
24698 ac_cv_lib_socket_main
=no
24700 rm -f conftest.err conftest.
$ac_objext \
24701 conftest
$ac_exeext conftest.
$ac_ext
24702 LIBS
=$ac_check_lib_save_LIBS
24704 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_main" >&5
24705 echo "${ECHO_T}$ac_cv_lib_socket_main" >&6
24706 if test $ac_cv_lib_socket_main = yes; then
24707 gcj_cv_lib_sockets
="-lsocket"
24713 if test "$gcj_checkBoth" = 1; then
24715 LIBS
="$LIBS -lsocket -lnsl"
24716 unset ac_cv_func_accept
24717 echo "$as_me:$LINENO: checking for accept" >&5
24718 echo $ECHO_N "checking for accept... $ECHO_C" >&6
24719 if test "${ac_cv_func_accept+set}" = set; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6
24722 if test x
$gcc_no_link = xyes
; then
24723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24725 { (exit 1); exit 1; }; }
24727 cat >conftest.
$ac_ext <<_ACEOF
24730 cat confdefs.h
>>conftest.
$ac_ext
24731 cat >>conftest.
$ac_ext <<_ACEOF
24732 /* end confdefs.h. */
24733 /* Define accept to an innocuous variant, in case <limits.h> declares accept.
24734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24735 #define accept innocuous_accept
24737 /* System header to define __stub macros and hopefully few prototypes,
24738 which can conflict with char accept (); below.
24739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24740 <limits.h> exists even on freestanding compilers. */
24743 # include <limits.h>
24745 # include <assert.h>
24750 /* Override any gcc2 internal prototype to avoid an error. */
24755 /* We use char because int might match the return type of a gcc2
24756 builtin and then its argument prototype would still apply. */
24758 /* The GNU C library defines this for functions which it implements
24759 to always fail with ENOSYS. Some functions are actually named
24760 something starting with __ and the normal name is an alias. */
24761 #if defined (__stub_accept) || defined (__stub___accept)
24764 char (*f) () = accept;
24773 return f != accept;
24778 rm -f conftest.
$ac_objext conftest
$ac_exeext
24779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24780 (eval $ac_link) 2>conftest.er1
24782 grep -v '^ *+' conftest.er1
>conftest.err
24784 cat conftest.err
>&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); } &&
24787 { ac_try
='test -z "$ac_c_werror_flag"
24788 || test ! -s conftest.err'
24789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24790 (eval $ac_try) 2>&5
24792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24793 (exit $ac_status); }; } &&
24794 { ac_try
='test -s conftest$ac_exeext'
24795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24796 (eval $ac_try) 2>&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); }; }; then
24800 ac_cv_func_accept
=yes
24802 echo "$as_me: failed program was:" >&5
24803 sed 's/^/| /' conftest.
$ac_ext >&5
24805 ac_cv_func_accept
=no
24807 rm -f conftest.err conftest.
$ac_objext \
24808 conftest
$ac_exeext conftest.
$ac_ext
24810 echo "$as_me:$LINENO: result: $ac_cv_func_accept" >&5
24811 echo "${ECHO_T}$ac_cv_func_accept" >&6
24812 if test $ac_cv_func_accept = yes; then
24814 gcj_cv_lib_sockets
="-lsocket -lnsl"
24817 unset ac_cv_func_accept
24820 unset ac_cv_func_gethostbyname
24822 LIBS
="$LIBS $gcj_cv_lib_sockets"
24823 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24824 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24825 if test "${ac_cv_func_gethostbyname+set}" = set; then
24826 echo $ECHO_N "(cached) $ECHO_C" >&6
24828 if test x
$gcc_no_link = xyes
; then
24829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24831 { (exit 1); exit 1; }; }
24833 cat >conftest.
$ac_ext <<_ACEOF
24836 cat confdefs.h
>>conftest.
$ac_ext
24837 cat >>conftest.
$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
24840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24841 #define gethostbyname innocuous_gethostbyname
24843 /* System header to define __stub macros and hopefully few prototypes,
24844 which can conflict with char gethostbyname (); below.
24845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24846 <limits.h> exists even on freestanding compilers. */
24849 # include <limits.h>
24851 # include <assert.h>
24854 #undef gethostbyname
24856 /* Override any gcc2 internal prototype to avoid an error. */
24861 /* We use char because int might match the return type of a gcc2
24862 builtin and then its argument prototype would still apply. */
24863 char gethostbyname ();
24864 /* The GNU C library defines this for functions which it implements
24865 to always fail with ENOSYS. Some functions are actually named
24866 something starting with __ and the normal name is an alias. */
24867 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24870 char (*f) () = gethostbyname;
24879 return f != gethostbyname;
24884 rm -f conftest.
$ac_objext conftest
$ac_exeext
24885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24886 (eval $ac_link) 2>conftest.er1
24888 grep -v '^ *+' conftest.er1
>conftest.err
24890 cat conftest.err
>&5
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); } &&
24893 { ac_try
='test -z "$ac_c_werror_flag"
24894 || test ! -s conftest.err'
24895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24896 (eval $ac_try) 2>&5
24898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24899 (exit $ac_status); }; } &&
24900 { ac_try
='test -s conftest$ac_exeext'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; }; then
24906 ac_cv_func_gethostbyname
=yes
24908 echo "$as_me: failed program was:" >&5
24909 sed 's/^/| /' conftest.
$ac_ext >&5
24911 ac_cv_func_gethostbyname
=no
24913 rm -f conftest.err conftest.
$ac_objext \
24914 conftest
$ac_exeext conftest.
$ac_ext
24916 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24917 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24918 if test $ac_cv_func_gethostbyname = yes; then
24921 echo "$as_me:$LINENO: checking for main in -lnsl" >&5
24922 echo $ECHO_N "checking for main in -lnsl... $ECHO_C" >&6
24923 if test "${ac_cv_lib_nsl_main+set}" = set; then
24924 echo $ECHO_N "(cached) $ECHO_C" >&6
24926 ac_check_lib_save_LIBS
=$LIBS
24928 if test x
$gcc_no_link = xyes
; then
24929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24931 { (exit 1); exit 1; }; }
24933 cat >conftest.
$ac_ext <<_ACEOF
24936 cat confdefs.h
>>conftest.
$ac_ext
24937 cat >>conftest.
$ac_ext <<_ACEOF
24938 /* end confdefs.h. */
24949 rm -f conftest.
$ac_objext conftest
$ac_exeext
24950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24951 (eval $ac_link) 2>conftest.er1
24953 grep -v '^ *+' conftest.er1
>conftest.err
24955 cat conftest.err
>&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } &&
24958 { ac_try
='test -z "$ac_c_werror_flag"
24959 || test ! -s conftest.err'
24960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24961 (eval $ac_try) 2>&5
24963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24964 (exit $ac_status); }; } &&
24965 { ac_try
='test -s conftest$ac_exeext'
24966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24967 (eval $ac_try) 2>&5
24969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24970 (exit $ac_status); }; }; then
24971 ac_cv_lib_nsl_main
=yes
24973 echo "$as_me: failed program was:" >&5
24974 sed 's/^/| /' conftest.
$ac_ext >&5
24976 ac_cv_lib_nsl_main
=no
24978 rm -f conftest.err conftest.
$ac_objext \
24979 conftest
$ac_exeext conftest.
$ac_ext
24980 LIBS
=$ac_check_lib_save_LIBS
24982 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_main" >&5
24983 echo "${ECHO_T}$ac_cv_lib_nsl_main" >&6
24984 if test $ac_cv_lib_nsl_main = yes; then
24985 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
24990 unset ac_cv_func_gethostbyname
24994 echo "$as_me:$LINENO: result: $gcj_cv_lib_sockets" >&5
24995 echo "${ECHO_T}$gcj_cv_lib_sockets" >&6
24996 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
24998 if test "$with_system_zlib" = yes; then
24999 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25000 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25001 if test "${ac_cv_lib_z_deflate+set}" = set; then
25002 echo $ECHO_N "(cached) $ECHO_C" >&6
25004 ac_check_lib_save_LIBS
=$LIBS
25006 if test x
$gcc_no_link = xyes
; then
25007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25009 { (exit 1); exit 1; }; }
25011 cat >conftest.
$ac_ext <<_ACEOF
25014 cat confdefs.h
>>conftest.
$ac_ext
25015 cat >>conftest.
$ac_ext <<_ACEOF
25016 /* end confdefs.h. */
25018 /* Override any gcc2 internal prototype to avoid an error. */
25022 /* We use char because int might match the return type of a gcc2
25023 builtin and then its argument prototype would still apply. */
25033 rm -f conftest.
$ac_objext conftest
$ac_exeext
25034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25035 (eval $ac_link) 2>conftest.er1
25037 grep -v '^ *+' conftest.er1
>conftest.err
25039 cat conftest.err
>&5
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); } &&
25042 { ac_try
='test -z "$ac_c_werror_flag"
25043 || test ! -s conftest.err'
25044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25045 (eval $ac_try) 2>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); }; } &&
25049 { ac_try
='test -s conftest$ac_exeext'
25050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25051 (eval $ac_try) 2>&5
25053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25054 (exit $ac_status); }; }; then
25055 ac_cv_lib_z_deflate
=yes
25057 echo "$as_me: failed program was:" >&5
25058 sed 's/^/| /' conftest.
$ac_ext >&5
25060 ac_cv_lib_z_deflate
=no
25062 rm -f conftest.err conftest.
$ac_objext \
25063 conftest
$ac_exeext conftest.
$ac_ext
25064 LIBS
=$ac_check_lib_save_LIBS
25066 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25067 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25068 if test $ac_cv_lib_z_deflate = yes; then
25076 # Test for Gtk stuff, if asked for.
25077 if test "$use_gtk_awt" = yes; then
25081 if test -z "$PKG_CONFIG"; then
25082 # Extract the first word of "pkg-config", so it can be a program name with args.
25083 set dummy pkg-config
; ac_word
=$2
25084 echo "$as_me:$LINENO: checking for $ac_word" >&5
25085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25086 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25087 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 case $PKG_CONFIG in
25091 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25095 for as_dir
in $PATH
25098 test -z "$as_dir" && as_dir
=.
25099 for ac_exec_ext
in '' $ac_executable_extensions; do
25100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25101 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25108 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25112 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25114 if test -n "$PKG_CONFIG"; then
25115 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25116 echo "${ECHO_T}$PKG_CONFIG" >&6
25118 echo "$as_me:$LINENO: result: no" >&5
25119 echo "${ECHO_T}no" >&6
25124 if test "$PKG_CONFIG" = "no" ; then
25125 echo "*** The pkg-config script could not be found. Make sure it is"
25126 echo "*** in your path, or set the PKG_CONFIG environment variable"
25127 echo "*** to the full path to pkg-config."
25128 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25130 PKG_CONFIG_MIN_VERSION
=0.9.0
25131 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25132 echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4" >&5
25133 echo $ECHO_N "checking for gtk+-2.0 >= 2.4... $ECHO_C" >&6
25135 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
25136 echo "$as_me:$LINENO: result: yes" >&5
25137 echo "${ECHO_T}yes" >&6
25140 echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
25141 echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
25142 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
25143 echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
25144 echo "${ECHO_T}$GTK_CFLAGS" >&6
25146 echo "$as_me:$LINENO: checking GTK_LIBS" >&5
25147 echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
25148 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
25149 echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
25150 echo "${ECHO_T}$GTK_LIBS" >&6
25154 ## If we have a custom action on failure, don't print errors, but
25155 ## do set a variable so people can do so.
25156 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
25157 echo $GTK_PKG_ERRORS
25163 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25164 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25168 if test $succeeded = yes; then
25171 { { 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
25172 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;}
25173 { (exit 1); exit 1; }; }
25182 if test -z "$PKG_CONFIG"; then
25183 # Extract the first word of "pkg-config", so it can be a program name with args.
25184 set dummy pkg-config
; ac_word
=$2
25185 echo "$as_me:$LINENO: checking for $ac_word" >&5
25186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25187 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25188 echo $ECHO_N "(cached) $ECHO_C" >&6
25190 case $PKG_CONFIG in
25192 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25196 for as_dir
in $PATH
25199 test -z "$as_dir" && as_dir
=.
25200 for ac_exec_ext
in '' $ac_executable_extensions; do
25201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25202 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25209 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25213 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25215 if test -n "$PKG_CONFIG"; then
25216 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25217 echo "${ECHO_T}$PKG_CONFIG" >&6
25219 echo "$as_me:$LINENO: result: no" >&5
25220 echo "${ECHO_T}no" >&6
25225 if test "$PKG_CONFIG" = "no" ; then
25226 echo "*** The pkg-config script could not be found. Make sure it is"
25227 echo "*** in your path, or set the PKG_CONFIG environment variable"
25228 echo "*** to the full path to pkg-config."
25229 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25231 PKG_CONFIG_MIN_VERSION
=0.9.0
25232 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25233 echo "$as_me:$LINENO: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
25234 echo $ECHO_N "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... $ECHO_C" >&6
25236 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
25237 echo "$as_me:$LINENO: result: yes" >&5
25238 echo "${ECHO_T}yes" >&6
25241 echo "$as_me:$LINENO: checking GLIB_CFLAGS" >&5
25242 echo $ECHO_N "checking GLIB_CFLAGS... $ECHO_C" >&6
25243 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25244 echo "$as_me:$LINENO: result: $GLIB_CFLAGS" >&5
25245 echo "${ECHO_T}$GLIB_CFLAGS" >&6
25247 echo "$as_me:$LINENO: checking GLIB_LIBS" >&5
25248 echo $ECHO_N "checking GLIB_LIBS... $ECHO_C" >&6
25249 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25250 echo "$as_me:$LINENO: result: $GLIB_LIBS" >&5
25251 echo "${ECHO_T}$GLIB_LIBS" >&6
25255 ## If we have a custom action on failure, don't print errors, but
25256 ## do set a variable so people can do so.
25257 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
25258 echo $GLIB_PKG_ERRORS
25264 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25265 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25269 if test $succeeded = yes; then
25272 { { 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
25273 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;}
25274 { (exit 1); exit 1; }; }
25283 if test -z "$PKG_CONFIG"; then
25284 # Extract the first word of "pkg-config", so it can be a program name with args.
25285 set dummy pkg-config
; ac_word
=$2
25286 echo "$as_me:$LINENO: checking for $ac_word" >&5
25287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25288 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
25289 echo $ECHO_N "(cached) $ECHO_C" >&6
25291 case $PKG_CONFIG in
25293 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25297 for as_dir
in $PATH
25300 test -z "$as_dir" && as_dir
=.
25301 for ac_exec_ext
in '' $ac_executable_extensions; do
25302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25303 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25310 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
25314 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25316 if test -n "$PKG_CONFIG"; then
25317 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
25318 echo "${ECHO_T}$PKG_CONFIG" >&6
25320 echo "$as_me:$LINENO: result: no" >&5
25321 echo "${ECHO_T}no" >&6
25326 if test "$PKG_CONFIG" = "no" ; then
25327 echo "*** The pkg-config script could not be found. Make sure it is"
25328 echo "*** in your path, or set the PKG_CONFIG environment variable"
25329 echo "*** to the full path to pkg-config."
25330 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
25332 PKG_CONFIG_MIN_VERSION
=0.9.0
25333 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
25334 echo "$as_me:$LINENO: checking for libart-2.0 >= 2.1" >&5
25335 echo $ECHO_N "checking for libart-2.0 >= 2.1... $ECHO_C" >&6
25337 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
25338 echo "$as_me:$LINENO: result: yes" >&5
25339 echo "${ECHO_T}yes" >&6
25342 echo "$as_me:$LINENO: checking LIBART_CFLAGS" >&5
25343 echo $ECHO_N "checking LIBART_CFLAGS... $ECHO_C" >&6
25344 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
25345 echo "$as_me:$LINENO: result: $LIBART_CFLAGS" >&5
25346 echo "${ECHO_T}$LIBART_CFLAGS" >&6
25348 echo "$as_me:$LINENO: checking LIBART_LIBS" >&5
25349 echo $ECHO_N "checking LIBART_LIBS... $ECHO_C" >&6
25350 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
25351 echo "$as_me:$LINENO: result: $LIBART_LIBS" >&5
25352 echo "${ECHO_T}$LIBART_LIBS" >&6
25356 ## If we have a custom action on failure, don't print errors, but
25357 ## do set a variable so people can do so.
25358 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
25359 echo $LIBART_PKG_ERRORS
25365 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
25366 echo "*** See http://www.freedesktop.org/software/pkgconfig"
25370 if test $succeeded = yes; then
25373 { { 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
25374 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;}
25375 { (exit 1); exit 1; }; }
25381 # We require the XTest Extension to support java.awt.Robot.
25382 echo "$as_me:$LINENO: checking for XTestQueryExtension in -lXtst" >&5
25383 echo $ECHO_N "checking for XTestQueryExtension in -lXtst... $ECHO_C" >&6
25384 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 ac_check_lib_save_LIBS
=$LIBS
25388 LIBS
="-lXtst ${X_LIBS} $LIBS"
25389 if test x
$gcc_no_link = xyes
; then
25390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25392 { (exit 1); exit 1; }; }
25394 cat >conftest.
$ac_ext <<_ACEOF
25397 cat confdefs.h
>>conftest.
$ac_ext
25398 cat >>conftest.
$ac_ext <<_ACEOF
25399 /* end confdefs.h. */
25401 /* Override any gcc2 internal prototype to avoid an error. */
25405 /* We use char because int might match the return type of a gcc2
25406 builtin and then its argument prototype would still apply. */
25407 char XTestQueryExtension ();
25411 XTestQueryExtension ();
25416 rm -f conftest.
$ac_objext conftest
$ac_exeext
25417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25418 (eval $ac_link) 2>conftest.er1
25420 grep -v '^ *+' conftest.er1
>conftest.err
25422 cat conftest.err
>&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); } &&
25425 { ac_try
='test -z "$ac_c_werror_flag"
25426 || test ! -s conftest.err'
25427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428 (eval $ac_try) 2>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); }; } &&
25432 { ac_try
='test -s conftest$ac_exeext'
25433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25434 (eval $ac_try) 2>&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); }; }; then
25438 ac_cv_lib_Xtst_XTestQueryExtension
=yes
25440 echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.
$ac_ext >&5
25443 ac_cv_lib_Xtst_XTestQueryExtension
=no
25445 rm -f conftest.err conftest.
$ac_objext \
25446 conftest
$ac_exeext conftest.
$ac_ext
25447 LIBS
=$ac_check_lib_save_LIBS
25449 echo "$as_me:$LINENO: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
25450 echo "${ECHO_T}$ac_cv_lib_Xtst_XTestQueryExtension" >&6
25451 if test $ac_cv_lib_Xtst_XTestQueryExtension = yes; then
25454 { { echo "$as_me:$LINENO: error: libXtst not found, required by java.awt.Robot" >&5
25455 echo "$as_me: error: libXtst not found, required by java.awt.Robot" >&2;}
25456 { (exit 1); exit 1; }; }
25461 # On Solaris, and maybe other architectures, the Boehm collector
25463 if test "$GC" = boehm
; then
25466 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
25467 # libgcj.spec is used, so override here
25468 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
25471 echo "$as_me:$LINENO: checking for main in -ldl" >&5
25472 echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
25473 if test "${ac_cv_lib_dl_main+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25476 ac_check_lib_save_LIBS
=$LIBS
25478 if test x
$gcc_no_link = xyes
; then
25479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25481 { (exit 1); exit 1; }; }
25483 cat >conftest.
$ac_ext <<_ACEOF
25486 cat confdefs.h
>>conftest.
$ac_ext
25487 cat >>conftest.
$ac_ext <<_ACEOF
25488 /* end confdefs.h. */
25499 rm -f conftest.
$ac_objext conftest
$ac_exeext
25500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25501 (eval $ac_link) 2>conftest.er1
25503 grep -v '^ *+' conftest.er1
>conftest.err
25505 cat conftest.err
>&5
25506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25507 (exit $ac_status); } &&
25508 { ac_try
='test -z "$ac_c_werror_flag"
25509 || test ! -s conftest.err'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; } &&
25515 { ac_try
='test -s conftest$ac_exeext'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; }; then
25521 ac_cv_lib_dl_main
=yes
25523 echo "$as_me: failed program was:" >&5
25524 sed 's/^/| /' conftest.
$ac_ext >&5
25526 ac_cv_lib_dl_main
=no
25528 rm -f conftest.err conftest.
$ac_objext \
25529 conftest
$ac_exeext conftest.
$ac_ext
25530 LIBS
=$ac_check_lib_save_LIBS
25532 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_main" >&5
25533 echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
25534 if test $ac_cv_lib_dl_main = yes; then
25535 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
25543 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
25545 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
25546 *) CLASSPATH_SEPARATOR
=':' ;;
25550 # We must search the source tree for java.lang, since we still don't
25551 # have libgcj.jar nor java/lang/*.class
25552 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
25553 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
25555 # Since some classes depend on this one, we need its source available
25556 # before we can do any GCJ compilation test :-(
25557 if test ! -f gnu
/classpath
/Configuration.java
; then
25558 test -d gnu || mkdir gnu
25559 test -d gnu
/classpath || mkdir gnu
/classpath
25560 # Note that it is not crucial that all the values here be correct.
25561 sed -e "s,@prefix@,$prefix," \
25562 -e "s,@VERSION@,$VERSION," \
25563 -e "s,@LIBDEBUG@,false," \
25564 -e "s,@INIT_LOAD_LIBRARY@,false," \
25565 -e "s,@@,$LIBGCJDEBUG," \
25566 -e "s,@default_toolkit@,$TOOLKIT," \
25567 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
25568 -e "s,@GTK_CAIRO_ENABLED@,false," \
25569 -e "s,@ECJ_JAR@,," \
25570 -e "s,@WANT_NATIVE_BIG_INTEGER@,false," \
25571 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
25572 > gnu
/classpath
/Configuration.java
25573 # We do not want to redirect the output of the grep below to /dev/null,
25574 # but we add /dev/null to the input list so that grep will print the
25575 # filename of Configuration.java in case it finds any matches.
25576 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
25577 { { echo "$as_me:$LINENO: error: configure.ac is missing the substitutions above" >&5
25578 echo "$as_me: error: configure.ac is missing the substitutions above" >&2;}
25579 { (exit 1); exit 1; }; }
25586 # Extract the first word of "$ac_prog", so it can be a program name with args.
25587 set dummy
$ac_prog; ac_word
=$2
25588 echo "$as_me:$LINENO: checking for $ac_word" >&5
25589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25590 if test "${ac_cv_prog_GCJ+set}" = set; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25593 if test -n "$GCJ"; then
25594 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
25596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25597 for as_dir
in $PATH
25600 test -z "$as_dir" && as_dir
=.
25601 for ac_exec_ext
in '' $ac_executable_extensions; do
25602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25603 ac_cv_prog_GCJ
="$ac_prog"
25604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25612 GCJ
=$ac_cv_prog_GCJ
25613 if test -n "$GCJ"; then
25614 echo "$as_me:$LINENO: result: $GCJ" >&5
25615 echo "${ECHO_T}$GCJ" >&6
25617 echo "$as_me:$LINENO: result: no" >&5
25618 echo "${ECHO_T}no" >&6
25621 test -n "$GCJ" && break
25623 test -n "$GCJ" || GCJ
="gcj"
25625 test -z "$GCJ" && { { echo "$as_me:$LINENO: error: no acceptable gcj found in \$PATH" >&5
25626 echo "$as_me: error: no acceptable gcj found in \$PATH" >&2;}
25627 { (exit 1); exit 1; }; }
25628 if test "x${GCJFLAGS-unset}" = xunset
; then
25633 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
25635 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
25636 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
25637 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then
25638 echo $ECHO_N "(cached) $ECHO_C" >&6
25640 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
25641 # We make a subdir and do the tests there. Otherwise we can end up
25642 # making bogus files that we don't know about and never remove. For
25643 # instance it was reported that on HP-UX the gcc test will end up
25644 # making a dummy file named `D' -- because `-MD' means `put the output
25647 # Copy depcomp to subdir because otherwise we won't find it if we're
25648 # using a relative directory.
25649 cp "$am_depcomp" conftest.dir
25651 # We will build objects and dependencies in a subdirectory because
25652 # it helps to detect inapplicable dependency modes. For instance
25653 # both Tru64's cc and ICC support -MD to output dependencies as a
25654 # side effect of compilation, but ICC will put the dependencies in
25655 # the current directory while Tru64 will put them in the object
25659 am_cv_GCJ_dependencies_compiler_type
=none
25660 if test "$am_compiler_list" = ""; then
25661 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
25663 for depmode
in $am_compiler_list; do
25664 # Setup a source with many dependencies, because some compilers
25665 # like to wrap large dependency lists on column 80 (with \), and
25666 # we should not choose a depcomp mode which is confused by this.
25668 # We need to recreate these files for each test, as the compiler may
25669 # overwrite some of them when testing with obscure command lines.
25670 # This happens at least with the AIX C compiler.
25672 for i
in 1 2 3 4 5 6; do
25673 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
25674 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
25675 # Solaris 8's {/usr,}/bin/sh.
25676 touch sub
/conftst
$i.h
25678 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
25682 # after this tag, mechanisms are not by side-effect, so they'll
25683 # only be used when explicitly requested
25684 if test "x$enable_dependency_tracking" = xyes
; then
25692 # We check with `-c' and `-o' for the sake of the "dashmstdout"
25693 # mode. It turns out that the SunPro C++ compiler does not properly
25694 # handle `-M -o', and we need to detect this.
25695 if depmode
=$depmode \
25696 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
25697 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
25698 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
25699 >/dev
/null
2>conftest.err
&&
25700 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
25701 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
25702 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
25703 # icc doesn't choke on unknown options, it will just issue warnings
25704 # or remarks (even with -Werror). So we grep stderr for any message
25705 # that says an option was ignored or not supported.
25706 # When given -MP, icc 7.0 and 7.1 complain thusly:
25707 # icc: Command line warning: ignoring option '-M'; no argument required
25708 # The diagnosis changed in icc 8.0:
25709 # icc: Command line remark: option '-MP' not supported
25710 if (grep 'ignoring option' conftest.err ||
25711 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
25712 am_cv_GCJ_dependencies_compiler_type
=$depmode
25719 rm -rf conftest.dir
25721 am_cv_GCJ_dependencies_compiler_type
=none
25725 echo "$as_me:$LINENO: result: $am_cv_GCJ_dependencies_compiler_type" >&5
25726 echo "${ECHO_T}$am_cv_GCJ_dependencies_compiler_type" >&6
25727 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
25732 test "x$enable_dependency_tracking" != xno \
25733 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
25734 am__fastdepGCJ_TRUE
=
25735 am__fastdepGCJ_FALSE
='#'
25737 am__fastdepGCJ_TRUE
='#'
25738 am__fastdepGCJ_FALSE
=
25745 rm -f gnu
/classpath
/Configuration.java
25747 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
25749 echo "$as_me:$LINENO: checking for void *" >&5
25750 echo $ECHO_N "checking for void *... $ECHO_C" >&6
25751 if test "${ac_cv_type_void_p+set}" = set; then
25752 echo $ECHO_N "(cached) $ECHO_C" >&6
25754 cat >conftest.
$ac_ext <<_ACEOF
25757 cat confdefs.h
>>conftest.
$ac_ext
25758 cat >>conftest.
$ac_ext <<_ACEOF
25759 /* end confdefs.h. */
25760 $ac_includes_default
25766 if (sizeof (void *))
25772 rm -f conftest.
$ac_objext
25773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25774 (eval $ac_compile) 2>conftest.er1
25776 grep -v '^ *+' conftest.er1
>conftest.err
25778 cat conftest.err
>&5
25779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25780 (exit $ac_status); } &&
25781 { ac_try
='test -z "$ac_c_werror_flag"
25782 || test ! -s conftest.err'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; } &&
25788 { ac_try
='test -s conftest.$ac_objext'
25789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790 (eval $ac_try) 2>&5
25792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793 (exit $ac_status); }; }; then
25794 ac_cv_type_void_p
=yes
25796 echo "$as_me: failed program was:" >&5
25797 sed 's/^/| /' conftest.
$ac_ext >&5
25799 ac_cv_type_void_p
=no
25801 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25803 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
25804 echo "${ECHO_T}$ac_cv_type_void_p" >&6
25806 echo "$as_me:$LINENO: checking size of void *" >&5
25807 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
25808 if test "${ac_cv_sizeof_void_p+set}" = set; then
25809 echo $ECHO_N "(cached) $ECHO_C" >&6
25811 if test "$ac_cv_type_void_p" = yes; then
25812 # The cast to unsigned long works around a bug in the HP C Compiler
25813 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25814 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25815 # This bug is HP SR number 8606223364.
25816 if test "$cross_compiling" = yes; then
25817 # Depending upon the size, compute the lo and hi bounds.
25818 cat >conftest.
$ac_ext <<_ACEOF
25821 cat confdefs.h
>>conftest.
$ac_ext
25822 cat >>conftest.
$ac_ext <<_ACEOF
25823 /* end confdefs.h. */
25824 $ac_includes_default
25828 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
25835 rm -f conftest.
$ac_objext
25836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25837 (eval $ac_compile) 2>conftest.er1
25839 grep -v '^ *+' conftest.er1
>conftest.err
25841 cat conftest.err
>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } &&
25844 { ac_try
='test -z "$ac_c_werror_flag"
25845 || test ! -s conftest.err'
25846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25847 (eval $ac_try) 2>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); }; } &&
25851 { ac_try
='test -s conftest.$ac_objext'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; }; then
25859 cat >conftest.
$ac_ext <<_ACEOF
25862 cat confdefs.h
>>conftest.
$ac_ext
25863 cat >>conftest.
$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 $ac_includes_default
25869 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
25876 rm -f conftest.
$ac_objext
25877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25878 (eval $ac_compile) 2>conftest.er1
25880 grep -v '^ *+' conftest.er1
>conftest.err
25882 cat conftest.err
>&5
25883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25884 (exit $ac_status); } &&
25885 { ac_try
='test -z "$ac_c_werror_flag"
25886 || test ! -s conftest.err'
25887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25888 (eval $ac_try) 2>&5
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); }; } &&
25892 { ac_try
='test -s conftest.$ac_objext'
25893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25894 (eval $ac_try) 2>&5
25896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897 (exit $ac_status); }; }; then
25898 ac_hi
=$ac_mid; break
25900 echo "$as_me: failed program was:" >&5
25901 sed 's/^/| /' conftest.
$ac_ext >&5
25903 ac_lo
=`expr $ac_mid + 1`
25904 if test $ac_lo -le $ac_mid; then
25908 ac_mid
=`expr 2 '*' $ac_mid + 1`
25910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
25913 echo "$as_me: failed program was:" >&5
25914 sed 's/^/| /' conftest.
$ac_ext >&5
25916 cat >conftest.
$ac_ext <<_ACEOF
25919 cat confdefs.h
>>conftest.
$ac_ext
25920 cat >>conftest.
$ac_ext <<_ACEOF
25921 /* end confdefs.h. */
25922 $ac_includes_default
25926 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
25933 rm -f conftest.
$ac_objext
25934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25935 (eval $ac_compile) 2>conftest.er1
25937 grep -v '^ *+' conftest.er1
>conftest.err
25939 cat conftest.err
>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } &&
25942 { ac_try
='test -z "$ac_c_werror_flag"
25943 || test ! -s conftest.err'
25944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25945 (eval $ac_try) 2>&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); }; } &&
25949 { ac_try
='test -s conftest.$ac_objext'
25950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25951 (eval $ac_try) 2>&5
25953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954 (exit $ac_status); }; }; then
25957 cat >conftest.
$ac_ext <<_ACEOF
25960 cat confdefs.h
>>conftest.
$ac_ext
25961 cat >>conftest.
$ac_ext <<_ACEOF
25962 /* end confdefs.h. */
25963 $ac_includes_default
25967 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
25974 rm -f conftest.
$ac_objext
25975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25976 (eval $ac_compile) 2>conftest.er1
25978 grep -v '^ *+' conftest.er1
>conftest.err
25980 cat conftest.err
>&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); } &&
25983 { ac_try
='test -z "$ac_c_werror_flag"
25984 || test ! -s conftest.err'
25985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986 (eval $ac_try) 2>&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); }; } &&
25990 { ac_try
='test -s conftest.$ac_objext'
25991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25992 (eval $ac_try) 2>&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); }; }; then
25996 ac_lo
=$ac_mid; break
25998 echo "$as_me: failed program was:" >&5
25999 sed 's/^/| /' conftest.
$ac_ext >&5
26001 ac_hi
=`expr '(' $ac_mid ')' - 1`
26002 if test $ac_mid -le $ac_hi; then
26006 ac_mid
=`expr 2 '*' $ac_mid`
26008 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26011 echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.
$ac_ext >&5
26016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26018 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26019 # Binary search between lo and hi bounds.
26020 while test "x$ac_lo" != "x$ac_hi"; do
26021 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26022 cat >conftest.
$ac_ext <<_ACEOF
26025 cat confdefs.h
>>conftest.
$ac_ext
26026 cat >>conftest.
$ac_ext <<_ACEOF
26027 /* end confdefs.h. */
26028 $ac_includes_default
26032 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
26039 rm -f conftest.
$ac_objext
26040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26041 (eval $ac_compile) 2>conftest.er1
26043 grep -v '^ *+' conftest.er1
>conftest.err
26045 cat conftest.err
>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); } &&
26048 { ac_try
='test -z "$ac_c_werror_flag"
26049 || test ! -s conftest.err'
26050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26051 (eval $ac_try) 2>&5
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); }; } &&
26055 { ac_try
='test -s conftest.$ac_objext'
26056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26057 (eval $ac_try) 2>&5
26059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060 (exit $ac_status); }; }; then
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.
$ac_ext >&5
26066 ac_lo
=`expr '(' $ac_mid ')' + 1`
26068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26071 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
26072 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
26073 echo "$as_me: error: in \`$ac_pwd':" >&2;}
26074 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
26075 See \`config.log' for more details." >&5
26076 echo "$as_me: error: cannot compute sizeof (void *), 77
26077 See \`config.log' for more details." >&2;}
26078 { (exit 1); exit 1; }; }; } ;;
26081 if test "$cross_compiling" = yes; then
26082 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
26083 echo "$as_me: error: in \`$ac_pwd':" >&2;}
26084 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
26085 See \`config.log' for more details." >&5
26086 echo "$as_me: error: cannot run test program while cross compiling
26087 See \`config.log' for more details." >&2;}
26088 { (exit 1); exit 1; }; }; }
26090 cat >conftest.
$ac_ext <<_ACEOF
26093 cat confdefs.h
>>conftest.
$ac_ext
26094 cat >>conftest.
$ac_ext <<_ACEOF
26095 /* end confdefs.h. */
26096 $ac_includes_default
26097 long longval () { return (long) (sizeof (void *)); }
26098 unsigned long ulongval () { return (long) (sizeof (void *)); }
26100 #include <stdlib.h>
26105 FILE *f = fopen ("conftest.val", "w");
26108 if (((long) (sizeof (void *))) < 0)
26110 long i = longval ();
26111 if (i != ((long) (sizeof (void *))))
26113 fprintf (f, "%ld\n", i);
26117 unsigned long i = ulongval ();
26118 if (i != ((long) (sizeof (void *))))
26120 fprintf (f, "%lu\n", i);
26122 exit (ferror (f) || fclose (f) != 0);
26128 rm -f conftest
$ac_exeext
26129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26130 (eval $ac_link) 2>&5
26132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26133 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26135 (eval $ac_try) 2>&5
26137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26138 (exit $ac_status); }; }; then
26139 ac_cv_sizeof_void_p
=`cat conftest.val`
26141 echo "$as_me: program exited with status $ac_status" >&5
26142 echo "$as_me: failed program was:" >&5
26143 sed 's/^/| /' conftest.
$ac_ext >&5
26145 ( exit $ac_status )
26146 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
26147 echo "$as_me: error: in \`$ac_pwd':" >&2;}
26148 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
26149 See \`config.log' for more details." >&5
26150 echo "$as_me: error: cannot compute sizeof (void *), 77
26151 See \`config.log' for more details." >&2;}
26152 { (exit 1); exit 1; }; }; }
26154 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26159 ac_cv_sizeof_void_p
=0
26162 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
26163 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
26164 cat >>confdefs.h
<<_ACEOF
26165 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
26170 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
26171 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
26172 if test "${ac_cv_c_bigendian+set}" = set; then
26173 echo $ECHO_N "(cached) $ECHO_C" >&6
26175 # See if sys/param.h defines the BYTE_ORDER macro.
26176 cat >conftest.
$ac_ext <<_ACEOF
26179 cat confdefs.h
>>conftest.
$ac_ext
26180 cat >>conftest.
$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26182 #include <sys/types.h>
26183 #include <sys/param.h>
26188 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
26189 bogus endian macros
26196 rm -f conftest.
$ac_objext
26197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26198 (eval $ac_compile) 2>conftest.er1
26200 grep -v '^ *+' conftest.er1
>conftest.err
26202 cat conftest.err
>&5
26203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26204 (exit $ac_status); } &&
26205 { ac_try
='test -z "$ac_c_werror_flag"
26206 || test ! -s conftest.err'
26207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26208 (eval $ac_try) 2>&5
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); }; } &&
26212 { ac_try
='test -s conftest.$ac_objext'
26213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26214 (eval $ac_try) 2>&5
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); }; }; then
26218 # It does; now see whether it defined to BIG_ENDIAN or not.
26219 cat >conftest.
$ac_ext <<_ACEOF
26222 cat confdefs.h
>>conftest.
$ac_ext
26223 cat >>conftest.
$ac_ext <<_ACEOF
26224 /* end confdefs.h. */
26225 #include <sys/types.h>
26226 #include <sys/param.h>
26231 #if BYTE_ORDER != BIG_ENDIAN
26239 rm -f conftest.
$ac_objext
26240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26241 (eval $ac_compile) 2>conftest.er1
26243 grep -v '^ *+' conftest.er1
>conftest.err
26245 cat conftest.err
>&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); } &&
26248 { ac_try
='test -z "$ac_c_werror_flag"
26249 || test ! -s conftest.err'
26250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251 (eval $ac_try) 2>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); }; } &&
26255 { ac_try
='test -s conftest.$ac_objext'
26256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257 (eval $ac_try) 2>&5
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); }; }; then
26261 ac_cv_c_bigendian
=yes
26263 echo "$as_me: failed program was:" >&5
26264 sed 's/^/| /' conftest.
$ac_ext >&5
26266 ac_cv_c_bigendian
=no
26268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26270 echo "$as_me: failed program was:" >&5
26271 sed 's/^/| /' conftest.
$ac_ext >&5
26273 # It does not; compile a test program.
26274 if test "$cross_compiling" = yes; then
26275 # try to guess the endianness by grepping values into an object file
26276 ac_cv_c_bigendian
=unknown
26277 cat >conftest.
$ac_ext <<_ACEOF
26280 cat confdefs.h
>>conftest.
$ac_ext
26281 cat >>conftest.
$ac_ext <<_ACEOF
26282 /* end confdefs.h. */
26283 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
26284 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
26285 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
26286 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
26287 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
26288 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
26292 _ascii (); _ebcdic ();
26297 rm -f conftest.
$ac_objext
26298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26299 (eval $ac_compile) 2>conftest.er1
26301 grep -v '^ *+' conftest.er1
>conftest.err
26303 cat conftest.err
>&5
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); } &&
26306 { ac_try
='test -z "$ac_c_werror_flag"
26307 || test ! -s conftest.err'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; } &&
26313 { ac_try
='test -s conftest.$ac_objext'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; }; then
26319 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
26320 ac_cv_c_bigendian
=yes
26322 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
26323 if test "$ac_cv_c_bigendian" = unknown
; then
26324 ac_cv_c_bigendian
=no
26326 # finding both strings is unlikely to happen, but who knows?
26327 ac_cv_c_bigendian
=unknown
26331 echo "$as_me: failed program was:" >&5
26332 sed 's/^/| /' conftest.
$ac_ext >&5
26335 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26337 cat >conftest.
$ac_ext <<_ACEOF
26340 cat confdefs.h
>>conftest.
$ac_ext
26341 cat >>conftest.
$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26346 /* Are we little or big endian? From Harbison&Steele. */
26350 char c[sizeof (long)];
26353 exit (u.c[sizeof (long) - 1] == 1);
26356 rm -f conftest
$ac_exeext
26357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26358 (eval $ac_link) 2>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363 (eval $ac_try) 2>&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); }; }; then
26367 ac_cv_c_bigendian
=no
26369 echo "$as_me: program exited with status $ac_status" >&5
26370 echo "$as_me: failed program was:" >&5
26371 sed 's/^/| /' conftest.
$ac_ext >&5
26373 ( exit $ac_status )
26374 ac_cv_c_bigendian
=yes
26376 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
26379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26381 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26382 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
26383 case $ac_cv_c_bigendian in
26386 cat >>confdefs.h
<<\_ACEOF
26387 #define WORDS_BIGENDIAN 1
26393 { { echo "$as_me:$LINENO: error: unknown endianness
26394 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
26395 echo "$as_me: error: unknown endianness
26396 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
26397 { (exit 1); exit 1; }; } ;;
26405 if test -z "$ZLIBSPEC"; then
26406 # Use zlib from the GCC tree.
26407 ZINCS
='-I$(top_srcdir)/../zlib'
26408 ZLIBS
=..
/zlib
/libzgcj_convenience.la
26411 SYS_ZLIBS
="$ZLIBSPEC"
26424 if test "$NATIVE" = yes; then
26434 if test "$enable_shared" = yes; then
26435 ENABLE_SHARED_TRUE
=
26436 ENABLE_SHARED_FALSE
='#'
26438 ENABLE_SHARED_TRUE
='#'
26439 ENABLE_SHARED_FALSE
=
26444 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
26445 NEEDS_DATA_START_TRUE
=
26446 NEEDS_DATA_START_FALSE
='#'
26448 NEEDS_DATA_START_TRUE
='#'
26449 NEEDS_DATA_START_FALSE
=
26454 if test -z "${with_multisubdir}"; then
26455 INSTALL_BINARIES_TRUE
=
26456 INSTALL_BINARIES_FALSE
='#'
26458 INSTALL_BINARIES_TRUE
='#'
26459 INSTALL_BINARIES_FALSE
=
26464 # Process the option "--enable-version-specific-runtime-libs"
26465 # Calculate toolexeclibdir
26466 case ${version_specific_libs} in
26468 # Need the gcc compiler version to know where to install libraries
26469 # and header files if --enable-version-specific-runtime-libs option
26471 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
26472 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
26473 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
26474 toolexeclibdir
=$toolexecmainlibdir
26477 if test -n "$with_cross_host" &&
26478 test x
"$with_cross_host" != x
"no"; then
26479 # Install a library built with a cross compiler in tooldir, not libdir.
26480 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
26481 toolexecmainlibdir
='$(toolexecdir)/lib'
26483 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
26484 toolexecmainlibdir
='$(libdir)'
26486 multi_os_directory
=`$CC -print-multi-os-directory`
26487 case $multi_os_directory in
26488 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
26489 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
26497 # Determine gcj and libgcj version number.
26498 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
26499 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
26500 GCJVERSION
=$gcjversion
26503 cat >>confdefs.h
<<_ACEOF
26504 #define GCJVERSION "$GCJVERSION"
26508 # Determine where the standard .db file and GNU Classpath JNI
26509 # libraries are found.
26510 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
26511 multi_os_directory
=`$CC -print-multi-os-directory`
26512 case $multi_os_directory in
26514 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
26517 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
26524 cat >>confdefs.h
<<\_ACEOF
26525 #define JV_VERSION "1.5.0"
26529 cat >>confdefs.h
<<\_ACEOF
26530 #define JV_API_VERSION "1.5"
26535 case "${with_gxx_include_dir}" in
26537 { { echo "$as_me:$LINENO: error: --with-gxx-include-dir=[dir] requires a directory" >&5
26538 echo "$as_me: error: --with-gxx-include-dir=[dir] requires a directory" >&2;}
26539 { (exit 1); exit 1; }; }
26542 case "${enable_version_specific_runtime_libs}" in
26543 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
26545 libstdcxx_incdir
='c++/$(gcc_version)'
26546 gxx_include_dir
='include/$(libstdcxx_incdir)'
26547 if test -n "$with_cross_host" &&
26548 test x
"$with_cross_host" != x
"no"; then
26549 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
26551 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
26554 *) gxx_include_dir
=${with_gxx_include_dir} ;;
26560 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
26561 # On that system, sys/ioctl.h will not include sys/filio.h unless
26562 # BSD_COMP is defined; just including sys/filio.h is simpler.
26563 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
26564 # for now. If you change this, you also must update natFile.cc.
26588 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
26589 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
26590 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h net
/if.h \
26591 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
26592 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
26594 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26596 echo "$as_me:$LINENO: checking for $ac_header" >&5
26597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6
26601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26604 # Is the header compilable?
26605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26607 cat >conftest.
$ac_ext <<_ACEOF
26610 cat confdefs.h
>>conftest.
$ac_ext
26611 cat >>conftest.
$ac_ext <<_ACEOF
26612 /* end confdefs.h. */
26613 $ac_includes_default
26614 #include <$ac_header>
26616 rm -f conftest.
$ac_objext
26617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26618 (eval $ac_compile) 2>conftest.er1
26620 grep -v '^ *+' conftest.er1
>conftest.err
26622 cat conftest.err
>&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); } &&
26625 { ac_try
='test -z "$ac_c_werror_flag"
26626 || test ! -s conftest.err'
26627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26628 (eval $ac_try) 2>&5
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); }; } &&
26632 { ac_try
='test -s conftest.$ac_objext'
26633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26634 (eval $ac_try) 2>&5
26636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26637 (exit $ac_status); }; }; then
26638 ac_header_compiler
=yes
26640 echo "$as_me: failed program was:" >&5
26641 sed 's/^/| /' conftest.
$ac_ext >&5
26643 ac_header_compiler
=no
26645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26647 echo "${ECHO_T}$ac_header_compiler" >&6
26649 # Is the header present?
26650 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26652 cat >conftest.
$ac_ext <<_ACEOF
26655 cat confdefs.h
>>conftest.
$ac_ext
26656 cat >>conftest.
$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26658 #include <$ac_header>
26660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26663 grep -v '^ *+' conftest.er1
>conftest.err
26665 cat conftest.err
>&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } >/dev
/null
; then
26668 if test -s conftest.err
; then
26669 ac_cpp_err
=$ac_c_preproc_warn_flag
26670 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26677 if test -z "$ac_cpp_err"; then
26678 ac_header_preproc
=yes
26680 echo "$as_me: failed program was:" >&5
26681 sed 's/^/| /' conftest.
$ac_ext >&5
26683 ac_header_preproc
=no
26685 rm -f conftest.err conftest.
$ac_ext
26686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26687 echo "${ECHO_T}$ac_header_preproc" >&6
26689 # So? What about this header?
26690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26692 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26693 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26695 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26696 ac_header_preproc
=yes
26699 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26700 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26701 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26702 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26703 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26704 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26705 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26706 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26708 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26709 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26710 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26713 ## ---------------------------------- ##
26714 ## Report this to the libjava lists. ##
26715 ## ---------------------------------- ##
26718 sed "s/^/$as_me: WARNING: /" >&2
26721 echo "$as_me:$LINENO: checking for $ac_header" >&5
26722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26724 echo $ECHO_N "(cached) $ECHO_C" >&6
26726 eval "$as_ac_Header=\$ac_header_preproc"
26728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26733 cat >>confdefs.h
<<_ACEOF
26734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26742 for ac_header
in inttypes.h
26744 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26746 echo "$as_me:$LINENO: checking for $ac_header" >&5
26747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26754 # Is the header compilable?
26755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26757 cat >conftest.
$ac_ext <<_ACEOF
26760 cat confdefs.h
>>conftest.
$ac_ext
26761 cat >>conftest.
$ac_ext <<_ACEOF
26762 /* end confdefs.h. */
26763 $ac_includes_default
26764 #include <$ac_header>
26766 rm -f conftest.
$ac_objext
26767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26768 (eval $ac_compile) 2>conftest.er1
26770 grep -v '^ *+' conftest.er1
>conftest.err
26772 cat conftest.err
>&5
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); } &&
26775 { ac_try
='test -z "$ac_c_werror_flag"
26776 || test ! -s conftest.err'
26777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26778 (eval $ac_try) 2>&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); }; } &&
26782 { ac_try
='test -s conftest.$ac_objext'
26783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26784 (eval $ac_try) 2>&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); }; }; then
26788 ac_header_compiler
=yes
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.
$ac_ext >&5
26793 ac_header_compiler
=no
26795 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26797 echo "${ECHO_T}$ac_header_compiler" >&6
26799 # Is the header present?
26800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26802 cat >conftest.
$ac_ext <<_ACEOF
26805 cat confdefs.h
>>conftest.
$ac_ext
26806 cat >>conftest.
$ac_ext <<_ACEOF
26807 /* end confdefs.h. */
26808 #include <$ac_header>
26810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26811 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
26813 grep -v '^ *+' conftest.er1
>conftest.err
26815 cat conftest.err
>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } >/dev
/null
; then
26818 if test -s conftest.err
; then
26819 ac_cpp_err
=$ac_c_preproc_warn_flag
26820 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
26827 if test -z "$ac_cpp_err"; then
26828 ac_header_preproc
=yes
26830 echo "$as_me: failed program was:" >&5
26831 sed 's/^/| /' conftest.
$ac_ext >&5
26833 ac_header_preproc
=no
26835 rm -f conftest.err conftest.
$ac_ext
26836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26837 echo "${ECHO_T}$ac_header_preproc" >&6
26839 # So? What about this header?
26840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26842 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26845 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26846 ac_header_preproc
=yes
26849 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26851 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26852 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26853 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26854 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26855 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26856 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26859 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26860 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26863 ## ---------------------------------- ##
26864 ## Report this to the libjava lists. ##
26865 ## ---------------------------------- ##
26868 sed "s/^/$as_me: WARNING: /" >&2
26871 echo "$as_me:$LINENO: checking for $ac_header" >&5
26872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26874 echo $ECHO_N "(cached) $ECHO_C" >&6
26876 eval "$as_ac_Header=\$ac_header_preproc"
26878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26883 cat >>confdefs.h
<<_ACEOF
26884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26888 cat >>confdefs.h
<<\_ACEOF
26889 #define HAVE_INTTYPES_H 1
26893 cat >>confdefs.h
<<\_ACEOF
26894 #define JV_HAVE_INTTYPES_H 1
26903 echo "$as_me:$LINENO: checking for ssize_t" >&5
26904 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
26905 if test "${ac_cv_type_ssize_t+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26908 cat >conftest.
$ac_ext <<_ACEOF
26911 cat confdefs.h
>>conftest.
$ac_ext
26912 cat >>conftest.
$ac_ext <<_ACEOF
26913 /* end confdefs.h. */
26914 $ac_includes_default
26920 if (sizeof (ssize_t))
26926 rm -f conftest.
$ac_objext
26927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26928 (eval $ac_compile) 2>conftest.er1
26930 grep -v '^ *+' conftest.er1
>conftest.err
26932 cat conftest.err
>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); } &&
26935 { ac_try
='test -z "$ac_c_werror_flag"
26936 || test ! -s conftest.err'
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); }; } &&
26942 { ac_try
='test -s conftest.$ac_objext'
26943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26944 (eval $ac_try) 2>&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); }; }; then
26948 ac_cv_type_ssize_t
=yes
26950 echo "$as_me: failed program was:" >&5
26951 sed 's/^/| /' conftest.
$ac_ext >&5
26953 ac_cv_type_ssize_t
=no
26955 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
26957 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
26958 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
26959 if test $ac_cv_type_ssize_t = yes; then
26963 cat >>confdefs.h
<<_ACEOF
26964 #define ssize_t int
26969 echo "$as_me:$LINENO: checking for magic_t" >&5
26970 echo $ECHO_N "checking for magic_t... $ECHO_C" >&6
26971 if test "${ac_cv_type_magic_t+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 cat >conftest.
$ac_ext <<_ACEOF
26977 cat confdefs.h
>>conftest.
$ac_ext
26978 cat >>conftest.
$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26981 #ifdef HAVE_MAGIC_H
26990 if (sizeof (magic_t))
26996 rm -f conftest.
$ac_objext
26997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26998 (eval $ac_compile) 2>conftest.er1
27000 grep -v '^ *+' conftest.er1
>conftest.err
27002 cat conftest.err
>&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); } &&
27005 { ac_try
='test -z "$ac_c_werror_flag"
27006 || test ! -s conftest.err'
27007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27008 (eval $ac_try) 2>&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); }; } &&
27012 { ac_try
='test -s conftest.$ac_objext'
27013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27014 (eval $ac_try) 2>&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); }; }; then
27018 ac_cv_type_magic_t
=yes
27020 echo "$as_me: failed program was:" >&5
27021 sed 's/^/| /' conftest.
$ac_ext >&5
27023 ac_cv_type_magic_t
=no
27025 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27027 echo "$as_me:$LINENO: result: $ac_cv_type_magic_t" >&5
27028 echo "${ECHO_T}$ac_cv_type_magic_t" >&6
27029 if test $ac_cv_type_magic_t = yes; then
27032 cat >>confdefs.h
<<\_ACEOF
27033 #define HAVE_MAGIC_T 1
27039 echo "$as_me:$LINENO: checking for in_addr_t" >&5
27040 echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
27041 cat >conftest.
$ac_ext <<_ACEOF
27044 cat confdefs.h
>>conftest.
$ac_ext
27045 cat >>conftest.
$ac_ext <<_ACEOF
27046 /* end confdefs.h. */
27047 #include <sys/types.h>
27049 #include <stdlib.h>
27050 #include <stddef.h>
27052 #if HAVE_NETINET_IN_H
27053 #include <netinet/in.h>
27063 rm -f conftest.
$ac_objext
27064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27065 (eval $ac_compile) 2>conftest.er1
27067 grep -v '^ *+' conftest.er1
>conftest.err
27069 cat conftest.err
>&5
27070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27071 (exit $ac_status); } &&
27072 { ac_try
='test -z "$ac_c_werror_flag"
27073 || test ! -s conftest.err'
27074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27075 (eval $ac_try) 2>&5
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); }; } &&
27079 { ac_try
='test -s conftest.$ac_objext'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; }; then
27086 cat >>confdefs.h
<<\_ACEOF
27087 #define HAVE_IN_ADDR_T 1
27090 echo "$as_me:$LINENO: result: yes" >&5
27091 echo "${ECHO_T}yes" >&6
27093 echo "$as_me: failed program was:" >&5
27094 sed 's/^/| /' conftest.
$ac_ext >&5
27096 echo "$as_me:$LINENO: result: no" >&5
27097 echo "${ECHO_T}no" >&6
27099 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27101 echo "$as_me:$LINENO: checking whether struct ip_mreq is in netinet/in.h" >&5
27102 echo $ECHO_N "checking whether struct ip_mreq is in netinet/in.h... $ECHO_C" >&6
27103 cat >conftest.
$ac_ext <<_ACEOF
27106 cat confdefs.h
>>conftest.
$ac_ext
27107 cat >>conftest.
$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27109 #include <netinet/in.h>
27113 struct ip_mreq mreq;
27118 rm -f conftest.
$ac_objext
27119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27120 (eval $ac_compile) 2>conftest.er1
27122 grep -v '^ *+' conftest.er1
>conftest.err
27124 cat conftest.err
>&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } &&
27127 { ac_try
='test -z "$ac_c_werror_flag"
27128 || test ! -s conftest.err'
27129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27130 (eval $ac_try) 2>&5
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); }; } &&
27134 { ac_try
='test -s conftest.$ac_objext'
27135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27136 (eval $ac_try) 2>&5
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); }; }; then
27141 cat >>confdefs.h
<<\_ACEOF
27142 #define HAVE_STRUCT_IP_MREQ 1
27145 echo "$as_me:$LINENO: result: yes" >&5
27146 echo "${ECHO_T}yes" >&6
27148 echo "$as_me: failed program was:" >&5
27149 sed 's/^/| /' conftest.
$ac_ext >&5
27151 echo "$as_me:$LINENO: result: no" >&5
27152 echo "${ECHO_T}no" >&6
27154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27156 echo "$as_me:$LINENO: checking whether struct ipv6_mreq is in netinet/in.h" >&5
27157 echo $ECHO_N "checking whether struct ipv6_mreq is in netinet/in.h... $ECHO_C" >&6
27158 cat >conftest.
$ac_ext <<_ACEOF
27161 cat confdefs.h
>>conftest.
$ac_ext
27162 cat >>conftest.
$ac_ext <<_ACEOF
27163 /* end confdefs.h. */
27164 #include <netinet/in.h>
27168 struct ipv6_mreq mreq6;
27173 rm -f conftest.
$ac_objext
27174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27175 (eval $ac_compile) 2>conftest.er1
27177 grep -v '^ *+' conftest.er1
>conftest.err
27179 cat conftest.err
>&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); } &&
27182 { ac_try
='test -z "$ac_c_werror_flag"
27183 || test ! -s conftest.err'
27184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27185 (eval $ac_try) 2>&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); }; } &&
27189 { ac_try
='test -s conftest.$ac_objext'
27190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27191 (eval $ac_try) 2>&5
27193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27194 (exit $ac_status); }; }; then
27196 cat >>confdefs.h
<<\_ACEOF
27197 #define HAVE_STRUCT_IPV6_MREQ 1
27200 echo "$as_me:$LINENO: result: yes" >&5
27201 echo "${ECHO_T}yes" >&6
27203 echo "$as_me: failed program was:" >&5
27204 sed 's/^/| /' conftest.
$ac_ext >&5
27206 echo "$as_me:$LINENO: result: no" >&5
27207 echo "${ECHO_T}no" >&6
27209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27211 echo "$as_me:$LINENO: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
27212 echo $ECHO_N "checking whether struct sockaddr_in6 is in netinet/in.h... $ECHO_C" >&6
27213 cat >conftest.
$ac_ext <<_ACEOF
27216 cat confdefs.h
>>conftest.
$ac_ext
27217 cat >>conftest.
$ac_ext <<_ACEOF
27218 /* end confdefs.h. */
27219 #include <netinet/in.h>
27223 struct sockaddr_in6 addr6;
27228 rm -f conftest.
$ac_objext
27229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27230 (eval $ac_compile) 2>conftest.er1
27232 grep -v '^ *+' conftest.er1
>conftest.err
27234 cat conftest.err
>&5
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); } &&
27237 { ac_try
='test -z "$ac_c_werror_flag"
27238 || test ! -s conftest.err'
27239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27240 (eval $ac_try) 2>&5
27242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27243 (exit $ac_status); }; } &&
27244 { ac_try
='test -s conftest.$ac_objext'
27245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246 (eval $ac_try) 2>&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); }; }; then
27251 cat >>confdefs.h
<<\_ACEOF
27252 #define HAVE_INET6 1
27255 echo "$as_me:$LINENO: result: yes" >&5
27256 echo "${ECHO_T}yes" >&6
27258 echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.
$ac_ext >&5
27261 echo "$as_me:$LINENO: result: no" >&5
27262 echo "${ECHO_T}no" >&6
27264 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27266 echo "$as_me:$LINENO: checking for socklen_t in sys/socket.h" >&5
27267 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
27268 cat >conftest.
$ac_ext <<_ACEOF
27271 cat confdefs.h
>>conftest.
$ac_ext
27272 cat >>conftest.
$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274 #define _POSIX_PII_SOCKET
27275 #include <sys/types.h>
27276 #include <sys/socket.h>
27285 rm -f conftest.
$ac_objext
27286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27287 (eval $ac_compile) 2>conftest.er1
27289 grep -v '^ *+' conftest.er1
>conftest.err
27291 cat conftest.err
>&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } &&
27294 { ac_try
='test -z "$ac_c_werror_flag"
27295 || test ! -s conftest.err'
27296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27297 (eval $ac_try) 2>&5
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); }; } &&
27301 { ac_try
='test -s conftest.$ac_objext'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; }; then
27308 cat >>confdefs.h
<<\_ACEOF
27309 #define HAVE_SOCKLEN_T 1
27312 echo "$as_me:$LINENO: result: yes" >&5
27313 echo "${ECHO_T}yes" >&6
27315 echo "$as_me: failed program was:" >&5
27316 sed 's/^/| /' conftest.
$ac_ext >&5
27318 echo "$as_me:$LINENO: result: no" >&5
27319 echo "${ECHO_T}no" >&6
27321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27323 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
27324 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
27325 cat >conftest.
$ac_ext <<_ACEOF
27328 cat confdefs.h
>>conftest.
$ac_ext
27329 cat >>conftest.
$ac_ext <<_ACEOF
27330 /* end confdefs.h. */
27335 struct tm tim; tim.tm_gmtoff = 0;
27340 rm -f conftest.
$ac_objext
27341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27342 (eval $ac_compile) 2>conftest.er1
27344 grep -v '^ *+' conftest.er1
>conftest.err
27346 cat conftest.err
>&5
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); } &&
27349 { ac_try
='test -z "$ac_c_werror_flag"
27350 || test ! -s conftest.err'
27351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27352 (eval $ac_try) 2>&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); }; } &&
27356 { ac_try
='test -s conftest.$ac_objext'
27357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27358 (eval $ac_try) 2>&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); }; }; then
27363 cat >>confdefs.h
<<\_ACEOF
27364 #define STRUCT_TM_HAS_GMTOFF 1
27367 echo "$as_me:$LINENO: result: yes" >&5
27368 echo "${ECHO_T}yes" >&6
27370 echo "$as_me: failed program was:" >&5
27371 sed 's/^/| /' conftest.
$ac_ext >&5
27373 echo "$as_me:$LINENO: result: no" >&5
27374 echo "${ECHO_T}no" >&6
27375 echo "$as_me:$LINENO: checking for global timezone variable" >&5
27376 echo $ECHO_N "checking for global timezone variable... $ECHO_C" >&6
27377 cat >conftest.
$ac_ext <<_ACEOF
27380 cat confdefs.h
>>conftest.
$ac_ext
27381 cat >>conftest.
$ac_ext <<_ACEOF
27382 /* end confdefs.h. */
27387 void i(){long z2 = 2*timezone;}
27392 rm -f conftest.
$ac_objext
27393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27394 (eval $ac_compile) 2>conftest.er1
27396 grep -v '^ *+' conftest.er1
>conftest.err
27398 cat conftest.err
>&5
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); } &&
27401 { ac_try
='test -z "$ac_c_werror_flag"
27402 || test ! -s conftest.err'
27403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27404 (eval $ac_try) 2>&5
27406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27407 (exit $ac_status); }; } &&
27408 { ac_try
='test -s conftest.$ac_objext'
27409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27410 (eval $ac_try) 2>&5
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); }; }; then
27415 cat >>confdefs.h
<<\_ACEOF
27416 #define HAVE_TIMEZONE 1
27419 echo "$as_me:$LINENO: result: yes" >&5
27420 echo "${ECHO_T}yes" >&6
27422 echo "$as_me: failed program was:" >&5
27423 sed 's/^/| /' conftest.
$ac_ext >&5
27425 echo "$as_me:$LINENO: result: no" >&5
27426 echo "${ECHO_T}no" >&6
27427 echo "$as_me:$LINENO: checking for global _timezone variable" >&5
27428 echo $ECHO_N "checking for global _timezone variable... $ECHO_C" >&6
27429 cat >conftest.
$ac_ext <<_ACEOF
27432 cat confdefs.h
>>conftest.
$ac_ext
27433 cat >>conftest.
$ac_ext <<_ACEOF
27434 /* end confdefs.h. */
27439 long z2 = _timezone;
27444 rm -f conftest.
$ac_objext
27445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27446 (eval $ac_compile) 2>conftest.er1
27448 grep -v '^ *+' conftest.er1
>conftest.err
27450 cat conftest.err
>&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); } &&
27453 { ac_try
='test -z "$ac_c_werror_flag"
27454 || test ! -s conftest.err'
27455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27456 (eval $ac_try) 2>&5
27458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27459 (exit $ac_status); }; } &&
27460 { ac_try
='test -s conftest.$ac_objext'
27461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27462 (eval $ac_try) 2>&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); }; }; then
27467 cat >>confdefs.h
<<\_ACEOF
27468 #define HAVE_UNDERSCORE_TIMEZONE 1
27471 echo "$as_me:$LINENO: result: yes" >&5
27472 echo "${ECHO_T}yes" >&6
27474 echo "$as_me: failed program was:" >&5
27475 sed 's/^/| /' conftest.
$ac_ext >&5
27477 echo "$as_me:$LINENO: result: no" >&5
27478 echo "${ECHO_T}no" >&6
27480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
27486 for ac_prog
in perl
27488 # Extract the first word of "$ac_prog", so it can be a program name with args.
27489 set dummy
$ac_prog; ac_word
=$2
27490 echo "$as_me:$LINENO: checking for $ac_word" >&5
27491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27492 if test "${ac_cv_prog_PERL+set}" = set; then
27493 echo $ECHO_N "(cached) $ECHO_C" >&6
27495 if test -n "$PERL"; then
27496 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
27498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27499 for as_dir
in $PATH
27502 test -z "$as_dir" && as_dir
=.
27503 for ac_exec_ext
in '' $ac_executable_extensions; do
27504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27505 ac_cv_prog_PERL
="$ac_prog"
27506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27514 PERL
=$ac_cv_prog_PERL
27515 if test -n "$PERL"; then
27516 echo "$as_me:$LINENO: result: $PERL" >&5
27517 echo "${ECHO_T}$PERL" >&6
27519 echo "$as_me:$LINENO: result: no" >&5
27520 echo "${ECHO_T}no" >&6
27523 test -n "$PERL" && break
27525 test -n "$PERL" || PERL
="false"
27529 SIGNAL_HANDLER_AUX
=
27533 SIGNAL_HANDLER
=include
/i386-signal.h
27535 sparc
*-sun-solaris*)
27536 SIGNAL_HANDLER
=include
/sparc-signal.h
27539 # SYSDEP_SOURCES=sysdep/ia64.c
27540 # test -d sysdep || mkdir sysdep
27543 SIGNAL_HANDLER
=include
/pa-signal.h
27546 SIGNAL_HANDLER
=include
/hppa-signal.h
27549 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27552 SIGNAL_HANDLER
=include
/powerpc-signal.h
27555 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27558 SIGNAL_HANDLER
=include
/s390-signal.h
27561 SIGNAL_HANDLER
=include
/x86_64-signal.h
27562 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
27565 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27568 SIGNAL_HANDLER
=include
/sh-signal.h
27571 SIGNAL_HANDLER
=include
/win32-signal.h
27574 SIGNAL_HANDLER
=include
/mips-signal.h
27577 SIGNAL_HANDLER
=include
/dwarf2-signal.h
27579 powerpc
*-*-darwin* | i?
86-*-darwin[912]* | x86_64-
*-darwin[912]*)
27580 SIGNAL_HANDLER
=include
/darwin-signal.h
27583 SIGNAL_HANDLER
=include
/aix-signal.h
27586 SIGNAL_HANDLER
=include
/default-signal.h
27590 # If we're using sjlj exceptions, forget what we just learned.
27591 if test "$enable_sjlj_exceptions" = yes; then
27592 SIGNAL_HANDLER
=include
/default-signal.h
27593 SIGNAL_HANDLER_AUX
=
27598 if test -z "$SIGNAL_HANDLER_AUX"; then
27599 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
27602 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
27605 if test "${multilib}" = "yes"; then
27606 multilib_arg
="--enable-multilib"
27611 # See if we support thread-local storage.
27613 # Check whether --enable-tls or --disable-tls was given.
27614 if test "${enable_tls+set}" = set; then
27615 enableval
="$enable_tls"
27617 case "$enableval" in
27619 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
27620 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
27621 { (exit 1); exit 1; }; } ;;
27628 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
27629 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
27630 if test "${gcc_cv_have_tls+set}" = set; then
27631 echo $ECHO_N "(cached) $ECHO_C" >&6
27634 if test "$cross_compiling" = yes; then
27635 if test x
$gcc_no_link = xyes
; then
27636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27638 { (exit 1); exit 1; }; }
27640 cat >conftest.
$ac_ext <<_ACEOF
27641 __thread int a; int b; int main() { return a = b; }
27643 rm -f conftest.
$ac_objext conftest
$ac_exeext
27644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27645 (eval $ac_link) 2>conftest.er1
27647 grep -v '^ *+' conftest.er1
>conftest.err
27649 cat conftest.err
>&5
27650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27651 (exit $ac_status); } &&
27652 { ac_try
='test -z "$ac_c_werror_flag"
27653 || test ! -s conftest.err'
27654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27655 (eval $ac_try) 2>&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); }; } &&
27659 { ac_try
='test -s conftest$ac_exeext'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; }; then
27665 gcc_cv_have_tls
=yes
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.
$ac_ext >&5
27672 rm -f conftest.err conftest.
$ac_objext \
27673 conftest
$ac_exeext conftest.
$ac_ext
27677 cat >conftest.
$ac_ext <<_ACEOF
27678 __thread int a; int b; int main() { return a = b; }
27680 rm -f conftest
$ac_exeext
27681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27682 (eval $ac_link) 2>&5
27684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27685 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27687 (eval $ac_try) 2>&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); }; }; then
27691 chktls_save_LDFLAGS
="$LDFLAGS"
27692 LDFLAGS
="-static $LDFLAGS"
27693 if test x
$gcc_no_link = xyes
; then
27694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27696 { (exit 1); exit 1; }; }
27698 cat >conftest.
$ac_ext <<_ACEOF
27699 int main() { return 0; }
27701 rm -f conftest.
$ac_objext conftest
$ac_exeext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27703 (eval $ac_link) 2>conftest.er1
27705 grep -v '^ *+' conftest.er1
>conftest.err
27707 cat conftest.err
>&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } &&
27710 { ac_try
='test -z "$ac_c_werror_flag"
27711 || test ! -s conftest.err'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; } &&
27717 { ac_try
='test -s conftest$ac_exeext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 if test "$cross_compiling" = yes; then
27724 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27725 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27726 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27727 See \`config.log' for more details." >&5
27728 echo "$as_me: error: cannot run test program while cross compiling
27729 See \`config.log' for more details." >&2;}
27730 { (exit 1); exit 1; }; }; }
27732 cat >conftest.
$ac_ext <<_ACEOF
27733 __thread int a; int b; int main() { return a = b; }
27735 rm -f conftest
$ac_exeext
27736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27737 (eval $ac_link) 2>&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27742 (eval $ac_try) 2>&5
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); }; }; then
27746 gcc_cv_have_tls
=yes
27748 echo "$as_me: program exited with status $ac_status" >&5
27749 echo "$as_me: failed program was:" >&5
27750 sed 's/^/| /' conftest.
$ac_ext >&5
27752 ( exit $ac_status )
27755 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27758 echo "$as_me: failed program was:" >&5
27759 sed 's/^/| /' conftest.
$ac_ext >&5
27761 gcc_cv_have_tls
=yes
27763 rm -f conftest.err conftest.
$ac_objext \
27764 conftest
$ac_exeext conftest.
$ac_ext
27765 LDFLAGS
="$chktls_save_LDFLAGS"
27766 if test $gcc_cv_have_tls = yes; then
27767 chktls_save_CFLAGS
="$CFLAGS"
27768 thread_CFLAGS
=failed
27769 for flag
in '' '-pthread' '-lpthread'; do
27770 CFLAGS
="$flag $chktls_save_CFLAGS"
27771 if test x
$gcc_no_link = xyes
; then
27772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27774 { (exit 1); exit 1; }; }
27776 cat >conftest.
$ac_ext <<_ACEOF
27779 cat confdefs.h
>>conftest.
$ac_ext
27780 cat >>conftest.
$ac_ext <<_ACEOF
27781 /* end confdefs.h. */
27782 #include <pthread.h>
27783 void *g(void *d) { return NULL; }
27787 pthread_t t; pthread_create(&t,NULL,g,NULL);
27792 rm -f conftest.
$ac_objext conftest
$ac_exeext
27793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27794 (eval $ac_link) 2>conftest.er1
27796 grep -v '^ *+' conftest.er1
>conftest.err
27798 cat conftest.err
>&5
27799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800 (exit $ac_status); } &&
27801 { ac_try
='test -z "$ac_c_werror_flag"
27802 || test ! -s conftest.err'
27803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804 (eval $ac_try) 2>&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); }; } &&
27808 { ac_try
='test -s conftest$ac_exeext'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; }; then
27814 thread_CFLAGS
="$flag"
27816 echo "$as_me: failed program was:" >&5
27817 sed 's/^/| /' conftest.
$ac_ext >&5
27820 rm -f conftest.err conftest.
$ac_objext \
27821 conftest
$ac_exeext conftest.
$ac_ext
27822 if test "X$thread_CFLAGS" != Xfailed
; then
27826 CFLAGS
="$chktls_save_CFLAGS"
27827 if test "X$thread_CFLAGS" != Xfailed
; then
27828 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
27829 if test "$cross_compiling" = yes; then
27830 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
27831 echo "$as_me: error: in \`$ac_pwd':" >&2;}
27832 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
27833 See \`config.log' for more details." >&5
27834 echo "$as_me: error: cannot run test program while cross compiling
27835 See \`config.log' for more details." >&2;}
27836 { (exit 1); exit 1; }; }; }
27838 cat >conftest.
$ac_ext <<_ACEOF
27841 cat confdefs.h
>>conftest.
$ac_ext
27842 cat >>conftest.
$ac_ext <<_ACEOF
27843 /* end confdefs.h. */
27844 #include <pthread.h>
27846 static int *a_in_other_thread;
27848 thread_func (void *arg)
27850 a_in_other_thread = &a;
27857 void *thread_retval;
27858 int *a_in_main_thread;
27859 if (pthread_create (&thread, (pthread_attr_t *)0,
27860 thread_func, (void *)0))
27862 a_in_main_thread = &a;
27863 if (pthread_join (thread, &thread_retval))
27865 return (a_in_other_thread == a_in_main_thread);
27870 rm -f conftest
$ac_exeext
27871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27872 (eval $ac_link) 2>&5
27874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27875 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27877 (eval $ac_try) 2>&5
27879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27880 (exit $ac_status); }; }; then
27881 gcc_cv_have_tls
=yes
27883 echo "$as_me: program exited with status $ac_status" >&5
27884 echo "$as_me: failed program was:" >&5
27885 sed 's/^/| /' conftest.
$ac_ext >&5
27887 ( exit $ac_status )
27890 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27892 CFLAGS
="$chktls_save_CFLAGS"
27896 echo "$as_me: program exited with status $ac_status" >&5
27897 echo "$as_me: failed program was:" >&5
27898 sed 's/^/| /' conftest.
$ac_ext >&5
27900 ( exit $ac_status )
27903 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
27906 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
27907 echo "${ECHO_T}$gcc_cv_have_tls" >&6
27908 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27910 cat >>confdefs.h
<<\_ACEOF
27916 # For _Unwind_GetIPInfo.
27919 # Check whether --with-system-libunwind or --without-system-libunwind was given.
27920 if test "${with_system_libunwind+set}" = set; then
27921 withval
="$with_system_libunwind"
27924 # If system-libunwind was not specifically set, pick a default setting.
27925 if test x
$with_system_libunwind = x
; then
27927 ia64-
*-hpux*) with_system_libunwind
=yes ;;
27928 *) with_system_libunwind
=no
;;
27931 # Based on system-libunwind and target, do we have ipinfo?
27932 if test x
$with_system_libunwind = xyes
; then
27934 ia64-
*-*) have_unwind_getipinfo
=no
;;
27935 *) have_unwind_getipinfo
=yes ;;
27938 # Darwin before version 9 does not have _Unwind_GetIPInfo.
27941 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
27942 *) have_unwind_getipinfo
=yes ;;
27947 if test x
$have_unwind_getipinfo = xyes
; then
27949 cat >>confdefs.h
<<\_ACEOF
27950 #define HAVE_GETIPINFO 1
27956 # See if linker supports anonymous version scripts.
27957 echo "$as_me:$LINENO: checking whether ld supports anonymous version scripts" >&5
27958 echo $ECHO_N "checking whether ld supports anonymous version scripts... $ECHO_C" >&6
27959 if test "${libjava_cv_anon_version_script+set}" = set; then
27960 echo $ECHO_N "(cached) $ECHO_C" >&6
27962 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
27963 libjava_cv_anon_version_script
=no
27964 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
27965 echo '{ global: globalsymb*; local: *; };' > conftest.map
27966 if test x
$gcc_no_link = xyes
; then
27967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27969 { (exit 1); exit 1; }; }
27971 cat >conftest.
$ac_ext <<_ACEOF
27974 cat confdefs.h
>>conftest.
$ac_ext
27975 cat >>conftest.
$ac_ext <<_ACEOF
27976 /* end confdefs.h. */
27977 void globalsymbol (void) {} void localsymbol (void) {}
27986 rm -f conftest.
$ac_objext conftest
$ac_exeext
27987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27988 (eval $ac_link) 2>conftest.er1
27990 grep -v '^ *+' conftest.er1
>conftest.err
27992 cat conftest.err
>&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } &&
27995 { ac_try
='test -z "$ac_c_werror_flag"
27996 || test ! -s conftest.err'
27997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27998 (eval $ac_try) 2>&5
28000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28001 (exit $ac_status); }; } &&
28002 { ac_try
='test -s conftest$ac_exeext'
28003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28004 (eval $ac_try) 2>&5
28006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28007 (exit $ac_status); }; }; then
28008 libjava_cv_anon_version_script
=yes
28010 echo "$as_me: failed program was:" >&5
28011 sed 's/^/| /' conftest.
$ac_ext >&5
28014 rm -f conftest.err conftest.
$ac_objext \
28015 conftest
$ac_exeext conftest.
$ac_ext
28016 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
28019 echo "$as_me:$LINENO: result: $libjava_cv_anon_version_script" >&5
28020 echo "${ECHO_T}$libjava_cv_anon_version_script" >&6
28023 if test "$libjava_cv_anon_version_script" = yes; then
28024 ANONVERSCRIPT_TRUE
=
28025 ANONVERSCRIPT_FALSE
='#'
28027 ANONVERSCRIPT_TRUE
='#'
28028 ANONVERSCRIPT_FALSE
=
28032 # Check if linker supports static linking on a per library basis
28033 LD_START_STATIC_SPEC
=
28034 LD_FINISH_STATIC_SPEC
=
28035 if $LD --help 2>&1 |
grep -q -e -call_shared ; then
28036 if $LD --help 2>&1 |
grep -q -e -non_shared ; then
28037 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
28038 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
28044 here
=`${PWDCMD-pwd}`
28047 # We get this from the environment.
28051 # Check whether --with-python-dir or --without-python-dir was given.
28052 if test "${with_python_dir+set}" = set; then
28053 withval
="$with_python_dir"
28054 with_python_dir
=$withval
28059 if test "x${with_python_dir}" = "x"
28061 # Needed for installing Python modules during make install.
28062 python_mod_dir
="\${prefix}/share/python"
28063 # Needed for substituting into aot-compile*
28064 python_mod_dir_expanded
="${prefix}/share/python"
28066 python_mod_dir
="\${prefix}${with_python_dir}"
28067 python_mod_dir_expanded
="${prefix}${with_python_dir}"
28069 echo "$as_me:$LINENO: result: Python modules dir: ${python_mod_dir_expanded}" >&5
28070 echo "${ECHO_T}Python modules dir: ${python_mod_dir_expanded}" >&6;
28074 # needed for aot-compile-rpm
28078 # Check whether --enable-aot-compile-rpm or --disable-aot-compile-rpm was given.
28079 if test "${enable_aot_compile_rpm+set}" = set; then
28080 enableval
="$enable_aot_compile_rpm"
28081 case "${enableval}" in
28082 yes) AOT_RPM_ENABLED
=yes ;;
28083 no
) AOT_RPM_ENABLED
=no
;;
28084 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable aot-compile-rpm" >&5
28085 echo "$as_me: error: Unknown argument to enable/disable aot-compile-rpm" >&2;}
28086 { (exit 1); exit 1; }; } ;;
28094 if test "x${AOT_RPM_ENABLED}" = xyes
; then
28095 INSTALL_AOT_RPM_TRUE
=
28096 INSTALL_AOT_RPM_FALSE
='#'
28098 INSTALL_AOT_RPM_TRUE
='#'
28099 INSTALL_AOT_RPM_FALSE
=
28103 # Check whether --enable-java-home or --disable-java-home was given.
28104 if test "${enable_java_home+set}" = set; then
28105 enableval
="$enable_java_home"
28106 case "${enableval}" in
28107 yes) JAVA_HOME_ENABLED
=yes ;;
28108 no
) JAVA_HOME_ENABLED
=no
;;
28109 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable java-home" >&5
28110 echo "$as_me: error: Unknown argument to enable/disable java-home" >&2;}
28111 { (exit 1); exit 1; }; } ;;
28114 JAVA_HOME_ENABLED
=no
28119 if test "x${JAVA_HOME_ENABLED}" = xyes
; then
28120 CREATE_JAVA_HOME_TRUE
=
28121 CREATE_JAVA_HOME_FALSE
='#'
28123 CREATE_JAVA_HOME_TRUE
='#'
28124 CREATE_JAVA_HOME_FALSE
=
28128 # Only do these checks if java-home above is enabled.
28129 if test "x${JAVA_HOME_ENABLED}" = xyes
28133 # Check whether --with-gcc-suffix or --without-gcc-suffix was given.
28134 if test "${with_gcc_suffix+set}" = set; then
28135 withval
="$with_gcc_suffix"
28136 gcc_suffix
=$withval
28140 echo "$as_me:$LINENO: result: GCC suffix: ${gcc_suffix}" >&5
28141 echo "${ECHO_T}GCC suffix: ${gcc_suffix}" >&6
28145 # Check whether --with-arch-directory or --without-arch-directory was given.
28146 if test "${with_arch_directory+set}" = set; then
28147 withval
="$with_arch_directory"
28154 # Check whether --with-os-directory or --without-os-directory was given.
28155 if test "${with_os_directory+set}" = set; then
28156 withval
="$with_os_directory"
28163 # Check whether --with-origin-name or --without-origin-name was given.
28164 if test "${with_origin_name+set}" = set; then
28165 withval
="$with_origin_name"
28166 origin_name
=$withval
28168 origin_name
=gcj
${gcc_suffix}
28170 echo "$as_me:$LINENO: result: JPackage origin name: ${origin_name}" >&5
28171 echo "${ECHO_T}JPackage origin name: ${origin_name}" >&6
28174 # Check whether --with-arch-suffix or --without-arch-suffix was given.
28175 if test "${with_arch_suffix+set}" = set; then
28176 withval
="$with_arch_suffix"
28177 arch_suffix
=$withval
28181 echo "$as_me:$LINENO: result: arch suffix: ${arch_suffix}" >&5
28182 echo "${ECHO_T}arch suffix: ${arch_suffix}" >&6
28185 # Check whether --with-jvm-root-dir or --without-jvm-root-dir was given.
28186 if test "${with_jvm_root_dir+set}" = set; then
28187 withval
="$with_jvm_root_dir"
28188 jvm_root_dir
=$withval
28190 jvm_root_dir
="\${prefix}/lib/jvm"
28192 echo "$as_me:$LINENO: result: JVM root installation directory: ${jvm_root_dir}" >&5
28193 echo "${ECHO_T}JVM root installation directory: ${jvm_root_dir}" >&6
28196 # Check whether --with-jvm-jar-dir or --without-jvm-jar-dir was given.
28197 if test "${with_jvm_jar_dir+set}" = set; then
28198 withval
="$with_jvm_jar_dir"
28199 jvm_jar_dir
=$withval
28201 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
28203 echo "$as_me:$LINENO: result: JAR root installation directory: ${jvm_jar_dir}" >&5
28204 echo "${ECHO_T}JAR root installation directory: ${jvm_jar_dir}" >&6
28210 echo "$as_me:$LINENO: result: Java version: ${JAVA_VERSION}" >&5
28211 echo "${ECHO_T}Java version: ${JAVA_VERSION}" >&6
28214 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
28215 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
28217 JVM_ROOT_DIR
=${jvm_root_dir}
28219 echo "$as_me:$LINENO: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
28220 echo "${ECHO_T}JVM ROOT directory: ${JVM_ROOT_DIR}" >&6
28222 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
28224 echo "$as_me:$LINENO: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
28225 echo "${ECHO_T}JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6
28227 JVM_JAR_DIR
=${jvm_jar_dir}
28229 echo "$as_me:$LINENO: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
28230 echo "${ECHO_T}JVM JAR directory: ${JVM_JAR_DIR}" >&6
28241 SDK_BIN_DIR
=${jvm_root_dir}/bin
28243 echo "$as_me:$LINENO: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
28244 echo "${ECHO_T}SDK tools directory: ${SDK_BIN_DIR}" >&6
28246 SDK_LIB_DIR
=${jvm_root_dir}/lib
28248 echo "$as_me:$LINENO: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
28249 echo "${ECHO_T}SDK jar directory: ${SDK_LIB_DIR}" >&6
28251 SDK_INCLUDE_DIR
=${jvm_root_dir}/include
28253 echo "$as_me:$LINENO: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
28254 echo "${ECHO_T}SDK include directory: ${SDK_INCLUDE_DIR}" >&6
28256 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
28258 echo "$as_me:$LINENO: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
28259 echo "${ECHO_T}JRE tools directory: ${JRE_BIN_DIR}" >&6
28261 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
28263 echo "$as_me:$LINENO: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
28264 echo "${ECHO_T}JRE lib directory: ${JRE_LIB_DIR}" >&6
28266 # Find gcj prefix using gcj found in PATH.
28267 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
28269 # Where do the gcj binaries live?
28270 # For jhbuild based builds, they all live in a sibling of bin called
28271 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
28272 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
28274 echo "$as_me:$LINENO: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
28275 echo "${ECHO_T}GCJ tools directory: ${GCJ_BIN_DIR}" >&6
28277 echo "$as_me:$LINENO: result: host is ${host}" >&5
28278 echo "${ECHO_T}host is ${host}" >&6
28279 if test "x${host_cpu}" = "x"
28282 *-mingw* |
*-cygwin*)
28284 i486-
* | i586-
* | i686-
*)
28289 host_cpu
=${host_cpu};;
28292 echo "$as_me:$LINENO: result: arch directory: ${host_cpu}" >&5
28293 echo "${ECHO_T}arch directory: ${host_cpu}" >&6
28297 if test "x${host_os}" = "x"
28300 *-mingw* |
*-cygwin*)
28305 host_os
=${host_os};;
28308 echo os directory
: ${host_os}
28312 # make an expanded $libdir, for substituting into
28313 # scripts (and other non-Makefile things).
28315 if test "x${exec_prefix}" = "xNONE"
28317 lib_exec_prefix
=$prefix
28319 lib_exec_prefix
=$exec_prefix
28321 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
28325 ac_config_files
="$ac_config_files Makefile libgcj.pc libgcj.spec libgcj-test.spec gcj/Makefile include/Makefile testsuite/Makefile contrib/aotcompile.py contrib/aot-compile contrib/aot-compile-rpm contrib/generate-cacerts.pl contrib/rebuild-gcj-db"
28328 if test ${multilib} = yes; then
28329 multilib_arg
="--enable-multilib"
28334 ac_config_files
="$ac_config_files scripts/jar"
28336 cat >confcache
<<\_ACEOF
28337 # This file is a shell script that caches the results of configure
28338 # tests run on this system so they can be shared between configure
28339 # scripts and configure runs, see configure's option --config-cache.
28340 # It is not useful on other systems. If it contains results you don't
28341 # want to keep, you may remove or edit it.
28343 # config.status only pays attention to the cache file if you give it
28344 # the --recheck option to rerun configure.
28346 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28347 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28348 # following values.
28352 # The following way of writing the cache mishandles newlines in values,
28353 # but we know of no workaround that is simple, portable, and efficient.
28354 # So, don't put newlines in cache variables' values.
28355 # Ultrix sh set writes to stderr and can't be redirected directly,
28356 # and sets the high bit in the cache file unless we assign to the vars.
28359 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28361 # `set' does not quote correctly, so add quotes (double-quote
28362 # substitution turns \\\\ into \\, and sed turns \\ into \).
28365 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28368 # `set' quotes correctly as required by POSIX, so do not add quotes.
28370 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28377 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28379 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28381 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
28382 if test -w $cache_file; then
28383 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28384 cat confcache
>$cache_file
28386 echo "not updating unwritable cache $cache_file"
28391 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
28392 # Let make expand exec_prefix.
28393 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
28395 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28396 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28397 # trailing colons and then remove the whole line if VPATH becomes empty
28398 # (actually we leave an empty line to preserve line numbers).
28399 if test "x$srcdir" = x.
; then
28400 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
28401 s/:*\$(srcdir):*/:/;
28402 s/:*\${srcdir}:*/:/;
28404 s/^\([^=]*=[ ]*\):*/\1/;
28410 DEFS
=-DHAVE_CONFIG_H
28414 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
28415 # 1. Remove the extension, and $U if already installed.
28416 ac_i
=`echo "$ac_i" |
28417 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
28419 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
28420 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
28422 LIBOBJS
=$ac_libobjs
28424 LTLIBOBJS
=$ac_ltlibobjs
28427 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
28428 { { echo "$as_me:$LINENO: error: conditional \"CREATE_GJDOC\" was never defined.
28429 Usually this means the macro was only invoked conditionally." >&5
28430 echo "$as_me: error: conditional \"CREATE_GJDOC\" was never defined.
28431 Usually this means the macro was only invoked conditionally." >&2;}
28432 { (exit 1); exit 1; }; }
28434 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
28435 { { echo "$as_me:$LINENO: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
28436 Usually this means the macro was only invoked conditionally." >&5
28437 echo "$as_me: error: conditional \"JAVA_MAINTAINER_MODE\" was never defined.
28438 Usually this means the macro was only invoked conditionally." >&2;}
28439 { (exit 1); exit 1; }; }
28441 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
28442 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
28443 Usually this means the macro was only invoked conditionally." >&5
28444 echo "$as_me: error: conditional \"AMDEP\" was never defined.
28445 Usually this means the macro was only invoked conditionally." >&2;}
28446 { (exit 1); exit 1; }; }
28448 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
28449 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
28450 Usually this means the macro was only invoked conditionally." >&5
28451 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
28452 Usually this means the macro was only invoked conditionally." >&2;}
28453 { (exit 1); exit 1; }; }
28455 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
28456 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
28457 Usually this means the macro was only invoked conditionally." >&5
28458 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
28459 Usually this means the macro was only invoked conditionally." >&2;}
28460 { (exit 1); exit 1; }; }
28462 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
28463 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
28464 Usually this means the macro was only invoked conditionally." >&5
28465 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
28466 Usually this means the macro was only invoked conditionally." >&2;}
28467 { (exit 1); exit 1; }; }
28469 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
28470 { { echo "$as_me:$LINENO: error: conditional \"XLIB_AWT\" was never defined.
28471 Usually this means the macro was only invoked conditionally." >&5
28472 echo "$as_me: error: conditional \"XLIB_AWT\" was never defined.
28473 Usually this means the macro was only invoked conditionally." >&2;}
28474 { (exit 1); exit 1; }; }
28476 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
28477 { { echo "$as_me:$LINENO: error: conditional \"X_AWT\" was never defined.
28478 Usually this means the macro was only invoked conditionally." >&5
28479 echo "$as_me: error: conditional \"X_AWT\" was never defined.
28480 Usually this means the macro was only invoked conditionally." >&2;}
28481 { (exit 1); exit 1; }; }
28483 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28484 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28485 Usually this means the macro was only invoked conditionally." >&5
28486 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28487 Usually this means the macro was only invoked conditionally." >&2;}
28488 { (exit 1); exit 1; }; }
28490 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28491 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28492 Usually this means the macro was only invoked conditionally." >&5
28493 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28494 Usually this means the macro was only invoked conditionally." >&2;}
28495 { (exit 1); exit 1; }; }
28497 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
28498 { { echo "$as_me:$LINENO: error: conditional \"TESTSUBDIR\" was never defined.
28499 Usually this means the macro was only invoked conditionally." >&5
28500 echo "$as_me: error: conditional \"TESTSUBDIR\" was never defined.
28501 Usually this means the macro was only invoked conditionally." >&2;}
28502 { (exit 1); exit 1; }; }
28504 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
28505 { { echo "$as_me:$LINENO: error: conditional \"BUILD_ECJ1\" was never defined.
28506 Usually this means the macro was only invoked conditionally." >&5
28507 echo "$as_me: error: conditional \"BUILD_ECJ1\" was never defined.
28508 Usually this means the macro was only invoked conditionally." >&2;}
28509 { (exit 1); exit 1; }; }
28511 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
28512 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28513 Usually this means the macro was only invoked conditionally." >&5
28514 echo "$as_me: error: conditional \"INSTALL_ECJ_JAR\" was never defined.
28515 Usually this means the macro was only invoked conditionally." >&2;}
28516 { (exit 1); exit 1; }; }
28518 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
28519 { { echo "$as_me:$LINENO: error: conditional \"JAVA_HOME_SET\" was never defined.
28520 Usually this means the macro was only invoked conditionally." >&5
28521 echo "$as_me: error: conditional \"JAVA_HOME_SET\" was never defined.
28522 Usually this means the macro was only invoked conditionally." >&2;}
28523 { (exit 1); exit 1; }; }
28525 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
28526 { { echo "$as_me:$LINENO: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28527 Usually this means the macro was only invoked conditionally." >&5
28528 echo "$as_me: error: conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
28529 Usually this means the macro was only invoked conditionally." >&2;}
28530 { (exit 1); exit 1; }; }
28532 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
28533 { { echo "$as_me:$LINENO: error: conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
28534 Usually this means the macro was only invoked conditionally." >&5
28535 echo "$as_me: error: conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
28536 Usually this means the macro was only invoked conditionally." >&2;}
28537 { (exit 1); exit 1; }; }
28539 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
28540 { { echo "$as_me:$LINENO: error: conditional \"INTERPRETER\" was never defined.
28541 Usually this means the macro was only invoked conditionally." >&5
28542 echo "$as_me: error: conditional \"INTERPRETER\" was never defined.
28543 Usually this means the macro was only invoked conditionally." >&2;}
28544 { (exit 1); exit 1; }; }
28546 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
28547 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28548 Usually this means the macro was only invoked conditionally." >&5
28549 echo "$as_me: error: conditional \"USING_WIN32_PLATFORM\" was never defined.
28550 Usually this means the macro was only invoked conditionally." >&2;}
28551 { (exit 1); exit 1; }; }
28553 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
28554 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28555 Usually this means the macro was only invoked conditionally." >&5
28556 echo "$as_me: error: conditional \"USING_POSIX_PLATFORM\" was never defined.
28557 Usually this means the macro was only invoked conditionally." >&2;}
28558 { (exit 1); exit 1; }; }
28560 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
28561 { { echo "$as_me:$LINENO: error: conditional \"USING_DARWIN_CRT\" was never defined.
28562 Usually this means the macro was only invoked conditionally." >&5
28563 echo "$as_me: error: conditional \"USING_DARWIN_CRT\" was never defined.
28564 Usually this means the macro was only invoked conditionally." >&2;}
28565 { (exit 1); exit 1; }; }
28567 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
28568 { { echo "$as_me:$LINENO: error: conditional \"USING_BOEHMGC\" was never defined.
28569 Usually this means the macro was only invoked conditionally." >&5
28570 echo "$as_me: error: conditional \"USING_BOEHMGC\" was never defined.
28571 Usually this means the macro was only invoked conditionally." >&2;}
28572 { (exit 1); exit 1; }; }
28574 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
28575 { { echo "$as_me:$LINENO: error: conditional \"USING_NOGC\" was never defined.
28576 Usually this means the macro was only invoked conditionally." >&5
28577 echo "$as_me: error: conditional \"USING_NOGC\" was never defined.
28578 Usually this means the macro was only invoked conditionally." >&2;}
28579 { (exit 1); exit 1; }; }
28581 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
28582 { { echo "$as_me:$LINENO: error: conditional \"USING_POSIX_THREADS\" was never defined.
28583 Usually this means the macro was only invoked conditionally." >&5
28584 echo "$as_me: error: conditional \"USING_POSIX_THREADS\" was never defined.
28585 Usually this means the macro was only invoked conditionally." >&2;}
28586 { (exit 1); exit 1; }; }
28588 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
28589 { { echo "$as_me:$LINENO: error: conditional \"USING_WIN32_THREADS\" was never defined.
28590 Usually this means the macro was only invoked conditionally." >&5
28591 echo "$as_me: error: conditional \"USING_WIN32_THREADS\" was never defined.
28592 Usually this means the macro was only invoked conditionally." >&2;}
28593 { (exit 1); exit 1; }; }
28595 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
28596 { { echo "$as_me:$LINENO: error: conditional \"USING_NO_THREADS\" was never defined.
28597 Usually this means the macro was only invoked conditionally." >&5
28598 echo "$as_me: error: conditional \"USING_NO_THREADS\" was never defined.
28599 Usually this means the macro was only invoked conditionally." >&2;}
28600 { (exit 1); exit 1; }; }
28602 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
28603 { { echo "$as_me:$LINENO: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28604 Usually this means the macro was only invoked conditionally." >&5
28605 echo "$as_me: error: conditional \"USE_LIBGCJ_BC\" was never defined.
28606 Usually this means the macro was only invoked conditionally." >&2;}
28607 { (exit 1); exit 1; }; }
28609 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
28610 { { echo "$as_me:$LINENO: error: conditional \"USING_GCC\" was never defined.
28611 Usually this means the macro was only invoked conditionally." >&5
28612 echo "$as_me: error: conditional \"USING_GCC\" was never defined.
28613 Usually this means the macro was only invoked conditionally." >&2;}
28614 { (exit 1); exit 1; }; }
28616 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
28617 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepGCJ\" was never defined.
28618 Usually this means the macro was only invoked conditionally." >&5
28619 echo "$as_me: error: conditional \"am__fastdepGCJ\" was never defined.
28620 Usually this means the macro was only invoked conditionally." >&2;}
28621 { (exit 1); exit 1; }; }
28623 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
28624 { { echo "$as_me:$LINENO: error: conditional \"NATIVE\" was never defined.
28625 Usually this means the macro was only invoked conditionally." >&5
28626 echo "$as_me: error: conditional \"NATIVE\" was never defined.
28627 Usually this means the macro was only invoked conditionally." >&2;}
28628 { (exit 1); exit 1; }; }
28630 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
28631 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SHARED\" was never defined.
28632 Usually this means the macro was only invoked conditionally." >&5
28633 echo "$as_me: error: conditional \"ENABLE_SHARED\" was never defined.
28634 Usually this means the macro was only invoked conditionally." >&2;}
28635 { (exit 1); exit 1; }; }
28637 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
28638 { { echo "$as_me:$LINENO: error: conditional \"NEEDS_DATA_START\" was never defined.
28639 Usually this means the macro was only invoked conditionally." >&5
28640 echo "$as_me: error: conditional \"NEEDS_DATA_START\" was never defined.
28641 Usually this means the macro was only invoked conditionally." >&2;}
28642 { (exit 1); exit 1; }; }
28644 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
28645 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_BINARIES\" was never defined.
28646 Usually this means the macro was only invoked conditionally." >&5
28647 echo "$as_me: error: conditional \"INSTALL_BINARIES\" was never defined.
28648 Usually this means the macro was only invoked conditionally." >&2;}
28649 { (exit 1); exit 1; }; }
28651 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
28652 { { echo "$as_me:$LINENO: error: conditional \"ANONVERSCRIPT\" was never defined.
28653 Usually this means the macro was only invoked conditionally." >&5
28654 echo "$as_me: error: conditional \"ANONVERSCRIPT\" was never defined.
28655 Usually this means the macro was only invoked conditionally." >&2;}
28656 { (exit 1); exit 1; }; }
28658 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
28659 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_AOT_RPM\" was never defined.
28660 Usually this means the macro was only invoked conditionally." >&5
28661 echo "$as_me: error: conditional \"INSTALL_AOT_RPM\" was never defined.
28662 Usually this means the macro was only invoked conditionally." >&2;}
28663 { (exit 1); exit 1; }; }
28665 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
28666 { { echo "$as_me:$LINENO: error: conditional \"CREATE_JAVA_HOME\" was never defined.
28667 Usually this means the macro was only invoked conditionally." >&5
28668 echo "$as_me: error: conditional \"CREATE_JAVA_HOME\" was never defined.
28669 Usually this means the macro was only invoked conditionally." >&2;}
28670 { (exit 1); exit 1; }; }
28673 : ${CONFIG_STATUS=./config.status}
28674 ac_clean_files_save
=$ac_clean_files
28675 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
28676 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
28677 echo "$as_me: creating $CONFIG_STATUS" >&6;}
28678 cat >$CONFIG_STATUS <<_ACEOF
28680 # Generated by $as_me.
28681 # Run this file to recreate the current configuration.
28682 # Compiler output produced by configure, useful for debugging
28683 # configure, is in config.log if it exists.
28686 ac_cs_recheck=false
28688 SHELL=\${CONFIG_SHELL-$SHELL}
28691 cat >>$CONFIG_STATUS <<\_ACEOF
28692 ## --------------------- ##
28693 ## M4sh Initialization. ##
28694 ## --------------------- ##
28696 # Be Bourne compatible
28697 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
28700 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
28701 # is contrary to our usage. Disable this feature.
28702 alias -g '${1+"$@"}'='"$@"'
28703 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
28706 DUALCASE
=1; export DUALCASE
# for MKS sh
28708 # Support unset when possible.
28709 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
28716 # Work around bugs in pre-3.0 UWIN ksh.
28717 $as_unset ENV MAIL MAILPATH
28724 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
28725 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
28726 LC_TELEPHONE LC_TIME
28728 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
28729 eval $as_var=C
; export $as_var
28735 # Required to use basename.
28736 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28742 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
28743 as_basename
=basename
28749 # Name of the executable.
28750 as_me
=`$as_basename "$0" ||
28751 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28752 X"$0" : 'X\(//\)$' \| \
28753 X"$0" : 'X\(/\)$' \| \
28754 . : '\(.\)' 2>/dev/null ||
28756 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
28757 /^X\/\(\/\/\)$/{ s//\1/; q; }
28758 /^X\/\(\/\).*/{ s//\1/; q; }
28762 # PATH needs CR, and LINENO needs CR and PATH.
28763 # Avoid depending upon Character Ranges.
28764 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
28765 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
28766 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
28767 as_cr_digits
='0123456789'
28768 as_cr_alnum
=$as_cr_Letters$as_cr_digits
28770 # The user is always right.
28771 if test "${PATH_SEPARATOR+set}" != set; then
28772 echo "#! /bin/sh" >conf$$.sh
28773 echo "exit 0" >>conf$$.sh
28775 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
28784 as_lineno_1
=$LINENO
28785 as_lineno_2
=$LINENO
28786 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
28787 test "x$as_lineno_1" != "x$as_lineno_2" &&
28788 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
28789 # Find who we are. Look in the path if we contain no path at all
28792 *[\\/]* ) as_myself
=$0 ;;
28793 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28794 for as_dir
in $PATH
28797 test -z "$as_dir" && as_dir
=.
28798 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
28803 # We did not find ourselves, most probably we were run as `sh COMMAND'
28804 # in which case we are not to be found in the path.
28805 if test "x$as_myself" = x
; then
28808 if test ! -f "$as_myself"; then
28809 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
28810 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
28811 { (exit 1); exit 1; }; }
28813 case $CONFIG_SHELL in
28815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28816 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
28819 test -z "$as_dir" && as_dir
=.
28820 for as_base
in sh bash ksh sh5
; do
28823 if ("$as_dir/$as_base" -c '
28824 as_lineno_1=$LINENO
28825 as_lineno_2=$LINENO
28826 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
28827 test "x$as_lineno_1" != "x$as_lineno_2" &&
28828 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
28829 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
28830 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
28831 CONFIG_SHELL
=$as_dir/$as_base
28832 export CONFIG_SHELL
28833 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
28841 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
28842 # uniformly replaced by the line number. The first 'sed' inserts a
28843 # line-number line before each line; the second 'sed' does the real
28844 # work. The second script uses 'N' to pair each line-number line
28845 # with the numbered line, and appends trailing '-' during
28846 # substitution so that $LINENO is not a special case at line end.
28847 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
28848 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
28849 sed '=' <$as_myself |
28854 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
28857 s,^['$as_cr_digits']*\n,,
28858 ' >$as_me.lineno
&&
28859 chmod +x
$as_me.lineno ||
28860 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
28861 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
28862 { (exit 1); exit 1; }; }
28864 # Don't try to exec as it changes $[0], causing all sort of problems
28865 # (the dirname of $[0] is not the place where we might find the
28866 # original and so on. Autoconf is especially sensible to this).
28868 # Exit status is that of the last command.
28873 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
28874 *c
*,-n*) ECHO_N
= ECHO_C
='
28876 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
28877 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
28880 if expr a
: '\(a\)' >/dev
/null
2>&1; then
28886 rm -f conf$$ conf$$.exe conf$$.
file
28888 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
28889 # We could just check for DJGPP; but this test a) works b) is more generic
28890 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
28891 if test -f conf$$.exe
; then
28892 # Don't use ln at all; we don't have any links
28897 elif ln conf$$.
file conf$$
2>/dev
/null
; then
28902 rm -f conf$$ conf$$.exe conf$$.
file
28904 if mkdir
-p .
2>/dev
/null
; then
28907 test -d .
/-p && rmdir .
/-p
28911 as_executable_p
="test -f"
28913 # Sed expression to map a string onto a valid CPP name.
28914 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
28916 # Sed expression to map a string onto a valid variable name.
28917 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
28921 # We need space, tab and new line, in precisely that order.
28931 # Open the log real soon, to keep \$[0] and so on meaningful, and to
28932 # report actual input values of CONFIG_FILES etc. instead of their
28933 # values after options handling. Logging --version etc. is OK.
28937 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28938 ## Running $as_me. ##
28943 This file was extended by libjava $as_me version-unused, which was
28944 generated by GNU Autoconf 2.59. Invocation command line was
28946 CONFIG_FILES = $CONFIG_FILES
28947 CONFIG_HEADERS = $CONFIG_HEADERS
28948 CONFIG_LINKS = $CONFIG_LINKS
28949 CONFIG_COMMANDS = $CONFIG_COMMANDS
28953 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
28957 # Files that config.status was made for.
28958 if test -n "$ac_config_files"; then
28959 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
28962 if test -n "$ac_config_headers"; then
28963 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
28966 if test -n "$ac_config_links"; then
28967 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
28970 if test -n "$ac_config_commands"; then
28971 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
28974 cat >>$CONFIG_STATUS <<\_ACEOF
28977 \`$as_me' instantiates files from templates according to the
28978 current configuration.
28980 Usage: $0 [OPTIONS] [FILE]...
28982 -h, --help print this help, then exit
28983 -V, --version print version number, then exit
28984 -q, --quiet do not print progress messages
28985 -d, --debug don't remove temporary files
28986 --recheck update $as_me by reconfiguring in the same conditions
28987 --file=FILE[:TEMPLATE]
28988 instantiate the configuration file FILE
28989 --header=FILE[:TEMPLATE]
28990 instantiate the configuration header FILE
28992 Configuration files:
28995 Configuration headers:
28998 Configuration links:
29001 Configuration commands:
29004 Report bugs to <bug-autoconf@gnu.org>."
29007 cat >>$CONFIG_STATUS <<_ACEOF
29009 libjava config.status version-unused
29010 configured by $0, generated by GNU Autoconf 2.59,
29011 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
29013 Copyright (C) 2003 Free Software Foundation, Inc.
29014 This config.status script is free software; the Free Software Foundation
29015 gives unlimited permission to copy, distribute and modify it."
29020 cat >>$CONFIG_STATUS <<\_ACEOF
29021 # If no file are specified by the user, then we need to provide default
29022 # value. By we need to know if files were specified by the user.
29028 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
29029 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
29037 *) # This is not an option, so the user has probably given explicit
29040 ac_need_defaults
=false
;;
29044 # Handling of the options.
29046 cat >>$CONFIG_STATUS <<\_ACEOF
29047 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
29049 --version |
--vers* |
-V )
29050 echo "$ac_cs_version"; exit 0 ;;
29052 # Conflict between --help and --header
29053 { { echo "$as_me:$LINENO: error: ambiguous option: $1
29054 Try \`$0 --help' for more information." >&5
29055 echo "$as_me: error: ambiguous option: $1
29056 Try \`$0 --help' for more information." >&2;}
29057 { (exit 1); exit 1; }; };;
29058 --help |
--hel |
-h )
29059 echo "$ac_cs_usage"; exit 0 ;;
29060 --debug |
--d* |
-d )
29062 --file |
--fil |
--fi |
--f )
29064 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
29065 ac_need_defaults
=false
;;
29066 --header |
--heade |
--head |
--hea )
29068 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
29069 ac_need_defaults
=false
;;
29070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
29071 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
29074 # This is an error.
29075 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
29076 Try \`$0 --help' for more information." >&5
29077 echo "$as_me: error: unrecognized option: $1
29078 Try \`$0 --help' for more information." >&2;}
29079 { (exit 1); exit 1; }; } ;;
29081 *) ac_config_targets
="$ac_config_targets $1" ;;
29087 ac_configure_extra_args
=
29089 if $ac_cs_silent; then
29091 ac_configure_extra_args
="$ac_configure_extra_args --silent"
29095 cat >>$CONFIG_STATUS <<_ACEOF
29096 if \$ac_cs_recheck; then
29097 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
29098 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29103 cat >>$CONFIG_STATUS <<_ACEOF
29105 # INIT-COMMANDS section.
29112 with_multisubdir="$with_multisubdir"
29113 with_multisrctop="$with_multisrctop"
29114 with_target_subdir="$with_target_subdir"
29115 ac_configure_args="${multilib_arg} ${ac_configure_args}"
29116 multi_basedir="$multi_basedir"
29117 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
29120 GFORTRAN="$GFORTRAN"
29122 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29125 # The HP-UX ksh and POSIX shell print the target directory to stdout
29126 # if CDPATH is set.
29127 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
29129 sed_quote_subst='$sed_quote_subst'
29130 double_quote_subst='$double_quote_subst'
29131 delay_variable_subst='$delay_variable_subst'
29132 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
29133 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
29134 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
29135 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
29136 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
29137 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
29138 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
29139 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
29140 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
29141 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
29142 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
29143 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
29144 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
29145 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
29146 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
29147 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
29148 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
29149 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
29150 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
29151 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
29152 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
29153 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
29154 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
29155 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
29156 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
29157 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
29158 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
29159 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29160 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
29161 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
29162 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
29163 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
29164 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29165 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
29166 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
29167 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29168 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29169 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29170 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
29171 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
29172 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
29173 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
29174 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
29175 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
29176 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"`'
29177 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
29178 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
29179 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
29180 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
29181 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
29182 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
29183 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
29184 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
29185 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
29186 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
29187 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
29188 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
29189 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
29190 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
29191 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
29192 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
29193 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
29194 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29195 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29196 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
29197 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
29198 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29199 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29200 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
29201 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29202 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29203 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29204 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29205 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29206 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29207 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
29208 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
29209 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
29210 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
29211 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
29212 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
29213 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
29214 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
29215 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
29216 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29217 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
29218 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
29219 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
29220 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
29221 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
29222 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29223 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
29224 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
29225 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29226 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
29227 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
29228 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
29229 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
29230 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
29231 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29232 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
29233 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
29234 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
29235 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
29236 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
29237 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29238 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29239 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
29240 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
29241 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
29242 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
29243 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
29244 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
29245 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
29246 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
29247 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
29248 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
29249 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
29250 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
29251 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
29252 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
29253 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
29254 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
29255 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
29256 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29257 LD_GCJ='`$ECHO "X$LD_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29258 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29259 old_archive_cmds_GCJ='`$ECHO "X$old_archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29260 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29261 compiler_GCJ='`$ECHO "X$compiler_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29262 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29263 GCC_GCJ='`$ECHO "X$GCC_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29264 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29265 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "X$lt_prog_compiler_no_builtin_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29266 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29267 lt_prog_compiler_wl_GCJ='`$ECHO "X$lt_prog_compiler_wl_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29268 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29269 lt_prog_compiler_pic_GCJ='`$ECHO "X$lt_prog_compiler_pic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29270 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29271 lt_prog_compiler_static_GCJ='`$ECHO "X$lt_prog_compiler_static_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29272 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29273 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "X$lt_cv_prog_compiler_c_o_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29274 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29275 archive_cmds_need_lc_GCJ='`$ECHO "X$archive_cmds_need_lc_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29276 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29277 enable_shared_with_static_runtimes_GCJ='`$ECHO "X$enable_shared_with_static_runtimes_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29278 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29279 export_dynamic_flag_spec_GCJ='`$ECHO "X$export_dynamic_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29280 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29281 whole_archive_flag_spec_GCJ='`$ECHO "X$whole_archive_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29282 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29283 compiler_needs_object_GCJ='`$ECHO "X$compiler_needs_object_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29284 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29285 old_archive_from_new_cmds_GCJ='`$ECHO "X$old_archive_from_new_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29286 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29287 old_archive_from_expsyms_cmds_GCJ='`$ECHO "X$old_archive_from_expsyms_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29288 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29289 archive_cmds_GCJ='`$ECHO "X$archive_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29290 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29291 archive_expsym_cmds_GCJ='`$ECHO "X$archive_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29292 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29293 module_cmds_GCJ='`$ECHO "X$module_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29294 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29295 module_expsym_cmds_GCJ='`$ECHO "X$module_expsym_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29296 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29297 with_gnu_ld_GCJ='`$ECHO "X$with_gnu_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29298 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29299 allow_undefined_flag_GCJ='`$ECHO "X$allow_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29300 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29301 no_undefined_flag_GCJ='`$ECHO "X$no_undefined_flag_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29302 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29303 hardcode_libdir_flag_spec_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29304 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29305 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "X$hardcode_libdir_flag_spec_ld_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29306 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29307 hardcode_libdir_separator_GCJ='`$ECHO "X$hardcode_libdir_separator_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29308 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29309 hardcode_direct_GCJ='`$ECHO "X$hardcode_direct_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29310 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29311 hardcode_direct_absolute_GCJ='`$ECHO "X$hardcode_direct_absolute_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29312 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29313 hardcode_minus_L_GCJ='`$ECHO "X$hardcode_minus_L_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29314 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29315 hardcode_shlibpath_var_GCJ='`$ECHO "X$hardcode_shlibpath_var_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29316 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29317 hardcode_automatic_GCJ='`$ECHO "X$hardcode_automatic_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29318 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29319 inherit_rpath_GCJ='`$ECHO "X$inherit_rpath_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29320 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29321 link_all_deplibs_GCJ='`$ECHO "X$link_all_deplibs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29322 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29323 fix_srcfile_path_GCJ='`$ECHO "X$fix_srcfile_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29324 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29325 always_export_symbols_GCJ='`$ECHO "X$always_export_symbols_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29326 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29327 export_symbols_cmds_GCJ='`$ECHO "X$export_symbols_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29328 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29329 exclude_expsyms_GCJ='`$ECHO "X$exclude_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29330 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29331 include_expsyms_GCJ='`$ECHO "X$include_expsyms_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29332 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29333 prelink_cmds_GCJ='`$ECHO "X$prelink_cmds_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29334 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29335 file_list_spec_GCJ='`$ECHO "X$file_list_spec_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29336 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29337 hardcode_action_GCJ='`$ECHO "X$hardcode_action_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29338 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29339 compiler_lib_search_dirs_GCJ='`$ECHO "X$compiler_lib_search_dirs_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29340 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29341 predep_objects_GCJ='`$ECHO "X$predep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29342 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29343 postdep_objects_GCJ='`$ECHO "X$postdep_objects_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29344 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29345 predeps_GCJ='`$ECHO "X$predeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29346 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29347 postdeps_GCJ='`$ECHO "X$postdeps_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29348 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
29349 compiler_lib_search_path_GCJ='`$ECHO "X$compiler_lib_search_path_GCJ" | $Xsed -e "$delay_single_quote_subst"`'
29352 LTCFLAGS='$LTCFLAGS'
29353 compiler='$compiler_DEFAULT'
29355 # Quote evaled strings.
29367 deplibs_check_method \
29376 lt_cv_sys_global_symbol_pipe \
29377 lt_cv_sys_global_symbol_to_cdecl \
29378 lt_cv_sys_global_symbol_to_c_name_address \
29379 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
29382 lt_prog_compiler_no_builtin_flag \
29383 lt_prog_compiler_wl \
29384 lt_prog_compiler_pic \
29385 lt_prog_compiler_static \
29386 lt_cv_prog_compiler_c_o \
29394 export_dynamic_flag_spec \
29395 whole_archive_flag_spec \
29396 compiler_needs_object \
29398 allow_undefined_flag \
29399 no_undefined_flag \
29400 hardcode_libdir_flag_spec \
29401 hardcode_libdir_flag_spec_ld \
29402 hardcode_libdir_separator \
29407 variables_saved_for_relink \
29409 library_names_spec \
29414 compiler_lib_search_dirs \
29419 compiler_lib_search_path \
29424 lt_prog_compiler_no_builtin_flag_CXX \
29425 lt_prog_compiler_no_builtin_flag_GCJ \
29426 lt_prog_compiler_wl_CXX \
29427 lt_prog_compiler_wl_GCJ \
29428 lt_prog_compiler_pic_CXX \
29429 lt_prog_compiler_pic_GCJ \
29430 lt_prog_compiler_static_CXX \
29431 lt_prog_compiler_static_GCJ \
29432 lt_cv_prog_compiler_c_o_CXX \
29433 lt_cv_prog_compiler_c_o_GCJ \
29434 export_dynamic_flag_spec_CXX \
29435 export_dynamic_flag_spec_GCJ \
29436 whole_archive_flag_spec_CXX \
29437 whole_archive_flag_spec_GCJ \
29438 compiler_needs_object_CXX \
29439 compiler_needs_object_GCJ \
29442 allow_undefined_flag_CXX \
29443 allow_undefined_flag_GCJ \
29444 no_undefined_flag_CXX \
29445 no_undefined_flag_GCJ \
29446 hardcode_libdir_flag_spec_CXX \
29447 hardcode_libdir_flag_spec_GCJ \
29448 hardcode_libdir_flag_spec_ld_CXX \
29449 hardcode_libdir_flag_spec_ld_GCJ \
29450 hardcode_libdir_separator_CXX \
29451 hardcode_libdir_separator_GCJ \
29452 fix_srcfile_path_CXX \
29453 fix_srcfile_path_GCJ \
29454 exclude_expsyms_CXX \
29455 exclude_expsyms_GCJ \
29456 include_expsyms_CXX \
29457 include_expsyms_GCJ \
29458 file_list_spec_CXX \
29459 file_list_spec_GCJ \
29460 compiler_lib_search_dirs_CXX \
29461 compiler_lib_search_dirs_GCJ \
29462 predep_objects_CXX \
29463 predep_objects_GCJ \
29464 postdep_objects_CXX \
29465 postdep_objects_GCJ \
29470 compiler_lib_search_path_CXX \
29471 compiler_lib_search_path_GCJ; do
29472 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
29473 *[\\\\\\\`\\"\\\$]*)
29474 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
29477 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29482 # Double-quote double-evaled strings.
29483 for var in reload_cmds \
29484 old_postinstall_cmds \
29485 old_postuninstall_cmds \
29487 extract_expsyms_cmds \
29488 old_archive_from_new_cmds \
29489 old_archive_from_expsyms_cmds \
29491 archive_expsym_cmds \
29493 module_expsym_cmds \
29494 export_symbols_cmds \
29497 postuninstall_cmds \
29499 sys_lib_search_path_spec \
29500 sys_lib_dlsearch_path_spec \
29501 old_archive_cmds_CXX \
29502 old_archive_cmds_GCJ \
29503 old_archive_from_new_cmds_CXX \
29504 old_archive_from_new_cmds_GCJ \
29505 old_archive_from_expsyms_cmds_CXX \
29506 old_archive_from_expsyms_cmds_GCJ \
29509 archive_expsym_cmds_CXX \
29510 archive_expsym_cmds_GCJ \
29513 module_expsym_cmds_CXX \
29514 module_expsym_cmds_GCJ \
29515 export_symbols_cmds_CXX \
29516 export_symbols_cmds_GCJ \
29518 prelink_cmds_GCJ; do
29519 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
29520 *[\\\\\\\`\\"\\\$]*)
29521 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
29524 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
29529 # Fix-up fallback echo if it was mangled by the above quoting rules.
29531 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
29535 ac_aux_dir='$ac_aux_dir'
29536 xsi_shell='$xsi_shell'
29537 lt_shell_append='$lt_shell_append'
29539 # See if we are running on zsh, and set the options which allow our
29540 # commands through without removal of \ escapes INIT.
29541 if test -n "\${ZSH_VERSION+set}" ; then
29542 setopt NO_GLOB_SUBST
29548 TIMESTAMP='$TIMESTAMP'
29563 cat >>$CONFIG_STATUS <<\_ACEOF
29564 for ac_config_target
in $ac_config_targets
29566 case "$ac_config_target" in
29567 # Handling of arguments.
29568 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29569 "libgcj.pc" ) CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
29570 "libgcj.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
29571 "libgcj-test.spec" ) CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
29572 "gcj/Makefile" ) CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
29573 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
29574 "testsuite/Makefile" ) CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
29575 "contrib/aotcompile.py" ) CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
29576 "contrib/aot-compile" ) CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
29577 "contrib/aot-compile-rpm" ) CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
29578 "contrib/generate-cacerts.pl" ) CONFIG_FILES
="$CONFIG_FILES contrib/generate-cacerts.pl" ;;
29579 "contrib/rebuild-gcj-db" ) CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
29580 "scripts/jar" ) CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
29581 "include/platform.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
29582 "java/io/natFile.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
29583 "java/lang/natConcreteProcess.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
29584 "java/net/natVMInetAddress.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
29585 "java/net/natVMNetworkInterface.cc" ) CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
29586 "gnu/java/net/natPlainSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
29587 "gnu/java/net/natPlainDatagramSocketImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
29588 "gnu/java/nio/natVMPipe.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
29589 "gnu/java/nio/natVMSelector.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
29590 "gnu/java/nio/channels/natFileChannelImpl.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
29591 "gnu/java/security/jce/prng/natVMSecureRandom.cc" ) CONFIG_LINKS
="$CONFIG_LINKS gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc" ;;
29592 "include/java-gc.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
29593 "include/java-threads.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
29594 "sysdep/locks.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
29595 "sysdep/backtrace.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
29596 "sysdep/descriptor.h" ) CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
29597 "include/java-signal.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
29598 "include/java-signal-aux.h" ) CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
29599 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
29600 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29601 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
29602 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29603 "gcj/libgcj-config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
29604 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29605 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29606 { (exit 1); exit 1; }; };;
29610 # If the user did not use the arguments to specify the items to instantiate,
29611 # then the envvar interface is used. Set only those that are not.
29612 # We use the long form for the default assignment because of an extremely
29613 # bizarre bug on SunOS 4.1.3.
29614 if $ac_need_defaults; then
29615 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29616 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29617 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
29618 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29621 # Have a temporary directory for convenience. Make it in the build tree
29622 # simply because there is no reason to put it here, and in addition,
29623 # creating and moving files from /tmp can sometimes cause problems.
29624 # Create a temporary directory, and hook for its removal unless debugging.
29627 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
29628 trap '{ (exit 1); exit 1; }' 1 2 13 15
29631 # Create a (secure) tmp directory for tmp files.
29634 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
29635 test -n "$tmp" && test -d "$tmp"
29638 tmp
=.
/confstat$$
-$RANDOM
29639 (umask 077 && mkdir
$tmp)
29642 echo "$me: cannot create a temporary directory in ." >&2
29643 { (exit 1); exit 1; }
29648 cat >>$CONFIG_STATUS <<_ACEOF
29651 # CONFIG_FILES section.
29654 # No need to generate the scripts if there are no CONFIG_FILES.
29655 # This happens for instance when ./config.status config.h
29656 if test -n "\$CONFIG_FILES"; then
29657 # Protect against being on the right side of a sed subst in config.status.
29658 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
29659 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
29660 s,@SHELL@,$SHELL,;t t
29661 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
29662 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
29663 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
29664 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
29665 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
29666 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
29667 s,@exec_prefix@,$exec_prefix,;t t
29668 s,@prefix@,$prefix,;t t
29669 s,@program_transform_name@,$program_transform_name,;t t
29670 s,@bindir@,$bindir,;t t
29671 s,@sbindir@,$sbindir,;t t
29672 s,@libexecdir@,$libexecdir,;t t
29673 s,@datadir@,$datadir,;t t
29674 s,@sysconfdir@,$sysconfdir,;t t
29675 s,@sharedstatedir@,$sharedstatedir,;t t
29676 s,@localstatedir@,$localstatedir,;t t
29677 s,@libdir@,$libdir,;t t
29678 s,@includedir@,$includedir,;t t
29679 s,@oldincludedir@,$oldincludedir,;t t
29680 s,@infodir@,$infodir,;t t
29681 s,@mandir@,$mandir,;t t
29682 s,@build_alias@,$build_alias,;t t
29683 s,@host_alias@,$host_alias,;t t
29684 s,@target_alias@,$target_alias,;t t
29685 s,@DEFS@,$DEFS,;t t
29686 s,@ECHO_C@,$ECHO_C,;t t
29687 s,@ECHO_N@,$ECHO_N,;t t
29688 s,@ECHO_T@,$ECHO_T,;t t
29689 s,@LIBS@,$LIBS,;t t
29690 s,@build@,$build,;t t
29691 s,@build_cpu@,$build_cpu,;t t
29692 s,@build_vendor@,$build_vendor,;t t
29693 s,@build_os@,$build_os,;t t
29694 s,@build_libsubdir@,$build_libsubdir,;t t
29695 s,@build_subdir@,$build_subdir,;t t
29696 s,@host_subdir@,$host_subdir,;t t
29697 s,@target_subdir@,$target_subdir,;t t
29698 s,@multi_basedir@,$multi_basedir,;t t
29699 s,@host@,$host,;t t
29700 s,@host_cpu@,$host_cpu,;t t
29701 s,@host_vendor@,$host_vendor,;t t
29702 s,@host_os@,$host_os,;t t
29703 s,@target@,$target,;t t
29704 s,@target_cpu@,$target_cpu,;t t
29705 s,@target_vendor@,$target_vendor,;t t
29706 s,@target_os@,$target_os,;t t
29707 s,@target_noncanonical@,$target_noncanonical,;t t
29708 s,@LN_S@,$LN_S,;t t
29709 s,@mkinstalldirs@,$mkinstalldirs,;t t
29710 s,@ANTLR_JAR@,$ANTLR_JAR,;t t
29711 s,@CREATE_GJDOC_TRUE@,$CREATE_GJDOC_TRUE,;t t
29712 s,@CREATE_GJDOC_FALSE@,$CREATE_GJDOC_FALSE,;t t
29713 s,@JAVA_MAINTAINER_MODE_TRUE@,$JAVA_MAINTAINER_MODE_TRUE,;t t
29714 s,@JAVA_MAINTAINER_MODE_FALSE@,$JAVA_MAINTAINER_MODE_FALSE,;t t
29716 s,@ac_ct_CC@,$ac_ct_CC,;t t
29717 s,@EXEEXT@,$EXEEXT,;t t
29718 s,@OBJEXT@,$OBJEXT,;t t
29720 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
29721 s,@CFLAGS@,$CFLAGS,;t t
29722 s,@CXXFLAGS@,$CXXFLAGS,;t t
29723 s,@LDFLAGS@,$LDFLAGS,;t t
29724 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
29725 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
29726 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
29727 s,@CYGPATH_W@,$CYGPATH_W,;t t
29728 s,@PACKAGE@,$PACKAGE,;t t
29729 s,@VERSION@,$VERSION,;t t
29730 s,@ACLOCAL@,$ACLOCAL,;t t
29731 s,@AUTOCONF@,$AUTOCONF,;t t
29732 s,@AUTOMAKE@,$AUTOMAKE,;t t
29733 s,@AUTOHEADER@,$AUTOHEADER,;t t
29734 s,@MAKEINFO@,$MAKEINFO,;t t
29735 s,@install_sh@,$install_sh,;t t
29736 s,@STRIP@,$STRIP,;t t
29737 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
29738 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
29739 s,@mkdir_p@,$mkdir_p,;t t
29741 s,@SET_MAKE@,$SET_MAKE,;t t
29742 s,@am__leading_dot@,$am__leading_dot,;t t
29743 s,@AMTAR@,$AMTAR,;t t
29744 s,@am__tar@,$am__tar,;t t
29745 s,@am__untar@,$am__untar,;t t
29746 s,@DEPDIR@,$DEPDIR,;t t
29747 s,@am__include@,$am__include,;t t
29748 s,@am__quote@,$am__quote,;t t
29749 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
29750 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
29751 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
29752 s,@CCDEPMODE@,$CCDEPMODE,;t t
29753 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
29754 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
29755 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
29756 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
29757 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
29759 s,@ac_ct_AS@,$ac_ct_AS,;t t
29761 s,@ac_ct_LD@,$ac_ct_LD,;t t
29763 s,@ac_ct_AR@,$ac_ct_AR,;t t
29764 s,@RANLIB@,$RANLIB,;t t
29765 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
29768 s,@UNZIP@,$UNZIP,;t t
29769 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
29770 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
29771 s,@MAINT@,$MAINT,;t t
29772 s,@LIBGCJ_CFLAGS@,$LIBGCJ_CFLAGS,;t t
29773 s,@LIBGCJ_CXXFLAGS@,$LIBGCJ_CXXFLAGS,;t t
29774 s,@LIBGCJ_JAVAFLAGS@,$LIBGCJ_JAVAFLAGS,;t t
29775 s,@LIBGCJ_LD_SYMBOLIC@,$LIBGCJ_LD_SYMBOLIC,;t t
29776 s,@LIBGCJ_LD_SYMBOLIC_FUNCTIONS@,$LIBGCJ_LD_SYMBOLIC_FUNCTIONS,;t t
29777 s,@LIBGCJDEBUG@,$LIBGCJDEBUG,;t t
29778 s,@TOOLKIT@,$TOOLKIT,;t t
29779 s,@XLIB_AWT_TRUE@,$XLIB_AWT_TRUE,;t t
29780 s,@XLIB_AWT_FALSE@,$XLIB_AWT_FALSE,;t t
29781 s,@X_AWT_TRUE@,$X_AWT_TRUE,;t t
29782 s,@X_AWT_FALSE@,$X_AWT_FALSE,;t t
29783 s,@GCJ_FOR_ECJX@,$GCJ_FOR_ECJX,;t t
29784 s,@GCJH@,$GCJH,;t t
29785 s,@host_exeext@,$host_exeext,;t t
29786 s,@INCLTDL@,$INCLTDL,;t t
29787 s,@LIBLTDL@,$LIBLTDL,;t t
29788 s,@DIRLTDL@,$DIRLTDL,;t t
29789 s,@LIBTOOL@,$LIBTOOL,;t t
29791 s,@EGREP@,$EGREP,;t t
29792 s,@FGREP@,$FGREP,;t t
29793 s,@GREP@,$GREP,;t t
29794 s,@DUMPBIN@,$DUMPBIN,;t t
29795 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
29797 s,@OBJDUMP@,$OBJDUMP,;t t
29798 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
29799 s,@lt_ECHO@,$lt_ECHO,;t t
29800 s,@DSYMUTIL@,$DSYMUTIL,;t t
29801 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
29802 s,@NMEDIT@,$NMEDIT,;t t
29803 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
29804 s,@LIPO@,$LIPO,;t t
29805 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
29806 s,@OTOOL@,$OTOOL,;t t
29807 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
29808 s,@OTOOL64@,$OTOOL64,;t t
29809 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
29811 s,@CPPFLAGS@,$CPPFLAGS,;t t
29812 s,@CXXCPP@,$CXXCPP,;t t
29814 s,@GCJFLAGS@,$GCJFLAGS,;t t
29815 s,@GCJDEPMODE@,$GCJDEPMODE,;t t
29816 s,@am__fastdepGCJ_TRUE@,$am__fastdepGCJ_TRUE,;t t
29817 s,@am__fastdepGCJ_FALSE@,$am__fastdepGCJ_FALSE,;t t
29818 s,@subdirs@,$subdirs,;t t
29819 s,@TESTSUBDIR_TRUE@,$TESTSUBDIR_TRUE,;t t
29820 s,@TESTSUBDIR_FALSE@,$TESTSUBDIR_FALSE,;t t
29821 s,@ECJ_BUILD_JAR@,$ECJ_BUILD_JAR,;t t
29822 s,@ECJ_JAR@,$ECJ_JAR,;t t
29823 s,@BUILD_ECJ1_TRUE@,$BUILD_ECJ1_TRUE,;t t
29824 s,@BUILD_ECJ1_FALSE@,$BUILD_ECJ1_FALSE,;t t
29825 s,@INSTALL_ECJ_JAR_TRUE@,$INSTALL_ECJ_JAR_TRUE,;t t
29826 s,@INSTALL_ECJ_JAR_FALSE@,$INSTALL_ECJ_JAR_FALSE,;t t
29827 s,@JAVA_HOME_SET_TRUE@,$JAVA_HOME_SET_TRUE,;t t
29828 s,@JAVA_HOME_SET_FALSE@,$JAVA_HOME_SET_FALSE,;t t
29829 s,@JAVA_HOME@,$JAVA_HOME,;t t
29830 s,@SUPPRESS_LIBGCJ_BC_TRUE@,$SUPPRESS_LIBGCJ_BC_TRUE,;t t
29831 s,@SUPPRESS_LIBGCJ_BC_FALSE@,$SUPPRESS_LIBGCJ_BC_FALSE,;t t
29832 s,@BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE@,$BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE,;t t
29833 s,@BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE@,$BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE,;t t
29834 s,@INTERPRETER@,$INTERPRETER,;t t
29835 s,@INTERPRETER_TRUE@,$INTERPRETER_TRUE,;t t
29836 s,@INTERPRETER_FALSE@,$INTERPRETER_FALSE,;t t
29837 s,@LIBFFI@,$LIBFFI,;t t
29838 s,@LIBFFIINCS@,$LIBFFIINCS,;t t
29839 s,@PLATFORM@,$PLATFORM,;t t
29840 s,@USING_WIN32_PLATFORM_TRUE@,$USING_WIN32_PLATFORM_TRUE,;t t
29841 s,@USING_WIN32_PLATFORM_FALSE@,$USING_WIN32_PLATFORM_FALSE,;t t
29842 s,@USING_POSIX_PLATFORM_TRUE@,$USING_POSIX_PLATFORM_TRUE,;t t
29843 s,@USING_POSIX_PLATFORM_FALSE@,$USING_POSIX_PLATFORM_FALSE,;t t
29844 s,@USING_DARWIN_CRT_TRUE@,$USING_DARWIN_CRT_TRUE,;t t
29845 s,@USING_DARWIN_CRT_FALSE@,$USING_DARWIN_CRT_FALSE,;t t
29846 s,@SYSTEMSPEC@,$SYSTEMSPEC,;t t
29847 s,@ZLIBSPEC@,$ZLIBSPEC,;t t
29848 s,@ZLIBTESTSPEC@,$ZLIBTESTSPEC,;t t
29849 s,@X_CFLAGS@,$X_CFLAGS,;t t
29850 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
29851 s,@X_LIBS@,$X_LIBS,;t t
29852 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
29853 s,@extra_ldflags_libjava@,$extra_ldflags_libjava,;t t
29854 s,@extra_gij_ldflags@,$extra_gij_ldflags,;t t
29855 s,@extra_ldflags@,$extra_ldflags,;t t
29856 s,@LIBSTDCXXSPEC@,$LIBSTDCXXSPEC,;t t
29857 s,@LIBGCJTESTSPEC@,$LIBGCJTESTSPEC,;t t
29858 s,@GCLIBS@,$GCLIBS,;t t
29859 s,@GCINCS@,$GCINCS,;t t
29860 s,@GCDEPS@,$GCDEPS,;t t
29861 s,@GCSPEC@,$GCSPEC,;t t
29862 s,@JC1GCSPEC@,$JC1GCSPEC,;t t
29863 s,@GCTESTSPEC@,$GCTESTSPEC,;t t
29864 s,@USING_BOEHMGC_TRUE@,$USING_BOEHMGC_TRUE,;t t
29865 s,@USING_BOEHMGC_FALSE@,$USING_BOEHMGC_FALSE,;t t
29866 s,@USING_NOGC_TRUE@,$USING_NOGC_TRUE,;t t
29867 s,@USING_NOGC_FALSE@,$USING_NOGC_FALSE,;t t
29868 s,@THREADLIBS@,$THREADLIBS,;t t
29869 s,@THREADINCS@,$THREADINCS,;t t
29870 s,@THREADDEPS@,$THREADDEPS,;t t
29871 s,@THREADSPEC@,$THREADSPEC,;t t
29872 s,@THREADSTARTFILESPEC@,$THREADSTARTFILESPEC,;t t
29873 s,@THREADLDFLAGS@,$THREADLDFLAGS,;t t
29874 s,@THREADCXXFLAGS@,$THREADCXXFLAGS,;t t
29875 s,@USING_POSIX_THREADS_TRUE@,$USING_POSIX_THREADS_TRUE,;t t
29876 s,@USING_POSIX_THREADS_FALSE@,$USING_POSIX_THREADS_FALSE,;t t
29877 s,@USING_WIN32_THREADS_TRUE@,$USING_WIN32_THREADS_TRUE,;t t
29878 s,@USING_WIN32_THREADS_FALSE@,$USING_WIN32_THREADS_FALSE,;t t
29879 s,@USING_NO_THREADS_TRUE@,$USING_NO_THREADS_TRUE,;t t
29880 s,@USING_NO_THREADS_FALSE@,$USING_NO_THREADS_FALSE,;t t
29881 s,@USE_LIBGCJ_BC_TRUE@,$USE_LIBGCJ_BC_TRUE,;t t
29882 s,@USE_LIBGCJ_BC_FALSE@,$USE_LIBGCJ_BC_FALSE,;t t
29883 s,@LIBGCJ_SPEC@,$LIBGCJ_SPEC,;t t
29884 s,@HASH_SYNC_SPEC@,$HASH_SYNC_SPEC,;t t
29885 s,@USING_GCC_TRUE@,$USING_GCC_TRUE,;t t
29886 s,@USING_GCC_FALSE@,$USING_GCC_FALSE,;t t
29887 s,@LIBICONV@,$LIBICONV,;t t
29888 s,@LTLIBICONV@,$LTLIBICONV,;t t
29889 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
29890 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
29891 s,@GTK_LIBS@,$GTK_LIBS,;t t
29892 s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
29893 s,@GLIB_LIBS@,$GLIB_LIBS,;t t
29894 s,@LIBART_CFLAGS@,$LIBART_CFLAGS,;t t
29895 s,@LIBART_LIBS@,$LIBART_LIBS,;t t
29896 s,@CLASSPATH_SEPARATOR@,$CLASSPATH_SEPARATOR,;t t
29897 s,@ZLIBS@,$ZLIBS,;t t
29898 s,@SYS_ZLIBS@,$SYS_ZLIBS,;t t
29899 s,@ZINCS@,$ZINCS,;t t
29900 s,@DIVIDESPEC@,$DIVIDESPEC,;t t
29901 s,@CHECKREFSPEC@,$CHECKREFSPEC,;t t
29902 s,@EXCEPTIONSPEC@,$EXCEPTIONSPEC,;t t
29903 s,@BACKTRACESPEC@,$BACKTRACESPEC,;t t
29904 s,@IEEESPEC@,$IEEESPEC,;t t
29905 s,@NATIVE_TRUE@,$NATIVE_TRUE,;t t
29906 s,@NATIVE_FALSE@,$NATIVE_FALSE,;t t
29907 s,@ENABLE_SHARED_TRUE@,$ENABLE_SHARED_TRUE,;t t
29908 s,@ENABLE_SHARED_FALSE@,$ENABLE_SHARED_FALSE,;t t
29909 s,@NEEDS_DATA_START_TRUE@,$NEEDS_DATA_START_TRUE,;t t
29910 s,@NEEDS_DATA_START_FALSE@,$NEEDS_DATA_START_FALSE,;t t
29911 s,@INSTALL_BINARIES_TRUE@,$INSTALL_BINARIES_TRUE,;t t
29912 s,@INSTALL_BINARIES_FALSE@,$INSTALL_BINARIES_FALSE,;t t
29913 s,@GCC_UNWIND_INCLUDE@,$GCC_UNWIND_INCLUDE,;t t
29914 s,@toolexecdir@,$toolexecdir,;t t
29915 s,@toolexecmainlibdir@,$toolexecmainlibdir,;t t
29916 s,@toolexeclibdir@,$toolexeclibdir,;t t
29917 s,@GCJVERSION@,$GCJVERSION,;t t
29918 s,@dbexecdir@,$dbexecdir,;t t
29919 s,@gcjsubdir@,$gcjsubdir,;t t
29920 s,@gxx_include_dir@,$gxx_include_dir,;t t
29921 s,@libstdcxx_incdir@,$libstdcxx_incdir,;t t
29922 s,@PERL@,$PERL,;t t
29923 s,@SYSDEP_SOURCES@,$SYSDEP_SOURCES,;t t
29924 s,@ANONVERSCRIPT_TRUE@,$ANONVERSCRIPT_TRUE,;t t
29925 s,@ANONVERSCRIPT_FALSE@,$ANONVERSCRIPT_FALSE,;t t
29926 s,@LD_START_STATIC_SPEC@,$LD_START_STATIC_SPEC,;t t
29927 s,@LD_FINISH_STATIC_SPEC@,$LD_FINISH_STATIC_SPEC,;t t
29928 s,@here@,$here,;t t
29929 s,@python_mod_dir@,$python_mod_dir,;t t
29930 s,@python_mod_dir_expanded@,$python_mod_dir_expanded,;t t
29931 s,@MAKE@,$MAKE,;t t
29932 s,@INSTALL_AOT_RPM_TRUE@,$INSTALL_AOT_RPM_TRUE,;t t
29933 s,@INSTALL_AOT_RPM_FALSE@,$INSTALL_AOT_RPM_FALSE,;t t
29934 s,@CREATE_JAVA_HOME_TRUE@,$CREATE_JAVA_HOME_TRUE,;t t
29935 s,@CREATE_JAVA_HOME_FALSE@,$CREATE_JAVA_HOME_FALSE,;t t
29936 s,@gcc_suffix@,$gcc_suffix,;t t
29937 s,@JAVA_VERSION@,$JAVA_VERSION,;t t
29938 s,@BUILD_VERSION@,$BUILD_VERSION,;t t
29939 s,@JVM_ROOT_DIR@,$JVM_ROOT_DIR,;t t
29940 s,@JVM_JAR_ROOT_DIR@,$JVM_JAR_ROOT_DIR,;t t
29941 s,@JVM_JAR_DIR@,$JVM_JAR_DIR,;t t
29942 s,@JRE_DIR@,$JRE_DIR,;t t
29943 s,@JRE_LNK@,$JRE_LNK,;t t
29944 s,@SDK_LNK@,$SDK_LNK,;t t
29945 s,@SDK_BIN_DIR@,$SDK_BIN_DIR,;t t
29946 s,@SDK_LIB_DIR@,$SDK_LIB_DIR,;t t
29947 s,@SDK_INCLUDE_DIR@,$SDK_INCLUDE_DIR,;t t
29948 s,@JRE_BIN_DIR@,$JRE_BIN_DIR,;t t
29949 s,@JRE_LIB_DIR@,$JRE_LIB_DIR,;t t
29950 s,@GCJ_BIN_DIR@,$GCJ_BIN_DIR,;t t
29953 s,@LIBDIR@,$LIBDIR,;t t
29954 s,@LIBOBJS@,$LIBOBJS,;t t
29955 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
29960 cat >>$CONFIG_STATUS <<\_ACEOF
29961 # Split the substitutions into bite-sized pieces for seds with
29962 # small command number limits, like on Digital OSF/1 and HP-UX.
29963 ac_max_sed_lines
=48
29964 ac_sed_frag
=1 # Number of current file.
29965 ac_beg
=1 # First line for current file.
29966 ac_end
=$ac_max_sed_lines # Line after last line for current file.
29969 while $ac_more_lines; do
29970 if test $ac_beg -gt 1; then
29971 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29973 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
29975 if test ! -s $tmp/subs.frag
; then
29976 ac_more_lines
=false
29978 # The purpose of the label and of the branching condition is to
29979 # speed up the sed processing (if there are no `@' at all, there
29980 # is no need to browse any of the substitutions).
29981 # These are the two extra sed commands mentioned above.
29983 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
29984 if test -z "$ac_sed_cmds"; then
29985 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
29987 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
29989 ac_sed_frag
=`expr $ac_sed_frag + 1`
29991 ac_end
=`expr $ac_end + $ac_max_sed_lines`
29994 if test -z "$ac_sed_cmds"; then
29997 fi # test -n "$CONFIG_FILES"
30000 cat >>$CONFIG_STATUS <<\_ACEOF
30001 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
30002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30004 - |
*:- |
*:-:* ) # input from stdin
30006 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30007 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30008 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30009 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30010 * ) ac_file_in
=$ac_file.
in ;;
30013 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
30014 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30016 X"$ac_file" : 'X\(//\)[^/]' \| \
30017 X"$ac_file" : 'X\(//\)$' \| \
30018 X"$ac_file" : 'X\(/\)' \| \
30019 . : '\(.\)' 2>/dev/null ||
30021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30023 /^X\(\/\/\)$/{ s//\1/; q; }
30024 /^X\(\/\).*/{ s//\1/; q; }
30026 { if $as_mkdir_p; then
30031 while test ! -d "$as_dir"; do
30032 as_dirs
="$as_dir $as_dirs"
30033 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30035 X"$as_dir" : 'X\(//\)[^/]' \| \
30036 X"$as_dir" : 'X\(//\)$' \| \
30037 X"$as_dir" : 'X\(/\)' \| \
30038 . : '\(.\)' 2>/dev/null ||
30040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30042 /^X\(\/\/\)$/{ s//\1/; q; }
30043 /^X\(\/\).*/{ s//\1/; q; }
30046 test ! -n "$as_dirs" || mkdir
$as_dirs
30047 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30048 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30049 { (exit 1); exit 1; }; }; }
30053 if test "$ac_dir" != .
; then
30054 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30055 # A "../" for each directory in $ac_dir_suffix.
30056 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30058 ac_dir_suffix
= ac_top_builddir
=
30062 .
) # No --srcdir option. We are building in place.
30064 if test -z "$ac_top_builddir"; then
30067 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30069 [\\/]* | ?
:[\\/]* ) # Absolute path.
30070 ac_srcdir
=$srcdir$ac_dir_suffix;
30071 ac_top_srcdir
=$srcdir ;;
30072 *) # Relative path.
30073 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30074 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30077 # Do not use `cd foo && pwd` to compute absolute paths, because
30078 # the directories may not exist.
30080 .
) ac_abs_builddir
="$ac_dir";;
30083 .
) ac_abs_builddir
=`pwd`;;
30084 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30085 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30088 case $ac_abs_builddir in
30089 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30091 case ${ac_top_builddir}.
in
30092 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30093 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30094 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30097 case $ac_abs_builddir in
30098 .
) ac_abs_srcdir
=$ac_srcdir;;
30101 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30102 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30103 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30106 case $ac_abs_builddir in
30107 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30109 case $ac_top_srcdir in
30110 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30111 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30112 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30118 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
30119 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
30122 if test x
"$ac_file" != x-
; then
30123 { echo "$as_me:$LINENO: creating $ac_file" >&5
30124 echo "$as_me: creating $ac_file" >&6;}
30127 # Let's still pretend it is `configure' which instantiates (i.e., don't
30128 # use $as_me), people would be surprised to read:
30129 # /* config.h. Generated by config.status. */
30130 if test x
"$ac_file" = x-
; then
30133 configure_input
="$ac_file. "
30135 configure_input
=$configure_input"Generated from `echo $ac_file_in |
30136 sed 's,.*/,,'` by configure."
30138 # First look for the input files in the build tree, otherwise in the
30140 ac_file_inputs
=`IFS=:
30141 for f in $ac_file_in; do
30143 -) echo $tmp/stdin ;;
30145 # Absolute (can't be DOS-style, as IFS=:)
30146 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30147 echo "$as_me: error: cannot find input file: $f" >&2;}
30148 { (exit 1); exit 1; }; }
30151 if test -f "$f"; then
30154 elif test -f "$srcdir/$f"; then
30159 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30160 echo "$as_me: error: cannot find input file: $f" >&2;}
30161 { (exit 1); exit 1; }; }
30164 done` ||
{ (exit 1); exit 1; }
30166 cat >>$CONFIG_STATUS <<_ACEOF
30170 cat >>$CONFIG_STATUS <<\_ACEOF
30172 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
30173 s
,@configure_input@
,$configure_input,;t t
30174 s
,@srcdir@
,$ac_srcdir,;t t
30175 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
30176 s
,@top_srcdir@
,$ac_top_srcdir,;t t
30177 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
30178 s
,@builddir@
,$ac_builddir,;t t
30179 s
,@abs_builddir@
,$ac_abs_builddir,;t t
30180 s
,@top_builddir@
,$ac_top_builddir,;t t
30181 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
30182 s
,@INSTALL@
,$ac_INSTALL,;t t
30183 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
30185 if test x"$ac_file" != x-; then
30186 mv $tmp/out $ac_file
30192 # Run the commands associated with the file.
30194 scripts/jar ) chmod +x scripts/jar ;;
30198 cat >>$CONFIG_STATUS <<\_ACEOF
30201 # CONFIG_HEADER section.
30204 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
30205 # NAME is the cpp macro being defined and VALUE is the value it is being given.
30207 # ac_d sets the value in "#define NAME VALUE" lines.
30208 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
30209 ac_dB
='[ ].*$,\1#\2'
30212 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
30213 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
30214 ac_uB
='$,\1#\2define\3'
30218 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
30219 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
30221 - |
*:- |
*:-:* ) # input from stdin
30223 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30224 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30225 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30226 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
30227 * ) ac_file_in
=$ac_file.
in ;;
30230 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
30231 echo "$as_me: creating $ac_file" >&6;}
30233 # First look for the input files in the build tree, otherwise in the
30235 ac_file_inputs
=`IFS=:
30236 for f in $ac_file_in; do
30238 -) echo $tmp/stdin ;;
30240 # Absolute (can't be DOS-style, as IFS=:)
30241 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30242 echo "$as_me: error: cannot find input file: $f" >&2;}
30243 { (exit 1); exit 1; }; }
30244 # Do quote $f, to prevent DOS paths from being IFS'd.
30247 if test -f "$f"; then
30250 elif test -f "$srcdir/$f"; then
30255 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
30256 echo "$as_me: error: cannot find input file: $f" >&2;}
30257 { (exit 1); exit 1; }; }
30260 done` ||
{ (exit 1); exit 1; }
30261 # Remove the trailing spaces.
30262 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
30266 # Transform confdefs.h into two sed scripts, `conftest.defines' and
30267 # `conftest.undefs', that substitutes the proper values into
30268 # config.h.in to produce config.h. The first handles `#define'
30269 # templates, and the second `#undef' templates.
30270 # And first: Protect against being on the right side of a sed subst in
30271 # config.status. Protect against being in an unquoted here document
30272 # in config.status.
30273 rm -f conftest.defines conftest.undefs
30274 # Using a here document instead of a string reduces the quoting nightmare.
30275 # Putting comments in sed scripts is not portable.
30277 # `end' is used to avoid that the second main sed command (meant for
30278 # 0-ary CPP macros) applies to n-ary macro definitions.
30279 # See the Autoconf documentation for `clear'.
30280 cat >confdef2sed.
sed <<\_ACEOF
30285 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
30287 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
30290 # If some macros were called several times there might be several times
30291 # the same #defines, which is useless. Nevertheless, we may not want to
30292 # sort them, since we want the *last* AC-DEFINE to be honored.
30293 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
30294 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
30295 rm -f confdef2sed.sed
30297 # This sed command replaces #undef with comments. This is necessary, for
30298 # example, in the case of _POSIX_SOURCE, which is predefined and required
30299 # on some systems where configure will not decide to define it.
30300 cat >>conftest.undefs <<\_ACEOF
30301 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
30304 # Break up conftest.defines because some shells have a limit on the size
30305 # of here documents, and old seds have small limits too (100 cmds).
30306 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
30307 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
30308 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
30309 echo ' :' >>$CONFIG_STATUS
30310 rm -f conftest.tail
30311 while grep . conftest.defines >/dev/null
30313 # Write a limited-size here document to $tmp/defines.sed.
30314 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
30315 # Speed up: don't consider the non `#define' lines.
30316 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
30317 # Work around the forget-to-reset-the-flag bug.
30318 echo 't clr' >>$CONFIG_STATUS
30319 echo ': clr' >>$CONFIG_STATUS
30320 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
30322 sed -f $tmp/defines.sed $tmp/in >$tmp/out
30324 mv $tmp/out $tmp/in
30326 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
30327 rm -f conftest.defines
30328 mv conftest.
tail conftest.defines
30330 rm -f conftest.defines
30331 echo ' fi # grep' >>$CONFIG_STATUS
30332 echo >>$CONFIG_STATUS
30334 # Break up conftest.undefs because some shells have a limit on the size
30335 # of here documents, and old seds have small limits too (100 cmds).
30336 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
30337 rm -f conftest.
tail
30338 while grep . conftest.undefs
>/dev
/null
30340 # Write a limited-size here document to $tmp/undefs.sed.
30341 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
30342 # Speed up: don't consider the non
`#undef'
30343 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
30344 # Work around the forget-to-reset-the-flag bug.
30345 echo 't clr' >>$CONFIG_STATUS
30346 echo ': clr' >>$CONFIG_STATUS
30347 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
30349 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
30351 mv $tmp/out $tmp/in
30353 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
30354 rm -f conftest.undefs
30355 mv conftest.tail conftest.undefs
30357 rm -f conftest.undefs
30359 cat >>$CONFIG_STATUS <<\_ACEOF
30360 # Let's still pretend it is `configure
' which instantiates (i.e., don't
30361 # use $as_me), people would be surprised to read:
30362 # /* config.h. Generated by config.status. */
30363 if test x
"$ac_file" = x-
; then
30364 echo "/* Generated by configure. */" >$tmp/config.h
30366 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
30368 cat $tmp/in >>$tmp/config.h
30370 if test x
"$ac_file" != x-
; then
30371 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
30372 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30373 echo "$as_me: $ac_file is unchanged" >&6;}
30375 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
30376 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30377 X"$ac_file" : 'X\(//\)[^/]' \| \
30378 X"$ac_file" : 'X\(//\)$' \| \
30379 X"$ac_file" : 'X\(/\)' \| \
30380 . : '\(.\)' 2>/dev/null ||
30382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30384 /^X\(\/\/\)$/{ s//\1/; q; }
30385 /^X\(\/\).*/{ s//\1/; q; }
30387 { if $as_mkdir_p; then
30392 while test ! -d "$as_dir"; do
30393 as_dirs
="$as_dir $as_dirs"
30394 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30395 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30396 X"$as_dir" : 'X\(//\)[^/]' \| \
30397 X"$as_dir" : 'X\(//\)$' \| \
30398 X"$as_dir" : 'X\(/\)' \| \
30399 . : '\(.\)' 2>/dev/null ||
30401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30402 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30403 /^X\(\/\/\)$/{ s//\1/; q; }
30404 /^X\(\/\).*/{ s//\1/; q; }
30407 test ! -n "$as_dirs" || mkdir
$as_dirs
30408 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30409 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30410 { (exit 1); exit 1; }; }; }
30413 mv $tmp/config.h
$ac_file
30417 rm -f $tmp/config.h
30419 # Compute $ac_file's index in $config_headers.
30421 for _am_header
in $config_headers :; do
30422 case $_am_header in
30423 $ac_file |
$ac_file:* )
30426 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
30429 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
30430 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30431 X$ac_file : 'X\(//\)[^/]' \| \
30432 X$ac_file : 'X\(//\)$' \| \
30433 X$ac_file : 'X\(/\)' \| \
30434 . : '\(.\)' 2>/dev/null ||
30436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30438 /^X\(\/\/\)$/{ s//\1/; q; }
30439 /^X\(\/\).*/{ s//\1/; q; }
30440 s/.*/./; q'`/stamp-h
$_am_stamp_count
30443 cat >>$CONFIG_STATUS <<\_ACEOF
30446 # CONFIG_LINKS section.
30449 for ac_file
in : $CONFIG_LINKS; do test "x$ac_file" = x
: && continue
30450 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30451 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30453 { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
30454 echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
30456 if test ! -r $srcdir/$ac_source; then
30457 { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
30458 echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
30459 { (exit 1); exit 1; }; }
30463 # Make relative symlinks.
30464 ac_dest_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30465 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30466 X"$ac_dest" : 'X\(//\)[^/]' \| \
30467 X"$ac_dest" : 'X\(//\)$' \| \
30468 X"$ac_dest" : 'X\(/\)' \| \
30469 . : '\(.\)' 2>/dev/null ||
30471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30473 /^X\(\/\/\)$/{ s//\1/; q; }
30474 /^X\(\/\).*/{ s//\1/; q; }
30476 { if $as_mkdir_p; then
30477 mkdir
-p "$ac_dest_dir"
30479 as_dir
="$ac_dest_dir"
30481 while test ! -d "$as_dir"; do
30482 as_dirs
="$as_dir $as_dirs"
30483 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30484 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30485 X"$as_dir" : 'X\(//\)[^/]' \| \
30486 X"$as_dir" : 'X\(//\)$' \| \
30487 X"$as_dir" : 'X\(/\)' \| \
30488 . : '\(.\)' 2>/dev/null ||
30490 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30491 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30492 /^X\(\/\/\)$/{ s//\1/; q; }
30493 /^X\(\/\).*/{ s//\1/; q; }
30496 test ! -n "$as_dirs" || mkdir
$as_dirs
30497 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
30498 echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
30499 { (exit 1); exit 1; }; }; }
30503 if test "$ac_dest_dir" != .
; then
30504 ac_dir_suffix
=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
30505 # A "../" for each directory in $ac_dir_suffix.
30506 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30508 ac_dir_suffix
= ac_top_builddir
=
30512 .
) # No --srcdir option. We are building in place.
30514 if test -z "$ac_top_builddir"; then
30517 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30519 [\\/]* | ?
:[\\/]* ) # Absolute path.
30520 ac_srcdir
=$srcdir$ac_dir_suffix;
30521 ac_top_srcdir
=$srcdir ;;
30522 *) # Relative path.
30523 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30524 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30527 # Do not use `cd foo && pwd` to compute absolute paths, because
30528 # the directories may not exist.
30530 .
) ac_abs_builddir
="$ac_dest_dir";;
30532 case "$ac_dest_dir" in
30533 .
) ac_abs_builddir
=`pwd`;;
30534 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dest_dir";;
30535 *) ac_abs_builddir
=`pwd`/"$ac_dest_dir";;
30538 case $ac_abs_builddir in
30539 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30541 case ${ac_top_builddir}.
in
30542 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30543 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30544 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30547 case $ac_abs_builddir in
30548 .
) ac_abs_srcdir
=$ac_srcdir;;
30551 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30552 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30553 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30556 case $ac_abs_builddir in
30557 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30559 case $ac_top_srcdir in
30560 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30561 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30562 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30568 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$srcdir/$ac_source ;;
30569 *) ac_rel_source
=$ac_top_builddir$srcdir/$ac_source ;;
30572 # Try a symlink, then a hard link, then a copy.
30573 ln -s $ac_rel_source $ac_dest 2>/dev
/null ||
30574 ln $srcdir/$ac_source $ac_dest 2>/dev
/null ||
30575 cp -p $srcdir/$ac_source $ac_dest ||
30576 { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
30577 echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
30578 { (exit 1); exit 1; }; }
30581 cat >>$CONFIG_STATUS <<\_ACEOF
30584 # CONFIG_COMMANDS section.
30586 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
30587 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
30588 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
30589 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
30590 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30591 X"$ac_dest" : 'X\(//\)[^/]' \| \
30592 X"$ac_dest" : 'X\(//\)$' \| \
30593 X"$ac_dest" : 'X\(/\)' \| \
30594 . : '\(.\)' 2>/dev/null ||
30596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30597 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30598 /^X\(\/\/\)$/{ s//\1/; q; }
30599 /^X\(\/\).*/{ s//\1/; q; }
30601 { if $as_mkdir_p; then
30606 while test ! -d "$as_dir"; do
30607 as_dirs
="$as_dir $as_dirs"
30608 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30609 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30610 X"$as_dir" : 'X\(//\)[^/]' \| \
30611 X"$as_dir" : 'X\(//\)$' \| \
30612 X"$as_dir" : 'X\(/\)' \| \
30613 . : '\(.\)' 2>/dev/null ||
30615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30616 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30617 /^X\(\/\/\)$/{ s//\1/; q; }
30618 /^X\(\/\).*/{ s//\1/; q; }
30621 test ! -n "$as_dirs" || mkdir
$as_dirs
30622 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
30623 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
30624 { (exit 1); exit 1; }; }; }
30628 if test "$ac_dir" != .
; then
30629 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
30630 # A "../" for each directory in $ac_dir_suffix.
30631 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
30633 ac_dir_suffix
= ac_top_builddir
=
30637 .
) # No --srcdir option. We are building in place.
30639 if test -z "$ac_top_builddir"; then
30642 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
30644 [\\/]* | ?
:[\\/]* ) # Absolute path.
30645 ac_srcdir
=$srcdir$ac_dir_suffix;
30646 ac_top_srcdir
=$srcdir ;;
30647 *) # Relative path.
30648 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
30649 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
30652 # Do not use `cd foo && pwd` to compute absolute paths, because
30653 # the directories may not exist.
30655 .
) ac_abs_builddir
="$ac_dir";;
30658 .
) ac_abs_builddir
=`pwd`;;
30659 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
30660 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
30663 case $ac_abs_builddir in
30664 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30666 case ${ac_top_builddir}.
in
30667 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
30668 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
30669 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
30672 case $ac_abs_builddir in
30673 .
) ac_abs_srcdir
=$ac_srcdir;;
30676 .
) ac_abs_srcdir
=$ac_abs_builddir;;
30677 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
30678 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
30681 case $ac_abs_builddir in
30682 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
30684 case $ac_top_srcdir in
30685 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
30686 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
30687 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
30692 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
30693 echo "$as_me: executing $ac_dest commands" >&6;}
30696 # Only add multilib support code if we just rebuilt the top-level
30698 case " $CONFIG_FILES " in
30700 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
30703 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30704 # Strip MF so we end up with the name of the file.
30705 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30706 # Check whether this is an Automake generated Makefile or not.
30707 # We used to match only the files named `Makefile.in', but
30708 # some people rename them; so instead we look at the file content.
30709 # Grep'ing the first line is not enough: some people post-process
30710 # each Makefile.in and add a new line on top of each file to say so.
30711 # So let's grep whole file.
30712 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
30713 dirpart
=`(dirname "$mf") 2>/dev/null ||
30714 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30715 X"$mf" : 'X\(//\)[^/]' \| \
30716 X"$mf" : 'X\(//\)$' \| \
30717 X"$mf" : 'X\(/\)' \| \
30718 . : '\(.\)' 2>/dev/null ||
30720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30722 /^X\(\/\/\)$/{ s//\1/; q; }
30723 /^X\(\/\).*/{ s//\1/; q; }
30728 # Extract the definition of DEPDIR, am__include, and am__quote
30729 # from the Makefile without running `make'.
30730 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30731 test -z "$DEPDIR" && continue
30732 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30733 test -z "am__include" && continue
30734 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30735 # When using ansi2knr, U may be empty or an underscore; expand it
30736 U
=`sed -n 's/^U = //p' < "$mf"`
30737 # Find all dependency output files, they are included files with
30738 # $(DEPDIR) in their names. We invoke sed twice because it is the
30739 # simplest approach to changing $(DEPDIR) to its actual value in the
30741 for file in `sed -n "
30742 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30743 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30744 # Make sure the directory exists.
30745 test -f "$dirpart/$file" && continue
30746 fdir
=`(dirname "$file") 2>/dev/null ||
30747 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30748 X"$file" : 'X\(//\)[^/]' \| \
30749 X"$file" : 'X\(//\)$' \| \
30750 X"$file" : 'X\(/\)' \| \
30751 . : '\(.\)' 2>/dev/null ||
30753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30754 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30755 /^X\(\/\/\)$/{ s//\1/; q; }
30756 /^X\(\/\).*/{ s//\1/; q; }
30758 { if $as_mkdir_p; then
30759 mkdir
-p $dirpart/$fdir
30761 as_dir
=$dirpart/$fdir
30763 while test ! -d "$as_dir"; do
30764 as_dirs
="$as_dir $as_dirs"
30765 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
30766 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30767 X"$as_dir" : 'X\(//\)[^/]' \| \
30768 X"$as_dir" : 'X\(//\)$' \| \
30769 X"$as_dir" : 'X\(/\)' \| \
30770 . : '\(.\)' 2>/dev/null ||
30772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
30773 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
30774 /^X\(\/\/\)$/{ s//\1/; q; }
30775 /^X\(\/\).*/{ s//\1/; q; }
30778 test ! -n "$as_dirs" || mkdir
$as_dirs
30779 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
30780 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
30781 { (exit 1); exit 1; }; }; }
30783 # echo "creating $dirpart/$file"
30784 echo '# dummy' > "$dirpart/$file"
30790 # See if we are running on zsh, and set the options which allow our
30791 # commands through without removal of \ escapes.
30792 if test -n "${ZSH_VERSION+set}" ; then
30793 setopt NO_GLOB_SUBST
30796 cfgfile
="${ofile}T"
30797 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
30800 cat <<_LT_EOF >> "$cfgfile"
30803 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
30804 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
30805 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
30806 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
30808 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
30809 # 2006, 2007, 2008 Free Software Foundation, Inc.
30810 # Written by Gordon Matzigkeit, 1996
30812 # This file is part of GNU Libtool.
30814 # GNU Libtool is free software; you can redistribute it and/or
30815 # modify it under the terms of the GNU General Public License as
30816 # published by the Free Software Foundation; either version 2 of
30817 # the License, or (at your option) any later version.
30819 # As a special exception to the GNU General Public License,
30820 # if you distribute this file as part of a program or library that
30821 # is built using GNU Libtool, you may include this file under the
30822 # same distribution terms that you use for the rest of that program.
30824 # GNU Libtool is distributed in the hope that it will be useful,
30825 # but WITHOUT ANY WARRANTY; without even the implied warranty of
30826 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30827 # GNU General Public License for more details.
30829 # You should have received a copy of the GNU General Public License
30830 # along with GNU Libtool; see the file COPYING. If not, a copy
30831 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
30832 # obtained by writing to the Free Software Foundation, Inc.,
30833 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
30836 # The names of the tagged configurations supported by this script.
30837 available_tags="CXX GCJ "
30839 # ### BEGIN LIBTOOL CONFIG
30841 # Which release of libtool.m4 was used?
30842 macro_version=$macro_version
30843 macro_revision=$macro_revision
30845 # Whether or not to build shared libraries.
30846 build_libtool_libs=$enable_shared
30848 # Whether or not to build static libraries.
30849 build_old_libs=$enable_static
30851 # What type of objects to build.
30854 # Whether or not to optimize for fast installation.
30855 fast_install=$enable_fast_install
30858 host_alias=$host_alias
30862 # The build system.
30863 build_alias=$build_alias
30867 # A sed program that does not truncate output.
30870 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
30871 Xsed="\$SED -e 1s/^X//"
30873 # A grep program that handles long lines.
30879 # A literal string matcher.
30882 # A BSD- or MS-compatible name lister.
30885 # Whether we need soft or hard links.
30888 # What is the maximum length of a command?
30889 max_cmd_len=$max_cmd_len
30891 # Object file suffix (normally "o").
30894 # Executable file suffix (normally "").
30897 # whether the shell understands "unset".
30900 # turn spaces into newlines.
30903 # turn newlines into spaces.
30906 # How to create reloadable object files.
30907 reload_flag=$lt_reload_flag
30908 reload_cmds=$lt_reload_cmds
30910 # An object symbol dumper.
30911 OBJDUMP=$lt_OBJDUMP
30913 # Method to check whether dependent libraries are shared objects.
30914 deplibs_check_method=$lt_deplibs_check_method
30916 # Command to use when deplibs_check_method == "file_magic".
30917 file_magic_cmd=$lt_file_magic_cmd
30921 AR_FLAGS=$lt_AR_FLAGS
30923 # A symbol stripping program.
30926 # Commands used to install an old-style archive.
30928 old_postinstall_cmds=$lt_old_postinstall_cmds
30929 old_postuninstall_cmds=$lt_old_postuninstall_cmds
30934 # LTCC compiler flags.
30935 LTCFLAGS=$lt_CFLAGS
30937 # Take the output of nm and produce a listing of raw symbols and C names.
30938 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
30940 # Transform the output of nm in a proper C declaration.
30941 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
30943 # Transform the output of nm in a C name address pair.
30944 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
30946 # Transform the output of nm in a C name address pair when lib prefix is needed.
30947 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
30949 # The name of the directory that contains temporary libtool files.
30952 # Shell to use when invoking shell scripts.
30955 # An echo program that does not interpret backslashes.
30958 # Used to examine libraries when file_magic_cmd begins with "file".
30959 MAGIC_CMD=$MAGIC_CMD
30961 # Must we lock files when doing compilation?
30962 need_locks=$lt_need_locks
30964 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
30965 DSYMUTIL=$lt_DSYMUTIL
30967 # Tool to change global to local symbols on Mac OS X.
30970 # Tool to manipulate fat objects and archives on Mac OS X.
30973 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
30976 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
30977 OTOOL64=$lt_OTOOL64
30979 # Old archive suffix (normally "a").
30982 # Shared library suffix (normally ".so").
30983 shrext_cmds=$lt_shrext_cmds
30985 # The commands to extract the exported symbol list from a shared archive.
30986 extract_expsyms_cmds=$lt_extract_expsyms_cmds
30988 # Variables whose values should be saved in libtool wrapper scripts and
30989 # restored at link time.
30990 variables_saved_for_relink=$lt_variables_saved_for_relink
30992 # Do we need the "lib" prefix for modules?
30993 need_lib_prefix=$need_lib_prefix
30995 # Do we need a version for libraries?
30996 need_version=$need_version
30998 # Library versioning type.
30999 version_type=$version_type
31001 # Shared library runtime path variable.
31002 runpath_var=$runpath_var
31004 # Shared library path variable.
31005 shlibpath_var=$shlibpath_var
31007 # Is shlibpath searched before the hard-coded library search path?
31008 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
31010 # Format of library name prefix.
31011 libname_spec=$lt_libname_spec
31013 # List of archive names. First name is the real one, the rest are links.
31014 # The last name is the one that the linker finds with -lNAME
31015 library_names_spec=$lt_library_names_spec
31017 # The coded name of the library, if different from the real name.
31018 soname_spec=$lt_soname_spec
31020 # Command to use after installation of a shared archive.
31021 postinstall_cmds=$lt_postinstall_cmds
31023 # Command to use after uninstallation of a shared archive.
31024 postuninstall_cmds=$lt_postuninstall_cmds
31026 # Commands used to finish a libtool library installation in a directory.
31027 finish_cmds=$lt_finish_cmds
31029 # As "finish_cmds", except a single script fragment to be evaled but
31031 finish_eval=$lt_finish_eval
31033 # Whether we should hardcode library paths into libraries.
31034 hardcode_into_libs=$hardcode_into_libs
31036 # Compile-time system search path for libraries.
31037 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
31039 # Run-time system search path for libraries.
31040 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
31042 # Whether dlopen is supported.
31043 dlopen_support=$enable_dlopen
31045 # Whether dlopen of programs is supported.
31046 dlopen_self=$enable_dlopen_self
31048 # Whether dlopen of statically linked programs is supported.
31049 dlopen_self_static=$enable_dlopen_self_static
31051 # Commands to strip libraries.
31052 old_striplib=$lt_old_striplib
31053 striplib=$lt_striplib
31056 # The linker used to build libraries.
31059 # Commands used to build an old-style archive.
31060 old_archive_cmds=$lt_old_archive_cmds
31062 # A language specific compiler.
31065 # Is the compiler the GNU compiler?
31068 # Compiler flag to turn off builtin functions.
31069 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
31071 # How to pass a linker flag through the compiler.
31072 wl=$lt_lt_prog_compiler_wl
31074 # Additional compiler flags for building library objects.
31075 pic_flag=$lt_lt_prog_compiler_pic
31077 # Compiler flag to prevent dynamic linking.
31078 link_static_flag=$lt_lt_prog_compiler_static
31080 # Does compiler simultaneously support -c and -o options?
31081 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
31083 # Whether or not to add -lc for building shared libraries.
31084 build_libtool_need_lc=$archive_cmds_need_lc
31086 # Whether or not to disallow shared libs when runtime libs are static.
31087 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
31089 # Compiler flag to allow reflexive dlopens.
31090 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
31092 # Compiler flag to generate shared objects directly from archives.
31093 whole_archive_flag_spec=$lt_whole_archive_flag_spec
31095 # Whether the compiler copes with passing no objects directly.
31096 compiler_needs_object=$lt_compiler_needs_object
31098 # Create an old-style archive from a shared archive.
31099 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
31101 # Create a temporary old-style archive to link instead of a shared archive.
31102 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
31104 # Commands used to build a shared archive.
31105 archive_cmds=$lt_archive_cmds
31106 archive_expsym_cmds=$lt_archive_expsym_cmds
31108 # Commands used to build a loadable module if different from building
31109 # a shared archive.
31110 module_cmds=$lt_module_cmds
31111 module_expsym_cmds=$lt_module_expsym_cmds
31113 # Whether we are building with GNU ld or not.
31114 with_gnu_ld=$lt_with_gnu_ld
31116 # Flag that allows shared libraries with undefined symbols to be built.
31117 allow_undefined_flag=$lt_allow_undefined_flag
31119 # Flag that enforces no undefined symbols.
31120 no_undefined_flag=$lt_no_undefined_flag
31122 # Flag to hardcode \$libdir into a binary during linking.
31123 # This must work even if \$libdir does not exist
31124 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
31126 # If ld is used when linking, flag to hardcode \$libdir into a binary
31127 # during linking. This must work even if \$libdir does not exist.
31128 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
31130 # Whether we need a single "-rpath" flag with a separated argument.
31131 hardcode_libdir_separator=$lt_hardcode_libdir_separator
31133 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31134 # DIR into the resulting binary.
31135 hardcode_direct=$hardcode_direct
31137 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31138 # DIR into the resulting binary and the resulting library dependency is
31139 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31140 # library is relocated.
31141 hardcode_direct_absolute=$hardcode_direct_absolute
31143 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31144 # into the resulting binary.
31145 hardcode_minus_L=$hardcode_minus_L
31147 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31148 # into the resulting binary.
31149 hardcode_shlibpath_var=$hardcode_shlibpath_var
31151 # Set to "yes" if building a shared library automatically hardcodes DIR
31152 # into the library and all subsequent libraries and executables linked
31154 hardcode_automatic=$hardcode_automatic
31156 # Set to yes if linker adds runtime paths of dependent libraries
31157 # to runtime path list.
31158 inherit_rpath=$inherit_rpath
31160 # Whether libtool must link a program against all its dependency libraries.
31161 link_all_deplibs=$link_all_deplibs
31163 # Fix the shell variable \$srcfile for the compiler.
31164 fix_srcfile_path=$lt_fix_srcfile_path
31166 # Set to "yes" if exported symbols are required.
31167 always_export_symbols=$always_export_symbols
31169 # The commands to list exported symbols.
31170 export_symbols_cmds=$lt_export_symbols_cmds
31172 # Symbols that should not be listed in the preloaded symbols.
31173 exclude_expsyms=$lt_exclude_expsyms
31175 # Symbols that must always be exported.
31176 include_expsyms=$lt_include_expsyms
31178 # Commands necessary for linking programs (against libraries) with templates.
31179 prelink_cmds=$lt_prelink_cmds
31181 # Specify filename containing input files.
31182 file_list_spec=$lt_file_list_spec
31184 # How to hardcode a shared library path into an executable.
31185 hardcode_action=$hardcode_action
31187 # The directories searched by this compiler when creating a shared library.
31188 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
31190 # Dependencies to place before and after the objects being linked to
31191 # create a shared library.
31192 predep_objects=$lt_predep_objects
31193 postdep_objects=$lt_postdep_objects
31194 predeps=$lt_predeps
31195 postdeps=$lt_postdeps
31197 # The library search path used internally by the compiler when linking
31198 # a shared library.
31199 compiler_lib_search_path=$lt_compiler_lib_search_path
31201 # ### END LIBTOOL CONFIG
31207 cat <<\_LT_EOF
>> "$cfgfile"
31208 # AIX sometimes has problems with the GCC collect2 program. For some
31209 # reason, if we set the COLLECT_NAMES environment variable, the problems
31210 # vanish in a puff of smoke.
31211 if test "X${COLLECT_NAMES+set}" != Xset
; then
31213 export COLLECT_NAMES
31220 ltmain
="$ac_aux_dir/ltmain.sh"
31223 # We use sed instead of cat because bash on DJGPP gets confused if
31224 # if finds mixed CR/LF and LF-only lines. Since sed operates in
31225 # text mode, it properly converts lines to CR/LF. This bash problem
31226 # is reportedly fixed, but why not run on old versions too?
31227 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
31228 ||
(rm -f "$cfgfile"; exit 1)
31232 cat << \_LT_EOF
>> "$cfgfile"
31234 # func_dirname file append nondir_replacement
31235 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31236 # otherwise set result to NONDIR_REPLACEMENT.
31240 */*) func_dirname_result
="${1%/*}${2}" ;;
31241 * ) func_dirname_result
="${3}" ;;
31245 # func_basename file
31248 func_basename_result
="${1##*/}"
31251 # func_dirname_and_basename file append nondir_replacement
31252 # perform func_basename and func_dirname in a single function
31254 # dirname: Compute the dirname of FILE. If nonempty,
31255 # add APPEND to the result, otherwise set result
31256 # to NONDIR_REPLACEMENT.
31257 # value returned in "$func_dirname_result"
31258 # basename: Compute filename of FILE.
31259 # value retuned in "$func_basename_result"
31260 # Implementation must be kept synchronized with func_dirname
31261 # and func_basename. For efficiency, we do not delegate to
31262 # those functions but instead duplicate the functionality here.
31263 func_dirname_and_basename
()
31266 */*) func_dirname_result
="${1%/*}${2}" ;;
31267 * ) func_dirname_result
="${3}" ;;
31269 func_basename_result
="${1##*/}"
31272 # func_stripname prefix suffix name
31273 # strip PREFIX and SUFFIX off of NAME.
31274 # PREFIX and SUFFIX must not contain globbing or regex special
31275 # characters, hashes, percent signs, but SUFFIX may contain a leading
31276 # dot (in which case that matches only a dot).
31279 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
31280 # positional parameters, so assign one to ordinary parameter first.
31281 func_stripname_result
=${3}
31282 func_stripname_result
=${func_stripname_result#"${1}"}
31283 func_stripname_result
=${func_stripname_result%"${2}"}
31289 func_opt_split_opt
=${1%%=*}
31290 func_opt_split_arg
=${1#*=}
31297 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
31298 *) func_lo2o_result
=${1} ;;
31302 # func_xform libobj-or-source
31305 func_xform_result
=${1%.*}.lo
31308 # func_arith arithmetic-term...
31311 func_arith_result
=$
(( $
* ))
31315 # STRING may not start with a hyphen.
31318 func_len_result
=${#1}
31323 *) # Bourne compatible functions.
31324 cat << \_LT_EOF
>> "$cfgfile"
31326 # func_dirname file append nondir_replacement
31327 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
31328 # otherwise set result to NONDIR_REPLACEMENT.
31331 # Extract subdirectory from the argument.
31332 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
31333 if test "X$func_dirname_result" = "X${1}"; then
31334 func_dirname_result
="${3}"
31336 func_dirname_result
="$func_dirname_result${2}"
31340 # func_basename file
31343 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
31347 # func_stripname prefix suffix name
31348 # strip PREFIX and SUFFIX off of NAME.
31349 # PREFIX and SUFFIX must not contain globbing or regex special
31350 # characters, hashes, percent signs, but SUFFIX may contain a leading
31351 # dot (in which case that matches only a dot).
31352 # func_strip_suffix prefix name
31356 .
*) func_stripname_result
=`$ECHO "X${3}" \
31357 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
31358 *) func_stripname_result
=`$ECHO "X${3}" \
31359 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
31364 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
31365 my_sed_long_arg
='1s/^-[^=]*=//'
31370 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
31371 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
31377 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
31380 # func_xform libobj-or-source
31383 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
31386 # func_arith arithmetic-term...
31389 func_arith_result
=`expr "$@"`
31393 # STRING may not start with a hyphen.
31396 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
31402 case $lt_shell_append in
31404 cat << \_LT_EOF
>> "$cfgfile"
31406 # func_append var value
31407 # Append VALUE to the end of shell variable VAR.
31415 cat << \_LT_EOF
>> "$cfgfile"
31417 # func_append var value
31418 # Append VALUE to the end of shell variable VAR.
31429 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
31430 ||
(rm -f "$cfgfile"; exit 1)
31432 mv -f "$cfgfile" "$ofile" ||
31433 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
31437 cat <<_LT_EOF >> "$ofile"
31439 # ### BEGIN LIBTOOL TAG CONFIG: CXX
31441 # The linker used to build libraries.
31444 # Commands used to build an old-style archive.
31445 old_archive_cmds=$lt_old_archive_cmds_CXX
31447 # A language specific compiler.
31448 CC=$lt_compiler_CXX
31450 # Is the compiler the GNU compiler?
31453 # Compiler flag to turn off builtin functions.
31454 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
31456 # How to pass a linker flag through the compiler.
31457 wl=$lt_lt_prog_compiler_wl_CXX
31459 # Additional compiler flags for building library objects.
31460 pic_flag=$lt_lt_prog_compiler_pic_CXX
31462 # Compiler flag to prevent dynamic linking.
31463 link_static_flag=$lt_lt_prog_compiler_static_CXX
31465 # Does compiler simultaneously support -c and -o options?
31466 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
31468 # Whether or not to add -lc for building shared libraries.
31469 build_libtool_need_lc=$archive_cmds_need_lc_CXX
31471 # Whether or not to disallow shared libs when runtime libs are static.
31472 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
31474 # Compiler flag to allow reflexive dlopens.
31475 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
31477 # Compiler flag to generate shared objects directly from archives.
31478 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
31480 # Whether the compiler copes with passing no objects directly.
31481 compiler_needs_object=$lt_compiler_needs_object_CXX
31483 # Create an old-style archive from a shared archive.
31484 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
31486 # Create a temporary old-style archive to link instead of a shared archive.
31487 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
31489 # Commands used to build a shared archive.
31490 archive_cmds=$lt_archive_cmds_CXX
31491 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
31493 # Commands used to build a loadable module if different from building
31494 # a shared archive.
31495 module_cmds=$lt_module_cmds_CXX
31496 module_expsym_cmds=$lt_module_expsym_cmds_CXX
31498 # Whether we are building with GNU ld or not.
31499 with_gnu_ld=$lt_with_gnu_ld_CXX
31501 # Flag that allows shared libraries with undefined symbols to be built.
31502 allow_undefined_flag=$lt_allow_undefined_flag_CXX
31504 # Flag that enforces no undefined symbols.
31505 no_undefined_flag=$lt_no_undefined_flag_CXX
31507 # Flag to hardcode \$libdir into a binary during linking.
31508 # This must work even if \$libdir does not exist
31509 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
31511 # If ld is used when linking, flag to hardcode \$libdir into a binary
31512 # during linking. This must work even if \$libdir does not exist.
31513 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
31515 # Whether we need a single "-rpath" flag with a separated argument.
31516 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
31518 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31519 # DIR into the resulting binary.
31520 hardcode_direct=$hardcode_direct_CXX
31522 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31523 # DIR into the resulting binary and the resulting library dependency is
31524 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31525 # library is relocated.
31526 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
31528 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31529 # into the resulting binary.
31530 hardcode_minus_L=$hardcode_minus_L_CXX
31532 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31533 # into the resulting binary.
31534 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
31536 # Set to "yes" if building a shared library automatically hardcodes DIR
31537 # into the library and all subsequent libraries and executables linked
31539 hardcode_automatic=$hardcode_automatic_CXX
31541 # Set to yes if linker adds runtime paths of dependent libraries
31542 # to runtime path list.
31543 inherit_rpath=$inherit_rpath_CXX
31545 # Whether libtool must link a program against all its dependency libraries.
31546 link_all_deplibs=$link_all_deplibs_CXX
31548 # Fix the shell variable \$srcfile for the compiler.
31549 fix_srcfile_path=$lt_fix_srcfile_path_CXX
31551 # Set to "yes" if exported symbols are required.
31552 always_export_symbols=$always_export_symbols_CXX
31554 # The commands to list exported symbols.
31555 export_symbols_cmds=$lt_export_symbols_cmds_CXX
31557 # Symbols that should not be listed in the preloaded symbols.
31558 exclude_expsyms=$lt_exclude_expsyms_CXX
31560 # Symbols that must always be exported.
31561 include_expsyms=$lt_include_expsyms_CXX
31563 # Commands necessary for linking programs (against libraries) with templates.
31564 prelink_cmds=$lt_prelink_cmds_CXX
31566 # Specify filename containing input files.
31567 file_list_spec=$lt_file_list_spec_CXX
31569 # How to hardcode a shared library path into an executable.
31570 hardcode_action=$hardcode_action_CXX
31572 # The directories searched by this compiler when creating a shared library.
31573 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
31575 # Dependencies to place before and after the objects being linked to
31576 # create a shared library.
31577 predep_objects=$lt_predep_objects_CXX
31578 postdep_objects=$lt_postdep_objects_CXX
31579 predeps=$lt_predeps_CXX
31580 postdeps=$lt_postdeps_CXX
31582 # The library search path used internally by the compiler when linking
31583 # a shared library.
31584 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
31586 # ### END LIBTOOL TAG CONFIG: CXX
31590 cat <<_LT_EOF >> "$ofile"
31592 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
31594 # The linker used to build libraries.
31597 # Commands used to build an old-style archive.
31598 old_archive_cmds=$lt_old_archive_cmds_GCJ
31600 # A language specific compiler.
31601 CC=$lt_compiler_GCJ
31603 # Is the compiler the GNU compiler?
31606 # Compiler flag to turn off builtin functions.
31607 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
31609 # How to pass a linker flag through the compiler.
31610 wl=$lt_lt_prog_compiler_wl_GCJ
31612 # Additional compiler flags for building library objects.
31613 pic_flag=$lt_lt_prog_compiler_pic_GCJ
31615 # Compiler flag to prevent dynamic linking.
31616 link_static_flag=$lt_lt_prog_compiler_static_GCJ
31618 # Does compiler simultaneously support -c and -o options?
31619 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
31621 # Whether or not to add -lc for building shared libraries.
31622 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
31624 # Whether or not to disallow shared libs when runtime libs are static.
31625 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
31627 # Compiler flag to allow reflexive dlopens.
31628 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
31630 # Compiler flag to generate shared objects directly from archives.
31631 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
31633 # Whether the compiler copes with passing no objects directly.
31634 compiler_needs_object=$lt_compiler_needs_object_GCJ
31636 # Create an old-style archive from a shared archive.
31637 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
31639 # Create a temporary old-style archive to link instead of a shared archive.
31640 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
31642 # Commands used to build a shared archive.
31643 archive_cmds=$lt_archive_cmds_GCJ
31644 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
31646 # Commands used to build a loadable module if different from building
31647 # a shared archive.
31648 module_cmds=$lt_module_cmds_GCJ
31649 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
31651 # Whether we are building with GNU ld or not.
31652 with_gnu_ld=$lt_with_gnu_ld_GCJ
31654 # Flag that allows shared libraries with undefined symbols to be built.
31655 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
31657 # Flag that enforces no undefined symbols.
31658 no_undefined_flag=$lt_no_undefined_flag_GCJ
31660 # Flag to hardcode \$libdir into a binary during linking.
31661 # This must work even if \$libdir does not exist
31662 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
31664 # If ld is used when linking, flag to hardcode \$libdir into a binary
31665 # during linking. This must work even if \$libdir does not exist.
31666 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
31668 # Whether we need a single "-rpath" flag with a separated argument.
31669 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
31671 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31672 # DIR into the resulting binary.
31673 hardcode_direct=$hardcode_direct_GCJ
31675 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
31676 # DIR into the resulting binary and the resulting library dependency is
31677 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
31678 # library is relocated.
31679 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
31681 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
31682 # into the resulting binary.
31683 hardcode_minus_L=$hardcode_minus_L_GCJ
31685 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
31686 # into the resulting binary.
31687 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
31689 # Set to "yes" if building a shared library automatically hardcodes DIR
31690 # into the library and all subsequent libraries and executables linked
31692 hardcode_automatic=$hardcode_automatic_GCJ
31694 # Set to yes if linker adds runtime paths of dependent libraries
31695 # to runtime path list.
31696 inherit_rpath=$inherit_rpath_GCJ
31698 # Whether libtool must link a program against all its dependency libraries.
31699 link_all_deplibs=$link_all_deplibs_GCJ
31701 # Fix the shell variable \$srcfile for the compiler.
31702 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
31704 # Set to "yes" if exported symbols are required.
31705 always_export_symbols=$always_export_symbols_GCJ
31707 # The commands to list exported symbols.
31708 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
31710 # Symbols that should not be listed in the preloaded symbols.
31711 exclude_expsyms=$lt_exclude_expsyms_GCJ
31713 # Symbols that must always be exported.
31714 include_expsyms=$lt_include_expsyms_GCJ
31716 # Commands necessary for linking programs (against libraries) with templates.
31717 prelink_cmds=$lt_prelink_cmds_GCJ
31719 # Specify filename containing input files.
31720 file_list_spec=$lt_file_list_spec_GCJ
31722 # How to hardcode a shared library path into an executable.
31723 hardcode_action=$hardcode_action_GCJ
31725 # The directories searched by this compiler when creating a shared library.
31726 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
31728 # Dependencies to place before and after the objects being linked to
31729 # create a shared library.
31730 predep_objects=$lt_predep_objects_GCJ
31731 postdep_objects=$lt_postdep_objects_GCJ
31732 predeps=$lt_predeps_GCJ
31733 postdeps=$lt_postdeps_GCJ
31735 # The library search path used internally by the compiler when linking
31736 # a shared library.
31737 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
31739 # ### END LIBTOOL TAG CONFIG: GCJ
31747 cat >>$CONFIG_STATUS <<\_ACEOF
31749 { (exit 0); exit 0; }
31751 chmod +x
$CONFIG_STATUS
31752 ac_clean_files
=$ac_clean_files_save
31755 # configure is writing to config.log, and then calls config.status.
31756 # config.status does its own redirection, appending to config.log.
31757 # Unfortunately, on DOS this fails, as config.log is still kept open
31758 # by configure, so config.status won't be able to write to it; its
31759 # output is simply discarded. So we exec the FD to /dev/null,
31760 # effectively closing config.log, so it can be properly (re)opened and
31761 # appended to by config.status. When coming back to configure, we
31762 # need to make the FD available again.
31763 if test "$no_create" != yes; then
31765 ac_config_status_args
=
31766 test "$silent" = yes &&
31767 ac_config_status_args
="$ac_config_status_args --quiet"
31769 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31771 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31772 # would make configure fail if this is the last instruction.
31773 $ac_cs_success ||
{ (exit 1); exit 1; }
31777 # CONFIG_SUBDIRS section, as fixed in confsubdir.m4.
31779 if test "$no_recursion" != yes; then
31781 # Remove --cache-file and --srcdir arguments so they do not pile up.
31782 ac_sub_configure_args
=
31784 eval "set x $ac_configure_args"
31788 if test -n "$ac_prev"; then
31793 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
31794 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
31795 ac_prev
=cache_file
;;
31796 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
31797 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
31800 --config-cache |
-C)
31802 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
31804 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
31806 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
31808 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
31812 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31814 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
31818 # Always prepend --prefix to ensure using the same prefix
31819 # in subdir configurations.
31820 ac_arg
="--prefix=$prefix"
31822 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
31824 ac_sub_configure_args
="$ac_arg $ac_sub_configure_args"
31827 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
31829 # Do not complain, so a configure script can configure whichever
31830 # parts of a large source tree are present.
31831 test -d "$srcdir/$ac_dir" ||
continue
31833 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
31834 echo "$as_me: configuring in $ac_dir" >&6;}
31835 { if $as_mkdir_p; then
31840 while test ! -d "$as_dir"; do
31841 as_dirs
="$as_dir $as_dirs"
31842 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
31843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31844 X"$as_dir" : 'X\(//\)[^/]' \| \
31845 X"$as_dir" : 'X\(//\)$' \| \
31846 X"$as_dir" : 'X\(/\)' \| \
31847 . : '\(.\)' 2>/dev/null ||
31849 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
31850 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
31851 /^X\(\/\/\)$/{ s//\1/; q; }
31852 /^X\(\/\).*/{ s//\1/; q; }
31855 test ! -n "$as_dirs" || mkdir
$as_dirs
31856 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
31857 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
31858 { (exit 1); exit 1; }; }; }
31862 if test "$ac_dir" != .
; then
31863 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31864 # A "../" for each directory in $ac_dir_suffix.
31865 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
31867 ac_dir_suffix
= ac_top_builddir
=
31871 .
) # No --srcdir option. We are building in place.
31873 if test -z "$ac_top_builddir"; then
31876 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
31878 [\\/]* | ?
:[\\/]* ) # Absolute path.
31879 ac_srcdir
=$srcdir$ac_dir_suffix;
31880 ac_top_srcdir
=$srcdir ;;
31881 *) # Relative path.
31882 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
31883 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
31886 # Do not use `cd foo && pwd` to compute absolute paths, because
31887 # the directories may not exist.
31889 .
) ac_abs_builddir
="$ac_dir";;
31892 .
) ac_abs_builddir
=`pwd`;;
31893 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
31894 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
31897 case $ac_abs_builddir in
31898 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31900 case ${ac_top_builddir}.
in
31901 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
31902 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
31903 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
31906 case $ac_abs_builddir in
31907 .
) ac_abs_srcdir
=$ac_srcdir;;
31910 .
) ac_abs_srcdir
=$ac_abs_builddir;;
31911 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
31912 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
31915 case $ac_abs_builddir in
31916 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
31918 case $ac_top_srcdir in
31919 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
31920 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
31921 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
31928 # Check for guested configure; otherwise get Cygnus style configure.
31929 if test -f "$ac_srcdir/configure.gnu"; then
31930 ac_sub_configure
=$ac_srcdir/configure.gnu
31931 elif test -f "$ac_srcdir/configure"; then
31932 ac_sub_configure
=$ac_srcdir/configure
31933 elif test -f "$ac_srcdir/configure.in"; then
31934 # This should be Cygnus configure.
31935 ac_sub_configure
=$ac_aux_dir/configure
31937 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
31938 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
31942 # The recursion is here.
31943 if test -n "$ac_sub_configure"; then
31944 # Make the cache file name correct relative to the subdirectory.
31945 case $cache_file in
31946 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
31947 *) # Relative path.
31948 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
31951 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
31952 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
31953 # The eval makes quoting arguments work.
31954 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
31955 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
31956 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
31957 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
31958 { (exit 1); exit 1; }; }