2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libjava version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='libjava'
558 PACKAGE_TARNAME
='libjava'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='libjava version-unused'
564 ac_unique_file
="java/lang/System.java"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 enable_option_checking
=no
603 ac_subst_vars
='am__EXEEXT_FALSE
625 CREATE_JAVA_HOME_FALSE
626 CREATE_JAVA_HOME_TRUE
627 INSTALL_AOT_RPM_FALSE
630 python_mod_dir_expanded
633 LD_FINISH_STATIC_SPEC
635 ANONVERSCRIPT_SUN_FALSE
636 ANONVERSCRIPT_SUN_TRUE
637 ANONVERSCRIPT_GNU_FALSE
638 ANONVERSCRIPT_GNU_TRUE
652 INSTALL_BINARIES_FALSE
653 INSTALL_BINARIES_TRUE
654 NEEDS_DATA_START_FALSE
655 NEEDS_DATA_START_TRUE
687 USING_NO_THREADS_FALSE
688 USING_NO_THREADS_TRUE
689 USING_WIN32_THREADS_FALSE
690 USING_WIN32_THREADS_TRUE
691 USING_POSIX_THREADS_FALSE
692 USING_POSIX_THREADS_TRUE
714 extra_ldflags_libjava
723 USING_DARWIN_CRT_FALSE
724 USING_DARWIN_CRT_TRUE
725 USING_POSIX_PLATFORM_FALSE
726 USING_POSIX_PLATFORM_TRUE
727 USING_WIN32_PLATFORM_FALSE
728 USING_WIN32_PLATFORM_TRUE
735 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
736 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
737 SUPPRESS_LIBGCJ_BC_FALSE
738 SUPPRESS_LIBGCJ_BC_TRUE
742 INSTALL_ECJ_JAR_FALSE
790 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
792 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
793 LIBGCJ_SUBLIB_LTFLAGS
798 MAINTAINER_MODE_FALSE
828 INSTALL_STRIP_PROGRAM
853 JAVA_MAINTAINER_MODE_FALSE
854 JAVA_MAINTAINER_MODE_TRUE
905 program_transform_name
918 enable_option_checking
924 enable_version_specific_runtime_libs
925 enable_browser_plugin
929 enable_java_maintainer_mode
930 enable_dependency_tracking
931 enable_maintainer_mode
932 enable_libgcj_sublibs
942 enable_getenv_properties
943 enable_hash_synchronization
947 enable_reduced_reflection
951 enable_sjlj_exceptions
962 with_system_libunwind
965 enable_aot_compile_rpm
975 ac_precious_vars
='build_alias
989 ac_subdirs_all
='classpath libltdl'
991 # Initialize some variables set by options.
993 ac_init_version
=false
994 ac_unrecognized_opts
=
996 # The variables have the same names as the options, with
997 # dashes changed to underlines.
1005 program_transform_name
=s
,x
,x
,
1013 # Installation directory options.
1014 # These are left unexpanded so users can "make install exec_prefix=/foo"
1015 # and all the variables that are supposed to be based on exec_prefix
1016 # by default will actually change.
1017 # Use braces instead of parens because sh, perl, etc. also accept them.
1018 # (The list follows the same order as the GNU Coding Standards.)
1019 bindir
='${exec_prefix}/bin'
1020 sbindir
='${exec_prefix}/sbin'
1021 libexecdir
='${exec_prefix}/libexec'
1022 datarootdir
='${prefix}/share'
1023 datadir
='${datarootdir}'
1024 sysconfdir
='${prefix}/etc'
1025 sharedstatedir
='${prefix}/com'
1026 localstatedir
='${prefix}/var'
1027 includedir
='${prefix}/include'
1028 oldincludedir
='/usr/include'
1029 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1030 infodir
='${datarootdir}/info'
1035 libdir
='${exec_prefix}/lib'
1036 localedir
='${datarootdir}/locale'
1037 mandir
='${datarootdir}/man'
1043 # If the previous option needs an argument, assign it.
1044 if test -n "$ac_prev"; then
1045 eval $ac_prev=\
$ac_option
1051 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1055 # Accept the important Cygnus configure options, so we can diagnose typos.
1057 case $ac_dashdash$ac_option in
1061 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1063 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1064 bindir
=$ac_optarg ;;
1066 -build |
--build |
--buil |
--bui |
--bu)
1067 ac_prev
=build_alias
;;
1068 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1069 build_alias
=$ac_optarg ;;
1071 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1072 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1073 ac_prev
=cache_file
;;
1074 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1075 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1076 cache_file
=$ac_optarg ;;
1078 --config-cache |
-C)
1079 cache_file
=config.cache
;;
1081 -datadir |
--datadir |
--datadi |
--datad)
1083 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1084 datadir
=$ac_optarg ;;
1086 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1087 |
--dataroo |
--dataro |
--datar)
1088 ac_prev
=datarootdir
;;
1089 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1090 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1091 datarootdir
=$ac_optarg ;;
1093 -disable-* |
--disable-*)
1094 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1097 as_fn_error
"invalid feature name: $ac_useropt"
1098 ac_useropt_orig
=$ac_useropt
1099 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1100 case $ac_user_opts in
1102 "enable_
$ac_useropt"
1104 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1105 ac_unrecognized_sep
=', ';;
1107 eval enable_
$ac_useropt=no
;;
1109 -docdir |
--docdir |
--docdi |
--doc |
--do)
1111 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1112 docdir
=$ac_optarg ;;
1114 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1116 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1117 dvidir
=$ac_optarg ;;
1119 -enable-* |
--enable-*)
1120 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1123 as_fn_error
"invalid feature name: $ac_useropt"
1124 ac_useropt_orig
=$ac_useropt
1125 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1128 "enable_
$ac_useropt"
1130 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1131 ac_unrecognized_sep
=', ';;
1133 eval enable_
$ac_useropt=\
$ac_optarg ;;
1135 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1136 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1137 |
--exec |
--exe |
--ex)
1138 ac_prev
=exec_prefix
;;
1139 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1140 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1141 |
--exec=* |
--exe=* |
--ex=*)
1142 exec_prefix
=$ac_optarg ;;
1144 -gas |
--gas |
--ga |
--g)
1145 # Obsolete; use --with-gas.
1148 -help |
--help |
--hel |
--he |
-h)
1149 ac_init_help
=long
;;
1150 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1151 ac_init_help
=recursive
;;
1152 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1153 ac_init_help
=short
;;
1155 -host |
--host |
--hos |
--ho)
1156 ac_prev
=host_alias
;;
1157 -host=* |
--host=* |
--hos=* |
--ho=*)
1158 host_alias
=$ac_optarg ;;
1160 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1162 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1164 htmldir
=$ac_optarg ;;
1166 -includedir |
--includedir |
--includedi |
--included |
--include \
1167 |
--includ |
--inclu |
--incl |
--inc)
1168 ac_prev
=includedir
;;
1169 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1170 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1171 includedir
=$ac_optarg ;;
1173 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1175 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1176 infodir
=$ac_optarg ;;
1178 -libdir |
--libdir |
--libdi |
--libd)
1180 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1181 libdir
=$ac_optarg ;;
1183 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1184 |
--libexe |
--libex |
--libe)
1185 ac_prev
=libexecdir
;;
1186 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1187 |
--libexe=* |
--libex=* |
--libe=*)
1188 libexecdir
=$ac_optarg ;;
1190 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1191 ac_prev
=localedir
;;
1192 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1193 localedir
=$ac_optarg ;;
1195 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1196 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1197 ac_prev
=localstatedir
;;
1198 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1199 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1200 localstatedir
=$ac_optarg ;;
1202 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1204 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1205 mandir
=$ac_optarg ;;
1207 -nfp |
--nfp |
--nf)
1208 # Obsolete; use --without-fp.
1211 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1212 |
--no-cr |
--no-c |
-n)
1215 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1216 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1219 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1220 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1221 |
--oldin |
--oldi |
--old |
--ol |
--o)
1222 ac_prev
=oldincludedir
;;
1223 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1224 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1225 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1226 oldincludedir
=$ac_optarg ;;
1228 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1230 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1231 prefix
=$ac_optarg ;;
1233 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1234 |
--program-pre |
--program-pr |
--program-p)
1235 ac_prev
=program_prefix
;;
1236 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1237 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1238 program_prefix
=$ac_optarg ;;
1240 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1241 |
--program-suf |
--program-su |
--program-s)
1242 ac_prev
=program_suffix
;;
1243 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1244 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1245 program_suffix
=$ac_optarg ;;
1247 -program-transform-name |
--program-transform-name \
1248 |
--program-transform-nam |
--program-transform-na \
1249 |
--program-transform-n |
--program-transform- \
1250 |
--program-transform |
--program-transfor \
1251 |
--program-transfo |
--program-transf \
1252 |
--program-trans |
--program-tran \
1253 |
--progr-tra |
--program-tr |
--program-t)
1254 ac_prev
=program_transform_name
;;
1255 -program-transform-name=* |
--program-transform-name=* \
1256 |
--program-transform-nam=* |
--program-transform-na=* \
1257 |
--program-transform-n=* |
--program-transform-=* \
1258 |
--program-transform=* |
--program-transfor=* \
1259 |
--program-transfo=* |
--program-transf=* \
1260 |
--program-trans=* |
--program-tran=* \
1261 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1262 program_transform_name
=$ac_optarg ;;
1264 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1266 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1267 pdfdir
=$ac_optarg ;;
1269 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1271 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1274 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1275 |
-silent |
--silent |
--silen |
--sile |
--sil)
1278 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1280 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1282 sbindir
=$ac_optarg ;;
1284 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1285 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1286 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1288 ac_prev
=sharedstatedir
;;
1289 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1290 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1291 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1293 sharedstatedir
=$ac_optarg ;;
1295 -site |
--site |
--sit)
1297 -site=* |
--site=* |
--sit=*)
1300 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1302 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1303 srcdir
=$ac_optarg ;;
1305 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1306 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1307 ac_prev
=sysconfdir
;;
1308 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1309 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1310 sysconfdir
=$ac_optarg ;;
1312 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1313 ac_prev
=target_alias
;;
1314 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1315 target_alias
=$ac_optarg ;;
1317 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1320 -version |
--version |
--versio |
--versi |
--vers |
-V)
1321 ac_init_version
=: ;;
1324 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1325 # Reject names that are not valid shell variable names.
1326 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1327 as_fn_error
"invalid package name: $ac_useropt"
1328 ac_useropt_orig
=$ac_useropt
1329 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1330 case $ac_user_opts in
1334 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1335 ac_unrecognized_sep
=', ';;
1337 eval with_
$ac_useropt=\
$ac_optarg ;;
1339 -without-* |
--without-*)
1340 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1341 # Reject names that are not valid shell variable names.
1342 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1343 as_fn_error
"invalid package name: $ac_useropt"
1344 ac_useropt_orig
=$ac_useropt
1345 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1346 case $ac_user_opts in
1350 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1351 ac_unrecognized_sep
=', ';;
1353 eval with_
$ac_useropt=no
;;
1356 # Obsolete; use --with-x.
1359 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1360 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1361 ac_prev
=x_includes
;;
1362 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1363 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1364 x_includes
=$ac_optarg ;;
1366 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1367 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1368 ac_prev
=x_libraries
;;
1369 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1370 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1371 x_libraries
=$ac_optarg ;;
1373 -*) as_fn_error
"unrecognized option: \`$ac_option'
1374 Try \`$0 --help' for more information."
1378 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1379 # Reject names that are not valid shell variable names.
1380 case $ac_envvar in #(
1381 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1382 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1384 eval $ac_envvar=\
$ac_optarg
1385 export $ac_envvar ;;
1388 # FIXME: should be removed in autoconf 3.0.
1389 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1390 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1391 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1392 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1398 if test -n "$ac_prev"; then
1399 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1400 as_fn_error
"missing argument to $ac_option"
1403 if test -n "$ac_unrecognized_opts"; then
1404 case $enable_option_checking in
1406 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1407 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1411 # Check all directory arguments for consistency.
1412 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1413 datadir sysconfdir sharedstatedir localstatedir includedir \
1414 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1415 libdir localedir mandir
1417 eval ac_val
=\$
$ac_var
1418 # Remove trailing slashes.
1421 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1422 eval $ac_var=\
$ac_val;;
1424 # Be sure to have absolute directory names.
1426 [\\/$
]* | ?
:[\\/]* ) continue;;
1427 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1429 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1432 # There might be people who depend on the old broken behavior: `$host'
1433 # used to hold the argument of --host etc.
1434 # FIXME: To remove some day.
1437 target
=$target_alias
1439 # FIXME: To remove some day.
1440 if test "x$host_alias" != x
; then
1441 if test "x$build_alias" = x
; then
1442 cross_compiling
=maybe
1443 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1444 If a cross compiler is detected then cross compile mode will be used." >&2
1445 elif test "x$build_alias" != "x$host_alias"; then
1451 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1453 test "$silent" = yes && exec 6>/dev
/null
1456 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1457 ac_ls_di
=`ls -di .` &&
1458 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1459 as_fn_error
"working directory cannot be determined"
1460 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1461 as_fn_error
"pwd does not report name of working directory"
1464 # Find the source files, if location was not specified.
1465 if test -z "$srcdir"; then
1466 ac_srcdir_defaulted
=yes
1467 # Try the directory containing this script, then the parent directory.
1468 ac_confdir
=`$as_dirname -- "$as_myself" ||
1469 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1470 X"$as_myself" : 'X\(//\)[^/]' \| \
1471 X"$as_myself" : 'X\(//\)$' \| \
1472 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1473 $as_echo X"$as_myself" |
1474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1492 if test ! -r "$srcdir/$ac_unique_file"; then
1496 ac_srcdir_defaulted
=no
1498 if test ! -r "$srcdir/$ac_unique_file"; then
1499 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1500 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1502 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1504 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1506 # When building in place, set srcdir=.
1507 if test "$ac_abs_confdir" = "$ac_pwd"; then
1510 # Remove unnecessary trailing slashes from srcdir.
1511 # Double slashes in file names in object file debugging info
1512 # mess up M-x gdb in Emacs.
1514 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1516 for ac_var
in $ac_precious_vars; do
1517 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1518 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1519 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1520 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1524 # Report the --help message.
1526 if test "$ac_init_help" = "long"; then
1527 # Omit some internal or obsolete options to make the list less imposing.
1528 # This message is too long to be a string in the A/UX 3.1 sh.
1530 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1532 Usage: $0 [OPTION]... [VAR=VALUE]...
1534 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1535 VAR=VALUE. See below for descriptions of some of the useful variables.
1537 Defaults for the options are specified in brackets.
1540 -h, --help display this help and exit
1541 --help=short display options specific to this package
1542 --help=recursive display the short help of all the included packages
1543 -V, --version display version information and exit
1544 -q, --quiet, --silent do not print \`checking...' messages
1545 --cache-file=FILE cache test results in FILE [disabled]
1546 -C, --config-cache alias for \`--cache-file=config.cache'
1547 -n, --no-create do not create output files
1548 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1550 Installation directories:
1551 --prefix=PREFIX install architecture-independent files in PREFIX
1552 [$ac_default_prefix]
1553 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1556 By default, \`make install' will install all the files in
1557 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1558 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1559 for instance \`--prefix=\$HOME'.
1561 For better control, use the options below.
1563 Fine tuning of the installation directories:
1564 --bindir=DIR user executables [EPREFIX/bin]
1565 --sbindir=DIR system admin executables [EPREFIX/sbin]
1566 --libexecdir=DIR program executables [EPREFIX/libexec]
1567 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1568 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1569 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1570 --libdir=DIR object code libraries [EPREFIX/lib]
1571 --includedir=DIR C header files [PREFIX/include]
1572 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1573 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1574 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1575 --infodir=DIR info documentation [DATAROOTDIR/info]
1576 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1577 --mandir=DIR man documentation [DATAROOTDIR/man]
1578 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1579 --htmldir=DIR html documentation [DOCDIR]
1580 --dvidir=DIR dvi documentation [DOCDIR]
1581 --pdfdir=DIR pdf documentation [DOCDIR]
1582 --psdir=DIR ps documentation [DOCDIR]
1588 --program-prefix=PREFIX prepend PREFIX to installed program names
1589 --program-suffix=SUFFIX append SUFFIX to installed program names
1590 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1593 --x-includes=DIR X include files are
in DIR
1594 --x-libraries=DIR X library files are
in DIR
1597 --build=BUILD configure
for building on BUILD
[guessed
]
1598 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1599 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1603 if test -n "$ac_init_help"; then
1604 case $ac_init_help in
1605 short | recursive
) echo "Configuration of libjava version-unused:";;
1610 --disable-option-checking ignore unrecognized
--enable/--with options
1611 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1612 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1613 --enable-multilib build many library versions
(default
)
1614 --enable-version-specific-runtime-libs
1615 specify that runtime libraries should be installed
1616 in a compiler-specific directory
1617 --enable-browser-plugin build gcjwebplugin web browser plugin
1618 --enable-gconf-peer compile GConf native peers
for util.preferences
1619 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1621 --enable-java-maintainer-mode
1622 allow rebuilding of .class and .h files
1623 --disable-dependency-tracking speeds up one-time build
1624 --enable-dependency-tracking do not reject slow dependency extractors
1625 --enable-maintainer-mode enable make rules and dependencies not useful
1626 (and sometimes confusing
) to the casual installer
1627 --enable-libgcj-sublibs build libgcj as many sub-libraries
1628 --enable-libgcj-debug enable runtime debugging code
1629 --enable-java-awt list of AWT peer implementations to be built
1630 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1631 --enable-static[=PKGS
] build static libraries
[default
=yes]
1632 --enable-fast-install[=PKGS
]
1633 optimize
for fast installation
[default
=yes]
1634 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1635 --disable-getenv-properties
1636 don
't set system properties from GCJ_PROPERTIES
1637 --enable-hash-synchronization
1638 use global hash table for monitor locks
1639 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1641 --enable-reduced-reflection
1642 enable or disable(default) -freduced-reflection when
1643 building portions of libgcj
1644 --enable-gc-debug include full support for pointer backtracing etc.
1645 --enable-interpreter enable interpreter
1646 --enable-sjlj-exceptions
1647 force use of builtin_setjmp for exceptions
1648 --disable-java-net disable java.net
1649 --disable-jvmpi disable JVMPI support
1650 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1651 --disable-rpath do not hardcode runtime library paths
1652 --enable-tls Use thread-local storage [default=yes]
1653 --disable-symvers disable symbol versioning for libjava
1654 --enable-aot-compile-rpm
1655 enable installation of aot-compile-rpm [default=no]
1656 --enable-java-home create a standard JDK-style directory layout in the
1657 install tree [default=no]
1660 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1661 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1662 --with-build-libsubdir=DIR Directory where to find libraries for build system
1663 --with-target-subdir=SUBDIR
1664 configure in a subdirectory
1665 --with-cross-host=HOST configure with a cross compiler from HOST
1666 --with-newlib configure with newlib
1667 --with-antlr-jar=file Use ANTLR from the specified jar file
1668 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1669 --with-pic try to use only PIC/non-PIC objects [default=use
1671 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1672 --with-ecj-jar=FILE use preinstalled ecj jar
1673 --with-java-home=DIRECTORY
1674 value of java.home system property
1675 --with-win32-nlsapi=ansi or unicows or unicode
1676 native MinGW libgcj Win32 OS API (default is ansi)
1677 --without-libffi don't use libffi
1678 --with-ecos enable runtime eCos target support
1679 --with-system-zlib use installed libz
1680 --with-x use the X Window System
1681 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1682 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1683 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1684 --with-system-libunwind use installed libunwind
1685 --with-python-dir the location to install Python modules. This path
1686 should NOT include the prefix.
1687 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1688 --with-arch-directory the arch directory under jre/lib (defaults to
1690 --with-os-directory the os directory under include (defaults to
1692 --with-origin-name the JPackage origin name of this package (default is
1694 --with-arch-suffix the arch directory suffix (default is the empty
1696 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1697 --with-jvm-jar-dir where to install jars (default is
1698 ${prefix}/lib/jvm-exports)
1700 Some influential environment variables:
1701 CC C compiler command
1702 CFLAGS C compiler flags
1703 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1704 nonstandard directory <lib dir>
1705 LIBS libraries to pass to the linker, e.g. -l<library>
1706 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1707 you have headers in a nonstandard directory <include dir>
1708 CXX C++ compiler command
1709 CXXFLAGS C++ compiler flags
1711 CXXCPP C++ preprocessor
1712 XMKMF Path to xmkmf, Makefile generator for X Window System
1714 Use these variables to override the choices made by `configure' or to
help
1715 it to
find libraries and programs with nonstandard names
/locations.
1717 Report bugs to the package provider.
1722 if test "$ac_init_help" = "recursive"; then
1723 # If there are subdirs, report their specific --help.
1724 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1725 test -d "$ac_dir" ||
1726 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1731 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1733 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1734 # A ".." for each directory in $ac_dir_suffix.
1735 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1736 case $ac_top_builddir_sub in
1737 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1738 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1741 ac_abs_top_builddir
=$ac_pwd
1742 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1743 # for backward compatibility:
1744 ac_top_builddir
=$ac_top_build_prefix
1747 .
) # We are building in place.
1749 ac_top_srcdir
=$ac_top_builddir_sub
1750 ac_abs_top_srcdir
=$ac_pwd ;;
1751 [\\/]* | ?
:[\\/]* ) # Absolute name.
1752 ac_srcdir
=$srcdir$ac_dir_suffix;
1753 ac_top_srcdir
=$srcdir
1754 ac_abs_top_srcdir
=$srcdir ;;
1756 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1757 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1758 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1760 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1762 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1763 # Check for guested configure.
1764 if test -f "$ac_srcdir/configure.gnu"; then
1766 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1767 elif test -f "$ac_srcdir/configure"; then
1769 $SHELL "$ac_srcdir/configure" --help=recursive
1771 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1773 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1777 test -n "$ac_init_help" && exit $ac_status
1778 if $ac_init_version; then
1780 libjava configure version-unused
1781 generated by GNU Autoconf
2.64
1783 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1784 This configure
script is free software
; the Free Software Foundation
1785 gives unlimited permission to copy
, distribute and modify it.
1790 ## ------------------------ ##
1791 ## Autoconf initialization. ##
1792 ## ------------------------ ##
1794 # ac_fn_c_try_compile LINENO
1795 # --------------------------
1796 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1797 ac_fn_c_try_compile
()
1799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1800 rm -f conftest.
$ac_objext
1801 if { { ac_try
="$ac_compile"
1803 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1804 *) ac_try_echo=$ac_try;;
1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_compile") 2>conftest.err
1810 if test -s conftest.err; then
1811 grep -v '^ *+' conftest.err >conftest.er1
1812 cat conftest.er1 >&5
1813 mv -f conftest.er1 conftest.err
1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816 test $ac_status = 0; } && {
1817 test -z "$ac_c_werror_flag" ||
1818 test ! -s conftest.err
1819 } && test -s conftest.$ac_objext; then :
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.$ac_ext >&5
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 } # ac_fn_c_try_compile
1832 # ac_fn_cxx_try_compile LINENO
1833 # ----------------------------
1834 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_cxx_try_compile ()
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 rm -f conftest.$ac_objext
1839 if { { ac_try="$ac_compile"
1841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1842 *) ac_try_echo
=$ac_try;;
1844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_compile") 2>conftest.err
1848 if test -s conftest.err
; then
1849 grep -v '^ *+' conftest.err
>conftest.er1
1850 cat conftest.er1
>&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_cxx_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest.
$ac_objext; then :
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.
$ac_ext >&5
1865 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1868 } # ac_fn_cxx_try_compile
1870 # ac_fn_c_try_link LINENO
1871 # -----------------------
1872 # Try to link conftest.$ac_ext, and return whether this succeeded.
1875 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1876 rm -f conftest.
$ac_objext conftest
$ac_exeext
1877 if { { ac_try
="$ac_link"
1879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1880 *) ac_try_echo=$ac_try;;
1882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_link") 2>conftest.err
1886 if test -s conftest.err; then
1887 grep -v '^ *+' conftest.err >conftest.er1
1888 cat conftest.er1 >&5
1889 mv -f conftest.er1 conftest.err
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; } && {
1893 test -z "$ac_c_werror_flag" ||
1894 test ! -s conftest.err
1895 } && test -s conftest$ac_exeext && {
1896 test "$cross_compiling" = yes ||
1897 $as_test_x conftest$ac_exeext
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1906 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1907 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1908 # interfere with the next link command; also delete a directory that is
1909 # left behind by Apple's compiler. We do this before executing the actions.
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 } # ac_fn_c_try_link
1916 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1917 # -------------------------------------------------------
1918 # Tests whether HEADER exists and can be compiled using the include files in
1919 # INCLUDES, setting the cache variable VAR accordingly.
1920 ac_fn_c_check_header_compile ()
1922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1926 $as_echo_n "(cached) " >&6
1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929 /* end confdefs.h. */
1933 if ac_fn_c_try_compile "$LINENO"; then :
1938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942 $as_echo "$ac_res" >&6; }
1943 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1945 } # ac_fn_c_check_header_compile
1947 # ac_fn_c_try_cpp LINENO
1948 # ----------------------
1949 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 if { { ac_try="$ac_cpp conftest.$ac_ext"
1955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1956 *) ac_try_echo
=$ac_try;;
1958 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$ac_try_echo"; } >&5
1960 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1962 if test -s conftest.err
; then
1963 grep -v '^ *+' conftest.err
>conftest.er1
1964 cat conftest.er1
>&5
1965 mv -f conftest.er1 conftest.err
1967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968 test $ac_status = 0; } >/dev
/null
&& {
1969 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1970 test ! -s conftest.err
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.
$ac_ext >&5
1979 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1984 # ac_fn_c_try_run LINENO
1985 # ----------------------
1986 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1987 # that executables *can* be run.
1990 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1991 if { { ac_try
="$ac_link"
1993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1994 *) ac_try_echo=$ac_try;;
1996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_link") 2>&5
2000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2001 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2002 { { case "(($ac_try" in
2003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2004 *) ac_try_echo
=$ac_try;;
2006 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2007 $as_echo "$ac_try_echo"; } >&5
2008 (eval "$ac_try") 2>&5
2010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2011 test $ac_status = 0; }; }; then :
2014 $as_echo "$as_me: program exited with status $ac_status" >&5
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.
$ac_ext >&5
2018 ac_retval
=$ac_status
2020 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2021 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2026 # ac_fn_c_check_func LINENO FUNC VAR
2027 # ----------------------------------
2028 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2029 ac_fn_c_check_func
()
2031 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033 $as_echo_n "checking for $2... " >&6; }
2034 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2035 $as_echo_n "(cached) " >&6
2037 if test x
$gcc_no_link = xyes
; then
2038 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2041 /* end confdefs.h. */
2042 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2044 #define $2 innocuous_$2
2046 /* System header to define __stub macros and hopefully few prototypes,
2047 which can conflict with char $2 (); below.
2048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2049 <limits.h> exists even on freestanding compilers. */
2052 # include <limits.h>
2054 # include <assert.h>
2059 /* Override any GCC internal prototype to avoid an error.
2060 Use char because int might match the return type of a GCC
2061 builtin and then its argument prototype would still apply. */
2066 /* The GNU C library defines this for functions which it implements
2067 to always fail with ENOSYS. Some functions are actually named
2068 something starting with __ and the normal name is an alias. */
2069 #if defined __stub_$2 || defined __stub___$2
2081 if ac_fn_c_try_link
"$LINENO"; then :
2086 rm -f core conftest.err conftest.
$ac_objext \
2087 conftest
$ac_exeext conftest.
$ac_ext
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091 $as_echo "$ac_res" >&6; }
2092 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2094 } # ac_fn_c_check_func
2096 # ac_fn_cxx_try_cpp LINENO
2097 # ------------------------
2098 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2099 ac_fn_cxx_try_cpp
()
2101 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2102 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2105 *) ac_try_echo=$ac_try;;
2107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2108 $as_echo "$ac_try_echo"; } >&5
2109 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2111 if test -s conftest.err; then
2112 grep -v '^ *+' conftest.err >conftest.er1
2113 cat conftest.er1 >&5
2114 mv -f conftest.er1 conftest.err
2116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2117 test $ac_status = 0; } >/dev/null && {
2118 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2119 test ! -s conftest.err
2123 $as_echo "$as_me: failed program was:" >&5
2124 sed 's/^/| /' conftest.$ac_ext >&5
2128 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2131 } # ac_fn_cxx_try_cpp
2133 # ac_fn_cxx_try_link LINENO
2134 # -------------------------
2135 # Try to link conftest.$ac_ext, and return whether this succeeded.
2136 ac_fn_cxx_try_link ()
2138 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2139 rm -f conftest.$ac_objext conftest$ac_exeext
2140 if { { ac_try="$ac_link"
2142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2143 *) ac_try_echo
=$ac_try;;
2145 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2146 $as_echo "$ac_try_echo"; } >&5
2147 (eval "$ac_link") 2>conftest.err
2149 if test -s conftest.err
; then
2150 grep -v '^ *+' conftest.err
>conftest.er1
2151 cat conftest.er1
>&5
2152 mv -f conftest.er1 conftest.err
2154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2155 test $ac_status = 0; } && {
2156 test -z "$ac_cxx_werror_flag" ||
2157 test ! -s conftest.err
2158 } && test -s conftest
$ac_exeext && {
2159 test "$cross_compiling" = yes ||
2160 $as_test_x conftest
$ac_exeext
2164 $as_echo "$as_me: failed program was:" >&5
2165 sed 's/^/| /' conftest.
$ac_ext >&5
2169 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2170 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2171 # interfere with the next link command; also delete a directory that is
2172 # left behind by Apple's compiler. We do this before executing the actions.
2173 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2174 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2177 } # ac_fn_cxx_try_link
2179 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2180 # -------------------------------------------------------
2181 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2182 # the include files in INCLUDES and setting the cache variable VAR
2184 ac_fn_c_check_header_mongrel
()
2186 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2187 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2189 $as_echo_n "checking for $2... " >&6; }
2190 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2191 $as_echo_n "(cached) " >&6
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2195 $as_echo "$ac_res" >&6; }
2197 # Is the header compilable?
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2199 $as_echo_n "checking $2 usability... " >&6; }
2200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2201 /* end confdefs.h. */
2205 if ac_fn_c_try_compile
"$LINENO"; then :
2206 ac_header_compiler
=yes
2208 ac_header_compiler
=no
2210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2212 $as_echo "$ac_header_compiler" >&6; }
2214 # Is the header present?
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2216 $as_echo_n "checking $2 presence... " >&6; }
2217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2218 /* end confdefs.h. */
2221 if ac_fn_c_try_cpp
"$LINENO"; then :
2222 ac_header_preproc
=yes
2224 ac_header_preproc
=no
2226 rm -f conftest.err conftest.
$ac_ext
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2228 $as_echo "$ac_header_preproc" >&6; }
2230 # So? What about this header?
2231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2234 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2236 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2240 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2242 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2244 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2246 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2248 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2252 $as_echo_n "checking for $2... " >&6; }
2253 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2254 $as_echo_n "(cached) " >&6
2256 eval "$3=\$ac_header_compiler"
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2260 $as_echo "$ac_res" >&6; }
2262 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2264 } # ac_fn_c_check_header_mongrel
2266 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2267 # ----------------------------------------------------
2268 # Tries to find if the field MEMBER exists in type AGGR, after including
2269 # INCLUDES, setting cache variable VAR accordingly.
2270 ac_fn_c_check_member
()
2272 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2274 $as_echo_n "checking for $2.$3... " >&6; }
2275 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2276 $as_echo_n "(cached) " >&6
2278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2291 if ac_fn_c_try_compile
"$LINENO"; then :
2294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2301 if (sizeof ac_aggr.$3)
2307 if ac_fn_c_try_compile
"$LINENO"; then :
2312 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2318 $as_echo "$ac_res" >&6; }
2319 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2321 } # ac_fn_c_check_member
2323 # ac_fn_c_check_decl LINENO SYMBOL VAR
2324 # ------------------------------------
2325 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2326 ac_fn_c_check_decl
()
2328 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2329 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2330 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2332 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2333 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2334 $as_echo_n "(cached) " >&6
2336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2342 #ifndef $as_decl_name
2344 (void) $as_decl_use;
2346 (void) $as_decl_name;
2354 if ac_fn_c_try_compile
"$LINENO"; then :
2359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2363 $as_echo "$ac_res" >&6; }
2364 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2366 } # ac_fn_c_check_decl
2368 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2369 # --------------------------------------------
2370 # Tries to find the compile-time value of EXPR in a program that includes
2371 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2373 ac_fn_c_compute_int
()
2375 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2376 if test "$cross_compiling" = yes; then
2377 # Depending upon the size, compute the lo and hi bounds.
2378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2379 /* end confdefs.h. */
2384 static int test_array [1 - 2 * !(($2) >= 0)];
2391 if ac_fn_c_try_compile
"$LINENO"; then :
2394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2395 /* end confdefs.h. */
2400 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2407 if ac_fn_c_try_compile
"$LINENO"; then :
2408 ac_hi
=$ac_mid; break
2410 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2411 if test $ac_lo -le $ac_mid; then
2415 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2421 /* end confdefs.h. */
2426 static int test_array [1 - 2 * !(($2) < 0)];
2433 if ac_fn_c_try_compile
"$LINENO"; then :
2436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2437 /* end confdefs.h. */
2442 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2449 if ac_fn_c_try_compile
"$LINENO"; then :
2450 ac_lo
=$ac_mid; break
2452 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2453 if test $ac_mid -le $ac_hi; then
2457 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2467 # Binary search between lo and hi bounds.
2468 while test "x$ac_lo" != "x$ac_hi"; do
2469 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2471 /* end confdefs.h. */
2476 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2483 if ac_fn_c_try_compile
"$LINENO"; then :
2486 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2491 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2496 /* end confdefs.h. */
2498 static long int longval () { return $2; }
2499 static unsigned long int ulongval () { return $2; }
2506 FILE *f = fopen ("conftest.val", "w");
2511 long int i = longval ();
2514 fprintf (f, "%ld", i);
2518 unsigned long int i = ulongval ();
2521 fprintf (f, "%lu", i);
2523 /* Do not output a trailing newline, as this causes \r\n confusion
2524 on some platforms. */
2525 return ferror (f) || fclose (f) != 0;
2531 if ac_fn_c_try_run
"$LINENO"; then :
2532 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2536 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2537 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2541 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2544 } # ac_fn_c_compute_int
2546 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2547 # -------------------------------------------
2548 # Tests whether TYPE exists after having included INCLUDES, setting cache
2549 # variable VAR accordingly.
2550 ac_fn_c_check_type
()
2552 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2554 $as_echo_n "checking for $2... " >&6; }
2555 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2556 $as_echo_n "(cached) " >&6
2559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2560 /* end confdefs.h. */
2571 if ac_fn_c_try_compile
"$LINENO"; then :
2572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2573 /* end confdefs.h. */
2584 if ac_fn_c_try_compile
"$LINENO"; then :
2589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2595 $as_echo "$ac_res" >&6; }
2596 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2598 } # ac_fn_c_check_type
2599 cat >config.log
<<_ACEOF
2600 This file contains any messages produced by compilers while
2601 running configure, to aid debugging if configure makes a mistake.
2603 It was created by libjava $as_me version-unused, which was
2604 generated by GNU Autoconf 2.64. Invocation command line was
2616 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2617 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2618 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2619 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2620 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2622 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2623 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2625 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2626 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2627 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2628 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2629 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2630 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2631 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir
=.
2640 $as_echo "PATH: $as_dir"
2656 # Keep a trace of the command line.
2657 # Strip out --no-create and --no-recursion so they do not pile up.
2658 # Strip out --silent because we don't want to record it for future runs.
2659 # Also quote any args containing shell meta-characters.
2660 # Make two passes to allow for proper duplicate-argument suppression.
2664 ac_must_keep_next
=false
2670 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2671 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2672 |
-silent |
--silent |
--silen |
--sile |
--sil)
2675 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2678 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2680 as_fn_append ac_configure_args1
" '$ac_arg'"
2681 if test $ac_must_keep_next = true
; then
2682 ac_must_keep_next
=false
# Got value, back to normal.
2685 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2686 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2687 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2688 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2689 case "$ac_configure_args0 " in
2690 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2693 -* ) ac_must_keep_next
=true
;;
2696 as_fn_append ac_configure_args
" '$ac_arg'"
2701 { ac_configure_args0
=; unset ac_configure_args0
;}
2702 { ac_configure_args1
=; unset ac_configure_args1
;}
2704 # When interrupted or exit'd, cleanup temporary files, and complete
2705 # config.log. We remove comments because anyway the quotes in there
2706 # would cause problems or look ugly.
2707 # WARNING: Use '\'' to represent an apostrophe within the trap.
2708 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2709 trap 'exit_status=$?
2710 # Save into config.log some information that might help in debugging.
2715 ## ---------------- ##
2716 ## Cache variables. ##
2717 ## ---------------- ##
2720 # The following way of writing the cache mishandles newlines in values,
2722 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2723 eval ac_val=\$$ac_var
2727 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2728 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2731 _ | IFS | as_nl) ;; #(
2732 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2733 *) { eval $ac_var=; unset $ac_var;} ;;
2738 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2739 *${as_nl}ac_space=\ *)
2741 "s/'\''/'\''\\\\'\'''\''/g;
2742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2753 ## ----------------- ##
2754 ## Output variables. ##
2755 ## ----------------- ##
2758 for ac_var in $ac_subst_vars
2760 eval ac_val=\$$ac_var
2762 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2764 $as_echo "$ac_var='\''$ac_val'\''"
2768 if test -n "$ac_subst_files"; then
2770 ## ------------------- ##
2771 ## File substitutions. ##
2772 ## ------------------- ##
2775 for ac_var
in $ac_subst_files
2777 eval ac_val
=\$
$ac_var
2779 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2781 $as_echo "$ac_var='\''$ac_val'\''"
2786 if test -s confdefs.h; then
2796 test "$ac_signal" != 0 &&
2797 $as_echo "$as_me: caught signal $ac_signal"
2798 $as_echo "$as_me: exit $exit_status"
2800 rm -f core *.core core.conftest.* &&
2801 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2804 for ac_signal
in 1 2 13 15; do
2805 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2809 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2810 rm -f -r conftest
* confdefs.h
2812 $as_echo "/* confdefs.h */" > confdefs.h
2814 # Predefined preprocessor variables.
2816 cat >>confdefs.h
<<_ACEOF
2817 #define PACKAGE_NAME "$PACKAGE_NAME"
2820 cat >>confdefs.h
<<_ACEOF
2821 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2824 cat >>confdefs.h
<<_ACEOF
2825 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2828 cat >>confdefs.h
<<_ACEOF
2829 #define PACKAGE_STRING "$PACKAGE_STRING"
2832 cat >>confdefs.h
<<_ACEOF
2833 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2836 cat >>confdefs.h
<<_ACEOF
2837 #define PACKAGE_URL "$PACKAGE_URL"
2841 # Let the site file select an alternate cache file if it wants to.
2842 # Prefer an explicitly selected file to automatically selected ones.
2845 if test -n "$CONFIG_SITE"; then
2846 ac_site_file1
=$CONFIG_SITE
2847 elif test "x$prefix" != xNONE
; then
2848 ac_site_file1
=$prefix/share
/config.site
2849 ac_site_file2
=$prefix/etc
/config.site
2851 ac_site_file1
=$ac_default_prefix/share
/config.site
2852 ac_site_file2
=$ac_default_prefix/etc
/config.site
2854 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2856 test "x$ac_site_file" = xNONE
&& continue
2857 if test -r "$ac_site_file"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2859 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2860 sed 's/^/| /' "$ac_site_file" >&5
2865 if test -r "$cache_file"; then
2866 # Some versions of bash will fail to source /dev/null (special
2867 # files actually), so we avoid doing that.
2868 if test -f "$cache_file"; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2870 $as_echo "$as_me: loading cache $cache_file" >&6;}
2872 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2873 *) .
"./$cache_file";;
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2878 $as_echo "$as_me: creating cache $cache_file" >&6;}
2882 # Check that the precious variables saved in the cache have kept the same
2884 ac_cache_corrupted
=false
2885 for ac_var
in $ac_precious_vars; do
2886 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2887 eval ac_new_set
=\
$ac_env_${ac_var}_set
2888 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2889 eval ac_new_val
=\
$ac_env_${ac_var}_value
2890 case $ac_old_set,$ac_new_set in
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2893 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2894 ac_cache_corrupted
=: ;;
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2897 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2898 ac_cache_corrupted
=: ;;
2901 if test "x$ac_old_val" != "x$ac_new_val"; then
2902 # differences in whitespace do not lead to failure.
2903 ac_old_val_w
=`echo x $ac_old_val`
2904 ac_new_val_w
=`echo x $ac_new_val`
2905 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2907 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2908 ac_cache_corrupted
=:
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2911 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2912 eval $ac_var=\
$ac_old_val
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2915 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2917 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2920 # Pass precious variables to config.status.
2921 if test "$ac_new_set" = set; then
2923 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2924 *) ac_arg
=$ac_var=$ac_new_val ;;
2926 case " $ac_configure_args " in
2927 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2928 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2932 if $ac_cache_corrupted; then
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2936 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2937 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2939 ## -------------------- ##
2940 ## Main body of script. ##
2941 ## -------------------- ##
2944 ac_cpp
='$CPP $CPPFLAGS'
2945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2957 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2958 for ac_t
in install-sh
install.sh shtool
; do
2959 if test -f "$ac_dir/$ac_t"; then
2961 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2966 if test -z "$ac_aux_dir"; then
2967 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2970 # These three variables are undocumented and unsupported,
2971 # and are intended to be withdrawn in a future Autoconf release.
2972 # They can cause serious problems if a builder's source tree is in a directory
2973 # whose full name contains unusual characters.
2974 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2975 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2976 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2979 # Make sure we can run config.sub.
2980 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2981 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2984 $as_echo_n "checking build system type... " >&6; }
2985 if test "${ac_cv_build+set}" = set; then :
2986 $as_echo_n "(cached) " >&6
2988 ac_build_alias
=$build_alias
2989 test "x$ac_build_alias" = x
&&
2990 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2991 test "x$ac_build_alias" = x
&&
2992 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2993 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2994 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2998 $as_echo "$ac_cv_build" >&6; }
2999 case $ac_cv_build in
3001 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3004 ac_save_IFS
=$IFS; IFS
='-'
3010 # Remember, the first character of IFS is used to create $*,
3011 # except with old shells:
3014 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3017 case ${build_alias} in
3018 "") build_noncanonical
=${build} ;;
3019 *) build_noncanonical
=${build_alias} ;;
3022 case ${host_alias} in
3023 "") host_noncanonical
=${build_noncanonical} ;;
3024 *) host_noncanonical
=${host_alias} ;;
3027 case ${target_alias} in
3028 "") target_noncanonical
=${host_noncanonical} ;;
3029 *) target_noncanonical
=${target_alias} ;;
3033 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3034 # have matching libraries, they should use host libraries: Makefile.tpl
3035 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3036 # However, they still use the build modules, because the corresponding
3037 # host modules (e.g. bison) are only built for the host when bootstrap
3039 # - build_subdir is where we find build modules, and never changes.
3040 # - build_libsubdir is where we find build libraries, and can be overridden.
3042 # Prefix 'build-' so this never conflicts with target_subdir.
3043 build_subdir
="build-${build_noncanonical}"
3045 # Check whether --with-build-libsubdir was given.
3046 if test "${with_build_libsubdir+set}" = set; then :
3047 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3049 build_libsubdir
="$build_subdir"
3052 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3053 if ( test $srcdir = .
&& test -d gcc
) \
3054 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3055 host_subdir
="host-${host_noncanonical}"
3060 target_subdir
=${target_noncanonical}
3063 # We use these options to decide which functions to include.
3065 # Check whether --with-target-subdir was given.
3066 if test "${with_target_subdir+set}" = set; then :
3067 withval
=$with_target_subdir;
3071 # We may get other options which we don't document:
3072 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3074 # Find the rest of the source tree framework.
3075 # Default to --enable-multilib
3076 # Check whether --enable-multilib was given.
3077 if test "${enable_multilib+set}" = set; then :
3078 enableval
=$enable_multilib; case "$enableval" in
3079 yes) multilib
=yes ;;
3081 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3088 # We may get other options which we leave undocumented:
3089 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3090 # See config-ml.in if you want the gory details.
3092 if test "$srcdir" = "."; then
3093 if test "$with_target_subdir" != "."; then
3094 multi_basedir
="$srcdir/$with_multisrctop../.."
3096 multi_basedir
="$srcdir/$with_multisrctop.."
3099 multi_basedir
="$srcdir/.."
3103 # Even if the default multilib is not a cross compilation,
3104 # it may be that some of the other multilibs are.
3105 if test $cross_compiling = no
&& test $multilib = yes \
3106 && test "x${with_multisubdir}" != x
; then
3107 cross_compiling
=maybe
3110 ac_config_commands
="$ac_config_commands default-1"
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3114 $as_echo_n "checking host system type... " >&6; }
3115 if test "${ac_cv_host+set}" = set; then :
3116 $as_echo_n "(cached) " >&6
3118 if test "x$host_alias" = x
; then
3119 ac_cv_host
=$ac_cv_build
3121 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3122 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3127 $as_echo "$ac_cv_host" >&6; }
3130 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3133 ac_save_IFS
=$IFS; IFS
='-'
3139 # Remember, the first character of IFS is used to create $*,
3140 # except with old shells:
3143 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3147 $as_echo_n "checking target system type... " >&6; }
3148 if test "${ac_cv_target+set}" = set; then :
3149 $as_echo_n "(cached) " >&6
3151 if test "x$target_alias" = x
; then
3152 ac_cv_target
=$ac_cv_host
3154 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3155 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3160 $as_echo "$ac_cv_target" >&6; }
3161 case $ac_cv_target in
3163 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3165 target
=$ac_cv_target
3166 ac_save_IFS
=$IFS; IFS
='-'
3172 # Remember, the first character of IFS is used to create $*,
3173 # except with old shells:
3176 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3179 # The aliases save the names the user supplied, while $host etc.
3180 # will get canonicalized.
3181 test -n "$target_alias" &&
3182 test "$program_prefix$program_suffix$program_transform_name" = \
3184 program_prefix
=${target_alias}-
3186 case ${build_alias} in
3187 "") build_noncanonical
=${build} ;;
3188 *) build_noncanonical
=${build_alias} ;;
3191 case ${target_alias} in
3192 "") target_noncanonical
=${host_noncanonical} ;;
3193 *) target_noncanonical
=${target_alias} ;;
3199 # This works around the fact that libtool configuration may change LD
3200 # for this particular configuration, but some shells, instead of
3201 # keeping the changes in LD private, export them just because LD is
3203 ORIGINAL_LD_FOR_MULTILIBS
=$LD
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3206 $as_echo_n "checking whether ln -s works... " >&6; }
3208 if test "$LN_S" = "ln -s"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3210 $as_echo "yes" >&6; }
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3213 $as_echo "no, using $LN_S" >&6; }
3217 # This works around an automake problem.
3218 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3222 # Check whether --with-cross-host was given.
3223 if test "${with_cross_host+set}" = set; then :
3224 withval
=$with_cross_host;
3229 # Check whether --with-newlib was given.
3230 if test "${with_newlib+set}" = set; then :
3231 withval
=$with_newlib;
3235 # Check whether --enable-version-specific-runtime-libs was given.
3236 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3237 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
3238 yes) version_specific_libs
=yes ;;
3239 no
) version_specific_libs
=no
;;
3240 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3243 version_specific_libs
=no
3248 # Check whether --enable-browser-plugin was given.
3249 if test "${enable_browser_plugin+set}" = set; then :
3250 enableval
=$enable_browser_plugin; case "$enableval" in
3251 yes) browser_plugin_enabled
=yes ;;
3252 no
) browser_plugin_enabled
=no
;;
3253 *) as_fn_error
"Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3256 browser_plugin_enabled
=no
3261 # Check whether --enable-gconf-peer was given.
3262 if test "${enable_gconf_peer+set}" = set; then :
3263 enableval
=$enable_gconf_peer; case "$enableval" in
3264 yes) gconf_enabled
=yes ;;
3265 no
) gconf_enabled
=no
;;
3266 *) as_fn_error
"Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3275 # Check whether --with-antlr-jar was given.
3276 if test "${with_antlr_jar+set}" = set; then :
3277 withval
=$with_antlr_jar;
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3288 $as_echo_n "checking for antlr.jar... " >&6; }
3289 if test "x$ANTLR_JAR" = x
; then
3290 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3291 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
3293 if test -f "$antlr_lib_home/antlr.jar"; then
3294 # FIXME: version check for antlr needed without using a VM
3295 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
3299 if test "x$ANTLR_JAR" = x
; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3301 $as_echo "not found" >&6; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3304 $as_echo "$ANTLR_JAR" >&6; }
3307 if test -f "${ANTLR_JAR}"; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3309 $as_echo "$ANTLR_JAR" >&6; }
3311 as_fn_error
"antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3316 # Check whether --enable-gjdoc was given.
3317 if test "${enable_gjdoc+set}" = set; then :
3318 enableval
=$enable_gjdoc; case "${enableval}" in
3319 yes) BUILD_GJDOC
=yes ;;
3320 no
) BUILD_GJDOC
=no
;;
3321 *) BUILD_GJDOC
=yes ;;
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3329 $as_echo_n "checking whether to build gjdoc... " >&6; }
3330 if test "x$BUILD_GJDOC" = xmaybe
; then
3331 if test -f "${ANTLR_JAR}"; then
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3334 $as_echo "yes" >&6; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3338 $as_echo "no, antlr.jar not found" >&6; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3342 $as_echo "$BUILD_GJDOC" >&6; }
3344 if test "x${BUILD_GJDOC}" = xyes
; then
3346 CREATE_GJDOC_FALSE
='#'
3348 CREATE_GJDOC_TRUE
='#'
3353 # Check whether --enable-java-maintainer-mode was given.
3354 if test "${enable_java_maintainer_mode+set}" = set; then :
3355 enableval
=$enable_java_maintainer_mode;
3358 if test "$enable_java_maintainer_mode" = yes; then
3359 JAVA_MAINTAINER_MODE_TRUE
=
3360 JAVA_MAINTAINER_MODE_FALSE
='#'
3362 JAVA_MAINTAINER_MODE_TRUE
='#'
3363 JAVA_MAINTAINER_MODE_FALSE
=
3367 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3370 # For libstdc++-v3, -fno-builtin must be present here so that a
3371 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3372 # used in later tests. This may not be necessary in libjava; I don't know.
3373 save_CXXFLAGS
="$CXXFLAGS"
3374 CXXFLAGS
="$CXXFLAGS -fno-builtin"
3376 ac_cpp
='$CPP $CPPFLAGS'
3377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3380 if test -n "$ac_tool_prefix"; then
3381 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3382 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_CC+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3388 if test -n "$CC"; then
3389 ac_cv_prog_CC
="$CC" # Let the user override the test.
3391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3395 test -z "$as_dir" && as_dir
=.
3396 for ac_exec_ext
in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3409 if test -n "$CC"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3411 $as_echo "$CC" >&6; }
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3419 if test -z "$ac_cv_prog_CC"; then
3421 # Extract the first word of "gcc", so it can be a program name with args.
3422 set dummy gcc
; ac_word
=$2
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3424 $as_echo_n "checking for $ac_word... " >&6; }
3425 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3426 $as_echo_n "(cached) " >&6
3428 if test -n "$ac_ct_CC"; then
3429 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3435 test -z "$as_dir" && as_dir
=.
3436 for ac_exec_ext
in '' $ac_executable_extensions; do
3437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3438 ac_cv_prog_ac_ct_CC
="gcc"
3439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3448 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3449 if test -n "$ac_ct_CC"; then
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3451 $as_echo "$ac_ct_CC" >&6; }
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3454 $as_echo "no" >&6; }
3457 if test "x$ac_ct_CC" = x
; then
3460 case $cross_compiling:$ac_tool_warned in
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3464 ac_tool_warned
=yes ;;
3472 if test -z "$CC"; then
3473 if test -n "$ac_tool_prefix"; then
3474 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3475 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3477 $as_echo_n "checking for $ac_word... " >&6; }
3478 if test "${ac_cv_prog_CC+set}" = set; then :
3479 $as_echo_n "(cached) " >&6
3481 if test -n "$CC"; then
3482 ac_cv_prog_CC
="$CC" # Let the user override the test.
3484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3488 test -z "$as_dir" && as_dir
=.
3489 for ac_exec_ext
in '' $ac_executable_extensions; do
3490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3491 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3502 if test -n "$CC"; then
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3504 $as_echo "$CC" >&6; }
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3507 $as_echo "no" >&6; }
3513 if test -z "$CC"; then
3514 # Extract the first word of "cc", so it can be a program name with args.
3515 set dummy cc
; ac_word
=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if test "${ac_cv_prog_CC+set}" = set; then :
3519 $as_echo_n "(cached) " >&6
3521 if test -n "$CC"; then
3522 ac_cv_prog_CC
="$CC" # Let the user override the test.
3525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3529 test -z "$as_dir" && as_dir
=.
3530 for ac_exec_ext
in '' $ac_executable_extensions; do
3531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3532 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3533 ac_prog_rejected
=yes
3537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3544 if test $ac_prog_rejected = yes; then
3545 # We found a bogon in the path, so make sure we never use it.
3546 set dummy
$ac_cv_prog_CC
3548 if test $# != 0; then
3549 # We chose a different compiler from the bogus one.
3550 # However, it has the same basename, so the bogon will be chosen
3551 # first if we set CC to just the basename; use the full file name.
3553 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3559 if test -n "$CC"; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3561 $as_echo "$CC" >&6; }
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3564 $as_echo "no" >&6; }
3569 if test -z "$CC"; then
3570 if test -n "$ac_tool_prefix"; then
3571 for ac_prog
in cl.exe
3573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3574 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576 $as_echo_n "checking for $ac_word... " >&6; }
3577 if test "${ac_cv_prog_CC+set}" = set; then :
3578 $as_echo_n "(cached) " >&6
3580 if test -n "$CC"; then
3581 ac_cv_prog_CC
="$CC" # Let the user override the test.
3583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir
=.
3588 for ac_exec_ext
in '' $ac_executable_extensions; do
3589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3590 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 if test -n "$CC"; then
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3603 $as_echo "$CC" >&6; }
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3606 $as_echo "no" >&6; }
3610 test -n "$CC" && break
3613 if test -z "$CC"; then
3615 for ac_prog
in cl.exe
3617 # Extract the first word of "$ac_prog", so it can be a program name with args.
3618 set dummy
$ac_prog; ac_word
=$2
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3620 $as_echo_n "checking for $ac_word... " >&6; }
3621 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3622 $as_echo_n "(cached) " >&6
3624 if test -n "$ac_ct_CC"; then
3625 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3631 test -z "$as_dir" && as_dir
=.
3632 for ac_exec_ext
in '' $ac_executable_extensions; do
3633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3634 ac_cv_prog_ac_ct_CC
="$ac_prog"
3635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3645 if test -n "$ac_ct_CC"; then
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3647 $as_echo "$ac_ct_CC" >&6; }
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3650 $as_echo "no" >&6; }
3654 test -n "$ac_ct_CC" && break
3657 if test "x$ac_ct_CC" = x
; then
3660 case $cross_compiling:$ac_tool_warned in
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3664 ac_tool_warned
=yes ;;
3673 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3675 as_fn_error
"no acceptable C compiler found in \$PATH
3676 See \`config.log' for more details." "$LINENO" 5; }
3678 # Provide some information about the compiler.
3679 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3682 for ac_option
in --version -v -V -qversion; do
3683 { { ac_try
="$ac_compiler $ac_option >&5"
3685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3686 *) ac_try_echo=$ac_try;;
3688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3689 $as_echo "$ac_try_echo"; } >&5
3690 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3692 if test -s conftest.err; then
3694 ... rest of stderr output deleted ...
3695 10q' conftest.err >conftest.er1
3696 cat conftest.er1 >&5
3697 rm -f conftest.er1 conftest.err
3699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3700 test $ac_status = 0; }
3703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3704 /* end confdefs.h. */
3715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3716 (eval $ac_link) 2>&5
3718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719 test $ac_status = 0; }; then :
3724 if test x$gcc_no_link = xyes; then
3725 # Setting cross_compile will disable run tests; it will
3726 # also disable AC_CHECK_FILE but that's generally
3727 # correct if we can't link.
3731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3732 /* end confdefs.h. */
3742 ac_clean_files_save=$ac_clean_files
3743 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3744 # Try to create an executable without -o first, disregard a.out.
3745 # It will help us diagnose broken compilers, and finding out an intuition
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3748 $as_echo_n "checking for C compiler default output file name... " >&6; }
3749 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3751 # The possible output files:
3752 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3755 for ac_file in $ac_files
3758 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3759 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3764 if { { ac_try="$ac_link_default"
3766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3767 *) ac_try_echo
=$ac_try;;
3769 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3770 $as_echo "$ac_try_echo"; } >&5
3771 (eval "$ac_link_default") 2>&5
3773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774 test $ac_status = 0; }; then :
3775 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3776 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3777 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3778 # so that the user can short-circuit this test for compilers unknown to
3780 for ac_file
in $ac_files ''
3782 test -f "$ac_file" ||
continue
3784 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3787 # We found the default executable, but exeext='' is most
3791 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3793 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3795 # We set ac_cv_exeext here because the later test for it is not
3796 # safe: cross compilers may not add the suffix if given an `-o'
3797 # argument, so we may need to know it at that point already.
3798 # Even if this section looks crufty: it has the advantage of
3805 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3811 $as_echo "$ac_file" >&6; }
3812 if test -z "$ac_file"; then :
3813 $as_echo "$as_me: failed program was:" >&5
3814 sed 's/^/| /' conftest.
$ac_ext >&5
3816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3818 { as_fn_set_status
77
3819 as_fn_error
"C compiler cannot create executables
3820 See \`config.log' for more details." "$LINENO" 5; }; }
3822 ac_exeext
=$ac_cv_exeext
3824 # Check that the compiler produces executables we can run. If not, either
3825 # the compiler is broken, or we cross compile.
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3827 $as_echo_n "checking whether the C compiler works... " >&6; }
3828 # If not cross compiling, check that we can run a simple program.
3829 if test "$cross_compiling" != yes; then
3830 if { ac_try
='./$ac_file'
3831 { { case "(($ac_try" in
3832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3833 *) ac_try_echo=$ac_try;;
3835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3836 $as_echo "$ac_try_echo"; } >&5
3837 (eval "$ac_try") 2>&5
3839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3840 test $ac_status = 0; }; }; then
3843 if test "$cross_compiling" = maybe; then
3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error "cannot run C compiled programs.
3849 If you meant to cross compile
, use \
`--host'.
3850 See \`config.log
' for more details." "$LINENO" 5; }
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3855 $as_echo "yes" >&6; }
3857 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3858 ac_clean_files=$ac_clean_files_save
3859 # Check that the compiler produces executables we can run. If not, either
3860 # the compiler is broken, or we cross compile.
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3862 $as_echo_n "checking whether we are cross compiling... " >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3864 $as_echo "$cross_compiling" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3867 $as_echo_n "checking for suffix of executables... " >&6; }
3868 if { { ac_try="$ac_link"
3870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3871 *) ac_try_echo=$ac_try;;
3873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3874 $as_echo "$ac_try_echo"; } >&5
3875 (eval "$ac_link") 2>&5
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; then :
3879 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3880 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3881 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3883 for ac_file
in conftest.exe conftest conftest.
*; do
3884 test -f "$ac_file" ||
continue
3886 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3887 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3896 See \`config.log' for more details." "$LINENO" 5; }
3898 rm -f conftest
$ac_cv_exeext
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3900 $as_echo "$ac_cv_exeext" >&6; }
3902 rm -f conftest.
$ac_ext
3903 EXEEXT
=$ac_cv_exeext
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3907 $as_echo_n "checking for suffix of object files... " >&6; }
3908 if test "${ac_cv_objext+set}" = set; then :
3909 $as_echo_n "(cached) " >&6
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 rm -f conftest.o conftest.obj
3923 if { { ac_try
="$ac_compile"
3925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3929 $as_echo "$ac_try_echo"; } >&5
3930 (eval "$ac_compile") 2>&5
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }; then :
3934 for ac_file in conftest.o conftest.obj conftest.*; do
3935 test -f "$ac_file" || continue;
3937 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3938 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3943 $as_echo "$as_me: failed program was:" >&5
3944 sed 's/^/| /' conftest.$ac_ext >&5
3946 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3947 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3948 as_fn_error "cannot compute suffix of object files
: cannot compile
3949 See \
`config.log' for more details." "$LINENO" 5; }
3951 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3954 $as_echo "$ac_cv_objext" >&6; }
3955 OBJEXT=$ac_cv_objext
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3958 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3959 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3960 $as_echo_n "(cached) " >&6
3962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3963 /* end confdefs.h. */
3976 if ac_fn_c_try_compile "$LINENO"; then :
3981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3982 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3986 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3987 if test $ac_compiler_gnu = yes; then
3992 ac_test_CFLAGS=${CFLAGS+set}
3993 ac_save_CFLAGS=$CFLAGS
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3995 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3996 if test "${ac_cv_prog_cc_g+set}" = set; then :
3997 $as_echo_n "(cached) " >&6
3999 ac_save_c_werror_flag=$ac_c_werror_flag
4000 ac_c_werror_flag=yes
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4014 if ac_fn_c_try_compile "$LINENO"; then :
4018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019 /* end confdefs.h. */
4029 if ac_fn_c_try_compile "$LINENO"; then :
4032 ac_c_werror_flag=$ac_save_c_werror_flag
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4045 if ac_fn_c_try_compile "$LINENO"; then :
4048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4053 ac_c_werror_flag=$ac_save_c_werror_flag
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4056 $as_echo "$ac_cv_prog_cc_g" >&6; }
4057 if test "$ac_test_CFLAGS" = set; then
4058 CFLAGS=$ac_save_CFLAGS
4059 elif test $ac_cv_prog_cc_g = yes; then
4060 if test "$GCC" = yes; then
4066 if test "$GCC" = yes; then
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4073 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4074 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4075 $as_echo_n "(cached) " >&6
4077 ac_cv_prog_cc_c89=no
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4083 #include <sys/types.h>
4084 #include <sys/stat.h>
4085 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4086 struct buf { int x; };
4087 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4088 static char *e (p, i)
4094 static char *f (char * (*g) (char **, int), char **p, ...)
4099 s = g (p, va_arg (v,int));
4104 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4105 function prototypes and stuff, but not '\xHH' hex character constants.
4106 These don't provoke an error unfortunately, instead are silently treated
4107 as 'x'. The following induces an error, until -std is added to get
4108 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4109 array size at least. It's necessary to write '\x00'==0 to get something
4110 that's true only with -std. */
4111 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4113 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4114 inside strings and character constants. */
4116 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4118 int test (int i, double x);
4119 struct s1 {int (*f) (int a);};
4120 struct s2 {int (*f) (double a);};
4121 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4127 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4132 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4133 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4135 CC="$ac_save_CC $ac_arg"
4136 if ac_fn_c_try_compile "$LINENO"; then :
4137 ac_cv_prog_cc_c89=$ac_arg
4139 rm -f core conftest.err conftest.$ac_objext
4140 test "x$ac_cv_prog_cc_c89" != "xno" && break
4142 rm -f conftest.$ac_ext
4147 case "x$ac_cv_prog_cc_c89" in
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4150 $as_echo "none needed" >&6; } ;;
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4153 $as_echo "unsupported" >&6; } ;;
4155 CC="$CC $ac_cv_prog_cc_c89"
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4157 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4159 if test "x$ac_cv_prog_cc_c89" != xno; then :
4164 ac_cpp='$CPP $CPPFLAGS'
4165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4170 ac_cpp='$CXXCPP $CPPFLAGS'
4171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4174 if test -z "$CXX"; then
4175 if test -n "$CCC"; then
4178 if test -n "$ac_tool_prefix"; then
4179 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if test "${ac_cv_prog_CXX+set}" = set; then :
4186 $as_echo_n "(cached) " >&6
4188 if test -n "$CXX"; then
4189 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 test -z "$as_dir" && as_dir=.
4196 for ac_exec_ext in '' $ac_executable_extensions; do
4197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4198 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4209 if test -n "$CXX"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4211 $as_echo "$CXX" >&6; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4218 test -n "$CXX" && break
4221 if test -z "$CXX"; then
4223 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4225 # Extract the first word of "$ac_prog", so it can be a program name with args.
4226 set dummy $ac_prog; ac_word=$2
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4228 $as_echo_n "checking for $ac_word... " >&6; }
4229 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4230 $as_echo_n "(cached) " >&6
4232 if test -n "$ac_ct_CXX"; then
4233 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir=.
4240 for ac_exec_ext in '' $ac_executable_extensions; do
4241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4242 ac_cv_prog_ac_ct_CXX="$ac_prog"
4243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4252 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4253 if test -n "$ac_ct_CXX"; then
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4255 $as_echo "$ac_ct_CXX" >&6; }
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4258 $as_echo "no" >&6; }
4262 test -n "$ac_ct_CXX" && break
4265 if test "x$ac_ct_CXX" = x; then
4268 case $cross_compiling:$ac_tool_warned in
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4272 ac_tool_warned=yes ;;
4280 # Provide some information about the compiler.
4281 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4284 for ac_option in --version -v -V -qversion; do
4285 { { ac_try="$ac_compiler $ac_option >&5"
4287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4288 *) ac_try_echo
=$ac_try;;
4290 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4291 $as_echo "$ac_try_echo"; } >&5
4292 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4294 if test -s conftest.err
; then
4296 ... rest of stderr output deleted ...
4297 10q' conftest.err
>conftest.er1
4298 cat conftest.er1
>&5
4299 rm -f conftest.er1 conftest.err
4301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302 test $ac_status = 0; }
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4306 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4307 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4308 $as_echo_n "(cached) " >&6
4310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4324 if ac_fn_cxx_try_compile
"$LINENO"; then :
4329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4330 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4334 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4335 if test $ac_compiler_gnu = yes; then
4340 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4341 ac_save_CXXFLAGS
=$CXXFLAGS
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4343 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4344 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4347 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4348 ac_cxx_werror_flag
=yes
4351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4362 if ac_fn_cxx_try_compile
"$LINENO"; then :
4363 ac_cv_prog_cxx_g
=yes
4366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4367 /* end confdefs.h. */
4377 if ac_fn_cxx_try_compile
"$LINENO"; then :
4380 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4383 /* end confdefs.h. */
4393 if ac_fn_cxx_try_compile
"$LINENO"; then :
4394 ac_cv_prog_cxx_g
=yes
4396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4401 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4404 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4405 if test "$ac_test_CXXFLAGS" = set; then
4406 CXXFLAGS
=$ac_save_CXXFLAGS
4407 elif test $ac_cv_prog_cxx_g = yes; then
4408 if test "$GXX" = yes; then
4414 if test "$GXX" = yes; then
4421 ac_cpp
='$CPP $CPPFLAGS'
4422 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4426 CXXFLAGS
="$save_CXXFLAGS"
4428 am__api_version
='1.11'
4430 # Find a good install program. We prefer a C program (faster),
4431 # so one script is as good as another. But avoid the broken or
4432 # incompatible versions:
4433 # SysV /etc/install, /usr/sbin/install
4434 # SunOS /usr/etc/install
4435 # IRIX /sbin/install
4437 # AmigaOS /C/install, which installs bootblocks on floppy discs
4438 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4439 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4440 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4441 # OS/2's system install, which has a completely different semantic
4442 # ./install, which can be erroneously created by make from ./install.sh.
4443 # Reject install programs that cannot install multiple files.
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4445 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4446 if test -z "$INSTALL"; then
4447 if test "${ac_cv_path_install+set}" = set; then :
4448 $as_echo_n "(cached) " >&6
4450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4454 test -z "$as_dir" && as_dir
=.
4455 # Account for people who put trailing slashes in PATH elements.
4456 case $as_dir/ in #((
4457 .
/ | .
// |
/[cC
]/* | \
4458 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4459 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4462 # OSF1 and SCO ODT 3.0 have their own names for install.
4463 # Don't use installbsd from OSF since it installs stuff as root
4465 for ac_prog
in ginstall scoinst
install; do
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4468 if test $ac_prog = install &&
4469 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4470 # AIX install. It has an incompatible calling convention.
4472 elif test $ac_prog = install &&
4473 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4474 # program-specific install script used by HP pwplus--don't use.
4477 rm -rf conftest.one conftest.two conftest.dir
4478 echo one
> conftest.one
4479 echo two
> conftest.two
4481 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4482 test -s conftest.one
&& test -s conftest.two
&&
4483 test -s conftest.dir
/conftest.one
&&
4484 test -s conftest.dir
/conftest.two
4486 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4499 rm -rf conftest.one conftest.two conftest.dir
4502 if test "${ac_cv_path_install+set}" = set; then
4503 INSTALL
=$ac_cv_path_install
4505 # As a last resort, use the slow shell script. Don't cache a
4506 # value for INSTALL within a source directory, because that will
4507 # break other packages using the cache if that directory is
4508 # removed, or if the value is a relative name.
4509 INSTALL
=$ac_install_sh
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4513 $as_echo "$INSTALL" >&6; }
4515 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4516 # It thinks the first close brace ends the variable substitution.
4517 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4519 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4521 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4524 $as_echo_n "checking whether build environment is sane... " >&6; }
4527 echo timestamp
> conftest.
file
4528 # Reject unsafe characters in $srcdir or the absolute working directory
4529 # name. Accept space and tab only in the latter.
4533 *[\\\"\
#\$\&\'\`$am_lf]*)
4534 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4537 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4538 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4541 # Do `set' in a subshell so we don't clobber the current shell's
4542 # arguments. Must try -L first in case configure is actually a
4543 # symlink; some systems play weird games with the mod time of symlinks
4544 # (eg FreeBSD returns the mod time of the symlink's containing
4547 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4548 if test "$*" = "X"; then
4550 set X
`ls -t "$srcdir/configure" conftest.file`
4553 if test "$*" != "X $srcdir/configure conftest.file" \
4554 && test "$*" != "X conftest.file $srcdir/configure"; then
4556 # If neither matched, then we have a broken ls. This can happen
4557 # if, for instance, CONFIG_SHELL is bash and it inherits a
4558 # broken ls alias from the environment. This has actually
4559 # happened. Such a system could not be considered "sane".
4560 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4561 alias in your environment" "$LINENO" 5
4564 test "$2" = conftest.
file
4570 as_fn_error
"newly created file is older than distributed files!
4571 Check your system clock" "$LINENO" 5
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4574 $as_echo "yes" >&6; }
4575 test "$program_prefix" != NONE
&&
4576 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4577 # Use a double $ so make ignores it.
4578 test "$program_suffix" != NONE
&&
4579 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4580 # Double any \ or $.
4581 # By default was `s,x,x', remove it if useless.
4582 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4583 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4585 # expand $ac_aux_dir to an absolute path
4586 am_aux_dir
=`cd $ac_aux_dir && pwd`
4588 if test x
"${MISSING+set}" != xset
; then
4591 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4593 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4596 # Use eval to expand $SHELL
4597 if eval "$MISSING --run true"; then
4598 am_missing_run
="$MISSING --run "
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4602 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4605 if test x
"${install_sh}" != xset
; then
4608 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4610 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4614 # Installed binaries are usually stripped using `strip' when the user
4615 # run `make install-strip'. However `strip' might not be the right
4616 # tool to use in cross-compilation environments, therefore Automake
4617 # will honor the `STRIP' environment variable to overrule this program.
4618 if test "$cross_compiling" != no
; then
4619 if test -n "$ac_tool_prefix"; then
4620 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4621 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4623 $as_echo_n "checking for $ac_word... " >&6; }
4624 if test "${ac_cv_prog_STRIP+set}" = set; then :
4625 $as_echo_n "(cached) " >&6
4627 if test -n "$STRIP"; then
4628 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4634 test -z "$as_dir" && as_dir
=.
4635 for ac_exec_ext
in '' $ac_executable_extensions; do
4636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4637 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 STRIP
=$ac_cv_prog_STRIP
4648 if test -n "$STRIP"; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4650 $as_echo "$STRIP" >&6; }
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4653 $as_echo "no" >&6; }
4658 if test -z "$ac_cv_prog_STRIP"; then
4660 # Extract the first word of "strip", so it can be a program name with args.
4661 set dummy strip
; ac_word
=$2
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4663 $as_echo_n "checking for $ac_word... " >&6; }
4664 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4665 $as_echo_n "(cached) " >&6
4667 if test -n "$ac_ct_STRIP"; then
4668 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4677 ac_cv_prog_ac_ct_STRIP
="strip"
4678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4688 if test -n "$ac_ct_STRIP"; then
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4690 $as_echo "$ac_ct_STRIP" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4693 $as_echo "no" >&6; }
4696 if test "x$ac_ct_STRIP" = x
; then
4699 case $cross_compiling:$ac_tool_warned in
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4703 ac_tool_warned
=yes ;;
4708 STRIP
="$ac_cv_prog_STRIP"
4712 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4715 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4716 if test -z "$MKDIR_P"; then
4717 if test "${ac_cv_path_mkdir+set}" = set; then :
4718 $as_echo_n "(cached) " >&6
4720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4724 test -z "$as_dir" && as_dir
=.
4725 for ac_prog
in mkdir gmkdir
; do
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4728 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4729 'mkdir (GNU coreutils) '* | \
4730 'mkdir (coreutils) '* | \
4731 'mkdir (fileutils) '4.1*)
4732 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4742 if test "${ac_cv_path_mkdir+set}" = set; then
4743 MKDIR_P
="$ac_cv_path_mkdir -p"
4745 # As a last resort, use the slow shell script. Don't cache a
4746 # value for MKDIR_P within a source directory, because that will
4747 # break other packages using the cache if that directory is
4748 # removed, or if the value is a relative name.
4749 test -d .
/--version && rmdir .
/--version
4750 MKDIR_P
="$ac_install_sh -d"
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4754 $as_echo "$MKDIR_P" >&6; }
4758 [\\/$
]* | ?
:[\\/]*) ;;
4759 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4762 for ac_prog
in gawk mawk nawk
awk
4764 # Extract the first word of "$ac_prog", so it can be a program name with args.
4765 set dummy
$ac_prog; ac_word
=$2
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767 $as_echo_n "checking for $ac_word... " >&6; }
4768 if test "${ac_cv_prog_AWK+set}" = set; then :
4769 $as_echo_n "(cached) " >&6
4771 if test -n "$AWK"; then
4772 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4778 test -z "$as_dir" && as_dir
=.
4779 for ac_exec_ext
in '' $ac_executable_extensions; do
4780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4781 ac_cv_prog_AWK
="$ac_prog"
4782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792 if test -n "$AWK"; then
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4794 $as_echo "$AWK" >&6; }
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797 $as_echo "no" >&6; }
4801 test -n "$AWK" && break
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4805 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4807 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4808 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4809 $as_echo_n "(cached) " >&6
4811 cat >conftest.
make <<\_ACEOF
4814 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4816 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4817 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4819 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4821 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4825 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4827 $as_echo "yes" >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4832 SET_MAKE
="MAKE=${MAKE-make}"
4835 rm -rf .tst
2>/dev
/null
4836 mkdir .tst
2>/dev
/null
4837 if test -d .tst
; then
4842 rmdir .tst
2>/dev
/null
4844 DEPDIR
="${am__leading_dot}deps"
4846 ac_config_commands
="$ac_config_commands depfiles"
4849 am_make
=${MAKE-make}
4850 cat > confinc
<< 'END'
4852 @
echo this is the am__doit target
4855 # If we don't find an include directive, just comment out the code.
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4857 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4861 # First try GNU make style include.
4862 echo "include confinc" > confmf
4863 # Ignore all kinds of additional output from `make'.
4864 case `$am_make -s -f confmf 2> /dev/null` in #(
4865 *the\ am__doit\ target
*)
4871 # Now try BSD make style include.
4872 if test "$am__include" = "#"; then
4873 echo '.include "confinc"' > confmf
4874 case `$am_make -s -f confmf 2> /dev/null` in #(
4875 *the\ am__doit\ target
*)
4876 am__include
=.include
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4885 $as_echo "$_am_result" >&6; }
4886 rm -f confinc confmf
4888 # Check whether --enable-dependency-tracking was given.
4889 if test "${enable_dependency_tracking+set}" = set; then :
4890 enableval
=$enable_dependency_tracking;
4893 if test "x$enable_dependency_tracking" != xno
; then
4894 am_depcomp
="$ac_aux_dir/depcomp"
4897 if test "x$enable_dependency_tracking" != xno; then
4906 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4907 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4908 # is not polluted with repeated "-I."
4909 am__isrc
=' -I$(srcdir)'
4910 # test to see if srcdir already configured
4911 if test -f $srcdir/config.status
; then
4912 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4916 # test whether we have cygpath
4917 if test -z "$CYGPATH_W"; then
4918 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4919 CYGPATH_W
='cygpath -w'
4926 # Define the identity of the package.
4928 VERSION
='version-unused'
4931 cat >>confdefs.h
<<_ACEOF
4932 #define PACKAGE "$PACKAGE"
4936 cat >>confdefs.h
<<_ACEOF
4937 #define VERSION "$VERSION"
4940 # Some tools Automake needs.
4942 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4945 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4948 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4951 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4954 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4956 # We need awk for the "check" target. The system "awk" is bad on
4958 # Always define AMTAR for backward compatibility.
4960 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4962 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4967 depcc
="$CC" am_compiler_list
=
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4970 $as_echo_n "checking dependency style of $depcc... " >&6; }
4971 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4975 # We make a subdir and do the tests there. Otherwise we can end up
4976 # making bogus files that we don't know about and never remove. For
4977 # instance it was reported that on HP-UX the gcc test will end up
4978 # making a dummy file named `D' -- because `-MD' means `put the output
4981 # Copy depcomp to subdir because otherwise we won't find it if we're
4982 # using a relative directory.
4983 cp "$am_depcomp" conftest.dir
4985 # We will build objects and dependencies in a subdirectory because
4986 # it helps to detect inapplicable dependency modes. For instance
4987 # both Tru64's cc and ICC support -MD to output dependencies as a
4988 # side effect of compilation, but ICC will put the dependencies in
4989 # the current directory while Tru64 will put them in the object
4993 am_cv_CC_dependencies_compiler_type
=none
4994 if test "$am_compiler_list" = ""; then
4995 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4998 case " $depcc " in #(
4999 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5002 for depmode
in $am_compiler_list; do
5003 # Setup a source with many dependencies, because some compilers
5004 # like to wrap large dependency lists on column 80 (with \), and
5005 # we should not choose a depcomp mode which is confused by this.
5007 # We need to recreate these files for each test, as the compiler may
5008 # overwrite some of them when testing with obscure command lines.
5009 # This happens at least with the AIX C compiler.
5011 for i
in 1 2 3 4 5 6; do
5012 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5013 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5014 # Solaris 8's {/usr,}/bin/sh.
5015 touch sub
/conftst
$i.h
5017 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5019 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5020 # mode. It turns out that the SunPro C++ compiler does not properly
5021 # handle `-M -o', and we need to detect this. Also, some Intel
5022 # versions had trouble with output in subdirs
5023 am__obj
=sub
/conftest.
${OBJEXT-o}
5024 am__minus_obj
="-o $am__obj"
5027 # This depmode causes a compiler race in universal mode.
5028 test "$am__universal" = false ||
continue
5031 # after this tag, mechanisms are not by side-effect, so they'll
5032 # only be used when explicitly requested
5033 if test "x$enable_dependency_tracking" = xyes
; then
5039 msvisualcpp | msvcmsys
)
5040 # This compiler won't grok `-c -o', but also, the minuso test has
5041 # not run yet. These depmodes are late enough in the game, and
5042 # so weak that their functioning should not be impacted.
5043 am__obj
=conftest.
${OBJEXT-o}
5048 if depmode
=$depmode \
5049 source=sub
/conftest.c object
=$am__obj \
5050 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5051 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5052 >/dev
/null
2>conftest.err
&&
5053 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5054 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5055 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5056 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5057 # icc doesn't choke on unknown options, it will just issue warnings
5058 # or remarks (even with -Werror). So we grep stderr for any message
5059 # that says an option was ignored or not supported.
5060 # When given -MP, icc 7.0 and 7.1 complain thusly:
5061 # icc: Command line warning: ignoring option '-M'; no argument required
5062 # The diagnosis changed in icc 8.0:
5063 # icc: Command line remark: option '-MP' not supported
5064 if (grep 'ignoring option' conftest.err ||
5065 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5066 am_cv_CC_dependencies_compiler_type
=$depmode
5075 am_cv_CC_dependencies_compiler_type
=none
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5080 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5081 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5084 test "x$enable_dependency_tracking" != xno \
5085 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5087 am__fastdepCC_FALSE
='#'
5089 am__fastdepCC_TRUE
='#'
5090 am__fastdepCC_FALSE
=
5094 depcc
="$CXX" am_compiler_list
=
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5097 $as_echo_n "checking dependency style of $depcc... " >&6; }
5098 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5099 $as_echo_n "(cached) " >&6
5101 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5102 # We make a subdir and do the tests there. Otherwise we can end up
5103 # making bogus files that we don't know about and never remove. For
5104 # instance it was reported that on HP-UX the gcc test will end up
5105 # making a dummy file named `D' -- because `-MD' means `put the output
5108 # Copy depcomp to subdir because otherwise we won't find it if we're
5109 # using a relative directory.
5110 cp "$am_depcomp" conftest.dir
5112 # We will build objects and dependencies in a subdirectory because
5113 # it helps to detect inapplicable dependency modes. For instance
5114 # both Tru64's cc and ICC support -MD to output dependencies as a
5115 # side effect of compilation, but ICC will put the dependencies in
5116 # the current directory while Tru64 will put them in the object
5120 am_cv_CXX_dependencies_compiler_type
=none
5121 if test "$am_compiler_list" = ""; then
5122 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5125 case " $depcc " in #(
5126 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5129 for depmode
in $am_compiler_list; do
5130 # Setup a source with many dependencies, because some compilers
5131 # like to wrap large dependency lists on column 80 (with \), and
5132 # we should not choose a depcomp mode which is confused by this.
5134 # We need to recreate these files for each test, as the compiler may
5135 # overwrite some of them when testing with obscure command lines.
5136 # This happens at least with the AIX C compiler.
5138 for i
in 1 2 3 4 5 6; do
5139 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5140 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5141 # Solaris 8's {/usr,}/bin/sh.
5142 touch sub
/conftst
$i.h
5144 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5146 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5147 # mode. It turns out that the SunPro C++ compiler does not properly
5148 # handle `-M -o', and we need to detect this. Also, some Intel
5149 # versions had trouble with output in subdirs
5150 am__obj
=sub
/conftest.
${OBJEXT-o}
5151 am__minus_obj
="-o $am__obj"
5154 # This depmode causes a compiler race in universal mode.
5155 test "$am__universal" = false ||
continue
5158 # after this tag, mechanisms are not by side-effect, so they'll
5159 # only be used when explicitly requested
5160 if test "x$enable_dependency_tracking" = xyes
; then
5166 msvisualcpp | msvcmsys
)
5167 # This compiler won't grok `-c -o', but also, the minuso test has
5168 # not run yet. These depmodes are late enough in the game, and
5169 # so weak that their functioning should not be impacted.
5170 am__obj
=conftest.
${OBJEXT-o}
5175 if depmode
=$depmode \
5176 source=sub
/conftest.c object
=$am__obj \
5177 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5178 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5179 >/dev
/null
2>conftest.err
&&
5180 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5181 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5182 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5183 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5184 # icc doesn't choke on unknown options, it will just issue warnings
5185 # or remarks (even with -Werror). So we grep stderr for any message
5186 # that says an option was ignored or not supported.
5187 # When given -MP, icc 7.0 and 7.1 complain thusly:
5188 # icc: Command line warning: ignoring option '-M'; no argument required
5189 # The diagnosis changed in icc 8.0:
5190 # icc: Command line remark: option '-MP' not supported
5191 if (grep 'ignoring option' conftest.err ||
5192 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5193 am_cv_CXX_dependencies_compiler_type
=$depmode
5202 am_cv_CXX_dependencies_compiler_type
=none
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5207 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5208 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5211 test "x$enable_dependency_tracking" != xno \
5212 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5213 am__fastdepCXX_TRUE
=
5214 am__fastdepCXX_FALSE
='#'
5216 am__fastdepCXX_TRUE
='#'
5217 am__fastdepCXX_FALSE
=
5223 if test -n "$ac_tool_prefix"; then
5224 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5225 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5227 $as_echo_n "checking for $ac_word... " >&6; }
5228 if test "${ac_cv_prog_AS+set}" = set; then :
5229 $as_echo_n "(cached) " >&6
5231 if test -n "$AS"; then
5232 ac_cv_prog_AS
="$AS" # Let the user override the test.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5241 ac_cv_prog_AS
="${ac_tool_prefix}as"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 if test -n "$AS"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5254 $as_echo "$AS" >&6; }
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5257 $as_echo "no" >&6; }
5262 if test -z "$ac_cv_prog_AS"; then
5264 # Extract the first word of "as", so it can be a program name with args.
5265 set dummy as
; ac_word
=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5269 $as_echo_n "(cached) " >&6
5271 if test -n "$ac_ct_AS"; then
5272 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5278 test -z "$as_dir" && as_dir
=.
5279 for ac_exec_ext
in '' $ac_executable_extensions; do
5280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5281 ac_cv_prog_ac_ct_AS
="as"
5282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5291 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5292 if test -n "$ac_ct_AS"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5294 $as_echo "$ac_ct_AS" >&6; }
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5300 if test "x$ac_ct_AS" = x
; then
5303 case $cross_compiling:$ac_tool_warned in
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307 ac_tool_warned
=yes ;;
5315 if test -n "$ac_tool_prefix"; then
5316 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5317 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5319 $as_echo_n "checking for $ac_word... " >&6; }
5320 if test "${ac_cv_prog_LD+set}" = set; then :
5321 $as_echo_n "(cached) " >&6
5323 if test -n "$LD"; then
5324 ac_cv_prog_LD
="$LD" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5333 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 if test -n "$LD"; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5346 $as_echo "$LD" >&6; }
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5349 $as_echo "no" >&6; }
5354 if test -z "$ac_cv_prog_LD"; then
5356 # Extract the first word of "ld", so it can be a program name with args.
5357 set dummy ld
; ac_word
=$2
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5359 $as_echo_n "checking for $ac_word... " >&6; }
5360 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
5361 $as_echo_n "(cached) " >&6
5363 if test -n "$ac_ct_LD"; then
5364 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5373 ac_cv_prog_ac_ct_LD
="ld"
5374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5384 if test -n "$ac_ct_LD"; then
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5386 $as_echo "$ac_ct_LD" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5389 $as_echo "no" >&6; }
5392 if test "x$ac_ct_LD" = x
; then
5395 case $cross_compiling:$ac_tool_warned in
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5399 ac_tool_warned
=yes ;;
5407 if test -n "$ac_tool_prefix"; then
5408 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5409 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5411 $as_echo_n "checking for $ac_word... " >&6; }
5412 if test "${ac_cv_prog_AR+set}" = set; then :
5413 $as_echo_n "(cached) " >&6
5415 if test -n "$AR"; then
5416 ac_cv_prog_AR
="$AR" # Let the user override the test.
5418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5422 test -z "$as_dir" && as_dir
=.
5423 for ac_exec_ext
in '' $ac_executable_extensions; do
5424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5425 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 if test -n "$AR"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5438 $as_echo "$AR" >&6; }
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5446 if test -z "$ac_cv_prog_AR"; then
5448 # Extract the first word of "ar", so it can be a program name with args.
5449 set dummy
ar; ac_word
=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5453 $as_echo_n "(cached) " >&6
5455 if test -n "$ac_ct_AR"; then
5456 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5462 test -z "$as_dir" && as_dir
=.
5463 for ac_exec_ext
in '' $ac_executable_extensions; do
5464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5465 ac_cv_prog_ac_ct_AR
="ar"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5476 if test -n "$ac_ct_AR"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5478 $as_echo "$ac_ct_AR" >&6; }
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5484 if test "x$ac_ct_AR" = x
; then
5487 case $cross_compiling:$ac_tool_warned in
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5491 ac_tool_warned
=yes ;;
5499 if test -n "$ac_tool_prefix"; then
5500 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5501 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5503 $as_echo_n "checking for $ac_word... " >&6; }
5504 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5505 $as_echo_n "(cached) " >&6
5507 if test -n "$RANLIB"; then
5508 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5514 test -z "$as_dir" && as_dir
=.
5515 for ac_exec_ext
in '' $ac_executable_extensions; do
5516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5517 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 RANLIB
=$ac_cv_prog_RANLIB
5528 if test -n "$RANLIB"; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5530 $as_echo "$RANLIB" >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5533 $as_echo "no" >&6; }
5538 if test -z "$ac_cv_prog_RANLIB"; then
5539 ac_ct_RANLIB
=$RANLIB
5540 # Extract the first word of "ranlib", so it can be a program name with args.
5541 set dummy ranlib
; ac_word
=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5545 $as_echo_n "(cached) " >&6
5547 if test -n "$ac_ct_RANLIB"; then
5548 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5554 test -z "$as_dir" && as_dir
=.
5555 for ac_exec_ext
in '' $ac_executable_extensions; do
5556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5557 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5568 if test -n "$ac_ct_RANLIB"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5570 $as_echo "$ac_ct_RANLIB" >&6; }
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5576 if test "x$ac_ct_RANLIB" = x
; then
5579 case $cross_compiling:$ac_tool_warned in
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5583 ac_tool_warned
=yes ;;
5585 RANLIB
=$ac_ct_RANLIB
5588 RANLIB
="$ac_cv_prog_RANLIB"
5591 if test -n "$ac_tool_prefix"; then
5592 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5593 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5595 $as_echo_n "checking for $ac_word... " >&6; }
5596 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5597 $as_echo_n "(cached) " >&6
5599 if test -n "$DLLTOOL"; then
5600 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5606 test -z "$as_dir" && as_dir
=.
5607 for ac_exec_ext
in '' $ac_executable_extensions; do
5608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5609 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619 DLLTOOL
=$ac_cv_prog_DLLTOOL
5620 if test -n "$DLLTOOL"; then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5622 $as_echo "$DLLTOOL" >&6; }
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5625 $as_echo "no" >&6; }
5630 if test -z "$ac_cv_prog_DLLTOOL"; then
5631 ac_ct_DLLTOOL
=$DLLTOOL
5632 # Extract the first word of "dlltool", so it can be a program name with args.
5633 set dummy dlltool
; ac_word
=$2
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635 $as_echo_n "checking for $ac_word... " >&6; }
5636 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5637 $as_echo_n "(cached) " >&6
5639 if test -n "$ac_ct_DLLTOOL"; then
5640 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5646 test -z "$as_dir" && as_dir
=.
5647 for ac_exec_ext
in '' $ac_executable_extensions; do
5648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5649 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5660 if test -n "$ac_ct_DLLTOOL"; then
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5662 $as_echo "$ac_ct_DLLTOOL" >&6; }
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 $as_echo "no" >&6; }
5668 if test "x$ac_ct_DLLTOOL" = x
; then
5671 case $cross_compiling:$ac_tool_warned in
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5675 ac_tool_warned
=yes ;;
5677 DLLTOOL
=$ac_ct_DLLTOOL
5680 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5683 for ac_prog
in gawk mawk nawk
awk
5685 # Extract the first word of "$ac_prog", so it can be a program name with args.
5686 set dummy
$ac_prog; ac_word
=$2
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688 $as_echo_n "checking for $ac_word... " >&6; }
5689 if test "${ac_cv_prog_AWK+set}" = set; then :
5690 $as_echo_n "(cached) " >&6
5692 if test -n "$AWK"; then
5693 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir
=.
5700 for ac_exec_ext
in '' $ac_executable_extensions; do
5701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702 ac_cv_prog_AWK
="$ac_prog"
5703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 if test -n "$AWK"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5715 $as_echo "$AWK" >&6; }
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5722 test -n "$AWK" && break
5725 for ac_prog
in jar fastjar gjar
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy
$ac_prog; ac_word
=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if test "${ac_cv_prog_JAR+set}" = set; then :
5732 $as_echo_n "(cached) " >&6
5734 if test -n "$JAR"; then
5735 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
5737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir
=.
5742 for ac_exec_ext
in '' $ac_executable_extensions; do
5743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5744 ac_cv_prog_JAR
="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 if test -n "$JAR"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5757 $as_echo "$JAR" >&6; }
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$JAR" && break
5766 test -n "$JAR" || JAR
="no"
5768 # Extract the first word of "zip", so it can be a program name with args.
5769 set dummy
zip; ac_word
=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if test "${ac_cv_path_ZIP+set}" = set; then :
5773 $as_echo_n "(cached) " >&6
5777 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
5780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5784 test -z "$as_dir" && as_dir
=.
5785 for ac_exec_ext
in '' $ac_executable_extensions; do
5786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
5788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
5800 if test -n "$ZIP"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
5802 $as_echo "$ZIP" >&6; }
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5809 # Extract the first word of "unzip", so it can be a program name with args.
5810 set dummy
unzip; ac_word
=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_path_UNZIP+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5818 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
5821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir
=.
5826 for ac_exec_ext
in '' $ac_executable_extensions; do
5827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5828 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
5829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
5840 UNZIP
=$ac_cv_path_UNZIP
5841 if test -n "$UNZIP"; then
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5
5843 $as_echo "$UNZIP" >&6; }
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5846 $as_echo "no" >&6; }
5851 # We need a jar that supports -@. This is a GNU extension.
5852 if test "$JAR" != no
; then
5853 rm -f config-test.jar
5854 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
>/dev
/null
2>&1
5855 if test -f config-test.jar
; then
5856 rm -f config-test.jar
5862 # Prefer the jar we found, but fall back to our jar script.
5863 if test "$JAR" = no
; then
5864 if test "$ZIP" = no
; then
5865 as_fn_error
"cannot find neither zip nor jar, cannot continue" "$LINENO" 5
5867 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
5868 JAR
=`pwd`/scripts
/jar
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5876 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5877 # Check whether --enable-maintainer-mode was given.
5878 if test "${enable_maintainer_mode+set}" = set; then :
5879 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5881 USE_MAINTAINER_MODE
=no
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5885 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5886 if test $USE_MAINTAINER_MODE = yes; then
5887 MAINTAINER_MODE_TRUE
=
5888 MAINTAINER_MODE_FALSE
='#'
5890 MAINTAINER_MODE_TRUE
='#'
5891 MAINTAINER_MODE_FALSE
=
5894 MAINT
=$MAINTAINER_MODE_TRUE
5900 # configure.host sets the following important variables
5901 # libgcj_cflags - host specific C compiler flags
5902 # libgcj_cxxflags - host specific C++ compiler flags
5903 # libgcj_javaflags - host specific Java compiler flags
5904 # libgcj_sublib_ltflags - host specific Libtool flags
5905 # libgcj_sublib_core_extra_deps - host specific extra
5906 # dependencies for core sublib
5907 # (these last two only used when building sublibs)
5908 # and a number of others; see the list at the start of the file.
5913 libgcj_sublib_ltflags
=
5914 libgcj_sublib_core_extra_deps
=
5916 .
${srcdir}/configure.
host
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5919 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5920 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5921 $as_echo_n "(cached) " >&6
5923 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5924 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5925 acl_cv_prog_gnu_ld
=yes
5927 acl_cv_prog_gnu_ld
=no
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5931 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5932 with_gnu_ld
=$acl_cv_prog_gnu_ld
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
5935 $as_echo_n "checking if the GNU linker ($LD) supports -Bsymbolic-functions... " >&6; }
5936 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then :
5937 $as_echo_n "(cached) " >&6
5940 acl_cv_prog_gnu_ld_symbolic
=no
5942 if test x
"$with_gnu_ld" = x
"yes"; then
5943 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
5944 acl_cv_prog_gnu_ld_symbolic
=yes
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld_symbolic" >&5
5949 $as_echo "$acl_cv_prog_gnu_ld_symbolic" >&6; }
5950 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
5951 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
5956 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
5957 if test -z "$libgcj_ld_symbolic"; then
5958 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
5961 # for windows native targets enforce export of all symbols for shared libgcj.
5962 libgcj_ld_export_all
=
5965 libgcj_ld_export_all
=-Wl,--export-all-symbols
5971 LIBGCJ_CFLAGS
="${libgcj_cflags}"
5972 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
5973 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
5974 LIBGCJ_SUBLIB_LTFLAGS
="${libgcj_sublib_ltflags}"
5975 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
="${libgcj_sublib_core_extra_deps}"
5976 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
5977 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
5978 LIBGCJ_LD_EXPORT_ALL
="${libgcj_ld_export_all}"
5988 # Only use libltdl for non-newlib builds.
5989 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
5991 $as_echo_n "checking dynamic linker characteristics... " >&6; }
5993 libname_spec
='lib$name'
6001 shlibpath_overrides_runpath
=unknown
6003 dynamic_linker
="$host_os ld.so"
6004 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
6005 if test "$GCC" = yes; then
6006 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6007 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
6008 # if the path contains ";" then we assume it to be the separator
6009 # otherwise default to the standard path separator (i.e. ":") - it is
6010 # assumed that no part of a normal pathname contains ";" but that should
6011 # okay in the real world where ";" in dirpaths is itself problematic.
6012 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6014 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6017 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
6019 need_lib_prefix
=unknown
6020 hardcode_into_libs
=no
6022 # when you set need_version to no, make sure it does not cause -set_version
6023 # flags to be left without arguments
6024 need_version
=unknown
6029 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
6030 shlibpath_var
=LIBPATH
6032 # AIX 3 has no versioning support, so we append a major version to the name.
6033 soname_spec
='${libname}${release}${shared_ext}$major'
6040 hardcode_into_libs
=yes
6041 if test "$host_cpu" = ia64
; then
6042 # AIX 5 supports IA64
6043 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6044 shlibpath_var
=LD_LIBRARY_PATH
6046 # With GCC up to 2.95.x, collect2 would create an import file
6047 # for dependence libraries. The import file would start with
6048 # the line `#! .'. This would cause the generated library to
6049 # depend on `.', always an invalid library. This was fixed in
6050 # development snapshots of GCC prior to 3.0.
6052 aix4 | aix4.
[01] | aix4.
[01].
*)
6053 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6055 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6062 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6063 # soname into executable. Probably we can add versioning support to
6064 # collect2, so additional links can be useful in future.
6065 if test "$aix_use_runtimelinking" = yes; then
6066 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6067 # instead of lib<name>.a to let people know that these are not
6068 # typical AIX shared libraries.
6069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6071 # We preserve .a as extension for shared libraries through AIX4.2
6072 # and later when we are not doing run time linking.
6073 library_names_spec
='${libname}${release}.a $libname.a'
6074 soname_spec
='${libname}${release}${shared_ext}$major'
6076 shlibpath_var
=LIBPATH
6081 library_names_spec
='$libname.ixlibrary $libname.a'
6082 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6083 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'
6087 library_names_spec
='${libname}${shared_ext}'
6088 dynamic_linker
="$host_os ld.so"
6089 shlibpath_var
=LIBRARY_PATH
6095 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6096 soname_spec
='${libname}${release}${shared_ext}$major'
6097 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
6098 shlibpath_var
=LD_LIBRARY_PATH
6099 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6100 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
6101 # the default ld.so.conf also contains /usr/contrib/lib and
6102 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6103 # libtool to hard-code these into programs
6106 cygwin
* | mingw
* | pw32
*)
6107 version_type
=windows
6112 case $GCC,$host_os in
6113 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
6114 library_names_spec
='$libname.dll.a'
6115 # DLL is installed to $(libdir)/../bin by postinstall_cmds
6116 postinstall_cmds
='base_file=`basename \${file}`~
6117 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6118 dldir=$destdir/`dirname \$dlpath`~
6119 test -d \$dldir || mkdir -p \$dldir~
6120 $install_prog $dir/$dlname \$dldir/$dlname'
6121 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6122 dlpath=$dir/\$dldll~
6124 shlibpath_overrides_runpath
=yes
6128 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6129 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6130 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
6133 # MinGW DLLs use traditional 'lib' prefix
6134 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6135 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6136 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
6137 # It is most probably a Windows format PATH printed by
6138 # mingw gcc, but we are running on Cygwin. Gcc prints its search
6139 # path with ; separators, and with drive letters. We can handle the
6140 # drive letters (cygwin fileutils understands them), so leave them,
6141 # especially as we might pass files found there to a mingw objdump,
6142 # which wouldn't understand a cygwinified path. Ahh.
6143 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6145 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6149 # pw32 DLLs use 'pw' prefix rather than 'lib'
6150 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
6156 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6159 dynamic_linker
='Win32 ld.exe'
6160 # FIXME: first we should search . and the directory the executable is in
6164 darwin
* | rhapsody
*)
6165 dynamic_linker
="$host_os dyld"
6169 # FIXME: Relying on posixy $() will cause problems for
6170 # cross-compilation, but unfortunately the echo tests do not
6171 # yet detect zsh echo's removal of \ escapes.
6172 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6173 soname_spec
='${libname}${release}${major}$shared_ext'
6174 shlibpath_overrides_runpath
=yes
6175 shlibpath_var
=DYLD_LIBRARY_PATH
6176 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
6177 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6178 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
6179 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"`
6181 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
6188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6189 soname_spec
='${libname}${release}${shared_ext}$major'
6190 shlibpath_var
=LD_LIBRARY_PATH
6194 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6195 version_type
=freebsd-
$objformat
6196 case $version_type in
6198 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6203 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6207 shlibpath_var
=LD_LIBRARY_PATH
6210 shlibpath_overrides_runpath
=yes
6212 freebsd3.01
* | freebsdelf3.01
*)
6213 shlibpath_overrides_runpath
=yes
6214 hardcode_into_libs
=yes
6217 shlibpath_overrides_runpath
=no
6218 hardcode_into_libs
=yes
6227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6228 soname_spec
='${libname}${release}${shared_ext}$major'
6229 shlibpath_var
=LD_LIBRARY_PATH
6230 hardcode_into_libs
=yes
6233 hpux9
* | hpux10
* | hpux11
*)
6234 # Give a soname corresponding to the major version so that dld.sl refuses to
6235 # link against other versions.
6242 hardcode_into_libs
=yes
6243 dynamic_linker
="$host_os dld.so"
6244 shlibpath_var
=LD_LIBRARY_PATH
6245 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6246 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6247 soname_spec
='${libname}${release}${shared_ext}$major'
6248 if test "X$HPUX_IA64_MODE" = X32
; then
6249 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6251 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
6253 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6257 hardcode_into_libs
=yes
6258 dynamic_linker
="$host_os dld.sl"
6259 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
6260 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6261 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6262 soname_spec
='${libname}${release}${shared_ext}$major'
6263 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6264 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6268 dynamic_linker
="$host_os dld.sl"
6269 shlibpath_var
=SHLIB_PATH
6270 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
6271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6272 soname_spec
='${libname}${release}${shared_ext}$major'
6275 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6276 postinstall_cmds
='chmod 555 $lib'
6279 irix5
* | irix6
* | nonstopux
*)
6281 nonstopux
*) version_type
=nonstopux
;;
6283 if test "$lt_cv_prog_gnu_ld" = yes; then
6291 soname_spec
='${libname}${release}${shared_ext}$major'
6292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6294 irix5
* | nonstopux
*)
6298 case $LD in # libtool.m4 will add one of these switches to LD
6299 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
6300 libsuff
= shlibsuff
= libmagic
=32-bit;;
6301 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
6302 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
6303 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
6304 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
6305 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
6309 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
6310 shlibpath_overrides_runpath
=no
6311 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6312 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
6313 hardcode_into_libs
=yes
6316 # No shared lib support for Linux oldld, aout, or coff.
6317 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
6321 # This must be Linux ELF.
6326 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6327 soname_spec
='${libname}${release}${shared_ext}$major'
6328 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6329 shlibpath_var
=LD_LIBRARY_PATH
6330 shlibpath_overrides_runpath
=no
6331 # This implies no fast_install, which is unacceptable.
6332 # Some rework will be needed to allow for fast_install
6333 # before this can be enabled.
6334 hardcode_into_libs
=yes
6336 # We used to test for /lib/ld.so.1 and disable shared libraries on
6337 # powerpc, because MkLinux only supported shared libraries with the
6338 # GNU dynamic linker. Since this was broken with cross compilers,
6339 # most powerpc-linux boxes support dynamic linking these days and
6340 # people can always --disable-shared, the test was removed, and we
6341 # assume the GNU/Linux dynamic linker is in use.
6342 dynamic_linker
='GNU/Linux ld.so'
6349 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6351 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6352 dynamic_linker
='NetBSD (a.out) ld.so'
6354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
6355 soname_spec
='${libname}${release}${shared_ext}$major'
6356 dynamic_linker
='NetBSD ld.elf_so'
6358 shlibpath_var
=LD_LIBRARY_PATH
6359 shlibpath_overrides_runpath
=yes
6360 hardcode_into_libs
=yes
6365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6366 shlibpath_var
=LD_LIBRARY_PATH
6367 shlibpath_overrides_runpath
=yes
6374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6375 soname_spec
='${libname}${release}${shared_ext}$major'
6376 shlibpath_var
=LD_LIBRARY_PATH
6377 shlibpath_overrides_runpath
=yes
6384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6385 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6386 shlibpath_var
=LD_LIBRARY_PATH
6387 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6389 openbsd2.
[89] | openbsd2.
[89].
*)
6390 shlibpath_overrides_runpath
=no
6393 shlibpath_overrides_runpath
=yes
6397 shlibpath_overrides_runpath
=yes
6402 libname_spec
='$name'
6405 library_names_spec
='$libname${shared_ext} $libname.a'
6406 dynamic_linker
='OS/2 ld.exe'
6407 shlibpath_var
=LIBPATH
6410 osf3
* | osf4
* | osf5
*)
6414 soname_spec
='${libname}${release}${shared_ext}$major'
6415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6416 shlibpath_var
=LD_LIBRARY_PATH
6417 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6418 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
6423 soname_spec
='${libname}${release}${shared_ext}$major'
6424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6425 shlibpath_var
=LD_LIBRARY_PATH
6432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6433 soname_spec
='${libname}${release}${shared_ext}$major'
6434 shlibpath_var
=LD_LIBRARY_PATH
6435 shlibpath_overrides_runpath
=yes
6436 hardcode_into_libs
=yes
6437 # ldd complains unless libraries are executable
6438 postinstall_cmds
='chmod +x $lib'
6443 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6444 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6445 shlibpath_var
=LD_LIBRARY_PATH
6446 shlibpath_overrides_runpath
=yes
6447 if test "$with_gnu_ld" = yes; then
6453 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6456 soname_spec
='${libname}${release}${shared_ext}$major'
6457 shlibpath_var
=LD_LIBRARY_PATH
6458 case $host_vendor in
6460 shlibpath_overrides_runpath
=no
6462 export_dynamic_flag_spec
='${wl}-Blargedynsym'
6463 runpath_var
=LD_RUN_PATH
6471 shlibpath_overrides_runpath
=no
6472 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
6478 if test -d /usr
/nec
;then
6480 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6481 soname_spec
='$libname${shared_ext}.$major'
6482 shlibpath_var
=LD_LIBRARY_PATH
6488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6489 soname_spec
='${libname}${release}${shared_ext}$major'
6490 shlibpath_var
=LD_LIBRARY_PATH
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
6498 $as_echo "$dynamic_linker" >&6; }
6499 test "$dynamic_linker" = no
&& can_build_shared
=no
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time library path" >&5
6503 $as_echo_n "checking which variable specifies run-time library path... " >&6; }
6504 if test "${libltdl_cv_shlibpath_var+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6507 libltdl_cv_shlibpath_var
="$shlibpath_var"
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibpath_var" >&5
6510 $as_echo "$libltdl_cv_shlibpath_var" >&6; }
6511 if test -n "$libltdl_cv_shlibpath_var"; then
6513 cat >>confdefs.h
<<_ACEOF
6514 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
6521 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
6524 # Possibly build libgcj as many sub-libraries.
6525 # Check whether --enable-libgcj-sublibs was given.
6526 if test "${enable_libgcj_sublibs+set}" = set; then :
6527 enableval
=$enable_libgcj_sublibs;
6531 if test -z "$enable_libgcj_sublibs"; then
6532 enable_libgcj_sublibs
=$enable_libgcj_sublibs_default
6534 if test "$enable_libgcj_sublibs" = yes; then
6536 BUILD_SUBLIBS_FALSE
='#'
6538 BUILD_SUBLIBS_TRUE
='#'
6539 BUILD_SUBLIBS_FALSE
=
6542 if test "$enable_libgcj_sublibs" = yes ; then
6543 # In theory we could make do with only one override and simply
6544 # tag "_bc" onto the end of it when we use it to generate the
6545 # spec, but that's an ugly thing to do when there are multiple
6546 # words in the string and you're relying on the ordering to
6547 # append the correct one.
6548 libgcj_spec_lgcj_override
="-lgcj-noncore -lgcj"
6549 libgcj_spec_lgcj_bc_override
="-lgcj-noncore -lgcj_bc"
6553 # See if the user has requested runtime debugging.
6554 LIBGCJDEBUG
="disable"
6556 # Check whether --enable-libgcj-debug was given.
6557 if test "${enable_libgcj_debug+set}" = set; then :
6558 enableval
=$enable_libgcj_debug; if test "$enable_libgcj_debug" = yes; then
6560 $as_echo "#define __GCJ_DEBUG 1" >>confdefs.h
6562 LIBGCJDEBUG
="enable"
6568 # Check whether --with-escher was given.
6569 if test "${with_escher+set}" = set; then :
6570 withval
=$with_escher;
6573 case "$with_escher" in
6581 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
6588 # Determine which AWT peer libraries to build
6589 # Check whether --enable-java-awt was given.
6590 if test "${enable_java_awt+set}" = set; then :
6591 enableval
=$enable_java_awt;
6595 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
6600 # The default toolkit to use is the first one specified.
6604 for peer
in $peerlibs ; do
6607 if test "$no_x" = yes; then
6608 echo "*** xlib peers requested but no X library available" 1>&2
6612 if test -z "$TOOLKIT"; then
6613 TOOLKIT
=gnu.awt.xlib.XToolkit
6618 if test "$no_x" = yes; then
6619 echo "*** gtk peers requested but no X library available" 1>&2
6623 if test -z "$TOOLKIT"; then
6624 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
6629 if test "$no_x" = yes; then
6630 # Perhaps we should admit the possibility of embedded Qt.
6631 echo "*** Qt peers requested but no X library available" 1>&2
6635 if test -z "$TOOLKIT"; then
6636 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
6642 if test -z "$TOOLKIT"; then
6643 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
6654 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
6659 if test "$use_xlib_awt" = yes; then
6667 if test "$use_x_awt" = yes; then
6677 cat >>confdefs.h
<<_ACEOF
6678 #define AWT_TOOLKIT "$TOOLKIT"
6682 expanded_prefix
=$prefix
6683 if test "X$prefix" = XNONE
; then
6684 expanded_prefix
=${ac_default_prefix}
6688 cat >>confdefs.h
<<_ACEOF
6689 #define LIBGCJ_PREFIX "$expanded_prefix"
6693 # Create standard.omit based on decisions we just made.
6694 cp $srcdir/standard.omit.
in standard.omit
6695 if test "$use_xlib_awt" != yes; then
6696 echo gnu
/awt
/xlib
>> standard.omit
6697 echo gnu
/gcj
/xlib
>> standard.omit
6699 if test "$use_x_awt" != yes; then
6700 echo gnu
/java
/awt
/peer
/x
>> standard.omit
6703 # Tools that need to be compiled against classpath's tools classes
6704 : > vm-tools-packages
6705 for package
in gnu
/gcj
/tools
/gc_analyze
; do
6706 echo $package >> standard.omit
6707 echo $package >> vm-tools-packages
6710 if test -z "${with_multisubdir}"; then
6713 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
6718 # Which gcj and host gcj (for ecjx) do we use?
6720 host_exeext
=${ac_exeext}
6721 GCJ_FOR_ECJX
='$(GCJ)'
6722 GCC_FOR_ECJX
='$(CXX)'
6723 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
6724 if test -n "${with_cross_host}"; then
6725 # We are being configured with a cross compiler. We can't
6726 # use ac_exeext, because that is for the target platform.
6729 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
6730 GCC_FOR_ECJX
="${with_cross_host}-gcc"
6731 case "${with_cross_host}" in
6733 cross_host_exeext
=.exe
6736 host_exeext
=${cross_host_exeext}
6737 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
6738 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
6739 # Ordinary cross (host!=target and host=build)
6742 # Canadian cross (host!=target and host!=build)
6749 # We are being configured with a native or crossed-native compiler
6750 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
6751 if test x
"$build" = x
"$host"; then
6752 # True native build (host=target and host=build)
6755 # Crossed-native build (host=target and host!=build)
6762 libgcjdir
=`${PWDCMD-pwd}`
6765 # Just in case there is a comma in the build dir, quote it for the
6766 # sed command below.
6768 *[,\\]*) qlibgcjdir
=`echo "$libgcjdir" | sed 's:[,\\]:\\&:g'`;;
6769 *) qlibgcjdir
=$libgcjdir;;
6771 GCJ
=`echo "$GCJ" | sed "s, -B, -B$qlibgcjdir/&,"`
6774 GCJ
=$GCJ" -B$libgcjdir/"
6777 case "${which_gcj}" in
6779 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
6782 if test "x${with_newlib}" = "xyes"; then
6783 # FIXME (comment): Why is this needed?
6786 GCJH
='$(target_noncanonical)-gcjh'
6800 # Create it, so that compile/link tests don't fail
6801 test -f libgcj.spec ||
touch libgcj.spec
6805 # Set up to configure Classpath.
6806 # FIXME: no supported way to pass args in autoconf.
6807 # Disable tool wrappers to avoid ltdl.h configure check.
6808 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
6809 ac_configure_args
="$ac_configure_args --disable-load-library"
6810 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
6811 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
6812 dir1
=`cd $srcdir && pwd`
6814 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
6815 ac_configure_args
="$ac_configure_args --disable-core-jni"
6816 ac_configure_args
="$ac_configure_args --disable-examples"
6817 ac_configure_args
="$ac_configure_args --with-glibj=build"
6818 if test "$browser_plugin_enabled" != yes; then
6819 ac_configure_args
="$ac_configure_args --disable-plugin"
6821 ac_configure_args
="$ac_configure_args --enable-plugin"
6823 if test "$gconf_enabled" != yes; then
6824 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
6825 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
6827 if test "$use_gtk_awt" != yes; then
6828 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
6830 if test "$use_qt_awt" != yes; then
6831 ac_configure_args
="$ac_configure_args --disable-qt-peer"
6833 # We need this as qt is disabled by default in classpath.
6834 ac_configure_args
="$ac_configure_args --enable-qt-peer"
6836 if test "$use_x_awt" != yes; then
6837 ac_configure_args
="$ac_configure_args --without-escher"
6839 # We need this as escher is disabled by default in classpath.
6840 if test "$use_escher" != true
; then
6841 as_fn_error
"Please supply an absolute path to the Escher library" "$LINENO" 5
6843 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
6846 if test "x$BUILD_GJDOC" = xno
; then
6847 ac_configure_args
="$ac_configure_args --disable-gjdoc"
6849 # -Werror causes unavoidable problems in code using alsa.
6850 ac_configure_args
="$ac_configure_args --disable-regen-headers"
6851 ac_configure_args
="$ac_configure_args --disable-Werror"
6853 # Only use libltdl for non-newlib builds.
6854 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
6855 case $enable_ltdl_convenience in
6856 no
) as_fn_error
"this package needs a convenience libltdl" "$LINENO" 5 ;;
6857 "") enable_ltdl_convenience
=yes
6858 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
6860 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
6861 LTDLINCL
='-I${top_srcdir}/''libltdl'
6862 # For backwards non-gettext consistent compatibility...
6871 $as_echo "#define USE_LTDL 1" >>confdefs.h
6873 # Sigh. Libtool's macro doesn't do the right thing.
6874 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
6875 # FIXME: this is a hack.
6876 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
6877 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6885 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6890 macro_version
='2.2.7a'
6891 macro_revision
='1.3134'
6905 ltmain
="$ac_aux_dir/ltmain.sh"
6907 # Backslashify metacharacters that are still active within
6908 # double-quoted strings.
6909 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6911 # Same as above, but do not quote variable references.
6912 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6914 # Sed substitution to delay expansion of an escaped shell variable in a
6915 # double_quote_subst'ed string.
6916 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6918 # Sed substitution to delay expansion of an escaped single quote.
6919 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6921 # Sed substitution to avoid accidental globbing in evaled expressions
6922 no_glob_subst
='s/\*/\\\*/g'
6924 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6925 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6926 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6929 $as_echo_n "checking how to print strings... " >&6; }
6930 # Test print first, because it will be a builtin if present.
6931 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6932 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6934 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6937 # Use this function as a fallback that always works.
6938 func_fallback_echo ()
6940 eval 'cat <<_LTECHO_EOF
6944 ECHO='func_fallback_echo
'
6947 # func_echo_all arg...
6948 # Invoke $ECHO with all args, space-separated.
6955 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6956 $as_echo "printf" >&6; } ;;
6957 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6958 $as_echo "print -r" >&6; } ;;
6959 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6960 $as_echo "cat" >&6; } ;;
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6977 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6978 if test "${ac_cv_path_SED+set}" = set; then :
6979 $as_echo_n "(cached) " >&6
6981 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6982 for ac_i in 1 2 3 4 5 6 7; do
6983 ac_script="$ac_script$as_nl$ac_script"
6985 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6986 { ac_script=; unset ac_script;}
6987 if test -z "$SED"; then
6988 ac_path_SED_found=false
6989 # Loop through the user's path and
test for each of PROGNAME-LIST
6990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6994 test -z "$as_dir" && as_dir
=.
6995 for ac_prog
in sed gsed
; do
6996 for ac_exec_ext
in '' $ac_executable_extensions; do
6997 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6998 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6999 # Check for GNU ac_path_SED and select it if it is found.
7000 # Check for GNU $ac_path_SED
7001 case `"$ac_path_SED" --version 2>&1` in
7003 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7006 $as_echo_n 0123456789 >"conftest.in"
7009 cat "conftest.in" "conftest.in" >"conftest.tmp"
7010 mv "conftest.tmp" "conftest.in"
7011 cp "conftest.in" "conftest.nl"
7012 $as_echo '' >> "conftest.nl"
7013 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7014 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7015 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7016 if test $ac_count -gt ${ac_path_SED_max-0}; then
7017 # Best one so far, save it but keep looking for a better one
7018 ac_cv_path_SED
="$ac_path_SED"
7019 ac_path_SED_max
=$ac_count
7021 # 10*(2^10) chars as input seems more than enough
7022 test $ac_count -gt 10 && break
7024 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7027 $ac_path_SED_found && break 3
7032 if test -z "$ac_cv_path_SED"; then
7033 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7041 $as_echo "$ac_cv_path_SED" >&6; }
7042 SED
="$ac_cv_path_SED"
7045 test -z "$SED" && SED
=sed
7046 Xsed
="$SED -e 1s/^X//"
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7059 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7060 if test "${ac_cv_path_GREP+set}" = set; then :
7061 $as_echo_n "(cached) " >&6
7063 if test -z "$GREP"; then
7064 ac_path_GREP_found
=false
7065 # Loop through the user's path and test for each of PROGNAME-LIST
7066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7067 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7070 test -z "$as_dir" && as_dir
=.
7071 for ac_prog
in grep ggrep
; do
7072 for ac_exec_ext
in '' $ac_executable_extensions; do
7073 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7074 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7075 # Check for GNU ac_path_GREP and select it if it is found.
7076 # Check for GNU $ac_path_GREP
7077 case `"$ac_path_GREP" --version 2>&1` in
7079 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7082 $as_echo_n 0123456789 >"conftest.in"
7085 cat "conftest.in" "conftest.in" >"conftest.tmp"
7086 mv "conftest.tmp" "conftest.in"
7087 cp "conftest.in" "conftest.nl"
7088 $as_echo 'GREP' >> "conftest.nl"
7089 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7090 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7091 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7092 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7093 # Best one so far, save it but keep looking for a better one
7094 ac_cv_path_GREP
="$ac_path_GREP"
7095 ac_path_GREP_max
=$ac_count
7097 # 10*(2^10) chars as input seems more than enough
7098 test $ac_count -gt 10 && break
7100 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7103 $ac_path_GREP_found && break 3
7108 if test -z "$ac_cv_path_GREP"; then
7109 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7112 ac_cv_path_GREP
=$GREP
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7117 $as_echo "$ac_cv_path_GREP" >&6; }
7118 GREP
="$ac_cv_path_GREP"
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7122 $as_echo_n "checking for egrep... " >&6; }
7123 if test "${ac_cv_path_EGREP+set}" = set; then :
7124 $as_echo_n "(cached) " >&6
7126 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7127 then ac_cv_path_EGREP
="$GREP -E"
7129 if test -z "$EGREP"; then
7130 ac_path_EGREP_found
=false
7131 # Loop through the user's path and test for each of PROGNAME-LIST
7132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7133 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7136 test -z "$as_dir" && as_dir
=.
7137 for ac_prog
in egrep; do
7138 for ac_exec_ext
in '' $ac_executable_extensions; do
7139 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7140 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7141 # Check for GNU ac_path_EGREP and select it if it is found.
7142 # Check for GNU $ac_path_EGREP
7143 case `"$ac_path_EGREP" --version 2>&1` in
7145 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7148 $as_echo_n 0123456789 >"conftest.in"
7151 cat "conftest.in" "conftest.in" >"conftest.tmp"
7152 mv "conftest.tmp" "conftest.in"
7153 cp "conftest.in" "conftest.nl"
7154 $as_echo 'EGREP' >> "conftest.nl"
7155 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7156 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7157 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7158 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7159 # Best one so far, save it but keep looking for a better one
7160 ac_cv_path_EGREP
="$ac_path_EGREP"
7161 ac_path_EGREP_max
=$ac_count
7163 # 10*(2^10) chars as input seems more than enough
7164 test $ac_count -gt 10 && break
7166 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7169 $ac_path_EGREP_found && break 3
7174 if test -z "$ac_cv_path_EGREP"; then
7175 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7178 ac_cv_path_EGREP
=$EGREP
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7184 $as_echo "$ac_cv_path_EGREP" >&6; }
7185 EGREP
="$ac_cv_path_EGREP"
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7189 $as_echo_n "checking for fgrep... " >&6; }
7190 if test "${ac_cv_path_FGREP+set}" = set; then :
7191 $as_echo_n "(cached) " >&6
7193 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
7194 then ac_cv_path_FGREP
="$GREP -F"
7196 if test -z "$FGREP"; then
7197 ac_path_FGREP_found
=false
7198 # Loop through the user's path and test for each of PROGNAME-LIST
7199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7200 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7203 test -z "$as_dir" && as_dir
=.
7204 for ac_prog
in fgrep
; do
7205 for ac_exec_ext
in '' $ac_executable_extensions; do
7206 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7207 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
7208 # Check for GNU ac_path_FGREP and select it if it is found.
7209 # Check for GNU $ac_path_FGREP
7210 case `"$ac_path_FGREP" --version 2>&1` in
7212 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7215 $as_echo_n 0123456789 >"conftest.in"
7218 cat "conftest.in" "conftest.in" >"conftest.tmp"
7219 mv "conftest.tmp" "conftest.in"
7220 cp "conftest.in" "conftest.nl"
7221 $as_echo 'FGREP' >> "conftest.nl"
7222 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7223 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7224 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7225 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7226 # Best one so far, save it but keep looking for a better one
7227 ac_cv_path_FGREP
="$ac_path_FGREP"
7228 ac_path_FGREP_max
=$ac_count
7230 # 10*(2^10) chars as input seems more than enough
7231 test $ac_count -gt 10 && break
7233 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7236 $ac_path_FGREP_found && break 3
7241 if test -z "$ac_cv_path_FGREP"; then
7242 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7245 ac_cv_path_FGREP
=$FGREP
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7251 $as_echo "$ac_cv_path_FGREP" >&6; }
7252 FGREP
="$ac_cv_path_FGREP"
7255 test -z "$GREP" && GREP
=grep
7275 # Check whether --with-gnu-ld was given.
7276 if test "${with_gnu_ld+set}" = set; then :
7277 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7283 if test "$GCC" = yes; then
7284 # Check if gcc -print-prog-name=ld gives a path.
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7286 $as_echo_n "checking for ld used by $CC... " >&6; }
7289 # gcc leaves a trailing carriage return which upsets mingw
7290 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7292 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7295 # Accept absolute paths.
7297 re_direlt
='/[^/][^/]*/\.\./'
7298 # Canonicalize the pathname of ld
7299 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7300 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7301 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7303 test -z "$LD" && LD
="$ac_prog"
7306 # If it fails, then pretend we aren't using GCC.
7310 # If it is relative, then search for the first ld in PATH.
7314 elif test "$with_gnu_ld" = yes; then
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7316 $as_echo_n "checking for GNU ld... " >&6; }
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7319 $as_echo_n "checking for non-GNU ld... " >&6; }
7321 if test "${lt_cv_path_LD+set}" = set; then :
7322 $as_echo_n "(cached) " >&6
7324 if test -z "$LD"; then
7325 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7326 for ac_dir
in $PATH; do
7328 test -z "$ac_dir" && ac_dir
=.
7329 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7330 lt_cv_path_LD
="$ac_dir/$ac_prog"
7331 # Check to see if the program is GNU ld. I'd rather use --version,
7332 # but apparently some variants of GNU ld only accept -v.
7333 # Break only if it was the GNU/non-GNU ld that we prefer.
7334 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7335 *GNU
* |
*'with BFD'*)
7336 test "$with_gnu_ld" != no
&& break
7339 test "$with_gnu_ld" != yes && break
7346 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7351 if test -n "$LD"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7353 $as_echo "$LD" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7358 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7360 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7361 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7362 $as_echo_n "(cached) " >&6
7364 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7365 case `$LD -v 2>&1 </dev/null` in
7366 *GNU
* |
*'with BFD'*)
7367 lt_cv_prog_gnu_ld
=yes
7370 lt_cv_prog_gnu_ld
=no
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7375 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7376 with_gnu_ld
=$lt_cv_prog_gnu_ld
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7387 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7388 if test "${lt_cv_path_NM+set}" = set; then :
7389 $as_echo_n "(cached) " >&6
7391 if test -n "$NM"; then
7392 # Let the user override the test.
7395 lt_nm_to_check
="${ac_tool_prefix}nm"
7396 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7397 lt_nm_to_check
="$lt_nm_to_check nm"
7399 for lt_tmp_nm
in $lt_nm_to_check; do
7400 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7401 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7403 test -z "$ac_dir" && ac_dir
=.
7404 tmp_nm
="$ac_dir/$lt_tmp_nm"
7405 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7406 # Check to see if the nm accepts a BSD-compat flag.
7407 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7408 # nm: unknown option "B" ignored
7409 # Tru64's nm complains that /dev/null is an invalid object file
7410 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7411 */dev
/null
* |
*'Invalid file or object type'*)
7412 lt_cv_path_NM
="$tmp_nm -B"
7416 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7418 lt_cv_path_NM
="$tmp_nm -p"
7422 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7423 continue # so that we can try to find one that supports BSD flags
7432 : ${lt_cv_path_NM=no}
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7436 $as_echo "$lt_cv_path_NM" >&6; }
7437 if test "$lt_cv_path_NM" != "no"; then
7440 # Didn't find any BSD compatible name lister, look for dumpbin.
7441 if test -n "$DUMPBIN"; then :
7442 # Let the user override the test.
7444 if test -n "$ac_tool_prefix"; then
7445 for ac_prog
in dumpbin
"link -dump"
7447 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7448 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450 $as_echo_n "checking for $ac_word... " >&6; }
7451 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7452 $as_echo_n "(cached) " >&6
7454 if test -n "$DUMPBIN"; then
7455 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7461 test -z "$as_dir" && as_dir
=.
7462 for ac_exec_ext
in '' $ac_executable_extensions; do
7463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7464 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 DUMPBIN
=$ac_cv_prog_DUMPBIN
7475 if test -n "$DUMPBIN"; then
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7477 $as_echo "$DUMPBIN" >&6; }
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7484 test -n "$DUMPBIN" && break
7487 if test -z "$DUMPBIN"; then
7488 ac_ct_DUMPBIN
=$DUMPBIN
7489 for ac_prog
in dumpbin
"link -dump"
7491 # Extract the first word of "$ac_prog", so it can be a program name with args.
7492 set dummy
$ac_prog; ac_word
=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7496 $as_echo_n "(cached) " >&6
7498 if test -n "$ac_ct_DUMPBIN"; then
7499 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7505 test -z "$as_dir" && as_dir
=.
7506 for ac_exec_ext
in '' $ac_executable_extensions; do
7507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7508 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7518 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7519 if test -n "$ac_ct_DUMPBIN"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7521 $as_echo "$ac_ct_DUMPBIN" >&6; }
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7528 test -n "$ac_ct_DUMPBIN" && break
7531 if test "x$ac_ct_DUMPBIN" = x
; then
7534 case $cross_compiling:$ac_tool_warned in
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7538 ac_tool_warned
=yes ;;
7540 DUMPBIN
=$ac_ct_DUMPBIN
7544 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7546 DUMPBIN
="$DUMPBIN -symbols"
7554 if test "$DUMPBIN" != ":"; then
7558 test -z "$NM" && NM
=nm
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7566 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7567 if test "${lt_cv_nm_interface+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7570 lt_cv_nm_interface
="BSD nm"
7571 echo "int some_variable = 0;" > conftest.
$ac_ext
7572 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7573 (eval "$ac_compile" 2>conftest.err
)
7574 cat conftest.err
>&5
7575 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7576 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7577 cat conftest.err
>&5
7578 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7579 cat conftest.out
>&5
7580 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7581 lt_cv_nm_interface
="MS dumpbin"
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7586 $as_echo "$lt_cv_nm_interface" >&6; }
7588 # find the maximum length of command line arguments
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7590 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7591 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7592 $as_echo_n "(cached) " >&6
7599 # On DJGPP, this test can blow up pretty badly due to problems in libc
7600 # (any single argument exceeding 2000 bytes causes a buffer overrun
7601 # during glob expansion). Even if it were fixed, the result of this
7602 # check would be larger than it should be.
7603 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7607 # Under GNU Hurd, this test is not required because there is
7608 # no limit to the length of command line arguments.
7609 # Libtool will interpret -1 as no limit whatsoever
7610 lt_cv_sys_max_cmd_len
=-1;
7613 cygwin
* | mingw
* | cegcc
*)
7614 # On Win9x/ME, this test blows up -- it succeeds, but takes
7615 # about 5 minutes as the teststring grows exponentially.
7616 # Worse, since 9x/ME are not pre-emptively multitasking,
7617 # you end up with a "frozen" computer, even though with patience
7618 # the test eventually succeeds (with a max line length of 256k).
7619 # Instead, let's just punt: use the minimum linelength reported by
7620 # all of the supported platforms: 8192 (on NT/2K/XP).
7621 lt_cv_sys_max_cmd_len
=8192;
7625 # On MiNT this can take a long time and run out of memory.
7626 lt_cv_sys_max_cmd_len
=8192;
7630 # On AmigaOS with pdksh, this test takes hours, literally.
7631 # So we just punt and use a minimum line length of 8192.
7632 lt_cv_sys_max_cmd_len
=8192;
7635 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7636 # This has been around since 386BSD, at least. Likely further.
7637 if test -x /sbin
/sysctl
; then
7638 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7639 elif test -x /usr
/sbin
/sysctl
; then
7640 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7642 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7644 # And add a safety zone
7645 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7646 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7650 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7651 lt_cv_sys_max_cmd_len
=196608
7655 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7656 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7657 # nice to cause kernel panics so lets avoid the loop below.
7658 # First set a reasonable default.
7659 lt_cv_sys_max_cmd_len
=16384
7661 if test -x /sbin
/sysconfig
; then
7662 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7663 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7668 lt_cv_sys_max_cmd_len
=102400
7670 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7671 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7672 if test -n "$kargmax"; then
7673 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7675 lt_cv_sys_max_cmd_len
=32768
7679 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7680 if test -n "$lt_cv_sys_max_cmd_len"; then
7681 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7682 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7684 # Make teststring a little bigger before we do anything with it.
7685 # a 1K string should be a reasonable start.
7686 for i
in 1 2 3 4 5 6 7 8 ; do
7687 teststring
=$teststring$teststring
7689 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7690 # If test is not a shell built-in, we'll probably end up computing a
7691 # maximum length that is only half of the actual maximum length, but
7693 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7694 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7695 test $i != 17 # 1/2 MB should be enough
7698 teststring
=$teststring$teststring
7700 # Only check the string length outside the loop.
7701 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7703 # Add a significant safety factor because C++ compilers can tack on
7704 # massive amounts of additional arguments before passing them to the
7705 # linker. It appears as though 1/2 is a usable value.
7706 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7713 if test -n $lt_cv_sys_max_cmd_len ; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7715 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7718 $as_echo "none" >&6; }
7720 max_cmd_len
=$lt_cv_sys_max_cmd_len
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7732 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7733 # Try some XSI features
7736 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7738 && eval 'test $(( 1 + 1 )) -eq 2 \
7739 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7742 $as_echo "$xsi_shell" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7746 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7748 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7750 && lt_shell_append=yes
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7752 $as_echo "$lt_shell_append" >&6; }
7755 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7765 # test EBCDIC or ASCII
7766 case `echo X|tr X '\101'` in
7767 A) # ASCII based system
7768 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7769 lt_SP2NL='tr \040 \012'
7770 lt_NL2SP='tr \015\012 \040\040'
7772 *) # EBCDIC based system
7773 lt_SP2NL='tr \100 \n'
7774 lt_NL2SP='tr \r\n \100\100'
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7787 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7788 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7789 $as_echo_n "(cached
) " >&6
7791 lt_cv_ld_reload_flag='-r'
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7794 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7795 reload_flag=$lt_cv_ld_reload_flag
7796 case $reload_flag in
7798 *) reload_flag=" $reload_flag" ;;
7800 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7803 if test "$GCC" = yes; then
7804 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7806 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7819 if test -n "$ac_tool_prefix"; then
7820 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7821 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7823 $as_echo_n "checking
for $ac_word...
" >&6; }
7824 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7825 $as_echo_n "(cached
) " >&6
7827 if test -n "$OBJDUMP"; then
7828 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir=.
7835 for ac_exec_ext in '' $ac_executable_extensions; do
7836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7837 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7847 OBJDUMP=$ac_cv_prog_OBJDUMP
7848 if test -n "$OBJDUMP"; then
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7850 $as_echo "$OBJDUMP" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7853 $as_echo "no
" >&6; }
7858 if test -z "$ac_cv_prog_OBJDUMP"; then
7859 ac_ct_OBJDUMP=$OBJDUMP
7860 # Extract the first word of "objdump
", so it can be a program name with args.
7861 set dummy objdump; ac_word=$2
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7863 $as_echo_n "checking
for $ac_word...
" >&6; }
7864 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7865 $as_echo_n "(cached
) " >&6
7867 if test -n "$ac_ct_OBJDUMP"; then
7868 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7877 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7887 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7888 if test -n "$ac_ct_OBJDUMP"; then
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7890 $as_echo "$ac_ct_OBJDUMP" >&6; }
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7893 $as_echo "no
" >&6; }
7896 if test "x
$ac_ct_OBJDUMP" = x; then
7899 case $cross_compiling:$ac_tool_warned in
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7902 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7903 ac_tool_warned=yes ;;
7905 OBJDUMP=$ac_ct_OBJDUMP
7908 OBJDUMP="$ac_cv_prog_OBJDUMP"
7911 test -z "$OBJDUMP" && OBJDUMP=objdump
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7922 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7923 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7924 $as_echo_n "(cached
) " >&6
7926 lt_cv_file_magic_cmd='$MAGIC_CMD'
7927 lt_cv_file_magic_test_file=
7928 lt_cv_deplibs_check_method='unknown'
7929 # Need to set the preceding variable on all platforms that support
7930 # interlibrary dependencies.
7931 # 'none' -- dependencies not supported.
7932 # `unknown' -- same as none, but documents that we really don't know.
7933 # 'pass_all' -- all dependencies passed with no checks.
7934 # 'test_compile' -- check by making test program.
7935 # 'file_magic [[regex]]' -- check by looking for files in library path
7936 # which responds to the $file_magic_cmd with a given extended regex.
7937 # If you have `file' or equivalent on your system and you're not sure
7938 # whether `pass_all' will *always* work, you probably want this one.
7942 lt_cv_deplibs_check_method=pass_all
7946 lt_cv_deplibs_check_method=pass_all
7950 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7951 lt_cv_file_magic_cmd='/usr/bin/file -L'
7952 lt_cv_file_magic_test_file=/shlib/libc.so
7956 # func_win32_libid is a shell function defined in ltmain.sh
7957 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7958 lt_cv_file_magic_cmd='func_win32_libid'
7962 # Base MSYS/MinGW do not provide the 'file' command needed by
7963 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7964 # unless we find 'file', for example because we are cross-compiling.
7965 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7966 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7967 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7968 lt_cv_file_magic_cmd='func_win32_libid'
7970 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7971 lt_cv_file_magic_cmd='$OBJDUMP -f'
7976 # use the weaker test based on 'objdump'. See mingw*.
7977 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7978 lt_cv_file_magic_cmd='$OBJDUMP -f'
7981 darwin* | rhapsody*)
7982 lt_cv_deplibs_check_method=pass_all
7985 freebsd* | dragonfly*)
7986 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7989 # Not sure whether the presence of OpenBSD here was a mistake.
7990 # Let's accept both of them until this is cleared up.
7991 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7992 lt_cv_file_magic_cmd=/usr/bin/file
7993 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7997 lt_cv_deplibs_check_method=pass_all
8002 lt_cv_deplibs_check_method=pass_all
8006 lt_cv_deplibs_check_method=pass_all
8009 hpux10.20* | hpux11*)
8010 lt_cv_file_magic_cmd=/usr/bin/file
8013 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8014 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8017 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
8018 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8021 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8022 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8028 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8029 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8032 irix5* | irix6* | nonstopux*)
8034 *-32|*"-32 ") libmagic=32-bit;;
8035 *-n32|*"-n32 ") libmagic=N32;;
8036 *-64|*"-64 ") libmagic=64-bit;;
8037 *) libmagic=never-match;;
8039 lt_cv_deplibs_check_method=pass_all
8042 # This must be Linux ELF.
8043 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8044 lt_cv_deplibs_check_method=pass_all
8048 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8049 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8051 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8056 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8057 lt_cv_file_magic_cmd=/usr/bin/file
8058 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8062 lt_cv_deplibs_check_method=pass_all
8066 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
8067 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8069 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8073 osf3* | osf4* | osf5*)
8074 lt_cv_deplibs_check_method=pass_all
8078 lt_cv_deplibs_check_method=pass_all
8082 lt_cv_deplibs_check_method=pass_all
8085 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8086 lt_cv_deplibs_check_method=pass_all
8090 case $host_vendor in
8092 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]'
8093 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8096 lt_cv_deplibs_check_method=pass_all
8099 lt_cv_file_magic_cmd='/bin/file'
8100 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8103 lt_cv_file_magic_cmd='/bin/file'
8104 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
8105 lt_cv_file_magic_test_file=/lib/libc.so
8108 lt_cv_deplibs_check_method=pass_all
8111 lt_cv_deplibs_check_method=pass_all
8117 lt_cv_deplibs_check_method=pass_all
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
8123 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8124 file_magic_cmd=$lt_cv_file_magic_cmd
8125 deplibs_check_method=$lt_cv_deplibs_check_method
8126 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8139 if test -n "$ac_tool_prefix"; then
8140 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8141 set dummy ${ac_tool_prefix}ar; ac_word=$2
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8143 $as_echo_n "checking
for $ac_word...
" >&6; }
8144 if test "${ac_cv_prog_AR+set}" = set; then :
8145 $as_echo_n "(cached
) " >&6
8147 if test -n "$AR"; then
8148 ac_cv_prog_AR="$AR" # Let the user override the test.
8150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8154 test -z "$as_dir" && as_dir=.
8155 for ac_exec_ext in '' $ac_executable_extensions; do
8156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8157 ac_cv_prog_AR="${ac_tool_prefix}ar"
8158 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8168 if test -n "$AR"; then
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8170 $as_echo "$AR" >&6; }
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8173 $as_echo "no
" >&6; }
8178 if test -z "$ac_cv_prog_AR"; then
8180 # Extract the first word of "ar", so it can be a program name with args.
8181 set dummy ar; ac_word=$2
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8183 $as_echo_n "checking
for $ac_word...
" >&6; }
8184 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8185 $as_echo_n "(cached
) " >&6
8187 if test -n "$ac_ct_AR"; then
8188 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8194 test -z "$as_dir" && as_dir=.
8195 for ac_exec_ext in '' $ac_executable_extensions; do
8196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8197 ac_cv_prog_ac_ct_AR="ar"
8198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8207 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8208 if test -n "$ac_ct_AR"; then
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
8210 $as_echo "$ac_ct_AR" >&6; }
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8213 $as_echo "no
" >&6; }
8216 if test "x
$ac_ct_AR" = x; then
8219 case $cross_compiling:$ac_tool_warned in
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8222 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8223 ac_tool_warned=yes ;;
8231 test -z "$AR" && AR=ar
8232 test -z "$AR_FLAGS" && AR_FLAGS=cru
8244 if test -n "$ac_tool_prefix"; then
8245 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
8246 set dummy ${ac_tool_prefix}strip; ac_word=$2
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8248 $as_echo_n "checking
for $ac_word...
" >&6; }
8249 if test "${ac_cv_prog_STRIP+set}" = set; then :
8250 $as_echo_n "(cached
) " >&6
8252 if test -n "$STRIP"; then
8253 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 test -z "$as_dir" && as_dir=.
8260 for ac_exec_ext in '' $ac_executable_extensions; do
8261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8262 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
8263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8272 STRIP=$ac_cv_prog_STRIP
8273 if test -n "$STRIP"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8275 $as_echo "$STRIP" >&6; }
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8278 $as_echo "no
" >&6; }
8283 if test -z "$ac_cv_prog_STRIP"; then
8285 # Extract the first word of "strip
", so it can be a program name with args.
8286 set dummy strip; ac_word=$2
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8288 $as_echo_n "checking
for $ac_word...
" >&6; }
8289 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8290 $as_echo_n "(cached
) " >&6
8292 if test -n "$ac_ct_STRIP"; then
8293 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8299 test -z "$as_dir" && as_dir=.
8300 for ac_exec_ext in '' $ac_executable_extensions; do
8301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8302 ac_cv_prog_ac_ct_STRIP="strip
"
8303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8312 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8313 if test -n "$ac_ct_STRIP"; then
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8315 $as_echo "$ac_ct_STRIP" >&6; }
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8318 $as_echo "no
" >&6; }
8321 if test "x
$ac_ct_STRIP" = x; then
8324 case $cross_compiling:$ac_tool_warned in
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8327 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8328 ac_tool_warned=yes ;;
8333 STRIP="$ac_cv_prog_STRIP"
8336 test -z "$STRIP" && STRIP=:
8343 if test -n "$ac_tool_prefix"; then
8344 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8345 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8347 $as_echo_n "checking
for $ac_word...
" >&6; }
8348 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8349 $as_echo_n "(cached
) " >&6
8351 if test -n "$RANLIB"; then
8352 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8358 test -z "$as_dir" && as_dir=.
8359 for ac_exec_ext in '' $ac_executable_extensions; do
8360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8361 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8371 RANLIB=$ac_cv_prog_RANLIB
8372 if test -n "$RANLIB"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8374 $as_echo "$RANLIB" >&6; }
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8377 $as_echo "no
" >&6; }
8382 if test -z "$ac_cv_prog_RANLIB"; then
8383 ac_ct_RANLIB=$RANLIB
8384 # Extract the first word of "ranlib
", so it can be a program name with args.
8385 set dummy ranlib; ac_word=$2
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8387 $as_echo_n "checking
for $ac_word...
" >&6; }
8388 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8389 $as_echo_n "(cached
) " >&6
8391 if test -n "$ac_ct_RANLIB"; then
8392 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8398 test -z "$as_dir" && as_dir=.
8399 for ac_exec_ext in '' $ac_executable_extensions; do
8400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8401 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8411 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8412 if test -n "$ac_ct_RANLIB"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8414 $as_echo "$ac_ct_RANLIB" >&6; }
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8417 $as_echo "no
" >&6; }
8420 if test "x
$ac_ct_RANLIB" = x; then
8423 case $cross_compiling:$ac_tool_warned in
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8426 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8427 ac_tool_warned=yes ;;
8429 RANLIB=$ac_ct_RANLIB
8432 RANLIB="$ac_cv_prog_RANLIB"
8435 test -z "$RANLIB" && RANLIB=:
8442 # Determine commands to create old-style static archives.
8443 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8444 old_postinstall_cmds='chmod 644 $oldlib'
8445 old_postuninstall_cmds=
8447 if test -n "$RANLIB"; then
8450 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8453 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8456 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8461 lock_old_archive_extraction=yes ;;
8463 lock_old_archive_extraction=no ;;
8504 # If no C compiler was specified, use CC.
8507 # If no C compiler flags were specified, use CFLAGS.
8508 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8510 # Allow CC to be a program name with arguments.
8514 # Check for command to grab the raw symbol name followed by C symbol from nm.
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8516 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8517 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8518 $as_echo_n "(cached
) " >&6
8521 # These are sane defaults that work on at least a few old systems.
8522 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8524 # Character class describing NM global symbol codes.
8525 symcode='[BCDEGRST]'
8527 # Regexp to match symbols that can be accessed directly from C.
8528 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8530 # Define system-specific variables.
8535 cygwin* | mingw* | pw32* | cegcc*)
8536 symcode='[ABCDGISTW]'
8539 if test "$host_cpu" = ia64; then
8540 symcode='[ABCDEGRST]'
8544 symcode='[BCDEGRST]'
8547 symcode='[BCDEGQRST]'
8558 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8566 # If we're using GNU nm, then use its standard symbol codes.
8567 case `$NM -V 2>&1` in
8568 *GNU* | *'with BFD'*)
8569 symcode='[ABCDGIRSTW]' ;;
8572 # Transform an extracted symbol line into a proper C declaration.
8573 # Some systems (esp. on ia64) link data and code symbols differently,
8574 # so use this general approach.
8575 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8577 # Transform an extracted symbol line into symbol name and symbol address
8578 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8579 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'"
8581 # Handle CRLF in mingw tool chain
8585 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8589 # Try without a prefix underscore, then with it.
8590 for ac_symprfx in "" "_
"; do
8592 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8593 symxfrm="\\1 $ac_symprfx\\2 \\2"
8595 # Write the raw and C identifiers.
8596 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8597 # Fake it for dumpbin and say T for any non-static function
8598 # and D for any global variable.
8599 # Also find C++ and __fastcall symbols from MSVC++,
8600 # which start with @ or ?.
8601 lt_cv_sys_global_symbol_pipe="$AWK '"\
8602 " {last_section=section; section=\$ 3};"\
8603 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8604 " \$ 0!~/External *\|/{next};"\
8605 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8606 " {if(hide[section]) next};"\
8607 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8608 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8609 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8610 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8611 " ' prfx
=^
$ac_symprfx"
8613 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8616 # Check to see that the pipe works correctly.
8620 cat > conftest.$ac_ext <<_LT_EOF
8625 void nm_test_func(void);
8626 void nm_test_func(void){}
8630 int main(){nm_test_var='a';nm_test_func();return(0);}
8633 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8634 (eval $ac_compile) 2>&5
8636 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8637 test $ac_status = 0; }; then
8638 # Now try to grab the symbols.
8640 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8641 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8643 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8644 test $ac_status = 0; } && test -s "$nlist"; then
8645 # Try sorting and uniquifying the output.
8646 if sort "$nlist" | uniq > "$nlist"T; then
8647 mv -f "$nlist"T "$nlist"
8652 # Make sure that we snagged all the symbols we need.
8653 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8654 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8655 cat <<_LT_EOF > conftest.$ac_ext
8661 # Now generate the symbol file.
8662 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8664 cat <<_LT_EOF >> conftest.$ac_ext
8666 /* The mapping between symbol names and symbols. */
8671 lt__PROGRAM__LTX_preloaded_symbols[] =
8673 { "@PROGRAM@
", (void *) 0 },
8675 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8676 cat <<\_LT_EOF >> conftest.$ac_ext
8680 /* This works around a problem in FreeBSD linker */
8681 #ifdef FREEBSD_WORKAROUND
8682 static const void *lt_preloaded_setup() {
8683 return lt__PROGRAM__LTX_preloaded_symbols;
8691 # Now try linking the two files.
8692 mv conftest.$ac_objext conftstm.$ac_objext
8693 lt_save_LIBS="$LIBS"
8694 lt_save_CFLAGS="$CFLAGS"
8695 LIBS="conftstm.
$ac_objext"
8696 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8697 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8698 (eval $ac_link) 2>&5
8700 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8701 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8704 LIBS="$lt_save_LIBS"
8705 CFLAGS="$lt_save_CFLAGS"
8707 echo "cannot
find nm_test_func
in $nlist" >&5
8710 echo "cannot
find nm_test_var
in $nlist" >&5
8713 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8716 echo "$progname: failed program was
:" >&5
8717 cat conftest.$ac_ext >&5
8719 rm -rf conftest* conftst*
8721 # Do not use the global_symbol_pipe unless it works.
8722 if test "$pipe_works" = yes; then
8725 lt_cv_sys_global_symbol_pipe=
8731 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8732 lt_cv_sys_global_symbol_to_cdecl=
8734 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8736 $as_echo "failed
" >&6; }
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8739 $as_echo "ok
" >&6; }
8764 # Check whether --enable-libtool-lock was given.
8765 if test "${enable_libtool_lock+set}" = set; then :
8766 enableval=$enable_libtool_lock;
8769 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8771 # Some flags need to be propagated to the compiler or linker for good
8775 # Find out which ABI we are using.
8776 echo 'int i;' > conftest.$ac_ext
8777 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8778 (eval $ac_compile) 2>&5
8780 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8781 test $ac_status = 0; }; then
8782 case `/usr/bin/file conftest.$ac_objext` in
8794 # Find out which ABI we are using.
8795 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8796 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8797 (eval $ac_compile) 2>&5
8799 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8800 test $ac_status = 0; }; then
8801 if test "$lt_cv_prog_gnu_ld" = yes; then
8802 case `/usr/bin/file conftest.$ac_objext` in
8804 LD="${LD-ld} -melf32bsmip"
8807 LD="${LD-ld} -melf32bmipn32"
8810 LD="${LD-ld} -melf64bmip"
8814 case `/usr/bin/file conftest.$ac_objext` in
8830 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8831 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8832 # Find out which ABI we are using.
8833 echo 'int i;' > conftest.$ac_ext
8834 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8835 (eval $ac_compile) 2>&5
8837 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8838 test $ac_status = 0; }; then
8839 case `/usr/bin/file conftest.o` in
8842 x86_64-*kfreebsd*-gnu)
8843 LD="${LD-ld} -m elf_i386_fbsd
"
8846 LD="${LD-ld} -m elf_i386
"
8848 ppc64-*linux*|powerpc64-*linux*)
8849 LD="${LD-ld} -m elf32ppclinux
"
8852 LD="${LD-ld} -m elf_s390
"
8855 LD="${LD-ld} -m elf32_sparc
"
8861 x86_64-*kfreebsd*-gnu)
8862 LD="${LD-ld} -m elf_x86_64_fbsd
"
8865 LD="${LD-ld} -m elf_x86_64
"
8867 ppc*-*linux*|powerpc*-*linux*)
8868 LD="${LD-ld} -m elf64ppc
"
8870 s390*-*linux*|s390*-*tpf*)
8871 LD="${LD-ld} -m elf64_s390
"
8874 LD="${LD-ld} -m elf64_sparc
"
8884 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8885 SAVE_CFLAGS="$CFLAGS"
8886 CFLAGS="$CFLAGS -belf"
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8888 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8889 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8890 $as_echo_n "(cached
) " >&6
8893 ac_cpp='$CPP $CPPFLAGS'
8894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8898 if test x$gcc_no_link = xyes; then
8899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8912 if ac_fn_c_try_link "$LINENO"; then :
8913 lt_cv_cc_needs_belf=yes
8915 lt_cv_cc_needs_belf=no
8917 rm -f core conftest.err conftest.$ac_objext \
8918 conftest$ac_exeext conftest.$ac_ext
8920 ac_cpp='$CPP $CPPFLAGS'
8921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8927 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8928 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8929 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8930 CFLAGS="$SAVE_CFLAGS"
8934 # Find out which ABI we are using.
8935 echo 'int i;' > conftest.$ac_ext
8936 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8937 (eval $ac_compile) 2>&5
8939 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8940 test $ac_status = 0; }; then
8941 case `/usr/bin/file conftest.o` in
8943 case $lt_cv_prog_gnu_ld in
8944 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8946 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8958 need_locks="$enable_libtool_lock"
8962 rhapsody* | darwin*)
8963 if test -n "$ac_tool_prefix"; then
8964 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8965 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8967 $as_echo_n "checking
for $ac_word...
" >&6; }
8968 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8969 $as_echo_n "(cached
) " >&6
8971 if test -n "$DSYMUTIL"; then
8972 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8978 test -z "$as_dir" && as_dir=.
8979 for ac_exec_ext in '' $ac_executable_extensions; do
8980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8981 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8991 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8992 if test -n "$DSYMUTIL"; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8994 $as_echo "$DSYMUTIL" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8997 $as_echo "no
" >&6; }
9002 if test -z "$ac_cv_prog_DSYMUTIL"; then
9003 ac_ct_DSYMUTIL=$DSYMUTIL
9004 # Extract the first word of "dsymutil
", so it can be a program name with args.
9005 set dummy dsymutil; ac_word=$2
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9007 $as_echo_n "checking
for $ac_word...
" >&6; }
9008 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
9009 $as_echo_n "(cached
) " >&6
9011 if test -n "$ac_ct_DSYMUTIL"; then
9012 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9018 test -z "$as_dir" && as_dir=.
9019 for ac_exec_ext in '' $ac_executable_extensions; do
9020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9021 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
9022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9031 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9032 if test -n "$ac_ct_DSYMUTIL"; then
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
9034 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9037 $as_echo "no
" >&6; }
9040 if test "x
$ac_ct_DSYMUTIL" = x; then
9043 case $cross_compiling:$ac_tool_warned in
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9046 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9047 ac_tool_warned=yes ;;
9049 DSYMUTIL=$ac_ct_DSYMUTIL
9052 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9055 if test -n "$ac_tool_prefix"; then
9056 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
9057 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9059 $as_echo_n "checking
for $ac_word...
" >&6; }
9060 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
9061 $as_echo_n "(cached
) " >&6
9063 if test -n "$NMEDIT"; then
9064 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9070 test -z "$as_dir" && as_dir=.
9071 for ac_exec_ext in '' $ac_executable_extensions; do
9072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9073 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
9074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9083 NMEDIT=$ac_cv_prog_NMEDIT
9084 if test -n "$NMEDIT"; then
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
9086 $as_echo "$NMEDIT" >&6; }
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9089 $as_echo "no
" >&6; }
9094 if test -z "$ac_cv_prog_NMEDIT"; then
9095 ac_ct_NMEDIT=$NMEDIT
9096 # Extract the first word of "nmedit
", so it can be a program name with args.
9097 set dummy nmedit; ac_word=$2
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9099 $as_echo_n "checking
for $ac_word...
" >&6; }
9100 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9101 $as_echo_n "(cached
) " >&6
9103 if test -n "$ac_ct_NMEDIT"; then
9104 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9110 test -z "$as_dir" && as_dir=.
9111 for ac_exec_ext in '' $ac_executable_extensions; do
9112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9113 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
9114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9123 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9124 if test -n "$ac_ct_NMEDIT"; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
9126 $as_echo "$ac_ct_NMEDIT" >&6; }
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9129 $as_echo "no
" >&6; }
9132 if test "x
$ac_ct_NMEDIT" = x; then
9135 case $cross_compiling:$ac_tool_warned in
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9138 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9139 ac_tool_warned=yes ;;
9141 NMEDIT=$ac_ct_NMEDIT
9144 NMEDIT="$ac_cv_prog_NMEDIT"
9147 if test -n "$ac_tool_prefix"; then
9148 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9149 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9151 $as_echo_n "checking
for $ac_word...
" >&6; }
9152 if test "${ac_cv_prog_LIPO+set}" = set; then :
9153 $as_echo_n "(cached
) " >&6
9155 if test -n "$LIPO"; then
9156 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9162 test -z "$as_dir" && as_dir=.
9163 for ac_exec_ext in '' $ac_executable_extensions; do
9164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9165 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9175 LIPO=$ac_cv_prog_LIPO
9176 if test -n "$LIPO"; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9178 $as_echo "$LIPO" >&6; }
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9181 $as_echo "no
" >&6; }
9186 if test -z "$ac_cv_prog_LIPO"; then
9188 # Extract the first word of "lipo
", so it can be a program name with args.
9189 set dummy lipo; ac_word=$2
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9191 $as_echo_n "checking
for $ac_word...
" >&6; }
9192 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9193 $as_echo_n "(cached
) " >&6
9195 if test -n "$ac_ct_LIPO"; then
9196 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9202 test -z "$as_dir" && as_dir=.
9203 for ac_exec_ext in '' $ac_executable_extensions; do
9204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9205 ac_cv_prog_ac_ct_LIPO="lipo
"
9206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9215 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9216 if test -n "$ac_ct_LIPO"; then
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9218 $as_echo "$ac_ct_LIPO" >&6; }
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9221 $as_echo "no
" >&6; }
9224 if test "x
$ac_ct_LIPO" = x; then
9227 case $cross_compiling:$ac_tool_warned in
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9230 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9231 ac_tool_warned=yes ;;
9236 LIPO="$ac_cv_prog_LIPO"
9239 if test -n "$ac_tool_prefix"; then
9240 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9241 set dummy ${ac_tool_prefix}otool; ac_word=$2
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9243 $as_echo_n "checking
for $ac_word...
" >&6; }
9244 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9245 $as_echo_n "(cached
) " >&6
9247 if test -n "$OTOOL"; then
9248 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9254 test -z "$as_dir" && as_dir=.
9255 for ac_exec_ext in '' $ac_executable_extensions; do
9256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9257 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9267 OTOOL=$ac_cv_prog_OTOOL
9268 if test -n "$OTOOL"; then
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9270 $as_echo "$OTOOL" >&6; }
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9273 $as_echo "no
" >&6; }
9278 if test -z "$ac_cv_prog_OTOOL"; then
9280 # Extract the first word of "otool
", so it can be a program name with args.
9281 set dummy otool; ac_word=$2
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9283 $as_echo_n "checking
for $ac_word...
" >&6; }
9284 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9285 $as_echo_n "(cached
) " >&6
9287 if test -n "$ac_ct_OTOOL"; then
9288 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9294 test -z "$as_dir" && as_dir=.
9295 for ac_exec_ext in '' $ac_executable_extensions; do
9296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9297 ac_cv_prog_ac_ct_OTOOL="otool
"
9298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9307 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9308 if test -n "$ac_ct_OTOOL"; then
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9310 $as_echo "$ac_ct_OTOOL" >&6; }
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9313 $as_echo "no
" >&6; }
9316 if test "x
$ac_ct_OTOOL" = x; then
9319 case $cross_compiling:$ac_tool_warned in
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9322 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9323 ac_tool_warned=yes ;;
9328 OTOOL="$ac_cv_prog_OTOOL"
9331 if test -n "$ac_tool_prefix"; then
9332 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9333 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9335 $as_echo_n "checking
for $ac_word...
" >&6; }
9336 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9337 $as_echo_n "(cached
) " >&6
9339 if test -n "$OTOOL64"; then
9340 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9346 test -z "$as_dir" && as_dir=.
9347 for ac_exec_ext in '' $ac_executable_extensions; do
9348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9349 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9359 OTOOL64=$ac_cv_prog_OTOOL64
9360 if test -n "$OTOOL64"; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9362 $as_echo "$OTOOL64" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9365 $as_echo "no
" >&6; }
9370 if test -z "$ac_cv_prog_OTOOL64"; then
9371 ac_ct_OTOOL64=$OTOOL64
9372 # Extract the first word of "otool64
", so it can be a program name with args.
9373 set dummy otool64; ac_word=$2
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9375 $as_echo_n "checking
for $ac_word...
" >&6; }
9376 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9377 $as_echo_n "(cached
) " >&6
9379 if test -n "$ac_ct_OTOOL64"; then
9380 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9386 test -z "$as_dir" && as_dir=.
9387 for ac_exec_ext in '' $ac_executable_extensions; do
9388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9389 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9399 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9400 if test -n "$ac_ct_OTOOL64"; then
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9402 $as_echo "$ac_ct_OTOOL64" >&6; }
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9405 $as_echo "no
" >&6; }
9408 if test "x
$ac_ct_OTOOL64" = x; then
9411 case $cross_compiling:$ac_tool_warned in
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9414 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9415 ac_tool_warned=yes ;;
9417 OTOOL64=$ac_ct_OTOOL64
9420 OTOOL64="$ac_cv_prog_OTOOL64"
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9450 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9451 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9452 $as_echo_n "(cached
) " >&6
9454 lt_cv_apple_cc_single_mod=no
9455 if test -z "${LT_MULTI_MODULE}"; then
9456 # By default we will add the -single_module flag. You can override
9457 # by either setting the environment variable LT_MULTI_MODULE
9458 # non-empty at configure time, or by adding -multi_module to the
9460 rm -rf libconftest.dylib*
9461 echo "int foo
(void
){return 1;}" > conftest.c
9462 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9463 -dynamiclib -Wl,-single_module conftest.c
" >&5
9464 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9465 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9467 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9468 lt_cv_apple_cc_single_mod=yes
9470 cat conftest.err >&5
9472 rm -rf libconftest.dylib*
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9477 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9479 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9480 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9481 $as_echo_n "(cached
) " >&6
9483 lt_cv_ld_exported_symbols_list=no
9484 save_LDFLAGS=$LDFLAGS
9485 echo "_main
" > conftest.sym
9486 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9487 if test x$gcc_no_link = xyes; then
9488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9501 if ac_fn_c_try_link "$LINENO"; then :
9502 lt_cv_ld_exported_symbols_list=yes
9504 lt_cv_ld_exported_symbols_list=no
9506 rm -f core conftest.err conftest.$ac_objext \
9507 conftest$ac_exeext conftest.$ac_ext
9508 LDFLAGS="$save_LDFLAGS"
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9512 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9514 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9515 if test "${lt_cv_ld_force_load+set}" = set; then :
9516 $as_echo_n "(cached
) " >&6
9518 lt_cv_ld_force_load=no
9519 cat > conftest.c << _LT_EOF
9520 int forced_loaded() { return 2;}
9522 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9523 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9524 echo "$AR cru libconftest.a conftest.o
" >&5
9525 $AR cru libconftest.a conftest.o 2>&5
9526 cat > conftest.c << _LT_EOF
9527 int main() { return 0;}
9529 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9530 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9532 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9533 lt_cv_ld_force_load=yes
9535 cat conftest.err >&5
9537 rm -f conftest.err libconftest.a conftest conftest.c
9538 rm -rf conftest.dSYM
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9542 $as_echo "$lt_cv_ld_force_load" >&6; }
9544 rhapsody* | darwin1.[012])
9545 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9547 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9548 darwin*) # darwin 5.x on
9549 # if running on 10.5 or later, the deployment target defaults
9550 # to the OS version, if on x86, and 10.4, the deployment
9551 # target defaults to 10.4. Don't you love it?
9552 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9553 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9554 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9556 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9558 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9562 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9563 _lt_dar_single_mod='$single_module'
9565 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9566 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9568 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9570 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9571 _lt_dsymutil='~$DSYMUTIL $lib || :'
9579 ac_cpp='$CPP $CPPFLAGS'
9580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
9584 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
9585 # On Suns, sometimes $CPP names a directory.
9586 if test -n "$CPP" && test -d "$CPP"; then
9589 if test -z "$CPP"; then
9590 if test "${ac_cv_prog_CPP+set}" = set; then :
9591 $as_echo_n "(cached
) " >&6
9593 # Double quotes because CPP needs to be expanded
9594 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
9597 for ac_c_preproc_warn_flag in '' yes
9599 # Use a header file that comes with gcc, so configuring glibc
9600 # with a fresh cross-compiler works.
9601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9602 # <limits.h> exists even on freestanding compilers.
9603 # On the NeXT, cc -E runs the code through the compiler's parser,
9604 # not just through cpp. "Syntax error
" is here to catch this case.
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9608 # include <limits.h>
9610 # include <assert.h>
9614 if ac_fn_c_try_cpp "$LINENO"; then :
9617 # Broken: fails on valid input.
9620 rm -f conftest.err conftest.$ac_ext
9622 # OK, works on sane cases. Now check whether nonexistent headers
9623 # can be detected and how.
9624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9626 #include <ac_nonexistent.h>
9628 if ac_fn_c_try_cpp "$LINENO"; then :
9629 # Broken: success on invalid input.
9632 # Passes both tests.
9636 rm -f conftest.err conftest.$ac_ext
9639 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9640 rm -f conftest.err conftest.$ac_ext
9641 if $ac_preproc_ok; then :
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
9654 $as_echo "$CPP" >&6; }
9656 for ac_c_preproc_warn_flag in '' yes
9658 # Use a header file that comes with gcc, so configuring glibc
9659 # with a fresh cross-compiler works.
9660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9661 # <limits.h> exists even on freestanding compilers.
9662 # On the NeXT, cc -E runs the code through the compiler's parser,
9663 # not just through cpp. "Syntax error
" is here to catch this case.
9664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9665 /* end confdefs.h. */
9667 # include <limits.h>
9669 # include <assert.h>
9673 if ac_fn_c_try_cpp "$LINENO"; then :
9676 # Broken: fails on valid input.
9679 rm -f conftest.err conftest.$ac_ext
9681 # OK, works on sane cases. Now check whether nonexistent headers
9682 # can be detected and how.
9683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684 /* end confdefs.h. */
9685 #include <ac_nonexistent.h>
9687 if ac_fn_c_try_cpp "$LINENO"; then :
9688 # Broken: success on invalid input.
9691 # Passes both tests.
9695 rm -f conftest.err conftest.$ac_ext
9698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9699 rm -f conftest.err conftest.$ac_ext
9700 if $ac_preproc_ok; then :
9703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
9704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9705 as_fn_error "C preprocessor \"$CPP\" fails sanity check
9706 See \`config.log' for more details.
" "$LINENO" 5; }
9710 ac_cpp='$CPP $CPPFLAGS'
9711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
9717 $as_echo_n "checking
for ANSI C header files...
" >&6; }
9718 if test "${ac_cv_header_stdc+set}" = set; then :
9719 $as_echo_n "(cached
) " >&6
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9736 if ac_fn_c_try_compile "$LINENO"; then :
9737 ac_cv_header_stdc=yes
9739 ac_cv_header_stdc=no
9741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9743 if test $ac_cv_header_stdc = yes; then
9744 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9746 /* end confdefs.h. */
9750 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9751 $EGREP "memchr
" >/dev/null 2>&1; then :
9754 ac_cv_header_stdc=no
9760 if test $ac_cv_header_stdc = yes; then
9761 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9767 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9768 $EGREP "free
" >/dev/null 2>&1; then :
9771 ac_cv_header_stdc=no
9777 if test $ac_cv_header_stdc = yes; then
9778 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9779 if test "$cross_compiling" = yes; then :
9782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9783 /* end confdefs.h. */
9786 #if ((' ' & 0x0FF) == 0x020)
9787 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9788 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9790 # define ISLOWER(c) \
9791 (('a' <= (c) && (c) <= 'i') \
9792 || ('j' <= (c) && (c) <= 'r') \
9793 || ('s' <= (c) && (c) <= 'z'))
9794 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9797 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9802 for (i = 0; i < 256; i++)
9803 if (XOR (islower (i), ISLOWER (i))
9804 || toupper (i) != TOUPPER (i))
9809 if ac_fn_c_try_run "$LINENO"; then :
9812 ac_cv_header_stdc=no
9814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9815 conftest.$ac_objext conftest.beam conftest.$ac_ext
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
9821 $as_echo "$ac_cv_header_stdc" >&6; }
9822 if test $ac_cv_header_stdc = yes; then
9824 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9828 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9829 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9830 inttypes.h stdint.h unistd.h
9832 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9833 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9835 eval as_val
=\$
$as_ac_Header
9836 if test "x$as_val" = x
""yes; then :
9837 cat >>confdefs.h
<<_ACEOF
9838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9846 for ac_header
in dlfcn.h
9848 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9850 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
9851 cat >>confdefs.h
<<_ACEOF
9852 #define HAVE_DLFCN_H 1
9872 # Check whether --enable-shared was given.
9873 if test "${enable_shared+set}" = set; then :
9874 enableval
=$enable_shared; p
=${PACKAGE-default}
9876 yes) enable_shared
=yes ;;
9877 no
) enable_shared
=no
;;
9880 # Look at the argument we got. We use all the common list separators.
9881 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9882 for pkg
in $enableval; do
9884 if test "X$pkg" = "X$p"; then
9903 # Check whether --enable-static was given.
9904 if test "${enable_static+set}" = set; then :
9905 enableval
=$enable_static; p
=${PACKAGE-default}
9907 yes) enable_static
=yes ;;
9908 no
) enable_static
=no
;;
9911 # Look at the argument we got. We use all the common list separators.
9912 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9913 for pkg
in $enableval; do
9915 if test "X$pkg" = "X$p"; then
9935 # Check whether --with-pic was given.
9936 if test "${with_pic+set}" = set; then :
9937 withval
=$with_pic; pic_mode
="$withval"
9943 test -z "$pic_mode" && pic_mode
=default
9951 # Check whether --enable-fast-install was given.
9952 if test "${enable_fast_install+set}" = set; then :
9953 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9955 yes) enable_fast_install
=yes ;;
9956 no
) enable_fast_install
=no
;;
9958 enable_fast_install
=no
9959 # Look at the argument we got. We use all the common list separators.
9960 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9961 for pkg
in $enableval; do
9963 if test "X$pkg" = "X$p"; then
9964 enable_fast_install
=yes
9971 enable_fast_install
=yes
9984 # This can be used to rebuild libtool when needed
9985 LIBTOOL_DEPS
="$ltmain"
9987 # Always use our own libtool.
9988 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10015 test -z "$LN_S" && LN_S
="ln -s"
10030 if test -n "${ZSH_VERSION+set}" ; then
10031 setopt NO_GLOB_SUBST
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10035 $as_echo_n "checking for objdir... " >&6; }
10036 if test "${lt_cv_objdir+set}" = set; then :
10037 $as_echo_n "(cached) " >&6
10039 rm -f .libs
2>/dev
/null
10040 mkdir .libs
2>/dev
/null
10041 if test -d .libs
; then
10044 # MS-DOS does not allow filenames that begin with a dot.
10047 rmdir .libs
2>/dev
/null
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10050 $as_echo "$lt_cv_objdir" >&6; }
10051 objdir
=$lt_cv_objdir
10057 cat >>confdefs.h
<<_ACEOF
10058 #define LT_OBJDIR "$lt_cv_objdir/"
10066 # AIX sometimes has problems with the GCC collect2 program. For some
10067 # reason, if we set the COLLECT_NAMES environment variable, the problems
10068 # vanish in a puff of smoke.
10069 if test "X${COLLECT_NAMES+set}" != Xset
; then
10071 export COLLECT_NAMES
10076 # Global variables:
10078 can_build_shared
=yes
10080 # All known linkers require a `.a' archive for static linking (except MSVC,
10081 # which needs '.lib').
10084 with_gnu_ld
="$lt_cv_prog_gnu_ld"
10087 old_CFLAGS
="$CFLAGS"
10089 # Set sane defaults for various variables
10090 test -z "$CC" && CC
=cc
10091 test -z "$LTCC" && LTCC
=$CC
10092 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10093 test -z "$LD" && LD
=ld
10094 test -z "$ac_objext" && ac_objext
=o
10096 for cc_temp
in $compiler""; do
10098 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10099 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10104 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10107 # Only perform the check for file, if the check method requires it
10108 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10109 case $deplibs_check_method in
10111 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10113 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10114 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10115 $as_echo_n "(cached) " >&6
10119 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10122 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10123 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10124 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10125 for ac_dir
in $ac_dummy; do
10127 test -z "$ac_dir" && ac_dir
=.
10128 if test -f $ac_dir/${ac_tool_prefix}file; then
10129 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
10130 if test -n "$file_magic_test_file"; then
10131 case $deplibs_check_method in
10133 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10134 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10135 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10136 $EGREP "$file_magic_regex" > /dev
/null
; then
10141 *** Warning: the command libtool uses to detect shared libraries,
10142 *** $file_magic_cmd, produces output that libtool cannot recognize.
10143 *** The result is that libtool may fail to recognize shared libraries
10144 *** as such. This will affect the creation of libtool libraries that
10145 *** depend on shared libraries, but programs linked with such libtool
10146 *** libraries will work regardless of this problem. Nevertheless, you
10147 *** may want to report the problem to your system manager and/or to
10148 *** bug-libtool@gnu.org
10158 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10163 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10164 if test -n "$MAGIC_CMD"; then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10166 $as_echo "$MAGIC_CMD" >&6; }
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10169 $as_echo "no" >&6; }
10176 if test -z "$lt_cv_path_MAGIC_CMD"; then
10177 if test -n "$ac_tool_prefix"; then
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10179 $as_echo_n "checking for file... " >&6; }
10180 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10181 $as_echo_n "(cached) " >&6
10185 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10188 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10189 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10190 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10191 for ac_dir
in $ac_dummy; do
10193 test -z "$ac_dir" && ac_dir
=.
10194 if test -f $ac_dir/file; then
10195 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
10196 if test -n "$file_magic_test_file"; then
10197 case $deplibs_check_method in
10199 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10200 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10201 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10202 $EGREP "$file_magic_regex" > /dev
/null
; then
10207 *** Warning: the command libtool uses to detect shared libraries,
10208 *** $file_magic_cmd, produces output that libtool cannot recognize.
10209 *** The result is that libtool may fail to recognize shared libraries
10210 *** as such. This will affect the creation of libtool libraries that
10211 *** depend on shared libraries, but programs linked with such libtool
10212 *** libraries will work regardless of this problem. Nevertheless, you
10213 *** may want to report the problem to your system manager and/or to
10214 *** bug-libtool@gnu.org
10224 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10229 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10230 if test -n "$MAGIC_CMD"; then
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10232 $as_echo "$MAGIC_CMD" >&6; }
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10235 $as_echo "no" >&6; }
10248 # Use C for the default configuration in the libtool script
10252 ac_cpp
='$CPP $CPPFLAGS'
10253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10258 # Source file extension for C test sources.
10261 # Object file extension for compiled C test sources.
10265 # Code to be used in simple compile tests
10266 lt_simple_compile_test_code
="int some_variable = 0;"
10268 # Code to be used in simple link tests
10269 lt_simple_link_test_code
='int main(){return(0);}'
10277 # If no C compiler was specified, use CC.
10280 # If no C compiler flags were specified, use CFLAGS.
10281 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10283 # Allow CC to be a program name with arguments.
10286 # Save the default compiler, since it gets overwritten when the other
10287 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10288 compiler_DEFAULT
=$CC
10290 # save warnings/boilerplate of simple test code
10291 ac_outfile
=conftest.
$ac_objext
10292 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10293 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10294 _lt_compiler_boilerplate
=`cat conftest.err`
10297 ac_outfile
=conftest.
$ac_objext
10298 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10299 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10300 _lt_linker_boilerplate
=`cat conftest.err`
10305 ## There is no encapsulation within the following macros, do not change
10306 ## the running order or otherwise move them around unless you know exactly
10307 ## what you are doing...
10308 if test -n "$compiler"; then
10310 lt_prog_compiler_no_builtin_flag
=
10312 if test "$GCC" = yes; then
10313 case $cc_basename in
10315 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10317 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10321 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10322 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10323 $as_echo_n "(cached) " >&6
10325 lt_cv_prog_compiler_rtti_exceptions
=no
10326 ac_outfile
=conftest.
$ac_objext
10327 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10328 lt_compiler_flag
="-fno-rtti -fno-exceptions"
10329 # Insert the option either (1) after the last *FLAGS variable, or
10330 # (2) before a word containing "conftest.", or (3) at the end.
10331 # Note that $ac_compile itself does not contain backslashes and begins
10332 # with a dollar sign (not a hyphen), so the echo should work correctly.
10333 # The option is referenced via a variable to avoid confusing sed.
10334 lt_compile
=`echo "$ac_compile" | $SED \
10335 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10336 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10337 -e 's:$: $lt_compiler_flag:'`
10338 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10339 (eval "$lt_compile" 2>conftest.err
)
10341 cat conftest.err
>&5
10342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10343 if (exit $ac_status) && test -s "$ac_outfile"; then
10344 # The compiler can only warn and ignore the option if not recognized
10345 # So say no if there are warnings other than the usual output.
10346 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10347 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10348 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10349 lt_cv_prog_compiler_rtti_exceptions
=yes
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10356 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10358 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
10359 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10371 lt_prog_compiler_wl
=
10372 lt_prog_compiler_pic
=
10373 lt_prog_compiler_static
=
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10376 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10378 if test "$GCC" = yes; then
10379 lt_prog_compiler_wl
='-Wl,'
10380 lt_prog_compiler_static
='-static'
10384 # All AIX code is PIC.
10385 if test "$host_cpu" = ia64
; then
10386 # AIX 5 now supports IA64 processor
10387 lt_prog_compiler_static
='-Bstatic'
10394 # see comment about AmigaOS4 .so support
10395 lt_prog_compiler_pic
='-fPIC'
10398 # FIXME: we need at least 68020 code to build shared libraries, but
10399 # adding the `-m68020' flag to GCC prevents building anything better,
10401 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10406 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10407 # PIC is the default for these OSes.
10410 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10411 # This hack is so that the source file can tell whether it is being
10412 # built for inclusion in a dll (and should export symbols for example).
10413 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10414 # (--disable-auto-import) libraries
10415 lt_prog_compiler_pic
='-DDLL_EXPORT'
10418 darwin
* | rhapsody
*)
10419 # PIC is the default on this platform
10420 # Common symbols not allowed in MH_DYLIB files
10421 lt_prog_compiler_pic
='-fno-common'
10425 # PIC is the default for Haiku.
10426 # The "-static" flag exists, but is broken.
10427 lt_prog_compiler_static
=
10431 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10432 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10433 # sets the default TLS model and affects inlining.
10439 lt_prog_compiler_pic
='-fPIC'
10445 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10446 # Instead, we relocate shared libraries at runtime.
10450 # Just because we use GCC doesn't mean we suddenly get shared libraries
10451 # on systems that don't support them.
10452 lt_prog_compiler_can_build_shared
=no
10457 # QNX uses GNU C++, but need to define -shared option too, otherwise
10458 # it will coredump.
10459 lt_prog_compiler_pic
='-fPIC -shared'
10463 if test -d /usr
/nec
; then
10464 lt_prog_compiler_pic
=-Kconform_pic
10469 lt_prog_compiler_pic
='-fPIC'
10473 case $cc_basename in
10474 nvcc
*) # Cuda Compiler Driver 2.2
10475 lt_prog_compiler_wl
='-Xlinker '
10476 lt_prog_compiler_pic
='-Xcompiler -fPIC'
10480 # PORTME Check for flag to pass linker flags through the system compiler.
10483 lt_prog_compiler_wl
='-Wl,'
10484 if test "$host_cpu" = ia64
; then
10485 # AIX 5 now supports IA64 processor
10486 lt_prog_compiler_static
='-Bstatic'
10488 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10492 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10493 # This hack is so that the source file can tell whether it is being
10494 # built for inclusion in a dll (and should export symbols for example).
10495 lt_prog_compiler_pic
='-DDLL_EXPORT'
10498 hpux9
* | hpux10
* | hpux11
*)
10499 lt_prog_compiler_wl
='-Wl,'
10500 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10501 # not for PA HP-UX.
10507 lt_prog_compiler_pic
='+Z'
10510 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10511 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10514 irix5
* | irix6
* | nonstopux
*)
10515 lt_prog_compiler_wl
='-Wl,'
10516 # PIC (with -KPIC) is the default.
10517 lt_prog_compiler_static
='-non_shared'
10520 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10521 case $cc_basename in
10522 # old Intel for x86_64 which still supported -KPIC.
10524 lt_prog_compiler_wl
='-Wl,'
10525 lt_prog_compiler_pic
='-KPIC'
10526 lt_prog_compiler_static
='-static'
10528 # icc used to be incompatible with GCC.
10529 # ICC 10 doesn't accept -KPIC any more.
10531 lt_prog_compiler_wl
='-Wl,'
10532 lt_prog_compiler_pic
='-fPIC'
10533 lt_prog_compiler_static
='-static'
10535 # Lahey Fortran 8.1.
10537 lt_prog_compiler_wl
='-Wl,'
10538 lt_prog_compiler_pic
='--shared'
10539 lt_prog_compiler_static
='--static'
10541 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10542 # Portland Group compilers (*not* the Pentium gcc compiler,
10543 # which looks to be a dead project)
10544 lt_prog_compiler_wl
='-Wl,'
10545 lt_prog_compiler_pic
='-fpic'
10546 lt_prog_compiler_static
='-Bstatic'
10549 lt_prog_compiler_wl
='-Wl,'
10550 # All Alpha code is PIC.
10551 lt_prog_compiler_static
='-non_shared'
10553 xl
* | bgxl
* | bgf
* | mpixl
*)
10554 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10555 lt_prog_compiler_wl
='-Wl,'
10556 lt_prog_compiler_pic
='-qpic'
10557 lt_prog_compiler_static
='-qstaticlink'
10560 case `$CC -V 2>&1 | sed 5q` in
10561 *Sun\ F
* |
*Sun
*Fortran
*)
10562 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10563 lt_prog_compiler_pic
='-KPIC'
10564 lt_prog_compiler_static
='-Bstatic'
10565 lt_prog_compiler_wl
=''
10569 lt_prog_compiler_pic
='-KPIC'
10570 lt_prog_compiler_static
='-Bstatic'
10571 lt_prog_compiler_wl
='-Wl,'
10579 lt_prog_compiler_pic
='-KPIC'
10580 lt_prog_compiler_static
='-Bstatic'
10584 # QNX uses GNU C++, but need to define -shared option too, otherwise
10585 # it will coredump.
10586 lt_prog_compiler_pic
='-fPIC -shared'
10589 osf3
* | osf4
* | osf5
*)
10590 lt_prog_compiler_wl
='-Wl,'
10591 # All OSF/1 code is PIC.
10592 lt_prog_compiler_static
='-non_shared'
10596 lt_prog_compiler_static
='-non_shared'
10600 lt_prog_compiler_pic
='-KPIC'
10601 lt_prog_compiler_static
='-Bstatic'
10602 case $cc_basename in
10603 f77
* | f90
* | f95
*)
10604 lt_prog_compiler_wl
='-Qoption ld ';;
10606 lt_prog_compiler_wl
='-Wl,';;
10611 lt_prog_compiler_wl
='-Qoption ld '
10612 lt_prog_compiler_pic
='-PIC'
10613 lt_prog_compiler_static
='-Bstatic'
10616 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10617 lt_prog_compiler_wl
='-Wl,'
10618 lt_prog_compiler_pic
='-KPIC'
10619 lt_prog_compiler_static
='-Bstatic'
10623 if test -d /usr
/nec
;then
10624 lt_prog_compiler_pic
='-Kconform_pic'
10625 lt_prog_compiler_static
='-Bstatic'
10629 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10630 lt_prog_compiler_wl
='-Wl,'
10631 lt_prog_compiler_pic
='-KPIC'
10632 lt_prog_compiler_static
='-Bstatic'
10636 lt_prog_compiler_wl
='-Wl,'
10637 lt_prog_compiler_can_build_shared
=no
10641 lt_prog_compiler_pic
='-pic'
10642 lt_prog_compiler_static
='-Bstatic'
10646 lt_prog_compiler_can_build_shared
=no
10652 # For platforms which do not support PIC, -DPIC is meaningless:
10654 lt_prog_compiler_pic
=
10657 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10661 $as_echo "$lt_prog_compiler_pic" >&6; }
10669 # Check to make sure the PIC flag actually works.
10671 if test -n "$lt_prog_compiler_pic"; then
10672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10673 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10674 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10675 $as_echo_n "(cached) " >&6
10677 lt_cv_prog_compiler_pic_works
=no
10678 ac_outfile
=conftest.
$ac_objext
10679 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10680 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10681 # Insert the option either (1) after the last *FLAGS variable, or
10682 # (2) before a word containing "conftest.", or (3) at the end.
10683 # Note that $ac_compile itself does not contain backslashes and begins
10684 # with a dollar sign (not a hyphen), so the echo should work correctly.
10685 # The option is referenced via a variable to avoid confusing sed.
10686 lt_compile
=`echo "$ac_compile" | $SED \
10687 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10688 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10689 -e 's:$: $lt_compiler_flag:'`
10690 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10691 (eval "$lt_compile" 2>conftest.err
)
10693 cat conftest.err
>&5
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 if (exit $ac_status) && test -s "$ac_outfile"; then
10696 # The compiler can only warn and ignore the option if not recognized
10697 # So say no if there are warnings other than the usual output.
10698 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10699 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10700 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10701 lt_cv_prog_compiler_pic_works
=yes
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10708 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10710 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10711 case $lt_prog_compiler_pic in
10713 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10716 lt_prog_compiler_pic
=
10717 lt_prog_compiler_can_build_shared
=no
10728 # Check to make sure the static flag actually works.
10730 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10732 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10733 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10734 $as_echo_n "(cached) " >&6
10736 lt_cv_prog_compiler_static_works
=no
10737 save_LDFLAGS
="$LDFLAGS"
10738 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10739 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10740 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10741 # The linker can only warn and ignore the option if not recognized
10742 # So say no if there are warnings
10743 if test -s conftest.err
; then
10744 # Append any errors to the config.log.
10745 cat conftest.err
1>&5
10746 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10747 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10748 if diff conftest.exp conftest.er2
>/dev
/null
; then
10749 lt_cv_prog_compiler_static_works
=yes
10752 lt_cv_prog_compiler_static_works
=yes
10756 LDFLAGS
="$save_LDFLAGS"
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10760 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10762 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10765 lt_prog_compiler_static
=
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10775 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10776 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10777 $as_echo_n "(cached) " >&6
10779 lt_cv_prog_compiler_c_o
=no
10780 $RM -r conftest
2>/dev
/null
10784 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10786 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10787 # Insert the option either (1) after the last *FLAGS variable, or
10788 # (2) before a word containing "conftest.", or (3) at the end.
10789 # Note that $ac_compile itself does not contain backslashes and begins
10790 # with a dollar sign (not a hyphen), so the echo should work correctly.
10791 lt_compile
=`echo "$ac_compile" | $SED \
10792 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10793 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10794 -e 's:$: $lt_compiler_flag:'`
10795 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10796 (eval "$lt_compile" 2>out
/conftest.err
)
10798 cat out
/conftest.err
>&5
10799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10800 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10802 # The compiler can only warn and ignore the option if not recognized
10803 # So say no if there are warnings
10804 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10805 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10806 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10807 lt_cv_prog_compiler_c_o
=yes
10812 # SGI C++ compiler will create directory out/ii_files/ for
10813 # template instantiation
10814 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10815 $RM out
/* && rmdir out
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10822 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10830 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10831 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10832 $as_echo_n "(cached) " >&6
10834 lt_cv_prog_compiler_c_o
=no
10835 $RM -r conftest
2>/dev
/null
10839 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10841 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10842 # Insert the option either (1) after the last *FLAGS variable, or
10843 # (2) before a word containing "conftest.", or (3) at the end.
10844 # Note that $ac_compile itself does not contain backslashes and begins
10845 # with a dollar sign (not a hyphen), so the echo should work correctly.
10846 lt_compile
=`echo "$ac_compile" | $SED \
10847 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10848 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10849 -e 's:$: $lt_compiler_flag:'`
10850 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10851 (eval "$lt_compile" 2>out
/conftest.err
)
10853 cat out
/conftest.err
>&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10857 # The compiler can only warn and ignore the option if not recognized
10858 # So say no if there are warnings
10859 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10860 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10861 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10862 lt_cv_prog_compiler_c_o
=yes
10867 # SGI C++ compiler will create directory out/ii_files/ for
10868 # template instantiation
10869 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10870 $RM out
/* && rmdir out
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10877 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10882 hard_links
="nottested"
10883 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10884 # do not overwrite the value of need_locks provided by the user
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10886 $as_echo_n "checking if we can lock with hard links... " >&6; }
10889 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10891 ln conftest.a conftest.b
2>&5 || hard_links
=no
10892 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10894 $as_echo "$hard_links" >&6; }
10895 if test "$hard_links" = no
; then
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10897 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10910 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10913 allow_undefined_flag
=
10914 always_export_symbols
=no
10916 archive_expsym_cmds
=
10917 compiler_needs_object
=no
10918 enable_shared_with_static_runtimes
=no
10919 export_dynamic_flag_spec
=
10920 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10921 hardcode_automatic
=no
10923 hardcode_direct_absolute
=no
10924 hardcode_libdir_flag_spec
=
10925 hardcode_libdir_flag_spec_ld
=
10926 hardcode_libdir_separator
=
10927 hardcode_minus_L
=no
10928 hardcode_shlibpath_var
=unsupported
10930 link_all_deplibs
=unknown
10932 module_expsym_cmds
=
10933 old_archive_from_new_cmds
=
10934 old_archive_from_expsyms_cmds
=
10935 thread_safe_flag_spec
=
10936 whole_archive_flag_spec
=
10937 # include_expsyms should be a list of space-separated symbols to be *always*
10938 # included in the symbol list
10940 # exclude_expsyms can be an extended regexp of symbols to exclude
10941 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10942 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10943 # as well as any symbol that contains `d'.
10944 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10945 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10946 # platforms (ab)use it in PIC code, but their linkers get confused if
10947 # the symbol is explicitly referenced. Since portable code cannot
10948 # rely on this symbol name, it's probably fine to never include it in
10949 # preloaded symbol tables.
10950 # Exclude shared library initialization/finalization symbols.
10951 extract_expsyms_cmds
=
10954 cygwin
* | mingw
* | pw32
* | cegcc
*)
10955 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10956 # When not using gcc, we currently assume that we are using
10957 # Microsoft Visual C++.
10958 if test "$GCC" != yes; then
10963 # we just hope/assume this is gcc and not c89 (= MSVC++)
10973 # On some targets, GNU ld is compatible enough with the native linker
10974 # that we're better off using the native interface for both.
10975 lt_use_gnu_ld_interface
=no
10976 if test "$with_gnu_ld" = yes; then
10979 # The AIX port of GNU ld has always aspired to compatibility
10980 # with the native linker. However, as the warning in the GNU ld
10981 # block says, versions before 2.19.5* couldn't really create working
10982 # shared libraries, regardless of the interface used.
10983 case `$LD -v 2>&1` in
10984 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10985 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10986 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10988 lt_use_gnu_ld_interface
=yes
10993 lt_use_gnu_ld_interface
=yes
10998 if test "$lt_use_gnu_ld_interface" = yes; then
10999 # If archive_cmds runs LD, not CC, wlarc should be empty
11002 # Set some defaults for GNU ld with shared library support. These
11003 # are reset later if shared libraries are not supported. Putting them
11004 # here allows them to be overridden if necessary.
11005 runpath_var
=LD_RUN_PATH
11006 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11007 export_dynamic_flag_spec
='${wl}--export-dynamic'
11008 # ancient GNU ld didn't support --whole-archive et. al.
11009 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11010 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11012 whole_archive_flag_spec
=
11014 supports_anon_versioning
=no
11015 case `$LD -v 2>&1` in
11016 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11017 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11018 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11019 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11020 *\
2.11.
*) ;; # other 2.11 versions
11021 *) supports_anon_versioning
=yes ;;
11024 # See if GNU ld supports shared libraries.
11027 # On AIX/PPC, the GNU linker is very broken
11028 if test "$host_cpu" != ia64
; then
11032 *** Warning: the GNU linker, at least up to release 2.19, is reported
11033 *** to be unable to reliably create shared libraries on AIX.
11034 *** Therefore, libtool is disabling shared libraries support. If you
11035 *** really care for shared libraries, you may want to install binutils
11036 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11037 *** You will then need to restart the configuration process.
11046 # see comment about AmigaOS4 .so support
11047 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11048 archive_expsym_cmds
=''
11051 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)'
11052 hardcode_libdir_flag_spec
='-L$libdir'
11053 hardcode_minus_L
=yes
11059 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11060 allow_undefined_flag
=unsupported
11061 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11062 # support --undefined. This deserves some investigation. FIXME
11063 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11069 cygwin
* | mingw
* | pw32
* | cegcc
*)
11070 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11071 # as there is no search path for DLLs.
11072 hardcode_libdir_flag_spec
='-L$libdir'
11073 export_dynamic_flag_spec
='${wl}--export-all-symbols'
11074 allow_undefined_flag
=unsupported
11075 always_export_symbols
=no
11076 enable_shared_with_static_runtimes
=yes
11077 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11079 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11080 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11081 # If the export-symbols file already is a .def file (1st line
11082 # is EXPORTS), use it as is; otherwise, prepend...
11083 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11084 cp $export_symbols $output_objdir/$soname.def;
11086 echo EXPORTS > $output_objdir/$soname.def;
11087 cat $export_symbols >> $output_objdir/$soname.def;
11089 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11096 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11097 link_all_deplibs
=yes
11102 hardcode_shlibpath_var
=no
11103 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11104 export_dynamic_flag_spec
='${wl}-E'
11105 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11106 # Instead, shared libraries are loaded at an image base (0x10000000 by
11107 # default) and relocated if they conflict, which is a slow very memory
11108 # consuming and fragmenting process. To avoid this, we pick a random,
11109 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11110 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11111 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11112 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'
11115 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11117 if test "$host_os" = linux-dietlibc
; then
11118 case $cc_basename in
11119 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11122 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11123 && test "$tmp_diet" = no
11126 tmp_sharedflag
='-shared'
11127 case $cc_basename,$host_cpu in
11128 pgcc
*) # Portland Group C compiler
11129 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11130 tmp_addflag
=' $pic_flag'
11132 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11133 # Portland Group f77 and f90 compilers
11134 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11135 tmp_addflag
=' $pic_flag -Mnomain' ;;
11136 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11137 tmp_addflag
=' -i_dynamic' ;;
11138 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11139 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11140 ifc
* | ifort
*) # Intel Fortran compiler
11141 tmp_addflag
=' -nofor_main' ;;
11142 lf95
*) # Lahey Fortran 8.1
11143 whole_archive_flag_spec
=
11144 tmp_sharedflag
='--shared' ;;
11145 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11146 tmp_sharedflag
='-qmkshrobj'
11148 nvcc
*) # Cuda Compiler Driver 2.2
11149 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11150 compiler_needs_object
=yes
11153 case `$CC -V 2>&1 | sed 5q` in
11154 *Sun\ C
*) # Sun C 5.9
11155 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11156 compiler_needs_object
=yes
11157 tmp_sharedflag
='-G' ;;
11158 *Sun\ F
*) # Sun Fortran 8.3
11159 tmp_sharedflag
='-G' ;;
11161 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11163 if test "x$supports_anon_versioning" = xyes
; then
11164 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11165 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11166 echo "local: *; };" >> $output_objdir/$libname.ver~
11167 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11170 case $cc_basename in
11171 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11172 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11173 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11174 hardcode_libdir_flag_spec
=
11175 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11176 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11177 if test "x$supports_anon_versioning" = xyes
; then
11178 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11179 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11180 echo "local: *; };" >> $output_objdir/$libname.ver~
11181 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11191 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11192 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11195 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11196 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11201 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11205 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11206 *** create shared libraries on Solaris systems. Therefore, libtool
11207 *** is disabling shared libraries support. We urge you to upgrade GNU
11208 *** binutils to release 2.9.1 or newer. Another option is to modify
11209 *** your PATH or compiler configuration so that the native linker is
11210 *** used, and then restart.
11213 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11214 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11215 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11221 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11222 case `$LD -v 2>&1` in
11223 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11227 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11228 *** reliably create shared libraries on SCO systems. Therefore, libtool
11229 *** is disabling shared libraries support. We urge you to upgrade GNU
11230 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11231 *** your PATH or compiler configuration so that the native linker is
11232 *** used, and then restart.
11237 # For security reasons, it is highly recommended that you always
11238 # use absolute paths for naming shared libraries, and exclude the
11239 # DT_RUNPATH tag from executables and libraries. But doing so
11240 # requires that you compile everything twice, which is a pain.
11241 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11242 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11243 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11244 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11253 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11255 hardcode_direct
=yes
11256 hardcode_shlibpath_var
=no
11260 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11261 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11262 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11269 if test "$ld_shlibs" = no
; then
11271 hardcode_libdir_flag_spec
=
11272 export_dynamic_flag_spec
=
11273 whole_archive_flag_spec
=
11276 # PORTME fill in a description of your system's linker (not GNU ld)
11279 allow_undefined_flag
=unsupported
11280 always_export_symbols
=yes
11281 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'
11282 # Note: this linker hardcodes the directories in LIBPATH if there
11283 # are no directories specified by -L.
11284 hardcode_minus_L
=yes
11285 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11286 # Neither direct hardcoding nor static linking is supported with a
11288 hardcode_direct
=unsupported
11293 if test "$host_cpu" = ia64
; then
11294 # On IA64, the linker does run time linking by default, so we don't
11295 # have to do anything special.
11296 aix_use_runtimelinking
=no
11297 exp_sym_flag
='-Bexport'
11300 # If we're using GNU nm, then we don't want the "-C" option.
11301 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11302 # Also, AIX nm treats weak defined symbols like other global
11303 # defined symbols, whereas GNU nm marks them as "W".
11304 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11305 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11307 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'
11309 aix_use_runtimelinking
=no
11311 # Test if we are trying to use run time linking or normal
11312 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11313 # need to do runtime linking.
11314 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11315 for ld_flag
in $LDFLAGS; do
11316 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11317 aix_use_runtimelinking
=yes
11324 exp_sym_flag
='-bexport'
11325 no_entry_flag
='-bnoentry'
11328 # When large executables or shared objects are built, AIX ld can
11329 # have problems creating the table of contents. If linking a library
11330 # or program results in "error TOC overflow" add -mminimal-toc to
11331 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11332 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11335 hardcode_direct
=yes
11336 hardcode_direct_absolute
=yes
11337 hardcode_libdir_separator
=':'
11338 link_all_deplibs
=yes
11339 file_list_spec
='${wl}-f,'
11341 if test "$GCC" = yes; then
11342 case $host_os in aix4.
[012]|aix4.
[012].
*)
11343 # We only want to do this on AIX 4.2 and lower, the check
11344 # below for broken collect2 doesn't work under 4.3+
11345 collect2name
=`${CC} -print-prog-name=collect2`
11346 if test -f "$collect2name" &&
11347 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11349 # We have reworked collect2
11352 # We have old collect2
11353 hardcode_direct
=unsupported
11354 # It fails to find uninstalled libraries when the uninstalled
11355 # path is not listed in the libpath. Setting hardcode_minus_L
11356 # to unsupported forces relinking
11357 hardcode_minus_L
=yes
11358 hardcode_libdir_flag_spec
='-L$libdir'
11359 hardcode_libdir_separator
=
11363 shared_flag
='-shared'
11364 if test "$aix_use_runtimelinking" = yes; then
11365 shared_flag
="$shared_flag "'${wl}-G'
11369 if test "$host_cpu" = ia64
; then
11370 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11371 # chokes on -Wl,-G. The following line is correct:
11374 if test "$aix_use_runtimelinking" = yes; then
11375 shared_flag
='${wl}-G'
11377 shared_flag
='${wl}-bM:SRE'
11382 export_dynamic_flag_spec
='${wl}-bexpall'
11383 # It seems that -bexpall does not export symbols beginning with
11384 # underscore (_), so it is better to generate a list of symbols to export.
11385 always_export_symbols
=yes
11386 if test "$aix_use_runtimelinking" = yes; then
11387 # Warning - without using the other runtime loading flags (-brtl),
11388 # -berok will link without error, but may produce a broken library.
11389 allow_undefined_flag
='-berok'
11390 # Determine the default libpath from the value encoded in an
11391 # empty executable.
11392 if test x
$gcc_no_link = xyes
; then
11393 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11406 if ac_fn_c_try_link
"$LINENO"; then :
11408 lt_aix_libpath_sed
='
11409 /Import File Strings/,/^$/ {
11415 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11416 # Check for a 64-bit object if we didn't find anything.
11417 if test -z "$aix_libpath"; then
11418 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11421 rm -f core conftest.err conftest.
$ac_objext \
11422 conftest
$ac_exeext conftest.
$ac_ext
11423 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11425 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11426 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11428 if test "$host_cpu" = ia64
; then
11429 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11430 allow_undefined_flag
="-z nodefs"
11431 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"
11433 # Determine the default libpath from the value encoded in an
11434 # empty executable.
11435 if test x
$gcc_no_link = xyes
; then
11436 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11449 if ac_fn_c_try_link
"$LINENO"; then :
11451 lt_aix_libpath_sed
='
11452 /Import File Strings/,/^$/ {
11458 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11459 # Check for a 64-bit object if we didn't find anything.
11460 if test -z "$aix_libpath"; then
11461 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11464 rm -f core conftest.err conftest.
$ac_objext \
11465 conftest
$ac_exeext conftest.
$ac_ext
11466 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11468 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11469 # Warning - without using the other run time loading flags,
11470 # -berok will link without error, but may produce a broken library.
11471 no_undefined_flag
=' ${wl}-bernotok'
11472 allow_undefined_flag
=' ${wl}-berok'
11473 if test "$with_gnu_ld" = yes; then
11474 # We only use this code for GNU lds that support --whole-archive.
11475 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11477 # Exported symbols can be pulled into shared objects from archives
11478 whole_archive_flag_spec
='$convenience'
11480 archive_cmds_need_lc
=yes
11481 # This is similar to how AIX traditionally builds its shared libraries.
11482 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'
11490 # see comment about AmigaOS4 .so support
11491 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11492 archive_expsym_cmds
=''
11495 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)'
11496 hardcode_libdir_flag_spec
='-L$libdir'
11497 hardcode_minus_L
=yes
11503 export_dynamic_flag_spec
=-rdynamic
11506 cygwin
* | mingw
* | pw32
* | cegcc
*)
11507 # When not using gcc, we currently assume that we are using
11508 # Microsoft Visual C++.
11509 # hardcode_libdir_flag_spec is actually meaningless, as there is
11510 # no search path for DLLs.
11511 hardcode_libdir_flag_spec
=' '
11512 allow_undefined_flag
=unsupported
11513 # Tell ltmain to make .lib files, not .a files.
11515 # Tell ltmain to make .dll files, not .so files.
11517 # FIXME: Setting linknames here is a bad hack.
11518 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11519 # The linker will automatically build a .lib file if we build a DLL.
11520 old_archive_from_new_cmds
='true'
11521 # FIXME: Should let the user specify the lib program.
11522 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11523 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11524 enable_shared_with_static_runtimes
=yes
11527 darwin
* | rhapsody
*)
11530 archive_cmds_need_lc
=no
11532 hardcode_automatic
=yes
11533 hardcode_shlibpath_var
=unsupported
11534 if test "$lt_cv_ld_force_load" = "yes"; then
11535 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11537 whole_archive_flag_spec
=''
11539 link_all_deplibs
=yes
11540 allow_undefined_flag
="$_lt_dar_allow_undefined"
11541 case $cc_basename in
11542 ifort
*) _lt_dar_can_shared
=yes ;;
11543 *) _lt_dar_can_shared
=$GCC ;;
11545 if test "$_lt_dar_can_shared" = "yes"; then
11546 output_verbose_link_cmd
=func_echo_all
11547 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11548 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11549 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}"
11550 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}"
11559 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11560 hardcode_libdir_flag_spec
='-L$libdir'
11561 hardcode_shlibpath_var
=no
11564 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11565 # support. Future versions do this automatically, but an explicit c++rt0.o
11566 # does not break anything, and helps significantly (at the cost of a little
11569 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11570 hardcode_libdir_flag_spec
='-R$libdir'
11571 hardcode_direct
=yes
11572 hardcode_shlibpath_var
=no
11575 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11577 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11578 hardcode_direct
=yes
11579 hardcode_minus_L
=yes
11580 hardcode_shlibpath_var
=no
11583 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11584 freebsd
* | dragonfly
*)
11585 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11586 hardcode_libdir_flag_spec
='-R$libdir'
11587 hardcode_direct
=yes
11588 hardcode_shlibpath_var
=no
11592 if test "$GCC" = yes; then
11593 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'
11595 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'
11597 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11598 hardcode_libdir_separator
=:
11599 hardcode_direct
=yes
11601 # hardcode_minus_L: Not really in the search PATH,
11602 # but as the default location of the library.
11603 hardcode_minus_L
=yes
11604 export_dynamic_flag_spec
='${wl}-E'
11608 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11609 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11611 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11613 if test "$with_gnu_ld" = no
; then
11614 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11615 hardcode_libdir_flag_spec_ld
='+b $libdir'
11616 hardcode_libdir_separator
=:
11617 hardcode_direct
=yes
11618 hardcode_direct_absolute
=yes
11619 export_dynamic_flag_spec
='${wl}-E'
11620 # hardcode_minus_L: Not really in the search PATH,
11621 # but as the default location of the library.
11622 hardcode_minus_L
=yes
11627 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11630 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11633 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11636 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11642 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11645 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11649 # Older versions of the 11.00 compiler do not understand -b yet
11650 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11652 $as_echo_n "checking if $CC understands -b... " >&6; }
11653 if test "${lt_cv_prog_compiler__b+set}" = set; then :
11654 $as_echo_n "(cached) " >&6
11656 lt_cv_prog_compiler__b
=no
11657 save_LDFLAGS
="$LDFLAGS"
11658 LDFLAGS
="$LDFLAGS -b"
11659 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11660 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11661 # The linker can only warn and ignore the option if not recognized
11662 # So say no if there are warnings
11663 if test -s conftest.err
; then
11664 # Append any errors to the config.log.
11665 cat conftest.err
1>&5
11666 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11667 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11668 if diff conftest.exp conftest.er2
>/dev
/null
; then
11669 lt_cv_prog_compiler__b
=yes
11672 lt_cv_prog_compiler__b
=yes
11676 LDFLAGS
="$save_LDFLAGS"
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11680 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11682 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11683 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11685 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11691 if test "$with_gnu_ld" = no
; then
11692 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11693 hardcode_libdir_separator
=:
11698 hardcode_shlibpath_var
=no
11701 hardcode_direct
=yes
11702 hardcode_direct_absolute
=yes
11703 export_dynamic_flag_spec
='${wl}-E'
11705 # hardcode_minus_L: Not really in the search PATH,
11706 # but as the default location of the library.
11707 hardcode_minus_L
=yes
11713 irix5
* | irix6
* | nonstopux
*)
11714 if test "$GCC" = yes; then
11715 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11716 # Try to use the -exported_symbol ld option, if it does not
11717 # work, assume that -exports_file does not work either and
11718 # implicitly export all symbols.
11719 save_LDFLAGS
="$LDFLAGS"
11720 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11721 if test x
$gcc_no_link = xyes
; then
11722 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11728 if ac_fn_c_try_link
"$LINENO"; then :
11729 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11732 rm -f core conftest.err conftest.
$ac_objext \
11733 conftest
$ac_exeext conftest.
$ac_ext
11734 LDFLAGS
="$save_LDFLAGS"
11736 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11737 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11739 archive_cmds_need_lc
='no'
11740 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11741 hardcode_libdir_separator
=:
11743 link_all_deplibs
=yes
11747 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11748 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11750 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11752 hardcode_libdir_flag_spec
='-R$libdir'
11753 hardcode_direct
=yes
11754 hardcode_shlibpath_var
=no
11758 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11759 hardcode_direct
=yes
11760 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11761 hardcode_libdir_separator
=:
11762 hardcode_shlibpath_var
=no
11769 if test -f /usr
/libexec
/ld.so
; then
11770 hardcode_direct
=yes
11771 hardcode_shlibpath_var
=no
11772 hardcode_direct_absolute
=yes
11773 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11774 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11775 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11776 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11777 export_dynamic_flag_spec
='${wl}-E'
11780 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11781 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11782 hardcode_libdir_flag_spec
='-R$libdir'
11785 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11786 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11796 hardcode_libdir_flag_spec
='-L$libdir'
11797 hardcode_minus_L
=yes
11798 allow_undefined_flag
=unsupported
11799 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'
11800 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11804 if test "$GCC" = yes; then
11805 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11806 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11808 allow_undefined_flag
=' -expect_unresolved \*'
11809 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11811 archive_cmds_need_lc
='no'
11812 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11813 hardcode_libdir_separator
=:
11816 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11817 if test "$GCC" = yes; then
11818 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11819 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11820 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11822 allow_undefined_flag
=' -expect_unresolved \*'
11823 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11824 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~
11825 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11827 # Both c and cxx compiler support -rpath directly
11828 hardcode_libdir_flag_spec
='-rpath $libdir'
11830 archive_cmds_need_lc
='no'
11831 hardcode_libdir_separator
=:
11835 no_undefined_flag
=' -z defs'
11836 if test "$GCC" = yes; then
11838 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11839 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11840 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11842 case `$CC -V 2>&1` in
11845 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11846 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11847 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11851 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11852 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11853 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11857 hardcode_libdir_flag_spec
='-R$libdir'
11858 hardcode_shlibpath_var
=no
11860 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11862 # The compiler driver will combine and reorder linker options,
11863 # but understands `-z linker_flag'. GCC discards it without `$wl',
11864 # but is careful enough not to reorder.
11865 # Supported since Solaris 2.6 (maybe 2.5.1?)
11866 if test "$GCC" = yes; then
11867 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11869 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11873 link_all_deplibs
=yes
11877 if test "x$host_vendor" = xsequent
; then
11878 # Use $CC to link under sequent, because it throws in some extra .o
11879 # files that make .init and .fini sections work.
11880 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11882 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11884 hardcode_libdir_flag_spec
='-L$libdir'
11885 hardcode_direct
=yes
11886 hardcode_minus_L
=yes
11887 hardcode_shlibpath_var
=no
11891 case $host_vendor in
11893 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11894 hardcode_direct
=yes # is this really true???
11897 ## LD is ld it makes a PLAMLIB
11898 ## CC just makes a GrossModule.
11899 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11900 reload_cmds
='$CC -r -o $output$reload_objs'
11904 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11905 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11908 runpath_var
='LD_RUN_PATH'
11909 hardcode_shlibpath_var
=no
11913 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11914 hardcode_shlibpath_var
=no
11915 export_dynamic_flag_spec
='-Bexport'
11919 if test -d /usr
/nec
; then
11920 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11921 hardcode_shlibpath_var
=no
11922 runpath_var
=LD_RUN_PATH
11923 hardcode_runpath_var
=yes
11928 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11929 no_undefined_flag
='${wl}-z,text'
11930 archive_cmds_need_lc
=no
11931 hardcode_shlibpath_var
=no
11932 runpath_var
='LD_RUN_PATH'
11934 if test "$GCC" = yes; then
11935 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11936 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11938 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11939 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11943 sysv5
* | sco3.2v5
* | sco5v6
*)
11944 # Note: We can NOT use -z defs as we might desire, because we do not
11945 # link with -lc, and that would cause any symbols used from libc to
11946 # always be unresolved, which means just about no library would
11947 # ever link correctly. If we're not using GNU ld we use -z text
11948 # though, which does catch some bad symbols but isn't as heavy-handed
11950 no_undefined_flag
='${wl}-z,text'
11951 allow_undefined_flag
='${wl}-z,nodefs'
11952 archive_cmds_need_lc
=no
11953 hardcode_shlibpath_var
=no
11954 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11955 hardcode_libdir_separator
=':'
11956 link_all_deplibs
=yes
11957 export_dynamic_flag_spec
='${wl}-Bexport'
11958 runpath_var
='LD_RUN_PATH'
11960 if test "$GCC" = yes; then
11961 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11962 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11964 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11965 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11970 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11971 hardcode_libdir_flag_spec
='-L$libdir'
11972 hardcode_shlibpath_var
=no
11980 if test x
$host_vendor = xsni
; then
11982 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11983 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11990 $as_echo "$ld_shlibs" >&6; }
11991 test "$ld_shlibs" = no
&& can_build_shared
=no
11993 with_gnu_ld
=$with_gnu_ld
12010 # Do we need to explicitly link libc?
12012 case "x$archive_cmds_need_lc" in
12014 # Assume -lc should be added
12015 archive_cmds_need_lc
=yes
12017 if test "$enable_shared" = yes && test "$GCC" = yes; then
12018 case $archive_cmds in
12020 # FIXME: we may have to deal with multi-command sequences.
12023 # Test whether the compiler implicitly links with -lc since on some
12024 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12025 # to ld, don't add -lc before -lgcc.
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12027 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12028 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
12029 $as_echo_n "(cached) " >&6
12032 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12035 (eval $ac_compile) 2>&5
12037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12038 test $ac_status = 0; } 2>conftest.err
; then
12041 libobjs
=conftest.
$ac_objext
12043 wl
=$lt_prog_compiler_wl
12044 pic_flag
=$lt_prog_compiler_pic
12050 lt_save_allow_undefined_flag
=$allow_undefined_flag
12051 allow_undefined_flag
=
12052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12053 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12056 test $ac_status = 0; }
12058 lt_cv_archive_cmds_need_lc
=no
12060 lt_cv_archive_cmds_need_lc
=yes
12062 allow_undefined_flag
=$lt_save_allow_undefined_flag
12064 cat conftest.err
1>&5
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12070 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12071 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12235 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12237 if test "$GCC" = yes; then
12239 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12240 *) lt_awk_arg
="/^libraries:/" ;;
12243 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
12244 *) lt_sed_strip_eq
="s,=/,/,g" ;;
12246 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12247 case $lt_search_path_spec in
12249 # if the path contains ";" then we assume it to be the separator
12250 # otherwise default to the standard path separator (i.e. ":") - it is
12251 # assumed that no part of a normal pathname contains ";" but that should
12252 # okay in the real world where ";" in dirpaths is itself problematic.
12253 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12256 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12259 # Ok, now we have the path, separated by spaces, we can step through it
12260 # and add multilib dir if necessary.
12261 lt_tmp_lt_search_path_spec
=
12262 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12263 for lt_sys_path
in $lt_search_path_spec; do
12264 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12265 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12267 test -d "$lt_sys_path" && \
12268 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12271 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12272 BEGIN {RS=" "; FS="/|\n";} {
12275 for (lt_i = NF; lt_i > 0; lt_i--) {
12276 if ($lt_i != "" && $lt_i != ".") {
12277 if ($lt_i == "..") {
12280 if (lt_count == 0) {
12281 lt_foo="/" $lt_i lt_foo;
12288 if (lt_foo != "") { lt_freq[lt_foo]++; }
12289 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12291 # AWK program above erroneously prepends '/' to C:/dos/paths
12294 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12295 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12297 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12299 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12301 library_names_spec
=
12302 libname_spec
='lib$name'
12306 postuninstall_cmds
=
12310 shlibpath_overrides_runpath
=unknown
12312 dynamic_linker
="$host_os ld.so"
12313 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12314 need_lib_prefix
=unknown
12315 hardcode_into_libs
=no
12317 # when you set need_version to no, make sure it does not cause -set_version
12318 # flags to be left without arguments
12319 need_version
=unknown
12324 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12325 shlibpath_var
=LIBPATH
12327 # AIX 3 has no versioning support, so we append a major version to the name.
12328 soname_spec
='${libname}${release}${shared_ext}$major'
12335 hardcode_into_libs
=yes
12336 if test "$host_cpu" = ia64
; then
12337 # AIX 5 supports IA64
12338 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12339 shlibpath_var
=LD_LIBRARY_PATH
12341 # With GCC up to 2.95.x, collect2 would create an import file
12342 # for dependence libraries. The import file would start with
12343 # the line `#! .'. This would cause the generated library to
12344 # depend on `.', always an invalid library. This was fixed in
12345 # development snapshots of GCC prior to 3.0.
12347 aix4 | aix4.
[01] | aix4.
[01].
*)
12348 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12350 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12353 can_build_shared
=no
12357 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12358 # soname into executable. Probably we can add versioning support to
12359 # collect2, so additional links can be useful in future.
12360 if test "$aix_use_runtimelinking" = yes; then
12361 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12362 # instead of lib<name>.a to let people know that these are not
12363 # typical AIX shared libraries.
12364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12366 # We preserve .a as extension for shared libraries through AIX4.2
12367 # and later when we are not doing run time linking.
12368 library_names_spec
='${libname}${release}.a $libname.a'
12369 soname_spec
='${libname}${release}${shared_ext}$major'
12371 shlibpath_var
=LIBPATH
12378 # Since July 2007 AmigaOS4 officially supports .so libraries.
12379 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12383 library_names_spec
='$libname.ixlibrary $libname.a'
12384 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12385 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
12391 library_names_spec
='${libname}${shared_ext}'
12392 dynamic_linker
="$host_os ld.so"
12393 shlibpath_var
=LIBRARY_PATH
12399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12400 soname_spec
='${libname}${release}${shared_ext}$major'
12401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12402 shlibpath_var
=LD_LIBRARY_PATH
12403 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12404 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12405 # the default ld.so.conf also contains /usr/contrib/lib and
12406 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12407 # libtool to hard-code these into programs
12410 cygwin
* | mingw
* | pw32
* | cegcc
*)
12411 version_type
=windows
12416 case $GCC,$host_os in
12417 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
12418 library_names_spec
='$libname.dll.a'
12419 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12420 postinstall_cmds
='base_file=`basename \${file}`~
12421 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12422 dldir=$destdir/`dirname \$dlpath`~
12423 test -d \$dldir || mkdir -p \$dldir~
12424 $install_prog $dir/$dlname \$dldir/$dlname~
12425 chmod a+x \$dldir/$dlname~
12426 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12427 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12429 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12430 dlpath=$dir/\$dldll~
12432 shlibpath_overrides_runpath
=yes
12436 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12437 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12439 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12442 # MinGW DLLs use traditional 'lib' prefix
12443 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12446 # pw32 DLLs use 'pw' prefix rather than 'lib'
12447 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12453 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12456 dynamic_linker
='Win32 ld.exe'
12457 # FIXME: first we should search . and the directory the executable is in
12461 darwin
* | rhapsody
*)
12462 dynamic_linker
="$host_os dyld"
12463 version_type
=darwin
12466 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12467 soname_spec
='${libname}${release}${major}$shared_ext'
12468 shlibpath_overrides_runpath
=yes
12469 shlibpath_var
=DYLD_LIBRARY_PATH
12470 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12472 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12473 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12481 soname_spec
='${libname}${release}${shared_ext}$major'
12482 shlibpath_var
=LD_LIBRARY_PATH
12485 freebsd
* | dragonfly
*)
12486 # DragonFly does not have aout. When/if they implement a new
12487 # versioning mechanism, adjust this.
12488 if test -x /usr
/bin
/objformat
; then
12489 objformat
=`/usr/bin/objformat`
12492 freebsd
[123]*) objformat
=aout
;;
12493 *) objformat
=elf
;;
12496 version_type
=freebsd-
$objformat
12497 case $version_type in
12499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12504 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12508 shlibpath_var
=LD_LIBRARY_PATH
12511 shlibpath_overrides_runpath
=yes
12513 freebsd3.
[01]* | freebsdelf3.
[01]*)
12514 shlibpath_overrides_runpath
=yes
12515 hardcode_into_libs
=yes
12517 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12518 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12519 shlibpath_overrides_runpath
=no
12520 hardcode_into_libs
=yes
12522 *) # from 4.6 on, and DragonFly
12523 shlibpath_overrides_runpath
=yes
12524 hardcode_into_libs
=yes
12533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12534 soname_spec
='${libname}${release}${shared_ext}$major'
12535 shlibpath_var
=LD_LIBRARY_PATH
12536 hardcode_into_libs
=yes
12543 dynamic_linker
="$host_os runtime_loader"
12544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12545 soname_spec
='${libname}${release}${shared_ext}$major'
12546 shlibpath_var
=LIBRARY_PATH
12547 shlibpath_overrides_runpath
=yes
12548 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
12549 hardcode_into_libs
=yes
12552 hpux9
* | hpux10
* | hpux11
*)
12553 # Give a soname corresponding to the major version so that dld.sl refuses to
12554 # link against other versions.
12561 hardcode_into_libs
=yes
12562 dynamic_linker
="$host_os dld.so"
12563 shlibpath_var
=LD_LIBRARY_PATH
12564 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12566 soname_spec
='${libname}${release}${shared_ext}$major'
12567 if test "X$HPUX_IA64_MODE" = X32
; then
12568 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12570 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12572 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12576 hardcode_into_libs
=yes
12577 dynamic_linker
="$host_os dld.sl"
12578 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12579 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12581 soname_spec
='${libname}${release}${shared_ext}$major'
12582 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12583 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12587 dynamic_linker
="$host_os dld.sl"
12588 shlibpath_var
=SHLIB_PATH
12589 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12591 soname_spec
='${libname}${release}${shared_ext}$major'
12594 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12595 postinstall_cmds
='chmod 555 $lib'
12596 # or fails outright, so override atomically:
12597 install_override_mode
=555
12604 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12605 soname_spec
='${libname}${release}${shared_ext}$major'
12606 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12607 shlibpath_var
=LD_LIBRARY_PATH
12608 shlibpath_overrides_runpath
=no
12609 hardcode_into_libs
=yes
12612 irix5
* | irix6
* | nonstopux
*)
12614 nonstopux
*) version_type
=nonstopux
;;
12616 if test "$lt_cv_prog_gnu_ld" = yes; then
12624 soname_spec
='${libname}${release}${shared_ext}$major'
12625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12627 irix5
* | nonstopux
*)
12628 libsuff
= shlibsuff
=
12631 case $LD in # libtool.m4 will add one of these switches to LD
12632 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12633 libsuff
= shlibsuff
= libmagic
=32-bit;;
12634 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12635 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12636 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12637 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12638 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12642 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12643 shlibpath_overrides_runpath
=no
12644 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12645 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12646 hardcode_into_libs
=yes
12649 # No shared lib support for Linux oldld, aout, or coff.
12650 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12654 # This must be Linux ELF.
12655 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12660 soname_spec
='${libname}${release}${shared_ext}$major'
12661 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12662 shlibpath_var
=LD_LIBRARY_PATH
12663 shlibpath_overrides_runpath
=no
12665 # Some binutils ld are patched to set DT_RUNPATH
12666 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
12667 $as_echo_n "(cached) " >&6
12669 lt_cv_shlibpath_overrides_runpath
=no
12670 save_LDFLAGS
=$LDFLAGS
12671 save_libdir
=$libdir
12672 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12673 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12674 if test x
$gcc_no_link = xyes
; then
12675 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12688 if ac_fn_c_try_link
"$LINENO"; then :
12689 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12690 lt_cv_shlibpath_overrides_runpath
=yes
12693 rm -f core conftest.err conftest.
$ac_objext \
12694 conftest
$ac_exeext conftest.
$ac_ext
12695 LDFLAGS
=$save_LDFLAGS
12696 libdir
=$save_libdir
12700 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12702 # This implies no fast_install, which is unacceptable.
12703 # Some rework will be needed to allow for fast_install
12704 # before this can be enabled.
12705 hardcode_into_libs
=yes
12707 # Append ld.so.conf contents to the search path
12708 if test -f /etc
/ld.so.conf
; then
12709 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;s/"//g;/^$/d' | tr '\n' ' '`
12710 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12713 # We used to test for /lib/ld.so.1 and disable shared libraries on
12714 # powerpc, because MkLinux only supported shared libraries with the
12715 # GNU dynamic linker. Since this was broken with cross compilers,
12716 # most powerpc-linux boxes support dynamic linking these days and
12717 # people can always --disable-shared, the test was removed, and we
12718 # assume the GNU/Linux dynamic linker is in use.
12719 dynamic_linker
='GNU/Linux ld.so'
12726 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12728 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12729 dynamic_linker
='NetBSD (a.out) ld.so'
12731 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12732 soname_spec
='${libname}${release}${shared_ext}$major'
12733 dynamic_linker
='NetBSD ld.elf_so'
12735 shlibpath_var
=LD_LIBRARY_PATH
12736 shlibpath_overrides_runpath
=yes
12737 hardcode_into_libs
=yes
12742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12743 shlibpath_var
=LD_LIBRARY_PATH
12744 shlibpath_overrides_runpath
=yes
12751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12752 soname_spec
='${libname}${release}${shared_ext}$major'
12753 shlibpath_var
=LD_LIBRARY_PATH
12754 shlibpath_overrides_runpath
=no
12755 hardcode_into_libs
=yes
12756 dynamic_linker
='ldqnx.so'
12761 sys_lib_dlsearch_path_spec
="/usr/lib"
12763 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12765 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12766 *) need_version
=no
;;
12768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12769 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12770 shlibpath_var
=LD_LIBRARY_PATH
12771 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12773 openbsd2.
[89] | openbsd2.
[89].
*)
12774 shlibpath_overrides_runpath
=no
12777 shlibpath_overrides_runpath
=yes
12781 shlibpath_overrides_runpath
=yes
12786 libname_spec
='$name'
12789 library_names_spec
='$libname${shared_ext} $libname.a'
12790 dynamic_linker
='OS/2 ld.exe'
12791 shlibpath_var
=LIBPATH
12794 osf3
* | osf4
* | osf5
*)
12798 soname_spec
='${libname}${release}${shared_ext}$major'
12799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12800 shlibpath_var
=LD_LIBRARY_PATH
12801 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12802 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12814 soname_spec
='${libname}${release}${shared_ext}$major'
12815 shlibpath_var
=LD_LIBRARY_PATH
12816 shlibpath_overrides_runpath
=yes
12817 hardcode_into_libs
=yes
12818 # ldd complains unless libraries are executable
12819 postinstall_cmds
='chmod +x $lib'
12824 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12825 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12826 shlibpath_var
=LD_LIBRARY_PATH
12827 shlibpath_overrides_runpath
=yes
12828 if test "$with_gnu_ld" = yes; then
12836 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12837 soname_spec
='${libname}${release}${shared_ext}$major'
12838 shlibpath_var
=LD_LIBRARY_PATH
12839 case $host_vendor in
12841 shlibpath_overrides_runpath
=no
12843 runpath_var
=LD_RUN_PATH
12851 shlibpath_overrides_runpath
=no
12852 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12858 if test -d /usr
/nec
;then
12860 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12861 soname_spec
='$libname${shared_ext}.$major'
12862 shlibpath_var
=LD_LIBRARY_PATH
12866 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12867 version_type
=freebsd-elf
12870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12871 soname_spec
='${libname}${release}${shared_ext}$major'
12872 shlibpath_var
=LD_LIBRARY_PATH
12873 shlibpath_overrides_runpath
=yes
12874 hardcode_into_libs
=yes
12875 if test "$with_gnu_ld" = yes; then
12876 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12878 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12881 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12885 sys_lib_dlsearch_path_spec
='/usr/lib'
12889 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12893 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12894 shlibpath_var
=LD_LIBRARY_PATH
12895 shlibpath_overrides_runpath
=no
12896 hardcode_into_libs
=yes
12901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12902 soname_spec
='${libname}${release}${shared_ext}$major'
12903 shlibpath_var
=LD_LIBRARY_PATH
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12911 $as_echo "$dynamic_linker" >&6; }
12912 test "$dynamic_linker" = no
&& can_build_shared
=no
12914 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12915 if test "$GCC" = yes; then
12916 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12919 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12920 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12922 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12923 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13018 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13020 if test -n "$hardcode_libdir_flag_spec" ||
13021 test -n "$runpath_var" ||
13022 test "X$hardcode_automatic" = "Xyes" ; then
13024 # We can hardcode non-existent directories.
13025 if test "$hardcode_direct" != no
&&
13026 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13027 # have to relink, otherwise we might link with an installed library
13028 # when we should be linking with a yet-to-be-installed one
13029 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13030 test "$hardcode_minus_L" != no
; then
13031 # Linking always hardcodes the temporary library directory.
13032 hardcode_action
=relink
13034 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13035 hardcode_action
=immediate
13038 # We cannot hardcode anything, or else we can only hardcode existing
13040 hardcode_action
=unsupported
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13043 $as_echo "$hardcode_action" >&6; }
13045 if test "$hardcode_action" = relink ||
13046 test "$inherit_rpath" = yes; then
13047 # Fast installation is not supported
13048 enable_fast_install
=no
13049 elif test "$shlibpath_overrides_runpath" = yes ||
13050 test "$enable_shared" = no
; then
13051 # Fast installation is not necessary
13052 enable_fast_install
=needless
13060 if test "x$enable_dlopen" != xyes
; then
13061 enable_dlopen
=unknown
13062 enable_dlopen_self
=unknown
13063 enable_dlopen_self_static
=unknown
13070 lt_cv_dlopen
="load_add_on"
13072 lt_cv_dlopen_self
=yes
13075 mingw
* | pw32
* | cegcc
*)
13076 lt_cv_dlopen
="LoadLibrary"
13081 lt_cv_dlopen
="dlopen"
13086 # if libdl is installed we need to link against it
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13088 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13089 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13090 $as_echo_n "(cached) " >&6
13092 ac_check_lib_save_LIBS
=$LIBS
13094 if test x
$gcc_no_link = xyes
; then
13095 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13098 /* end confdefs.h. */
13100 /* Override any GCC internal prototype to avoid an error.
13101 Use char because int might match the return type of a GCC
13102 builtin and then its argument prototype would still apply. */
13115 if ac_fn_c_try_link
"$LINENO"; then :
13116 ac_cv_lib_dl_dlopen
=yes
13118 ac_cv_lib_dl_dlopen
=no
13120 rm -f core conftest.err conftest.
$ac_objext \
13121 conftest
$ac_exeext conftest.
$ac_ext
13122 LIBS
=$ac_check_lib_save_LIBS
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13125 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13126 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13127 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13130 lt_cv_dlopen
="dyld"
13132 lt_cv_dlopen_self
=yes
13139 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13140 if test "x$ac_cv_func_shl_load" = x
""yes; then :
13141 lt_cv_dlopen
="shl_load"
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13144 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13145 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13146 $as_echo_n "(cached) " >&6
13148 ac_check_lib_save_LIBS
=$LIBS
13150 if test x
$gcc_no_link = xyes
; then
13151 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13166 return shl_load ();
13171 if ac_fn_c_try_link
"$LINENO"; then :
13172 ac_cv_lib_dld_shl_load
=yes
13174 ac_cv_lib_dld_shl_load
=no
13176 rm -f core conftest.err conftest.
$ac_objext \
13177 conftest
$ac_exeext conftest.
$ac_ext
13178 LIBS
=$ac_check_lib_save_LIBS
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13181 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13182 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
13183 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13185 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13186 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13187 lt_cv_dlopen
="dlopen"
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13190 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13191 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13192 $as_echo_n "(cached) " >&6
13194 ac_check_lib_save_LIBS
=$LIBS
13196 if test x
$gcc_no_link = xyes
; then
13197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13217 if ac_fn_c_try_link
"$LINENO"; then :
13218 ac_cv_lib_dl_dlopen
=yes
13220 ac_cv_lib_dl_dlopen
=no
13222 rm -f core conftest.err conftest.
$ac_objext \
13223 conftest
$ac_exeext conftest.
$ac_ext
13224 LIBS
=$ac_check_lib_save_LIBS
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13227 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13228 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13229 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13232 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13233 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13234 $as_echo_n "(cached) " >&6
13236 ac_check_lib_save_LIBS
=$LIBS
13237 LIBS
="-lsvld $LIBS"
13238 if test x
$gcc_no_link = xyes
; then
13239 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13242 /* end confdefs.h. */
13244 /* Override any GCC internal prototype to avoid an error.
13245 Use char because int might match the return type of a GCC
13246 builtin and then its argument prototype would still apply. */
13259 if ac_fn_c_try_link
"$LINENO"; then :
13260 ac_cv_lib_svld_dlopen
=yes
13262 ac_cv_lib_svld_dlopen
=no
13264 rm -f core conftest.err conftest.
$ac_objext \
13265 conftest
$ac_exeext conftest.
$ac_ext
13266 LIBS
=$ac_check_lib_save_LIBS
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13269 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13270 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
13271 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13274 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13275 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13276 $as_echo_n "(cached) " >&6
13278 ac_check_lib_save_LIBS
=$LIBS
13280 if test x
$gcc_no_link = xyes
; then
13281 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13284 /* end confdefs.h. */
13286 /* Override any GCC internal prototype to avoid an error.
13287 Use char because int might match the return type of a GCC
13288 builtin and then its argument prototype would still apply. */
13296 return dld_link ();
13301 if ac_fn_c_try_link
"$LINENO"; then :
13302 ac_cv_lib_dld_dld_link
=yes
13304 ac_cv_lib_dld_dld_link
=no
13306 rm -f core conftest.err conftest.
$ac_objext \
13307 conftest
$ac_exeext conftest.
$ac_ext
13308 LIBS
=$ac_check_lib_save_LIBS
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13311 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13312 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
13313 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13334 if test "x$lt_cv_dlopen" != xno
; then
13340 case $lt_cv_dlopen in
13342 save_CPPFLAGS
="$CPPFLAGS"
13343 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13345 save_LDFLAGS
="$LDFLAGS"
13346 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13349 LIBS
="$lt_cv_dlopen_libs $LIBS"
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13352 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13353 if test "${lt_cv_dlopen_self+set}" = set; then :
13354 $as_echo_n "(cached) " >&6
13356 if test "$cross_compiling" = yes; then :
13357 lt_cv_dlopen_self
=cross
13359 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13360 lt_status
=$lt_dlunknown
13361 cat > conftest.
$ac_ext <<_LT_EOF
13362 #line 13362 "configure"
13363 #include "confdefs.h"
13372 # define LT_DLGLOBAL RTLD_GLOBAL
13375 # define LT_DLGLOBAL DL_GLOBAL
13377 # define LT_DLGLOBAL 0
13381 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13382 find out it does not work in some platform. */
13383 #ifndef LT_DLLAZY_OR_NOW
13385 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13388 # define LT_DLLAZY_OR_NOW DL_LAZY
13391 # define LT_DLLAZY_OR_NOW RTLD_NOW
13394 # define LT_DLLAZY_OR_NOW DL_NOW
13396 # define LT_DLLAZY_OR_NOW 0
13403 /* When -fvisbility=hidden is used, assume the code has been annotated
13404 correspondingly for the symbols needed. */
13405 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13406 void fnord () __attribute__((visibility("default")));
13409 void fnord () { int i=42; }
13412 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13413 int status = $lt_dlunknown;
13417 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13420 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13421 else puts (dlerror ());
13423 /* dlclose (self); */
13431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13432 (eval $ac_link) 2>&5
13434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13435 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13436 (.
/conftest
; exit; ) >&5 2>/dev
/null
13438 case x
$lt_status in
13439 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13440 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13441 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13444 # compilation failed
13445 lt_cv_dlopen_self
=no
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13453 $as_echo "$lt_cv_dlopen_self" >&6; }
13455 if test "x$lt_cv_dlopen_self" = xyes
; then
13456 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13458 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13459 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13460 $as_echo_n "(cached) " >&6
13462 if test "$cross_compiling" = yes; then :
13463 lt_cv_dlopen_self_static
=cross
13465 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13466 lt_status
=$lt_dlunknown
13467 cat > conftest.
$ac_ext <<_LT_EOF
13468 #line 13468 "configure"
13469 #include "confdefs.h"
13478 # define LT_DLGLOBAL RTLD_GLOBAL
13481 # define LT_DLGLOBAL DL_GLOBAL
13483 # define LT_DLGLOBAL 0
13487 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13488 find out it does not work in some platform. */
13489 #ifndef LT_DLLAZY_OR_NOW
13491 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13494 # define LT_DLLAZY_OR_NOW DL_LAZY
13497 # define LT_DLLAZY_OR_NOW RTLD_NOW
13500 # define LT_DLLAZY_OR_NOW DL_NOW
13502 # define LT_DLLAZY_OR_NOW 0
13509 /* When -fvisbility=hidden is used, assume the code has been annotated
13510 correspondingly for the symbols needed. */
13511 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13512 void fnord () __attribute__((visibility("default")));
13515 void fnord () { int i=42; }
13518 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13519 int status = $lt_dlunknown;
13523 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13526 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13527 else puts (dlerror ());
13529 /* dlclose (self); */
13537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13538 (eval $ac_link) 2>&5
13540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13541 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13542 (.
/conftest
; exit; ) >&5 2>/dev
/null
13544 case x
$lt_status in
13545 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13546 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13547 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13550 # compilation failed
13551 lt_cv_dlopen_self_static
=no
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13559 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13562 CPPFLAGS
="$save_CPPFLAGS"
13563 LDFLAGS
="$save_LDFLAGS"
13568 case $lt_cv_dlopen_self in
13569 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13570 *) enable_dlopen_self
=unknown
;;
13573 case $lt_cv_dlopen_self_static in
13574 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13575 *) enable_dlopen_self_static
=unknown
;;
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13598 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13599 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13600 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13601 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13603 $as_echo "yes" >&6; }
13605 # FIXME - insert some real tests, host_os isn't really good enough
13608 if test -n "$STRIP" ; then
13609 striplib
="$STRIP -x"
13610 old_striplib
="$STRIP -S"
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13612 $as_echo "yes" >&6; }
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13615 $as_echo "no" >&6; }
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13620 $as_echo "no" >&6; }
13636 # Report which library types will actually be built
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13638 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13640 $as_echo "$can_build_shared" >&6; }
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13643 $as_echo_n "checking whether to build shared libraries... " >&6; }
13644 test "$can_build_shared" = "no" && enable_shared
=no
13646 # On AIX, shared libraries and static libraries use the same namespace, and
13647 # are all built from PIC.
13650 test "$enable_shared" = yes && enable_static
=no
13651 if test -n "$RANLIB"; then
13652 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13653 postinstall_cmds
='$RANLIB $lib'
13658 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13659 test "$enable_shared" = yes && enable_static
=no
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13664 $as_echo "$enable_shared" >&6; }
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13667 $as_echo_n "checking whether to build static libraries... " >&6; }
13668 # Make sure either enable_shared or enable_static is yes.
13669 test "$enable_shared" = yes || enable_static
=yes
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13671 $as_echo "$enable_static" >&6; }
13678 ac_cpp
='$CPP $CPPFLAGS'
13679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13685 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13686 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13687 (test "X$CXX" != "Xg++"))) ; then
13689 ac_cpp
='$CXXCPP $CPPFLAGS'
13690 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13691 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13692 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13694 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13695 if test -z "$CXXCPP"; then
13696 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13697 $as_echo_n "(cached) " >&6
13699 # Double quotes because CXXCPP needs to be expanded
13700 for CXXCPP
in "$CXX -E" "/lib/cpp"
13702 ac_preproc_ok
=false
13703 for ac_cxx_preproc_warn_flag
in '' yes
13705 # Use a header file that comes with gcc, so configuring glibc
13706 # with a fresh cross-compiler works.
13707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13708 # <limits.h> exists even on freestanding compilers.
13709 # On the NeXT, cc -E runs the code through the compiler's parser,
13710 # not just through cpp. "Syntax error" is here to catch this case.
13711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13714 # include <limits.h>
13716 # include <assert.h>
13720 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13723 # Broken: fails on valid input.
13726 rm -f conftest.err conftest.
$ac_ext
13728 # OK, works on sane cases. Now check whether nonexistent headers
13729 # can be detected and how.
13730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 #include <ac_nonexistent.h>
13734 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13735 # Broken: success on invalid input.
13738 # Passes both tests.
13742 rm -f conftest.err conftest.
$ac_ext
13745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13746 rm -f conftest.err conftest.
$ac_ext
13747 if $ac_preproc_ok; then :
13752 ac_cv_prog_CXXCPP
=$CXXCPP
13755 CXXCPP
=$ac_cv_prog_CXXCPP
13757 ac_cv_prog_CXXCPP
=$CXXCPP
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13760 $as_echo "$CXXCPP" >&6; }
13761 ac_preproc_ok
=false
13762 for ac_cxx_preproc_warn_flag
in '' yes
13764 # Use a header file that comes with gcc, so configuring glibc
13765 # with a fresh cross-compiler works.
13766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13767 # <limits.h> exists even on freestanding compilers.
13768 # On the NeXT, cc -E runs the code through the compiler's parser,
13769 # not just through cpp. "Syntax error" is here to catch this case.
13770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13771 /* end confdefs.h. */
13773 # include <limits.h>
13775 # include <assert.h>
13779 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13782 # Broken: fails on valid input.
13785 rm -f conftest.err conftest.
$ac_ext
13787 # OK, works on sane cases. Now check whether nonexistent headers
13788 # can be detected and how.
13789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13791 #include <ac_nonexistent.h>
13793 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13794 # Broken: success on invalid input.
13797 # Passes both tests.
13801 rm -f conftest.err conftest.
$ac_ext
13804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13805 rm -f conftest.err conftest.
$ac_ext
13806 if $ac_preproc_ok; then :
13809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13811 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13812 See \`config.log' for more details." "$LINENO" 5; }
13816 ac_cpp
='$CPP $CPPFLAGS'
13817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13822 _lt_caught_CXX_error
=yes
13826 ac_cpp
='$CXXCPP $CPPFLAGS'
13827 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13828 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13829 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13831 archive_cmds_need_lc_CXX
=no
13832 allow_undefined_flag_CXX
=
13833 always_export_symbols_CXX
=no
13834 archive_expsym_cmds_CXX
=
13835 compiler_needs_object_CXX
=no
13836 export_dynamic_flag_spec_CXX
=
13837 hardcode_direct_CXX
=no
13838 hardcode_direct_absolute_CXX
=no
13839 hardcode_libdir_flag_spec_CXX
=
13840 hardcode_libdir_flag_spec_ld_CXX
=
13841 hardcode_libdir_separator_CXX
=
13842 hardcode_minus_L_CXX
=no
13843 hardcode_shlibpath_var_CXX
=unsupported
13844 hardcode_automatic_CXX
=no
13845 inherit_rpath_CXX
=no
13847 module_expsym_cmds_CXX
=
13848 link_all_deplibs_CXX
=unknown
13849 old_archive_cmds_CXX
=$old_archive_cmds
13850 reload_flag_CXX
=$reload_flag
13851 reload_cmds_CXX
=$reload_cmds
13852 no_undefined_flag_CXX
=
13853 whole_archive_flag_spec_CXX
=
13854 enable_shared_with_static_runtimes_CXX
=no
13856 # Source file extension for C++ test sources.
13859 # Object file extension for compiled C++ test sources.
13863 # No sense in running all these tests if we already determined that
13864 # the CXX compiler isn't working. Some variables (like enable_shared)
13865 # are currently assumed to apply to all compilers on this platform,
13866 # and will be corrupted by setting them based on a non-working compiler.
13867 if test "$_lt_caught_CXX_error" != yes; then
13868 # Code to be used in simple compile tests
13869 lt_simple_compile_test_code
="int some_variable = 0;"
13871 # Code to be used in simple link tests
13872 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13874 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13881 # If no C compiler was specified, use CC.
13884 # If no C compiler flags were specified, use CFLAGS.
13885 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13887 # Allow CC to be a program name with arguments.
13891 # save warnings/boilerplate of simple test code
13892 ac_outfile
=conftest.
$ac_objext
13893 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13894 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13895 _lt_compiler_boilerplate
=`cat conftest.err`
13898 ac_outfile
=conftest.
$ac_objext
13899 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13900 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13901 _lt_linker_boilerplate
=`cat conftest.err`
13905 # Allow CC to be a program name with arguments.
13910 lt_save_with_gnu_ld
=$with_gnu_ld
13911 lt_save_path_LD
=$lt_cv_path_LD
13912 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13913 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13915 $as_unset lt_cv_prog_gnu_ld
13917 if test -n "${lt_cv_path_LDCXX+set}"; then
13918 lt_cv_path_LD
=$lt_cv_path_LDCXX
13920 $as_unset lt_cv_path_LD
13922 test -z "${LDCXX+set}" || LD
=$LDCXX
13926 for cc_temp
in $compiler""; do
13928 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13929 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13934 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13937 if test -n "$compiler"; then
13938 # We don't want -fno-exception when compiling C++ code, so set the
13939 # no_builtin_flag separately
13940 if test "$GXX" = yes; then
13941 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13943 lt_prog_compiler_no_builtin_flag_CXX
=
13946 if test "$GXX" = yes; then
13947 # Set up default GNU C++ configuration
13951 # Check whether --with-gnu-ld was given.
13952 if test "${with_gnu_ld+set}" = set; then :
13953 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13959 if test "$GCC" = yes; then
13960 # Check if gcc -print-prog-name=ld gives a path.
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13962 $as_echo_n "checking for ld used by $CC... " >&6; }
13965 # gcc leaves a trailing carriage return which upsets mingw
13966 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13968 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13971 # Accept absolute paths.
13973 re_direlt
='/[^/][^/]*/\.\./'
13974 # Canonicalize the pathname of ld
13975 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13976 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13977 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13979 test -z "$LD" && LD
="$ac_prog"
13982 # If it fails, then pretend we aren't using GCC.
13986 # If it is relative, then search for the first ld in PATH.
13987 with_gnu_ld
=unknown
13990 elif test "$with_gnu_ld" = yes; then
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13992 $as_echo_n "checking for GNU ld... " >&6; }
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13995 $as_echo_n "checking for non-GNU ld... " >&6; }
13997 if test "${lt_cv_path_LD+set}" = set; then :
13998 $as_echo_n "(cached) " >&6
14000 if test -z "$LD"; then
14001 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
14002 for ac_dir
in $PATH; do
14004 test -z "$ac_dir" && ac_dir
=.
14005 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14006 lt_cv_path_LD
="$ac_dir/$ac_prog"
14007 # Check to see if the program is GNU ld. I'd rather use --version,
14008 # but apparently some variants of GNU ld only accept -v.
14009 # Break only if it was the GNU/non-GNU ld that we prefer.
14010 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14011 *GNU
* |
*'with BFD'*)
14012 test "$with_gnu_ld" != no
&& break
14015 test "$with_gnu_ld" != yes && break
14022 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14026 LD
="$lt_cv_path_LD"
14027 if test -n "$LD"; then
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14029 $as_echo "$LD" >&6; }
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14032 $as_echo "no" >&6; }
14034 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14036 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14037 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14038 $as_echo_n "(cached) " >&6
14040 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14041 case `$LD -v 2>&1 </dev/null` in
14042 *GNU
* |
*'with BFD'*)
14043 lt_cv_prog_gnu_ld
=yes
14046 lt_cv_prog_gnu_ld
=no
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14051 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14052 with_gnu_ld
=$lt_cv_prog_gnu_ld
14060 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14061 # archiving commands below assume that GNU ld is being used.
14062 if test "$with_gnu_ld" = yes; then
14063 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14064 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'
14066 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14067 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14069 # If archive_cmds runs LD, not CC, wlarc should be empty
14070 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14071 # investigate it a little bit more. (MM)
14074 # ancient GNU ld didn't support --whole-archive et. al.
14075 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14076 $GREP 'no-whole-archive' > /dev
/null
; then
14077 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14079 whole_archive_flag_spec_CXX
=
14085 # A generic and very simple default shared library creation
14086 # command for GNU C++ for the case where it uses the native
14087 # linker, instead of GNU ld. If possible, this setting should
14088 # overridden to take advantage of the native linker features on
14089 # the platform it is being used on.
14090 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14093 # Commands to make compiler produce verbose output that lists
14094 # what "hidden" libraries, object files and flags are used when
14095 # linking a shared library.
14096 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14104 # PORTME: fill in a description of your system's C++ link characteristics
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14106 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14110 # FIXME: insert proper C++ library support
14114 if test "$host_cpu" = ia64
; then
14115 # On IA64, the linker does run time linking by default, so we don't
14116 # have to do anything special.
14117 aix_use_runtimelinking
=no
14118 exp_sym_flag
='-Bexport'
14121 aix_use_runtimelinking
=no
14123 # Test if we are trying to use run time linking or normal
14124 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14125 # need to do runtime linking.
14126 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14127 for ld_flag
in $LDFLAGS; do
14130 aix_use_runtimelinking
=yes
14138 exp_sym_flag
='-bexport'
14139 no_entry_flag
='-bnoentry'
14142 # When large executables or shared objects are built, AIX ld can
14143 # have problems creating the table of contents. If linking a library
14144 # or program results in "error TOC overflow" add -mminimal-toc to
14145 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14146 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14148 archive_cmds_CXX
=''
14149 hardcode_direct_CXX
=yes
14150 hardcode_direct_absolute_CXX
=yes
14151 hardcode_libdir_separator_CXX
=':'
14152 link_all_deplibs_CXX
=yes
14153 file_list_spec_CXX
='${wl}-f,'
14155 if test "$GXX" = yes; then
14156 case $host_os in aix4.
[012]|aix4.
[012].
*)
14157 # We only want to do this on AIX 4.2 and lower, the check
14158 # below for broken collect2 doesn't work under 4.3+
14159 collect2name
=`${CC} -print-prog-name=collect2`
14160 if test -f "$collect2name" &&
14161 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14163 # We have reworked collect2
14166 # We have old collect2
14167 hardcode_direct_CXX
=unsupported
14168 # It fails to find uninstalled libraries when the uninstalled
14169 # path is not listed in the libpath. Setting hardcode_minus_L
14170 # to unsupported forces relinking
14171 hardcode_minus_L_CXX
=yes
14172 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14173 hardcode_libdir_separator_CXX
=
14176 shared_flag
='-shared'
14177 if test "$aix_use_runtimelinking" = yes; then
14178 shared_flag
="$shared_flag "'${wl}-G'
14182 if test "$host_cpu" = ia64
; then
14183 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14184 # chokes on -Wl,-G. The following line is correct:
14187 if test "$aix_use_runtimelinking" = yes; then
14188 shared_flag
='${wl}-G'
14190 shared_flag
='${wl}-bM:SRE'
14195 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14196 # It seems that -bexpall does not export symbols beginning with
14197 # underscore (_), so it is better to generate a list of symbols to
14199 always_export_symbols_CXX
=yes
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # Warning - without using the other runtime loading flags (-brtl),
14202 # -berok will link without error, but may produce a broken library.
14203 allow_undefined_flag_CXX
='-berok'
14204 # Determine the default libpath from the value encoded in an empty
14206 if test x
$gcc_no_link = xyes
; then
14207 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14220 if ac_fn_cxx_try_link
"$LINENO"; then :
14222 lt_aix_libpath_sed
='
14223 /Import File Strings/,/^$/ {
14229 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14230 # Check for a 64-bit object if we didn't find anything.
14231 if test -z "$aix_libpath"; then
14232 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14235 rm -f core conftest.err conftest.
$ac_objext \
14236 conftest
$ac_exeext conftest.
$ac_ext
14237 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14239 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14241 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14243 if test "$host_cpu" = ia64
; then
14244 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14245 allow_undefined_flag_CXX
="-z nodefs"
14246 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"
14248 # Determine the default libpath from the value encoded in an
14249 # empty executable.
14250 if test x
$gcc_no_link = xyes
; then
14251 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14264 if ac_fn_cxx_try_link
"$LINENO"; then :
14266 lt_aix_libpath_sed
='
14267 /Import File Strings/,/^$/ {
14273 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14274 # Check for a 64-bit object if we didn't find anything.
14275 if test -z "$aix_libpath"; then
14276 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14279 rm -f core conftest.err conftest.
$ac_objext \
14280 conftest
$ac_exeext conftest.
$ac_ext
14281 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14283 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14284 # Warning - without using the other run time loading flags,
14285 # -berok will link without error, but may produce a broken library.
14286 no_undefined_flag_CXX
=' ${wl}-bernotok'
14287 allow_undefined_flag_CXX
=' ${wl}-berok'
14288 if test "$with_gnu_ld" = yes; then
14289 # We only use this code for GNU lds that support --whole-archive.
14290 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14292 # Exported symbols can be pulled into shared objects from archives
14293 whole_archive_flag_spec_CXX
='$convenience'
14295 archive_cmds_need_lc_CXX
=yes
14296 # This is similar to how AIX traditionally builds its shared
14298 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'
14304 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14305 allow_undefined_flag_CXX
=unsupported
14306 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14307 # support --undefined. This deserves some investigation. FIXME
14308 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14315 case $cc_basename in
14317 # FIXME: insert proper C++ library support
14323 cygwin
* | mingw
* | pw32
* | cegcc
*)
14324 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14325 # as there is no search path for DLLs.
14326 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14327 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14328 allow_undefined_flag_CXX
=unsupported
14329 always_export_symbols_CXX
=no
14330 enable_shared_with_static_runtimes_CXX
=yes
14332 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14333 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'
14334 # If the export-symbols file already is a .def file (1st line
14335 # is EXPORTS), use it as is; otherwise, prepend...
14336 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14337 cp $export_symbols $output_objdir/$soname.def;
14339 echo EXPORTS > $output_objdir/$soname.def;
14340 cat $export_symbols >> $output_objdir/$soname.def;
14342 $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'
14347 darwin
* | rhapsody
*)
14350 archive_cmds_need_lc_CXX
=no
14351 hardcode_direct_CXX
=no
14352 hardcode_automatic_CXX
=yes
14353 hardcode_shlibpath_var_CXX
=unsupported
14354 if test "$lt_cv_ld_force_load" = "yes"; then
14355 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14357 whole_archive_flag_spec_CXX
=''
14359 link_all_deplibs_CXX
=yes
14360 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14361 case $cc_basename in
14362 ifort
*) _lt_dar_can_shared
=yes ;;
14363 *) _lt_dar_can_shared
=$GCC ;;
14365 if test "$_lt_dar_can_shared" = "yes"; then
14366 output_verbose_link_cmd
=func_echo_all
14367 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}"
14368 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14369 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}"
14370 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}"
14371 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14372 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}"
14373 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}"
14383 case $cc_basename in
14385 # FIXME: insert proper C++ library support
14389 # Green Hills C++ Compiler
14390 # FIXME: insert proper C++ library support
14394 # FIXME: insert proper C++ library support
14401 # C++ shared libraries reported to be fairly broken before
14407 archive_cmds_need_lc_CXX
=no
14410 freebsd
* | dragonfly
*)
14411 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14420 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14421 link_all_deplibs_CXX
=yes
14425 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14426 hardcode_libdir_separator_CXX
=:
14427 export_dynamic_flag_spec_CXX
='${wl}-E'
14428 hardcode_direct_CXX
=yes
14429 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14430 # but as the default
14431 # location of the library.
14433 case $cc_basename in
14435 # FIXME: insert proper C++ library support
14439 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'
14440 # Commands to make compiler produce verbose output that lists
14441 # what "hidden" libraries, object files and flags are used when
14442 # linking a shared library.
14444 # There doesn't appear to be a way to prevent this compiler from
14445 # explicitly linking system object files so we need to strip them
14446 # from the output so that they don't get included in the library
14448 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; func_echo_all "$list"'
14451 if test "$GXX" = yes; then
14452 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'
14454 # FIXME: insert proper C++ library support
14462 if test $with_gnu_ld = no
; then
14463 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14464 hardcode_libdir_separator_CXX
=:
14470 export_dynamic_flag_spec_CXX
='${wl}-E'
14476 hardcode_direct_CXX
=no
14477 hardcode_shlibpath_var_CXX
=no
14480 hardcode_direct_CXX
=yes
14481 hardcode_direct_absolute_CXX
=yes
14482 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14483 # but as the default
14484 # location of the library.
14488 case $cc_basename in
14490 # FIXME: insert proper C++ library support
14496 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14499 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14502 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14505 # Commands to make compiler produce verbose output that lists
14506 # what "hidden" libraries, object files and flags are used when
14507 # linking a shared library.
14509 # There doesn't appear to be a way to prevent this compiler from
14510 # explicitly linking system object files so we need to strip them
14511 # from the output so that they don't get included in the library
14513 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; func_echo_all "$list"'
14516 if test "$GXX" = yes; then
14517 if test $with_gnu_ld = no
; then
14520 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14523 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14526 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'
14531 # FIXME: insert proper C++ library support
14539 hardcode_direct_CXX
=no
14540 hardcode_shlibpath_var_CXX
=no
14541 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14542 export_dynamic_flag_spec_CXX
='${wl}-E'
14543 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14544 # Instead, shared libraries are loaded at an image base (0x10000000 by
14545 # default) and relocated if they conflict, which is a slow very memory
14546 # consuming and fragmenting process. To avoid this, we pick a random,
14547 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14548 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14549 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'
14550 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'
14553 case $cc_basename in
14556 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14558 # Archives containing C++ object files must be created using
14559 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14560 # necessary to make sure instantiated templates are included
14562 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14565 if test "$GXX" = yes; then
14566 if test "$with_gnu_ld" = no
; then
14567 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14569 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
14572 link_all_deplibs_CXX
=yes
14575 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14576 hardcode_libdir_separator_CXX
=:
14577 inherit_rpath_CXX
=yes
14580 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14581 case $cc_basename in
14583 # Kuck and Associates, Inc. (KAI) C++ Compiler
14585 # KCC will only create a shared library if the output file
14586 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14587 # to its proper name (with version) after linking.
14588 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'
14589 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'
14590 # Commands to make compiler produce verbose output that lists
14591 # what "hidden" libraries, object files and flags are used when
14592 # linking a shared library.
14594 # There doesn't appear to be a way to prevent this compiler from
14595 # explicitly linking system object files so we need to strip them
14596 # from the output so that they don't get included in the library
14598 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; func_echo_all "$list"'
14600 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14601 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14603 # Archives containing C++ object files must be created using
14604 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14605 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14610 # version 8.0 and above of icpc choke on multiply defined symbols
14611 # if we add $predep_objects and $postdep_objects, however 7.1 and
14612 # earlier do not add the objects themselves.
14613 case `$CC -V 2>&1` in
14615 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14616 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'
14618 *) # Version 8.0 or newer
14621 ia64
*) tmp_idyn
=' -i_dynamic';;
14623 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14624 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'
14627 archive_cmds_need_lc_CXX
=no
14628 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14629 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14630 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14633 # Portland Group C++ compiler
14635 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14636 prelink_cmds_CXX
='tpldir=Template.dir~
14638 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14639 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14640 old_archive_cmds_CXX
='tpldir=Template.dir~
14642 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14643 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14645 archive_cmds_CXX
='tpldir=Template.dir~
14647 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14648 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14649 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14651 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14652 $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'
14654 *) # Version 6 and above use weak symbols
14655 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14656 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'
14660 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14661 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14662 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14666 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14667 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'
14669 runpath_var
=LD_RUN_PATH
14670 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14671 hardcode_libdir_separator_CXX
=:
14673 # Commands to make compiler produce verbose output that lists
14674 # what "hidden" libraries, object files and flags are used when
14675 # linking a shared library.
14677 # There doesn't appear to be a way to prevent this compiler from
14678 # explicitly linking system object files so we need to strip them
14679 # from the output so that they don't get included in the library
14681 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
14683 xl
* | mpixl
* | bgxl
*)
14684 # IBM XL 8.0 on PPC, with GNU ld
14685 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14686 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14687 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14688 if test "x$supports_anon_versioning" = xyes
; then
14689 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14690 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14691 echo "local: *; };" >> $output_objdir/$libname.ver~
14692 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14696 case `$CC -V 2>&1 | sed 5q` in
14699 no_undefined_flag_CXX
=' -zdefs'
14700 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14701 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'
14702 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14703 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14704 compiler_needs_object_CXX
=yes
14706 # Not sure whether something based on
14707 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14709 output_verbose_link_cmd
='func_echo_all'
14711 # Archives containing C++ object files must be created using
14712 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14713 # necessary to make sure instantiated templates are included
14715 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14723 # FIXME: insert proper C++ library support
14728 # FIXME: insert proper C++ library support
14733 case $cc_basename in
14735 # FIXME: insert proper C++ library support
14739 # FIXME: insert proper C++ library support
14746 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14747 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14749 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14750 hardcode_direct_CXX
=yes
14751 hardcode_shlibpath_var_CXX
=no
14753 # Workaround some broken pre-1.5 toolchains
14754 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14762 # C++ shared libraries are fairly broken
14767 if test -f /usr
/libexec
/ld.so
; then
14768 hardcode_direct_CXX
=yes
14769 hardcode_shlibpath_var_CXX
=no
14770 hardcode_direct_absolute_CXX
=yes
14771 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14772 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14773 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14774 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14775 export_dynamic_flag_spec_CXX
='${wl}-E'
14776 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14778 output_verbose_link_cmd
=func_echo_all
14784 osf3
* | osf4
* | osf5
*)
14785 case $cc_basename in
14787 # Kuck and Associates, Inc. (KAI) C++ Compiler
14789 # KCC will only create a shared library if the output file
14790 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14791 # to its proper name (with version) after linking.
14792 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'
14794 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14795 hardcode_libdir_separator_CXX
=:
14797 # Archives containing C++ object files must be created using
14798 # the KAI C++ compiler.
14800 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14801 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14805 # Rational C++ 2.4.1
14806 # FIXME: insert proper C++ library support
14812 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14813 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14814 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14817 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14818 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
14819 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14820 echo "-hidden">> $lib.exp~
14821 $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 "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
14823 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14827 hardcode_libdir_separator_CXX
=:
14829 # Commands to make compiler produce verbose output that lists
14830 # what "hidden" libraries, object files and flags are used when
14831 # linking a shared library.
14833 # There doesn't appear to be a way to prevent this compiler from
14834 # explicitly linking system object files so we need to strip them
14835 # from the output so that they don't get included in the library
14837 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
14840 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14841 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14844 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14847 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" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14851 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14852 hardcode_libdir_separator_CXX
=:
14854 # Commands to make compiler produce verbose output that lists
14855 # what "hidden" libraries, object files and flags are used when
14856 # linking a shared library.
14857 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14860 # FIXME: insert proper C++ library support
14868 # FIXME: insert proper C++ library support
14873 case $cc_basename in
14876 # FIXME: insert proper C++ library support
14881 # FIXME: insert proper C++ library support
14885 # FIXME: insert proper C++ library support
14892 case $cc_basename in
14894 # Sun C++ 4.2, 5.x and Centerline C++
14895 archive_cmds_need_lc_CXX
=yes
14896 no_undefined_flag_CXX
=' -zdefs'
14897 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14898 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14899 $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'
14901 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14902 hardcode_shlibpath_var_CXX
=no
14904 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14906 # The compiler driver will combine and reorder linker options,
14907 # but understands `-z linker_flag'.
14908 # Supported since Solaris 2.6 (maybe 2.5.1?)
14909 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14912 link_all_deplibs_CXX
=yes
14914 output_verbose_link_cmd
='func_echo_all'
14916 # Archives containing C++ object files must be created using
14917 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14918 # necessary to make sure instantiated templates are included
14920 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14923 # Green Hills C++ Compiler
14924 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14926 # The C++ compiler must be used to create the archive.
14927 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14930 # GNU C++ compiler with Solaris linker
14931 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14932 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14933 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14934 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14935 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14936 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14938 # Commands to make compiler produce verbose output that lists
14939 # what "hidden" libraries, object files and flags are used when
14940 # linking a shared library.
14941 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14943 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14945 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14946 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14947 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14949 # Commands to make compiler produce verbose output that lists
14950 # what "hidden" libraries, object files and flags are used when
14951 # linking a shared library.
14952 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14955 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14957 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14959 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14967 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14968 no_undefined_flag_CXX
='${wl}-z,text'
14969 archive_cmds_need_lc_CXX
=no
14970 hardcode_shlibpath_var_CXX
=no
14971 runpath_var
='LD_RUN_PATH'
14973 case $cc_basename in
14975 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14976 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14979 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14980 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14985 sysv5
* | sco3.2v5
* | sco5v6
*)
14986 # Note: We can NOT use -z defs as we might desire, because we do not
14987 # link with -lc, and that would cause any symbols used from libc to
14988 # always be unresolved, which means just about no library would
14989 # ever link correctly. If we're not using GNU ld we use -z text
14990 # though, which does catch some bad symbols but isn't as heavy-handed
14992 no_undefined_flag_CXX
='${wl}-z,text'
14993 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14994 archive_cmds_need_lc_CXX
=no
14995 hardcode_shlibpath_var_CXX
=no
14996 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14997 hardcode_libdir_separator_CXX
=':'
14998 link_all_deplibs_CXX
=yes
14999 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
15000 runpath_var
='LD_RUN_PATH'
15002 case $cc_basename in
15004 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15005 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15006 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
15007 '"$old_archive_cmds_CXX"
15008 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
15009 '"$reload_cmds_CXX"
15012 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15013 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15019 case $cc_basename in
15021 # NonStop-UX NCC 3.20
15022 # FIXME: insert proper C++ library support
15026 # FIXME: insert proper C++ library support
15033 # FIXME: insert proper C++ library support
15038 # FIXME: insert proper C++ library support
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15044 $as_echo "$ld_shlibs_CXX" >&6; }
15045 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15051 ## There is no encapsulation within the following macros, do not change
15052 ## the running order or otherwise move them around unless you know exactly
15053 ## what you are doing...
15054 # Dependencies to place before and after the object being linked:
15055 predep_objects_CXX
=
15056 postdep_objects_CXX
=
15059 compiler_lib_search_path_CXX
=
15061 cat > conftest.
$ac_ext <<_LT_EOF
15065 Foo (void) { a = 0; }
15071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15072 (eval $ac_compile) 2>&5
15074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15075 test $ac_status = 0; }; then
15076 # Parse the compiler output and extract the necessary
15077 # objects, libraries and library flags.
15079 # Sentinel used to keep track of whether or not we are before
15080 # the conftest object file.
15081 pre_test_object_deps_done
=no
15083 for p
in `eval "$output_verbose_link_cmd"`; do
15087 # Some compilers place space between "-{L,R}" and the path.
15088 # Remove the space.
15089 if test $p = "-L" ||
15090 test $p = "-R"; then
15097 if test "$pre_test_object_deps_done" = no
; then
15100 # Internal compiler library paths should come after those
15101 # provided the user. The postdeps already come after the
15102 # user supplied libs so there is no need to process them.
15103 if test -z "$compiler_lib_search_path_CXX"; then
15104 compiler_lib_search_path_CXX
="${prev}${p}"
15106 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15109 # The "-l" case would never come before the object being
15110 # linked, so don't bother handling this case.
15113 if test -z "$postdeps_CXX"; then
15114 postdeps_CXX
="${prev}${p}"
15116 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15122 # This assumes that the test object file only shows up
15123 # once in the compiler output.
15124 if test "$p" = "conftest.$objext"; then
15125 pre_test_object_deps_done
=yes
15129 if test "$pre_test_object_deps_done" = no
; then
15130 if test -z "$predep_objects_CXX"; then
15131 predep_objects_CXX
="$p"
15133 predep_objects_CXX
="$predep_objects_CXX $p"
15136 if test -z "$postdep_objects_CXX"; then
15137 postdep_objects_CXX
="$p"
15139 postdep_objects_CXX
="$postdep_objects_CXX $p"
15144 *) ;; # Ignore the rest.
15152 echo "libtool.m4: error: problem compiling CXX test program"
15155 $RM -f confest.
$objext
15157 # PORTME: override above test on systems where it is broken
15160 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15161 # hack all around it, let's just trust "g++" to DTRT.
15162 predep_objects_CXX
=
15163 postdep_objects_CXX
=
15168 case `$CC -V 2>&1 | sed 5q` in
15172 # The more standards-conforming stlport4 library is
15173 # incompatible with the Cstd library. Avoid specifying
15174 # it if it's in CXXFLAGS. Ignore libCrun as
15175 # -library=stlport4 depends on it.
15176 case " $CXX $CXXFLAGS " in
15177 *" -library=stlport4 "*)
15178 solaris_use_stlport4
=yes
15182 if test "$solaris_use_stlport4" != yes; then
15183 postdeps_CXX
='-library=Cstd -library=Crun'
15190 case $cc_basename in
15192 # The more standards-conforming stlport4 library is
15193 # incompatible with the Cstd library. Avoid specifying
15194 # it if it's in CXXFLAGS. Ignore libCrun as
15195 # -library=stlport4 depends on it.
15196 case " $CXX $CXXFLAGS " in
15197 *" -library=stlport4 "*)
15198 solaris_use_stlport4
=yes
15202 # Adding this requires a known-good setup of shared libraries for
15203 # Sun compiler versions before 5.6, else PIC objects from an old
15204 # archive will be linked into the output, leading to subtle bugs.
15205 if test "$solaris_use_stlport4" != yes; then
15206 postdeps_CXX
='-library=Cstd -library=Crun'
15214 case " $postdeps_CXX " in
15215 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15217 compiler_lib_search_dirs_CXX
=
15218 if test -n "${compiler_lib_search_path_CXX}"; then
15219 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15252 lt_prog_compiler_wl_CXX
=
15253 lt_prog_compiler_pic_CXX
=
15254 lt_prog_compiler_static_CXX
=
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15257 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15259 # C++ specific cases for pic, static, wl, etc.
15260 if test "$GXX" = yes; then
15261 lt_prog_compiler_wl_CXX
='-Wl,'
15262 lt_prog_compiler_static_CXX
='-static'
15266 # All AIX code is PIC.
15267 if test "$host_cpu" = ia64
; then
15268 # AIX 5 now supports IA64 processor
15269 lt_prog_compiler_static_CXX
='-Bstatic'
15276 # see comment about AmigaOS4 .so support
15277 lt_prog_compiler_pic_CXX
='-fPIC'
15280 # FIXME: we need at least 68020 code to build shared libraries, but
15281 # adding the `-m68020' flag to GCC prevents building anything better,
15283 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15288 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15289 # PIC is the default for these OSes.
15291 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15292 # This hack is so that the source file can tell whether it is being
15293 # built for inclusion in a dll (and should export symbols for example).
15294 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15295 # (--disable-auto-import) libraries
15296 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15298 darwin
* | rhapsody
*)
15299 # PIC is the default on this platform
15300 # Common symbols not allowed in MH_DYLIB files
15301 lt_prog_compiler_pic_CXX
='-fno-common'
15304 # DJGPP does not support shared libraries at all
15305 lt_prog_compiler_pic_CXX
=
15308 # PIC is the default for Haiku.
15309 # The "-static" flag exists, but is broken.
15310 lt_prog_compiler_static_CXX
=
15313 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15314 # Instead, we relocate shared libraries at runtime.
15317 if test -d /usr
/nec
; then
15318 lt_prog_compiler_pic_CXX
=-Kconform_pic
15322 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15323 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15324 # sets the default TLS model and affects inlining.
15329 lt_prog_compiler_pic_CXX
='-fPIC'
15334 # QNX uses GNU C++, but need to define -shared option too, otherwise
15335 # it will coredump.
15336 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15339 lt_prog_compiler_pic_CXX
='-fPIC'
15345 # All AIX code is PIC.
15346 if test "$host_cpu" = ia64
; then
15347 # AIX 5 now supports IA64 processor
15348 lt_prog_compiler_static_CXX
='-Bstatic'
15350 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15354 case $cc_basename in
15356 # Green Hills C++ Compiler
15357 # _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"
15362 case $cc_basename in
15364 lt_prog_compiler_pic_CXX
='-KPIC'
15367 # Green Hills C++ Compiler
15368 lt_prog_compiler_pic_CXX
='-pic'
15374 freebsd
* | dragonfly
*)
15375 # FreeBSD uses GNU C++
15377 hpux9
* | hpux10
* | hpux11
*)
15378 case $cc_basename in
15380 lt_prog_compiler_wl_CXX
='-Wl,'
15381 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15382 if test "$host_cpu" != ia64
; then
15383 lt_prog_compiler_pic_CXX
='+Z'
15387 lt_prog_compiler_wl_CXX
='-Wl,'
15388 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15394 lt_prog_compiler_pic_CXX
='+Z'
15403 # This is c89, which is MS Visual C++ (no shared libs)
15404 # Anyone wants to do a port?
15406 irix5
* | irix6
* | nonstopux
*)
15407 case $cc_basename in
15409 lt_prog_compiler_wl_CXX
='-Wl,'
15410 lt_prog_compiler_static_CXX
='-non_shared'
15411 # CC pic flag -KPIC is the default.
15417 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15418 case $cc_basename in
15421 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15422 lt_prog_compiler_pic_CXX
='-fPIC'
15425 # old Intel C++ for x86_64 which still supported -KPIC.
15426 lt_prog_compiler_wl_CXX
='-Wl,'
15427 lt_prog_compiler_pic_CXX
='-KPIC'
15428 lt_prog_compiler_static_CXX
='-static'
15431 # Intel C++, used to be incompatible with GCC.
15432 # ICC 10 doesn't accept -KPIC any more.
15433 lt_prog_compiler_wl_CXX
='-Wl,'
15434 lt_prog_compiler_pic_CXX
='-fPIC'
15435 lt_prog_compiler_static_CXX
='-static'
15438 # Portland Group C++ compiler
15439 lt_prog_compiler_wl_CXX
='-Wl,'
15440 lt_prog_compiler_pic_CXX
='-fpic'
15441 lt_prog_compiler_static_CXX
='-Bstatic'
15445 # Make sure the PIC flag is empty. It appears that all Alpha
15446 # Linux and Compaq Tru64 Unix objects are PIC.
15447 lt_prog_compiler_pic_CXX
=
15448 lt_prog_compiler_static_CXX
='-non_shared'
15450 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15451 # IBM XL 8.0, 9.0 on PPC and BlueGene
15452 lt_prog_compiler_wl_CXX
='-Wl,'
15453 lt_prog_compiler_pic_CXX
='-qpic'
15454 lt_prog_compiler_static_CXX
='-qstaticlink'
15457 case `$CC -V 2>&1 | sed 5q` in
15460 lt_prog_compiler_pic_CXX
='-KPIC'
15461 lt_prog_compiler_static_CXX
='-Bstatic'
15462 lt_prog_compiler_wl_CXX
='-Qoption ld '
15473 case $cc_basename in
15475 lt_prog_compiler_pic_CXX
='-W c,exportall'
15484 # QNX uses GNU C++, but need to define -shared option too, otherwise
15485 # it will coredump.
15486 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15488 osf3
* | osf4
* | osf5
*)
15489 case $cc_basename in
15491 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15494 # Rational C++ 2.4.1
15495 lt_prog_compiler_pic_CXX
='-pic'
15498 # Digital/Compaq C++
15499 lt_prog_compiler_wl_CXX
='-Wl,'
15500 # Make sure the PIC flag is empty. It appears that all Alpha
15501 # Linux and Compaq Tru64 Unix objects are PIC.
15502 lt_prog_compiler_pic_CXX
=
15503 lt_prog_compiler_static_CXX
='-non_shared'
15512 case $cc_basename in
15514 # Sun C++ 4.2, 5.x and Centerline C++
15515 lt_prog_compiler_pic_CXX
='-KPIC'
15516 lt_prog_compiler_static_CXX
='-Bstatic'
15517 lt_prog_compiler_wl_CXX
='-Qoption ld '
15520 # Green Hills C++ Compiler
15521 lt_prog_compiler_pic_CXX
='-PIC'
15528 case $cc_basename in
15531 lt_prog_compiler_pic_CXX
='-pic'
15532 lt_prog_compiler_static_CXX
='-Bstatic'
15536 lt_prog_compiler_pic_CXX
='-pic'
15542 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15543 case $cc_basename in
15545 lt_prog_compiler_wl_CXX
='-Wl,'
15546 lt_prog_compiler_pic_CXX
='-KPIC'
15547 lt_prog_compiler_static_CXX
='-Bstatic'
15552 case $cc_basename in
15554 # NonStop-UX NCC 3.20
15555 lt_prog_compiler_pic_CXX
='-KPIC'
15564 lt_prog_compiler_can_build_shared_CXX
=no
15570 # For platforms which do not support PIC, -DPIC is meaningless:
15572 lt_prog_compiler_pic_CXX
=
15575 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15579 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15584 # Check to make sure the PIC flag actually works.
15586 if test -n "$lt_prog_compiler_pic_CXX"; then
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15588 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15589 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15590 $as_echo_n "(cached) " >&6
15592 lt_cv_prog_compiler_pic_works_CXX
=no
15593 ac_outfile
=conftest.
$ac_objext
15594 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15595 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15596 # Insert the option either (1) after the last *FLAGS variable, or
15597 # (2) before a word containing "conftest.", or (3) at the end.
15598 # Note that $ac_compile itself does not contain backslashes and begins
15599 # with a dollar sign (not a hyphen), so the echo should work correctly.
15600 # The option is referenced via a variable to avoid confusing sed.
15601 lt_compile
=`echo "$ac_compile" | $SED \
15602 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15603 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15604 -e 's:$: $lt_compiler_flag:'`
15605 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15606 (eval "$lt_compile" 2>conftest.err
)
15608 cat conftest.err
>&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 if (exit $ac_status) && test -s "$ac_outfile"; then
15611 # The compiler can only warn and ignore the option if not recognized
15612 # So say no if there are warnings other than the usual output.
15613 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15614 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15615 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15616 lt_cv_prog_compiler_pic_works_CXX
=yes
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15623 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15625 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15626 case $lt_prog_compiler_pic_CXX in
15628 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15631 lt_prog_compiler_pic_CXX
=
15632 lt_prog_compiler_can_build_shared_CXX
=no
15640 # Check to make sure the static flag actually works.
15642 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15644 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15645 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15646 $as_echo_n "(cached) " >&6
15648 lt_cv_prog_compiler_static_works_CXX
=no
15649 save_LDFLAGS
="$LDFLAGS"
15650 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15651 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15652 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15653 # The linker can only warn and ignore the option if not recognized
15654 # So say no if there are warnings
15655 if test -s conftest.err
; then
15656 # Append any errors to the config.log.
15657 cat conftest.err
1>&5
15658 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15659 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15660 if diff conftest.exp conftest.er2
>/dev
/null
; then
15661 lt_cv_prog_compiler_static_works_CXX
=yes
15664 lt_cv_prog_compiler_static_works_CXX
=yes
15668 LDFLAGS
="$save_LDFLAGS"
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15672 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15674 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15677 lt_prog_compiler_static_CXX
=
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15684 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15685 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15686 $as_echo_n "(cached) " >&6
15688 lt_cv_prog_compiler_c_o_CXX
=no
15689 $RM -r conftest
2>/dev
/null
15693 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15695 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15696 # Insert the option either (1) after the last *FLAGS variable, or
15697 # (2) before a word containing "conftest.", or (3) at the end.
15698 # Note that $ac_compile itself does not contain backslashes and begins
15699 # with a dollar sign (not a hyphen), so the echo should work correctly.
15700 lt_compile
=`echo "$ac_compile" | $SED \
15701 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15702 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15703 -e 's:$: $lt_compiler_flag:'`
15704 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15705 (eval "$lt_compile" 2>out
/conftest.err
)
15707 cat out
/conftest.err
>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15711 # The compiler can only warn and ignore the option if not recognized
15712 # So say no if there are warnings
15713 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15714 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15715 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15716 lt_cv_prog_compiler_c_o_CXX
=yes
15721 # SGI C++ compiler will create directory out/ii_files/ for
15722 # template instantiation
15723 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15724 $RM out
/* && rmdir out
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15731 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15736 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15737 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15738 $as_echo_n "(cached) " >&6
15740 lt_cv_prog_compiler_c_o_CXX
=no
15741 $RM -r conftest
2>/dev
/null
15745 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15747 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15748 # Insert the option either (1) after the last *FLAGS variable, or
15749 # (2) before a word containing "conftest.", or (3) at the end.
15750 # Note that $ac_compile itself does not contain backslashes and begins
15751 # with a dollar sign (not a hyphen), so the echo should work correctly.
15752 lt_compile
=`echo "$ac_compile" | $SED \
15753 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15754 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15755 -e 's:$: $lt_compiler_flag:'`
15756 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15757 (eval "$lt_compile" 2>out
/conftest.err
)
15759 cat out
/conftest.err
>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15763 # The compiler can only warn and ignore the option if not recognized
15764 # So say no if there are warnings
15765 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15766 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15767 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15768 lt_cv_prog_compiler_c_o_CXX
=yes
15773 # SGI C++ compiler will create directory out/ii_files/ for
15774 # template instantiation
15775 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15776 $RM out
/* && rmdir out
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15783 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15788 hard_links
="nottested"
15789 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15790 # do not overwrite the value of need_locks provided by the user
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15792 $as_echo_n "checking if we can lock with hard links... " >&6; }
15795 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15797 ln conftest.a conftest.b
2>&5 || hard_links
=no
15798 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15800 $as_echo "$hard_links" >&6; }
15801 if test "$hard_links" = no
; then
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15803 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15813 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15815 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15818 # If we're using GNU nm, then we don't want the "-C" option.
15819 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15820 # Also, AIX nm treats weak defined symbols like other global defined
15821 # symbols, whereas GNU nm marks them as "W".
15822 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15823 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
15825 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'
15829 export_symbols_cmds_CXX
="$ltdll_cmds"
15831 cygwin
* | mingw
* | cegcc
*)
15832 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'
15835 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15838 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15841 $as_echo "$ld_shlibs_CXX" >&6; }
15842 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15844 with_gnu_ld_CXX
=$with_gnu_ld
15852 # Do we need to explicitly link libc?
15854 case "x$archive_cmds_need_lc_CXX" in
15856 # Assume -lc should be added
15857 archive_cmds_need_lc_CXX
=yes
15859 if test "$enable_shared" = yes && test "$GCC" = yes; then
15860 case $archive_cmds_CXX in
15862 # FIXME: we may have to deal with multi-command sequences.
15865 # Test whether the compiler implicitly links with -lc since on some
15866 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15867 # to ld, don't add -lc before -lgcc.
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15869 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15870 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15871 $as_echo_n "(cached) " >&6
15874 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15876 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15877 (eval $ac_compile) 2>&5
15879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15880 test $ac_status = 0; } 2>conftest.err
; then
15883 libobjs
=conftest.
$ac_objext
15885 wl
=$lt_prog_compiler_wl_CXX
15886 pic_flag
=$lt_prog_compiler_pic_CXX
15892 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15893 allow_undefined_flag_CXX
=
15894 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15895 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15898 test $ac_status = 0; }
15900 lt_cv_archive_cmds_need_lc_CXX
=no
15902 lt_cv_archive_cmds_need_lc_CXX
=yes
15904 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15906 cat conftest.err
1>&5
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15912 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15913 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15984 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15986 library_names_spec
=
15987 libname_spec
='lib$name'
15991 postuninstall_cmds
=
15995 shlibpath_overrides_runpath
=unknown
15997 dynamic_linker
="$host_os ld.so"
15998 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15999 need_lib_prefix
=unknown
16000 hardcode_into_libs
=no
16002 # when you set need_version to no, make sure it does not cause -set_version
16003 # flags to be left without arguments
16004 need_version
=unknown
16009 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16010 shlibpath_var
=LIBPATH
16012 # AIX 3 has no versioning support, so we append a major version to the name.
16013 soname_spec
='${libname}${release}${shared_ext}$major'
16020 hardcode_into_libs
=yes
16021 if test "$host_cpu" = ia64
; then
16022 # AIX 5 supports IA64
16023 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16024 shlibpath_var
=LD_LIBRARY_PATH
16026 # With GCC up to 2.95.x, collect2 would create an import file
16027 # for dependence libraries. The import file would start with
16028 # the line `#! .'. This would cause the generated library to
16029 # depend on `.', always an invalid library. This was fixed in
16030 # development snapshots of GCC prior to 3.0.
16032 aix4 | aix4.
[01] | aix4.
[01].
*)
16033 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16035 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
16038 can_build_shared
=no
16042 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16043 # soname into executable. Probably we can add versioning support to
16044 # collect2, so additional links can be useful in future.
16045 if test "$aix_use_runtimelinking" = yes; then
16046 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16047 # instead of lib<name>.a to let people know that these are not
16048 # typical AIX shared libraries.
16049 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16051 # We preserve .a as extension for shared libraries through AIX4.2
16052 # and later when we are not doing run time linking.
16053 library_names_spec
='${libname}${release}.a $libname.a'
16054 soname_spec
='${libname}${release}${shared_ext}$major'
16056 shlibpath_var
=LIBPATH
16063 # Since July 2007 AmigaOS4 officially supports .so libraries.
16064 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16065 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16068 library_names_spec
='$libname.ixlibrary $libname.a'
16069 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16070 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
16076 library_names_spec
='${libname}${shared_ext}'
16077 dynamic_linker
="$host_os ld.so"
16078 shlibpath_var
=LIBRARY_PATH
16084 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16085 soname_spec
='${libname}${release}${shared_ext}$major'
16086 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16087 shlibpath_var
=LD_LIBRARY_PATH
16088 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16089 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16090 # the default ld.so.conf also contains /usr/contrib/lib and
16091 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16092 # libtool to hard-code these into programs
16095 cygwin
* | mingw
* | pw32
* | cegcc
*)
16096 version_type
=windows
16101 case $GCC,$host_os in
16102 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16103 library_names_spec
='$libname.dll.a'
16104 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16105 postinstall_cmds
='base_file=`basename \${file}`~
16106 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16107 dldir=$destdir/`dirname \$dlpath`~
16108 test -d \$dldir || mkdir -p \$dldir~
16109 $install_prog $dir/$dlname \$dldir/$dlname~
16110 chmod a+x \$dldir/$dlname~
16111 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16112 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16114 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16115 dlpath=$dir/\$dldll~
16117 shlibpath_overrides_runpath
=yes
16121 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16122 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16126 # MinGW DLLs use traditional 'lib' prefix
16127 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16130 # pw32 DLLs use 'pw' prefix rather than 'lib'
16131 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16137 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16140 dynamic_linker
='Win32 ld.exe'
16141 # FIXME: first we should search . and the directory the executable is in
16145 darwin
* | rhapsody
*)
16146 dynamic_linker
="$host_os dyld"
16147 version_type
=darwin
16150 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16151 soname_spec
='${libname}${release}${major}$shared_ext'
16152 shlibpath_overrides_runpath
=yes
16153 shlibpath_var
=DYLD_LIBRARY_PATH
16154 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16156 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16164 soname_spec
='${libname}${release}${shared_ext}$major'
16165 shlibpath_var
=LD_LIBRARY_PATH
16168 freebsd
* | dragonfly
*)
16169 # DragonFly does not have aout. When/if they implement a new
16170 # versioning mechanism, adjust this.
16171 if test -x /usr
/bin
/objformat
; then
16172 objformat
=`/usr/bin/objformat`
16175 freebsd
[123]*) objformat
=aout
;;
16176 *) objformat
=elf
;;
16179 version_type
=freebsd-
$objformat
16180 case $version_type in
16182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16187 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16191 shlibpath_var
=LD_LIBRARY_PATH
16194 shlibpath_overrides_runpath
=yes
16196 freebsd3.
[01]* | freebsdelf3.
[01]*)
16197 shlibpath_overrides_runpath
=yes
16198 hardcode_into_libs
=yes
16200 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16201 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16202 shlibpath_overrides_runpath
=no
16203 hardcode_into_libs
=yes
16205 *) # from 4.6 on, and DragonFly
16206 shlibpath_overrides_runpath
=yes
16207 hardcode_into_libs
=yes
16216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16217 soname_spec
='${libname}${release}${shared_ext}$major'
16218 shlibpath_var
=LD_LIBRARY_PATH
16219 hardcode_into_libs
=yes
16226 dynamic_linker
="$host_os runtime_loader"
16227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16228 soname_spec
='${libname}${release}${shared_ext}$major'
16229 shlibpath_var
=LIBRARY_PATH
16230 shlibpath_overrides_runpath
=yes
16231 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16232 hardcode_into_libs
=yes
16235 hpux9
* | hpux10
* | hpux11
*)
16236 # Give a soname corresponding to the major version so that dld.sl refuses to
16237 # link against other versions.
16244 hardcode_into_libs
=yes
16245 dynamic_linker
="$host_os dld.so"
16246 shlibpath_var
=LD_LIBRARY_PATH
16247 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16249 soname_spec
='${libname}${release}${shared_ext}$major'
16250 if test "X$HPUX_IA64_MODE" = X32
; then
16251 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16253 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16255 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16259 hardcode_into_libs
=yes
16260 dynamic_linker
="$host_os dld.sl"
16261 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16262 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16264 soname_spec
='${libname}${release}${shared_ext}$major'
16265 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16266 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16270 dynamic_linker
="$host_os dld.sl"
16271 shlibpath_var
=SHLIB_PATH
16272 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16274 soname_spec
='${libname}${release}${shared_ext}$major'
16277 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16278 postinstall_cmds
='chmod 555 $lib'
16279 # or fails outright, so override atomically:
16280 install_override_mode
=555
16287 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16288 soname_spec
='${libname}${release}${shared_ext}$major'
16289 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16290 shlibpath_var
=LD_LIBRARY_PATH
16291 shlibpath_overrides_runpath
=no
16292 hardcode_into_libs
=yes
16295 irix5
* | irix6
* | nonstopux
*)
16297 nonstopux
*) version_type
=nonstopux
;;
16299 if test "$lt_cv_prog_gnu_ld" = yes; then
16307 soname_spec
='${libname}${release}${shared_ext}$major'
16308 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16310 irix5
* | nonstopux
*)
16311 libsuff
= shlibsuff
=
16314 case $LD in # libtool.m4 will add one of these switches to LD
16315 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16316 libsuff
= shlibsuff
= libmagic
=32-bit;;
16317 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16318 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16319 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16320 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16321 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16325 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16326 shlibpath_overrides_runpath
=no
16327 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16328 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16329 hardcode_into_libs
=yes
16332 # No shared lib support for Linux oldld, aout, or coff.
16333 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16337 # This must be Linux ELF.
16338 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16342 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16343 soname_spec
='${libname}${release}${shared_ext}$major'
16344 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16345 shlibpath_var
=LD_LIBRARY_PATH
16346 shlibpath_overrides_runpath
=no
16348 # Some binutils ld are patched to set DT_RUNPATH
16349 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16350 $as_echo_n "(cached) " >&6
16352 lt_cv_shlibpath_overrides_runpath
=no
16353 save_LDFLAGS
=$LDFLAGS
16354 save_libdir
=$libdir
16355 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16356 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16357 if test x
$gcc_no_link = xyes
; then
16358 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16371 if ac_fn_cxx_try_link
"$LINENO"; then :
16372 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16373 lt_cv_shlibpath_overrides_runpath
=yes
16376 rm -f core conftest.err conftest.
$ac_objext \
16377 conftest
$ac_exeext conftest.
$ac_ext
16378 LDFLAGS
=$save_LDFLAGS
16379 libdir
=$save_libdir
16383 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16385 # This implies no fast_install, which is unacceptable.
16386 # Some rework will be needed to allow for fast_install
16387 # before this can be enabled.
16388 hardcode_into_libs
=yes
16390 # Append ld.so.conf contents to the search path
16391 if test -f /etc
/ld.so.conf
; then
16392 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;s/"//g;/^$/d' | tr '\n' ' '`
16393 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16396 # We used to test for /lib/ld.so.1 and disable shared libraries on
16397 # powerpc, because MkLinux only supported shared libraries with the
16398 # GNU dynamic linker. Since this was broken with cross compilers,
16399 # most powerpc-linux boxes support dynamic linking these days and
16400 # people can always --disable-shared, the test was removed, and we
16401 # assume the GNU/Linux dynamic linker is in use.
16402 dynamic_linker
='GNU/Linux ld.so'
16409 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16411 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16412 dynamic_linker
='NetBSD (a.out) ld.so'
16414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16415 soname_spec
='${libname}${release}${shared_ext}$major'
16416 dynamic_linker
='NetBSD ld.elf_so'
16418 shlibpath_var
=LD_LIBRARY_PATH
16419 shlibpath_overrides_runpath
=yes
16420 hardcode_into_libs
=yes
16425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16426 shlibpath_var
=LD_LIBRARY_PATH
16427 shlibpath_overrides_runpath
=yes
16434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16435 soname_spec
='${libname}${release}${shared_ext}$major'
16436 shlibpath_var
=LD_LIBRARY_PATH
16437 shlibpath_overrides_runpath
=no
16438 hardcode_into_libs
=yes
16439 dynamic_linker
='ldqnx.so'
16444 sys_lib_dlsearch_path_spec
="/usr/lib"
16446 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16448 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16449 *) need_version
=no
;;
16451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16452 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16453 shlibpath_var
=LD_LIBRARY_PATH
16454 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16456 openbsd2.
[89] | openbsd2.
[89].
*)
16457 shlibpath_overrides_runpath
=no
16460 shlibpath_overrides_runpath
=yes
16464 shlibpath_overrides_runpath
=yes
16469 libname_spec
='$name'
16472 library_names_spec
='$libname${shared_ext} $libname.a'
16473 dynamic_linker
='OS/2 ld.exe'
16474 shlibpath_var
=LIBPATH
16477 osf3
* | osf4
* | osf5
*)
16481 soname_spec
='${libname}${release}${shared_ext}$major'
16482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16483 shlibpath_var
=LD_LIBRARY_PATH
16484 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16485 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16497 soname_spec
='${libname}${release}${shared_ext}$major'
16498 shlibpath_var
=LD_LIBRARY_PATH
16499 shlibpath_overrides_runpath
=yes
16500 hardcode_into_libs
=yes
16501 # ldd complains unless libraries are executable
16502 postinstall_cmds
='chmod +x $lib'
16507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16508 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16509 shlibpath_var
=LD_LIBRARY_PATH
16510 shlibpath_overrides_runpath
=yes
16511 if test "$with_gnu_ld" = yes; then
16519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16520 soname_spec
='${libname}${release}${shared_ext}$major'
16521 shlibpath_var
=LD_LIBRARY_PATH
16522 case $host_vendor in
16524 shlibpath_overrides_runpath
=no
16526 runpath_var
=LD_RUN_PATH
16534 shlibpath_overrides_runpath
=no
16535 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16541 if test -d /usr
/nec
;then
16543 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16544 soname_spec
='$libname${shared_ext}.$major'
16545 shlibpath_var
=LD_LIBRARY_PATH
16549 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16550 version_type
=freebsd-elf
16553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16554 soname_spec
='${libname}${release}${shared_ext}$major'
16555 shlibpath_var
=LD_LIBRARY_PATH
16556 shlibpath_overrides_runpath
=yes
16557 hardcode_into_libs
=yes
16558 if test "$with_gnu_ld" = yes; then
16559 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16561 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16564 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16568 sys_lib_dlsearch_path_spec
='/usr/lib'
16572 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16577 shlibpath_var
=LD_LIBRARY_PATH
16578 shlibpath_overrides_runpath
=no
16579 hardcode_into_libs
=yes
16584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16585 soname_spec
='${libname}${release}${shared_ext}$major'
16586 shlibpath_var
=LD_LIBRARY_PATH
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16594 $as_echo "$dynamic_linker" >&6; }
16595 test "$dynamic_linker" = no
&& can_build_shared
=no
16597 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16598 if test "$GCC" = yes; then
16599 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16602 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16603 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16605 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16606 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16647 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16648 hardcode_action_CXX
=
16649 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16650 test -n "$runpath_var_CXX" ||
16651 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16653 # We can hardcode non-existent directories.
16654 if test "$hardcode_direct_CXX" != no
&&
16655 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16656 # have to relink, otherwise we might link with an installed library
16657 # when we should be linking with a yet-to-be-installed one
16658 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16659 test "$hardcode_minus_L_CXX" != no
; then
16660 # Linking always hardcodes the temporary library directory.
16661 hardcode_action_CXX
=relink
16663 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16664 hardcode_action_CXX
=immediate
16667 # We cannot hardcode anything, or else we can only hardcode existing
16669 hardcode_action_CXX
=unsupported
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16672 $as_echo "$hardcode_action_CXX" >&6; }
16674 if test "$hardcode_action_CXX" = relink ||
16675 test "$inherit_rpath_CXX" = yes; then
16676 # Fast installation is not supported
16677 enable_fast_install
=no
16678 elif test "$shlibpath_overrides_runpath" = yes ||
16679 test "$enable_shared" = no
; then
16680 # Fast installation is not necessary
16681 enable_fast_install
=needless
16690 fi # test -n "$compiler"
16696 with_gnu_ld
=$lt_save_with_gnu_ld
16697 lt_cv_path_LDCXX
=$lt_cv_path_LD
16698 lt_cv_path_LD
=$lt_save_path_LD
16699 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16700 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16701 fi # test "$_lt_caught_CXX_error" != yes
16704 ac_cpp
='$CPP $CPPFLAGS'
16705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16721 ac_config_commands
="$ac_config_commands libtool"
16726 # Only expand once:
16733 *-cygwin* |
*-mingw*)
16734 # 'host' will be top-level target in the case of a target lib,
16735 # we must compare to with_cross_host to decide if this is a native
16736 # or cross-compiler and select where to install dlls appropriately.
16737 if test -n "$with_cross_host" &&
16738 test x
"$with_cross_host" != x
"no"; then
16739 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
16741 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
16752 if test -n "$ac_tool_prefix"; then
16755 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16756 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16758 $as_echo_n "checking for $ac_word... " >&6; }
16759 if test "${ac_cv_prog_GCJ+set}" = set; then :
16760 $as_echo_n "(cached) " >&6
16762 if test -n "$GCJ"; then
16763 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16766 for as_dir
in $PATH
16769 test -z "$as_dir" && as_dir
=.
16770 for ac_exec_ext
in '' $ac_executable_extensions; do
16771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16772 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
16773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16782 GCJ
=$ac_cv_prog_GCJ
16783 if test -n "$GCJ"; then
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16785 $as_echo "$GCJ" >&6; }
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16788 $as_echo "no" >&6; }
16792 test -n "$GCJ" && break
16795 if test -z "$GCJ"; then
16799 # Extract the first word of "$ac_prog", so it can be a program name with args.
16800 set dummy
$ac_prog; ac_word
=$2
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16802 $as_echo_n "checking for $ac_word... " >&6; }
16803 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
16804 $as_echo_n "(cached) " >&6
16806 if test -n "$ac_ct_GCJ"; then
16807 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
16809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16810 for as_dir
in $PATH
16813 test -z "$as_dir" && as_dir
=.
16814 for ac_exec_ext
in '' $ac_executable_extensions; do
16815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16816 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
16817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16826 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
16827 if test -n "$ac_ct_GCJ"; then
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
16829 $as_echo "$ac_ct_GCJ" >&6; }
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16832 $as_echo "no" >&6; }
16836 test -n "$ac_ct_GCJ" && break
16839 if test "x$ac_ct_GCJ" = x
; then
16842 case $cross_compiling:$ac_tool_warned in
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16846 ac_tool_warned
=yes ;;
16852 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
16853 if test "x${GCJFLAGS-unset}" = xunset
; then
16858 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16861 $as_echo_n "checking dependency style of $depcc... " >&6; }
16862 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
16863 $as_echo_n "(cached) " >&6
16865 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16866 # We make a subdir and do the tests there. Otherwise we can end up
16867 # making bogus files that we don't know about and never remove. For
16868 # instance it was reported that on HP-UX the gcc test will end up
16869 # making a dummy file named `D' -- because `-MD' means `put the output
16872 # Copy depcomp to subdir because otherwise we won't find it if we're
16873 # using a relative directory.
16874 cp "$am_depcomp" conftest.dir
16876 # We will build objects and dependencies in a subdirectory because
16877 # it helps to detect inapplicable dependency modes. For instance
16878 # both Tru64's cc and ICC support -MD to output dependencies as a
16879 # side effect of compilation, but ICC will put the dependencies in
16880 # the current directory while Tru64 will put them in the object
16884 am_cv_GCJ_dependencies_compiler_type
=none
16885 if test "$am_compiler_list" = ""; then
16886 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16888 am__universal
=false
16891 for depmode
in $am_compiler_list; do
16892 # Setup a source with many dependencies, because some compilers
16893 # like to wrap large dependency lists on column 80 (with \), and
16894 # we should not choose a depcomp mode which is confused by this.
16896 # We need to recreate these files for each test, as the compiler may
16897 # overwrite some of them when testing with obscure command lines.
16898 # This happens at least with the AIX C compiler.
16900 for i
in 1 2 3 4 5 6; do
16901 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16902 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16903 # Solaris 8's {/usr,}/bin/sh.
16904 touch sub
/conftst
$i.h
16906 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16908 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16909 # mode. It turns out that the SunPro C++ compiler does not properly
16910 # handle `-M -o', and we need to detect this. Also, some Intel
16911 # versions had trouble with output in subdirs
16912 am__obj
=sub
/conftest.
${OBJEXT-o}
16913 am__minus_obj
="-o $am__obj"
16916 # This depmode causes a compiler race in universal mode.
16917 test "$am__universal" = false ||
continue
16920 # after this tag, mechanisms are not by side-effect, so they'll
16921 # only be used when explicitly requested
16922 if test "x$enable_dependency_tracking" = xyes
; then
16928 msvisualcpp | msvcmsys
)
16929 # This compiler won't grok `-c -o', but also, the minuso test has
16930 # not run yet. These depmodes are late enough in the game, and
16931 # so weak that their functioning should not be impacted.
16932 am__obj
=conftest.
${OBJEXT-o}
16937 if depmode
=$depmode \
16938 source=sub
/conftest.c object
=$am__obj \
16939 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16940 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
16941 >/dev
/null
2>conftest.err
&&
16942 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16943 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16944 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
16945 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16946 # icc doesn't choke on unknown options, it will just issue warnings
16947 # or remarks (even with -Werror). So we grep stderr for any message
16948 # that says an option was ignored or not supported.
16949 # When given -MP, icc 7.0 and 7.1 complain thusly:
16950 # icc: Command line warning: ignoring option '-M'; no argument required
16951 # The diagnosis changed in icc 8.0:
16952 # icc: Command line remark: option '-MP' not supported
16953 if (grep 'ignoring option' conftest.err ||
16954 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16955 am_cv_GCJ_dependencies_compiler_type
=$depmode
16962 rm -rf conftest.dir
16964 am_cv_GCJ_dependencies_compiler_type
=none
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
16969 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
16970 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
16973 test "x$enable_dependency_tracking" != xno \
16974 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
16975 am__fastdepGCJ_TRUE
=
16976 am__fastdepGCJ_FALSE
='#'
16978 am__fastdepGCJ_TRUE
='#'
16979 am__fastdepGCJ_FALSE
=
16984 if test -n "$ac_tool_prefix"; then
16987 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16988 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16990 $as_echo_n "checking for $ac_word... " >&6; }
16991 if test "${ac_cv_prog_GCJ+set}" = set; then :
16992 $as_echo_n "(cached) " >&6
16994 if test -n "$GCJ"; then
16995 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16998 for as_dir
in $PATH
17001 test -z "$as_dir" && as_dir
=.
17002 for ac_exec_ext
in '' $ac_executable_extensions; do
17003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17004 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
17005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17014 GCJ
=$ac_cv_prog_GCJ
17015 if test -n "$GCJ"; then
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
17017 $as_echo "$GCJ" >&6; }
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17020 $as_echo "no" >&6; }
17024 test -n "$GCJ" && break
17027 if test -z "$GCJ"; then
17031 # Extract the first word of "$ac_prog", so it can be a program name with args.
17032 set dummy
$ac_prog; ac_word
=$2
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17034 $as_echo_n "checking for $ac_word... " >&6; }
17035 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
17036 $as_echo_n "(cached) " >&6
17038 if test -n "$ac_ct_GCJ"; then
17039 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
17041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17042 for as_dir
in $PATH
17045 test -z "$as_dir" && as_dir
=.
17046 for ac_exec_ext
in '' $ac_executable_extensions; do
17047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17048 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
17049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17058 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
17059 if test -n "$ac_ct_GCJ"; then
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
17061 $as_echo "$ac_ct_GCJ" >&6; }
17063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17064 $as_echo "no" >&6; }
17068 test -n "$ac_ct_GCJ" && break
17071 if test "x$ac_ct_GCJ" = x
; then
17074 case $cross_compiling:$ac_tool_warned in
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17078 ac_tool_warned
=yes ;;
17084 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
17085 if test "x${GCJFLAGS-unset}" = xunset
; then
17090 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17093 $as_echo_n "checking dependency style of $depcc... " >&6; }
17094 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
17095 $as_echo_n "(cached) " >&6
17097 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17098 # We make a subdir and do the tests there. Otherwise we can end up
17099 # making bogus files that we don't know about and never remove. For
17100 # instance it was reported that on HP-UX the gcc test will end up
17101 # making a dummy file named `D' -- because `-MD' means `put the output
17104 # Copy depcomp to subdir because otherwise we won't find it if we're
17105 # using a relative directory.
17106 cp "$am_depcomp" conftest.dir
17108 # We will build objects and dependencies in a subdirectory because
17109 # it helps to detect inapplicable dependency modes. For instance
17110 # both Tru64's cc and ICC support -MD to output dependencies as a
17111 # side effect of compilation, but ICC will put the dependencies in
17112 # the current directory while Tru64 will put them in the object
17116 am_cv_GCJ_dependencies_compiler_type
=none
17117 if test "$am_compiler_list" = ""; then
17118 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17120 am__universal
=false
17123 for depmode
in $am_compiler_list; do
17124 # Setup a source with many dependencies, because some compilers
17125 # like to wrap large dependency lists on column 80 (with \), and
17126 # we should not choose a depcomp mode which is confused by this.
17128 # We need to recreate these files for each test, as the compiler may
17129 # overwrite some of them when testing with obscure command lines.
17130 # This happens at least with the AIX C compiler.
17132 for i
in 1 2 3 4 5 6; do
17133 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
17134 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17135 # Solaris 8's {/usr,}/bin/sh.
17136 touch sub
/conftst
$i.h
17138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17140 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17141 # mode. It turns out that the SunPro C++ compiler does not properly
17142 # handle `-M -o', and we need to detect this. Also, some Intel
17143 # versions had trouble with output in subdirs
17144 am__obj
=sub
/conftest.
${OBJEXT-o}
17145 am__minus_obj
="-o $am__obj"
17148 # This depmode causes a compiler race in universal mode.
17149 test "$am__universal" = false ||
continue
17152 # after this tag, mechanisms are not by side-effect, so they'll
17153 # only be used when explicitly requested
17154 if test "x$enable_dependency_tracking" = xyes
; then
17160 msvisualcpp | msvcmsys
)
17161 # This compiler won't grok `-c -o', but also, the minuso test has
17162 # not run yet. These depmodes are late enough in the game, and
17163 # so weak that their functioning should not be impacted.
17164 am__obj
=conftest.
${OBJEXT-o}
17169 if depmode
=$depmode \
17170 source=sub
/conftest.c object
=$am__obj \
17171 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
17172 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
17173 >/dev
/null
2>conftest.err
&&
17174 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17175 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17176 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
17177 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
17178 # icc doesn't choke on unknown options, it will just issue warnings
17179 # or remarks (even with -Werror). So we grep stderr for any message
17180 # that says an option was ignored or not supported.
17181 # When given -MP, icc 7.0 and 7.1 complain thusly:
17182 # icc: Command line warning: ignoring option '-M'; no argument required
17183 # The diagnosis changed in icc 8.0:
17184 # icc: Command line remark: option '-MP' not supported
17185 if (grep 'ignoring option' conftest.err ||
17186 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
17187 am_cv_GCJ_dependencies_compiler_type
=$depmode
17194 rm -rf conftest.dir
17196 am_cv_GCJ_dependencies_compiler_type
=none
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
17201 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
17202 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
17205 test "x$enable_dependency_tracking" != xno \
17206 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
17207 am__fastdepGCJ_TRUE
=
17208 am__fastdepGCJ_FALSE
='#'
17210 am__fastdepGCJ_TRUE
='#'
17211 am__fastdepGCJ_FALSE
=
17218 # Source file extension for Java test sources.
17221 # Object file extension for compiled Java test sources.
17225 # Code to be used in simple compile tests
17226 lt_simple_compile_test_code
="int some_variable = 0;"
17228 # Code to be used in simple link tests
17229 lt_simple_link_test_code
='int main(){return(0);}'
17231 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17238 # If no C compiler was specified, use CC.
17241 # If no C compiler flags were specified, use CFLAGS.
17242 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17244 # Allow CC to be a program name with arguments.
17248 # save warnings/boilerplate of simple test code
17249 ac_outfile
=conftest.
$ac_objext
17250 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17251 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17252 _lt_compiler_boilerplate
=`cat conftest.err`
17255 ac_outfile
=conftest.
$ac_objext
17256 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17257 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17258 _lt_linker_boilerplate
=`cat conftest.err`
17262 # Allow CC to be a program name with arguments.
17266 for cc_temp
in $compiler""; do
17268 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17269 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17274 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17277 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17278 archive_cmds_need_lc_GCJ
=no
17280 old_archive_cmds_GCJ
=$old_archive_cmds
17283 ## There is no encapsulation within the following macros, do not change
17284 ## the running order or otherwise move them around unless you know exactly
17285 ## what you are doing...
17286 if test -n "$compiler"; then
17288 lt_prog_compiler_no_builtin_flag_GCJ
=
17290 if test "$GCC" = yes; then
17291 case $cc_basename in
17293 lt_prog_compiler_no_builtin_flag_GCJ
=' -Xcompiler -fno-builtin' ;;
17295 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin' ;;
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17299 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17300 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
17301 $as_echo_n "(cached) " >&6
17303 lt_cv_prog_compiler_rtti_exceptions
=no
17304 ac_outfile
=conftest.
$ac_objext
17305 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17306 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17307 # Insert the option either (1) after the last *FLAGS variable, or
17308 # (2) before a word containing "conftest.", or (3) at the end.
17309 # Note that $ac_compile itself does not contain backslashes and begins
17310 # with a dollar sign (not a hyphen), so the echo should work correctly.
17311 # The option is referenced via a variable to avoid confusing sed.
17312 lt_compile
=`echo "$ac_compile" | $SED \
17313 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17314 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17315 -e 's:$: $lt_compiler_flag:'`
17316 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17317 (eval "$lt_compile" 2>conftest.err
)
17319 cat conftest.err
>&5
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 if (exit $ac_status) && test -s "$ac_outfile"; then
17322 # The compiler can only warn and ignore the option if not recognized
17323 # So say no if there are warnings other than the usual output.
17324 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17325 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17326 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17327 lt_cv_prog_compiler_rtti_exceptions
=yes
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17334 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17336 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17337 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17346 lt_prog_compiler_wl_GCJ
=
17347 lt_prog_compiler_pic_GCJ
=
17348 lt_prog_compiler_static_GCJ
=
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17351 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17353 if test "$GCC" = yes; then
17354 lt_prog_compiler_wl_GCJ
='-Wl,'
17355 lt_prog_compiler_static_GCJ
='-static'
17359 # All AIX code is PIC.
17360 if test "$host_cpu" = ia64
; then
17361 # AIX 5 now supports IA64 processor
17362 lt_prog_compiler_static_GCJ
='-Bstatic'
17369 # see comment about AmigaOS4 .so support
17370 lt_prog_compiler_pic_GCJ
='-fPIC'
17373 # FIXME: we need at least 68020 code to build shared libraries, but
17374 # adding the `-m68020' flag to GCC prevents building anything better,
17376 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17381 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17382 # PIC is the default for these OSes.
17385 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17386 # This hack is so that the source file can tell whether it is being
17387 # built for inclusion in a dll (and should export symbols for example).
17388 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17389 # (--disable-auto-import) libraries
17393 darwin
* | rhapsody
*)
17394 # PIC is the default on this platform
17395 # Common symbols not allowed in MH_DYLIB files
17396 lt_prog_compiler_pic_GCJ
='-fno-common'
17400 # PIC is the default for Haiku.
17401 # The "-static" flag exists, but is broken.
17402 lt_prog_compiler_static_GCJ
=
17406 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17407 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17408 # sets the default TLS model and affects inlining.
17414 lt_prog_compiler_pic_GCJ
='-fPIC'
17420 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17421 # Instead, we relocate shared libraries at runtime.
17425 # Just because we use GCC doesn't mean we suddenly get shared libraries
17426 # on systems that don't support them.
17427 lt_prog_compiler_can_build_shared_GCJ
=no
17432 # QNX uses GNU C++, but need to define -shared option too, otherwise
17433 # it will coredump.
17434 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17438 if test -d /usr
/nec
; then
17439 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17444 lt_prog_compiler_pic_GCJ
='-fPIC'
17448 case $cc_basename in
17449 nvcc
*) # Cuda Compiler Driver 2.2
17450 lt_prog_compiler_wl_GCJ
='-Xlinker '
17451 lt_prog_compiler_pic_GCJ
='-Xcompiler -fPIC'
17455 # PORTME Check for flag to pass linker flags through the system compiler.
17458 lt_prog_compiler_wl_GCJ
='-Wl,'
17459 if test "$host_cpu" = ia64
; then
17460 # AIX 5 now supports IA64 processor
17461 lt_prog_compiler_static_GCJ
='-Bstatic'
17463 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17467 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17468 # This hack is so that the source file can tell whether it is being
17469 # built for inclusion in a dll (and should export symbols for example).
17473 hpux9
* | hpux10
* | hpux11
*)
17474 lt_prog_compiler_wl_GCJ
='-Wl,'
17475 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17476 # not for PA HP-UX.
17482 lt_prog_compiler_pic_GCJ
='+Z'
17485 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17486 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17489 irix5
* | irix6
* | nonstopux
*)
17490 lt_prog_compiler_wl_GCJ
='-Wl,'
17491 # PIC (with -KPIC) is the default.
17492 lt_prog_compiler_static_GCJ
='-non_shared'
17495 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17496 case $cc_basename in
17497 # old Intel for x86_64 which still supported -KPIC.
17499 lt_prog_compiler_wl_GCJ
='-Wl,'
17500 lt_prog_compiler_pic_GCJ
='-KPIC'
17501 lt_prog_compiler_static_GCJ
='-static'
17503 # icc used to be incompatible with GCC.
17504 # ICC 10 doesn't accept -KPIC any more.
17506 lt_prog_compiler_wl_GCJ
='-Wl,'
17507 lt_prog_compiler_pic_GCJ
='-fPIC'
17508 lt_prog_compiler_static_GCJ
='-static'
17510 # Lahey Fortran 8.1.
17512 lt_prog_compiler_wl_GCJ
='-Wl,'
17513 lt_prog_compiler_pic_GCJ
='--shared'
17514 lt_prog_compiler_static_GCJ
='--static'
17516 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
17517 # Portland Group compilers (*not* the Pentium gcc compiler,
17518 # which looks to be a dead project)
17519 lt_prog_compiler_wl_GCJ
='-Wl,'
17520 lt_prog_compiler_pic_GCJ
='-fpic'
17521 lt_prog_compiler_static_GCJ
='-Bstatic'
17524 lt_prog_compiler_wl_GCJ
='-Wl,'
17525 # All Alpha code is PIC.
17526 lt_prog_compiler_static_GCJ
='-non_shared'
17528 xl
* | bgxl
* | bgf
* | mpixl
*)
17529 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
17530 lt_prog_compiler_wl_GCJ
='-Wl,'
17531 lt_prog_compiler_pic_GCJ
='-qpic'
17532 lt_prog_compiler_static_GCJ
='-qstaticlink'
17535 case `$CC -V 2>&1 | sed 5q` in
17536 *Sun\ F
* |
*Sun
*Fortran
*)
17537 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17538 lt_prog_compiler_pic_GCJ
='-KPIC'
17539 lt_prog_compiler_static_GCJ
='-Bstatic'
17540 lt_prog_compiler_wl_GCJ
=''
17544 lt_prog_compiler_pic_GCJ
='-KPIC'
17545 lt_prog_compiler_static_GCJ
='-Bstatic'
17546 lt_prog_compiler_wl_GCJ
='-Wl,'
17554 lt_prog_compiler_pic_GCJ
='-KPIC'
17555 lt_prog_compiler_static_GCJ
='-Bstatic'
17559 # QNX uses GNU C++, but need to define -shared option too, otherwise
17560 # it will coredump.
17561 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17564 osf3
* | osf4
* | osf5
*)
17565 lt_prog_compiler_wl_GCJ
='-Wl,'
17566 # All OSF/1 code is PIC.
17567 lt_prog_compiler_static_GCJ
='-non_shared'
17571 lt_prog_compiler_static_GCJ
='-non_shared'
17575 lt_prog_compiler_pic_GCJ
='-KPIC'
17576 lt_prog_compiler_static_GCJ
='-Bstatic'
17577 case $cc_basename in
17578 f77
* | f90
* | f95
*)
17579 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17581 lt_prog_compiler_wl_GCJ
='-Wl,';;
17586 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17587 lt_prog_compiler_pic_GCJ
='-PIC'
17588 lt_prog_compiler_static_GCJ
='-Bstatic'
17591 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17592 lt_prog_compiler_wl_GCJ
='-Wl,'
17593 lt_prog_compiler_pic_GCJ
='-KPIC'
17594 lt_prog_compiler_static_GCJ
='-Bstatic'
17598 if test -d /usr
/nec
;then
17599 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17600 lt_prog_compiler_static_GCJ
='-Bstatic'
17604 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17605 lt_prog_compiler_wl_GCJ
='-Wl,'
17606 lt_prog_compiler_pic_GCJ
='-KPIC'
17607 lt_prog_compiler_static_GCJ
='-Bstatic'
17611 lt_prog_compiler_wl_GCJ
='-Wl,'
17612 lt_prog_compiler_can_build_shared_GCJ
=no
17616 lt_prog_compiler_pic_GCJ
='-pic'
17617 lt_prog_compiler_static_GCJ
='-Bstatic'
17621 lt_prog_compiler_can_build_shared_GCJ
=no
17627 # For platforms which do not support PIC, -DPIC is meaningless:
17629 lt_prog_compiler_pic_GCJ
=
17632 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
17636 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17641 # Check to make sure the PIC flag actually works.
17643 if test -n "$lt_prog_compiler_pic_GCJ"; then
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17645 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17646 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then :
17647 $as_echo_n "(cached) " >&6
17649 lt_cv_prog_compiler_pic_works_GCJ
=no
17650 ac_outfile
=conftest.
$ac_objext
17651 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17652 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17653 # Insert the option either (1) after the last *FLAGS variable, or
17654 # (2) before a word containing "conftest.", or (3) at the end.
17655 # Note that $ac_compile itself does not contain backslashes and begins
17656 # with a dollar sign (not a hyphen), so the echo should work correctly.
17657 # The option is referenced via a variable to avoid confusing sed.
17658 lt_compile
=`echo "$ac_compile" | $SED \
17659 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17660 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17661 -e 's:$: $lt_compiler_flag:'`
17662 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17663 (eval "$lt_compile" 2>conftest.err
)
17665 cat conftest.err
>&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 if (exit $ac_status) && test -s "$ac_outfile"; then
17668 # The compiler can only warn and ignore the option if not recognized
17669 # So say no if there are warnings other than the usual output.
17670 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17671 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17672 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17673 lt_cv_prog_compiler_pic_works_GCJ
=yes
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17680 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17682 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17683 case $lt_prog_compiler_pic_GCJ in
17685 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17688 lt_prog_compiler_pic_GCJ
=
17689 lt_prog_compiler_can_build_shared_GCJ
=no
17697 # Check to make sure the static flag actually works.
17699 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17701 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17702 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then :
17703 $as_echo_n "(cached) " >&6
17705 lt_cv_prog_compiler_static_works_GCJ
=no
17706 save_LDFLAGS
="$LDFLAGS"
17707 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17708 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17709 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17710 # The linker can only warn and ignore the option if not recognized
17711 # So say no if there are warnings
17712 if test -s conftest.err
; then
17713 # Append any errors to the config.log.
17714 cat conftest.err
1>&5
17715 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
17716 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17717 if diff conftest.exp conftest.er2
>/dev
/null
; then
17718 lt_cv_prog_compiler_static_works_GCJ
=yes
17721 lt_cv_prog_compiler_static_works_GCJ
=yes
17725 LDFLAGS
="$save_LDFLAGS"
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17729 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17731 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17734 lt_prog_compiler_static_GCJ
=
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17741 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17742 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17743 $as_echo_n "(cached) " >&6
17745 lt_cv_prog_compiler_c_o_GCJ
=no
17746 $RM -r conftest
2>/dev
/null
17750 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17752 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17753 # Insert the option either (1) after the last *FLAGS variable, or
17754 # (2) before a word containing "conftest.", or (3) at the end.
17755 # Note that $ac_compile itself does not contain backslashes and begins
17756 # with a dollar sign (not a hyphen), so the echo should work correctly.
17757 lt_compile
=`echo "$ac_compile" | $SED \
17758 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17759 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17760 -e 's:$: $lt_compiler_flag:'`
17761 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17762 (eval "$lt_compile" 2>out
/conftest.err
)
17764 cat out
/conftest.err
>&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17768 # The compiler can only warn and ignore the option if not recognized
17769 # So say no if there are warnings
17770 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17771 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17772 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17773 lt_cv_prog_compiler_c_o_GCJ
=yes
17778 # SGI C++ compiler will create directory out/ii_files/ for
17779 # template instantiation
17780 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17781 $RM out
/* && rmdir out
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17788 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17793 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17794 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17795 $as_echo_n "(cached) " >&6
17797 lt_cv_prog_compiler_c_o_GCJ
=no
17798 $RM -r conftest
2>/dev
/null
17802 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17804 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17805 # Insert the option either (1) after the last *FLAGS variable, or
17806 # (2) before a word containing "conftest.", or (3) at the end.
17807 # Note that $ac_compile itself does not contain backslashes and begins
17808 # with a dollar sign (not a hyphen), so the echo should work correctly.
17809 lt_compile
=`echo "$ac_compile" | $SED \
17810 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17811 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17812 -e 's:$: $lt_compiler_flag:'`
17813 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17814 (eval "$lt_compile" 2>out
/conftest.err
)
17816 cat out
/conftest.err
>&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17820 # The compiler can only warn and ignore the option if not recognized
17821 # So say no if there are warnings
17822 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17823 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17824 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17825 lt_cv_prog_compiler_c_o_GCJ
=yes
17830 # SGI C++ compiler will create directory out/ii_files/ for
17831 # template instantiation
17832 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17833 $RM out
/* && rmdir out
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17840 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17845 hard_links
="nottested"
17846 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17847 # do not overwrite the value of need_locks provided by the user
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17849 $as_echo_n "checking if we can lock with hard links... " >&6; }
17852 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17854 ln conftest.a conftest.b
2>&5 || hard_links
=no
17855 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17857 $as_echo "$hard_links" >&6; }
17858 if test "$hard_links" = no
; then
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17860 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17870 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17873 allow_undefined_flag_GCJ
=
17874 always_export_symbols_GCJ
=no
17876 archive_expsym_cmds_GCJ
=
17877 compiler_needs_object_GCJ
=no
17878 enable_shared_with_static_runtimes_GCJ
=no
17879 export_dynamic_flag_spec_GCJ
=
17880 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17881 hardcode_automatic_GCJ
=no
17882 hardcode_direct_GCJ
=no
17883 hardcode_direct_absolute_GCJ
=no
17884 hardcode_libdir_flag_spec_GCJ
=
17885 hardcode_libdir_flag_spec_ld_GCJ
=
17886 hardcode_libdir_separator_GCJ
=
17887 hardcode_minus_L_GCJ
=no
17888 hardcode_shlibpath_var_GCJ
=unsupported
17889 inherit_rpath_GCJ
=no
17890 link_all_deplibs_GCJ
=unknown
17892 module_expsym_cmds_GCJ
=
17893 old_archive_from_new_cmds_GCJ
=
17894 old_archive_from_expsyms_cmds_GCJ
=
17895 thread_safe_flag_spec_GCJ
=
17896 whole_archive_flag_spec_GCJ
=
17897 # include_expsyms should be a list of space-separated symbols to be *always*
17898 # included in the symbol list
17899 include_expsyms_GCJ
=
17900 # exclude_expsyms can be an extended regexp of symbols to exclude
17901 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17902 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17903 # as well as any symbol that contains `d'.
17904 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17905 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17906 # platforms (ab)use it in PIC code, but their linkers get confused if
17907 # the symbol is explicitly referenced. Since portable code cannot
17908 # rely on this symbol name, it's probably fine to never include it in
17909 # preloaded symbol tables.
17910 # Exclude shared library initialization/finalization symbols.
17911 extract_expsyms_cmds
=
17914 cygwin
* | mingw
* | pw32
* | cegcc
*)
17915 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17916 # When not using gcc, we currently assume that we are using
17917 # Microsoft Visual C++.
17918 if test "$GCC" != yes; then
17923 # we just hope/assume this is gcc and not c89 (= MSVC++)
17933 # On some targets, GNU ld is compatible enough with the native linker
17934 # that we're better off using the native interface for both.
17935 lt_use_gnu_ld_interface
=no
17936 if test "$with_gnu_ld" = yes; then
17939 # The AIX port of GNU ld has always aspired to compatibility
17940 # with the native linker. However, as the warning in the GNU ld
17941 # block says, versions before 2.19.5* couldn't really create working
17942 # shared libraries, regardless of the interface used.
17943 case `$LD -v 2>&1` in
17944 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
17945 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
17946 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
17948 lt_use_gnu_ld_interface
=yes
17953 lt_use_gnu_ld_interface
=yes
17958 if test "$lt_use_gnu_ld_interface" = yes; then
17959 # If archive_cmds runs LD, not CC, wlarc should be empty
17962 # Set some defaults for GNU ld with shared library support. These
17963 # are reset later if shared libraries are not supported. Putting them
17964 # here allows them to be overridden if necessary.
17965 runpath_var
=LD_RUN_PATH
17966 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17967 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17968 # ancient GNU ld didn't support --whole-archive et. al.
17969 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
17970 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17972 whole_archive_flag_spec_GCJ
=
17974 supports_anon_versioning
=no
17975 case `$LD -v 2>&1` in
17976 *GNU\ gold
*) supports_anon_versioning
=yes ;;
17977 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17978 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17979 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17980 *\
2.11.
*) ;; # other 2.11 versions
17981 *) supports_anon_versioning
=yes ;;
17984 # See if GNU ld supports shared libraries.
17987 # On AIX/PPC, the GNU linker is very broken
17988 if test "$host_cpu" != ia64
; then
17992 *** Warning: the GNU linker, at least up to release 2.19, is reported
17993 *** to be unable to reliably create shared libraries on AIX.
17994 *** Therefore, libtool is disabling shared libraries support. If you
17995 *** really care for shared libraries, you may want to install binutils
17996 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
17997 *** You will then need to restart the configuration process.
18006 # see comment about AmigaOS4 .so support
18007 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18008 archive_expsym_cmds_GCJ
=''
18011 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)'
18012 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18013 hardcode_minus_L_GCJ
=yes
18019 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18020 allow_undefined_flag_GCJ
=unsupported
18021 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18022 # support --undefined. This deserves some investigation. FIXME
18023 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18029 cygwin
* | mingw
* | pw32
* | cegcc
*)
18030 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18031 # as there is no search path for DLLs.
18032 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18033 export_dynamic_flag_spec_GCJ
='${wl}--export-all-symbols'
18034 allow_undefined_flag_GCJ
=unsupported
18035 always_export_symbols_GCJ
=no
18036 enable_shared_with_static_runtimes_GCJ
=yes
18037 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18039 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
18040 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18041 # If the export-symbols file already is a .def file (1st line
18042 # is EXPORTS), use it as is; otherwise, prepend...
18043 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18044 cp $export_symbols $output_objdir/$soname.def;
18046 echo EXPORTS > $output_objdir/$soname.def;
18047 cat $export_symbols >> $output_objdir/$soname.def;
18049 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18056 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18057 link_all_deplibs_GCJ
=yes
18061 hardcode_direct_GCJ
=no
18062 hardcode_shlibpath_var_GCJ
=no
18063 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18064 export_dynamic_flag_spec_GCJ
='${wl}-E'
18065 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18066 # Instead, shared libraries are loaded at an image base (0x10000000 by
18067 # default) and relocated if they conflict, which is a slow very memory
18068 # consuming and fragmenting process. To avoid this, we pick a random,
18069 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18070 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18071 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'
18072 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'
18075 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
18077 if test "$host_os" = linux-dietlibc
; then
18078 case $cc_basename in
18079 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
18082 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
18083 && test "$tmp_diet" = no
18086 tmp_sharedflag
='-shared'
18087 case $cc_basename,$host_cpu in
18088 pgcc
*) # Portland Group C compiler
18089 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
18090 tmp_addflag
=' $pic_flag'
18092 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
18093 # Portland Group f77 and f90 compilers
18094 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
18095 tmp_addflag
=' $pic_flag -Mnomain' ;;
18096 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18097 tmp_addflag
=' -i_dynamic' ;;
18098 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18099 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18100 ifc
* | ifort
*) # Intel Fortran compiler
18101 tmp_addflag
=' -nofor_main' ;;
18102 lf95
*) # Lahey Fortran 8.1
18103 whole_archive_flag_spec_GCJ
=
18104 tmp_sharedflag
='--shared' ;;
18105 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
18106 tmp_sharedflag
='-qmkshrobj'
18108 nvcc
*) # Cuda Compiler Driver 2.2
18109 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
18110 compiler_needs_object_GCJ
=yes
18113 case `$CC -V 2>&1 | sed 5q` in
18114 *Sun\ C
*) # Sun C 5.9
18115 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
18116 compiler_needs_object_GCJ
=yes
18117 tmp_sharedflag
='-G' ;;
18118 *Sun\ F
*) # Sun Fortran 8.3
18119 tmp_sharedflag
='-G' ;;
18121 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18123 if test "x$supports_anon_versioning" = xyes
; then
18124 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18125 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18126 echo "local: *; };" >> $output_objdir/$libname.ver~
18127 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18130 case $cc_basename in
18131 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
18132 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
18133 whole_archive_flag_spec_GCJ
='--whole-archive$convenience --no-whole-archive'
18134 hardcode_libdir_flag_spec_GCJ
=
18135 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18136 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
18137 if test "x$supports_anon_versioning" = xyes
; then
18138 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18139 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18140 echo "local: *; };" >> $output_objdir/$libname.ver~
18141 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
18151 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18152 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18155 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18156 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18161 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
18165 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18166 *** create shared libraries on Solaris systems. Therefore, libtool
18167 *** is disabling shared libraries support. We urge you to upgrade GNU
18168 *** binutils to release 2.9.1 or newer. Another option is to modify
18169 *** your PATH or compiler configuration so that the native linker is
18170 *** used, and then restart.
18173 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18174 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18175 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18181 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18182 case `$LD -v 2>&1` in
18183 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18187 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18188 *** reliably create shared libraries on SCO systems. Therefore, libtool
18189 *** is disabling shared libraries support. We urge you to upgrade GNU
18190 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18191 *** your PATH or compiler configuration so that the native linker is
18192 *** used, and then restart.
18197 # For security reasons, it is highly recommended that you always
18198 # use absolute paths for naming shared libraries, and exclude the
18199 # DT_RUNPATH tag from executables and libraries. But doing so
18200 # requires that you compile everything twice, which is a pain.
18201 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18202 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18203 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18204 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18213 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18215 hardcode_direct_GCJ
=yes
18216 hardcode_shlibpath_var_GCJ
=no
18220 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18221 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18222 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18229 if test "$ld_shlibs_GCJ" = no
; then
18231 hardcode_libdir_flag_spec_GCJ
=
18232 export_dynamic_flag_spec_GCJ
=
18233 whole_archive_flag_spec_GCJ
=
18236 # PORTME fill in a description of your system's linker (not GNU ld)
18239 allow_undefined_flag_GCJ
=unsupported
18240 always_export_symbols_GCJ
=yes
18241 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'
18242 # Note: this linker hardcodes the directories in LIBPATH if there
18243 # are no directories specified by -L.
18244 hardcode_minus_L_GCJ
=yes
18245 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18246 # Neither direct hardcoding nor static linking is supported with a
18248 hardcode_direct_GCJ
=unsupported
18253 if test "$host_cpu" = ia64
; then
18254 # On IA64, the linker does run time linking by default, so we don't
18255 # have to do anything special.
18256 aix_use_runtimelinking
=no
18257 exp_sym_flag
='-Bexport'
18260 # If we're using GNU nm, then we don't want the "-C" option.
18261 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18262 # Also, AIX nm treats weak defined symbols like other global
18263 # defined symbols, whereas GNU nm marks them as "W".
18264 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18265 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
18267 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'
18269 aix_use_runtimelinking
=no
18271 # Test if we are trying to use run time linking or normal
18272 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18273 # need to do runtime linking.
18274 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18275 for ld_flag
in $LDFLAGS; do
18276 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18277 aix_use_runtimelinking
=yes
18284 exp_sym_flag
='-bexport'
18285 no_entry_flag
='-bnoentry'
18288 # When large executables or shared objects are built, AIX ld can
18289 # have problems creating the table of contents. If linking a library
18290 # or program results in "error TOC overflow" add -mminimal-toc to
18291 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18292 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18294 archive_cmds_GCJ
=''
18295 hardcode_direct_GCJ
=yes
18296 hardcode_direct_absolute_GCJ
=yes
18297 hardcode_libdir_separator_GCJ
=':'
18298 link_all_deplibs_GCJ
=yes
18299 file_list_spec_GCJ
='${wl}-f,'
18301 if test "$GCC" = yes; then
18302 case $host_os in aix4.
[012]|aix4.
[012].
*)
18303 # We only want to do this on AIX 4.2 and lower, the check
18304 # below for broken collect2 doesn't work under 4.3+
18305 collect2name
=`${CC} -print-prog-name=collect2`
18306 if test -f "$collect2name" &&
18307 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
18309 # We have reworked collect2
18312 # We have old collect2
18313 hardcode_direct_GCJ
=unsupported
18314 # It fails to find uninstalled libraries when the uninstalled
18315 # path is not listed in the libpath. Setting hardcode_minus_L
18316 # to unsupported forces relinking
18317 hardcode_minus_L_GCJ
=yes
18318 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18319 hardcode_libdir_separator_GCJ
=
18323 shared_flag
='-shared'
18324 if test "$aix_use_runtimelinking" = yes; then
18325 shared_flag
="$shared_flag "'${wl}-G'
18329 if test "$host_cpu" = ia64
; then
18330 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18331 # chokes on -Wl,-G. The following line is correct:
18334 if test "$aix_use_runtimelinking" = yes; then
18335 shared_flag
='${wl}-G'
18337 shared_flag
='${wl}-bM:SRE'
18342 export_dynamic_flag_spec_GCJ
='${wl}-bexpall'
18343 # It seems that -bexpall does not export symbols beginning with
18344 # underscore (_), so it is better to generate a list of symbols to export.
18345 always_export_symbols_GCJ
=yes
18346 if test "$aix_use_runtimelinking" = yes; then
18347 # Warning - without using the other runtime loading flags (-brtl),
18348 # -berok will link without error, but may produce a broken library.
18349 allow_undefined_flag_GCJ
='-berok'
18350 # Determine the default libpath from the value encoded in an
18351 # empty executable.
18352 if test x
$gcc_no_link = xyes
; then
18353 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18366 if ac_fn_c_try_link
"$LINENO"; then :
18368 lt_aix_libpath_sed
='
18369 /Import File Strings/,/^$/ {
18375 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18376 # Check for a 64-bit object if we didn't find anything.
18377 if test -z "$aix_libpath"; then
18378 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18381 rm -f core conftest.err conftest.
$ac_objext \
18382 conftest
$ac_exeext conftest.
$ac_ext
18383 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18385 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18386 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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18388 if test "$host_cpu" = ia64
; then
18389 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
18390 allow_undefined_flag_GCJ
="-z nodefs"
18391 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"
18393 # Determine the default libpath from the value encoded in an
18394 # empty executable.
18395 if test x
$gcc_no_link = xyes
; then
18396 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h. */
18409 if ac_fn_c_try_link
"$LINENO"; then :
18411 lt_aix_libpath_sed
='
18412 /Import File Strings/,/^$/ {
18418 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18419 # Check for a 64-bit object if we didn't find anything.
18420 if test -z "$aix_libpath"; then
18421 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18424 rm -f core conftest.err conftest.
$ac_objext \
18425 conftest
$ac_exeext conftest.
$ac_ext
18426 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18428 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18429 # Warning - without using the other run time loading flags,
18430 # -berok will link without error, but may produce a broken library.
18431 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18432 allow_undefined_flag_GCJ
=' ${wl}-berok'
18433 if test "$with_gnu_ld" = yes; then
18434 # We only use this code for GNU lds that support --whole-archive.
18435 whole_archive_flag_spec_GCJ
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18437 # Exported symbols can be pulled into shared objects from archives
18438 whole_archive_flag_spec_GCJ
='$convenience'
18440 archive_cmds_need_lc_GCJ
=yes
18441 # This is similar to how AIX traditionally builds its shared libraries.
18442 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'
18450 # see comment about AmigaOS4 .so support
18451 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18452 archive_expsym_cmds_GCJ
=''
18455 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)'
18456 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18457 hardcode_minus_L_GCJ
=yes
18463 export_dynamic_flag_spec_GCJ
=-rdynamic
18466 cygwin
* | mingw
* | pw32
* | cegcc
*)
18467 # When not using gcc, we currently assume that we are using
18468 # Microsoft Visual C++.
18469 # hardcode_libdir_flag_spec is actually meaningless, as there is
18470 # no search path for DLLs.
18471 hardcode_libdir_flag_spec_GCJ
=' '
18472 allow_undefined_flag_GCJ
=unsupported
18473 # Tell ltmain to make .lib files, not .a files.
18475 # Tell ltmain to make .dll files, not .so files.
18477 # FIXME: Setting linknames here is a bad hack.
18478 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
18479 # The linker will automatically build a .lib file if we build a DLL.
18480 old_archive_from_new_cmds_GCJ
='true'
18481 # FIXME: Should let the user specify the lib program.
18482 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18483 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18484 enable_shared_with_static_runtimes_GCJ
=yes
18487 darwin
* | rhapsody
*)
18490 archive_cmds_need_lc_GCJ
=no
18491 hardcode_direct_GCJ
=no
18492 hardcode_automatic_GCJ
=yes
18493 hardcode_shlibpath_var_GCJ
=unsupported
18494 if test "$lt_cv_ld_force_load" = "yes"; then
18495 whole_archive_flag_spec_GCJ
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
18497 whole_archive_flag_spec_GCJ
=''
18499 link_all_deplibs_GCJ
=yes
18500 allow_undefined_flag_GCJ
="$_lt_dar_allow_undefined"
18501 case $cc_basename in
18502 ifort
*) _lt_dar_can_shared
=yes ;;
18503 *) _lt_dar_can_shared
=$GCC ;;
18505 if test "$_lt_dar_can_shared" = "yes"; then
18506 output_verbose_link_cmd
=func_echo_all
18507 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}"
18508 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18509 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}"
18510 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}"
18519 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18520 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18521 hardcode_shlibpath_var_GCJ
=no
18524 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18525 # support. Future versions do this automatically, but an explicit c++rt0.o
18526 # does not break anything, and helps significantly (at the cost of a little
18529 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18530 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18531 hardcode_direct_GCJ
=yes
18532 hardcode_shlibpath_var_GCJ
=no
18535 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18537 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18538 hardcode_direct_GCJ
=yes
18539 hardcode_minus_L_GCJ
=yes
18540 hardcode_shlibpath_var_GCJ
=no
18543 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18544 freebsd
* | dragonfly
*)
18545 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18546 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18547 hardcode_direct_GCJ
=yes
18548 hardcode_shlibpath_var_GCJ
=no
18552 if test "$GCC" = yes; then
18553 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'
18555 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'
18557 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18558 hardcode_libdir_separator_GCJ
=:
18559 hardcode_direct_GCJ
=yes
18561 # hardcode_minus_L: Not really in the search PATH,
18562 # but as the default location of the library.
18563 hardcode_minus_L_GCJ
=yes
18564 export_dynamic_flag_spec_GCJ
='${wl}-E'
18568 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18569 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18571 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18573 if test "$with_gnu_ld" = no
; then
18574 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18575 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18576 hardcode_libdir_separator_GCJ
=:
18577 hardcode_direct_GCJ
=yes
18578 hardcode_direct_absolute_GCJ
=yes
18579 export_dynamic_flag_spec_GCJ
='${wl}-E'
18580 # hardcode_minus_L: Not really in the search PATH,
18581 # but as the default location of the library.
18582 hardcode_minus_L_GCJ
=yes
18587 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18590 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18593 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18596 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18602 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18605 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18608 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18612 if test "$with_gnu_ld" = no
; then
18613 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18614 hardcode_libdir_separator_GCJ
=:
18618 hardcode_direct_GCJ
=no
18619 hardcode_shlibpath_var_GCJ
=no
18622 hardcode_direct_GCJ
=yes
18623 hardcode_direct_absolute_GCJ
=yes
18624 export_dynamic_flag_spec_GCJ
='${wl}-E'
18626 # hardcode_minus_L: Not really in the search PATH,
18627 # but as the default location of the library.
18628 hardcode_minus_L_GCJ
=yes
18634 irix5
* | irix6
* | nonstopux
*)
18635 if test "$GCC" = yes; then
18636 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18637 # Try to use the -exported_symbol ld option, if it does not
18638 # work, assume that -exports_file does not work either and
18639 # implicitly export all symbols.
18640 save_LDFLAGS
="$LDFLAGS"
18641 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18642 if test x
$gcc_no_link = xyes
; then
18643 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18649 if ac_fn_c_try_link
"$LINENO"; then :
18650 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
18653 rm -f core conftest.err conftest.
$ac_objext \
18654 conftest
$ac_exeext conftest.
$ac_ext
18655 LDFLAGS
="$save_LDFLAGS"
18657 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18658 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
18660 archive_cmds_need_lc_GCJ
='no'
18661 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18662 hardcode_libdir_separator_GCJ
=:
18663 inherit_rpath_GCJ
=yes
18664 link_all_deplibs_GCJ
=yes
18668 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18669 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18671 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18673 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18674 hardcode_direct_GCJ
=yes
18675 hardcode_shlibpath_var_GCJ
=no
18679 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18680 hardcode_direct_GCJ
=yes
18681 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18682 hardcode_libdir_separator_GCJ
=:
18683 hardcode_shlibpath_var_GCJ
=no
18690 if test -f /usr
/libexec
/ld.so
; then
18691 hardcode_direct_GCJ
=yes
18692 hardcode_shlibpath_var_GCJ
=no
18693 hardcode_direct_absolute_GCJ
=yes
18694 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18695 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18696 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18697 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18698 export_dynamic_flag_spec_GCJ
='${wl}-E'
18701 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18702 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18703 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18706 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18707 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18717 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18718 hardcode_minus_L_GCJ
=yes
18719 allow_undefined_flag_GCJ
=unsupported
18720 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'
18721 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18725 if test "$GCC" = yes; then
18726 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18727 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18729 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18730 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18732 archive_cmds_need_lc_GCJ
='no'
18733 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18734 hardcode_libdir_separator_GCJ
=:
18737 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18738 if test "$GCC" = yes; then
18739 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18740 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18741 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18743 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18744 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18745 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~
18746 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
18748 # Both c and cxx compiler support -rpath directly
18749 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18751 archive_cmds_need_lc_GCJ
='no'
18752 hardcode_libdir_separator_GCJ
=:
18756 no_undefined_flag_GCJ
=' -z defs'
18757 if test "$GCC" = yes; then
18759 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18760 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18761 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18763 case `$CC -V 2>&1` in
18766 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18767 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18768 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18772 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18773 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18774 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18778 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18779 hardcode_shlibpath_var_GCJ
=no
18781 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18783 # The compiler driver will combine and reorder linker options,
18784 # but understands `-z linker_flag'. GCC discards it without `$wl',
18785 # but is careful enough not to reorder.
18786 # Supported since Solaris 2.6 (maybe 2.5.1?)
18787 if test "$GCC" = yes; then
18788 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18790 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18794 link_all_deplibs_GCJ
=yes
18798 if test "x$host_vendor" = xsequent
; then
18799 # Use $CC to link under sequent, because it throws in some extra .o
18800 # files that make .init and .fini sections work.
18801 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18803 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18805 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18806 hardcode_direct_GCJ
=yes
18807 hardcode_minus_L_GCJ
=yes
18808 hardcode_shlibpath_var_GCJ
=no
18812 case $host_vendor in
18814 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18815 hardcode_direct_GCJ
=yes # is this really true???
18818 ## LD is ld it makes a PLAMLIB
18819 ## CC just makes a GrossModule.
18820 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18821 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18822 hardcode_direct_GCJ
=no
18825 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18826 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18829 runpath_var
='LD_RUN_PATH'
18830 hardcode_shlibpath_var_GCJ
=no
18834 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18835 hardcode_shlibpath_var_GCJ
=no
18836 export_dynamic_flag_spec_GCJ
='-Bexport'
18840 if test -d /usr
/nec
; then
18841 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18842 hardcode_shlibpath_var_GCJ
=no
18843 runpath_var
=LD_RUN_PATH
18844 hardcode_runpath_var
=yes
18849 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18850 no_undefined_flag_GCJ
='${wl}-z,text'
18851 archive_cmds_need_lc_GCJ
=no
18852 hardcode_shlibpath_var_GCJ
=no
18853 runpath_var
='LD_RUN_PATH'
18855 if test "$GCC" = yes; then
18856 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18857 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18859 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18860 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18864 sysv5
* | sco3.2v5
* | sco5v6
*)
18865 # Note: We can NOT use -z defs as we might desire, because we do not
18866 # link with -lc, and that would cause any symbols used from libc to
18867 # always be unresolved, which means just about no library would
18868 # ever link correctly. If we're not using GNU ld we use -z text
18869 # though, which does catch some bad symbols but isn't as heavy-handed
18871 no_undefined_flag_GCJ
='${wl}-z,text'
18872 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18873 archive_cmds_need_lc_GCJ
=no
18874 hardcode_shlibpath_var_GCJ
=no
18875 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
18876 hardcode_libdir_separator_GCJ
=':'
18877 link_all_deplibs_GCJ
=yes
18878 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18879 runpath_var
='LD_RUN_PATH'
18881 if test "$GCC" = yes; then
18882 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18883 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18885 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18886 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18891 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18892 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18893 hardcode_shlibpath_var_GCJ
=no
18901 if test x
$host_vendor = xsni
; then
18903 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18904 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
18911 $as_echo "$ld_shlibs_GCJ" >&6; }
18912 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18914 with_gnu_ld_GCJ
=$with_gnu_ld
18922 # Do we need to explicitly link libc?
18924 case "x$archive_cmds_need_lc_GCJ" in
18926 # Assume -lc should be added
18927 archive_cmds_need_lc_GCJ
=yes
18929 if test "$enable_shared" = yes && test "$GCC" = yes; then
18930 case $archive_cmds_GCJ in
18932 # FIXME: we may have to deal with multi-command sequences.
18935 # Test whether the compiler implicitly links with -lc since on some
18936 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18937 # to ld, don't add -lc before -lgcc.
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18939 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18940 if test "${lt_cv_archive_cmds_need_lc_GCJ+set}" = set; then :
18941 $as_echo_n "(cached) " >&6
18944 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18946 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18947 (eval $ac_compile) 2>&5
18949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18950 test $ac_status = 0; } 2>conftest.err
; then
18953 libobjs
=conftest.
$ac_objext
18955 wl
=$lt_prog_compiler_wl_GCJ
18956 pic_flag
=$lt_prog_compiler_pic_GCJ
18962 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18963 allow_undefined_flag_GCJ
=
18964 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18965 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18968 test $ac_status = 0; }
18970 lt_cv_archive_cmds_need_lc_GCJ
=no
18972 lt_cv_archive_cmds_need_lc_GCJ
=yes
18974 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18976 cat conftest.err
1>&5
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
18982 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
18983 archive_cmds_need_lc_GCJ
=$lt_cv_archive_cmds_need_lc_GCJ
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19054 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19055 hardcode_action_GCJ
=
19056 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
19057 test -n "$runpath_var_GCJ" ||
19058 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19060 # We can hardcode non-existent directories.
19061 if test "$hardcode_direct_GCJ" != no
&&
19062 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19063 # have to relink, otherwise we might link with an installed library
19064 # when we should be linking with a yet-to-be-installed one
19065 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19066 test "$hardcode_minus_L_GCJ" != no
; then
19067 # Linking always hardcodes the temporary library directory.
19068 hardcode_action_GCJ
=relink
19070 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19071 hardcode_action_GCJ
=immediate
19074 # We cannot hardcode anything, or else we can only hardcode existing
19076 hardcode_action_GCJ
=unsupported
19078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
19079 $as_echo "$hardcode_action_GCJ" >&6; }
19081 if test "$hardcode_action_GCJ" = relink ||
19082 test "$inherit_rpath_GCJ" = yes; then
19083 # Fast installation is not supported
19084 enable_fast_install
=no
19085 elif test "$shlibpath_overrides_runpath" = yes ||
19086 test "$enable_shared" = no
; then
19087 # Fast installation is not necessary
19088 enable_fast_install
=needless
19099 compiler_GCJ
=${GCJ-gcj}
19101 ac_cpp
='$CPP $CPPFLAGS'
19102 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19103 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19104 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19107 if test "x$CC" != xcc
; then
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
19109 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
19112 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
19114 set dummy
$CC; ac_cc
=`$as_echo "$2" |
19115 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19116 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
19117 $as_echo_n "(cached) " >&6
19119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19120 /* end confdefs.h. */
19130 # Make sure it works both with $CC and with simple cc.
19131 # We do the test twice because some compilers refuse to overwrite an
19132 # existing .o file with -o, though they will create one.
19133 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19135 if { { case "(($ac_try" in
19136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19137 *) ac_try_echo=$ac_try;;
19139 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19140 $as_echo "$ac_try_echo"; } >&5
19141 (eval "$ac_try") 2>&5
19143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19144 test $ac_status = 0; } &&
19145 test -f conftest2.$ac_objext && { { case "(($ac_try" in
19146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19147 *) ac_try_echo
=$ac_try;;
19149 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19150 $as_echo "$ac_try_echo"; } >&5
19151 (eval "$ac_try") 2>&5
19153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19154 test $ac_status = 0; };
19156 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
19157 if test "x$CC" != xcc
; then
19158 # Test first that cc exists at all.
19159 if { ac_try
='cc -c conftest.$ac_ext >&5'
19160 { { case "(($ac_try" in
19161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19162 *) ac_try_echo=$ac_try;;
19164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19165 $as_echo "$ac_try_echo"; } >&5
19166 (eval "$ac_try") 2>&5
19168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19169 test $ac_status = 0; }; }; then
19170 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19172 if { { case "(($ac_try" in
19173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19174 *) ac_try_echo
=$ac_try;;
19176 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19177 $as_echo "$ac_try_echo"; } >&5
19178 (eval "$ac_try") 2>&5
19180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19181 test $ac_status = 0; } &&
19182 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
19183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19187 $as_echo "$ac_try_echo"; } >&5
19188 (eval "$ac_try") 2>&5
19190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19191 test $ac_status = 0; };
19196 # cc exists but doesn't like -o.
19197 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19202 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19204 rm -f core conftest*
19207 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19209 $as_echo "yes" >&6; }
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19212 $as_echo "no" >&6; }
19214 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
19218 # FIXME: we rely on the cache variable name because
19219 # there is no other way.
19221 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19222 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
19223 if test "$am_t" != yes; then
19224 # Losing compiler, so override with the script.
19225 # FIXME: It is wrong to rewrite CC.
19226 # But if we don't then we get into trouble of one sort or another.
19227 # A longer-term fix would be to have automake use am__CC in this case,
19228 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
19229 CC="$am_aux_dir/compile $CC"
19236 subdirs="$subdirs classpath libltdl"
19239 # The -no-testsuite modules omit the test subdir.
19240 if test -d $srcdir/testsuite; then
19242 TESTSUBDIR_FALSE='#'
19244 TESTSUBDIR_TRUE='#'
19249 # Should the runtime set system properties by examining the
19250 # environment variable GCJ_PROPERTIES?
19251 # Check whether --enable-getenv-properties was given.
19252 if test "${enable_getenv_properties+set}" = set; then :
19253 enableval=$enable_getenv_properties;
19257 # Whether GCJ_PROPERTIES is used depends on the target.
19258 if test -z "$enable_getenv_properties"; then
19259 enable_getenv_properties=${enable_getenv_properties_default-yes}
19261 if test "$enable_getenv_properties" = no; then
19263 $as_echo "#define DISABLE_GETENV_PROPERTIES 1" >>confdefs.h
19267 # Whether we should use arguments to main()
19268 if test -z "$enable_main_args"; then
19269 enable_main_args=${enable_main_args_default-yes}
19271 if test "$enable_main_args" = no; then
19273 $as_echo "#define DISABLE_MAIN_ARGS 1" >>confdefs.h
19278 # Should we use hashtable-based synchronization?
19279 # Currently works only for Linux X86/ia64
19280 # Typically faster and more space-efficient
19281 # Check whether --enable-hash-synchronization was given.
19282 if test "${enable_hash_synchronization+set}" = set; then :
19283 enableval=$enable_hash_synchronization;
19287 if test -z "$enable_hash_synchronization"; then
19288 enable_hash_synchronization=$enable_hash_synchronization_default
19296 # Check whether --with-ecj-jar was given.
19297 if test "${with_ecj_jar+set}" = set; then :
19298 withval=$with_ecj_jar; ECJ_JAR=$withval
19300 if test -f $multi_basedir/ecj.jar; then
19301 ECJ_BUILD_JAR=$multi_basedir/ecj.jar
19302 ECJ_JAR='$(jardir)/ecj.jar'
19303 install_ecj_jar=yes
19309 if test "$ECJ_JAR" != ""; then
19311 BUILD_ECJ1_FALSE='#'
19313 BUILD_ECJ1_TRUE='#'
19317 if test $install_ecj_jar = yes; then
19318 INSTALL_ECJ_JAR_TRUE=
19319 INSTALL_ECJ_JAR_FALSE='#'
19321 INSTALL_ECJ_JAR_TRUE='#'
19322 INSTALL_ECJ_JAR_FALSE=
19327 # Check whether --with-java-home was given.
19328 if test "${with_java_home+set}" = set; then :
19329 withval=$with_java_home; JAVA_HOME="${withval}"
19334 if test ! -z "$JAVA_HOME"; then
19335 JAVA_HOME_SET_TRUE=
19336 JAVA_HOME_SET_FALSE='#'
19338 JAVA_HOME_SET_TRUE='#'
19339 JAVA_HOME_SET_FALSE=
19344 suppress_libgcj_bc=no
19345 # Check whether --enable-libgcj-bc was given.
19346 if test "${enable_libgcj_bc+set}" = set; then :
19347 enableval=$enable_libgcj_bc; if test "$enable_libgcj_bc" = "no"; then
19348 suppress_libgcj_bc=yes
19352 if test "$suppress_libgcj_bc" = "yes"; then
19353 SUPPRESS_LIBGCJ_BC_TRUE=
19354 SUPPRESS_LIBGCJ_BC_FALSE='#'
19356 SUPPRESS_LIBGCJ_BC_TRUE='#'
19357 SUPPRESS_LIBGCJ_BC_FALSE=
19361 build_libgcj_reduced_reflection=no
19362 # Check whether --enable-reduced-reflection was given.
19363 if test "${enable_reduced_reflection+set}" = set; then :
19364 enableval=$enable_reduced_reflection; if test "$enable_reduced_reflection" = "yes"; then
19365 build_libgcj_reduced_reflection=yes
19369 if test "$build_libgcj_reduced_reflection" = "yes"; then
19370 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE=
19371 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE='#'
19373 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE='#'
19374 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE=
19378 # What is the native OS API for MinGW?
19380 # Check whether --with-win32-nlsapi was given.
19381 if test "${with_win32_nlsapi+set}" = set; then :
19382 withval=$with_win32_nlsapi; case "${withval}" in
19383 ansi) with_win32_nlsapi=ansi ;;
19384 unicows) with_win32_nlsapi=unicows ;;
19385 unicode) with_win32_nlsapi=unicode ;;
19386 *) as_fn_error "Bad value ${withval} for --with-win32-nlsapi." "$LINENO" 5 ;;
19389 with_win32_nlsapi=ansi
19393 case "${with_win32_nlsapi}" in
19396 $as_echo "#define MINGW_LIBGCJ_UNICODE 1" >>confdefs.h
19401 # configure.host sets slow_pthread_self if the synchronization code should
19402 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
19403 if test "${slow_pthread_self}" = "yes"; then
19405 $as_echo "#define SLOW_PTHREAD_SELF 1" >>confdefs.h
19409 # Check for gc debugging. This option is handled both here and in the GC.
19410 # Check whether --enable-gc-debug was given.
19411 if test "${enable_gc_debug+set}" = set; then :
19412 enableval=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
19414 $as_echo "#define LIBGCJ_GC_DEBUG 1" >>confdefs.h
19420 # See if the user has the interpreter included.
19421 # Check whether --enable-interpreter was given.
19422 if test "${enable_interpreter+set}" = set; then :
19423 enableval=$enable_interpreter; if test "$enable_interpreter" = yes; then
19424 # This can also be set in configure.host.
19425 libgcj_interpreter=yes
19426 elif test "$enable_interpreter" = no; then
19427 libgcj_interpreter=no
19432 if test "$libgcj_interpreter" = yes; then
19434 $as_echo "#define INTERPRETER 1" >>confdefs.h
19437 INTERPRETER="$libgcj_interpreter"
19439 if test "$libgcj_interpreter" = yes; then
19441 INTERPRETER_FALSE='#'
19443 INTERPRETER_TRUE='#'
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
19449 $as_echo_n "checking for exception model to use... " >&6; }
19451 ac_cpp='$CXXCPP $CPPFLAGS'
19452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19456 # Check whether --enable-sjlj-exceptions was given.
19457 if test "${enable_sjlj_exceptions+set}" = set; then :
19458 enableval=$enable_sjlj_exceptions; :
19460 cat > conftest.$ac_ext << EOF
19461 #line 19461 "configure"
19462 struct S { ~S(); };
19470 old_CXXFLAGS="$CXXFLAGS"
19472 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19473 (eval $ac_compile) 2>&5
19475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19476 test $ac_status = 0; }; then
19477 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
19478 enable_sjlj_exceptions=yes
19479 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
19480 enable_sjlj_exceptions=no
19481 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
19483 enable_sjlj_exceptions=no
19486 CXXFLAGS="$old_CXXFLAGS"
19490 if test x$enable_sjlj_exceptions = xyes; then
19492 $as_echo "#define SJLJ_EXCEPTIONS 1" >>confdefs.h
19494 ac_exception_model_name=sjlj
19495 elif test x$enable_sjlj_exceptions = xno; then
19496 ac_exception_model_name="call frame"
19498 as_fn_error "unable to detect exception model" "$LINENO" 5
19501 ac_cpp='$CPP $CPPFLAGS'
19502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
19507 $as_echo "$ac_exception_model_name" >&6; }
19509 # If we are non using SJLJ exceptions, and this host does not have support
19510 # for unwinding from a signal handler, enable checked dereferences and divides.
19511 if test $can_unwind_signal = no && test $enable_sjlj_exceptions = no; then
19512 CHECKREFSPEC=-fcheck-references
19513 DIVIDESPEC=-fuse-divide-subroutine
19517 # See if the user wants to disable java.net. This is the mildly
19518 # ugly way that we admit that target-side configuration sucks.
19519 # Check whether --enable-java-net was given.
19520 if test "${enable_java_net+set}" = set; then :
19521 enableval=$enable_java_net;
19525 # Whether java.net is built by default can depend on the target.
19526 if test -z "$enable_java_net"; then
19527 enable_java_net=${enable_java_net_default-yes}
19529 if test "$enable_java_net" = no; then
19531 $as_echo "#define DISABLE_JAVA_NET 1" >>confdefs.h
19535 # See if the user wants to configure without libffi. Some
19536 # architectures don't support it, and default values are set in
19539 # Check whether --with-libffi was given.
19540 if test "${with_libffi+set}" = set; then :
19541 withval=$with_libffi; :
19543 with_libffi=${with_libffi_default-yes}
19549 if test "$with_libffi" != no; then
19551 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
19553 LIBFFI=../libffi/libffi_convenience.la
19554 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include'
19559 # See if the user wants to disable JVMPI support.
19560 # Check whether --enable-jvmpi was given.
19561 if test "${enable_jvmpi+set}" = set; then :
19562 enableval=$enable_jvmpi;
19566 if test "$enable_jvmpi" != no; then
19568 $as_echo "#define ENABLE_JVMPI 1" >>confdefs.h
19572 # If the target is an eCos system, use the appropriate eCos
19574 # FIXME: this should not be a local option but a global target
19575 # system; at present there is no eCos target.
19576 TARGET_ECOS=${PROCESS-"no"}
19578 # Check whether --with-ecos was given.
19579 if test "${with_ecos+set}" = set; then :
19580 withval=$with_ecos; TARGET_ECOS="$with_ecos"
19585 case "$TARGET_ECOS" in
19586 no) case "$host" in
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'ld' is at least 2.13" >&5
19593 $as_echo_n "checking whether 'ld' is at least 2.13... " >&6; }
19594 LD_PROG=`$CC --print-prog-name=ld
`
19595 LD_VERSION=`$LD_PROG --version`
19596 LD_VERSION_MAJOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 1 | cut
-d ' ' -f 4`
19597 LD_VERSION_MINOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 2`
19598 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
19601 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then
19605 if test "x$LD_OK" != x; then
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19607 $as_echo "yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19610 $as_echo "no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
19612 $as_echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
19614 $as_echo "#define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1" >>confdefs.h
19629 $as_echo "#define ECOS 1" >>confdefs.h
19635 ac_config_links="$ac_config_links include/platform.h:include/$PLATFORMH"
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19640 #include <stdint.h>
19643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19644 $EGREP "uint32_t" >/dev/null 2>&1; then :
19646 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 #include <inttypes.h>
19656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19657 $EGREP "uint32_t" >/dev/null 2>&1; then :
19659 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19665 /* end confdefs.h. */
19666 #include <sys/types.h>
19669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19670 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19672 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679 #include <sys/config.h>
19682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19683 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19685 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19691 if test "$PLATFORM" = Win32; then
19692 USING_WIN32_PLATFORM_TRUE=
19693 USING_WIN32_PLATFORM_FALSE='#'
19695 USING_WIN32_PLATFORM_TRUE='#'
19696 USING_WIN32_PLATFORM_FALSE=
19699 if test "$PLATFORM" = Posix || test "$PLATFORM" = Ecos; then
19700 USING_POSIX_PLATFORM_TRUE=
19701 USING_POSIX_PLATFORM_FALSE='#'
19703 USING_POSIX_PLATFORM_TRUE='#'
19704 USING_POSIX_PLATFORM_FALSE=
19709 *-darwin*) DARWIN_CRT=true ;;
19710 *) DARWIN_CRT=false ;;
19712 if $DARWIN_CRT; then
19713 USING_DARWIN_CRT_TRUE=
19714 USING_DARWIN_CRT_FALSE='#'
19716 USING_DARWIN_CRT_TRUE='#'
19717 USING_DARWIN_CRT_FALSE=
19721 # This may not be defined in a non-ANS conformant embedded system.
19722 # FIXME: Should these case a runtime exception in that case?
19723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h. */
19728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19729 $EGREP "localtime" >/dev/null 2>&1; then :
19731 $as_echo "#define HAVE_LOCALTIME 1" >>confdefs.h
19737 # Create the subdirectory for natFile.cc, or the attempt
19738 # to create the link will fail.
19739 test -d java || mkdir java
19740 test -d java/io || mkdir java/io
19741 test -d gnu || mkdir gnu
19742 ac_config_links="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
19745 # Likewise for natConcreteProcess.cc.
19746 test -d java/lang || mkdir java/lang
19747 ac_config_links="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
19750 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
19751 test -d java/net || mkdir java/net
19752 ac_config_links="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
19754 ac_config_links="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
19757 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
19758 test -d gnu/java || mkdir gnu/java
19759 test -d gnu/java/net || mkdir gnu/java/net
19760 ac_config_links="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
19762 ac_config_links="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
19765 # Likewise for natVMPipe.cc and natVMSelector.cc.
19766 test -d gnu/java/nio || mkdir gnu/java/nio
19767 ac_config_links="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
19769 ac_config_links="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
19772 # Likewise for natFileChannelImpl.cc
19773 test -d gnu/java/nio/channels || mkdir gnu/java/nio/channels
19774 ac_config_links="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
19777 # Likewise for natVMSecureRandom.cc
19778 test -d gnu/java/security || mkdir gnu/java/security
19779 test -d gnu/java/security/jce || mkdir gnu/java/security/jce
19780 test -d gnu/java/security/jce/prng || mkdir gnu/java/security/jce/prng
19781 ac_config_links="$ac_config_links gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc"
19786 SYSTEMSPEC="-lgdi32 -lws2_32"
19787 if test "${with_win32_nlsapi}" = "unicows"; then
19788 SYSTEMSPEC="-lunicows $SYSTEMSPEC"
19792 SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
19801 # Check whether --with-system-zlib was given.
19802 if test "${with_system_zlib+set}" = set; then :
19803 withval=$with_system_zlib;
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19812 $as_echo_n "checking for X... " >&6; }
19815 # Check whether --with-x was given.
19816 if test "${with_x+set}" = set; then :
19820 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19821 if test "x$with_x" = xno; then
19822 # The user explicitly disabled X.
19825 case $x_includes,$x_libraries in #(
19826 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
19827 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19828 $as_echo_n "(cached) " >&6
19830 # One or both of the vars are not set, and there is no cached value.
19831 ac_x_includes=no ac_x_libraries=no
19832 rm -f -r conftest.dir
19833 if mkdir conftest.dir; then
19835 cat >Imakefile <<'_ACEOF'
19837 @echo incroot='${INCROOT}'
19839 @echo usrlibdir='${USRLIBDIR}'
19841 @echo libdir='${LIBDIR}'
19843 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19844 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19845 for ac_var in incroot usrlibdir libdir; do
19846 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
19848 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19849 for ac_extension in a so sl dylib la dll; do
19850 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19851 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19852 ac_im_usrlibdir=$ac_im_libdir; break
19855 # Screen out bogus values from the imake configuration. They are
19856 # bogus both because they are the default anyway, and because
19857 # using them would break gcc on systems where it needs fixed includes.
19858 case $ac_im_incroot in
19859 /usr/include) ac_x_includes= ;;
19860 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19862 case $ac_im_usrlibdir in
19863 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19864 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19868 rm -f -r conftest.dir
19871 # Standard set of common directories for X headers.
19872 # Check X11 before X11Rn because it is often a symlink to the current release.
19886 /usr/local/X11/include
19887 /usr/local/X11R7/include
19888 /usr/local/X11R6/include
19889 /usr/local/X11R5/include
19890 /usr/local/X11R4/include
19892 /usr/local/include/X11
19893 /usr/local/include/X11R7
19894 /usr/local/include/X11R6
19895 /usr/local/include/X11R5
19896 /usr/local/include/X11R4
19900 /usr/XFree86/include/X11
19904 /usr/unsupported/include
19905 /usr/athena/include
19906 /usr/local/x11r5/include
19907 /usr/lpp/Xamples/include
19909 /usr/openwin/include
19910 /usr/openwin/share/include'
19912 if test "$ac_x_includes" = no; then
19913 # Guess where to find include files, by looking for Xlib.h.
19914 # First, try using that file with no special directory specified.
19915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19916 /* end confdefs.h. */
19917 #include <X11/Xlib.h>
19919 if ac_fn_c_try_cpp "$LINENO"; then :
19920 # We can compile using X headers with no special include directory.
19923 for ac_dir in $ac_x_header_dirs; do
19924 if test -r "$ac_dir/X11/Xlib.h"; then
19925 ac_x_includes=$ac_dir
19930 rm -f conftest.err conftest.$ac_ext
19931 fi # $ac_x_includes = no
19933 if test "$ac_x_libraries" = no; then
19934 # Check for the libraries.
19935 # See if we find them without any special options.
19936 # Don't add to $LIBS permanently.
19939 if test x$gcc_no_link = xyes; then
19940 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19943 /* end confdefs.h. */
19944 #include <X11/Xlib.h>
19953 if ac_fn_c_try_link "$LINENO"; then :
19955 # We can link X programs with no special library path.
19959 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
19961 # Don't even attempt the hair of trying to link an X program!
19962 for ac_extension in a so sl dylib la dll; do
19963 if test -r "$ac_dir/libX11.$ac_extension"; then
19964 ac_x_libraries=$ac_dir
19970 rm -f core conftest.err conftest.$ac_objext \
19971 conftest$ac_exeext conftest.$ac_ext
19972 fi # $ac_x_libraries = no
19974 case $ac_x_includes,$ac_x_libraries in #(
19975 no,* | *,no | *\'*)
19976 # Didn't find X, or a directory has "'" in its name.
19977 ac_cv_have_x="have_x=no";; #(
19979 # Record where we found X for the cache.
19980 ac_cv_have_x="have_x=yes\
19981 ac_x_includes='$ac_x_includes'\
19982 ac_x_libraries='$ac_x_libraries'"
19988 eval "$ac_cv_have_x"
19991 if test "$have_x" != yes; then
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19993 $as_echo "$have_x" >&6; }
19996 # If each of the values was on the command line, it overrides each guess.
19997 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19998 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19999 # Update the cache value to reflect the command line values.
20000 ac_cv_have_x="have_x=yes\
20001 ac_x_includes='$x_includes'\
20002 ac_x_libraries='$x_libraries'"
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
20004 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
20007 if test "$no_x" = yes; then
20008 # Not all programs may use this symbol, but it does not hurt to define it.
20010 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
20012 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20014 if test -n "$x_includes"; then
20015 X_CFLAGS="$X_CFLAGS -I$x_includes"
20018 # It would also be nice to do this for all -L options, not just this one.
20019 if test -n "$x_libraries"; then
20020 X_LIBS="$X_LIBS -L$x_libraries"
20021 # For Solaris; some versions of Sun CC require a space after -R and
20022 # others require no space. Words are not sufficient . . . .
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20024 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
20025 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20026 ac_xsave_c_werror_flag=$ac_c_werror_flag
20027 ac_c_werror_flag=yes
20028 if test x$gcc_no_link = xyes; then
20029 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20042 if ac_fn_c_try_link "$LINENO"; then :
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20044 $as_echo "no" >&6; }
20045 X_LIBS="$X_LIBS -R$x_libraries"
20047 LIBS="$ac_xsave_LIBS -R $x_libraries"
20048 if test x$gcc_no_link = xyes; then
20049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20052 /* end confdefs.h. */
20062 if ac_fn_c_try_link "$LINENO"; then :
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20064 $as_echo "yes" >&6; }
20065 X_LIBS="$X_LIBS -R $x_libraries"
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20068 $as_echo "neither works" >&6; }
20070 rm -f core conftest.err conftest.$ac_objext \
20071 conftest$ac_exeext conftest.$ac_ext
20073 rm -f core conftest.err conftest.$ac_objext \
20074 conftest$ac_exeext conftest.$ac_ext
20075 ac_c_werror_flag=$ac_xsave_c_werror_flag
20076 LIBS=$ac_xsave_LIBS
20079 # Check for system-dependent libraries X programs must link with.
20080 # Do this before checking for the system-independent R6 libraries
20081 # (-lICE), since we may need -lsocket or whatever for X linking.
20083 if test "$ISC" = yes; then
20084 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20086 # Martyn Johnson says this is needed for Ultrix, if the X
20087 # libraries were built with DECnet support. And Karl Berry says
20088 # the Alpha needs dnet_stub (dnet does not exist).
20089 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20090 if test x$gcc_no_link = xyes; then
20091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20094 /* end confdefs.h. */
20096 /* Override any GCC internal prototype to avoid an error.
20097 Use char because int might match the return type of a GCC
20098 builtin and then its argument prototype would still apply. */
20102 char XOpenDisplay ();
20106 return XOpenDisplay ();
20111 if ac_fn_c_try_link "$LINENO"; then :
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20115 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20116 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
20117 $as_echo_n "(cached) " >&6
20119 ac_check_lib_save_LIBS=$LIBS
20120 LIBS="-ldnet $LIBS"
20121 if test x$gcc_no_link = xyes; then
20122 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20125 /* end confdefs.h. */
20127 /* Override any GCC internal prototype to avoid an error.
20128 Use char because int might match the return type of a GCC
20129 builtin and then its argument prototype would still apply. */
20137 return dnet_ntoa ();
20142 if ac_fn_c_try_link "$LINENO"; then :
20143 ac_cv_lib_dnet_dnet_ntoa=yes
20145 ac_cv_lib_dnet_dnet_ntoa=no
20147 rm -f core conftest.err conftest.$ac_objext \
20148 conftest$ac_exeext conftest.$ac_ext
20149 LIBS=$ac_check_lib_save_LIBS
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20152 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20153 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
20154 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20157 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20159 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20160 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
20161 $as_echo_n "(cached) " >&6
20163 ac_check_lib_save_LIBS=$LIBS
20164 LIBS="-ldnet_stub $LIBS"
20165 if test x$gcc_no_link = xyes; then
20166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20169 /* end confdefs.h. */
20171 /* Override any GCC internal prototype to avoid an error.
20172 Use char because int might match the return type of a GCC
20173 builtin and then its argument prototype would still apply. */
20181 return dnet_ntoa ();
20186 if ac_fn_c_try_link "$LINENO"; then :
20187 ac_cv_lib_dnet_stub_dnet_ntoa=yes
20189 ac_cv_lib_dnet_stub_dnet_ntoa=no
20191 rm -f core conftest.err conftest.$ac_objext \
20192 conftest$ac_exeext conftest.$ac_ext
20193 LIBS=$ac_check_lib_save_LIBS
20195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20196 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20197 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
20198 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20203 rm -f core conftest.err conftest.$ac_objext \
20204 conftest$ac_exeext conftest.$ac_ext
20205 LIBS="$ac_xsave_LIBS"
20207 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20208 # to get the SysV transport functions.
20209 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20211 # The nsl library prevents programs from opening the X display
20212 # on Irix 5.2, according to T.E. Dickey.
20213 # The functions gethostbyname, getservbyname, and inet_addr are
20214 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20215 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20216 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
20220 if test $ac_cv_func_gethostbyname = no; then
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20222 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20223 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20224 $as_echo_n "(cached) " >&6
20226 ac_check_lib_save_LIBS=$LIBS
20228 if test x$gcc_no_link = xyes; then
20229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20232 /* end confdefs.h. */
20234 /* Override any GCC internal prototype to avoid an error.
20235 Use char because int might match the return type of a GCC
20236 builtin and then its argument prototype would still apply. */
20240 char gethostbyname ();
20244 return gethostbyname ();
20249 if ac_fn_c_try_link "$LINENO"; then :
20250 ac_cv_lib_nsl_gethostbyname=yes
20252 ac_cv_lib_nsl_gethostbyname=no
20254 rm -f core conftest.err conftest.$ac_objext \
20255 conftest$ac_exeext conftest.$ac_ext
20256 LIBS=$ac_check_lib_save_LIBS
20258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20259 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20260 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20261 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20264 if test $ac_cv_lib_nsl_gethostbyname = no; then
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20266 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20267 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20268 $as_echo_n "(cached) " >&6
20270 ac_check_lib_save_LIBS=$LIBS
20272 if test x$gcc_no_link = xyes; then
20273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20276 /* end confdefs.h. */
20278 /* Override any GCC internal prototype to avoid an error.
20279 Use char because int might match the return type of a GCC
20280 builtin and then its argument prototype would still apply. */
20284 char gethostbyname ();
20288 return gethostbyname ();
20293 if ac_fn_c_try_link "$LINENO"; then :
20294 ac_cv_lib_bsd_gethostbyname=yes
20296 ac_cv_lib_bsd_gethostbyname=no
20298 rm -f core conftest.err conftest.$ac_objext \
20299 conftest$ac_exeext conftest.$ac_ext
20300 LIBS=$ac_check_lib_save_LIBS
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20303 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20304 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20305 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20311 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20312 # socket/setsockopt and other routines are undefined under SCO ODT
20313 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20314 # on later versions), says Simon Leinen: it contains gethostby*
20315 # variants that don't use the name server (or something). -lsocket
20316 # must be given before -lnsl if both are needed. We assume that
20317 # if connect needs -lnsl, so does gethostbyname.
20318 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20319 if test "x$ac_cv_func_connect" = x""yes; then :
20323 if test $ac_cv_func_connect = no; then
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20325 $as_echo_n "checking for connect in -lsocket... " >&6; }
20326 if test "${ac_cv_lib_socket_connect+set}" = set; then :
20327 $as_echo_n "(cached) " >&6
20329 ac_check_lib_save_LIBS=$LIBS
20330 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20331 if test x$gcc_no_link = xyes; then
20332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20335 /* end confdefs.h. */
20337 /* Override any GCC internal prototype to avoid an error.
20338 Use char because int might match the return type of a GCC
20339 builtin and then its argument prototype would still apply. */
20352 if ac_fn_c_try_link "$LINENO"; then :
20353 ac_cv_lib_socket_connect=yes
20355 ac_cv_lib_socket_connect=no
20357 rm -f core conftest.err conftest.$ac_objext \
20358 conftest$ac_exeext conftest.$ac_ext
20359 LIBS=$ac_check_lib_save_LIBS
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20362 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20363 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20364 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20369 # Guillermo Gomez says -lposix is necessary on A/UX.
20370 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20371 if test "x$ac_cv_func_remove" = x""yes; then :
20375 if test $ac_cv_func_remove = no; then
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20377 $as_echo_n "checking for remove in -lposix... " >&6; }
20378 if test "${ac_cv_lib_posix_remove+set}" = set; then :
20379 $as_echo_n "(cached) " >&6
20381 ac_check_lib_save_LIBS=$LIBS
20382 LIBS="-lposix $LIBS"
20383 if test x$gcc_no_link = xyes; then
20384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20387 /* end confdefs.h. */
20389 /* Override any GCC internal prototype to avoid an error.
20390 Use char because int might match the return type of a GCC
20391 builtin and then its argument prototype would still apply. */
20404 if ac_fn_c_try_link "$LINENO"; then :
20405 ac_cv_lib_posix_remove=yes
20407 ac_cv_lib_posix_remove=no
20409 rm -f core conftest.err conftest.$ac_objext \
20410 conftest$ac_exeext conftest.$ac_ext
20411 LIBS=$ac_check_lib_save_LIBS
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20414 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20415 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20416 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20421 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20422 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20423 if test "x$ac_cv_func_shmat" = x""yes; then :
20427 if test $ac_cv_func_shmat = no; then
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20429 $as_echo_n "checking for shmat in -lipc... " >&6; }
20430 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20431 $as_echo_n "(cached) " >&6
20433 ac_check_lib_save_LIBS=$LIBS
20435 if test x$gcc_no_link = xyes; then
20436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20439 /* end confdefs.h. */
20441 /* Override any GCC internal prototype to avoid an error.
20442 Use char because int might match the return type of a GCC
20443 builtin and then its argument prototype would still apply. */
20456 if ac_fn_c_try_link "$LINENO"; then :
20457 ac_cv_lib_ipc_shmat=yes
20459 ac_cv_lib_ipc_shmat=no
20461 rm -f core conftest.err conftest.$ac_objext \
20462 conftest$ac_exeext conftest.$ac_ext
20463 LIBS=$ac_check_lib_save_LIBS
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20466 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20467 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20468 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20474 # Check for libraries that X11R6 Xt/Xaw programs need.
20475 ac_save_LDFLAGS=$LDFLAGS
20476 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20477 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20478 # check for ICE first), but we must link in the order -lSM -lICE or
20479 # we get undefined symbols. So assume we have SM if we have ICE.
20480 # These have to be linked with before -lX11, unlike the other
20481 # libraries we check for below, so use a different variable.
20482 # John Interrante, Karl Berry
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20484 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20485 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20486 $as_echo_n "(cached) " >&6
20488 ac_check_lib_save_LIBS=$LIBS
20489 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20490 if test x$gcc_no_link = xyes; then
20491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20494 /* end confdefs.h. */
20496 /* Override any GCC internal prototype to avoid an error.
20497 Use char because int might match the return type of a GCC
20498 builtin and then its argument prototype would still apply. */
20502 char IceConnectionNumber ();
20506 return IceConnectionNumber ();
20511 if ac_fn_c_try_link "$LINENO"; then :
20512 ac_cv_lib_ICE_IceConnectionNumber=yes
20514 ac_cv_lib_ICE_IceConnectionNumber=no
20516 rm -f core conftest.err conftest.$ac_objext \
20517 conftest$ac_exeext conftest.$ac_ext
20518 LIBS=$ac_check_lib_save_LIBS
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20521 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20522 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20523 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20526 LDFLAGS=$ac_save_LDFLAGS
20531 # FIXME: this should be _libs on some hosts.
20534 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20537 # extra LD Flags which are required for targets
20540 # For now we have to disable it on darwin[8-9] because it slows down
20541 # the linking phase. A possible bug in ld?
20542 # on Darwin -single_module speeds up loading of the dynamic libraries.
20543 extra_ldflags_libjava=-Wl,-single_module
20546 # Some of the ARM unwinder code is actually in libstdc++. We
20547 # could in principle replicate it in libgcj, but it's better to
20548 # have a dependency on libstdc++.
20549 extra_ldflags='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20550 LIBSTDCXXSPEC=-lstdc++
20551 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20554 extra_ldflags_libjava=-liconv
20557 extra_ldflags_libjava=-lws2_32
20562 # extra LD Flags which are required for targets
20571 # Check for --no-merge-exidx-entries, an ARM-specific linker option.
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --no-merge-exidx-entries" >&5
20573 $as_echo_n "checking for --no-merge-exidx-entries... " >&6; }
20574 if test "${libgcj_cv_exidx+set}" = set; then :
20575 $as_echo_n "(cached) " >&6
20577 saved_ldflags="$LDFLAGS"
20578 LDFLAGS="${LDFLAGS} -Wl,--no-merge-exidx-entries"
20579 # The IRIX 6 ld doesn't recognize --no-merge-exidx-entries, but only
20580 # warns about unknown options, which breaks the testsuite. So enable
20581 # AC_LANG_WERROR, but there's currently (autoconf 2.64) no way to turn
20582 # it off again. As a workaround, save and restore werror flag like
20584 ac_xsave_c_werror_flag=$ac_c_werror_flag
20586 ac_c_werror_flag=yes
20587 if test x$gcc_no_link = xyes; then
20588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20591 /* end confdefs.h. */
20592 int main(void){ return 0;}
20594 if ac_fn_c_try_link "$LINENO"; then :
20595 eval "libgcj_cv_exidx=yes"
20597 eval "libgcj_cv_exidx=no"
20599 rm -f core conftest.err conftest.$ac_objext \
20600 conftest$ac_exeext conftest.$ac_ext
20601 ac_c_werror_flag=$ac_xsave_c_werror_flag
20602 LDFLAGS="${saved_ldflags}"
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcj_cv_exidx" >&5
20606 $as_echo "$libgcj_cv_exidx" >&6; }
20607 if test "${libgcj_cv_exidx}" = "yes"; then
20608 SYSTEMSPEC="${SYSTEMSPEC} --no-merge-exidx-entries"
20609 extra_ldflags="${extra_ldflags} -Wl,--no-merge-exidx-entries"
20619 # Allow the GC to be disabled. Can be useful when debugging.
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for garbage collector to use" >&5
20621 $as_echo_n "checking for garbage collector to use... " >&6; }
20622 # Check whether --enable-java-gc was given.
20623 if test "${enable_java_gc+set}" = set; then :
20624 enableval=$enable_java_gc; GC=$enableval
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: boehm" >&5
20638 $as_echo "boehm" >&6; }
20639 GCLIBS=../boehm-gc/libgcjgc_convenience.la
20640 JC1GCSPEC='-fuse-boehm-gc'
20641 GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20642 GCINCS='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20645 # The POSIX thread support needs to know this.
20647 $as_echo "#define HAVE_BOEHM_GC 1" >>confdefs.h
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
20652 $as_echo "none" >&6; }
20656 as_fn_error "unrecognized collector \"$GC\"" "$LINENO" 5
20665 ac_config_links="$ac_config_links include/java-gc.h:include/$GCHDR"
20667 if test "$GC" = boehm; then
20668 USING_BOEHMGC_TRUE=
20669 USING_BOEHMGC_FALSE='#'
20671 USING_BOEHMGC_TRUE='#'
20672 USING_BOEHMGC_FALSE=
20675 if test "$GC" = no; then
20677 USING_NOGC_FALSE='#'
20679 USING_NOGC_TRUE='#'
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
20686 $as_echo_n "checking for thread model used by GCC... " >&6; }
20687 THREADS=`$CC -v 2>&1 |
sed -n 's/^Thread model: //p'`
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
20689 $as_echo "$THREADS" >&6; }
20692 no | none | single)
20695 aix | posix | posix95 | pthreads)
20700 $as_echo "#define LINUX_THREADS 1" >>confdefs.h
20707 decosf1 | irix | mach | os2 | dce | vxworks)
20708 as_fn_error "thread package $THREADS not yet supported" "$LINENO" 5
20711 as_fn_error "$THREADS is an unknown thread package" "$LINENO" 5
20722 THREADSTARTFILESPEC=
20727 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20729 *-*-freebsd[1234]*)
20730 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20731 # merely adds pthread_* functions) but it does have a -pthread switch
20732 # which is required at link-time to select -lc_r *instead* of -lc.
20733 THREADLDFLAGS=-pthread
20734 # Don't set THREADSPEC here as might be expected since -pthread is
20735 # not processed when found within a spec file, it must come from
20736 # the command line. For now, the user must provide the -pthread
20737 # switch to link code compiled with gcj. In future, consider adding
20738 # support for weak references to pthread_* functions ala gthr.h API.
20739 THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20742 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20743 # systems which support threads and -lpthread.
20744 THREADLDFLAGS=-pthread
20745 THREADSPEC=-lpthread
20747 alpha*-dec-osf* | hppa*-hp-hpux*)
20748 THREADCXXFLAGS=-pthread
20749 # boehm-gc needs some functions from librt, so link that too.
20750 THREADLIBS='-lpthread -lrt'
20751 THREADSPEC='-lpthread -lrt'
20754 # Always use alternate thread library on Solaris 8. Need libthread
20756 # Need -Wl,-R to get it through libtool ...
20757 THREADLIBS='-L/usr/lib/lwp$(MULTISUBDIR) -Wl,-R -Wl,/usr/lib/lwp$(MULTISUBDIR) -lpthread -lthread'
20758 # ... while ld only accepts -R.
20759 THREADSPEC='-L/usr/lib/lwp%{m64:/64} -R/usr/lib/lwp%{m64:/64} -lpthread -lthread'
20762 # As on Solaris 8, need libthread for TLS support.
20763 THREADLIBS='-lpthread -lthread'
20764 THREADSPEC='-lpthread -lthread'
20767 # Don't set THREADLIBS or THREADSPEC as Darwin already
20768 # provides pthread via libSystem.
20771 THREADLIBS=-lpthread
20772 THREADSPEC=-lpthread
20775 THREADH=posix-threads.h
20776 # MIT pthreads doesn't seem to have the mutexattr functions.
20777 # But for now we don't check for it. We just assume you aren't
20778 # using MIT pthreads.
20780 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20783 # If we're using the Boehm GC, then we happen to know that it
20784 # defines _REENTRANT, so we don't bother. Eww.
20785 if test "$GC" != boehm; then
20787 $as_echo "#define _REENTRANT 1" >>confdefs.h
20791 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
20796 THREADH=win32-threads.h
20797 THREADCXXFLAGS=-mthreads
20798 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20799 # But we do not want the executables created to be dependent on
20800 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20801 # exception handling contexts. The following kludge achieves this effect
20802 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20803 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20804 # A workaround is to explicitly use -mthreads while linking Java programs.
20805 # See PR libgcj/28263.
20807 # FIXME: In Java we are able to detect thread death at the end of
20808 # Thread.run() so we should be able to clean up the exception handling
20809 # contexts ourselves.
20810 THREADSTARTFILESPEC='crtmt%O%s'
20814 THREADH=no-threads.h
20817 ac_config_links="$ac_config_links include/java-threads.h:include/$THREADH"
20826 if test "$THREADS" = posix; then
20827 USING_POSIX_THREADS_TRUE=
20828 USING_POSIX_THREADS_FALSE='#'
20830 USING_POSIX_THREADS_TRUE='#'
20831 USING_POSIX_THREADS_FALSE=
20834 if test "$THREADS" = win32; then
20835 USING_WIN32_THREADS_TRUE=
20836 USING_WIN32_THREADS_FALSE='#'
20838 USING_WIN32_THREADS_TRUE='#'
20839 USING_WIN32_THREADS_FALSE=
20842 if test "$THREADS" = none; then
20843 USING_NO_THREADS_TRUE=
20844 USING_NO_THREADS_FALSE='#'
20846 USING_NO_THREADS_TRUE='#'
20847 USING_NO_THREADS_FALSE=
20850 if test "$enable_shared" != yes; then
20853 if test "$use_libgcj_bc" = yes; then
20854 USE_LIBGCJ_BC_TRUE=
20855 USE_LIBGCJ_BC_FALSE='#'
20857 USE_LIBGCJ_BC_TRUE='#'
20858 USE_LIBGCJ_BC_FALSE=
20862 if test -d sysdep; then true; else mkdir sysdep; fi
20863 ac_config_links="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20865 ac_config_links="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20867 ac_config_links="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20870 LIBGCJ_SPEC_LGCJ=-lgcj
20871 LIBGCJ_SPEC_LGCJ_BC=-lgcj_bc
20872 if test x"$libgcj_spec_lgcj_override" != x ; then
20873 LIBGCJ_SPEC_LGCJ=$libgcj_spec_lgcj_override
20875 if test x"$libgcj_spec_lgcj_bc_override" != x ; then
20876 LIBGCJ_SPEC_LGCJ_BC=$libgcj_spec_lgcj_bc_override
20878 LIBGCJ_SPEC="%{s-bc-abi:} $LIBGCJ_SPEC_LGCJ"
20879 if test "$use_libgcj_bc" = yes; then
20880 LIBGCJ_SPEC="%{static|static-libgcj|!s-bc-abi:$LIBGCJ_SPEC_LGCJ;:$LIBGCJ_SPEC_LGCJ_BC}"
20881 LIBGCJ_BC_SPEC="%{findirect-dispatch:-fPIC}"
20887 # Hash synchronization is only useful with posix threads right now.
20888 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20889 HASH_SYNC_SPEC=-fhash-synchronization
20891 $as_echo "#define JV_HASH_SYNCHRONIZATION 1" >>confdefs.h
20896 if test "$GCC" = yes; then
20898 USING_GCC_FALSE='#'
20905 # We're in the tree with gcc, and need to include some of its headers.
20906 GCC_UNWIND_INCLUDE='-I$(multi_basedir)/./libjava/../gcc'
20908 if test "x${with_newlib}" = "xyes"; then
20909 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20910 # may not work correctly, because the compiler may not be able to
20911 # link executables.
20913 # We assume newlib. This lets us hard-code the functions we know
20916 $as_echo "#define HAVE_MEMMOVE 1" >>confdefs.h
20919 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
20922 $as_echo "#define HAVE_TIME 1" >>confdefs.h
20925 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
20928 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
20931 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
20933 # This is only for POSIX threads.
20935 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20938 # Assume we do not have getuid and friends.
20940 $as_echo "#define NO_GETUID 1" >>confdefs.h
20944 for ac_func in strerror_r select fstat open fsync sleep opendir \
20945 localtime_r getpwuid_r getcwd \
20946 access stat lstat mkdir rename rmdir unlink utime chmod readlink \
20947 nl_langinfo setlocale \
20948 inet_pton uname inet_ntoa \
20949 getrlimit sigaction ftruncate mmap \
20952 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20953 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20954 eval as_val=\$$as_ac_var
20955 if test "x$as_val" = x""yes; then :
20956 cat >>confdefs.h <<_ACEOF
20957 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20963 for ac_func in inet_aton inet_addr
20965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20967 eval as_val=\$$as_ac_var
20968 if test "x$as_val" = x""yes; then :
20969 cat >>confdefs.h <<_ACEOF
20970 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20976 for ac_header in unistd.h dlfcn.h sys/resource.h
20978 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20979 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20980 eval as_val=\$$as_ac_Header
20981 if test "x$as_val" = x""yes; then :
20982 cat >>confdefs.h <<_ACEOF
20983 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20990 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
20992 $as_echo_n "checking for dladdr in -ldl... " >&6; }
20993 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
20994 $as_echo_n "(cached) " >&6
20996 ac_check_lib_save_LIBS=$LIBS
20998 if test x$gcc_no_link = xyes; then
20999 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h. */
21004 /* Override any GCC internal prototype to avoid an error.
21005 Use char because int might match the return type of a GCC
21006 builtin and then its argument prototype would still apply. */
21019 if ac_fn_c_try_link "$LINENO"; then :
21020 ac_cv_lib_dl_dladdr=yes
21022 ac_cv_lib_dl_dladdr=no
21024 rm -f core conftest.err conftest.$ac_objext \
21025 conftest$ac_exeext conftest.$ac_ext
21026 LIBS=$ac_check_lib_save_LIBS
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
21029 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
21030 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
21033 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldld" >&5
21038 $as_echo_n "checking for dladdr in -ldld... " >&6; }
21039 if test "${ac_cv_lib_dld_dladdr+set}" = set; then :
21040 $as_echo_n "(cached) " >&6
21042 ac_check_lib_save_LIBS=$LIBS
21044 if test x$gcc_no_link = xyes; then
21045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21048 /* end confdefs.h. */
21050 /* Override any GCC internal prototype to avoid an error.
21051 Use char because int might match the return type of a GCC
21052 builtin and then its argument prototype would still apply. */
21065 if ac_fn_c_try_link "$LINENO"; then :
21066 ac_cv_lib_dld_dladdr=yes
21068 ac_cv_lib_dld_dladdr=no
21070 rm -f core conftest.err conftest.$ac_objext \
21071 conftest$ac_exeext conftest.$ac_ext
21072 LIBS=$ac_check_lib_save_LIBS
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dladdr" >&5
21075 $as_echo "$ac_cv_lib_dld_dladdr" >&6; }
21076 if test "x$ac_cv_lib_dld_dladdr" = x""yes; then :
21079 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
21086 if test x"$cross_compiling" = x"no"; then
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/exe" >&5
21088 $as_echo_n "checking for /proc/self/exe... " >&6; }
21089 if test "${ac_cv_file__proc_self_exe+set}" = set; then :
21090 $as_echo_n "(cached) " >&6
21092 test "$cross_compiling" = yes &&
21093 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21094 if test -r "/proc/self/exe"; then
21095 ac_cv_file__proc_self_exe=yes
21097 ac_cv_file__proc_self_exe=no
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_exe" >&5
21101 $as_echo "$ac_cv_file__proc_self_exe" >&6; }
21102 if test "x$ac_cv_file__proc_self_exe" = x""yes; then :
21104 cat >>confdefs.h <<_ACEOF
21105 #define HAVE__PROC_SELF_EXE 1
21109 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
21114 $as_echo_n "checking for /proc/self/maps... " >&6; }
21115 if test "${ac_cv_file__proc_self_maps+set}" = set; then :
21116 $as_echo_n "(cached) " >&6
21118 test "$cross_compiling" = yes &&
21119 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21120 if test -r "/proc/self/maps"; then
21121 ac_cv_file__proc_self_maps=yes
21123 ac_cv_file__proc_self_maps=no
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
21127 $as_echo "$ac_cv_file__proc_self_maps" >&6; }
21128 if test "x$ac_cv_file__proc_self_maps" = x""yes; then :
21130 cat >>confdefs.h <<_ACEOF
21131 #define HAVE__PROC_SELF_MAPS 1
21135 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21143 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21146 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21153 if test "X$prefix" = "XNONE"; then
21154 acl_final_prefix="$ac_default_prefix"
21156 acl_final_prefix="$prefix"
21158 if test "X$exec_prefix" = "XNONE"; then
21159 acl_final_exec_prefix='${prefix}'
21161 acl_final_exec_prefix="$exec_prefix"
21163 acl_save_prefix="$prefix"
21164 prefix="$acl_final_prefix"
21165 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
21166 prefix="$acl_save_prefix"
21169 # Check whether --with-gnu-ld was given.
21170 if test "${with_gnu_ld+set}" = set; then :
21171 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21176 # Prepare PATH_SEPARATOR.
21177 # The user is always right.
21178 if test "${PATH_SEPARATOR+set}" != set; then
21179 echo "#! /bin/sh" >conf$$.sh
21180 echo "exit 0" >>conf$$.sh
21182 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21190 if test "$GCC" = yes; then
21191 # Check if gcc -print-prog-name=ld gives a path.
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
21193 $as_echo_n "checking for ld used by GCC... " >&6; }
21196 # gcc leaves a trailing carriage return which upsets mingw
21197 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
21199 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
21202 # Accept absolute paths.
21203 [\\/]* | [A-Za-z]:[\\/]*)
21204 re_direlt='/[^/][^/]*/\.\./'
21205 # Canonicalize the path of ld
21206 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
21207 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
21208 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
21210 test -z "$LD" && LD="$ac_prog"
21213 # If it fails, then pretend we aren't using GCC.
21217 # If it is relative, then search for the first ld in PATH.
21218 with_gnu_ld=unknown
21221 elif test "$with_gnu_ld" = yes; then
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21223 $as_echo_n "checking for GNU ld... " >&6; }
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21226 $as_echo_n "checking for non-GNU ld... " >&6; }
21228 if test "${acl_cv_path_LD+set}" = set; then :
21229 $as_echo_n "(cached) " >&6
21231 if test -z "$LD"; then
21232 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21233 for ac_dir in $PATH; do
21234 test -z "$ac_dir" && ac_dir=.
21235 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21236 acl_cv_path_LD="$ac_dir/$ac_prog"
21237 # Check to see if the program is GNU ld. I'd rather use --version,
21238 # but apparently some GNU ld's only accept -v.
21239 # Break only if it was the GNU/non-GNU ld that we prefer.
21240 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
21241 test "$with_gnu_ld" != no && break
21243 test "$with_gnu_ld" != yes && break
21249 acl_cv_path_LD="$LD" # Let the user override the test with a path.
21253 LD="$acl_cv_path_LD"
21254 if test -n "$LD"; then
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21256 $as_echo "$LD" >&6; }
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21259 $as_echo "no" >&6; }
21261 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21263 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21264 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
21265 $as_echo_n "(cached) " >&6
21267 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21268 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
21269 acl_cv_prog_gnu_ld=yes
21271 acl_cv_prog_gnu_ld=no
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
21275 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
21276 with_gnu_ld=$acl_cv_prog_gnu_ld
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
21281 $as_echo_n "checking for shared library run path origin... " >&6; }
21282 if test "${acl_cv_rpath+set}" = set; then :
21283 $as_echo_n "(cached) " >&6
21286 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
21287 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21289 rm -f ./conftest.sh
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
21294 $as_echo "$acl_cv_rpath" >&6; }
21296 libext="$acl_cv_libext"
21297 shlibext="$acl_cv_shlibext"
21298 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
21299 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
21300 hardcode_direct="$acl_cv_hardcode_direct"
21301 hardcode_minus_L="$acl_cv_hardcode_minus_L"
21302 # Check whether --enable-rpath was given.
21303 if test "${enable_rpath+set}" = set; then :
21304 enableval=$enable_rpath; :
21318 acl_save_prefix="$prefix"
21319 prefix="$acl_final_prefix"
21320 acl_save_exec_prefix="$exec_prefix"
21321 exec_prefix="$acl_final_exec_prefix"
21323 eval additional_includedir=\"$includedir\"
21324 eval additional_libdir=\"$libdir\"
21326 exec_prefix="$acl_save_exec_prefix"
21327 prefix="$acl_save_prefix"
21330 # Check whether --with-libiconv-prefix was given.
21331 if test "${with_libiconv_prefix+set}" = set; then :
21332 withval=$with_libiconv_prefix;
21333 if test "X$withval" = "Xno"; then
21336 if test "X$withval" = "X"; then
21338 acl_save_prefix="$prefix"
21339 prefix="$acl_final_prefix"
21340 acl_save_exec_prefix="$exec_prefix"
21341 exec_prefix="$acl_final_exec_prefix"
21343 eval additional_includedir=\"$includedir\"
21344 eval additional_libdir=\"$libdir\"
21346 exec_prefix="$acl_save_exec_prefix"
21347 prefix="$acl_save_prefix"
21350 additional_includedir="$withval/include"
21351 additional_libdir="$withval/lib"
21362 names_already_handled=
21363 names_next_round='iconv '
21364 while test -n "$names_next_round"; do
21365 names_this_round="$names_next_round"
21367 for name in $names_this_round; do
21369 for n in $names_already_handled; do
21370 if test "$n" = "$name"; then
21371 already_handled=yes
21375 if test -z "$already_handled"; then
21376 names_already_handled="$names_already_handled $name"
21377 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21378 eval value=\"\$HAVE_LIB$uppername\"
21379 if test -n "$value"; then
21380 if test "$value" = yes; then
21381 eval value=\"\$LIB$uppername\"
21382 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
21383 eval value=\"\$LTLIB$uppername\"
21384 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
21393 if test $use_additional = yes; then
21394 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21395 found_dir="$additional_libdir"
21396 found_so="$additional_libdir/lib$name.$shlibext"
21397 if test -f "$additional_libdir/lib$name.la"; then
21398 found_la="$additional_libdir/lib$name.la"
21401 if test -f "$additional_libdir/lib$name.$libext"; then
21402 found_dir="$additional_libdir"
21403 found_a="$additional_libdir/lib$name.$libext"
21404 if test -f "$additional_libdir/lib$name.la"; then
21405 found_la="$additional_libdir/lib$name.la"
21410 if test "X$found_dir" = "X"; then
21411 for x in $LDFLAGS $LTLIBICONV; do
21413 acl_save_prefix="$prefix"
21414 prefix="$acl_final_prefix"
21415 acl_save_exec_prefix="$exec_prefix"
21416 exec_prefix="$acl_final_exec_prefix"
21418 exec_prefix="$acl_save_exec_prefix"
21419 prefix="$acl_save_prefix"
21423 dir=`echo "X$x" |
sed -e 's/^X-L//'`
21424 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21426 found_so="$dir/lib$name.$shlibext"
21427 if test -f "$dir/lib$name.la"; then
21428 found_la="$dir/lib$name.la"
21431 if test -f "$dir/lib$name.$libext"; then
21433 found_a="$dir/lib$name.$libext"
21434 if test -f "$dir/lib$name.la"; then
21435 found_la="$dir/lib$name.la"
21441 if test "X$found_dir" != "X"; then
21446 if test "X$found_dir" != "X"; then
21447 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21448 if test "X$found_so" != "X"; then
21449 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
21450 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21453 for x in $ltrpathdirs; do
21454 if test "X$x" = "X$found_dir"; then
21459 if test -z "$haveit"; then
21460 ltrpathdirs="$ltrpathdirs $found_dir"
21462 if test "$hardcode_direct" = yes; then
21463 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21465 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
21466 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21468 for x in $rpathdirs; do
21469 if test "X$x" = "X$found_dir"; then
21474 if test -z "$haveit"; then
21475 rpathdirs="$rpathdirs $found_dir"
21479 for x in $LDFLAGS $LIBICONV; do
21481 acl_save_prefix="$prefix"
21482 prefix="$acl_final_prefix"
21483 acl_save_exec_prefix="$exec_prefix"
21484 exec_prefix="$acl_final_exec_prefix"
21486 exec_prefix="$acl_save_exec_prefix"
21487 prefix="$acl_save_prefix"
21489 if test "X$x" = "X-L$found_dir"; then
21494 if test -z "$haveit"; then
21495 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21497 if test "$hardcode_minus_L" != no; then
21498 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21500 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21506 if test "X$found_a" != "X"; then
21507 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
21509 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21512 additional_includedir=
21513 case "$found_dir" in
21515 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e 's,/lib/*$,,'`
21516 additional_includedir="$basedir/include"
21519 if test "X$additional_includedir" != "X"; then
21520 if test "X$additional_includedir" != "X/usr/include"; then
21522 if test "X$additional_includedir" = "X/usr/local/include"; then
21523 if test -n "$GCC"; then
21525 linux*) haveit=yes;;
21529 if test -z "$haveit"; then
21530 for x in $CPPFLAGS $INCICONV; do
21532 acl_save_prefix="$prefix"
21533 prefix="$acl_final_prefix"
21534 acl_save_exec_prefix="$exec_prefix"
21535 exec_prefix="$acl_final_exec_prefix"
21537 exec_prefix="$acl_save_exec_prefix"
21538 prefix="$acl_save_prefix"
21540 if test "X$x" = "X-I$additional_includedir"; then
21545 if test -z "$haveit"; then
21546 if test -d "$additional_includedir"; then
21547 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21553 if test -n "$found_la"; then
21554 save_libdir="$libdir"
21555 case "$found_la" in
21556 */* | *\\*) . "$found_la" ;;
21557 *) . "./$found_la" ;;
21559 libdir="$save_libdir"
21560 for dep in $dependency_libs; do
21563 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
21564 if test "X$additional_libdir" != "X/usr/lib"; then
21566 if test "X$additional_libdir" = "X/usr/local/lib"; then
21567 if test -n "$GCC"; then
21569 linux*) haveit=yes;;
21573 if test -z "$haveit"; then
21575 for x in $LDFLAGS $LIBICONV; do
21577 acl_save_prefix="$prefix"
21578 prefix="$acl_final_prefix"
21579 acl_save_exec_prefix="$exec_prefix"
21580 exec_prefix="$acl_final_exec_prefix"
21582 exec_prefix="$acl_save_exec_prefix"
21583 prefix="$acl_save_prefix"
21585 if test "X$x" = "X-L$additional_libdir"; then
21590 if test -z "$haveit"; then
21591 if test -d "$additional_libdir"; then
21592 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21596 for x in $LDFLAGS $LTLIBICONV; do
21598 acl_save_prefix="$prefix"
21599 prefix="$acl_final_prefix"
21600 acl_save_exec_prefix="$exec_prefix"
21601 exec_prefix="$acl_final_exec_prefix"
21603 exec_prefix="$acl_save_exec_prefix"
21604 prefix="$acl_save_prefix"
21606 if test "X$x" = "X-L$additional_libdir"; then
21611 if test -z "$haveit"; then
21612 if test -d "$additional_libdir"; then
21613 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21620 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
21621 if test "$enable_rpath" != no; then
21623 for x in $rpathdirs; do
21624 if test "X$x" = "X$dir"; then
21629 if test -z "$haveit"; then
21630 rpathdirs="$rpathdirs $dir"
21633 for x in $ltrpathdirs; do
21634 if test "X$x" = "X$dir"; then
21639 if test -z "$haveit"; then
21640 ltrpathdirs="$ltrpathdirs $dir"
21645 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
21648 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21651 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
21652 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21658 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21659 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21665 if test "X$rpathdirs" != "X"; then
21666 if test -n "$hardcode_libdir_separator"; then
21668 for found_dir in $rpathdirs; do
21669 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21671 acl_save_libdir="$libdir"
21673 eval flag=\"$hardcode_libdir_flag_spec\"
21674 libdir="$acl_save_libdir"
21675 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21677 for found_dir in $rpathdirs; do
21678 acl_save_libdir="$libdir"
21679 libdir="$found_dir"
21680 eval flag=\"$hardcode_libdir_flag_spec\"
21681 libdir="$acl_save_libdir"
21682 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21686 if test "X$ltrpathdirs" != "X"; then
21687 for found_dir in $ltrpathdirs; do
21688 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21698 am_save_CPPFLAGS="$CPPFLAGS"
21700 for element in $INCICONV; do
21702 for x in $CPPFLAGS; do
21704 acl_save_prefix="$prefix"
21705 prefix="$acl_final_prefix"
21706 acl_save_exec_prefix="$exec_prefix"
21707 exec_prefix="$acl_final_exec_prefix"
21709 exec_prefix="$acl_save_exec_prefix"
21710 prefix="$acl_save_prefix"
21712 if test "X$x" = "X$element"; then
21717 if test -z "$haveit"; then
21718 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
21724 $as_echo_n "checking for iconv... " >&6; }
21725 if test "${am_cv_func_iconv+set}" = set; then :
21726 $as_echo_n "(cached) " >&6
21729 am_cv_func_iconv="no, consider installing GNU libiconv"
21731 if test x$gcc_no_link = xyes; then
21732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21736 #include <stdlib.h>
21741 iconv_t cd = iconv_open("","");
21742 iconv(cd,NULL,NULL,NULL,NULL);
21748 if ac_fn_c_try_link "$LINENO"; then :
21749 am_cv_func_iconv=yes
21751 rm -f core conftest.err conftest.$ac_objext \
21752 conftest$ac_exeext conftest.$ac_ext
21753 if test "$am_cv_func_iconv" != yes; then
21754 am_save_LIBS="$LIBS"
21755 LIBS="$LIBS $LIBICONV"
21756 if test x$gcc_no_link = xyes; then
21757 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21761 #include <stdlib.h>
21766 iconv_t cd = iconv_open("","");
21767 iconv(cd,NULL,NULL,NULL,NULL);
21773 if ac_fn_c_try_link "$LINENO"; then :
21774 am_cv_lib_iconv=yes
21775 am_cv_func_iconv=yes
21777 rm -f core conftest.err conftest.$ac_objext \
21778 conftest$ac_exeext conftest.$ac_ext
21779 LIBS="$am_save_LIBS"
21783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21784 $as_echo "$am_cv_func_iconv" >&6; }
21785 if test "$am_cv_func_iconv" = yes; then
21787 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21790 if test "$am_cv_lib_iconv" = yes; then
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21792 $as_echo_n "checking how to link with libiconv... " >&6; }
21793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21794 $as_echo "$LIBICONV" >&6; }
21796 CPPFLAGS="$am_save_CPPFLAGS"
21803 if test "$am_cv_func_iconv" = yes; then
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21805 $as_echo_n "checking for iconv declaration... " >&6; }
21806 if test "${am_cv_proto_iconv+set}" = set; then :
21807 $as_echo_n "(cached) " >&6
21810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21811 /* end confdefs.h. */
21813 #include <stdlib.h>
21819 #if defined(__STDC__) || defined(__cplusplus)
21820 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21833 if ac_fn_c_try_compile "$LINENO"; then :
21834 am_cv_proto_iconv_arg1=""
21836 am_cv_proto_iconv_arg1="const"
21838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21839 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);"
21842 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" |
tr -s ' ' |
sed -e 's/( /(/'`
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
21844 }$am_cv_proto_iconv" >&5
21846 }$am_cv_proto_iconv" >&6; }
21848 cat >>confdefs.h <<_ACEOF
21849 #define ICONV_CONST $am_cv_proto_iconv_arg1
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21856 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21857 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
21858 $as_echo_n "(cached) " >&6
21860 if test x$gcc_no_link = xyes; then
21861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h. */
21865 #include <locale.h>
21874 if ac_fn_c_try_link "$LINENO"; then :
21875 am_cv_val_LC_MESSAGES=yes
21877 am_cv_val_LC_MESSAGES=no
21879 rm -f core conftest.err conftest.$ac_objext \
21880 conftest$ac_exeext conftest.$ac_ext
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
21883 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21884 if test $am_cv_val_LC_MESSAGES = yes; then
21886 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21891 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21892 if test "${ac_cv_struct_tm+set}" = set; then :
21893 $as_echo_n "(cached) " >&6
21895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21896 /* end confdefs.h. */
21897 #include <sys/types.h>
21904 int *p = &tm.tm_sec;
21910 if ac_fn_c_try_compile "$LINENO"; then :
21911 ac_cv_struct_tm=time.h
21913 ac_cv_struct_tm=sys/time.h
21915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21918 $as_echo "$ac_cv_struct_tm" >&6; }
21919 if test $ac_cv_struct_tm = sys/time.h; then
21921 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21925 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
21926 #include <$ac_cv_struct_tm>
21929 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
21931 cat >>confdefs.h <<_ACEOF
21932 #define HAVE_STRUCT_TM_TM_ZONE 1
21938 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
21940 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
21943 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
21945 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
21951 cat >>confdefs.h <<_ACEOF
21952 #define HAVE_DECL_TZNAME $ac_have_decl
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
21956 $as_echo_n "checking for tzname... " >&6; }
21957 if test "${ac_cv_var_tzname+set}" = set; then :
21958 $as_echo_n "(cached) " >&6
21960 if test x$gcc_no_link = xyes; then
21961 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21964 /* end confdefs.h. */
21966 #if !HAVE_DECL_TZNAME
21967 extern char *tzname[];
21973 return tzname[0][0];
21978 if ac_fn_c_try_link "$LINENO"; then :
21979 ac_cv_var_tzname=yes
21981 ac_cv_var_tzname=no
21983 rm -f core conftest.err conftest.$ac_objext \
21984 conftest$ac_exeext conftest.$ac_ext
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
21987 $as_echo "$ac_cv_var_tzname" >&6; }
21988 if test $ac_cv_var_tzname = yes; then
21990 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21995 LDLIBICONV=`echo " $LIBICONV " |
sed "s/${acl_cv_wl--Wl,}/ /g; s/,/ /g"`
21998 for ac_func in gethostbyname_r
22000 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
22001 if test "x$ac_cv_func_gethostbyname_r" = x""yes; then :
22002 cat >>confdefs.h <<_ACEOF
22003 #define HAVE_GETHOSTBYNAME_R 1
22007 $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
22009 # There are two different kinds of gethostbyname_r.
22010 # We look for the one that returns `int
'.
22011 # Hopefully this check is robust enough.
22012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22013 /* end confdefs.h. */
22017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22018 $EGREP "int.*gethostbyname_r" >/dev/null 2>&1; then :
22021 $as_echo "#define GETHOSTBYNAME_R_RETURNS_INT 1" >>confdefs.h
22027 case " $GCINCS " in
22028 *" -D_REENTRANT "*) ;;
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22031 $as_echo_n "checking whether gethostbyname_r declaration requires -D_REENTRANT... " >&6; }
22032 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then :
22033 $as_echo_n "(cached) " >&6
22036 ac_cpp='$CXXCPP $CPPFLAGS'
22037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22038 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22042 /* end confdefs.h. */
22047 gethostbyname_r("", 0, 0);
22052 if ac_fn_cxx_try_compile "$LINENO"; then :
22053 libjava_cv_gethostbyname_r_needs_reentrant=no
22055 CPPFLAGS_SAVE="$CPPFLAGS"
22056 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
22057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22058 /* end confdefs.h. */
22063 gethostbyname_r("", 0, 0);
22068 if ac_fn_cxx_try_compile "$LINENO"; then :
22069 libjava_cv_gethostbyname_r_needs_reentrant=yes
22071 libjava_cv_gethostbyname_r_needs_reentrant=fail
22073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22074 CPPFLAGS="$CPPFLAGS_SAVE"
22077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079 ac_cpp='$CPP $CPPFLAGS'
22080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22081 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22087 $as_echo "$libjava_cv_gethostbyname_r_needs_reentrant" >&6; }
22088 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes; then
22090 $as_echo "#define _REENTRANT 1" >>confdefs.h
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct hostent_data" >&5
22097 $as_echo_n "checking for struct hostent_data... " >&6; }
22098 if test "${libjava_cv_struct_hostent_data+set}" = set; then :
22099 $as_echo_n "(cached) " >&6
22101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22102 /* end confdefs.h. */
22104 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22105 # define _REENTRANT 1
22111 struct hostent_data data;
22116 if ac_fn_c_try_compile "$LINENO"; then :
22117 libjava_cv_struct_hostent_data=yes
22119 libjava_cv_struct_hostent_data=no
22121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_struct_hostent_data" >&5
22124 $as_echo "$libjava_cv_struct_hostent_data" >&6; }
22125 if test "x$libjava_cv_struct_hostent_data" = xyes; then
22127 $as_echo "#define HAVE_STRUCT_HOSTENT_DATA 1" >>confdefs.h
22135 # FIXME: libjava source code expects to find a prototype for
22136 # gethostbyaddr_r in netdb.h. The outer check ensures that
22137 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22138 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22139 # linkage check is enough, yet C++ code requires proper prototypes.)
22140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22141 /* end confdefs.h. */
22145 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22146 $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
22148 for ac_func in gethostbyaddr_r
22150 ac_fn_c_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r"
22151 if test "x$ac_cv_func_gethostbyaddr_r" = x""yes; then :
22152 cat >>confdefs.h <<_ACEOF
22153 #define HAVE_GETHOSTBYADDR_R 1
22157 $as_echo "#define HAVE_GETHOSTBYADDR_R 1" >>confdefs.h
22159 # There are two different kinds of gethostbyaddr_r.
22160 # We look for the one that returns `int'.
22161 # Hopefully this check is robust enough.
22162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22163 /* end confdefs.h. */
22167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22168 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then :
22171 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
22183 for ac_func
in gethostname
22185 ac_fn_c_check_func
"$LINENO" "gethostname" "ac_cv_func_gethostname"
22186 if test "x$ac_cv_func_gethostname" = x
""yes; then :
22187 cat >>confdefs.h
<<_ACEOF
22188 #define HAVE_GETHOSTNAME 1
22192 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
22194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22195 /* end confdefs.h. */
22196 #include <unistd.h>
22199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22200 $EGREP "gethostname" >/dev
/null
2>&1; then :
22203 $as_echo "#define HAVE_GETHOSTNAME_DECL 1" >>confdefs.h
22212 for ac_func
in usleep
22214 ac_fn_c_check_func
"$LINENO" "usleep" "ac_cv_func_usleep"
22215 if test "x$ac_cv_func_usleep" = x
""yes; then :
22216 cat >>confdefs.h
<<_ACEOF
22217 #define HAVE_USLEEP 1
22220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22221 /* end confdefs.h. */
22222 #include <unistd.h>
22225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22226 $EGREP "usleep" >/dev
/null
2>&1; then :
22229 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
22238 # Look for these functions in the thread library, but only bother
22239 # if using POSIX threads.
22240 if test "$THREADS" = posix
; then
22242 LIBS
="$LIBS $THREADLIBS"
22244 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
22245 # Solaris 7 the name librt is preferred.
22246 for ac_func
in sched_yield
22248 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
22249 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
22250 cat >>confdefs.h
<<_ACEOF
22251 #define HAVE_SCHED_YIELD 1
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
22257 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
22258 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
22259 $as_echo_n "(cached) " >&6
22261 ac_check_lib_save_LIBS
=$LIBS
22263 if test x
$gcc_no_link = xyes
; then
22264 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22267 /* end confdefs.h. */
22269 /* Override any GCC internal prototype to avoid an error.
22270 Use char because int might match the return type of a GCC
22271 builtin and then its argument prototype would still apply. */
22275 char sched_yield ();
22279 return sched_yield ();
22284 if ac_fn_c_try_link
"$LINENO"; then :
22285 ac_cv_lib_rt_sched_yield
=yes
22287 ac_cv_lib_rt_sched_yield
=no
22289 rm -f core conftest.err conftest.
$ac_objext \
22290 conftest
$ac_exeext conftest.
$ac_ext
22291 LIBS
=$ac_check_lib_save_LIBS
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
22294 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
22295 if test "x$ac_cv_lib_rt_sched_yield" = x
""yes; then :
22297 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22299 THREADLIBS
="$THREADLIBS -lrt"
22300 THREADSPEC
="$THREADSPEC -lrt"
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
22304 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
22305 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
22306 $as_echo_n "(cached) " >&6
22308 ac_check_lib_save_LIBS
=$LIBS
22309 LIBS
="-lposix4 $LIBS"
22310 if test x
$gcc_no_link = xyes
; then
22311 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22314 /* end confdefs.h. */
22316 /* Override any GCC internal prototype to avoid an error.
22317 Use char because int might match the return type of a GCC
22318 builtin and then its argument prototype would still apply. */
22322 char sched_yield ();
22326 return sched_yield ();
22331 if ac_fn_c_try_link
"$LINENO"; then :
22332 ac_cv_lib_posix4_sched_yield
=yes
22334 ac_cv_lib_posix4_sched_yield
=no
22336 rm -f core conftest.err conftest.
$ac_objext \
22337 conftest
$ac_exeext conftest.
$ac_ext
22338 LIBS
=$ac_check_lib_save_LIBS
22340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
22341 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
22342 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
22344 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22346 THREADLIBS
="$THREADLIBS -lposix4"
22347 THREADSPEC
="$THREADSPEC -lposix4"
22356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22357 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22358 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22359 $as_echo_n "(cached) " >&6
22361 ac_check_lib_save_LIBS
=$LIBS
22363 if test x
$gcc_no_link = xyes
; then
22364 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22367 /* end confdefs.h. */
22369 /* Override any GCC internal prototype to avoid an error.
22370 Use char because int might match the return type of a GCC
22371 builtin and then its argument prototype would still apply. */
22375 char clock_gettime ();
22379 return clock_gettime ();
22384 if ac_fn_c_try_link
"$LINENO"; then :
22385 ac_cv_lib_rt_clock_gettime
=yes
22387 ac_cv_lib_rt_clock_gettime
=no
22389 rm -f core conftest.err conftest.
$ac_objext \
22390 conftest
$ac_exeext conftest.
$ac_ext
22391 LIBS
=$ac_check_lib_save_LIBS
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22394 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22395 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
22398 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22400 case "$THREADSPEC" in
22403 THREADSPEC
="$THREADSPEC -lrt"
22404 THREADLIBS
="$THREADLIBS -lrt"
22412 # We can save a little space at runtime if the mutex has m_count
22413 # or __m_count. This is a nice hack for Linux.
22414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22415 /* end confdefs.h. */
22416 #include <pthread.h>
22421 extern pthread_mutex_t *mutex; int q = mutex->m_count;
22427 if ac_fn_c_try_compile
"$LINENO"; then :
22429 $as_echo "#define PTHREAD_MUTEX_HAVE_M_COUNT 1" >>confdefs.h
22433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22434 /* end confdefs.h. */
22435 #include <pthread.h>
22440 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
22446 if ac_fn_c_try_compile
"$LINENO"; then :
22448 $as_echo "#define PTHREAD_MUTEX_HAVE___M_COUNT 1" >>confdefs.h
22451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22456 # We require a way to get the time.
22458 for ac_func
in gettimeofday
time ftime
22460 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22461 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22462 eval as_val
=\$
$as_ac_var
22463 if test "x$as_val" = x
""yes; then :
22464 cat >>confdefs.h
<<_ACEOF
22465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22471 if test "$time_found" = no
; then
22472 as_fn_error
"no function found to get the time" "$LINENO" 5
22475 for ac_func
in memmove
22477 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
22478 if test "x$ac_cv_func_memmove" = x
""yes; then :
22479 cat >>confdefs.h
<<_ACEOF
22480 #define HAVE_MEMMOVE 1
22487 # We require memcpy.
22489 for ac_func
in memcpy
22491 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
22492 if test "x$ac_cv_func_memcpy" = x
""yes; then :
22493 cat >>confdefs.h
<<_ACEOF
22494 #define HAVE_MEMCPY 1
22500 if test "$memcpy_found" = no
; then
22501 as_fn_error
"memcpy is required" "$LINENO" 5
22503 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
22505 $as_echo_n "checking for dlopen in -ldl... " >&6; }
22506 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
22507 $as_echo_n "(cached) " >&6
22509 ac_check_lib_save_LIBS
=$LIBS
22511 if test x
$gcc_no_link = xyes
; then
22512 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22515 /* end confdefs.h. */
22517 /* Override any GCC internal prototype to avoid an error.
22518 Use char because int might match the return type of a GCC
22519 builtin and then its argument prototype would still apply. */
22532 if ac_fn_c_try_link
"$LINENO"; then :
22533 ac_cv_lib_dl_dlopen
=yes
22535 ac_cv_lib_dl_dlopen
=no
22537 rm -f core conftest.err conftest.
$ac_objext \
22538 conftest
$ac_exeext conftest.
$ac_ext
22539 LIBS
=$ac_check_lib_save_LIBS
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
22542 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
22543 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
22546 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldld" >&5
22551 $as_echo_n "checking for dlopen in -ldld... " >&6; }
22552 if test "${ac_cv_lib_dld_dlopen+set}" = set; then :
22553 $as_echo_n "(cached) " >&6
22555 ac_check_lib_save_LIBS
=$LIBS
22557 if test x
$gcc_no_link = xyes
; then
22558 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22561 /* end confdefs.h. */
22563 /* Override any GCC internal prototype to avoid an error.
22564 Use char because int might match the return type of a GCC
22565 builtin and then its argument prototype would still apply. */
22578 if ac_fn_c_try_link
"$LINENO"; then :
22579 ac_cv_lib_dld_dlopen
=yes
22581 ac_cv_lib_dld_dlopen
=no
22583 rm -f core conftest.err conftest.
$ac_objext \
22584 conftest
$ac_exeext conftest.
$ac_ext
22585 LIBS
=$ac_check_lib_save_LIBS
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dlopen" >&5
22588 $as_echo "$ac_cv_lib_dld_dlopen" >&6; }
22589 if test "x$ac_cv_lib_dld_dlopen" = x
""yes; then :
22592 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22599 # Some library-finding code we stole from Tcl.
22600 #--------------------------------------------------------------------
22601 # Check for the existence of the -lsocket and -lnsl libraries.
22602 # The order here is important, so that they end up in the right
22603 # order in the command line generated by make. Here are some
22604 # special considerations:
22605 # 1. Use "connect" and "accept" to check for -lsocket, and
22606 # "gethostbyname" to check for -lnsl.
22607 # 2. Use each function name only once: can't redo a check because
22608 # autoconf caches the results of the last check and won't redo it.
22609 # 3. Use -lnsl and -lsocket only if they supply procedures that
22610 # aren't already present in the normal libraries. This is because
22611 # IRIX 5.2 has libraries, but they aren't needed and they're
22612 # bogus: they goof up name resolution if used.
22613 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
22614 # To get around this problem, check for both libraries together
22615 # if -lsocket doesn't work by itself.
22616 #--------------------------------------------------------------------
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
22619 $as_echo_n "checking for socket libraries... " >&6; }
22620 if test "${gcj_cv_lib_sockets+set}" = set; then :
22621 $as_echo_n "(cached) " >&6
22623 gcj_cv_lib_sockets
=
22625 unset ac_cv_func_connect
22626 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
22627 if test "x$ac_cv_func_connect" = x
""yes; then :
22633 if test "$gcj_checkSocket" = 1; then
22634 unset ac_cv_func_connect
22635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
22636 $as_echo_n "checking for main in -lsocket... " >&6; }
22637 if test "${ac_cv_lib_socket_main+set}" = set; then :
22638 $as_echo_n "(cached) " >&6
22640 ac_check_lib_save_LIBS
=$LIBS
22641 LIBS
="-lsocket $LIBS"
22642 if test x
$gcc_no_link = xyes
; then
22643 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22646 /* end confdefs.h. */
22657 if ac_fn_c_try_link
"$LINENO"; then :
22658 ac_cv_lib_socket_main
=yes
22660 ac_cv_lib_socket_main
=no
22662 rm -f core conftest.err conftest.
$ac_objext \
22663 conftest
$ac_exeext conftest.
$ac_ext
22664 LIBS
=$ac_check_lib_save_LIBS
22666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
22667 $as_echo "$ac_cv_lib_socket_main" >&6; }
22668 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
22669 gcj_cv_lib_sockets
="-lsocket"
22675 if test "$gcj_checkBoth" = 1; then
22677 LIBS
="$LIBS -lsocket -lnsl"
22678 unset ac_cv_func_accept
22679 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
22680 if test "x$ac_cv_func_accept" = x
""yes; then :
22682 gcj_cv_lib_sockets
="-lsocket -lnsl"
22685 unset ac_cv_func_accept
22688 unset ac_cv_func_gethostbyname
22690 LIBS
="$LIBS $gcj_cv_lib_sockets"
22691 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22692 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
22696 $as_echo_n "checking for main in -lnsl... " >&6; }
22697 if test "${ac_cv_lib_nsl_main+set}" = set; then :
22698 $as_echo_n "(cached) " >&6
22700 ac_check_lib_save_LIBS
=$LIBS
22702 if test x
$gcc_no_link = xyes
; then
22703 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22706 /* end confdefs.h. */
22717 if ac_fn_c_try_link
"$LINENO"; then :
22718 ac_cv_lib_nsl_main
=yes
22720 ac_cv_lib_nsl_main
=no
22722 rm -f core conftest.err conftest.
$ac_objext \
22723 conftest
$ac_exeext conftest.
$ac_ext
22724 LIBS
=$ac_check_lib_save_LIBS
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
22727 $as_echo "$ac_cv_lib_nsl_main" >&6; }
22728 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
22729 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
22734 unset ac_cv_func_gethostbyname
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcj_cv_lib_sockets" >&5
22739 $as_echo "$gcj_cv_lib_sockets" >&6; }
22740 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
22742 if test "$with_system_zlib" = yes; then
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22744 $as_echo_n "checking for deflate in -lz... " >&6; }
22745 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22746 $as_echo_n "(cached) " >&6
22748 ac_check_lib_save_LIBS
=$LIBS
22750 if test x
$gcc_no_link = xyes
; then
22751 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22754 /* end confdefs.h. */
22756 /* Override any GCC internal prototype to avoid an error.
22757 Use char because int might match the return type of a GCC
22758 builtin and then its argument prototype would still apply. */
22771 if ac_fn_c_try_link
"$LINENO"; then :
22772 ac_cv_lib_z_deflate
=yes
22774 ac_cv_lib_z_deflate
=no
22776 rm -f core conftest.err conftest.
$ac_objext \
22777 conftest
$ac_exeext conftest.
$ac_ext
22778 LIBS
=$ac_check_lib_save_LIBS
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22781 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22782 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22790 # Test for Gtk stuff, if asked for.
22791 if test "$use_gtk_awt" = yes; then
22795 if test -z "$PKG_CONFIG"; then
22796 # Extract the first word of "pkg-config", so it can be a program name with args.
22797 set dummy pkg-config
; ac_word
=$2
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22799 $as_echo_n "checking for $ac_word... " >&6; }
22800 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22801 $as_echo_n "(cached) " >&6
22803 case $PKG_CONFIG in
22805 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22809 for as_dir
in $PATH
22812 test -z "$as_dir" && as_dir
=.
22813 for ac_exec_ext
in '' $ac_executable_extensions; do
22814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22815 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22823 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22827 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22828 if test -n "$PKG_CONFIG"; then
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22830 $as_echo "$PKG_CONFIG" >&6; }
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22833 $as_echo "no" >&6; }
22839 if test "$PKG_CONFIG" = "no" ; then
22840 echo "*** The pkg-config script could not be found. Make sure it is"
22841 echo "*** in your path, or set the PKG_CONFIG environment variable"
22842 echo "*** to the full path to pkg-config."
22843 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22845 PKG_CONFIG_MIN_VERSION
=0.9.0
22846 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4" >&5
22848 $as_echo_n "checking for gtk+-2.0 >= 2.4... " >&6; }
22850 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22852 $as_echo "yes" >&6; }
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
22856 $as_echo_n "checking GTK_CFLAGS... " >&6; }
22857 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
22859 $as_echo "$GTK_CFLAGS" >&6; }
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
22862 $as_echo_n "checking GTK_LIBS... " >&6; }
22863 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
22865 $as_echo "$GTK_LIBS" >&6; }
22869 ## If we have a custom action on failure, don't print errors, but
22870 ## do set a variable so people can do so.
22871 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
22872 echo $GTK_PKG_ERRORS
22878 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22879 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22883 if test $succeeded = yes; then
22886 as_fn_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." "$LINENO" 5
22895 if test -z "$PKG_CONFIG"; then
22896 # Extract the first word of "pkg-config", so it can be a program name with args.
22897 set dummy pkg-config
; ac_word
=$2
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22899 $as_echo_n "checking for $ac_word... " >&6; }
22900 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22901 $as_echo_n "(cached) " >&6
22903 case $PKG_CONFIG in
22905 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22909 for as_dir
in $PATH
22912 test -z "$as_dir" && as_dir
=.
22913 for ac_exec_ext
in '' $ac_executable_extensions; do
22914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22915 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22923 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22927 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22928 if test -n "$PKG_CONFIG"; then
22929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22930 $as_echo "$PKG_CONFIG" >&6; }
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22933 $as_echo "no" >&6; }
22939 if test "$PKG_CONFIG" = "no" ; then
22940 echo "*** The pkg-config script could not be found. Make sure it is"
22941 echo "*** in your path, or set the PKG_CONFIG environment variable"
22942 echo "*** to the full path to pkg-config."
22943 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22945 PKG_CONFIG_MIN_VERSION
=0.9.0
22946 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
22948 $as_echo_n "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... " >&6; }
22950 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22952 $as_echo "yes" >&6; }
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
22956 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
22957 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
22959 $as_echo "$GLIB_CFLAGS" >&6; }
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
22962 $as_echo_n "checking GLIB_LIBS... " >&6; }
22963 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
22965 $as_echo "$GLIB_LIBS" >&6; }
22969 ## If we have a custom action on failure, don't print errors, but
22970 ## do set a variable so people can do so.
22971 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22972 echo $GLIB_PKG_ERRORS
22978 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22979 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22983 if test $succeeded = yes; then
22986 as_fn_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." "$LINENO" 5
22995 if test -z "$PKG_CONFIG"; then
22996 # Extract the first word of "pkg-config", so it can be a program name with args.
22997 set dummy pkg-config
; ac_word
=$2
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22999 $as_echo_n "checking for $ac_word... " >&6; }
23000 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23001 $as_echo_n "(cached) " >&6
23003 case $PKG_CONFIG in
23005 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23009 for as_dir
in $PATH
23012 test -z "$as_dir" && as_dir
=.
23013 for ac_exec_ext
in '' $ac_executable_extensions; do
23014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23015 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23023 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23027 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23028 if test -n "$PKG_CONFIG"; then
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23030 $as_echo "$PKG_CONFIG" >&6; }
23032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23033 $as_echo "no" >&6; }
23039 if test "$PKG_CONFIG" = "no" ; then
23040 echo "*** The pkg-config script could not be found. Make sure it is"
23041 echo "*** in your path, or set the PKG_CONFIG environment variable"
23042 echo "*** to the full path to pkg-config."
23043 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23045 PKG_CONFIG_MIN_VERSION
=0.9.0
23046 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libart-2.0 >= 2.1" >&5
23048 $as_echo_n "checking for libart-2.0 >= 2.1... " >&6; }
23050 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
23051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23052 $as_echo "yes" >&6; }
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_CFLAGS" >&5
23056 $as_echo_n "checking LIBART_CFLAGS... " >&6; }
23057 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_CFLAGS" >&5
23059 $as_echo "$LIBART_CFLAGS" >&6; }
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_LIBS" >&5
23062 $as_echo_n "checking LIBART_LIBS... " >&6; }
23063 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_LIBS" >&5
23065 $as_echo "$LIBART_LIBS" >&6; }
23069 ## If we have a custom action on failure, don't print errors, but
23070 ## do set a variable so people can do so.
23071 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
23072 echo $LIBART_PKG_ERRORS
23078 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23079 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23083 if test $succeeded = yes; then
23086 as_fn_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." "$LINENO" 5
23092 # We require the XTest Extension to support java.awt.Robot.
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
23094 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
23095 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
23096 $as_echo_n "(cached) " >&6
23098 ac_check_lib_save_LIBS
=$LIBS
23099 LIBS
="-lXtst ${X_LIBS} $LIBS"
23100 if test x
$gcc_no_link = xyes
; then
23101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23104 /* end confdefs.h. */
23106 /* Override any GCC internal prototype to avoid an error.
23107 Use char because int might match the return type of a GCC
23108 builtin and then its argument prototype would still apply. */
23112 char XTestQueryExtension ();
23116 return XTestQueryExtension ();
23121 if ac_fn_c_try_link
"$LINENO"; then :
23122 ac_cv_lib_Xtst_XTestQueryExtension
=yes
23124 ac_cv_lib_Xtst_XTestQueryExtension
=no
23126 rm -f core conftest.err conftest.
$ac_objext \
23127 conftest
$ac_exeext conftest.
$ac_ext
23128 LIBS
=$ac_check_lib_save_LIBS
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
23131 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
23132 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
23135 as_fn_error
"libXtst not found, required by java.awt.Robot" "$LINENO" 5
23140 # On Solaris, and maybe other architectures, the Boehm collector
23142 if test "$GC" = boehm
; then
23145 # While IRIX 6 has libdl for the O32 and N32 ABIs, the N64 one is
23146 # missing. It's unnecessary anyway since dlopen lives in libc.
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
23152 $as_echo_n "checking for main in -ldl... " >&6; }
23153 if test "${ac_cv_lib_dl_main+set}" = set; then :
23154 $as_echo_n "(cached) " >&6
23156 ac_check_lib_save_LIBS
=$LIBS
23158 if test x
$gcc_no_link = xyes
; then
23159 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h. */
23173 if ac_fn_c_try_link
"$LINENO"; then :
23174 ac_cv_lib_dl_main
=yes
23176 ac_cv_lib_dl_main
=no
23178 rm -f core conftest.err conftest.
$ac_objext \
23179 conftest
$ac_exeext conftest.
$ac_ext
23180 LIBS
=$ac_check_lib_save_LIBS
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
23183 $as_echo "$ac_cv_lib_dl_main" >&6; }
23184 if test "x$ac_cv_lib_dl_main" = x
""yes; then :
23185 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
23193 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
23195 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
23196 *) CLASSPATH_SEPARATOR
=':' ;;
23200 # We must search the source tree for java.lang, since we still don't
23201 # have libgcj.jar nor java/lang/*.class
23202 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
23203 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
23205 # Since some classes depend on this one, we need its source available
23206 # before we can do any GCJ compilation test :-(
23207 if test ! -f gnu
/classpath
/Configuration.java
; then
23208 test -d gnu || mkdir gnu
23209 test -d gnu
/classpath || mkdir gnu
/classpath
23210 # Note that it is not crucial that all the values here be correct.
23211 sed -e "s,@prefix@,$expanded_prefix," \
23212 -e "s,@VERSION@,$VERSION," \
23213 -e "s,@LIBDEBUG@,false," \
23214 -e "s,@INIT_LOAD_LIBRARY@,false," \
23215 -e "s,@@,$LIBGCJDEBUG," \
23216 -e "s,@default_toolkit@,$TOOLKIT," \
23217 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
23218 -e "s,@GTK_CAIRO_ENABLED@,false," \
23219 -e "s,@ECJ_JAR@,," \
23220 -e "s,@WANT_NATIVE_BIG_INTEGER@,false," \
23221 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
23222 > gnu
/classpath
/Configuration.java
23223 # We do not want to redirect the output of the grep below to /dev/null,
23224 # but we add /dev/null to the input list so that grep will print the
23225 # filename of Configuration.java in case it finds any matches.
23226 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
23227 as_fn_error
"configure.ac is missing the substitutions above" "$LINENO" 5
23232 if test -n "$ac_tool_prefix"; then
23235 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23236 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
23237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23238 $as_echo_n "checking for $ac_word... " >&6; }
23239 if test "${ac_cv_prog_GCJ+set}" = set; then :
23240 $as_echo_n "(cached) " >&6
23242 if test -n "$GCJ"; then
23243 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
23245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23246 for as_dir
in $PATH
23249 test -z "$as_dir" && as_dir
=.
23250 for ac_exec_ext
in '' $ac_executable_extensions; do
23251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23252 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
23253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23262 GCJ
=$ac_cv_prog_GCJ
23263 if test -n "$GCJ"; then
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
23265 $as_echo "$GCJ" >&6; }
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23268 $as_echo "no" >&6; }
23272 test -n "$GCJ" && break
23275 if test -z "$GCJ"; then
23279 # Extract the first word of "$ac_prog", so it can be a program name with args.
23280 set dummy
$ac_prog; ac_word
=$2
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23282 $as_echo_n "checking for $ac_word... " >&6; }
23283 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
23284 $as_echo_n "(cached) " >&6
23286 if test -n "$ac_ct_GCJ"; then
23287 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
23289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23290 for as_dir
in $PATH
23293 test -z "$as_dir" && as_dir
=.
23294 for ac_exec_ext
in '' $ac_executable_extensions; do
23295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23296 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
23297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23306 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
23307 if test -n "$ac_ct_GCJ"; then
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
23309 $as_echo "$ac_ct_GCJ" >&6; }
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23312 $as_echo "no" >&6; }
23316 test -n "$ac_ct_GCJ" && break
23319 if test "x$ac_ct_GCJ" = x
; then
23322 case $cross_compiling:$ac_tool_warned in
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23326 ac_tool_warned
=yes ;;
23332 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
23333 if test "x${GCJFLAGS-unset}" = xunset
; then
23338 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
23341 $as_echo_n "checking dependency style of $depcc... " >&6; }
23342 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
23343 $as_echo_n "(cached) " >&6
23345 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
23346 # We make a subdir and do the tests there. Otherwise we can end up
23347 # making bogus files that we don't know about and never remove. For
23348 # instance it was reported that on HP-UX the gcc test will end up
23349 # making a dummy file named `D' -- because `-MD' means `put the output
23352 # Copy depcomp to subdir because otherwise we won't find it if we're
23353 # using a relative directory.
23354 cp "$am_depcomp" conftest.dir
23356 # We will build objects and dependencies in a subdirectory because
23357 # it helps to detect inapplicable dependency modes. For instance
23358 # both Tru64's cc and ICC support -MD to output dependencies as a
23359 # side effect of compilation, but ICC will put the dependencies in
23360 # the current directory while Tru64 will put them in the object
23364 am_cv_GCJ_dependencies_compiler_type
=none
23365 if test "$am_compiler_list" = ""; then
23366 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
23368 am__universal
=false
23371 for depmode
in $am_compiler_list; do
23372 # Setup a source with many dependencies, because some compilers
23373 # like to wrap large dependency lists on column 80 (with \), and
23374 # we should not choose a depcomp mode which is confused by this.
23376 # We need to recreate these files for each test, as the compiler may
23377 # overwrite some of them when testing with obscure command lines.
23378 # This happens at least with the AIX C compiler.
23380 for i
in 1 2 3 4 5 6; do
23381 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
23382 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
23383 # Solaris 8's {/usr,}/bin/sh.
23384 touch sub
/conftst
$i.h
23386 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
23388 # We check with `-c' and `-o' for the sake of the "dashmstdout"
23389 # mode. It turns out that the SunPro C++ compiler does not properly
23390 # handle `-M -o', and we need to detect this. Also, some Intel
23391 # versions had trouble with output in subdirs
23392 am__obj
=sub
/conftest.
${OBJEXT-o}
23393 am__minus_obj
="-o $am__obj"
23396 # This depmode causes a compiler race in universal mode.
23397 test "$am__universal" = false ||
continue
23400 # after this tag, mechanisms are not by side-effect, so they'll
23401 # only be used when explicitly requested
23402 if test "x$enable_dependency_tracking" = xyes
; then
23408 msvisualcpp | msvcmsys
)
23409 # This compiler won't grok `-c -o', but also, the minuso test has
23410 # not run yet. These depmodes are late enough in the game, and
23411 # so weak that their functioning should not be impacted.
23412 am__obj
=conftest.
${OBJEXT-o}
23417 if depmode
=$depmode \
23418 source=sub
/conftest.c object
=$am__obj \
23419 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
23420 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
23421 >/dev
/null
2>conftest.err
&&
23422 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23423 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23424 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
23425 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
23426 # icc doesn't choke on unknown options, it will just issue warnings
23427 # or remarks (even with -Werror). So we grep stderr for any message
23428 # that says an option was ignored or not supported.
23429 # When given -MP, icc 7.0 and 7.1 complain thusly:
23430 # icc: Command line warning: ignoring option '-M'; no argument required
23431 # The diagnosis changed in icc 8.0:
23432 # icc: Command line remark: option '-MP' not supported
23433 if (grep 'ignoring option' conftest.err ||
23434 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
23435 am_cv_GCJ_dependencies_compiler_type
=$depmode
23442 rm -rf conftest.dir
23444 am_cv_GCJ_dependencies_compiler_type
=none
23448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
23449 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
23450 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
23453 test "x$enable_dependency_tracking" != xno \
23454 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
23455 am__fastdepGCJ_TRUE
=
23456 am__fastdepGCJ_FALSE
='#'
23458 am__fastdepGCJ_TRUE
='#'
23459 am__fastdepGCJ_FALSE
=
23466 rm -f gnu
/classpath
/Configuration.java
23468 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
23470 # The cast to long int works around a bug in the HP C Compiler
23471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23473 # This bug is HP SR number 8606223364.
23474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
23475 $as_echo_n "checking size of void *... " >&6; }
23476 if test "${ac_cv_sizeof_void_p+set}" = set; then :
23477 $as_echo_n "(cached) " >&6
23479 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
23482 if test "$ac_cv_type_void_p" = yes; then
23483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23485 { as_fn_set_status
77
23486 as_fn_error
"cannot compute sizeof (void *)
23487 See \`config.log' for more details." "$LINENO" 5; }; }
23489 ac_cv_sizeof_void_p
=0
23494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
23495 $as_echo "$ac_cv_sizeof_void_p" >&6; }
23499 cat >>confdefs.h
<<_ACEOF
23500 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23506 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23507 if test "${ac_cv_c_bigendian+set}" = set; then :
23508 $as_echo_n "(cached) " >&6
23510 ac_cv_c_bigendian
=unknown
23511 # See if we're dealing with a universal compiler.
23512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23513 /* end confdefs.h. */
23514 #ifndef __APPLE_CC__
23515 not a universal capable compiler
23520 if ac_fn_c_try_compile
"$LINENO"; then :
23522 # Check for potential -arch flags. It is not universal unless
23523 # there are at least two -arch flags with different values.
23526 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
23527 if test -n "$ac_prev"; then
23529 i?
86 | x86_64 | ppc | ppc64
)
23530 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
23533 ac_cv_c_bigendian
=universal
23539 elif test "x$ac_word" = "x-arch"; then
23544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23545 if test $ac_cv_c_bigendian = unknown
; then
23546 # See if sys/param.h defines the BYTE_ORDER macro.
23547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23548 /* end confdefs.h. */
23549 #include <sys/types.h>
23550 #include <sys/param.h>
23555 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
23556 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
23558 bogus endian macros
23565 if ac_fn_c_try_compile
"$LINENO"; then :
23566 # It does; now see whether it defined to BIG_ENDIAN or not.
23567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23568 /* end confdefs.h. */
23569 #include <sys/types.h>
23570 #include <sys/param.h>
23575 #if BYTE_ORDER != BIG_ENDIAN
23583 if ac_fn_c_try_compile
"$LINENO"; then :
23584 ac_cv_c_bigendian
=yes
23586 ac_cv_c_bigendian
=no
23588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23592 if test $ac_cv_c_bigendian = unknown
; then
23593 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
23594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23595 /* end confdefs.h. */
23596 #include <limits.h>
23601 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
23602 bogus endian macros
23609 if ac_fn_c_try_compile
"$LINENO"; then :
23610 # It does; now see whether it defined to _BIG_ENDIAN or not.
23611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23612 /* end confdefs.h. */
23613 #include <limits.h>
23618 #ifndef _BIG_ENDIAN
23626 if ac_fn_c_try_compile
"$LINENO"; then :
23627 ac_cv_c_bigendian
=yes
23629 ac_cv_c_bigendian
=no
23631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23635 if test $ac_cv_c_bigendian = unknown
; then
23636 # Compile a test program.
23637 if test "$cross_compiling" = yes; then :
23638 # Try to guess by grepping values from an object file.
23639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23640 /* end confdefs.h. */
23641 short int ascii_mm[] =
23642 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23643 short int ascii_ii[] =
23644 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23645 int use_ascii (int i) {
23646 return ascii_mm[i] + ascii_ii[i];
23648 short int ebcdic_ii[] =
23649 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23650 short int ebcdic_mm[] =
23651 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23652 int use_ebcdic (int i) {
23653 return ebcdic_mm[i] + ebcdic_ii[i];
23660 return use_ascii (foo) == use_ebcdic (foo);
23665 if ac_fn_c_try_compile
"$LINENO"; then :
23666 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23667 ac_cv_c_bigendian
=yes
23669 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23670 if test "$ac_cv_c_bigendian" = unknown
; then
23671 ac_cv_c_bigendian
=no
23673 # finding both strings is unlikely to happen, but who knows?
23674 ac_cv_c_bigendian
=unknown
23678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23681 /* end confdefs.h. */
23682 $ac_includes_default
23687 /* Are we little or big endian? From Harbison&Steele. */
23691 char c[sizeof (long int)];
23694 return u.c[sizeof (long int) - 1] == 1;
23700 if ac_fn_c_try_run
"$LINENO"; then :
23701 ac_cv_c_bigendian
=no
23703 ac_cv_c_bigendian
=yes
23705 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23706 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
23712 $as_echo "$ac_cv_c_bigendian" >&6; }
23713 case $ac_cv_c_bigendian in #(
23715 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
23721 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
23725 as_fn_error
"unknown endianness
23726 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
23734 if test -z "$ZLIBSPEC"; then
23735 # Use zlib from the GCC tree.
23736 ZINCS
='-I$(top_srcdir)/../zlib'
23737 ZLIBS
=..
/zlib
/libzgcj_convenience.la
23740 SYS_ZLIBS
="$ZLIBSPEC"
23752 if test "$NATIVE" = yes; then
23760 if test "$enable_shared" = yes; then
23761 ENABLE_SHARED_TRUE
=
23762 ENABLE_SHARED_FALSE
='#'
23764 ENABLE_SHARED_TRUE
='#'
23765 ENABLE_SHARED_FALSE
=
23768 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
23769 NEEDS_DATA_START_TRUE
=
23770 NEEDS_DATA_START_FALSE
='#'
23772 NEEDS_DATA_START_TRUE
='#'
23773 NEEDS_DATA_START_FALSE
=
23776 if test -z "${with_multisubdir}"; then
23777 INSTALL_BINARIES_TRUE
=
23778 INSTALL_BINARIES_FALSE
='#'
23780 INSTALL_BINARIES_TRUE
='#'
23781 INSTALL_BINARIES_FALSE
=
23786 # Process the option "--enable-version-specific-runtime-libs"
23787 # Calculate toolexeclibdir
23788 case ${version_specific_libs} in
23790 # Need the gcc compiler version to know where to install libraries
23791 # and header files if --enable-version-specific-runtime-libs option
23793 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
23794 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
23795 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
23796 toolexeclibdir
=$toolexecmainlibdir
23799 if test -n "$with_cross_host" &&
23800 test x
"$with_cross_host" != x
"no"; then
23801 # Install a library built with a cross compiler in tooldir, not libdir.
23802 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
23803 toolexecmainlibdir
='$(toolexecdir)/lib'
23805 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
23806 toolexecmainlibdir
='$(libdir)'
23808 multi_os_directory
=`$CC -print-multi-os-directory`
23809 case $multi_os_directory in
23810 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
23811 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
23819 # Determine gcj and libgcj version number.
23820 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
23821 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
23822 GCJVERSION
=$gcjversion
23825 cat >>confdefs.h
<<_ACEOF
23826 #define GCJVERSION "$GCJVERSION"
23830 # Determine where the standard .db file and GNU Classpath JNI
23831 # libraries are found.
23832 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
23833 multi_os_directory
=`$CC -print-multi-os-directory`
23834 case $multi_os_directory in
23836 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
23839 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
23846 $as_echo "#define JV_VERSION \"1.5.0\"" >>confdefs.h
23849 $as_echo "#define JV_API_VERSION \"1.5\"" >>confdefs.h
23853 case "${with_gxx_include_dir}" in
23855 as_fn_error
"--with-gxx-include-dir=[dir] requires a directory" "$LINENO" 5
23858 case "${enable_version_specific_runtime_libs}" in
23859 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
23861 libstdcxx_incdir
='c++/$(gcc_version)'
23862 gxx_include_dir
='include/$(libstdcxx_incdir)'
23863 if test -n "$with_cross_host" &&
23864 test x
"$with_cross_host" != x
"no"; then
23865 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
23867 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
23870 *) gxx_include_dir
=${with_gxx_include_dir} ;;
23876 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
23877 # On that system, sys/ioctl.h will not include sys/filio.h unless
23878 # BSD_COMP is defined; just including sys/filio.h is simpler.
23879 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
23880 # for now. If you change this, you also must update natFile.cc.
23881 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
23882 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
23883 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h \
23884 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
23885 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
23887 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23888 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23889 eval as_val
=\$
$as_ac_Header
23890 if test "x$as_val" = x
""yes; then :
23891 cat >>confdefs.h
<<_ACEOF
23892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23900 # sys/socket.h is a prerequisite for net/if.h on Solaris.
23901 for ac_header
in net
/if.h
23903 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
23904 #ifdef HAVE_SYS_SOCKET_H
23905 #include <sys/socket.h>
23909 if test "x$ac_cv_header_net_if_h" = x
""yes; then :
23910 cat >>confdefs.h
<<_ACEOF
23911 #define HAVE_NET_IF_H 1
23919 for ac_header
in inttypes.h
23921 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
23922 if test "x$ac_cv_header_inttypes_h" = x
""yes; then :
23923 cat >>confdefs.h
<<_ACEOF
23924 #define HAVE_INTTYPES_H 1
23928 $as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h
23931 $as_echo "#define JV_HAVE_INTTYPES_H 1" >>confdefs.h
23939 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
23940 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
23944 cat >>confdefs.h
<<_ACEOF
23945 #define ssize_t int
23950 ac_fn_c_check_type
"$LINENO" "magic_t" "ac_cv_type_magic_t" "
23951 #ifdef HAVE_MAGIC_H
23955 if test "x$ac_cv_type_magic_t" = x
""yes; then :
23958 $as_echo "#define HAVE_MAGIC_T 1" >>confdefs.h
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t" >&5
23964 $as_echo_n "checking for in_addr_t... " >&6; }
23965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23966 /* end confdefs.h. */
23967 #include <sys/types.h>
23969 #include <stdlib.h>
23970 #include <stddef.h>
23972 #if HAVE_NETINET_IN_H
23973 #include <netinet/in.h>
23983 if ac_fn_c_try_compile
"$LINENO"; then :
23985 $as_echo "#define HAVE_IN_ADDR_T 1" >>confdefs.h
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23988 $as_echo "yes" >&6; }
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23991 $as_echo "no" >&6; }
23993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ip_mreq is in netinet/in.h" >&5
23996 $as_echo_n "checking whether struct ip_mreq is in netinet/in.h... " >&6; }
23997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23998 /* end confdefs.h. */
23999 #include <netinet/in.h>
24003 struct ip_mreq mreq;
24008 if ac_fn_c_try_compile
"$LINENO"; then :
24010 $as_echo "#define HAVE_STRUCT_IP_MREQ 1" >>confdefs.h
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24013 $as_echo "yes" >&6; }
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24016 $as_echo "no" >&6; }
24018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ipv6_mreq is in netinet/in.h" >&5
24021 $as_echo_n "checking whether struct ipv6_mreq is in netinet/in.h... " >&6; }
24022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24023 /* end confdefs.h. */
24024 #include <netinet/in.h>
24028 struct ipv6_mreq mreq6;
24033 if ac_fn_c_try_compile
"$LINENO"; then :
24035 $as_echo "#define HAVE_STRUCT_IPV6_MREQ 1" >>confdefs.h
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24038 $as_echo "yes" >&6; }
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24041 $as_echo "no" >&6; }
24043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
24046 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
24047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24048 /* end confdefs.h. */
24049 #include <netinet/in.h>
24053 struct sockaddr_in6 addr6;
24058 if ac_fn_c_try_compile
"$LINENO"; then :
24060 $as_echo "#define HAVE_INET6 1" >>confdefs.h
24062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24063 $as_echo "yes" >&6; }
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24066 $as_echo "no" >&6; }
24068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
24071 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
24072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24073 /* end confdefs.h. */
24074 #define _POSIX_PII_SOCKET
24075 #include <sys/types.h>
24076 #include <sys/socket.h>
24085 if ac_fn_c_try_compile
"$LINENO"; then :
24087 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
24089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24090 $as_echo "yes" >&6; }
24092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24093 $as_echo "no" >&6; }
24095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
24098 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
24099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24100 /* end confdefs.h. */
24105 struct tm tim; tim.tm_gmtoff = 0;
24110 if ac_fn_c_try_compile
"$LINENO"; then :
24112 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
24114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24115 $as_echo "yes" >&6; }
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24118 $as_echo "no" >&6; }
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
24120 $as_echo_n "checking for global timezone variable... " >&6; }
24121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24122 /* end confdefs.h. */
24127 void i(){long z2 = 2*timezone;}
24132 if ac_fn_c_try_compile
"$LINENO"; then :
24134 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
24136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24137 $as_echo "yes" >&6; }
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24140 $as_echo "no" >&6; }
24141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
24142 $as_echo_n "checking for global _timezone variable... " >&6; }
24143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24144 /* end confdefs.h. */
24149 long z2 = _timezone;
24154 if ac_fn_c_try_compile
"$LINENO"; then :
24156 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24159 $as_echo "yes" >&6; }
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24162 $as_echo "no" >&6; }
24164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24170 for ac_prog
in perl
24172 # Extract the first word of "$ac_prog", so it can be a program name with args.
24173 set dummy
$ac_prog; ac_word
=$2
24174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24175 $as_echo_n "checking for $ac_word... " >&6; }
24176 if test "${ac_cv_prog_PERL+set}" = set; then :
24177 $as_echo_n "(cached) " >&6
24179 if test -n "$PERL"; then
24180 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
24182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24183 for as_dir
in $PATH
24186 test -z "$as_dir" && as_dir
=.
24187 for ac_exec_ext
in '' $ac_executable_extensions; do
24188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24189 ac_cv_prog_PERL
="$ac_prog"
24190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24199 PERL
=$ac_cv_prog_PERL
24200 if test -n "$PERL"; then
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
24202 $as_echo "$PERL" >&6; }
24204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24205 $as_echo "no" >&6; }
24209 test -n "$PERL" && break
24211 test -n "$PERL" || PERL
="false"
24215 SIGNAL_HANDLER_AUX
=
24219 SIGNAL_HANDLER
=include
/i386-signal.h
24222 SIGNAL_HANDLER
=include
/solaris-signal.h
24225 # SYSDEP_SOURCES=sysdep/ia64.c
24226 # test -d sysdep || mkdir sysdep
24229 SIGNAL_HANDLER
=include
/pa-signal.h
24232 SIGNAL_HANDLER
=include
/hppa-signal.h
24235 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24238 SIGNAL_HANDLER
=include
/powerpc-signal.h
24241 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24244 SIGNAL_HANDLER
=include
/s390-signal.h
24247 SIGNAL_HANDLER
=include
/x86_64-signal.h
24248 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
24251 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24254 SIGNAL_HANDLER
=include
/sh-signal.h
24257 SIGNAL_HANDLER
=include
/win32-signal.h
24260 SIGNAL_HANDLER
=include
/mips-signal.h
24263 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24265 powerpc
*-*-darwin* | i?
86-*-darwin[912]* | x86_64-
*-darwin[912]*)
24266 SIGNAL_HANDLER
=include
/darwin-signal.h
24269 SIGNAL_HANDLER
=include
/aix-signal.h
24272 SIGNAL_HANDLER
=include
/default-signal.h
24276 # If we're using sjlj exceptions, forget what we just learned.
24277 if test "$enable_sjlj_exceptions" = yes; then
24278 SIGNAL_HANDLER
=include
/default-signal.h
24279 SIGNAL_HANDLER_AUX
=
24284 if test -z "$SIGNAL_HANDLER_AUX"; then
24285 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
24288 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
24291 if test "${multilib}" = "yes"; then
24292 multilib_arg
="--enable-multilib"
24297 # See if we support thread-local storage.
24300 # Check whether --enable-tls was given.
24301 if test "${enable_tls+set}" = set; then :
24302 enableval
=$enable_tls;
24303 case "$enableval" in
24305 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
24314 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
24315 if test "${gcc_cv_have_tls+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24319 if test "$cross_compiling" = yes; then :
24320 if test x
$gcc_no_link = xyes
; then
24321 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24324 /* end confdefs.h. */
24325 __thread int a; int b; int main() { return a = b; }
24327 if ac_fn_c_try_link
"$LINENO"; then :
24328 chktls_save_LDFLAGS
="$LDFLAGS"
24331 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
24334 chktls_save_CFLAGS
="$CFLAGS"
24335 CFLAGS
="-fPIC $CFLAGS"
24336 if test x
$gcc_no_link = xyes
; then
24337 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24340 /* end confdefs.h. */
24341 int f() { return 0; }
24343 if ac_fn_c_try_link
"$LINENO"; then :
24344 if test x
$gcc_no_link = xyes
; then
24345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24348 /* end confdefs.h. */
24349 __thread int a; int b; int f() { return a = b; }
24351 if ac_fn_c_try_link
"$LINENO"; then :
24352 gcc_cv_have_tls
=yes
24356 rm -f core conftest.err conftest.
$ac_objext \
24357 conftest
$ac_exeext conftest.
$ac_ext
24359 gcc_cv_have_tls
=yes
24361 rm -f core conftest.err conftest.
$ac_objext \
24362 conftest
$ac_exeext conftest.
$ac_ext
24363 CFLAGS
="$chktls_save_CFLAGS"
24364 LDFLAGS
="$chktls_save_LDFLAGS"
24368 rm -f core conftest.err conftest.
$ac_objext \
24369 conftest
$ac_exeext conftest.
$ac_ext
24373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24374 /* end confdefs.h. */
24375 __thread int a; int b; int main() { return a = b; }
24377 if ac_fn_c_try_run
"$LINENO"; then :
24378 chktls_save_LDFLAGS
="$LDFLAGS"
24379 LDFLAGS
="-static $LDFLAGS"
24380 if test x
$gcc_no_link = xyes
; then
24381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24384 /* end confdefs.h. */
24385 int main() { return 0; }
24387 if ac_fn_c_try_link
"$LINENO"; then :
24388 if test "$cross_compiling" = yes; then :
24389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24391 as_fn_error
"cannot run test program while cross compiling
24392 See \`config.log' for more details." "$LINENO" 5; }
24394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24395 /* end confdefs.h. */
24396 __thread int a; int b; int main() { return a = b; }
24398 if ac_fn_c_try_run
"$LINENO"; then :
24399 gcc_cv_have_tls
=yes
24403 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24404 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24408 gcc_cv_have_tls
=yes
24410 rm -f core conftest.err conftest.
$ac_objext \
24411 conftest
$ac_exeext conftest.
$ac_ext
24412 LDFLAGS
="$chktls_save_LDFLAGS"
24413 if test $gcc_cv_have_tls = yes; then
24414 chktls_save_CFLAGS
="$CFLAGS"
24415 thread_CFLAGS
=failed
24416 for flag
in '' '-pthread' '-lpthread'; do
24417 CFLAGS
="$flag $chktls_save_CFLAGS"
24418 if test x
$gcc_no_link = xyes
; then
24419 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24422 /* end confdefs.h. */
24423 #include <pthread.h>
24424 void *g(void *d) { return NULL; }
24428 pthread_t t; pthread_create(&t,NULL,g,NULL);
24433 if ac_fn_c_try_link
"$LINENO"; then :
24434 thread_CFLAGS
="$flag"
24436 rm -f core conftest.err conftest.
$ac_objext \
24437 conftest
$ac_exeext conftest.
$ac_ext
24438 if test "X$thread_CFLAGS" != Xfailed
; then
24442 CFLAGS
="$chktls_save_CFLAGS"
24443 if test "X$thread_CFLAGS" != Xfailed
; then
24444 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
24445 if test "$cross_compiling" = yes; then :
24446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24448 as_fn_error
"cannot run test program while cross compiling
24449 See \`config.log' for more details." "$LINENO" 5; }
24451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h. */
24453 #include <pthread.h>
24455 static int *volatile a_in_other_thread;
24457 thread_func (void *arg)
24459 a_in_other_thread = &a;
24466 void *thread_retval;
24467 int *volatile a_in_main_thread;
24468 a_in_main_thread = &a;
24469 if (pthread_create (&thread, (pthread_attr_t *)0,
24470 thread_func, (void *)0))
24472 if (pthread_join (thread, &thread_retval))
24474 return (a_in_other_thread == a_in_main_thread);
24479 if ac_fn_c_try_run
"$LINENO"; then :
24480 gcc_cv_have_tls
=yes
24484 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24485 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24488 CFLAGS
="$chktls_save_CFLAGS"
24494 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24495 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
24500 $as_echo "$gcc_cv_have_tls" >&6; }
24501 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
24503 $as_echo "#define HAVE_TLS 1" >>confdefs.h
24507 # For _Unwind_GetIPInfo.
24510 # Check whether --with-system-libunwind was given.
24511 if test "${with_system_libunwind+set}" = set; then :
24512 withval
=$with_system_libunwind;
24515 # If system-libunwind was not specifically set, pick a default setting.
24516 if test x
$with_system_libunwind = x
; then
24518 ia64-
*-hpux*) with_system_libunwind
=yes ;;
24519 *) with_system_libunwind
=no
;;
24522 # Based on system-libunwind and target, do we have ipinfo?
24523 if test x
$with_system_libunwind = xyes
; then
24525 ia64-
*-*) have_unwind_getipinfo
=no
;;
24526 *) have_unwind_getipinfo
=yes ;;
24529 # Darwin before version 9 does not have _Unwind_GetIPInfo.
24532 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
24533 *) have_unwind_getipinfo
=yes ;;
24538 if test x
$have_unwind_getipinfo = xyes
; then
24540 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
24545 # See if linker supports anonymous version scripts.
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous version scripts" >&5
24547 $as_echo_n "checking whether ld supports anonymous version scripts... " >&6; }
24548 if test "${libjava_cv_anon_version_script+set}" = set; then :
24549 $as_echo_n "(cached) " >&6
24551 # Check whether --enable-symvers was given.
24552 if test "${enable_symvers+set}" = set; then :
24553 enableval
=$enable_symvers; case "$enableval" in
24554 yes) libjava_cv_anon_version_script
=yes ;;
24555 no
) libjava_cv_anon_version_script
=no
;;
24556 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5;;
24559 libjava_cv_anon_version_script
=yes
24563 if test x
$libjava_cv_anon_version_script = xyes
; then
24564 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
24565 CFLAGS
="$CFLAGS -fPIC";
24566 LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
24567 echo '{ global: globalsymb*; local: *; };' > conftest.map
24568 if test x
$gcc_no_link = xyes
; then
24569 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24572 /* end confdefs.h. */
24573 void globalsymbol (void) {} void localsymbol (void) {}
24582 if ac_fn_c_try_link
"$LINENO"; then :
24583 libjava_cv_anon_version_script
=gnu
24585 libjava_cv_anon_version_script
=no
24587 rm -f core conftest.err conftest.
$ac_objext \
24588 conftest
$ac_exeext conftest.
$ac_ext
24589 if test x
$libjava_cv_anon_version_script = xno
; then
24590 case "$target_os" in
24592 LDFLAGS
="$save_LDFLAGS"
24593 LDFLAGS
="$LDFLAGS -shared -Wl,-M,conftest.map"
24594 # Sun ld doesn't understand wildcards here.
24595 echo '{ global: globalsymbol; local: *; };' > conftest.map
24596 if test x
$gcc_no_link = xyes
; then
24597 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24600 /* end confdefs.h. */
24601 void globalsymbol (void) {} void localsymbol (void) {}
24610 if ac_fn_c_try_link
"$LINENO"; then :
24611 libjava_cv_anon_version_script
=sun
24613 rm -f core conftest.err conftest.
$ac_objext \
24614 conftest
$ac_exeext conftest.
$ac_ext
24618 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_anon_version_script" >&5
24623 $as_echo "$libjava_cv_anon_version_script" >&6; }
24624 if test "$libjava_cv_anon_version_script" != no
; then
24625 ANONVERSCRIPT_TRUE
=
24626 ANONVERSCRIPT_FALSE
='#'
24628 ANONVERSCRIPT_TRUE
='#'
24629 ANONVERSCRIPT_FALSE
=
24632 if test "$libjava_cv_anon_version_script" = gnu
; then
24633 ANONVERSCRIPT_GNU_TRUE
=
24634 ANONVERSCRIPT_GNU_FALSE
='#'
24636 ANONVERSCRIPT_GNU_TRUE
='#'
24637 ANONVERSCRIPT_GNU_FALSE
=
24640 if test "$libjava_cv_anon_version_script" = sun
; then
24641 ANONVERSCRIPT_SUN_TRUE
=
24642 ANONVERSCRIPT_SUN_FALSE
='#'
24644 ANONVERSCRIPT_SUN_TRUE
='#'
24645 ANONVERSCRIPT_SUN_FALSE
=
24649 # Check if linker supports static linking on a per library basis
24650 LD_START_STATIC_SPEC
=
24651 LD_FINISH_STATIC_SPEC
=
24652 if $LD --help 2>&1 |
grep -- -call_shared >/dev
/null
2>&1; then
24653 if $LD --help 2>&1 |
grep -- -non_shared >/dev
/null
2>&1; then
24654 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
24655 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
24661 here
=`${PWDCMD-pwd}`
24664 # We get this from the environment.
24667 default_python_dir
="/share/gcc-`cat ${srcdir}/../gcc/BASE-VER`/python/libjava"
24669 # Check whether --with-python-dir was given.
24670 if test "${with_python_dir+set}" = set; then :
24671 withval
=$with_python_dir; with_python_dir
=$withval
24673 with_python_dir
="${default_python_dir}"
24677 # Needed for installing Python modules during make install.
24678 python_mod_dir
="\${prefix}${with_python_dir}"
24680 # Needed for substituting into aot-compile*
24681 python_mod_dir_expanded
="${expanded_prefix}${with_python_dir}"
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Python modules dir: ${python_mod_dir_expanded}" >&5
24684 $as_echo "Python modules dir: ${python_mod_dir_expanded}" >&6; };
24688 # needed for aot-compile-rpm
24692 # Check whether --enable-aot-compile-rpm was given.
24693 if test "${enable_aot_compile_rpm+set}" = set; then :
24694 enableval
=$enable_aot_compile_rpm; case "${enableval}" in
24695 yes) AOT_RPM_ENABLED
=yes ;;
24696 no
) AOT_RPM_ENABLED
=no
;;
24697 *) as_fn_error
"Unknown argument to enable/disable aot-compile-rpm" "$LINENO" 5 ;;
24704 if test "x${AOT_RPM_ENABLED}" = xyes
; then
24705 INSTALL_AOT_RPM_TRUE
=
24706 INSTALL_AOT_RPM_FALSE
='#'
24708 INSTALL_AOT_RPM_TRUE
='#'
24709 INSTALL_AOT_RPM_FALSE
=
24713 # Check whether --enable-java-home was given.
24714 if test "${enable_java_home+set}" = set; then :
24715 enableval
=$enable_java_home; case "${enableval}" in
24716 yes) JAVA_HOME_ENABLED
=yes ;;
24717 no
) JAVA_HOME_ENABLED
=no
;;
24718 *) as_fn_error
"Unknown argument to enable/disable java-home" "$LINENO" 5 ;;
24721 JAVA_HOME_ENABLED
=no
24725 if test "x${JAVA_HOME_ENABLED}" = xyes
; then
24726 CREATE_JAVA_HOME_TRUE
=
24727 CREATE_JAVA_HOME_FALSE
='#'
24729 CREATE_JAVA_HOME_TRUE
='#'
24730 CREATE_JAVA_HOME_FALSE
=
24734 # Only do these checks if java-home above is enabled.
24735 if test "x${JAVA_HOME_ENABLED}" = xyes
24739 # Check whether --with-gcc-suffix was given.
24740 if test "${with_gcc_suffix+set}" = set; then :
24741 withval
=$with_gcc_suffix; gcc_suffix
=$withval
24746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCC suffix: ${gcc_suffix}" >&5
24747 $as_echo "GCC suffix: ${gcc_suffix}" >&6; }
24751 # Check whether --with-arch-directory was given.
24752 if test "${with_arch_directory+set}" = set; then :
24753 withval
=$with_arch_directory; host_cpu
=$withval
24760 # Check whether --with-os-directory was given.
24761 if test "${with_os_directory+set}" = set; then :
24762 withval
=$with_os_directory; host_os
=$withval
24769 # Check whether --with-origin-name was given.
24770 if test "${with_origin_name+set}" = set; then :
24771 withval
=$with_origin_name; origin_name
=$withval
24773 origin_name
=gcj
${gcc_suffix}
24776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JPackage origin name: ${origin_name}" >&5
24777 $as_echo "JPackage origin name: ${origin_name}" >&6; }
24780 # Check whether --with-arch-suffix was given.
24781 if test "${with_arch_suffix+set}" = set; then :
24782 withval
=$with_arch_suffix; arch_suffix
=$withval
24787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch suffix: ${arch_suffix}" >&5
24788 $as_echo "arch suffix: ${arch_suffix}" >&6; }
24791 # Check whether --with-jvm-root-dir was given.
24792 if test "${with_jvm_root_dir+set}" = set; then :
24793 withval
=$with_jvm_root_dir; jvm_root_dir
=$withval
24795 jvm_root_dir
="\${prefix}/lib/jvm"
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM root installation directory: ${jvm_root_dir}" >&5
24799 $as_echo "JVM root installation directory: ${jvm_root_dir}" >&6; }
24802 # Check whether --with-jvm-jar-dir was given.
24803 if test "${with_jvm_jar_dir+set}" = set; then :
24804 withval
=$with_jvm_jar_dir; jvm_jar_dir
=$withval
24806 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JAR root installation directory: ${jvm_jar_dir}" >&5
24810 $as_echo "JAR root installation directory: ${jvm_jar_dir}" >&6; }
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Java version: ${JAVA_VERSION}" >&5
24817 $as_echo "Java version: ${JAVA_VERSION}" >&6; }
24820 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
24821 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
24823 JVM_ROOT_DIR
=${jvm_root_dir}
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
24826 $as_echo "JVM ROOT directory: ${JVM_ROOT_DIR}" >&6; }
24828 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
24831 $as_echo "JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6; }
24833 JVM_JAR_DIR
=${jvm_jar_dir}
24835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
24836 $as_echo "JVM JAR directory: ${JVM_JAR_DIR}" >&6; }
24847 SDK_BIN_DIR
=${jvm_root_dir}/bin
24849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
24850 $as_echo "SDK tools directory: ${SDK_BIN_DIR}" >&6; }
24852 SDK_LIB_DIR
=${jvm_root_dir}/lib
24854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
24855 $as_echo "SDK jar directory: ${SDK_LIB_DIR}" >&6; }
24857 SDK_INCLUDE_DIR
=${jvm_root_dir}/include
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
24860 $as_echo "SDK include directory: ${SDK_INCLUDE_DIR}" >&6; }
24862 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
24865 $as_echo "JRE tools directory: ${JRE_BIN_DIR}" >&6; }
24867 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
24870 $as_echo "JRE lib directory: ${JRE_LIB_DIR}" >&6; }
24872 # Find gcj prefix using gcj found in PATH.
24873 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
24875 # Where do the gcj binaries live?
24876 # For jhbuild based builds, they all live in a sibling of bin called
24877 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
24878 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
24881 $as_echo "GCJ tools directory: ${GCJ_BIN_DIR}" >&6; }
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host is ${host}" >&5
24884 $as_echo "host is ${host}" >&6; }
24885 if test "x${host_cpu}" = "x"
24888 *-mingw* |
*-cygwin*)
24890 i486-
* | i586-
* | i686-
*)
24895 host_cpu
=${host_cpu};;
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch directory: ${host_cpu}" >&5
24899 $as_echo "arch directory: ${host_cpu}" >&6; }
24903 if test "x${host_os}" = "x"
24906 *-mingw* |
*-cygwin*)
24911 host_os
=${host_os};;
24914 echo os directory
: ${host_os}
24918 # make an expanded $libdir, for substituting into
24919 # scripts (and other non-Makefile things).
24921 if test "x${exec_prefix}" = "xNONE"
24923 lib_exec_prefix
=$expanded_prefix
24925 lib_exec_prefix
=$exec_prefix
24927 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
24931 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"
24934 if test ${multilib} = yes; then
24935 multilib_arg
="--enable-multilib"
24940 ac_config_files
="$ac_config_files scripts/jar"
24942 cat >confcache
<<\_ACEOF
24943 # This file is a shell script that caches the results of configure
24944 # tests run on this system so they can be shared between configure
24945 # scripts and configure runs, see configure's option --config-cache.
24946 # It is not useful on other systems. If it contains results you don't
24947 # want to keep, you may remove or edit it.
24949 # config.status only pays attention to the cache file if you give it
24950 # the --recheck option to rerun configure.
24952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24954 # following values.
24958 # The following way of writing the cache mishandles newlines in values,
24959 # but we know of no workaround that is simple, portable, and efficient.
24960 # So, we kill variables containing newlines.
24961 # Ultrix sh set writes to stderr and can't be redirected directly,
24962 # and sets the high bit in the cache file unless we assign to the vars.
24964 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24965 eval ac_val
=\$
$ac_var
24969 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24970 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24973 _ | IFS | as_nl
) ;; #(
24974 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24975 *) { eval $ac_var=; unset $ac_var;} ;;
24981 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24982 *${as_nl}ac_space
=\
*)
24983 # `set' does not quote correctly, so add quotes: double-quote
24984 # substitution turns \\\\ into \\, and sed turns \\ into \.
24987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24990 # `set' quotes correctly as required by POSIX, so do not add quotes.
24991 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25000 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25002 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25004 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25005 if test -w "$cache_file"; then
25006 test "x$cache_file" != "x/dev/null" &&
25007 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25008 $as_echo "$as_me: updating cache $cache_file" >&6;}
25009 cat confcache
>$cache_file
25011 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25012 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25017 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25018 # Let make expand exec_prefix.
25019 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25021 DEFS
=-DHAVE_CONFIG_H
25025 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25026 # 1. Remove the extension, and $U if already installed.
25027 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25028 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25029 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25030 # will be set to the directory where LIBOBJS objects are built.
25031 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25032 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25034 LIBOBJS
=$ac_libobjs
25036 LTLIBOBJS
=$ac_ltlibobjs
25039 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
25040 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
25041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25043 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
25044 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
25045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25047 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25048 as_fn_error
"conditional \"AMDEP\" was never defined.
25049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25051 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25052 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
25053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25055 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25056 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
25057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25059 if test -n "$EXEEXT"; then
25061 am__EXEEXT_FALSE
='#'
25063 am__EXEEXT_TRUE
='#'
25067 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25068 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
25069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25071 if test -z "${BUILD_SUBLIBS_TRUE}" && test -z "${BUILD_SUBLIBS_FALSE}"; then
25072 as_fn_error
"conditional \"BUILD_SUBLIBS\" was never defined.
25073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25075 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
25076 as_fn_error
"conditional \"XLIB_AWT\" was never defined.
25077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25079 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
25080 as_fn_error
"conditional \"X_AWT\" was never defined.
25081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25083 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25084 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25087 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25088 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25091 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
25092 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
25093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25095 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
25096 as_fn_error
"conditional \"BUILD_ECJ1\" was never defined.
25097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25099 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
25100 as_fn_error
"conditional \"INSTALL_ECJ_JAR\" was never defined.
25101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25103 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
25104 as_fn_error
"conditional \"JAVA_HOME_SET\" was never defined.
25105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25107 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
25108 as_fn_error
"conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
25109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25111 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
25112 as_fn_error
"conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
25113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25115 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
25116 as_fn_error
"conditional \"INTERPRETER\" was never defined.
25117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25119 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
25120 as_fn_error
"conditional \"USING_WIN32_PLATFORM\" was never defined.
25121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25123 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
25124 as_fn_error
"conditional \"USING_POSIX_PLATFORM\" was never defined.
25125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25127 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
25128 as_fn_error
"conditional \"USING_DARWIN_CRT\" was never defined.
25129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25131 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
25132 as_fn_error
"conditional \"USING_BOEHMGC\" was never defined.
25133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25135 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
25136 as_fn_error
"conditional \"USING_NOGC\" was never defined.
25137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25139 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
25140 as_fn_error
"conditional \"USING_POSIX_THREADS\" was never defined.
25141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25143 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
25144 as_fn_error
"conditional \"USING_WIN32_THREADS\" was never defined.
25145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25147 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
25148 as_fn_error
"conditional \"USING_NO_THREADS\" was never defined.
25149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25151 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
25152 as_fn_error
"conditional \"USE_LIBGCJ_BC\" was never defined.
25153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25155 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
25156 as_fn_error
"conditional \"USING_GCC\" was never defined.
25157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25159 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25160 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25164 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
25165 as_fn_error
"conditional \"NATIVE\" was never defined.
25166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25168 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
25169 as_fn_error
"conditional \"ENABLE_SHARED\" was never defined.
25170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25172 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
25173 as_fn_error
"conditional \"NEEDS_DATA_START\" was never defined.
25174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25176 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25177 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
25178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25180 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
25181 as_fn_error
"conditional \"ANONVERSCRIPT\" was never defined.
25182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25184 if test -z "${ANONVERSCRIPT_GNU_TRUE}" && test -z "${ANONVERSCRIPT_GNU_FALSE}"; then
25185 as_fn_error
"conditional \"ANONVERSCRIPT_GNU\" was never defined.
25186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25188 if test -z "${ANONVERSCRIPT_SUN_TRUE}" && test -z "${ANONVERSCRIPT_SUN_FALSE}"; then
25189 as_fn_error
"conditional \"ANONVERSCRIPT_SUN\" was never defined.
25190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25192 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
25193 as_fn_error
"conditional \"INSTALL_AOT_RPM\" was never defined.
25194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25196 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
25197 as_fn_error
"conditional \"CREATE_JAVA_HOME\" was never defined.
25198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25201 : ${CONFIG_STATUS=./config.status}
25203 ac_clean_files_save
=$ac_clean_files
25204 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25205 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25206 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25208 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25210 # Generated by $as_me.
25211 # Run this file to recreate the current configuration.
25212 # Compiler output produced by configure, useful for debugging
25213 # configure, is in config.log if it exists.
25216 ac_cs_recheck=false
25219 SHELL=\${CONFIG_SHELL-$SHELL}
25222 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25223 ## -------------------- ##
25224 ## M4sh Initialization. ##
25225 ## -------------------- ##
25227 # Be more Bourne compatible
25228 DUALCASE
=1; export DUALCASE
# for MKS sh
25229 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25232 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25233 # is contrary to our usage. Disable this feature.
25234 alias -g '${1+"$@"}'='"$@"'
25235 setopt NO_GLOB_SUBST
25237 case `(set -o) 2>/dev/null` in #(
25249 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25250 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25251 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25252 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25253 # Prefer a ksh shell builtin over an external printf program on Solaris,
25254 # but without wasting forks for bash or zsh.
25255 if test -z "$BASH_VERSION$ZSH_VERSION" \
25256 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25257 as_echo='print
-r --'
25258 as_echo_n='print
-rn --'
25259 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25260 as_echo='printf %s
\n'
25261 as_echo_n='printf %s
'
25263 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25264 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25265 as_echo_n='/usr
/ucb
/echo -n'
25267 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25268 as_echo_n_body='eval
25272 expr "X$arg" : "X\\(.*\\)$as_nl";
25273 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25275 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25277 export as_echo_n_body
25278 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25280 export as_echo_body
25281 as_echo='sh
-c $as_echo_body as_echo
'
25284 # The user is always right.
25285 if test "${PATH_SEPARATOR+set}" != set; then
25287 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25288 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25295 # We need space, tab and new line, in precisely that order. Quoting is
25296 # there to prevent editors from complaining about space-tab.
25297 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25298 # splitting by setting IFS to empty value.)
25301 # Find who we are. Look in the path if we contain no directory separator.
25303 *[\\/]* ) as_myself=$0 ;;
25304 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25305 for as_dir in $PATH
25308 test -z "$as_dir" && as_dir=.
25309 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25315 # We did not find ourselves, most probably we were run as `sh COMMAND'
25316 # in which case we are not to be found in the path.
25317 if test "x$as_myself" = x
; then
25320 if test ! -f "$as_myself"; then
25321 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25325 # Unset variables that we do not need and which cause bugs (e.g. in
25326 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25327 # suppresses any "Segmentation fault" message there. '((' could
25328 # trigger a bug in pdksh 5.2.14.
25329 for as_var
in BASH_ENV ENV MAIL MAILPATH
25330 do eval test x\
${$as_var+set} = xset \
25331 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25344 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25347 # as_fn_error ERROR [LINENO LOG_FD]
25348 # ---------------------------------
25349 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25350 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25351 # script with status $?, using 1 if that was 0.
25354 as_status
=$?
; test $as_status -eq 0 && as_status
=1
25356 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25357 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25359 $as_echo "$as_me: error: $1" >&2
25360 as_fn_exit
$as_status
25364 # as_fn_set_status STATUS
25365 # -----------------------
25366 # Set $? to STATUS, without forking.
25367 as_fn_set_status
()
25370 } # as_fn_set_status
25372 # as_fn_exit STATUS
25373 # -----------------
25374 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25378 as_fn_set_status
$1
25384 # Portably unset VAR.
25387 { eval $1=; unset $1;}
25389 as_unset
=as_fn_unset
25390 # as_fn_append VAR VALUE
25391 # ----------------------
25392 # Append the text in VALUE to the end of the definition contained in VAR. Take
25393 # advantage of any shell optimizations that allow amortized linear growth over
25394 # repeated appends, instead of the typical quadratic growth present in naive
25396 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25397 eval 'as_fn_append ()
25408 # as_fn_arith ARG...
25409 # ------------------
25410 # Perform arithmetic evaluation on the ARGs, and store the result in the
25411 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25412 # must be portable across $(()) and expr.
25413 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25414 eval 'as_fn_arith ()
25421 as_val
=`expr "$@" || test $? -eq 1`
25426 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25427 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25433 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25434 as_basename
=basename
25439 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25445 as_me
=`$as_basename -- "$0" ||
25446 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25447 X"$0" : 'X\(//\)$' \| \
25448 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25450 sed '/^.*\/\([^/][^/]*\)\/*$/{
25464 # Avoid depending upon Character Ranges.
25465 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25466 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25467 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25468 as_cr_digits
='0123456789'
25469 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25471 ECHO_C
= ECHO_N
= ECHO_T
=
25472 case `echo -n x` in #(((((
25474 case `echo 'xy\c'` in
25475 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25477 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25484 rm -f conf$$ conf$$.exe conf$$.
file
25485 if test -d conf$$.dir
; then
25486 rm -f conf$$.dir
/conf$$.
file
25489 mkdir conf$$.dir
2>/dev
/null
25491 if (echo >conf$$.
file) 2>/dev
/null
; then
25492 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25494 # ... but there are two gotchas:
25495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25497 # In both cases, we have to default to `cp -p'.
25498 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25500 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25509 rmdir conf$$.dir
2>/dev
/null
25514 # Create "$as_dir" as a directory, including parents if necessary.
25519 -*) as_dir
=.
/$as_dir;;
25521 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25525 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25526 *) as_qdir
=$as_dir;;
25528 as_dirs
="'$as_qdir' $as_dirs"
25529 as_dir
=`$as_dirname -- "$as_dir" ||
25530 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25531 X"$as_dir" : 'X\(//\)[^/]' \| \
25532 X"$as_dir" : 'X\(//\)$' \| \
25533 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25534 $as_echo X"$as_dir" |
25535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25539 /^X\(\/\/\)[^/].*/{
25552 test -d "$as_dir" && break
25554 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25555 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25559 if mkdir
-p .
2>/dev
/null
; then
25560 as_mkdir_p
='mkdir -p "$as_dir"'
25562 test -d .
/-p && rmdir .
/-p
25566 if test -x / >/dev
/null
2>&1; then
25567 as_test_x
='test -x'
25569 if ls -dL / >/dev
/null
2>&1; then
25576 if test -d "$1"; then
25582 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25583 ???[sx]*):;;*)false;;esac;fi
25587 as_executable_p
=$as_test_x
25589 # Sed expression to map a string onto a valid CPP name.
25590 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25592 # Sed expression to map a string onto a valid variable name.
25593 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25597 ## ----------------------------------- ##
25598 ## Main body of $CONFIG_STATUS script. ##
25599 ## ----------------------------------- ##
25601 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25604 # Save the log message, to keep $0 and so on meaningful, and to
25605 # report actual input values of CONFIG_FILES etc. instead of their
25606 # values after options handling.
25608 This file was extended by libjava $as_me version-unused, which was
25609 generated by GNU Autoconf 2.64. Invocation command line was
25611 CONFIG_FILES = $CONFIG_FILES
25612 CONFIG_HEADERS = $CONFIG_HEADERS
25613 CONFIG_LINKS = $CONFIG_LINKS
25614 CONFIG_COMMANDS = $CONFIG_COMMANDS
25617 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25622 case $ac_config_files in *"
25623 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25626 case $ac_config_headers in *"
25627 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25632 # Files that config.status was made for.
25633 config_files="$ac_config_files"
25634 config_headers="$ac_config_headers"
25635 config_links="$ac_config_links"
25636 config_commands="$ac_config_commands"
25640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25642 \`$as_me' instantiates files and other configuration actions
25643 from templates according to the current configuration. Unless the files
25644 and actions are specified as TAGs, all are instantiated by default.
25646 Usage: $0 [OPTION]... [TAG]...
25648 -h, --help print this help, then exit
25649 -V, --version print version number and configuration settings, then exit
25650 -q, --quiet, --silent
25651 do not print progress messages
25652 -d, --debug don't remove temporary files
25653 --recheck update $as_me by reconfiguring in the same conditions
25654 --file=FILE[:TEMPLATE]
25655 instantiate the configuration file FILE
25656 --header=FILE[:TEMPLATE]
25657 instantiate the configuration header FILE
25659 Configuration files:
25662 Configuration headers:
25665 Configuration links:
25668 Configuration commands:
25671 Report bugs to the package provider."
25674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25676 libjava config.status version-unused
25677 configured by $0, generated by GNU Autoconf 2.64,
25678 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25680 Copyright (C) 2009 Free Software Foundation, Inc.
25681 This config.status script is free software; the Free Software Foundation
25682 gives unlimited permission to copy, distribute and modify it."
25689 test -n "\$AWK" || AWK=awk
25692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25693 # The default lists apply if the user does not specify any file.
25699 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25700 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25711 # Handling of the options.
25712 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25714 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25715 $as_echo "$ac_cs_version"; exit ;;
25716 --debug |
--debu |
--deb |
--de |
--d |
-d )
25718 --file |
--fil |
--fi |
--f )
25721 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25723 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25724 ac_need_defaults
=false
;;
25725 --header |
--heade |
--head |
--hea )
25728 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25730 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25731 ac_need_defaults
=false
;;
25733 # Conflict between --help and --header
25734 as_fn_error
"ambiguous option: \`$1'
25735 Try \`$0 --help' for more information.";;
25736 --help |
--hel |
-h )
25737 $as_echo "$ac_cs_usage"; exit ;;
25738 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25739 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25742 # This is an error.
25743 -*) as_fn_error
"unrecognized option: \`$1'
25744 Try \`$0 --help' for more information." ;;
25746 *) as_fn_append ac_config_targets
" $1"
25747 ac_need_defaults
=false
;;
25753 ac_configure_extra_args
=
25755 if $ac_cs_silent; then
25757 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25762 if \$ac_cs_recheck; then
25763 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25765 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25766 CONFIG_SHELL='$SHELL'
25767 export CONFIG_SHELL
25772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25776 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25777 ## Running $as_me. ##
25783 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25791 with_multisubdir="$with_multisubdir"
25792 with_multisrctop="$with_multisrctop"
25793 with_target_subdir="$with_target_subdir"
25794 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25795 multi_basedir="$multi_basedir"
25796 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25799 GFORTRAN="$GFORTRAN"
25801 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25804 # The HP-UX ksh and POSIX shell print the target directory to stdout
25805 # if CDPATH is set.
25806 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25808 sed_quote_subst='$sed_quote_subst'
25809 double_quote_subst='$double_quote_subst'
25810 delay_variable_subst='$delay_variable_subst'
25811 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25812 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25813 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25814 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25815 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25816 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25817 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25818 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25819 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25820 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25821 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25822 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25823 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25824 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25825 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25826 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25827 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25828 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25829 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25830 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25831 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25832 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25833 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25834 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25835 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25836 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25837 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25838 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25839 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25840 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25841 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25842 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25843 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25844 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25845 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25846 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25847 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25848 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25849 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25850 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25851 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25852 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25853 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25854 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25855 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25856 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25857 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25858 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25859 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
25860 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25861 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25862 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25863 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25864 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25865 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25866 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25867 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25868 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25869 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25870 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25871 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25872 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25873 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25874 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25875 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25876 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25877 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25878 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25879 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25880 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25881 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25882 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25883 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25884 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25885 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25886 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25887 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25888 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25889 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25890 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25891 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25892 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25893 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25894 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25895 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25896 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25897 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25898 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25899 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25900 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25901 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25902 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25903 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25904 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25905 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25906 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25907 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25908 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25909 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25910 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25911 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25912 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25913 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25914 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25915 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25916 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25917 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25918 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25919 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25920 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25921 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25922 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25923 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25924 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25925 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25926 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25927 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25928 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25929 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25930 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25931 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25932 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25933 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25934 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25935 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25936 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25937 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25938 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
25939 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25940 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25941 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25942 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25943 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25944 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25945 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25946 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
25947 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25948 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
25949 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25950 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25951 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25952 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
25953 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25954 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
25955 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25956 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
25957 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25958 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
25959 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25960 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
25961 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25962 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
25963 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25964 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25965 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25966 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25967 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25968 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
25969 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25970 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25971 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25972 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25973 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25974 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25975 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25976 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25977 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25978 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25979 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25980 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25981 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25982 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25983 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25984 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25985 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25986 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25987 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25988 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25989 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25990 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "$hardcode_libdir_flag_spec_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25991 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25992 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
25993 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25994 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
25995 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25996 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
25997 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25998 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
25999 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26000 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
26001 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26002 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
26003 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26004 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
26005 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26006 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
26007 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
26008 fix_srcfile_path_GCJ='`$ECHO "$fix_srcfile_path_GCJ" | $SED "$delay_single_quote_subst"`'
26009 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26010 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
26011 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26012 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
26013 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26014 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
26015 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26016 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
26017 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26018 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
26019 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26020 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
26021 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26022 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
26023 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26024 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
26025 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26026 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
26027 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26028 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
26029 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26030 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
26031 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26032 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
26033 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26034 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
26037 LTCFLAGS='$LTCFLAGS'
26038 compiler='$compiler_DEFAULT'
26040 # A function that is used when there is no print builtin or printf.
26041 func_fallback_echo ()
26043 eval 'cat <<_LTECHO_EOF
26048 # Quote evaled strings.
26062 deplibs_check_method \
26071 lt_cv_sys_global_symbol_pipe \
26072 lt_cv_sys_global_symbol_to_cdecl \
26073 lt_cv_sys_global_symbol_to_c_name_address \
26074 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26075 lt_prog_compiler_no_builtin_flag \
26076 lt_prog_compiler_wl \
26077 lt_prog_compiler_pic \
26078 lt_prog_compiler_static \
26079 lt_cv_prog_compiler_c_o \
26087 export_dynamic_flag_spec \
26088 whole_archive_flag_spec \
26089 compiler_needs_object \
26091 allow_undefined_flag \
26092 no_undefined_flag \
26093 hardcode_libdir_flag_spec \
26094 hardcode_libdir_flag_spec_ld \
26095 hardcode_libdir_separator \
26100 variables_saved_for_relink \
26102 library_names_spec \
26104 install_override_mode \
26108 compiler_lib_search_dirs \
26113 compiler_lib_search_path \
26120 lt_prog_compiler_no_builtin_flag_CXX \
26121 lt_prog_compiler_no_builtin_flag_GCJ \
26122 lt_prog_compiler_wl_CXX \
26123 lt_prog_compiler_wl_GCJ \
26124 lt_prog_compiler_pic_CXX \
26125 lt_prog_compiler_pic_GCJ \
26126 lt_prog_compiler_static_CXX \
26127 lt_prog_compiler_static_GCJ \
26128 lt_cv_prog_compiler_c_o_CXX \
26129 lt_cv_prog_compiler_c_o_GCJ \
26130 export_dynamic_flag_spec_CXX \
26131 export_dynamic_flag_spec_GCJ \
26132 whole_archive_flag_spec_CXX \
26133 whole_archive_flag_spec_GCJ \
26134 compiler_needs_object_CXX \
26135 compiler_needs_object_GCJ \
26138 allow_undefined_flag_CXX \
26139 allow_undefined_flag_GCJ \
26140 no_undefined_flag_CXX \
26141 no_undefined_flag_GCJ \
26142 hardcode_libdir_flag_spec_CXX \
26143 hardcode_libdir_flag_spec_GCJ \
26144 hardcode_libdir_flag_spec_ld_CXX \
26145 hardcode_libdir_flag_spec_ld_GCJ \
26146 hardcode_libdir_separator_CXX \
26147 hardcode_libdir_separator_GCJ \
26148 fix_srcfile_path_CXX \
26149 fix_srcfile_path_GCJ \
26150 exclude_expsyms_CXX \
26151 exclude_expsyms_GCJ \
26152 include_expsyms_CXX \
26153 include_expsyms_GCJ \
26154 file_list_spec_CXX \
26155 file_list_spec_GCJ \
26156 compiler_lib_search_dirs_CXX \
26157 compiler_lib_search_dirs_GCJ \
26158 predep_objects_CXX \
26159 predep_objects_GCJ \
26160 postdep_objects_CXX \
26161 postdep_objects_GCJ \
26166 compiler_lib_search_path_CXX \
26167 compiler_lib_search_path_GCJ; do
26168 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26169 *[\\\\\\\`\\"\\\$]*)
26170 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26173 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26178 # Double-quote double-evaled strings.
26179 for var in reload_cmds \
26180 old_postinstall_cmds \
26181 old_postuninstall_cmds \
26183 extract_expsyms_cmds \
26184 old_archive_from_new_cmds \
26185 old_archive_from_expsyms_cmds \
26187 archive_expsym_cmds \
26189 module_expsym_cmds \
26190 export_symbols_cmds \
26193 postuninstall_cmds \
26195 sys_lib_search_path_spec \
26196 sys_lib_dlsearch_path_spec \
26199 old_archive_cmds_CXX \
26200 old_archive_cmds_GCJ \
26201 old_archive_from_new_cmds_CXX \
26202 old_archive_from_new_cmds_GCJ \
26203 old_archive_from_expsyms_cmds_CXX \
26204 old_archive_from_expsyms_cmds_GCJ \
26207 archive_expsym_cmds_CXX \
26208 archive_expsym_cmds_GCJ \
26211 module_expsym_cmds_CXX \
26212 module_expsym_cmds_GCJ \
26213 export_symbols_cmds_CXX \
26214 export_symbols_cmds_GCJ \
26216 prelink_cmds_GCJ; do
26217 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26218 *[\\\\\\\`\\"\\\$]*)
26219 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26222 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26227 ac_aux_dir='$ac_aux_dir'
26228 xsi_shell='$xsi_shell'
26229 lt_shell_append='$lt_shell_append'
26231 # See if we are running on zsh, and set the options which allow our
26232 # commands through without removal of \ escapes INIT.
26233 if test -n "\${ZSH_VERSION+set}" ; then
26234 setopt NO_GLOB_SUBST
26240 TIMESTAMP='$TIMESTAMP'
26253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26255 # Handling of arguments.
26256 for ac_config_target
in $ac_config_targets
26258 case $ac_config_target in
26259 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26260 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26261 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
26262 "gcj/libgcj-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
26263 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26264 "include/platform.h") CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
26265 "java/io/natFile.cc") CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
26266 "java/lang/natConcreteProcess.cc") CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
26267 "java/net/natVMInetAddress.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
26268 "java/net/natVMNetworkInterface.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
26269 "gnu/java/net/natPlainSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
26270 "gnu/java/net/natPlainDatagramSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
26271 "gnu/java/nio/natVMPipe.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
26272 "gnu/java/nio/natVMSelector.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
26273 "gnu/java/nio/channels/natFileChannelImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
26274 "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" ;;
26275 "include/java-gc.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
26276 "include/java-threads.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
26277 "sysdep/locks.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
26278 "sysdep/backtrace.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
26279 "sysdep/descriptor.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
26280 "include/java-signal.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
26281 "include/java-signal-aux.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
26282 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26283 "libgcj.pc") CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
26284 "libgcj.spec") CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
26285 "libgcj-test.spec") CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
26286 "gcj/Makefile") CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
26287 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
26288 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
26289 "contrib/aotcompile.py") CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
26290 "contrib/aot-compile") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
26291 "contrib/aot-compile-rpm") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
26292 "contrib/generate-cacerts.pl") CONFIG_FILES
="$CONFIG_FILES contrib/generate-cacerts.pl" ;;
26293 "contrib/rebuild-gcj-db") CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
26294 "scripts/jar") CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
26296 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26301 # If the user did not use the arguments to specify the items to instantiate,
26302 # then the envvar interface is used. Set only those that are not.
26303 # We use the long form for the default assignment because of an extremely
26304 # bizarre bug on SunOS 4.1.3.
26305 if $ac_need_defaults; then
26306 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26307 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26308 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26309 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26312 # Have a temporary directory for convenience. Make it in the build tree
26313 # simply because there is no reason against having it here, and in addition,
26314 # creating and moving files from /tmp can sometimes cause problems.
26315 # Hook for its removal unless debugging.
26316 # Note that there is a small window in which the directory will not be cleaned:
26317 # after its creation but before its name has been assigned to `$tmp'.
26321 trap 'exit_status=$?
26322 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26324 trap 'as_fn_exit 1' 1 2 13 15
26326 # Create a (secure) tmp directory for tmp files.
26329 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26330 test -n "$tmp" && test -d "$tmp"
26333 tmp
=.
/conf$$
-$RANDOM
26334 (umask 077 && mkdir
"$tmp")
26335 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
26337 # Set up the scripts for CONFIG_FILES section.
26338 # No need to generate them if there are no CONFIG_FILES.
26339 # This happens for instance with `./config.status config.h'.
26340 if test -n "$CONFIG_FILES"; then
26343 ac_cr
=`echo X | tr X '\015'`
26344 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26345 # But we know of no other shell where ac_cr would be empty at this
26346 # point, so we can use a bashism as a fallback.
26347 if test "x$ac_cr" = x
; then
26348 eval ac_cr
=\$
\'\\r
\'
26350 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26351 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26354 ac_cs_awk_cr
=$ac_cr
26357 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26362 echo "cat >conf$$subs.awk <<_ACEOF" &&
26363 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26365 } >conf$$subs.sh ||
26366 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26367 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26369 for ac_last_try in false false false false false :; do
26370 . ./conf$$subs.sh ||
26371 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26373 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26374 if test $ac_delim_n = $ac_delim_num; then
26376 elif $ac_last_try; then
26377 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26379 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26382 rm -f conf$$subs.sh
26384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26385 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26389 s/^/S["/; s
/!.
*/"]=/
26399 s/\(.\{148\}\).*/\1/
26401 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26406 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26413 s/\(.\{148\}\).*/\1/
26415 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26419 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26424 ' <conf$$subs.awk | sed '
26429 ' >>$CONFIG_STATUS || ac_write_fail=1
26430 rm -f conf$$subs.awk
26431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26433 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26434 for (key in S) S_is_set[key] = 1
26440 nfields = split(line, field, "@
")
26442 len = length(field[1])
26443 for (i = 2; i < nfields; i++) {
26445 keylen = length(key)
26446 if (S_is_set[key]) {
26448 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26449 len += length(value) + length(field[++i])
26460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26461 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26462 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26465 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26466 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26469 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26470 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26471 # trailing colons and then remove the whole line if VPATH becomes empty
26472 # (actually we leave an empty line to preserve line numbers).
26473 if test "x
$srcdir" = x.; then
26474 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26475 s/:*\$(srcdir):*/:/
26476 s/:*\${srcdir}:*/:/
26478 s/^\([^=]*=[ ]*\):*/\1/
26484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26485 fi # test -n "$CONFIG_FILES"
26487 # Set up the scripts for CONFIG_HEADERS section.
26488 # No need to generate them if there are no CONFIG_HEADERS.
26489 # This happens for instance with `./config.status Makefile'.
26490 if test -n "$CONFIG_HEADERS"; then
26491 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26495 # Transform confdefs.h into an awk script `defines.awk', embedded as
26496 # here-document in config.status, that substitutes the proper values into
26497 # config.h.in to produce config.h.
26499 # Create a delimiter string that does not exist in confdefs.h, to ease
26500 # handling of long lines.
26502 for ac_last_try in false false :; do
26503 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26504 if test -z "$ac_t"; then
26506 elif $ac_last_try; then
26507 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26509 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26513 # For the awk script, D is an array of macro values keyed by name,
26514 # likewise P contains macro parameters if any. Preserve backslash
26515 # newline sequences.
26517 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26519 s/.\{148\}/&'"$ac_delim"'/g
26522 s/^[ ]*#[ ]*define[ ][ ]*/ /
26529 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26531 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26535 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26536 D["\
1"]=" \
3\\\\\\n
"\\/p
26538 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26543 s/.\{148\}/&'"$ac_delim"'/g
26548 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26551 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26553 ' <confdefs.h | sed '
26554 s/'"$ac_delim"'/"\\\
26555 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26558 for (key in D) D_is_set[key] = 1
26561 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26563 split(line, arg, " ")
26564 if (arg[1] == "#") {
26568 defundef
= substr
(arg
[1], 2)
26571 split(mac1
, mac2
, "(") #)
26573 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26574 if (D_is_set
[macro
]) {
26575 # Preserve the white space surrounding the "#".
26576 print prefix
"define", macro P
[macro
] D
[macro
]
26579 # Replace #undef with comments. This is necessary, for example,
26580 # in the case of _POSIX_SOURCE, which is predefined and required
26581 # on some systems where configure will not decide to define it.
26582 if (defundef
== "undef") {
26583 print
"/*", prefix defundef
, macro
, "*/"
26591 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26592 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26593 fi # test -n "$CONFIG_HEADERS"
26596 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26601 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26603 case $ac_mode$ac_tag in
26605 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26606 :[FH
]-) ac_tag
=-:-;;
26607 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26624 -) ac_f
="$tmp/stdin";;
26625 *) # Look for the file first in the build tree, then in the source tree
26626 # (if the path is not absolute). The absolute path cannot be DOS-style,
26627 # because $ac_f cannot contain `:'.
26631 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26633 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26635 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26636 as_fn_append ac_file_inputs
" '$ac_f'"
26639 # Let's still pretend it is `configure' which instantiates (i.e., don't
26640 # use $as_me), people would be surprised to read:
26641 # /* config.h. Generated by config.status. */
26642 configure_input
='Generated from '`
26643 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26645 if test x
"$ac_file" != x-
; then
26646 configure_input
="$ac_file. $configure_input"
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26648 $as_echo "$as_me: creating $ac_file" >&6;}
26650 # Neutralize special characters interpreted by sed in replacement strings.
26651 case $configure_input in #(
26652 *\
&* |
*\|
* |
*\\* )
26653 ac_sed_conf_input
=`$as_echo "$configure_input" |
26654 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26655 *) ac_sed_conf_input
=$configure_input;;
26659 *:-:* |
*:-) cat >"$tmp/stdin" \
26660 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26665 ac_dir
=`$as_dirname -- "$ac_file" ||
26666 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26667 X"$ac_file" : 'X\(//\)[^/]' \| \
26668 X"$ac_file" : 'X\(//\)$' \| \
26669 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26670 $as_echo X"$ac_file" |
26671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26675 /^X\(\/\/\)[^/].*/{
26688 as_dir
="$ac_dir"; as_fn_mkdir_p
26692 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26694 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26695 # A ".." for each directory in $ac_dir_suffix.
26696 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26697 case $ac_top_builddir_sub in
26698 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26699 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26702 ac_abs_top_builddir
=$ac_pwd
26703 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26704 # for backward compatibility:
26705 ac_top_builddir
=$ac_top_build_prefix
26708 .
) # We are building in place.
26710 ac_top_srcdir
=$ac_top_builddir_sub
26711 ac_abs_top_srcdir
=$ac_pwd ;;
26712 [\\/]* | ?
:[\\/]* ) # Absolute name.
26713 ac_srcdir
=$srcdir$ac_dir_suffix;
26714 ac_top_srcdir
=$srcdir
26715 ac_abs_top_srcdir
=$srcdir ;;
26716 *) # Relative name.
26717 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26718 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26719 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26721 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26731 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26732 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26734 ac_MKDIR_P
=$MKDIR_P
26736 [\\/$
]* | ?
:[\\/]* ) ;;
26737 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26742 # If the template does not know about datarootdir, expand it.
26743 # FIXME: This hack should be removed a few years after 2.60.
26744 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26755 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26756 *datarootdir
*) ac_datarootdir_seen
=yes;;
26757 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26759 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26762 ac_datarootdir_hack='
26763 s&@datadir@&$datadir&g
26764 s&@docdir@&$docdir&g
26765 s&@infodir@&$infodir&g
26766 s&@localedir@&$localedir&g
26767 s&@mandir@&$mandir&g
26768 s&\\\${datarootdir}&$datarootdir&g' ;;
26772 # Neutralize VPATH when `$srcdir' = `.'.
26773 # Shell code in configure.ac might set extrasub.
26774 # FIXME: do we really want to maintain this feature?
26775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26776 ac_sed_extra="$ac_vpsub
26779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26781 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26782 s|@configure_input@|
$ac_sed_conf_input|
;t t
26783 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26784 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26785 s
&@srcdir@
&$ac_srcdir&;t t
26786 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26787 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26788 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26789 s
&@builddir@
&$ac_builddir&;t t
26790 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26791 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26792 s
&@INSTALL@
&$ac_INSTALL&;t t
26793 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26794 $ac_datarootdir_hack
26796 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26797 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26799 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26800 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26801 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26803 which seems to be undefined. Please make sure it is defined." >&5
26804 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26805 which seems to be undefined. Please make sure it is defined." >&2;}
26809 -) cat "$tmp/out" && rm -f "$tmp/out";;
26810 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26812 || as_fn_error "could not create $ac_file" "$LINENO" 5
26818 if test x"$ac_file" != x-; then
26820 $as_echo "/* $configure_input */" \
26821 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26822 } >"$tmp/config.h" \
26823 || as_fn_error "could not create $ac_file" "$LINENO" 5
26824 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26825 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26826 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26829 mv "$tmp/config.h" "$ac_file" \
26830 || as_fn_error "could not create $ac_file" "$LINENO" 5
26833 $as_echo "/* $configure_input */" \
26834 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26835 || as_fn_error "could not create -" "$LINENO" 5
26837 # Compute "$ac_file"'s index
in $config_headers.
26840 for _am_header
in $config_headers :; do
26841 case $_am_header in
26842 $_am_arg |
$_am_arg:* )
26845 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26848 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26849 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26850 X"$_am_arg" : 'X\(//\)[^/]' \| \
26851 X"$_am_arg" : 'X\(//\)$' \| \
26852 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26853 $as_echo X"$_am_arg" |
26854 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26858 /^X\(\/\/\)[^/].*/{
26870 s/.*/./; q'`/stamp-h
$_am_stamp_count
26877 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26880 # Prefer the file from the source tree if names are identical.
26881 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26882 ac_source
=$srcdir/$ac_source
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26886 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26888 if test ! -r "$ac_source"; then
26889 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26893 # Try a relative symlink, then a hard link, then a copy.
26895 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26896 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26898 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26899 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26900 cp -p "$ac_source" "$ac_file" ||
26901 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26904 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26905 $as_echo "$as_me: executing $ac_file commands" >&6;}
26910 case $ac_file$ac_mode in
26912 # Only add multilib support code if we just rebuilt the top-level
26914 case " $CONFIG_FILES " in
26916 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26919 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26920 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26921 # are listed without --file. Let's play safe and only enable the eval
26922 # if we detect the quoting.
26923 case $CONFIG_FILES in
26924 *\'*) eval set x
"$CONFIG_FILES" ;;
26925 *) set x
$CONFIG_FILES ;;
26930 # Strip MF so we end up with the name of the file.
26931 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26932 # Check whether this is an Automake generated Makefile or not.
26933 # We used to match only the files named `Makefile.in', but
26934 # some people rename them; so instead we look at the file content.
26935 # Grep'ing the first line is not enough: some people post-process
26936 # each Makefile.in and add a new line on top of each file to say so.
26937 # Grep'ing the whole file is not good either: AIX grep has a line
26938 # limit of 2048, but all sed's we know have understand at least 4000.
26939 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26940 dirpart
=`$as_dirname -- "$mf" ||
26941 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26942 X"$mf" : 'X\(//\)[^/]' \| \
26943 X"$mf" : 'X\(//\)$' \| \
26944 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26946 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26950 /^X\(\/\/\)[^/].*/{
26966 # Extract the definition of DEPDIR, am__include, and am__quote
26967 # from the Makefile without running `make'.
26968 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26969 test -z "$DEPDIR" && continue
26970 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26971 test -z "am__include" && continue
26972 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26973 # When using ansi2knr, U may be empty or an underscore; expand it
26974 U
=`sed -n 's/^U = //p' < "$mf"`
26975 # Find all dependency output files, they are included files with
26976 # $(DEPDIR) in their names. We invoke sed twice because it is the
26977 # simplest approach to changing $(DEPDIR) to its actual value in the
26979 for file in `sed -n "
26980 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26981 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26982 # Make sure the directory exists.
26983 test -f "$dirpart/$file" && continue
26984 fdir
=`$as_dirname -- "$file" ||
26985 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26986 X"$file" : 'X\(//\)[^/]' \| \
26987 X"$file" : 'X\(//\)$' \| \
26988 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26989 $as_echo X"$file" |
26990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26994 /^X\(\/\/\)[^/].*/{
27007 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
27008 # echo "creating $dirpart/$file"
27009 echo '# dummy' > "$dirpart/$file"
27016 # See if we are running on zsh, and set the options which allow our
27017 # commands through without removal of \ escapes.
27018 if test -n "${ZSH_VERSION+set}" ; then
27019 setopt NO_GLOB_SUBST
27022 cfgfile
="${ofile}T"
27023 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27026 cat <<_LT_EOF >> "$cfgfile"
27029 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27030 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27031 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27032 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27034 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27035 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27036 # Written by Gordon Matzigkeit, 1996
27038 # This file is part of GNU Libtool.
27040 # GNU Libtool is free software; you can redistribute it and/or
27041 # modify it under the terms of the GNU General Public License as
27042 # published by the Free Software Foundation; either version 2 of
27043 # the License, or (at your option) any later version.
27045 # As a special exception to the GNU General Public License,
27046 # if you distribute this file as part of a program or library that
27047 # is built using GNU Libtool, you may include this file under the
27048 # same distribution terms that you use for the rest of that program.
27050 # GNU Libtool is distributed in the hope that it will be useful,
27051 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27052 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27053 # GNU General Public License for more details.
27055 # You should have received a copy of the GNU General Public License
27056 # along with GNU Libtool; see the file COPYING. If not, a copy
27057 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27058 # obtained by writing to the Free Software Foundation, Inc.,
27059 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27062 # The names of the tagged configurations supported by this script.
27063 available_tags="CXX GCJ "
27065 # ### BEGIN LIBTOOL CONFIG
27067 # Which release of libtool.m4 was used?
27068 macro_version=$macro_version
27069 macro_revision=$macro_revision
27071 # Whether or not to build shared libraries.
27072 build_libtool_libs=$enable_shared
27074 # Whether or not to build static libraries.
27075 build_old_libs=$enable_static
27077 # What type of objects to build.
27080 # Whether or not to optimize for fast installation.
27081 fast_install=$enable_fast_install
27083 # Shell to use when invoking shell scripts.
27086 # An echo program that protects backslashes.
27090 host_alias=$host_alias
27094 # The build system.
27095 build_alias=$build_alias
27099 # A sed program that does not truncate output.
27102 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27103 Xsed="\$SED -e 1s/^X//"
27105 # A grep program that handles long lines.
27111 # A literal string matcher.
27114 # A BSD- or MS-compatible name lister.
27117 # Whether we need soft or hard links.
27120 # What is the maximum length of a command?
27121 max_cmd_len=$max_cmd_len
27123 # Object file suffix (normally "o").
27126 # Executable file suffix (normally "").
27129 # whether the shell understands "unset".
27132 # turn spaces into newlines.
27135 # turn newlines into spaces.
27138 # An object symbol dumper.
27139 OBJDUMP=$lt_OBJDUMP
27141 # Method to check whether dependent libraries are shared objects.
27142 deplibs_check_method=$lt_deplibs_check_method
27144 # Command to use when deplibs_check_method == "file_magic".
27145 file_magic_cmd=$lt_file_magic_cmd
27149 AR_FLAGS=$lt_AR_FLAGS
27151 # A symbol stripping program.
27154 # Commands used to install an old-style archive.
27156 old_postinstall_cmds=$lt_old_postinstall_cmds
27157 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27159 # Whether to use a lock for old archive extraction.
27160 lock_old_archive_extraction=$lock_old_archive_extraction
27165 # LTCC compiler flags.
27166 LTCFLAGS=$lt_CFLAGS
27168 # Take the output of nm and produce a listing of raw symbols and C names.
27169 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27171 # Transform the output of nm in a proper C declaration.
27172 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27174 # Transform the output of nm in a C name address pair.
27175 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27177 # Transform the output of nm in a C name address pair when lib prefix is needed.
27178 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27180 # The name of the directory that contains temporary libtool files.
27183 # Used to examine libraries when file_magic_cmd begins with "file".
27184 MAGIC_CMD=$MAGIC_CMD
27186 # Must we lock files when doing compilation?
27187 need_locks=$lt_need_locks
27189 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27190 DSYMUTIL=$lt_DSYMUTIL
27192 # Tool to change global to local symbols on Mac OS X.
27195 # Tool to manipulate fat objects and archives on Mac OS X.
27198 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27201 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27202 OTOOL64=$lt_OTOOL64
27204 # Old archive suffix (normally "a").
27207 # Shared library suffix (normally ".so").
27208 shrext_cmds=$lt_shrext_cmds
27210 # The commands to extract the exported symbol list from a shared archive.
27211 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27213 # Variables whose values should be saved in libtool wrapper scripts and
27214 # restored at link time.
27215 variables_saved_for_relink=$lt_variables_saved_for_relink
27217 # Do we need the "lib" prefix for modules?
27218 need_lib_prefix=$need_lib_prefix
27220 # Do we need a version for libraries?
27221 need_version=$need_version
27223 # Library versioning type.
27224 version_type=$version_type
27226 # Shared library runtime path variable.
27227 runpath_var=$runpath_var
27229 # Shared library path variable.
27230 shlibpath_var=$shlibpath_var
27232 # Is shlibpath searched before the hard-coded library search path?
27233 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27235 # Format of library name prefix.
27236 libname_spec=$lt_libname_spec
27238 # List of archive names. First name is the real one, the rest are links.
27239 # The last name is the one that the linker finds with -lNAME
27240 library_names_spec=$lt_library_names_spec
27242 # The coded name of the library, if different from the real name.
27243 soname_spec=$lt_soname_spec
27245 # Permission mode override for installation of shared libraries.
27246 install_override_mode=$lt_install_override_mode
27248 # Command to use after installation of a shared archive.
27249 postinstall_cmds=$lt_postinstall_cmds
27251 # Command to use after uninstallation of a shared archive.
27252 postuninstall_cmds=$lt_postuninstall_cmds
27254 # Commands used to finish a libtool library installation in a directory.
27255 finish_cmds=$lt_finish_cmds
27257 # As "finish_cmds", except a single script fragment to be evaled but
27259 finish_eval=$lt_finish_eval
27261 # Whether we should hardcode library paths into libraries.
27262 hardcode_into_libs=$hardcode_into_libs
27264 # Compile-time system search path for libraries.
27265 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27267 # Run-time system search path for libraries.
27268 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27270 # Whether dlopen is supported.
27271 dlopen_support=$enable_dlopen
27273 # Whether dlopen of programs is supported.
27274 dlopen_self=$enable_dlopen_self
27276 # Whether dlopen of statically linked programs is supported.
27277 dlopen_self_static=$enable_dlopen_self_static
27279 # Commands to strip libraries.
27280 old_striplib=$lt_old_striplib
27281 striplib=$lt_striplib
27284 # The linker used to build libraries.
27287 # How to create reloadable object files.
27288 reload_flag=$lt_reload_flag
27289 reload_cmds=$lt_reload_cmds
27291 # Commands used to build an old-style archive.
27292 old_archive_cmds=$lt_old_archive_cmds
27294 # A language specific compiler.
27297 # Is the compiler the GNU compiler?
27300 # Compiler flag to turn off builtin functions.
27301 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27303 # How to pass a linker flag through the compiler.
27304 wl=$lt_lt_prog_compiler_wl
27306 # Additional compiler flags for building library objects.
27307 pic_flag=$lt_lt_prog_compiler_pic
27309 # Compiler flag to prevent dynamic linking.
27310 link_static_flag=$lt_lt_prog_compiler_static
27312 # Does compiler simultaneously support -c and -o options?
27313 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27315 # Whether or not to add -lc for building shared libraries.
27316 build_libtool_need_lc=$archive_cmds_need_lc
27318 # Whether or not to disallow shared libs when runtime libs are static.
27319 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27321 # Compiler flag to allow reflexive dlopens.
27322 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27324 # Compiler flag to generate shared objects directly from archives.
27325 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27327 # Whether the compiler copes with passing no objects directly.
27328 compiler_needs_object=$lt_compiler_needs_object
27330 # Create an old-style archive from a shared archive.
27331 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27333 # Create a temporary old-style archive to link instead of a shared archive.
27334 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27336 # Commands used to build a shared archive.
27337 archive_cmds=$lt_archive_cmds
27338 archive_expsym_cmds=$lt_archive_expsym_cmds
27340 # Commands used to build a loadable module if different from building
27341 # a shared archive.
27342 module_cmds=$lt_module_cmds
27343 module_expsym_cmds=$lt_module_expsym_cmds
27345 # Whether we are building with GNU ld or not.
27346 with_gnu_ld=$lt_with_gnu_ld
27348 # Flag that allows shared libraries with undefined symbols to be built.
27349 allow_undefined_flag=$lt_allow_undefined_flag
27351 # Flag that enforces no undefined symbols.
27352 no_undefined_flag=$lt_no_undefined_flag
27354 # Flag to hardcode \$libdir into a binary during linking.
27355 # This must work even if \$libdir does not exist
27356 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27358 # If ld is used when linking, flag to hardcode \$libdir into a binary
27359 # during linking. This must work even if \$libdir does not exist.
27360 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27362 # Whether we need a single "-rpath" flag with a separated argument.
27363 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27365 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27366 # DIR into the resulting binary.
27367 hardcode_direct=$hardcode_direct
27369 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27370 # DIR into the resulting binary and the resulting library dependency is
27371 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27372 # library is relocated.
27373 hardcode_direct_absolute=$hardcode_direct_absolute
27375 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27376 # into the resulting binary.
27377 hardcode_minus_L=$hardcode_minus_L
27379 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27380 # into the resulting binary.
27381 hardcode_shlibpath_var=$hardcode_shlibpath_var
27383 # Set to "yes" if building a shared library automatically hardcodes DIR
27384 # into the library and all subsequent libraries and executables linked
27386 hardcode_automatic=$hardcode_automatic
27388 # Set to yes if linker adds runtime paths of dependent libraries
27389 # to runtime path list.
27390 inherit_rpath=$inherit_rpath
27392 # Whether libtool must link a program against all its dependency libraries.
27393 link_all_deplibs=$link_all_deplibs
27395 # Fix the shell variable \$srcfile for the compiler.
27396 fix_srcfile_path=$lt_fix_srcfile_path
27398 # Set to "yes" if exported symbols are required.
27399 always_export_symbols=$always_export_symbols
27401 # The commands to list exported symbols.
27402 export_symbols_cmds=$lt_export_symbols_cmds
27404 # Symbols that should not be listed in the preloaded symbols.
27405 exclude_expsyms=$lt_exclude_expsyms
27407 # Symbols that must always be exported.
27408 include_expsyms=$lt_include_expsyms
27410 # Commands necessary for linking programs (against libraries) with templates.
27411 prelink_cmds=$lt_prelink_cmds
27413 # Specify filename containing input files.
27414 file_list_spec=$lt_file_list_spec
27416 # How to hardcode a shared library path into an executable.
27417 hardcode_action=$hardcode_action
27419 # The directories searched by this compiler when creating a shared library.
27420 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27422 # Dependencies to place before and after the objects being linked to
27423 # create a shared library.
27424 predep_objects=$lt_predep_objects
27425 postdep_objects=$lt_postdep_objects
27426 predeps=$lt_predeps
27427 postdeps=$lt_postdeps
27429 # The library search path used internally by the compiler when linking
27430 # a shared library.
27431 compiler_lib_search_path=$lt_compiler_lib_search_path
27433 # ### END LIBTOOL CONFIG
27439 cat <<\_LT_EOF
>> "$cfgfile"
27440 # AIX sometimes has problems with the GCC collect2 program. For some
27441 # reason, if we set the COLLECT_NAMES environment variable, the problems
27442 # vanish in a puff of smoke.
27443 if test "X${COLLECT_NAMES+set}" != Xset
; then
27445 export COLLECT_NAMES
27452 ltmain
="$ac_aux_dir/ltmain.sh"
27455 # We use sed instead of cat because bash on DJGPP gets confused if
27456 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27457 # text mode, it properly converts lines to CR/LF. This bash problem
27458 # is reportedly fixed, but why not run on old versions too?
27459 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27460 ||
(rm -f "$cfgfile"; exit 1)
27464 cat << \_LT_EOF
>> "$cfgfile"
27466 # func_dirname file append nondir_replacement
27467 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27468 # otherwise set result to NONDIR_REPLACEMENT.
27472 */*) func_dirname_result
="${1%/*}${2}" ;;
27473 * ) func_dirname_result
="${3}" ;;
27477 # func_basename file
27480 func_basename_result
="${1##*/}"
27483 # func_dirname_and_basename file append nondir_replacement
27484 # perform func_basename and func_dirname in a single function
27486 # dirname: Compute the dirname of FILE. If nonempty,
27487 # add APPEND to the result, otherwise set result
27488 # to NONDIR_REPLACEMENT.
27489 # value returned in "$func_dirname_result"
27490 # basename: Compute filename of FILE.
27491 # value retuned in "$func_basename_result"
27492 # Implementation must be kept synchronized with func_dirname
27493 # and func_basename. For efficiency, we do not delegate to
27494 # those functions but instead duplicate the functionality here.
27495 func_dirname_and_basename
()
27498 */*) func_dirname_result
="${1%/*}${2}" ;;
27499 * ) func_dirname_result
="${3}" ;;
27501 func_basename_result
="${1##*/}"
27504 # func_stripname prefix suffix name
27505 # strip PREFIX and SUFFIX off of NAME.
27506 # PREFIX and SUFFIX must not contain globbing or regex special
27507 # characters, hashes, percent signs, but SUFFIX may contain a leading
27508 # dot (in which case that matches only a dot).
27511 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27512 # positional parameters, so assign one to ordinary parameter first.
27513 func_stripname_result
=${3}
27514 func_stripname_result
=${func_stripname_result#"${1}"}
27515 func_stripname_result
=${func_stripname_result%"${2}"}
27521 func_opt_split_opt
=${1%%=*}
27522 func_opt_split_arg
=${1#*=}
27529 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27530 *) func_lo2o_result
=${1} ;;
27534 # func_xform libobj-or-source
27537 func_xform_result
=${1%.*}.lo
27540 # func_arith arithmetic-term...
27543 func_arith_result
=$
(( $
* ))
27547 # STRING may not start with a hyphen.
27550 func_len_result
=${#1}
27555 *) # Bourne compatible functions.
27556 cat << \_LT_EOF
>> "$cfgfile"
27558 # func_dirname file append nondir_replacement
27559 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27560 # otherwise set result to NONDIR_REPLACEMENT.
27563 # Extract subdirectory from the argument.
27564 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27565 if test "X$func_dirname_result" = "X${1}"; then
27566 func_dirname_result
="${3}"
27568 func_dirname_result
="$func_dirname_result${2}"
27572 # func_basename file
27575 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27579 # func_stripname prefix suffix name
27580 # strip PREFIX and SUFFIX off of NAME.
27581 # PREFIX and SUFFIX must not contain globbing or regex special
27582 # characters, hashes, percent signs, but SUFFIX may contain a leading
27583 # dot (in which case that matches only a dot).
27584 # func_strip_suffix prefix name
27588 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27589 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27594 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27595 my_sed_long_arg
='1s/^-[^=]*=//'
27600 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27601 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27607 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27610 # func_xform libobj-or-source
27613 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27616 # func_arith arithmetic-term...
27619 func_arith_result
=`expr "$@"`
27623 # STRING may not start with a hyphen.
27626 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27632 case $lt_shell_append in
27634 cat << \_LT_EOF
>> "$cfgfile"
27636 # func_append var value
27637 # Append VALUE to the end of shell variable VAR.
27645 cat << \_LT_EOF
>> "$cfgfile"
27647 # func_append var value
27648 # Append VALUE to the end of shell variable VAR.
27659 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27660 ||
(rm -f "$cfgfile"; exit 1)
27662 mv -f "$cfgfile" "$ofile" ||
27663 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27667 cat <<_LT_EOF >> "$ofile"
27669 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27671 # The linker used to build libraries.
27674 # How to create reloadable object files.
27675 reload_flag=$lt_reload_flag_CXX
27676 reload_cmds=$lt_reload_cmds_CXX
27678 # Commands used to build an old-style archive.
27679 old_archive_cmds=$lt_old_archive_cmds_CXX
27681 # A language specific compiler.
27682 CC=$lt_compiler_CXX
27684 # Is the compiler the GNU compiler?
27687 # Compiler flag to turn off builtin functions.
27688 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27690 # How to pass a linker flag through the compiler.
27691 wl=$lt_lt_prog_compiler_wl_CXX
27693 # Additional compiler flags for building library objects.
27694 pic_flag=$lt_lt_prog_compiler_pic_CXX
27696 # Compiler flag to prevent dynamic linking.
27697 link_static_flag=$lt_lt_prog_compiler_static_CXX
27699 # Does compiler simultaneously support -c and -o options?
27700 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27702 # Whether or not to add -lc for building shared libraries.
27703 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27705 # Whether or not to disallow shared libs when runtime libs are static.
27706 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27708 # Compiler flag to allow reflexive dlopens.
27709 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27711 # Compiler flag to generate shared objects directly from archives.
27712 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27714 # Whether the compiler copes with passing no objects directly.
27715 compiler_needs_object=$lt_compiler_needs_object_CXX
27717 # Create an old-style archive from a shared archive.
27718 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27720 # Create a temporary old-style archive to link instead of a shared archive.
27721 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27723 # Commands used to build a shared archive.
27724 archive_cmds=$lt_archive_cmds_CXX
27725 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27727 # Commands used to build a loadable module if different from building
27728 # a shared archive.
27729 module_cmds=$lt_module_cmds_CXX
27730 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27732 # Whether we are building with GNU ld or not.
27733 with_gnu_ld=$lt_with_gnu_ld_CXX
27735 # Flag that allows shared libraries with undefined symbols to be built.
27736 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27738 # Flag that enforces no undefined symbols.
27739 no_undefined_flag=$lt_no_undefined_flag_CXX
27741 # Flag to hardcode \$libdir into a binary during linking.
27742 # This must work even if \$libdir does not exist
27743 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27745 # If ld is used when linking, flag to hardcode \$libdir into a binary
27746 # during linking. This must work even if \$libdir does not exist.
27747 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27749 # Whether we need a single "-rpath" flag with a separated argument.
27750 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27752 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27753 # DIR into the resulting binary.
27754 hardcode_direct=$hardcode_direct_CXX
27756 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27757 # DIR into the resulting binary and the resulting library dependency is
27758 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27759 # library is relocated.
27760 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27762 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27763 # into the resulting binary.
27764 hardcode_minus_L=$hardcode_minus_L_CXX
27766 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27767 # into the resulting binary.
27768 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27770 # Set to "yes" if building a shared library automatically hardcodes DIR
27771 # into the library and all subsequent libraries and executables linked
27773 hardcode_automatic=$hardcode_automatic_CXX
27775 # Set to yes if linker adds runtime paths of dependent libraries
27776 # to runtime path list.
27777 inherit_rpath=$inherit_rpath_CXX
27779 # Whether libtool must link a program against all its dependency libraries.
27780 link_all_deplibs=$link_all_deplibs_CXX
27782 # Fix the shell variable \$srcfile for the compiler.
27783 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27785 # Set to "yes" if exported symbols are required.
27786 always_export_symbols=$always_export_symbols_CXX
27788 # The commands to list exported symbols.
27789 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27791 # Symbols that should not be listed in the preloaded symbols.
27792 exclude_expsyms=$lt_exclude_expsyms_CXX
27794 # Symbols that must always be exported.
27795 include_expsyms=$lt_include_expsyms_CXX
27797 # Commands necessary for linking programs (against libraries) with templates.
27798 prelink_cmds=$lt_prelink_cmds_CXX
27800 # Specify filename containing input files.
27801 file_list_spec=$lt_file_list_spec_CXX
27803 # How to hardcode a shared library path into an executable.
27804 hardcode_action=$hardcode_action_CXX
27806 # The directories searched by this compiler when creating a shared library.
27807 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27809 # Dependencies to place before and after the objects being linked to
27810 # create a shared library.
27811 predep_objects=$lt_predep_objects_CXX
27812 postdep_objects=$lt_postdep_objects_CXX
27813 predeps=$lt_predeps_CXX
27814 postdeps=$lt_postdeps_CXX
27816 # The library search path used internally by the compiler when linking
27817 # a shared library.
27818 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27820 # ### END LIBTOOL TAG CONFIG: CXX
27824 cat <<_LT_EOF >> "$ofile"
27826 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
27828 # The linker used to build libraries.
27831 # How to create reloadable object files.
27832 reload_flag=$lt_reload_flag_GCJ
27833 reload_cmds=$lt_reload_cmds_GCJ
27835 # Commands used to build an old-style archive.
27836 old_archive_cmds=$lt_old_archive_cmds_GCJ
27838 # A language specific compiler.
27839 CC=$lt_compiler_GCJ
27841 # Is the compiler the GNU compiler?
27844 # Compiler flag to turn off builtin functions.
27845 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
27847 # How to pass a linker flag through the compiler.
27848 wl=$lt_lt_prog_compiler_wl_GCJ
27850 # Additional compiler flags for building library objects.
27851 pic_flag=$lt_lt_prog_compiler_pic_GCJ
27853 # Compiler flag to prevent dynamic linking.
27854 link_static_flag=$lt_lt_prog_compiler_static_GCJ
27856 # Does compiler simultaneously support -c and -o options?
27857 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27859 # Whether or not to add -lc for building shared libraries.
27860 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
27862 # Whether or not to disallow shared libs when runtime libs are static.
27863 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
27865 # Compiler flag to allow reflexive dlopens.
27866 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
27868 # Compiler flag to generate shared objects directly from archives.
27869 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
27871 # Whether the compiler copes with passing no objects directly.
27872 compiler_needs_object=$lt_compiler_needs_object_GCJ
27874 # Create an old-style archive from a shared archive.
27875 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
27877 # Create a temporary old-style archive to link instead of a shared archive.
27878 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
27880 # Commands used to build a shared archive.
27881 archive_cmds=$lt_archive_cmds_GCJ
27882 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
27884 # Commands used to build a loadable module if different from building
27885 # a shared archive.
27886 module_cmds=$lt_module_cmds_GCJ
27887 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
27889 # Whether we are building with GNU ld or not.
27890 with_gnu_ld=$lt_with_gnu_ld_GCJ
27892 # Flag that allows shared libraries with undefined symbols to be built.
27893 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
27895 # Flag that enforces no undefined symbols.
27896 no_undefined_flag=$lt_no_undefined_flag_GCJ
27898 # Flag to hardcode \$libdir into a binary during linking.
27899 # This must work even if \$libdir does not exist
27900 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
27902 # If ld is used when linking, flag to hardcode \$libdir into a binary
27903 # during linking. This must work even if \$libdir does not exist.
27904 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
27906 # Whether we need a single "-rpath" flag with a separated argument.
27907 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
27909 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27910 # DIR into the resulting binary.
27911 hardcode_direct=$hardcode_direct_GCJ
27913 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27914 # DIR into the resulting binary and the resulting library dependency is
27915 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27916 # library is relocated.
27917 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
27919 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27920 # into the resulting binary.
27921 hardcode_minus_L=$hardcode_minus_L_GCJ
27923 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27924 # into the resulting binary.
27925 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27927 # Set to "yes" if building a shared library automatically hardcodes DIR
27928 # into the library and all subsequent libraries and executables linked
27930 hardcode_automatic=$hardcode_automatic_GCJ
27932 # Set to yes if linker adds runtime paths of dependent libraries
27933 # to runtime path list.
27934 inherit_rpath=$inherit_rpath_GCJ
27936 # Whether libtool must link a program against all its dependency libraries.
27937 link_all_deplibs=$link_all_deplibs_GCJ
27939 # Fix the shell variable \$srcfile for the compiler.
27940 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
27942 # Set to "yes" if exported symbols are required.
27943 always_export_symbols=$always_export_symbols_GCJ
27945 # The commands to list exported symbols.
27946 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27948 # Symbols that should not be listed in the preloaded symbols.
27949 exclude_expsyms=$lt_exclude_expsyms_GCJ
27951 # Symbols that must always be exported.
27952 include_expsyms=$lt_include_expsyms_GCJ
27954 # Commands necessary for linking programs (against libraries) with templates.
27955 prelink_cmds=$lt_prelink_cmds_GCJ
27957 # Specify filename containing input files.
27958 file_list_spec=$lt_file_list_spec_GCJ
27960 # How to hardcode a shared library path into an executable.
27961 hardcode_action=$hardcode_action_GCJ
27963 # The directories searched by this compiler when creating a shared library.
27964 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27966 # Dependencies to place before and after the objects being linked to
27967 # create a shared library.
27968 predep_objects=$lt_predep_objects_GCJ
27969 postdep_objects=$lt_postdep_objects_GCJ
27970 predeps=$lt_predeps_GCJ
27971 postdeps=$lt_postdeps_GCJ
27973 # The library search path used internally by the compiler when linking
27974 # a shared library.
27975 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27977 # ### END LIBTOOL TAG CONFIG: GCJ
27981 "scripts/jar":F
) chmod +x
scripts
/jar
;;
27989 ac_clean_files
=$ac_clean_files_save
27991 test $ac_write_fail = 0 ||
27992 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27995 # configure is writing to config.log, and then calls config.status.
27996 # config.status does its own redirection, appending to config.log.
27997 # Unfortunately, on DOS this fails, as config.log is still kept open
27998 # by configure, so config.status won't be able to write to it; its
27999 # output is simply discarded. So we exec the FD to /dev/null,
28000 # effectively closing config.log, so it can be properly (re)opened and
28001 # appended to by config.status. When coming back to configure, we
28002 # need to make the FD available again.
28003 if test "$no_create" != yes; then
28005 ac_config_status_args
=
28006 test "$silent" = yes &&
28007 ac_config_status_args
="$ac_config_status_args --quiet"
28009 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
28011 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28012 # would make configure fail if this is the last instruction.
28013 $ac_cs_success || as_fn_exit $?
28017 # CONFIG_SUBDIRS section.
28019 if test "$no_recursion" != yes; then
28021 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
28022 # so they do not pile up.
28023 ac_sub_configure_args
=
28025 eval "set x $ac_configure_args"
28029 if test -n "$ac_prev"; then
28034 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
28035 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
28036 ac_prev
=cache_file
;;
28037 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
28038 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
28041 --config-cache |
-C)
28043 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
28045 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
28047 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
28049 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
28051 --disable-option-checking)
28055 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28057 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
28061 # Always prepend --prefix to ensure using the same prefix
28062 # in subdir configurations.
28063 ac_arg
="--prefix=$prefix"
28065 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28067 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
28070 if test "$silent" = yes; then
28071 ac_sub_configure_args
="--silent $ac_sub_configure_args"
28074 # Always prepend --disable-option-checking to silence warnings, since
28075 # different subdirs can have different --enable and --with options.
28076 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
28079 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
28081 # Do not complain, so a configure script can configure whichever
28082 # parts of a large source tree are present.
28083 test -d "$srcdir/$ac_dir" ||
continue
28085 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
28086 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
28087 $as_echo "$ac_msg" >&6
28088 as_dir
="$ac_dir"; as_fn_mkdir_p
28092 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28094 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28095 # A ".." for each directory in $ac_dir_suffix.
28096 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28097 case $ac_top_builddir_sub in
28098 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28099 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28102 ac_abs_top_builddir
=$ac_pwd
28103 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28104 # for backward compatibility:
28105 ac_top_builddir
=$ac_top_build_prefix
28108 .
) # We are building in place.
28110 ac_top_srcdir
=$ac_top_builddir_sub
28111 ac_abs_top_srcdir
=$ac_pwd ;;
28112 [\\/]* | ?
:[\\/]* ) # Absolute name.
28113 ac_srcdir
=$srcdir$ac_dir_suffix;
28114 ac_top_srcdir
=$srcdir
28115 ac_abs_top_srcdir
=$srcdir ;;
28116 *) # Relative name.
28117 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28118 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28119 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28121 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28126 # Check for guested configure; otherwise get Cygnus style configure.
28127 if test -f "$ac_srcdir/configure.gnu"; then
28128 ac_sub_configure
=$ac_srcdir/configure.gnu
28129 elif test -f "$ac_srcdir/configure"; then
28130 ac_sub_configure
=$ac_srcdir/configure
28131 elif test -f "$ac_srcdir/configure.in"; then
28132 # This should be Cygnus configure.
28133 ac_sub_configure
=$ac_aux_dir/configure
28135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
28136 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
28140 # The recursion is here.
28141 if test -n "$ac_sub_configure"; then
28142 # Make the cache file name correct relative to the subdirectory.
28143 case $cache_file in
28144 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
28145 *) # Relative name.
28146 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
28149 { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
28150 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
28151 # The eval makes quoting arguments work.
28152 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
28153 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
28154 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
28160 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28162 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}