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
686 USING_NO_THREADS_FALSE
687 USING_NO_THREADS_TRUE
688 USING_WIN32_THREADS_FALSE
689 USING_WIN32_THREADS_TRUE
690 USING_POSIX_THREADS_FALSE
691 USING_POSIX_THREADS_TRUE
712 extra_ldflags_libjava
721 USING_DARWIN_CRT_FALSE
722 USING_DARWIN_CRT_TRUE
723 USING_POSIX_PLATFORM_FALSE
724 USING_POSIX_PLATFORM_TRUE
725 USING_WIN32_PLATFORM_FALSE
726 USING_WIN32_PLATFORM_TRUE
733 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
734 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
735 SUPPRESS_LIBGCJ_BC_FALSE
736 SUPPRESS_LIBGCJ_BC_TRUE
740 INSTALL_ECJ_JAR_FALSE
785 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
787 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
788 LIBGCJ_SUBLIB_LTFLAGS
793 MAINTAINER_MODE_FALSE
823 INSTALL_STRIP_PROGRAM
848 JAVA_MAINTAINER_MODE_FALSE
849 JAVA_MAINTAINER_MODE_TRUE
900 program_transform_name
913 enable_option_checking
919 enable_version_specific_runtime_libs
920 enable_browser_plugin
924 enable_java_maintainer_mode
925 enable_dependency_tracking
926 enable_maintainer_mode
927 enable_libgcj_sublibs
937 enable_getenv_properties
938 enable_hash_synchronization
942 enable_reduced_reflection
946 enable_sjlj_exceptions
957 with_system_libunwind
959 enable_aot_compile_rpm
969 ac_precious_vars
='build_alias
983 ac_subdirs_all
='classpath libltdl'
985 # Initialize some variables set by options.
987 ac_init_version
=false
988 ac_unrecognized_opts
=
990 # The variables have the same names as the options, with
991 # dashes changed to underlines.
999 program_transform_name
=s
,x
,x
,
1007 # Installation directory options.
1008 # These are left unexpanded so users can "make install exec_prefix=/foo"
1009 # and all the variables that are supposed to be based on exec_prefix
1010 # by default will actually change.
1011 # Use braces instead of parens because sh, perl, etc. also accept them.
1012 # (The list follows the same order as the GNU Coding Standards.)
1013 bindir
='${exec_prefix}/bin'
1014 sbindir
='${exec_prefix}/sbin'
1015 libexecdir
='${exec_prefix}/libexec'
1016 datarootdir
='${prefix}/share'
1017 datadir
='${datarootdir}'
1018 sysconfdir
='${prefix}/etc'
1019 sharedstatedir
='${prefix}/com'
1020 localstatedir
='${prefix}/var'
1021 includedir
='${prefix}/include'
1022 oldincludedir
='/usr/include'
1023 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1024 infodir
='${datarootdir}/info'
1029 libdir
='${exec_prefix}/lib'
1030 localedir
='${datarootdir}/locale'
1031 mandir
='${datarootdir}/man'
1037 # If the previous option needs an argument, assign it.
1038 if test -n "$ac_prev"; then
1039 eval $ac_prev=\
$ac_option
1045 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1049 # Accept the important Cygnus configure options, so we can diagnose typos.
1051 case $ac_dashdash$ac_option in
1055 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1057 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1058 bindir
=$ac_optarg ;;
1060 -build |
--build |
--buil |
--bui |
--bu)
1061 ac_prev
=build_alias
;;
1062 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1063 build_alias
=$ac_optarg ;;
1065 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1066 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1067 ac_prev
=cache_file
;;
1068 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1069 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1070 cache_file
=$ac_optarg ;;
1072 --config-cache |
-C)
1073 cache_file
=config.cache
;;
1075 -datadir |
--datadir |
--datadi |
--datad)
1077 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1078 datadir
=$ac_optarg ;;
1080 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1081 |
--dataroo |
--dataro |
--datar)
1082 ac_prev
=datarootdir
;;
1083 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1084 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1085 datarootdir
=$ac_optarg ;;
1087 -disable-* |
--disable-*)
1088 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1089 # Reject names that are not valid shell variable names.
1090 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1091 as_fn_error
"invalid feature name: $ac_useropt"
1092 ac_useropt_orig
=$ac_useropt
1093 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094 case $ac_user_opts in
1096 "enable_
$ac_useropt"
1098 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1099 ac_unrecognized_sep
=', ';;
1101 eval enable_
$ac_useropt=no
;;
1103 -docdir |
--docdir |
--docdi |
--doc |
--do)
1105 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1106 docdir
=$ac_optarg ;;
1108 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1110 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1111 dvidir
=$ac_optarg ;;
1113 -enable-* |
--enable-*)
1114 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1117 as_fn_error
"invalid feature name: $ac_useropt"
1118 ac_useropt_orig
=$ac_useropt
1119 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1120 case $ac_user_opts in
1122 "enable_
$ac_useropt"
1124 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1125 ac_unrecognized_sep
=', ';;
1127 eval enable_
$ac_useropt=\
$ac_optarg ;;
1129 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1130 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1131 |
--exec |
--exe |
--ex)
1132 ac_prev
=exec_prefix
;;
1133 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1134 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1135 |
--exec=* |
--exe=* |
--ex=*)
1136 exec_prefix
=$ac_optarg ;;
1138 -gas |
--gas |
--ga |
--g)
1139 # Obsolete; use --with-gas.
1142 -help |
--help |
--hel |
--he |
-h)
1143 ac_init_help
=long
;;
1144 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1145 ac_init_help
=recursive
;;
1146 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1147 ac_init_help
=short
;;
1149 -host |
--host |
--hos |
--ho)
1150 ac_prev
=host_alias
;;
1151 -host=* |
--host=* |
--hos=* |
--ho=*)
1152 host_alias
=$ac_optarg ;;
1154 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1156 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1158 htmldir
=$ac_optarg ;;
1160 -includedir |
--includedir |
--includedi |
--included |
--include \
1161 |
--includ |
--inclu |
--incl |
--inc)
1162 ac_prev
=includedir
;;
1163 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1164 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1165 includedir
=$ac_optarg ;;
1167 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1169 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1170 infodir
=$ac_optarg ;;
1172 -libdir |
--libdir |
--libdi |
--libd)
1174 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1175 libdir
=$ac_optarg ;;
1177 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1178 |
--libexe |
--libex |
--libe)
1179 ac_prev
=libexecdir
;;
1180 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1181 |
--libexe=* |
--libex=* |
--libe=*)
1182 libexecdir
=$ac_optarg ;;
1184 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1185 ac_prev
=localedir
;;
1186 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1187 localedir
=$ac_optarg ;;
1189 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1190 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1191 ac_prev
=localstatedir
;;
1192 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1193 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1194 localstatedir
=$ac_optarg ;;
1196 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1198 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1199 mandir
=$ac_optarg ;;
1201 -nfp |
--nfp |
--nf)
1202 # Obsolete; use --without-fp.
1205 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1206 |
--no-cr |
--no-c |
-n)
1209 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1210 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1213 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1214 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1215 |
--oldin |
--oldi |
--old |
--ol |
--o)
1216 ac_prev
=oldincludedir
;;
1217 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1218 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1219 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1220 oldincludedir
=$ac_optarg ;;
1222 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1224 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1225 prefix
=$ac_optarg ;;
1227 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1228 |
--program-pre |
--program-pr |
--program-p)
1229 ac_prev
=program_prefix
;;
1230 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1231 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1232 program_prefix
=$ac_optarg ;;
1234 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1235 |
--program-suf |
--program-su |
--program-s)
1236 ac_prev
=program_suffix
;;
1237 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1238 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1239 program_suffix
=$ac_optarg ;;
1241 -program-transform-name |
--program-transform-name \
1242 |
--program-transform-nam |
--program-transform-na \
1243 |
--program-transform-n |
--program-transform- \
1244 |
--program-transform |
--program-transfor \
1245 |
--program-transfo |
--program-transf \
1246 |
--program-trans |
--program-tran \
1247 |
--progr-tra |
--program-tr |
--program-t)
1248 ac_prev
=program_transform_name
;;
1249 -program-transform-name=* |
--program-transform-name=* \
1250 |
--program-transform-nam=* |
--program-transform-na=* \
1251 |
--program-transform-n=* |
--program-transform-=* \
1252 |
--program-transform=* |
--program-transfor=* \
1253 |
--program-transfo=* |
--program-transf=* \
1254 |
--program-trans=* |
--program-tran=* \
1255 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1256 program_transform_name
=$ac_optarg ;;
1258 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1260 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1261 pdfdir
=$ac_optarg ;;
1263 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1265 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1268 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1269 |
-silent |
--silent |
--silen |
--sile |
--sil)
1272 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1274 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1276 sbindir
=$ac_optarg ;;
1278 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1279 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1280 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1282 ac_prev
=sharedstatedir
;;
1283 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1284 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1285 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1287 sharedstatedir
=$ac_optarg ;;
1289 -site |
--site |
--sit)
1291 -site=* |
--site=* |
--sit=*)
1294 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1296 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1297 srcdir
=$ac_optarg ;;
1299 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1300 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1301 ac_prev
=sysconfdir
;;
1302 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1303 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1304 sysconfdir
=$ac_optarg ;;
1306 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1307 ac_prev
=target_alias
;;
1308 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1309 target_alias
=$ac_optarg ;;
1311 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1314 -version |
--version |
--versio |
--versi |
--vers |
-V)
1315 ac_init_version
=: ;;
1318 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1319 # Reject names that are not valid shell variable names.
1320 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1321 as_fn_error
"invalid package name: $ac_useropt"
1322 ac_useropt_orig
=$ac_useropt
1323 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1324 case $ac_user_opts in
1328 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1329 ac_unrecognized_sep
=', ';;
1331 eval with_
$ac_useropt=\
$ac_optarg ;;
1333 -without-* |
--without-*)
1334 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1335 # Reject names that are not valid shell variable names.
1336 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1337 as_fn_error
"invalid package name: $ac_useropt"
1338 ac_useropt_orig
=$ac_useropt
1339 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1340 case $ac_user_opts in
1344 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1345 ac_unrecognized_sep
=', ';;
1347 eval with_
$ac_useropt=no
;;
1350 # Obsolete; use --with-x.
1353 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1354 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1355 ac_prev
=x_includes
;;
1356 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1357 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1358 x_includes
=$ac_optarg ;;
1360 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1361 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1362 ac_prev
=x_libraries
;;
1363 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1364 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1365 x_libraries
=$ac_optarg ;;
1367 -*) as_fn_error
"unrecognized option: \`$ac_option'
1368 Try \`$0 --help' for more information."
1372 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1373 # Reject names that are not valid shell variable names.
1374 case $ac_envvar in #(
1375 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1376 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1378 eval $ac_envvar=\
$ac_optarg
1379 export $ac_envvar ;;
1382 # FIXME: should be removed in autoconf 3.0.
1383 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1384 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1385 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1386 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1392 if test -n "$ac_prev"; then
1393 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1394 as_fn_error
"missing argument to $ac_option"
1397 if test -n "$ac_unrecognized_opts"; then
1398 case $enable_option_checking in
1400 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1401 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1405 # Check all directory arguments for consistency.
1406 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1407 datadir sysconfdir sharedstatedir localstatedir includedir \
1408 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1409 libdir localedir mandir
1411 eval ac_val
=\$
$ac_var
1412 # Remove trailing slashes.
1415 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1416 eval $ac_var=\
$ac_val;;
1418 # Be sure to have absolute directory names.
1420 [\\/$
]* | ?
:[\\/]* ) continue;;
1421 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1423 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1426 # There might be people who depend on the old broken behavior: `$host'
1427 # used to hold the argument of --host etc.
1428 # FIXME: To remove some day.
1431 target
=$target_alias
1433 # FIXME: To remove some day.
1434 if test "x$host_alias" != x
; then
1435 if test "x$build_alias" = x
; then
1436 cross_compiling
=maybe
1437 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1438 If a cross compiler is detected then cross compile mode will be used." >&2
1439 elif test "x$build_alias" != "x$host_alias"; then
1445 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1447 test "$silent" = yes && exec 6>/dev
/null
1450 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1451 ac_ls_di
=`ls -di .` &&
1452 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1453 as_fn_error
"working directory cannot be determined"
1454 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1455 as_fn_error
"pwd does not report name of working directory"
1458 # Find the source files, if location was not specified.
1459 if test -z "$srcdir"; then
1460 ac_srcdir_defaulted
=yes
1461 # Try the directory containing this script, then the parent directory.
1462 ac_confdir
=`$as_dirname -- "$as_myself" ||
1463 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1464 X"$as_myself" : 'X\(//\)[^/]' \| \
1465 X"$as_myself" : 'X\(//\)$' \| \
1466 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1467 $as_echo X"$as_myself" |
1468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1486 if test ! -r "$srcdir/$ac_unique_file"; then
1490 ac_srcdir_defaulted
=no
1492 if test ! -r "$srcdir/$ac_unique_file"; then
1493 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1494 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1496 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1498 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1500 # When building in place, set srcdir=.
1501 if test "$ac_abs_confdir" = "$ac_pwd"; then
1504 # Remove unnecessary trailing slashes from srcdir.
1505 # Double slashes in file names in object file debugging info
1506 # mess up M-x gdb in Emacs.
1508 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1510 for ac_var
in $ac_precious_vars; do
1511 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1512 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1513 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1514 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1518 # Report the --help message.
1520 if test "$ac_init_help" = "long"; then
1521 # Omit some internal or obsolete options to make the list less imposing.
1522 # This message is too long to be a string in the A/UX 3.1 sh.
1524 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1526 Usage: $0 [OPTION]... [VAR=VALUE]...
1528 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1529 VAR=VALUE. See below for descriptions of some of the useful variables.
1531 Defaults for the options are specified in brackets.
1534 -h, --help display this help and exit
1535 --help=short display options specific to this package
1536 --help=recursive display the short help of all the included packages
1537 -V, --version display version information and exit
1538 -q, --quiet, --silent do not print \`checking...' messages
1539 --cache-file=FILE cache test results in FILE [disabled]
1540 -C, --config-cache alias for \`--cache-file=config.cache'
1541 -n, --no-create do not create output files
1542 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1544 Installation directories:
1545 --prefix=PREFIX install architecture-independent files in PREFIX
1546 [$ac_default_prefix]
1547 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1550 By default, \`make install' will install all the files in
1551 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1552 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1553 for instance \`--prefix=\$HOME'.
1555 For better control, use the options below.
1557 Fine tuning of the installation directories:
1558 --bindir=DIR user executables [EPREFIX/bin]
1559 --sbindir=DIR system admin executables [EPREFIX/sbin]
1560 --libexecdir=DIR program executables [EPREFIX/libexec]
1561 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1562 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1563 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1564 --libdir=DIR object code libraries [EPREFIX/lib]
1565 --includedir=DIR C header files [PREFIX/include]
1566 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1567 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1568 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1569 --infodir=DIR info documentation [DATAROOTDIR/info]
1570 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1571 --mandir=DIR man documentation [DATAROOTDIR/man]
1572 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1573 --htmldir=DIR html documentation [DOCDIR]
1574 --dvidir=DIR dvi documentation [DOCDIR]
1575 --pdfdir=DIR pdf documentation [DOCDIR]
1576 --psdir=DIR ps documentation [DOCDIR]
1582 --program-prefix=PREFIX prepend PREFIX to installed program names
1583 --program-suffix=SUFFIX append SUFFIX to installed program names
1584 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1587 --x-includes=DIR X include files are
in DIR
1588 --x-libraries=DIR X library files are
in DIR
1591 --build=BUILD configure
for building on BUILD
[guessed
]
1592 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1593 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1597 if test -n "$ac_init_help"; then
1598 case $ac_init_help in
1599 short | recursive
) echo "Configuration of libjava version-unused:";;
1604 --disable-option-checking ignore unrecognized
--enable/--with options
1605 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1606 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1607 --enable-multilib build many library versions
(default
)
1608 --enable-version-specific-runtime-libs
1609 specify that runtime libraries should be installed
1610 in a compiler-specific directory
1611 --enable-browser-plugin build gcjwebplugin web browser plugin
1612 --enable-gconf-peer compile GConf native peers
for util.preferences
1613 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1615 --enable-java-maintainer-mode
1616 allow rebuilding of .class and .h files
1617 --disable-dependency-tracking speeds up one-time build
1618 --enable-dependency-tracking do not reject slow dependency extractors
1619 --enable-maintainer-mode enable make rules and dependencies not useful
1620 (and sometimes confusing
) to the casual installer
1621 --enable-libgcj-sublibs build libgcj as many sub-libraries
1622 --enable-libgcj-debug enable runtime debugging code
1623 --enable-java-awt list of AWT peer implementations to be built
1624 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1625 --enable-static[=PKGS
] build static libraries
[default
=yes]
1626 --enable-fast-install[=PKGS
]
1627 optimize
for fast installation
[default
=yes]
1628 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1629 --disable-getenv-properties
1630 don
't set system properties from GCJ_PROPERTIES
1631 --enable-hash-synchronization
1632 use global hash table for monitor locks
1633 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1635 --enable-reduced-reflection
1636 enable or disable(default) -freduced-reflection when
1637 building portions of libgcj
1638 --enable-gc-debug include full support for pointer backtracing etc.
1639 --enable-interpreter enable interpreter
1640 --enable-sjlj-exceptions
1641 force use of builtin_setjmp for exceptions
1642 --disable-java-net disable java.net
1643 --disable-jvmpi disable JVMPI support
1644 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1645 --disable-rpath do not hardcode runtime library paths
1646 --enable-tls Use thread-local storage [default=yes]
1647 --enable-aot-compile-rpm
1648 enable installation of aot-compile-rpm [default=no]
1649 --enable-java-home create a standard JDK-style directory layout in the
1650 install tree [default=no]
1653 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1654 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1655 --with-build-libsubdir=DIR Directory where to find libraries for build system
1656 --with-target-subdir=SUBDIR
1657 configure in a subdirectory
1658 --with-cross-host=HOST configure with a cross compiler from HOST
1659 --with-newlib configure with newlib
1660 --with-antlr-jar=file Use ANTLR from the specified jar file
1661 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1662 --with-pic try to use only PIC/non-PIC objects [default=use
1664 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1665 --with-ecj-jar=FILE use preinstalled ecj jar
1666 --with-java-home=DIRECTORY
1667 value of java.home system property
1668 --with-win32-nlsapi=ansi or unicows or unicode
1669 native MinGW libgcj Win32 OS API (default is ansi)
1670 --without-libffi don't use libffi
1671 --with-ecos enable runtime eCos target support
1672 --with-system-zlib use installed libz
1673 --with-x use the X Window System
1674 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1675 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1676 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1677 --with-system-libunwind use installed libunwind
1678 --with-python-dir the location to install Python modules. This path
1679 should NOT include the prefix.
1680 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1681 --with-arch-directory the arch directory under jre/lib (defaults to
1683 --with-os-directory the os directory under include (defaults to
1685 --with-origin-name the JPackage origin name of this package (default is
1687 --with-arch-suffix the arch directory suffix (default is the empty
1689 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1690 --with-jvm-jar-dir where to install jars (default is
1691 ${prefix}/lib/jvm-exports)
1693 Some influential environment variables:
1694 CC C compiler command
1695 CFLAGS C compiler flags
1696 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1697 nonstandard directory <lib dir>
1698 LIBS libraries to pass to the linker, e.g. -l<library>
1699 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1700 you have headers in a nonstandard directory <include dir>
1701 CXX C++ compiler command
1702 CXXFLAGS C++ compiler flags
1704 CXXCPP C++ preprocessor
1705 XMKMF Path to xmkmf, Makefile generator for X Window System
1707 Use these variables to override the choices made by `configure' or to
help
1708 it to
find libraries and programs with nonstandard names
/locations.
1710 Report bugs to the package provider.
1715 if test "$ac_init_help" = "recursive"; then
1716 # If there are subdirs, report their specific --help.
1717 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1718 test -d "$ac_dir" ||
1719 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1724 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1726 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1727 # A ".." for each directory in $ac_dir_suffix.
1728 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1729 case $ac_top_builddir_sub in
1730 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1731 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1734 ac_abs_top_builddir
=$ac_pwd
1735 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1736 # for backward compatibility:
1737 ac_top_builddir
=$ac_top_build_prefix
1740 .
) # We are building in place.
1742 ac_top_srcdir
=$ac_top_builddir_sub
1743 ac_abs_top_srcdir
=$ac_pwd ;;
1744 [\\/]* | ?
:[\\/]* ) # Absolute name.
1745 ac_srcdir
=$srcdir$ac_dir_suffix;
1746 ac_top_srcdir
=$srcdir
1747 ac_abs_top_srcdir
=$srcdir ;;
1749 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1750 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1751 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1753 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1755 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1756 # Check for guested configure.
1757 if test -f "$ac_srcdir/configure.gnu"; then
1759 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1760 elif test -f "$ac_srcdir/configure"; then
1762 $SHELL "$ac_srcdir/configure" --help=recursive
1764 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1766 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1770 test -n "$ac_init_help" && exit $ac_status
1771 if $ac_init_version; then
1773 libjava configure version-unused
1774 generated by GNU Autoconf
2.64
1776 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1777 This configure
script is free software
; the Free Software Foundation
1778 gives unlimited permission to copy
, distribute and modify it.
1783 ## ------------------------ ##
1784 ## Autoconf initialization. ##
1785 ## ------------------------ ##
1787 # ac_fn_c_try_compile LINENO
1788 # --------------------------
1789 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_compile
()
1792 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1793 rm -f conftest.
$ac_objext
1794 if { { ac_try
="$ac_compile"
1796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_compile") 2>conftest.err
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest.$ac_objext; then :
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 } # ac_fn_c_try_compile
1825 # ac_fn_cxx_try_compile LINENO
1826 # ----------------------------
1827 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_cxx_try_compile ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext
1832 if { { ac_try="$ac_compile"
1834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1835 *) ac_try_echo
=$ac_try;;
1837 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_compile") 2>conftest.err
1841 if test -s conftest.err
; then
1842 grep -v '^ *+' conftest.err
>conftest.er1
1843 cat conftest.er1
>&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_cxx_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest.
$ac_objext; then :
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1858 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1861 } # ac_fn_cxx_try_compile
1863 # ac_fn_c_try_link LINENO
1864 # -----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded.
1868 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1869 rm -f conftest.
$ac_objext conftest
$ac_exeext
1870 if { { ac_try
="$ac_link"
1872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>conftest.err
1879 if test -s conftest.err; then
1880 grep -v '^ *+' conftest.err >conftest.er1
1881 cat conftest.er1 >&5
1882 mv -f conftest.er1 conftest.err
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && {
1886 test -z "$ac_c_werror_flag" ||
1887 test ! -s conftest.err
1888 } && test -s conftest$ac_exeext && {
1889 test "$cross_compiling" = yes ||
1890 $as_test_x conftest$ac_exeext
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1899 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1900 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1901 # interfere with the next link command; also delete a directory that is
1902 # left behind by Apple's compiler. We do this before executing the actions.
1903 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907 } # ac_fn_c_try_link
1909 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1910 # -------------------------------------------------------
1911 # Tests whether HEADER exists and can be compiled using the include files in
1912 # INCLUDES, setting the cache variable VAR accordingly.
1913 ac_fn_c_check_header_compile ()
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917 $as_echo_n "checking for $2... " >&6; }
1918 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1919 $as_echo_n "(cached) " >&6
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1926 if ac_fn_c_try_compile "$LINENO"; then :
1931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1938 } # ac_fn_c_check_header_compile
1940 # ac_fn_c_try_cpp LINENO
1941 # ----------------------
1942 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1946 if { { ac_try="$ac_cpp conftest.$ac_ext"
1948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1949 *) ac_try_echo
=$ac_try;;
1951 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 $as_echo "$ac_try_echo"; } >&5
1953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1955 if test -s conftest.err
; then
1956 grep -v '^ *+' conftest.err
>conftest.er1
1957 cat conftest.er1
>&5
1958 mv -f conftest.er1 conftest.err
1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961 test $ac_status = 0; } >/dev
/null
&& {
1962 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1963 test ! -s conftest.err
1967 $as_echo "$as_me: failed program was:" >&5
1968 sed 's/^/| /' conftest.
$ac_ext >&5
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1977 # ac_fn_c_try_run LINENO
1978 # ----------------------
1979 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1980 # that executables *can* be run.
1983 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1984 if { { ac_try
="$ac_link"
1986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1990 $as_echo "$ac_try_echo"; } >&5
1991 (eval "$ac_link") 2>&5
1993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1994 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1995 { { case "(($ac_try" in
1996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1997 *) ac_try_echo
=$ac_try;;
1999 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2000 $as_echo "$ac_try_echo"; } >&5
2001 (eval "$ac_try") 2>&5
2003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2004 test $ac_status = 0; }; }; then :
2007 $as_echo "$as_me: program exited with status $ac_status" >&5
2008 $as_echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.
$ac_ext >&5
2011 ac_retval
=$ac_status
2013 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2019 # ac_fn_c_check_func LINENO FUNC VAR
2020 # ----------------------------------
2021 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2022 ac_fn_c_check_func
()
2024 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2026 $as_echo_n "checking for $2... " >&6; }
2027 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2028 $as_echo_n "(cached) " >&6
2030 if test x
$gcc_no_link = xyes
; then
2031 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h. */
2035 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2037 #define $2 innocuous_$2
2039 /* System header to define __stub macros and hopefully few prototypes,
2040 which can conflict with char $2 (); below.
2041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2042 <limits.h> exists even on freestanding compilers. */
2045 # include <limits.h>
2047 # include <assert.h>
2052 /* Override any GCC internal prototype to avoid an error.
2053 Use char because int might match the return type of a GCC
2054 builtin and then its argument prototype would still apply. */
2059 /* The GNU C library defines this for functions which it implements
2060 to always fail with ENOSYS. Some functions are actually named
2061 something starting with __ and the normal name is an alias. */
2062 #if defined __stub_$2 || defined __stub___$2
2074 if ac_fn_c_try_link
"$LINENO"; then :
2079 rm -f core conftest.err conftest.
$ac_objext \
2080 conftest
$ac_exeext conftest.
$ac_ext
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084 $as_echo "$ac_res" >&6; }
2085 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2087 } # ac_fn_c_check_func
2089 # ac_fn_cxx_try_cpp LINENO
2090 # ------------------------
2091 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2092 ac_fn_cxx_try_cpp
()
2094 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2095 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2098 *) ac_try_echo=$ac_try;;
2100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2101 $as_echo "$ac_try_echo"; } >&5
2102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2104 if test -s conftest.err; then
2105 grep -v '^ *+' conftest.err >conftest.er1
2106 cat conftest.er1 >&5
2107 mv -f conftest.er1 conftest.err
2109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2110 test $ac_status = 0; } >/dev/null && {
2111 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2112 test ! -s conftest.err
2116 $as_echo "$as_me: failed program was:" >&5
2117 sed 's/^/| /' conftest.$ac_ext >&5
2121 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2124 } # ac_fn_cxx_try_cpp
2126 # ac_fn_cxx_try_link LINENO
2127 # -------------------------
2128 # Try to link conftest.$ac_ext, and return whether this succeeded.
2129 ac_fn_cxx_try_link ()
2131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2132 rm -f conftest.$ac_objext conftest$ac_exeext
2133 if { { ac_try="$ac_link"
2135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2136 *) ac_try_echo
=$ac_try;;
2138 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2139 $as_echo "$ac_try_echo"; } >&5
2140 (eval "$ac_link") 2>conftest.err
2142 if test -s conftest.err
; then
2143 grep -v '^ *+' conftest.err
>conftest.er1
2144 cat conftest.er1
>&5
2145 mv -f conftest.er1 conftest.err
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; } && {
2149 test -z "$ac_cxx_werror_flag" ||
2150 test ! -s conftest.err
2151 } && test -s conftest
$ac_exeext && {
2152 test "$cross_compiling" = yes ||
2153 $as_test_x conftest
$ac_exeext
2157 $as_echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.
$ac_ext >&5
2162 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2163 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2164 # interfere with the next link command; also delete a directory that is
2165 # left behind by Apple's compiler. We do this before executing the actions.
2166 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2167 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2170 } # ac_fn_cxx_try_link
2172 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2173 # -------------------------------------------------------
2174 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2175 # the include files in INCLUDES and setting the cache variable VAR
2177 ac_fn_c_check_header_mongrel
()
2179 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2180 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 $as_echo_n "(cached) " >&6
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2188 $as_echo "$ac_res" >&6; }
2190 # Is the header compilable?
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2192 $as_echo_n "checking $2 usability... " >&6; }
2193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2194 /* end confdefs.h. */
2198 if ac_fn_c_try_compile
"$LINENO"; then :
2199 ac_header_compiler
=yes
2201 ac_header_compiler
=no
2203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2205 $as_echo "$ac_header_compiler" >&6; }
2207 # Is the header present?
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2209 $as_echo_n "checking $2 presence... " >&6; }
2210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2211 /* end confdefs.h. */
2214 if ac_fn_c_try_cpp
"$LINENO"; then :
2215 ac_header_preproc
=yes
2217 ac_header_preproc
=no
2219 rm -f conftest.err conftest.
$ac_ext
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2221 $as_echo "$ac_header_preproc" >&6; }
2223 # So? What about this header?
2224 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2227 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2229 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2233 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2235 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2237 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2239 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2245 $as_echo_n "checking for $2... " >&6; }
2246 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2247 $as_echo_n "(cached) " >&6
2249 eval "$3=\$ac_header_compiler"
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253 $as_echo "$ac_res" >&6; }
2255 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2257 } # ac_fn_c_check_header_mongrel
2259 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2260 # ----------------------------------------------------
2261 # Tries to find if the field MEMBER exists in type AGGR, after including
2262 # INCLUDES, setting cache variable VAR accordingly.
2263 ac_fn_c_check_member
()
2265 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2267 $as_echo_n "checking for $2.$3... " >&6; }
2268 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2269 $as_echo_n "(cached) " >&6
2271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2284 if ac_fn_c_try_compile
"$LINENO"; then :
2287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2294 if (sizeof ac_aggr.$3)
2300 if ac_fn_c_try_compile
"$LINENO"; then :
2305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2312 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2314 } # ac_fn_c_check_member
2316 # ac_fn_c_check_decl LINENO SYMBOL VAR
2317 # ------------------------------------
2318 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2319 ac_fn_c_check_decl
()
2321 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2322 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2323 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2325 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2326 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2327 $as_echo_n "(cached) " >&6
2329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2330 /* end confdefs.h. */
2335 #ifndef $as_decl_name
2337 (void) $as_decl_use;
2339 (void) $as_decl_name;
2347 if ac_fn_c_try_compile
"$LINENO"; then :
2352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2356 $as_echo "$ac_res" >&6; }
2357 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2359 } # ac_fn_c_check_decl
2361 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2362 # --------------------------------------------
2363 # Tries to find the compile-time value of EXPR in a program that includes
2364 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2366 ac_fn_c_compute_int
()
2368 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2369 if test "$cross_compiling" = yes; then
2370 # Depending upon the size, compute the lo and hi bounds.
2371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2372 /* end confdefs.h. */
2377 static int test_array [1 - 2 * !(($2) >= 0)];
2384 if ac_fn_c_try_compile
"$LINENO"; then :
2387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2388 /* end confdefs.h. */
2393 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2400 if ac_fn_c_try_compile
"$LINENO"; then :
2401 ac_hi
=$ac_mid; break
2403 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2404 if test $ac_lo -le $ac_mid; then
2408 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2419 static int test_array [1 - 2 * !(($2) < 0)];
2426 if ac_fn_c_try_compile
"$LINENO"; then :
2429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2430 /* end confdefs.h. */
2435 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2442 if ac_fn_c_try_compile
"$LINENO"; then :
2443 ac_lo
=$ac_mid; break
2445 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2446 if test $ac_mid -le $ac_hi; then
2450 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2460 # Binary search between lo and hi bounds.
2461 while test "x$ac_lo" != "x$ac_hi"; do
2462 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2469 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2476 if ac_fn_c_try_compile
"$LINENO"; then :
2479 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2484 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2491 static long int longval () { return $2; }
2492 static unsigned long int ulongval () { return $2; }
2499 FILE *f = fopen ("conftest.val", "w");
2504 long int i = longval ();
2507 fprintf (f, "%ld", i);
2511 unsigned long int i = ulongval ();
2514 fprintf (f, "%lu", i);
2516 /* Do not output a trailing newline, as this causes \r\n confusion
2517 on some platforms. */
2518 return ferror (f) || fclose (f) != 0;
2524 if ac_fn_c_try_run
"$LINENO"; then :
2525 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2529 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2530 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2534 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2537 } # ac_fn_c_compute_int
2539 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2540 # -------------------------------------------
2541 # Tests whether TYPE exists after having included INCLUDES, setting cache
2542 # variable VAR accordingly.
2543 ac_fn_c_check_type
()
2545 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2547 $as_echo_n "checking for $2... " >&6; }
2548 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2549 $as_echo_n "(cached) " >&6
2552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2553 /* end confdefs.h. */
2564 if ac_fn_c_try_compile
"$LINENO"; then :
2565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2566 /* end confdefs.h. */
2577 if ac_fn_c_try_compile
"$LINENO"; then :
2582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2588 $as_echo "$ac_res" >&6; }
2589 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2591 } # ac_fn_c_check_type
2592 cat >config.log
<<_ACEOF
2593 This file contains any messages produced by compilers while
2594 running configure, to aid debugging if configure makes a mistake.
2596 It was created by libjava $as_me version-unused, which was
2597 generated by GNU Autoconf 2.64. Invocation command line was
2609 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2610 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2611 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2612 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2613 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2615 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2616 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2618 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2619 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2620 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2621 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2622 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2623 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2624 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir
=.
2633 $as_echo "PATH: $as_dir"
2649 # Keep a trace of the command line.
2650 # Strip out --no-create and --no-recursion so they do not pile up.
2651 # Strip out --silent because we don't want to record it for future runs.
2652 # Also quote any args containing shell meta-characters.
2653 # Make two passes to allow for proper duplicate-argument suppression.
2657 ac_must_keep_next
=false
2663 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2664 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2665 |
-silent |
--silent |
--silen |
--sile |
--sil)
2668 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2671 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2673 as_fn_append ac_configure_args1
" '$ac_arg'"
2674 if test $ac_must_keep_next = true
; then
2675 ac_must_keep_next
=false
# Got value, back to normal.
2678 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2679 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2680 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2681 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2682 case "$ac_configure_args0 " in
2683 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2686 -* ) ac_must_keep_next
=true
;;
2689 as_fn_append ac_configure_args
" '$ac_arg'"
2694 { ac_configure_args0
=; unset ac_configure_args0
;}
2695 { ac_configure_args1
=; unset ac_configure_args1
;}
2697 # When interrupted or exit'd, cleanup temporary files, and complete
2698 # config.log. We remove comments because anyway the quotes in there
2699 # would cause problems or look ugly.
2700 # WARNING: Use '\'' to represent an apostrophe within the trap.
2701 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2702 trap 'exit_status=$?
2703 # Save into config.log some information that might help in debugging.
2708 ## ---------------- ##
2709 ## Cache variables. ##
2710 ## ---------------- ##
2713 # The following way of writing the cache mishandles newlines in values,
2715 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2716 eval ac_val=\$$ac_var
2720 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2721 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2724 _ | IFS | as_nl) ;; #(
2725 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2726 *) { eval $ac_var=; unset $ac_var;} ;;
2731 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2732 *${as_nl}ac_space=\ *)
2734 "s/'\''/'\''\\\\'\'''\''/g;
2735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2738 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2746 ## ----------------- ##
2747 ## Output variables. ##
2748 ## ----------------- ##
2751 for ac_var in $ac_subst_vars
2753 eval ac_val=\$$ac_var
2755 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2757 $as_echo "$ac_var='\''$ac_val'\''"
2761 if test -n "$ac_subst_files"; then
2763 ## ------------------- ##
2764 ## File substitutions. ##
2765 ## ------------------- ##
2768 for ac_var
in $ac_subst_files
2770 eval ac_val
=\$
$ac_var
2772 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2774 $as_echo "$ac_var='\''$ac_val'\''"
2779 if test -s confdefs.h; then
2789 test "$ac_signal" != 0 &&
2790 $as_echo "$as_me: caught signal $ac_signal"
2791 $as_echo "$as_me: exit $exit_status"
2793 rm -f core *.core core.conftest.* &&
2794 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2797 for ac_signal
in 1 2 13 15; do
2798 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2802 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2803 rm -f -r conftest
* confdefs.h
2805 $as_echo "/* confdefs.h */" > confdefs.h
2807 # Predefined preprocessor variables.
2809 cat >>confdefs.h
<<_ACEOF
2810 #define PACKAGE_NAME "$PACKAGE_NAME"
2813 cat >>confdefs.h
<<_ACEOF
2814 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2817 cat >>confdefs.h
<<_ACEOF
2818 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2821 cat >>confdefs.h
<<_ACEOF
2822 #define PACKAGE_STRING "$PACKAGE_STRING"
2825 cat >>confdefs.h
<<_ACEOF
2826 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2829 cat >>confdefs.h
<<_ACEOF
2830 #define PACKAGE_URL "$PACKAGE_URL"
2834 # Let the site file select an alternate cache file if it wants to.
2835 # Prefer an explicitly selected file to automatically selected ones.
2838 if test -n "$CONFIG_SITE"; then
2839 ac_site_file1
=$CONFIG_SITE
2840 elif test "x$prefix" != xNONE
; then
2841 ac_site_file1
=$prefix/share
/config.site
2842 ac_site_file2
=$prefix/etc
/config.site
2844 ac_site_file1
=$ac_default_prefix/share
/config.site
2845 ac_site_file2
=$ac_default_prefix/etc
/config.site
2847 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2849 test "x$ac_site_file" = xNONE
&& continue
2850 if test -r "$ac_site_file"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2852 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2853 sed 's/^/| /' "$ac_site_file" >&5
2858 if test -r "$cache_file"; then
2859 # Some versions of bash will fail to source /dev/null (special
2860 # files actually), so we avoid doing that.
2861 if test -f "$cache_file"; then
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2863 $as_echo "$as_me: loading cache $cache_file" >&6;}
2865 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2866 *) .
"./$cache_file";;
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2871 $as_echo "$as_me: creating cache $cache_file" >&6;}
2875 # Check that the precious variables saved in the cache have kept the same
2877 ac_cache_corrupted
=false
2878 for ac_var
in $ac_precious_vars; do
2879 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2880 eval ac_new_set
=\
$ac_env_${ac_var}_set
2881 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2882 eval ac_new_val
=\
$ac_env_${ac_var}_value
2883 case $ac_old_set,$ac_new_set in
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2886 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2887 ac_cache_corrupted
=: ;;
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2890 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2891 ac_cache_corrupted
=: ;;
2894 if test "x$ac_old_val" != "x$ac_new_val"; then
2895 # differences in whitespace do not lead to failure.
2896 ac_old_val_w
=`echo x $ac_old_val`
2897 ac_new_val_w
=`echo x $ac_new_val`
2898 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2900 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2901 ac_cache_corrupted
=:
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2904 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2905 eval $ac_var=\
$ac_old_val
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2908 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2910 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2913 # Pass precious variables to config.status.
2914 if test "$ac_new_set" = set; then
2916 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2917 *) ac_arg
=$ac_var=$ac_new_val ;;
2919 case " $ac_configure_args " in
2920 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2921 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2925 if $ac_cache_corrupted; then
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2929 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2930 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2932 ## -------------------- ##
2933 ## Main body of script. ##
2934 ## -------------------- ##
2937 ac_cpp
='$CPP $CPPFLAGS'
2938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2950 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2951 for ac_t
in install-sh
install.sh shtool
; do
2952 if test -f "$ac_dir/$ac_t"; then
2954 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2959 if test -z "$ac_aux_dir"; then
2960 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2963 # These three variables are undocumented and unsupported,
2964 # and are intended to be withdrawn in a future Autoconf release.
2965 # They can cause serious problems if a builder's source tree is in a directory
2966 # whose full name contains unusual characters.
2967 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2968 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2969 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2972 # Make sure we can run config.sub.
2973 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2974 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2977 $as_echo_n "checking build system type... " >&6; }
2978 if test "${ac_cv_build+set}" = set; then :
2979 $as_echo_n "(cached) " >&6
2981 ac_build_alias
=$build_alias
2982 test "x$ac_build_alias" = x
&&
2983 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2984 test "x$ac_build_alias" = x
&&
2985 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2986 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2987 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2991 $as_echo "$ac_cv_build" >&6; }
2992 case $ac_cv_build in
2994 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2997 ac_save_IFS
=$IFS; IFS
='-'
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3007 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3010 case ${build_alias} in
3011 "") build_noncanonical
=${build} ;;
3012 *) build_noncanonical
=${build_alias} ;;
3015 case ${host_alias} in
3016 "") host_noncanonical
=${build_noncanonical} ;;
3017 *) host_noncanonical
=${host_alias} ;;
3020 case ${target_alias} in
3021 "") target_noncanonical
=${host_noncanonical} ;;
3022 *) target_noncanonical
=${target_alias} ;;
3026 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3027 # have matching libraries, they should use host libraries: Makefile.tpl
3028 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3029 # However, they still use the build modules, because the corresponding
3030 # host modules (e.g. bison) are only built for the host when bootstrap
3032 # - build_subdir is where we find build modules, and never changes.
3033 # - build_libsubdir is where we find build libraries, and can be overridden.
3035 # Prefix 'build-' so this never conflicts with target_subdir.
3036 build_subdir
="build-${build_noncanonical}"
3038 # Check whether --with-build-libsubdir was given.
3039 if test "${with_build_libsubdir+set}" = set; then :
3040 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3042 build_libsubdir
="$build_subdir"
3045 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3046 if ( test $srcdir = .
&& test -d gcc
) \
3047 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3048 host_subdir
="host-${host_noncanonical}"
3053 target_subdir
=${target_noncanonical}
3056 # We use these options to decide which functions to include.
3058 # Check whether --with-target-subdir was given.
3059 if test "${with_target_subdir+set}" = set; then :
3060 withval
=$with_target_subdir;
3064 # We may get other options which we don't document:
3065 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3067 # Find the rest of the source tree framework.
3068 # Default to --enable-multilib
3069 # Check whether --enable-multilib was given.
3070 if test "${enable_multilib+set}" = set; then :
3071 enableval
=$enable_multilib; case "$enableval" in
3072 yes) multilib
=yes ;;
3074 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3081 # We may get other options which we leave undocumented:
3082 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3083 # See config-ml.in if you want the gory details.
3085 if test "$srcdir" = "."; then
3086 if test "$with_target_subdir" != "."; then
3087 multi_basedir
="$srcdir/$with_multisrctop../.."
3089 multi_basedir
="$srcdir/$with_multisrctop.."
3092 multi_basedir
="$srcdir/.."
3096 # Even if the default multilib is not a cross compilation,
3097 # it may be that some of the other multilibs are.
3098 if test $cross_compiling = no
&& test $multilib = yes \
3099 && test "x${with_multisubdir}" != x
; then
3100 cross_compiling
=maybe
3103 ac_config_commands
="$ac_config_commands default-1"
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3107 $as_echo_n "checking host system type... " >&6; }
3108 if test "${ac_cv_host+set}" = set; then :
3109 $as_echo_n "(cached) " >&6
3111 if test "x$host_alias" = x
; then
3112 ac_cv_host
=$ac_cv_build
3114 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3115 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3120 $as_echo "$ac_cv_host" >&6; }
3123 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3126 ac_save_IFS
=$IFS; IFS
='-'
3132 # Remember, the first character of IFS is used to create $*,
3133 # except with old shells:
3136 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3140 $as_echo_n "checking target system type... " >&6; }
3141 if test "${ac_cv_target+set}" = set; then :
3142 $as_echo_n "(cached) " >&6
3144 if test "x$target_alias" = x
; then
3145 ac_cv_target
=$ac_cv_host
3147 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3148 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3153 $as_echo "$ac_cv_target" >&6; }
3154 case $ac_cv_target in
3156 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3158 target
=$ac_cv_target
3159 ac_save_IFS
=$IFS; IFS
='-'
3165 # Remember, the first character of IFS is used to create $*,
3166 # except with old shells:
3169 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3172 # The aliases save the names the user supplied, while $host etc.
3173 # will get canonicalized.
3174 test -n "$target_alias" &&
3175 test "$program_prefix$program_suffix$program_transform_name" = \
3177 program_prefix
=${target_alias}-
3179 case ${build_alias} in
3180 "") build_noncanonical
=${build} ;;
3181 *) build_noncanonical
=${build_alias} ;;
3184 case ${target_alias} in
3185 "") target_noncanonical
=${host_noncanonical} ;;
3186 *) target_noncanonical
=${target_alias} ;;
3192 # This works around the fact that libtool configuration may change LD
3193 # for this particular configuration, but some shells, instead of
3194 # keeping the changes in LD private, export them just because LD is
3196 ORIGINAL_LD_FOR_MULTILIBS
=$LD
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3199 $as_echo_n "checking whether ln -s works... " >&6; }
3201 if test "$LN_S" = "ln -s"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3206 $as_echo "no, using $LN_S" >&6; }
3210 # This works around an automake problem.
3211 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3215 # Check whether --with-cross-host was given.
3216 if test "${with_cross_host+set}" = set; then :
3217 withval
=$with_cross_host;
3222 # Check whether --with-newlib was given.
3223 if test "${with_newlib+set}" = set; then :
3224 withval
=$with_newlib;
3228 # Check whether --enable-version-specific-runtime-libs was given.
3229 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3230 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
3231 yes) version_specific_libs
=yes ;;
3232 no
) version_specific_libs
=no
;;
3233 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3236 version_specific_libs
=no
3241 # Check whether --enable-browser-plugin was given.
3242 if test "${enable_browser_plugin+set}" = set; then :
3243 enableval
=$enable_browser_plugin; case "$enableval" in
3244 yes) browser_plugin_enabled
=yes ;;
3245 no
) browser_plugin_enabled
=no
;;
3246 *) as_fn_error
"Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3249 browser_plugin_enabled
=no
3254 # Check whether --enable-gconf-peer was given.
3255 if test "${enable_gconf_peer+set}" = set; then :
3256 enableval
=$enable_gconf_peer; case "$enableval" in
3257 yes) gconf_enabled
=yes ;;
3258 no
) gconf_enabled
=no
;;
3259 *) as_fn_error
"Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3268 # Check whether --with-antlr-jar was given.
3269 if test "${with_antlr_jar+set}" = set; then :
3270 withval
=$with_antlr_jar;
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3281 $as_echo_n "checking for antlr.jar... " >&6; }
3282 if test "x$ANTLR_JAR" = x
; then
3283 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3284 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
3286 if test -f "$antlr_lib_home/antlr.jar"; then
3287 # FIXME: version check for antlr needed without using a VM
3288 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
3292 if test "x$ANTLR_JAR" = x
; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3294 $as_echo "not found" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3297 $as_echo "$ANTLR_JAR" >&6; }
3300 if test -f "${ANTLR_JAR}"; then
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3302 $as_echo "$ANTLR_JAR" >&6; }
3304 as_fn_error
"antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3309 # Check whether --enable-gjdoc was given.
3310 if test "${enable_gjdoc+set}" = set; then :
3311 enableval
=$enable_gjdoc; case "${enableval}" in
3312 yes) BUILD_GJDOC
=yes ;;
3313 no
) BUILD_GJDOC
=no
;;
3314 *) BUILD_GJDOC
=yes ;;
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3322 $as_echo_n "checking whether to build gjdoc... " >&6; }
3323 if test "x$BUILD_GJDOC" = xmaybe
; then
3324 if test -f "${ANTLR_JAR}"; then
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3327 $as_echo "yes" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3331 $as_echo "no, antlr.jar not found" >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3335 $as_echo "$BUILD_GJDOC" >&6; }
3337 if test "x${BUILD_GJDOC}" = xyes
; then
3339 CREATE_GJDOC_FALSE
='#'
3341 CREATE_GJDOC_TRUE
='#'
3346 # Check whether --enable-java-maintainer-mode was given.
3347 if test "${enable_java_maintainer_mode+set}" = set; then :
3348 enableval
=$enable_java_maintainer_mode;
3351 if test "$enable_java_maintainer_mode" = yes; then
3352 JAVA_MAINTAINER_MODE_TRUE
=
3353 JAVA_MAINTAINER_MODE_FALSE
='#'
3355 JAVA_MAINTAINER_MODE_TRUE
='#'
3356 JAVA_MAINTAINER_MODE_FALSE
=
3360 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3363 # For libstdc++-v3, -fno-builtin must be present here so that a
3364 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3365 # used in later tests. This may not be necessary in libjava; I don't know.
3366 save_CXXFLAGS
="$CXXFLAGS"
3367 CXXFLAGS
="$CXXFLAGS -fno-builtin"
3369 ac_cpp
='$CPP $CPPFLAGS'
3370 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3373 if test -n "$ac_tool_prefix"; then
3374 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3375 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3377 $as_echo_n "checking for $ac_word... " >&6; }
3378 if test "${ac_cv_prog_CC+set}" = set; then :
3379 $as_echo_n "(cached) " >&6
3381 if test -n "$CC"; then
3382 ac_cv_prog_CC
="$CC" # Let the user override the test.
3384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3388 test -z "$as_dir" && as_dir
=.
3389 for ac_exec_ext
in '' $ac_executable_extensions; do
3390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3391 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 if test -n "$CC"; then
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3404 $as_echo "$CC" >&6; }
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3407 $as_echo "no" >&6; }
3412 if test -z "$ac_cv_prog_CC"; then
3414 # Extract the first word of "gcc", so it can be a program name with args.
3415 set dummy gcc
; ac_word
=$2
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417 $as_echo_n "checking for $ac_word... " >&6; }
3418 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3419 $as_echo_n "(cached) " >&6
3421 if test -n "$ac_ct_CC"; then
3422 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3428 test -z "$as_dir" && as_dir
=.
3429 for ac_exec_ext
in '' $ac_executable_extensions; do
3430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3431 ac_cv_prog_ac_ct_CC
="gcc"
3432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3442 if test -n "$ac_ct_CC"; then
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3444 $as_echo "$ac_ct_CC" >&6; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447 $as_echo "no" >&6; }
3450 if test "x$ac_ct_CC" = x
; then
3453 case $cross_compiling:$ac_tool_warned in
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3457 ac_tool_warned
=yes ;;
3465 if test -z "$CC"; then
3466 if test -n "$ac_tool_prefix"; then
3467 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3468 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3470 $as_echo_n "checking for $ac_word... " >&6; }
3471 if test "${ac_cv_prog_CC+set}" = set; then :
3472 $as_echo_n "(cached) " >&6
3474 if test -n "$CC"; then
3475 ac_cv_prog_CC
="$CC" # Let the user override the test.
3477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir
=.
3482 for ac_exec_ext
in '' $ac_executable_extensions; do
3483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3484 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495 if test -n "$CC"; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3497 $as_echo "$CC" >&6; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3506 if test -z "$CC"; then
3507 # Extract the first word of "cc", so it can be a program name with args.
3508 set dummy cc
; ac_word
=$2
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3510 $as_echo_n "checking for $ac_word... " >&6; }
3511 if test "${ac_cv_prog_CC+set}" = set; then :
3512 $as_echo_n "(cached) " >&6
3514 if test -n "$CC"; then
3515 ac_cv_prog_CC
="$CC" # Let the user override the test.
3518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3522 test -z "$as_dir" && as_dir
=.
3523 for ac_exec_ext
in '' $ac_executable_extensions; do
3524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3525 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3526 ac_prog_rejected
=yes
3530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3537 if test $ac_prog_rejected = yes; then
3538 # We found a bogon in the path, so make sure we never use it.
3539 set dummy
$ac_cv_prog_CC
3541 if test $# != 0; then
3542 # We chose a different compiler from the bogus one.
3543 # However, it has the same basename, so the bogon will be chosen
3544 # first if we set CC to just the basename; use the full file name.
3546 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3552 if test -n "$CC"; then
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3554 $as_echo "$CC" >&6; }
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3557 $as_echo "no" >&6; }
3562 if test -z "$CC"; then
3563 if test -n "$ac_tool_prefix"; then
3564 for ac_prog
in cl.exe
3566 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3567 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 $as_echo_n "checking for $ac_word... " >&6; }
3570 if test "${ac_cv_prog_CC+set}" = set; then :
3571 $as_echo_n "(cached) " >&6
3573 if test -n "$CC"; then
3574 ac_cv_prog_CC
="$CC" # Let the user override the test.
3576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3580 test -z "$as_dir" && as_dir
=.
3581 for ac_exec_ext
in '' $ac_executable_extensions; do
3582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3583 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 if test -n "$CC"; then
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3596 $as_echo "$CC" >&6; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3599 $as_echo "no" >&6; }
3603 test -n "$CC" && break
3606 if test -z "$CC"; then
3608 for ac_prog
in cl.exe
3610 # Extract the first word of "$ac_prog", so it can be a program name with args.
3611 set dummy
$ac_prog; ac_word
=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3615 $as_echo_n "(cached) " >&6
3617 if test -n "$ac_ct_CC"; then
3618 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir
=.
3625 for ac_exec_ext
in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_CC
="$ac_prog"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3638 if test -n "$ac_ct_CC"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3640 $as_echo "$ac_ct_CC" >&6; }
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3647 test -n "$ac_ct_CC" && break
3650 if test "x$ac_ct_CC" = x
; then
3653 case $cross_compiling:$ac_tool_warned in
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3657 ac_tool_warned
=yes ;;
3666 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_error
"no acceptable C compiler found in \$PATH
3669 See \`config.log' for more details." "$LINENO" 5; }
3671 # Provide some information about the compiler.
3672 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3675 for ac_option
in --version -v -V -qversion; do
3676 { { ac_try
="$ac_compiler $ac_option >&5"
3678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3679 *) ac_try_echo=$ac_try;;
3681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3682 $as_echo "$ac_try_echo"; } >&5
3683 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3685 if test -s conftest.err; then
3687 ... rest of stderr output deleted ...
3688 10q' conftest.err >conftest.er1
3689 cat conftest.er1 >&5
3690 rm -f conftest.er1 conftest.err
3692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3693 test $ac_status = 0; }
3696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3697 /* end confdefs.h. */
3708 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3709 (eval $ac_link) 2>&5
3711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3712 test $ac_status = 0; }; then :
3717 if test x$gcc_no_link = xyes; then
3718 # Setting cross_compile will disable run tests; it will
3719 # also disable AC_CHECK_FILE but that's generally
3720 # correct if we can't link.
3724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3725 /* end confdefs.h. */
3735 ac_clean_files_save=$ac_clean_files
3736 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3737 # Try to create an executable without -o first, disregard a.out.
3738 # It will help us diagnose broken compilers, and finding out an intuition
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3741 $as_echo_n "checking for C compiler default output file name... " >&6; }
3742 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3744 # The possible output files:
3745 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3748 for ac_file in $ac_files
3751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3752 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3757 if { { ac_try="$ac_link_default"
3759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3760 *) ac_try_echo
=$ac_try;;
3762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764 (eval "$ac_link_default") 2>&5
3766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3767 test $ac_status = 0; }; then :
3768 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3769 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3770 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3771 # so that the user can short-circuit this test for compilers unknown to
3773 for ac_file
in $ac_files ''
3775 test -f "$ac_file" ||
continue
3777 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3780 # We found the default executable, but exeext='' is most
3784 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3786 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3788 # We set ac_cv_exeext here because the later test for it is not
3789 # safe: cross compilers may not add the suffix if given an `-o'
3790 # argument, so we may need to know it at that point already.
3791 # Even if this section looks crufty: it has the advantage of
3798 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3804 $as_echo "$ac_file" >&6; }
3805 if test -z "$ac_file"; then :
3806 $as_echo "$as_me: failed program was:" >&5
3807 sed 's/^/| /' conftest.
$ac_ext >&5
3809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3811 { as_fn_set_status
77
3812 as_fn_error
"C compiler cannot create executables
3813 See \`config.log' for more details." "$LINENO" 5; }; }
3815 ac_exeext
=$ac_cv_exeext
3817 # Check that the compiler produces executables we can run. If not, either
3818 # the compiler is broken, or we cross compile.
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3820 $as_echo_n "checking whether the C compiler works... " >&6; }
3821 # If not cross compiling, check that we can run a simple program.
3822 if test "$cross_compiling" != yes; then
3823 if { ac_try
='./$ac_file'
3824 { { case "(($ac_try" in
3825 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3826 *) ac_try_echo=$ac_try;;
3828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3829 $as_echo "$ac_try_echo"; } >&5
3830 (eval "$ac_try") 2>&5
3832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833 test $ac_status = 0; }; }; then
3836 if test "$cross_compiling" = maybe; then
3839 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3841 as_fn_error "cannot run C compiled programs.
3842 If you meant to cross compile
, use \
`--host'.
3843 See \`config.log
' for more details." "$LINENO" 5; }
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3848 $as_echo "yes" >&6; }
3850 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3851 ac_clean_files=$ac_clean_files_save
3852 # Check that the compiler produces executables we can run. If not, either
3853 # the compiler is broken, or we cross compile.
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3855 $as_echo_n "checking whether we are cross compiling... " >&6; }
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3857 $as_echo "$cross_compiling" >&6; }
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3860 $as_echo_n "checking for suffix of executables... " >&6; }
3861 if { { ac_try="$ac_link"
3863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864 *) ac_try_echo=$ac_try;;
3866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867 $as_echo "$ac_try_echo"; } >&5
3868 (eval "$ac_link") 2>&5
3870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871 test $ac_status = 0; }; then :
3872 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3873 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3874 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3876 for ac_file
in conftest.exe conftest conftest.
*; do
3877 test -f "$ac_file" ||
continue
3879 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3880 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3888 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3889 See \`config.log' for more details." "$LINENO" 5; }
3891 rm -f conftest
$ac_cv_exeext
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3893 $as_echo "$ac_cv_exeext" >&6; }
3895 rm -f conftest.
$ac_ext
3896 EXEEXT
=$ac_cv_exeext
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3900 $as_echo_n "checking for suffix of object files... " >&6; }
3901 if test "${ac_cv_objext+set}" = set; then :
3902 $as_echo_n "(cached) " >&6
3904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3915 rm -f conftest.o conftest.obj
3916 if { { ac_try
="$ac_compile"
3918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3919 *) ac_try_echo=$ac_try;;
3921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3922 $as_echo "$ac_try_echo"; } >&5
3923 (eval "$ac_compile") 2>&5
3925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3926 test $ac_status = 0; }; then :
3927 for ac_file in conftest.o conftest.obj conftest.*; do
3928 test -f "$ac_file" || continue;
3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3931 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3936 $as_echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.$ac_ext >&5
3939 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3941 as_fn_error "cannot compute suffix of object files
: cannot compile
3942 See \
`config.log' for more details." "$LINENO" 5; }
3944 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3947 $as_echo "$ac_cv_objext" >&6; }
3948 OBJEXT=$ac_cv_objext
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3951 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3952 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3953 $as_echo_n "(cached) " >&6
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3969 if ac_fn_c_try_compile "$LINENO"; then :
3974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3975 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3979 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3980 if test $ac_compiler_gnu = yes; then
3985 ac_test_CFLAGS=${CFLAGS+set}
3986 ac_save_CFLAGS=$CFLAGS
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3988 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3989 if test "${ac_cv_prog_cc_g+set}" = set; then :
3990 $as_echo_n "(cached) " >&6
3992 ac_save_c_werror_flag=$ac_c_werror_flag
3993 ac_c_werror_flag=yes
3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
4007 if ac_fn_c_try_compile "$LINENO"; then :
4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012 /* end confdefs.h. */
4022 if ac_fn_c_try_compile "$LINENO"; then :
4025 ac_c_werror_flag=$ac_save_c_werror_flag
4027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4038 if ac_fn_c_try_compile "$LINENO"; then :
4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4046 ac_c_werror_flag=$ac_save_c_werror_flag
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4049 $as_echo "$ac_cv_prog_cc_g" >&6; }
4050 if test "$ac_test_CFLAGS" = set; then
4051 CFLAGS=$ac_save_CFLAGS
4052 elif test $ac_cv_prog_cc_g = yes; then
4053 if test "$GCC" = yes; then
4059 if test "$GCC" = yes; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4066 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4067 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4070 ac_cv_prog_cc_c89=no
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4076 #include <sys/types.h>
4077 #include <sys/stat.h>
4078 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4079 struct buf { int x; };
4080 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4081 static char *e (p, i)
4087 static char *f (char * (*g) (char **, int), char **p, ...)
4092 s = g (p, va_arg (v,int));
4097 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4098 function prototypes and stuff, but not '\xHH' hex character constants.
4099 These don't provoke an error unfortunately, instead are silently treated
4100 as 'x'. The following induces an error, until -std is added to get
4101 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4102 array size at least. It's necessary to write '\x00'==0 to get something
4103 that's true only with -std. */
4104 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4106 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4107 inside strings and character constants. */
4109 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4111 int test (int i, double x);
4112 struct s1 {int (*f) (int a);};
4113 struct s2 {int (*f) (double a);};
4114 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4120 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4125 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4126 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4128 CC="$ac_save_CC $ac_arg"
4129 if ac_fn_c_try_compile "$LINENO"; then :
4130 ac_cv_prog_cc_c89=$ac_arg
4132 rm -f core conftest.err conftest.$ac_objext
4133 test "x$ac_cv_prog_cc_c89" != "xno" && break
4135 rm -f conftest.$ac_ext
4140 case "x$ac_cv_prog_cc_c89" in
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4143 $as_echo "none needed" >&6; } ;;
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4146 $as_echo "unsupported" >&6; } ;;
4148 CC="$CC $ac_cv_prog_cc_c89"
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4150 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4152 if test "x$ac_cv_prog_cc_c89" != xno; then :
4157 ac_cpp='$CPP $CPPFLAGS'
4158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4163 ac_cpp='$CXXCPP $CPPFLAGS'
4164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4167 if test -z "$CXX"; then
4168 if test -n "$CCC"; then
4171 if test -n "$ac_tool_prefix"; then
4172 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4175 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177 $as_echo_n "checking for $ac_word... " >&6; }
4178 if test "${ac_cv_prog_CXX+set}" = set; then :
4179 $as_echo_n "(cached) " >&6
4181 if test -n "$CXX"; then
4182 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir=.
4189 for ac_exec_ext in '' $ac_executable_extensions; do
4190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 if test -n "$CXX"; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4204 $as_echo "$CXX" >&6; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 $as_echo "no" >&6; }
4211 test -n "$CXX" && break
4214 if test -z "$CXX"; then
4216 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4218 # Extract the first word of "$ac_prog", so it can be a program name with args.
4219 set dummy $ac_prog; ac_word=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$ac_ct_CXX"; then
4226 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4235 ac_cv_prog_ac_ct_CXX="$ac_prog"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4246 if test -n "$ac_ct_CXX"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4248 $as_echo "$ac_ct_CXX" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4255 test -n "$ac_ct_CXX" && break
4258 if test "x$ac_ct_CXX" = x; then
4261 case $cross_compiling:$ac_tool_warned in
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4265 ac_tool_warned=yes ;;
4273 # Provide some information about the compiler.
4274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4277 for ac_option in --version -v -V -qversion; do
4278 { { ac_try="$ac_compiler $ac_option >&5"
4280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4281 *) ac_try_echo
=$ac_try;;
4283 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4284 $as_echo "$ac_try_echo"; } >&5
4285 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4287 if test -s conftest.err
; then
4289 ... rest of stderr output deleted ...
4290 10q' conftest.err
>conftest.er1
4291 cat conftest.er1
>&5
4292 rm -f conftest.er1 conftest.err
4294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4299 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4300 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4301 $as_echo_n "(cached) " >&6
4303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4304 /* end confdefs.h. */
4317 if ac_fn_cxx_try_compile
"$LINENO"; then :
4322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4323 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4327 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4328 if test $ac_compiler_gnu = yes; then
4333 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4334 ac_save_CXXFLAGS
=$CXXFLAGS
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4336 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4337 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4338 $as_echo_n "(cached) " >&6
4340 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4341 ac_cxx_werror_flag
=yes
4344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4355 if ac_fn_cxx_try_compile
"$LINENO"; then :
4356 ac_cv_prog_cxx_g
=yes
4359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4360 /* end confdefs.h. */
4370 if ac_fn_cxx_try_compile
"$LINENO"; then :
4373 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4376 /* end confdefs.h. */
4386 if ac_fn_cxx_try_compile
"$LINENO"; then :
4387 ac_cv_prog_cxx_g
=yes
4389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4394 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4397 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4398 if test "$ac_test_CXXFLAGS" = set; then
4399 CXXFLAGS
=$ac_save_CXXFLAGS
4400 elif test $ac_cv_prog_cxx_g = yes; then
4401 if test "$GXX" = yes; then
4407 if test "$GXX" = yes; then
4414 ac_cpp
='$CPP $CPPFLAGS'
4415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4419 CXXFLAGS
="$save_CXXFLAGS"
4421 am__api_version
='1.11'
4423 # Find a good install program. We prefer a C program (faster),
4424 # so one script is as good as another. But avoid the broken or
4425 # incompatible versions:
4426 # SysV /etc/install, /usr/sbin/install
4427 # SunOS /usr/etc/install
4428 # IRIX /sbin/install
4430 # AmigaOS /C/install, which installs bootblocks on floppy discs
4431 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4432 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4433 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4434 # OS/2's system install, which has a completely different semantic
4435 # ./install, which can be erroneously created by make from ./install.sh.
4436 # Reject install programs that cannot install multiple files.
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4438 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4439 if test -z "$INSTALL"; then
4440 if test "${ac_cv_path_install+set}" = set; then :
4441 $as_echo_n "(cached) " >&6
4443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir
=.
4448 # Account for people who put trailing slashes in PATH elements.
4449 case $as_dir/ in #((
4450 .
/ | .
// |
/[cC
]/* | \
4451 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4452 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4455 # OSF1 and SCO ODT 3.0 have their own names for install.
4456 # Don't use installbsd from OSF since it installs stuff as root
4458 for ac_prog
in ginstall scoinst
install; do
4459 for ac_exec_ext
in '' $ac_executable_extensions; do
4460 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4461 if test $ac_prog = install &&
4462 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4463 # AIX install. It has an incompatible calling convention.
4465 elif test $ac_prog = install &&
4466 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4467 # program-specific install script used by HP pwplus--don't use.
4470 rm -rf conftest.one conftest.two conftest.dir
4471 echo one
> conftest.one
4472 echo two
> conftest.two
4474 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4475 test -s conftest.one
&& test -s conftest.two
&&
4476 test -s conftest.dir
/conftest.one
&&
4477 test -s conftest.dir
/conftest.two
4479 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4492 rm -rf conftest.one conftest.two conftest.dir
4495 if test "${ac_cv_path_install+set}" = set; then
4496 INSTALL
=$ac_cv_path_install
4498 # As a last resort, use the slow shell script. Don't cache a
4499 # value for INSTALL within a source directory, because that will
4500 # break other packages using the cache if that directory is
4501 # removed, or if the value is a relative name.
4502 INSTALL
=$ac_install_sh
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4506 $as_echo "$INSTALL" >&6; }
4508 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4509 # It thinks the first close brace ends the variable substitution.
4510 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4512 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4514 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4517 $as_echo_n "checking whether build environment is sane... " >&6; }
4520 echo timestamp
> conftest.
file
4521 # Reject unsafe characters in $srcdir or the absolute working directory
4522 # name. Accept space and tab only in the latter.
4526 *[\\\"\
#\$\&\'\`$am_lf]*)
4527 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4530 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4531 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4534 # Do `set' in a subshell so we don't clobber the current shell's
4535 # arguments. Must try -L first in case configure is actually a
4536 # symlink; some systems play weird games with the mod time of symlinks
4537 # (eg FreeBSD returns the mod time of the symlink's containing
4540 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4541 if test "$*" = "X"; then
4543 set X
`ls -t "$srcdir/configure" conftest.file`
4546 if test "$*" != "X $srcdir/configure conftest.file" \
4547 && test "$*" != "X conftest.file $srcdir/configure"; then
4549 # If neither matched, then we have a broken ls. This can happen
4550 # if, for instance, CONFIG_SHELL is bash and it inherits a
4551 # broken ls alias from the environment. This has actually
4552 # happened. Such a system could not be considered "sane".
4553 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4554 alias in your environment" "$LINENO" 5
4557 test "$2" = conftest.
file
4563 as_fn_error
"newly created file is older than distributed files!
4564 Check your system clock" "$LINENO" 5
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4567 $as_echo "yes" >&6; }
4568 test "$program_prefix" != NONE
&&
4569 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4570 # Use a double $ so make ignores it.
4571 test "$program_suffix" != NONE
&&
4572 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4573 # Double any \ or $.
4574 # By default was `s,x,x', remove it if useless.
4575 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4576 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4578 # expand $ac_aux_dir to an absolute path
4579 am_aux_dir
=`cd $ac_aux_dir && pwd`
4581 if test x
"${MISSING+set}" != xset
; then
4584 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4586 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4589 # Use eval to expand $SHELL
4590 if eval "$MISSING --run true"; then
4591 am_missing_run
="$MISSING --run "
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4595 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4598 if test x
"${install_sh}" != xset
; then
4601 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4603 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4607 # Installed binaries are usually stripped using `strip' when the user
4608 # run `make install-strip'. However `strip' might not be the right
4609 # tool to use in cross-compilation environments, therefore Automake
4610 # will honor the `STRIP' environment variable to overrule this program.
4611 if test "$cross_compiling" != no
; then
4612 if test -n "$ac_tool_prefix"; then
4613 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4614 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4616 $as_echo_n "checking for $ac_word... " >&6; }
4617 if test "${ac_cv_prog_STRIP+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4620 if test -n "$STRIP"; then
4621 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4627 test -z "$as_dir" && as_dir
=.
4628 for ac_exec_ext
in '' $ac_executable_extensions; do
4629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4630 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4640 STRIP
=$ac_cv_prog_STRIP
4641 if test -n "$STRIP"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4643 $as_echo "$STRIP" >&6; }
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4651 if test -z "$ac_cv_prog_STRIP"; then
4653 # Extract the first word of "strip", so it can be a program name with args.
4654 set dummy strip
; ac_word
=$2
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4658 $as_echo_n "(cached) " >&6
4660 if test -n "$ac_ct_STRIP"; then
4661 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4667 test -z "$as_dir" && as_dir
=.
4668 for ac_exec_ext
in '' $ac_executable_extensions; do
4669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4670 ac_cv_prog_ac_ct_STRIP
="strip"
4671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4681 if test -n "$ac_ct_STRIP"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4683 $as_echo "$ac_ct_STRIP" >&6; }
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4689 if test "x$ac_ct_STRIP" = x
; then
4692 case $cross_compiling:$ac_tool_warned in
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned
=yes ;;
4701 STRIP
="$ac_cv_prog_STRIP"
4705 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4708 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4709 if test -z "$MKDIR_P"; then
4710 if test "${ac_cv_path_mkdir+set}" = set; then :
4711 $as_echo_n "(cached) " >&6
4713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4717 test -z "$as_dir" && as_dir
=.
4718 for ac_prog
in mkdir gmkdir
; do
4719 for ac_exec_ext
in '' $ac_executable_extensions; do
4720 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4721 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4722 'mkdir (GNU coreutils) '* | \
4723 'mkdir (coreutils) '* | \
4724 'mkdir (fileutils) '4.1*)
4725 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4735 if test "${ac_cv_path_mkdir+set}" = set; then
4736 MKDIR_P
="$ac_cv_path_mkdir -p"
4738 # As a last resort, use the slow shell script. Don't cache a
4739 # value for MKDIR_P within a source directory, because that will
4740 # break other packages using the cache if that directory is
4741 # removed, or if the value is a relative name.
4742 test -d .
/--version && rmdir .
/--version
4743 MKDIR_P
="$ac_install_sh -d"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4747 $as_echo "$MKDIR_P" >&6; }
4751 [\\/$
]* | ?
:[\\/]*) ;;
4752 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4755 for ac_prog
in gawk mawk nawk
awk
4757 # Extract the first word of "$ac_prog", so it can be a program name with args.
4758 set dummy
$ac_prog; ac_word
=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if test "${ac_cv_prog_AWK+set}" = set; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -n "$AWK"; then
4765 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir
=.
4772 for ac_exec_ext
in '' $ac_executable_extensions; do
4773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4774 ac_cv_prog_AWK
="$ac_prog"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 if test -n "$AWK"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4787 $as_echo "$AWK" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4794 test -n "$AWK" && break
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4798 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4800 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4801 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4802 $as_echo_n "(cached) " >&6
4804 cat >conftest.
make <<\_ACEOF
4807 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4809 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4810 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4812 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4814 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4818 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4820 $as_echo "yes" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4825 SET_MAKE
="MAKE=${MAKE-make}"
4828 rm -rf .tst
2>/dev
/null
4829 mkdir .tst
2>/dev
/null
4830 if test -d .tst
; then
4835 rmdir .tst
2>/dev
/null
4837 DEPDIR
="${am__leading_dot}deps"
4839 ac_config_commands
="$ac_config_commands depfiles"
4842 am_make
=${MAKE-make}
4843 cat > confinc
<< 'END'
4845 @
echo this is the am__doit target
4848 # If we don't find an include directive, just comment out the code.
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4850 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4854 # First try GNU make style include.
4855 echo "include confinc" > confmf
4856 # Ignore all kinds of additional output from `make'.
4857 case `$am_make -s -f confmf 2> /dev/null` in #(
4858 *the\ am__doit\ target
*)
4864 # Now try BSD make style include.
4865 if test "$am__include" = "#"; then
4866 echo '.include "confinc"' > confmf
4867 case `$am_make -s -f confmf 2> /dev/null` in #(
4868 *the\ am__doit\ target
*)
4869 am__include
=.include
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4878 $as_echo "$_am_result" >&6; }
4879 rm -f confinc confmf
4881 # Check whether --enable-dependency-tracking was given.
4882 if test "${enable_dependency_tracking+set}" = set; then :
4883 enableval
=$enable_dependency_tracking;
4886 if test "x$enable_dependency_tracking" != xno
; then
4887 am_depcomp
="$ac_aux_dir/depcomp"
4890 if test "x$enable_dependency_tracking" != xno; then
4899 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4900 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4901 # is not polluted with repeated "-I."
4902 am__isrc
=' -I$(srcdir)'
4903 # test to see if srcdir already configured
4904 if test -f $srcdir/config.status
; then
4905 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4909 # test whether we have cygpath
4910 if test -z "$CYGPATH_W"; then
4911 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4912 CYGPATH_W
='cygpath -w'
4919 # Define the identity of the package.
4921 VERSION
='version-unused'
4924 cat >>confdefs.h
<<_ACEOF
4925 #define PACKAGE "$PACKAGE"
4929 cat >>confdefs.h
<<_ACEOF
4930 #define VERSION "$VERSION"
4933 # Some tools Automake needs.
4935 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4938 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4941 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4944 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4947 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4949 # We need awk for the "check" target. The system "awk" is bad on
4951 # Always define AMTAR for backward compatibility.
4953 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4955 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4960 depcc
="$CC" am_compiler_list
=
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4963 $as_echo_n "checking dependency style of $depcc... " >&6; }
4964 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4967 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4968 # We make a subdir and do the tests there. Otherwise we can end up
4969 # making bogus files that we don't know about and never remove. For
4970 # instance it was reported that on HP-UX the gcc test will end up
4971 # making a dummy file named `D' -- because `-MD' means `put the output
4974 # Copy depcomp to subdir because otherwise we won't find it if we're
4975 # using a relative directory.
4976 cp "$am_depcomp" conftest.dir
4978 # We will build objects and dependencies in a subdirectory because
4979 # it helps to detect inapplicable dependency modes. For instance
4980 # both Tru64's cc and ICC support -MD to output dependencies as a
4981 # side effect of compilation, but ICC will put the dependencies in
4982 # the current directory while Tru64 will put them in the object
4986 am_cv_CC_dependencies_compiler_type
=none
4987 if test "$am_compiler_list" = ""; then
4988 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4991 case " $depcc " in #(
4992 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4995 for depmode
in $am_compiler_list; do
4996 # Setup a source with many dependencies, because some compilers
4997 # like to wrap large dependency lists on column 80 (with \), and
4998 # we should not choose a depcomp mode which is confused by this.
5000 # We need to recreate these files for each test, as the compiler may
5001 # overwrite some of them when testing with obscure command lines.
5002 # This happens at least with the AIX C compiler.
5004 for i
in 1 2 3 4 5 6; do
5005 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5006 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5007 # Solaris 8's {/usr,}/bin/sh.
5008 touch sub
/conftst
$i.h
5010 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5012 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5013 # mode. It turns out that the SunPro C++ compiler does not properly
5014 # handle `-M -o', and we need to detect this. Also, some Intel
5015 # versions had trouble with output in subdirs
5016 am__obj
=sub
/conftest.
${OBJEXT-o}
5017 am__minus_obj
="-o $am__obj"
5020 # This depmode causes a compiler race in universal mode.
5021 test "$am__universal" = false ||
continue
5024 # after this tag, mechanisms are not by side-effect, so they'll
5025 # only be used when explicitly requested
5026 if test "x$enable_dependency_tracking" = xyes
; then
5032 msvisualcpp | msvcmsys
)
5033 # This compiler won't grok `-c -o', but also, the minuso test has
5034 # not run yet. These depmodes are late enough in the game, and
5035 # so weak that their functioning should not be impacted.
5036 am__obj
=conftest.
${OBJEXT-o}
5041 if depmode
=$depmode \
5042 source=sub
/conftest.c object
=$am__obj \
5043 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5044 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5045 >/dev
/null
2>conftest.err
&&
5046 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5047 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5048 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5049 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5050 # icc doesn't choke on unknown options, it will just issue warnings
5051 # or remarks (even with -Werror). So we grep stderr for any message
5052 # that says an option was ignored or not supported.
5053 # When given -MP, icc 7.0 and 7.1 complain thusly:
5054 # icc: Command line warning: ignoring option '-M'; no argument required
5055 # The diagnosis changed in icc 8.0:
5056 # icc: Command line remark: option '-MP' not supported
5057 if (grep 'ignoring option' conftest.err ||
5058 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5059 am_cv_CC_dependencies_compiler_type
=$depmode
5068 am_cv_CC_dependencies_compiler_type
=none
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5073 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5074 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5077 test "x$enable_dependency_tracking" != xno \
5078 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5080 am__fastdepCC_FALSE
='#'
5082 am__fastdepCC_TRUE
='#'
5083 am__fastdepCC_FALSE
=
5087 depcc
="$CXX" am_compiler_list
=
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5090 $as_echo_n "checking dependency style of $depcc... " >&6; }
5091 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5095 # We make a subdir and do the tests there. Otherwise we can end up
5096 # making bogus files that we don't know about and never remove. For
5097 # instance it was reported that on HP-UX the gcc test will end up
5098 # making a dummy file named `D' -- because `-MD' means `put the output
5101 # Copy depcomp to subdir because otherwise we won't find it if we're
5102 # using a relative directory.
5103 cp "$am_depcomp" conftest.dir
5105 # We will build objects and dependencies in a subdirectory because
5106 # it helps to detect inapplicable dependency modes. For instance
5107 # both Tru64's cc and ICC support -MD to output dependencies as a
5108 # side effect of compilation, but ICC will put the dependencies in
5109 # the current directory while Tru64 will put them in the object
5113 am_cv_CXX_dependencies_compiler_type
=none
5114 if test "$am_compiler_list" = ""; then
5115 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5118 case " $depcc " in #(
5119 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5122 for depmode
in $am_compiler_list; do
5123 # Setup a source with many dependencies, because some compilers
5124 # like to wrap large dependency lists on column 80 (with \), and
5125 # we should not choose a depcomp mode which is confused by this.
5127 # We need to recreate these files for each test, as the compiler may
5128 # overwrite some of them when testing with obscure command lines.
5129 # This happens at least with the AIX C compiler.
5131 for i
in 1 2 3 4 5 6; do
5132 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5133 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5134 # Solaris 8's {/usr,}/bin/sh.
5135 touch sub
/conftst
$i.h
5137 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5139 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5140 # mode. It turns out that the SunPro C++ compiler does not properly
5141 # handle `-M -o', and we need to detect this. Also, some Intel
5142 # versions had trouble with output in subdirs
5143 am__obj
=sub
/conftest.
${OBJEXT-o}
5144 am__minus_obj
="-o $am__obj"
5147 # This depmode causes a compiler race in universal mode.
5148 test "$am__universal" = false ||
continue
5151 # after this tag, mechanisms are not by side-effect, so they'll
5152 # only be used when explicitly requested
5153 if test "x$enable_dependency_tracking" = xyes
; then
5159 msvisualcpp | msvcmsys
)
5160 # This compiler won't grok `-c -o', but also, the minuso test has
5161 # not run yet. These depmodes are late enough in the game, and
5162 # so weak that their functioning should not be impacted.
5163 am__obj
=conftest.
${OBJEXT-o}
5168 if depmode
=$depmode \
5169 source=sub
/conftest.c object
=$am__obj \
5170 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5171 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5172 >/dev
/null
2>conftest.err
&&
5173 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5174 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5175 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5176 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5177 # icc doesn't choke on unknown options, it will just issue warnings
5178 # or remarks (even with -Werror). So we grep stderr for any message
5179 # that says an option was ignored or not supported.
5180 # When given -MP, icc 7.0 and 7.1 complain thusly:
5181 # icc: Command line warning: ignoring option '-M'; no argument required
5182 # The diagnosis changed in icc 8.0:
5183 # icc: Command line remark: option '-MP' not supported
5184 if (grep 'ignoring option' conftest.err ||
5185 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5186 am_cv_CXX_dependencies_compiler_type
=$depmode
5195 am_cv_CXX_dependencies_compiler_type
=none
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5200 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5201 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5204 test "x$enable_dependency_tracking" != xno \
5205 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5206 am__fastdepCXX_TRUE
=
5207 am__fastdepCXX_FALSE
='#'
5209 am__fastdepCXX_TRUE
='#'
5210 am__fastdepCXX_FALSE
=
5216 if test -n "$ac_tool_prefix"; then
5217 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5218 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if test "${ac_cv_prog_AS+set}" = set; then :
5222 $as_echo_n "(cached) " >&6
5224 if test -n "$AS"; then
5225 ac_cv_prog_AS
="$AS" # Let the user override the test.
5227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir
=.
5232 for ac_exec_ext
in '' $ac_executable_extensions; do
5233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5234 ac_cv_prog_AS
="${ac_tool_prefix}as"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 if test -n "$AS"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5247 $as_echo "$AS" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5255 if test -z "$ac_cv_prog_AS"; then
5257 # Extract the first word of "as", so it can be a program name with args.
5258 set dummy as
; ac_word
=$2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5260 $as_echo_n "checking for $ac_word... " >&6; }
5261 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5262 $as_echo_n "(cached) " >&6
5264 if test -n "$ac_ct_AS"; then
5265 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5271 test -z "$as_dir" && as_dir
=.
5272 for ac_exec_ext
in '' $ac_executable_extensions; do
5273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5274 ac_cv_prog_ac_ct_AS
="as"
5275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5285 if test -n "$ac_ct_AS"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5287 $as_echo "$ac_ct_AS" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5290 $as_echo "no" >&6; }
5293 if test "x$ac_ct_AS" = x
; then
5296 case $cross_compiling:$ac_tool_warned in
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5300 ac_tool_warned
=yes ;;
5308 if test -n "$ac_tool_prefix"; then
5309 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5310 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5312 $as_echo_n "checking for $ac_word... " >&6; }
5313 if test "${ac_cv_prog_LD+set}" = set; then :
5314 $as_echo_n "(cached) " >&6
5316 if test -n "$LD"; then
5317 ac_cv_prog_LD
="$LD" # Let the user override the test.
5319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5323 test -z "$as_dir" && as_dir
=.
5324 for ac_exec_ext
in '' $ac_executable_extensions; do
5325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5326 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5337 if test -n "$LD"; then
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5339 $as_echo "$LD" >&6; }
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5342 $as_echo "no" >&6; }
5347 if test -z "$ac_cv_prog_LD"; then
5349 # Extract the first word of "ld", so it can be a program name with args.
5350 set dummy ld
; ac_word
=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
5354 $as_echo_n "(cached) " >&6
5356 if test -n "$ac_ct_LD"; then
5357 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 test -z "$as_dir" && as_dir
=.
5364 for ac_exec_ext
in '' $ac_executable_extensions; do
5365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5366 ac_cv_prog_ac_ct_LD
="ld"
5367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5377 if test -n "$ac_ct_LD"; then
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5379 $as_echo "$ac_ct_LD" >&6; }
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5382 $as_echo "no" >&6; }
5385 if test "x$ac_ct_LD" = x
; then
5388 case $cross_compiling:$ac_tool_warned in
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5392 ac_tool_warned
=yes ;;
5400 if test -n "$ac_tool_prefix"; then
5401 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5402 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if test "${ac_cv_prog_AR+set}" = set; then :
5406 $as_echo_n "(cached) " >&6
5408 if test -n "$AR"; then
5409 ac_cv_prog_AR
="$AR" # Let the user override the test.
5411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir
=.
5416 for ac_exec_ext
in '' $ac_executable_extensions; do
5417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5418 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 if test -n "$AR"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5431 $as_echo "$AR" >&6; }
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5439 if test -z "$ac_cv_prog_AR"; then
5441 # Extract the first word of "ar", so it can be a program name with args.
5442 set dummy
ar; ac_word
=$2
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5444 $as_echo_n "checking for $ac_word... " >&6; }
5445 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5446 $as_echo_n "(cached) " >&6
5448 if test -n "$ac_ct_AR"; then
5449 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5455 test -z "$as_dir" && as_dir
=.
5456 for ac_exec_ext
in '' $ac_executable_extensions; do
5457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5458 ac_cv_prog_ac_ct_AR
="ar"
5459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5469 if test -n "$ac_ct_AR"; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5471 $as_echo "$ac_ct_AR" >&6; }
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5474 $as_echo "no" >&6; }
5477 if test "x$ac_ct_AR" = x
; then
5480 case $cross_compiling:$ac_tool_warned in
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5484 ac_tool_warned
=yes ;;
5492 if test -n "$ac_tool_prefix"; then
5493 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5494 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5498 $as_echo_n "(cached) " >&6
5500 if test -n "$RANLIB"; then
5501 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 test -z "$as_dir" && as_dir
=.
5508 for ac_exec_ext
in '' $ac_executable_extensions; do
5509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5510 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5520 RANLIB
=$ac_cv_prog_RANLIB
5521 if test -n "$RANLIB"; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5523 $as_echo "$RANLIB" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5531 if test -z "$ac_cv_prog_RANLIB"; then
5532 ac_ct_RANLIB
=$RANLIB
5533 # Extract the first word of "ranlib", so it can be a program name with args.
5534 set dummy ranlib
; ac_word
=$2
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5536 $as_echo_n "checking for $ac_word... " >&6; }
5537 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5538 $as_echo_n "(cached) " >&6
5540 if test -n "$ac_ct_RANLIB"; then
5541 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5547 test -z "$as_dir" && as_dir
=.
5548 for ac_exec_ext
in '' $ac_executable_extensions; do
5549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5550 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5561 if test -n "$ac_ct_RANLIB"; then
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5563 $as_echo "$ac_ct_RANLIB" >&6; }
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5566 $as_echo "no" >&6; }
5569 if test "x$ac_ct_RANLIB" = x
; then
5572 case $cross_compiling:$ac_tool_warned in
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5576 ac_tool_warned
=yes ;;
5578 RANLIB
=$ac_ct_RANLIB
5581 RANLIB
="$ac_cv_prog_RANLIB"
5584 if test -n "$ac_tool_prefix"; then
5585 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5586 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5592 if test -n "$DLLTOOL"; then
5593 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir
=.
5600 for ac_exec_ext
in '' $ac_executable_extensions; do
5601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 DLLTOOL
=$ac_cv_prog_DLLTOOL
5613 if test -n "$DLLTOOL"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5615 $as_echo "$DLLTOOL" >&6; }
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5623 if test -z "$ac_cv_prog_DLLTOOL"; then
5624 ac_ct_DLLTOOL
=$DLLTOOL
5625 # Extract the first word of "dlltool", so it can be a program name with args.
5626 set dummy dlltool
; ac_word
=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5632 if test -n "$ac_ct_DLLTOOL"; then
5633 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5639 test -z "$as_dir" && as_dir
=.
5640 for ac_exec_ext
in '' $ac_executable_extensions; do
5641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5653 if test -n "$ac_ct_DLLTOOL"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5655 $as_echo "$ac_ct_DLLTOOL" >&6; }
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5661 if test "x$ac_ct_DLLTOOL" = x
; then
5664 case $cross_compiling:$ac_tool_warned in
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5668 ac_tool_warned
=yes ;;
5670 DLLTOOL
=$ac_ct_DLLTOOL
5673 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5676 for ac_prog
in gawk mawk nawk
awk
5678 # Extract the first word of "$ac_prog", so it can be a program name with args.
5679 set dummy
$ac_prog; ac_word
=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if test "${ac_cv_prog_AWK+set}" = set; then :
5683 $as_echo_n "(cached) " >&6
5685 if test -n "$AWK"; then
5686 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5692 test -z "$as_dir" && as_dir
=.
5693 for ac_exec_ext
in '' $ac_executable_extensions; do
5694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5695 ac_cv_prog_AWK
="$ac_prog"
5696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 if test -n "$AWK"; then
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5708 $as_echo "$AWK" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5715 test -n "$AWK" && break
5718 for ac_prog
in jar fastjar gjar
5720 # Extract the first word of "$ac_prog", so it can be a program name with args.
5721 set dummy
$ac_prog; ac_word
=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if test "${ac_cv_prog_JAR+set}" = set; then :
5725 $as_echo_n "(cached) " >&6
5727 if test -n "$JAR"; then
5728 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
5730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5734 test -z "$as_dir" && as_dir
=.
5735 for ac_exec_ext
in '' $ac_executable_extensions; do
5736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5737 ac_cv_prog_JAR
="$ac_prog"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 if test -n "$JAR"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5750 $as_echo "$JAR" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5757 test -n "$JAR" && break
5759 test -n "$JAR" || JAR
="no"
5761 # Extract the first word of "zip", so it can be a program name with args.
5762 set dummy
zip; ac_word
=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if test "${ac_cv_path_ZIP+set}" = set; then :
5766 $as_echo_n "(cached) " >&6
5770 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5780 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
5781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
5793 if test -n "$ZIP"; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
5795 $as_echo "$ZIP" >&6; }
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798 $as_echo "no" >&6; }
5802 # Extract the first word of "unzip", so it can be a program name with args.
5803 set dummy
unzip; ac_word
=$2
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5805 $as_echo_n "checking for $ac_word... " >&6; }
5806 if test "${ac_cv_path_UNZIP+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5811 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
5814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5818 test -z "$as_dir" && as_dir
=.
5819 for ac_exec_ext
in '' $ac_executable_extensions; do
5820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
5822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
5833 UNZIP
=$ac_cv_path_UNZIP
5834 if test -n "$UNZIP"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5
5836 $as_echo "$UNZIP" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5844 # We need a jar that supports -@. This is a GNU extension.
5845 if test "$JAR" != no
; then
5846 rm -f config-test.jar
5847 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
5848 if test -f config-test.jar
; then
5849 rm -f config-test.jar
5855 # Prefer the jar we found, but fall back to our jar script.
5856 if test "$JAR" = no
; then
5857 if test "$ZIP" = no
; then
5858 as_fn_error
"cannot find neither zip nor jar, cannot continue" "$LINENO" 5
5860 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
5861 JAR
=`pwd`/scripts
/jar
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5869 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5870 # Check whether --enable-maintainer-mode was given.
5871 if test "${enable_maintainer_mode+set}" = set; then :
5872 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5874 USE_MAINTAINER_MODE
=no
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5878 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5879 if test $USE_MAINTAINER_MODE = yes; then
5880 MAINTAINER_MODE_TRUE
=
5881 MAINTAINER_MODE_FALSE
='#'
5883 MAINTAINER_MODE_TRUE
='#'
5884 MAINTAINER_MODE_FALSE
=
5887 MAINT
=$MAINTAINER_MODE_TRUE
5893 # configure.host sets the following important variables
5894 # libgcj_cflags - host specific C compiler flags
5895 # libgcj_cxxflags - host specific C++ compiler flags
5896 # libgcj_javaflags - host specific Java compiler flags
5897 # libgcj_sublib_ltflags - host specific Libtool flags
5898 # libgcj_sublib_core_extra_deps - host specific extra
5899 # dependencies for core sublib
5900 # (these last two only used when building sublibs)
5901 # and a number of others; see the list at the start of the file.
5906 libgcj_sublib_ltflags
=
5907 libgcj_sublib_core_extra_deps
=
5909 .
${srcdir}/configure.
host
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5912 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5913 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5914 $as_echo_n "(cached) " >&6
5916 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5917 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5918 acl_cv_prog_gnu_ld
=yes
5920 acl_cv_prog_gnu_ld
=no
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5924 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5925 with_gnu_ld
=$acl_cv_prog_gnu_ld
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
5928 $as_echo_n "checking if the GNU linker ($LD) supports -Bsymbolic-functions... " >&6; }
5929 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5933 acl_cv_prog_gnu_ld_symbolic
=no
5935 if test x
"$with_gnu_ld" = x
"yes"; then
5936 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
5937 acl_cv_prog_gnu_ld_symbolic
=yes
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld_symbolic" >&5
5942 $as_echo "$acl_cv_prog_gnu_ld_symbolic" >&6; }
5943 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
5944 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
5949 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
5950 if test -z "$libgcj_ld_symbolic"; then
5951 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
5954 LIBGCJ_CFLAGS
="${libgcj_cflags}"
5955 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
5956 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
5957 LIBGCJ_SUBLIB_LTFLAGS
="${libgcj_sublib_ltflags}"
5958 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
="${libgcj_sublib_core_extra_deps}"
5959 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
5960 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
5969 # Only use libltdl for non-newlib builds.
5970 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
5972 $as_echo_n "checking dynamic linker characteristics... " >&6; }
5974 libname_spec
='lib$name'
5982 shlibpath_overrides_runpath
=unknown
5984 dynamic_linker
="$host_os ld.so"
5985 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
5986 if test "$GCC" = yes; then
5987 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
5988 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
5989 # if the path contains ";" then we assume it to be the separator
5990 # otherwise default to the standard path separator (i.e. ":") - it is
5991 # assumed that no part of a normal pathname contains ";" but that should
5992 # okay in the real world where ";" in dirpaths is itself problematic.
5993 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
5995 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
5998 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
6000 need_lib_prefix
=unknown
6001 hardcode_into_libs
=no
6003 # when you set need_version to no, make sure it does not cause -set_version
6004 # flags to be left without arguments
6005 need_version
=unknown
6010 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
6011 shlibpath_var
=LIBPATH
6013 # AIX 3 has no versioning support, so we append a major version to the name.
6014 soname_spec
='${libname}${release}${shared_ext}$major'
6021 hardcode_into_libs
=yes
6022 if test "$host_cpu" = ia64
; then
6023 # AIX 5 supports IA64
6024 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6025 shlibpath_var
=LD_LIBRARY_PATH
6027 # With GCC up to 2.95.x, collect2 would create an import file
6028 # for dependence libraries. The import file would start with
6029 # the line `#! .'. This would cause the generated library to
6030 # depend on `.', always an invalid library. This was fixed in
6031 # development snapshots of GCC prior to 3.0.
6033 aix4 | aix4.
[01] | aix4.
[01].
*)
6034 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6036 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6043 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6044 # soname into executable. Probably we can add versioning support to
6045 # collect2, so additional links can be useful in future.
6046 if test "$aix_use_runtimelinking" = yes; then
6047 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6048 # instead of lib<name>.a to let people know that these are not
6049 # typical AIX shared libraries.
6050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6052 # We preserve .a as extension for shared libraries through AIX4.2
6053 # and later when we are not doing run time linking.
6054 library_names_spec
='${libname}${release}.a $libname.a'
6055 soname_spec
='${libname}${release}${shared_ext}$major'
6057 shlibpath_var
=LIBPATH
6062 library_names_spec
='$libname.ixlibrary $libname.a'
6063 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6064 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'
6068 library_names_spec
='${libname}${shared_ext}'
6069 dynamic_linker
="$host_os ld.so"
6070 shlibpath_var
=LIBRARY_PATH
6076 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6077 soname_spec
='${libname}${release}${shared_ext}$major'
6078 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
6079 shlibpath_var
=LD_LIBRARY_PATH
6080 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6081 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
6082 # the default ld.so.conf also contains /usr/contrib/lib and
6083 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6084 # libtool to hard-code these into programs
6087 cygwin
* | mingw
* | pw32
*)
6088 version_type
=windows
6093 case $GCC,$host_os in
6094 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
6095 library_names_spec
='$libname.dll.a'
6096 # DLL is installed to $(libdir)/../bin by postinstall_cmds
6097 postinstall_cmds
='base_file=`basename \${file}`~
6098 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6099 dldir=$destdir/`dirname \$dlpath`~
6100 test -d \$dldir || mkdir -p \$dldir~
6101 $install_prog $dir/$dlname \$dldir/$dlname'
6102 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6103 dlpath=$dir/\$dldll~
6105 shlibpath_overrides_runpath
=yes
6109 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6110 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6111 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
6114 # MinGW DLLs use traditional 'lib' prefix
6115 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6116 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6117 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
6118 # It is most probably a Windows format PATH printed by
6119 # mingw gcc, but we are running on Cygwin. Gcc prints its search
6120 # path with ; separators, and with drive letters. We can handle the
6121 # drive letters (cygwin fileutils understands them), so leave them,
6122 # especially as we might pass files found there to a mingw objdump,
6123 # which wouldn't understand a cygwinified path. Ahh.
6124 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6126 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6130 # pw32 DLLs use 'pw' prefix rather than 'lib'
6131 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
6137 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6140 dynamic_linker
='Win32 ld.exe'
6141 # FIXME: first we should search . and the directory the executable is in
6145 darwin
* | rhapsody
*)
6146 dynamic_linker
="$host_os dyld"
6150 # FIXME: Relying on posixy $() will cause problems for
6151 # cross-compilation, but unfortunately the echo tests do not
6152 # yet detect zsh echo's removal of \ escapes.
6153 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6154 soname_spec
='${libname}${release}${major}$shared_ext'
6155 shlibpath_overrides_runpath
=yes
6156 shlibpath_var
=DYLD_LIBRARY_PATH
6157 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
6158 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6159 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
6160 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"`
6162 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
6169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6170 soname_spec
='${libname}${release}${shared_ext}$major'
6171 shlibpath_var
=LD_LIBRARY_PATH
6179 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6180 version_type
=freebsd-
$objformat
6181 case $version_type in
6183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6188 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6192 shlibpath_var
=LD_LIBRARY_PATH
6195 shlibpath_overrides_runpath
=yes
6197 freebsd3.01
* | freebsdelf3.01
*)
6198 shlibpath_overrides_runpath
=yes
6199 hardcode_into_libs
=yes
6202 shlibpath_overrides_runpath
=no
6203 hardcode_into_libs
=yes
6212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6213 soname_spec
='${libname}${release}${shared_ext}$major'
6214 shlibpath_var
=LD_LIBRARY_PATH
6215 hardcode_into_libs
=yes
6218 hpux9
* | hpux10
* | hpux11
*)
6219 # Give a soname corresponding to the major version so that dld.sl refuses to
6220 # link against other versions.
6227 hardcode_into_libs
=yes
6228 dynamic_linker
="$host_os dld.so"
6229 shlibpath_var
=LD_LIBRARY_PATH
6230 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6231 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6232 soname_spec
='${libname}${release}${shared_ext}$major'
6233 if test "X$HPUX_IA64_MODE" = X32
; then
6234 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6236 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
6238 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6242 hardcode_into_libs
=yes
6243 dynamic_linker
="$host_os dld.sl"
6244 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6249 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6253 dynamic_linker
="$host_os dld.sl"
6254 shlibpath_var
=SHLIB_PATH
6255 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
6256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6257 soname_spec
='${libname}${release}${shared_ext}$major'
6260 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6261 postinstall_cmds
='chmod 555 $lib'
6264 irix5
* | irix6
* | nonstopux
*)
6266 nonstopux
*) version_type
=nonstopux
;;
6268 if test "$lt_cv_prog_gnu_ld" = yes; then
6276 soname_spec
='${libname}${release}${shared_ext}$major'
6277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6279 irix5
* | nonstopux
*)
6283 case $LD in # libtool.m4 will add one of these switches to LD
6284 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
6285 libsuff
= shlibsuff
= libmagic
=32-bit;;
6286 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
6287 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
6288 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
6289 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
6290 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
6294 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
6295 shlibpath_overrides_runpath
=no
6296 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6297 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
6298 hardcode_into_libs
=yes
6301 # No shared lib support for Linux oldld, aout, or coff.
6302 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
6306 # This must be Linux ELF.
6311 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6312 soname_spec
='${libname}${release}${shared_ext}$major'
6313 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6314 shlibpath_var
=LD_LIBRARY_PATH
6315 shlibpath_overrides_runpath
=no
6316 # This implies no fast_install, which is unacceptable.
6317 # Some rework will be needed to allow for fast_install
6318 # before this can be enabled.
6319 hardcode_into_libs
=yes
6321 # We used to test for /lib/ld.so.1 and disable shared libraries on
6322 # powerpc, because MkLinux only supported shared libraries with the
6323 # GNU dynamic linker. Since this was broken with cross compilers,
6324 # most powerpc-linux boxes support dynamic linking these days and
6325 # people can always --disable-shared, the test was removed, and we
6326 # assume the GNU/Linux dynamic linker is in use.
6327 dynamic_linker
='GNU/Linux ld.so'
6334 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6336 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6337 dynamic_linker
='NetBSD (a.out) ld.so'
6339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
6340 soname_spec
='${libname}${release}${shared_ext}$major'
6341 dynamic_linker
='NetBSD ld.elf_so'
6343 shlibpath_var
=LD_LIBRARY_PATH
6344 shlibpath_overrides_runpath
=yes
6345 hardcode_into_libs
=yes
6350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6351 shlibpath_var
=LD_LIBRARY_PATH
6352 shlibpath_overrides_runpath
=yes
6359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6360 soname_spec
='${libname}${release}${shared_ext}$major'
6361 shlibpath_var
=LD_LIBRARY_PATH
6362 shlibpath_overrides_runpath
=yes
6369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6371 shlibpath_var
=LD_LIBRARY_PATH
6372 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6374 openbsd2.
[89] | openbsd2.
[89].
*)
6375 shlibpath_overrides_runpath
=no
6378 shlibpath_overrides_runpath
=yes
6382 shlibpath_overrides_runpath
=yes
6387 libname_spec
='$name'
6390 library_names_spec
='$libname${shared_ext} $libname.a'
6391 dynamic_linker
='OS/2 ld.exe'
6392 shlibpath_var
=LIBPATH
6395 osf3
* | osf4
* | osf5
*)
6399 soname_spec
='${libname}${release}${shared_ext}$major'
6400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6401 shlibpath_var
=LD_LIBRARY_PATH
6402 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6403 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
6408 soname_spec
='${libname}${release}${shared_ext}$major'
6409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6410 shlibpath_var
=LD_LIBRARY_PATH
6417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6418 soname_spec
='${libname}${release}${shared_ext}$major'
6419 shlibpath_var
=LD_LIBRARY_PATH
6420 shlibpath_overrides_runpath
=yes
6421 hardcode_into_libs
=yes
6422 # ldd complains unless libraries are executable
6423 postinstall_cmds
='chmod +x $lib'
6428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6429 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6430 shlibpath_var
=LD_LIBRARY_PATH
6431 shlibpath_overrides_runpath
=yes
6432 if test "$with_gnu_ld" = yes; then
6438 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6440 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6441 soname_spec
='${libname}${release}${shared_ext}$major'
6442 shlibpath_var
=LD_LIBRARY_PATH
6443 case $host_vendor in
6445 shlibpath_overrides_runpath
=no
6447 export_dynamic_flag_spec
='${wl}-Blargedynsym'
6448 runpath_var
=LD_RUN_PATH
6456 shlibpath_overrides_runpath
=no
6457 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
6463 if test -d /usr
/nec
;then
6465 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6466 soname_spec
='$libname${shared_ext}.$major'
6467 shlibpath_var
=LD_LIBRARY_PATH
6473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6474 soname_spec
='${libname}${release}${shared_ext}$major'
6475 shlibpath_var
=LD_LIBRARY_PATH
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
6483 $as_echo "$dynamic_linker" >&6; }
6484 test "$dynamic_linker" = no
&& can_build_shared
=no
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time library path" >&5
6488 $as_echo_n "checking which variable specifies run-time library path... " >&6; }
6489 if test "${libltdl_cv_shlibpath_var+set}" = set; then :
6490 $as_echo_n "(cached) " >&6
6492 libltdl_cv_shlibpath_var
="$shlibpath_var"
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibpath_var" >&5
6495 $as_echo "$libltdl_cv_shlibpath_var" >&6; }
6496 if test -n "$libltdl_cv_shlibpath_var"; then
6498 cat >>confdefs.h
<<_ACEOF
6499 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
6506 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
6509 # Possibly build libgcj as many sub-libraries.
6510 # Check whether --enable-libgcj-sublibs was given.
6511 if test "${enable_libgcj_sublibs+set}" = set; then :
6512 enableval
=$enable_libgcj_sublibs;
6516 if test -z "$enable_libgcj_sublibs"; then
6517 enable_libgcj_sublibs
=$enable_libgcj_sublibs_default
6519 if test "$enable_libgcj_sublibs" = yes; then
6521 BUILD_SUBLIBS_FALSE
='#'
6523 BUILD_SUBLIBS_TRUE
='#'
6524 BUILD_SUBLIBS_FALSE
=
6527 if test "$enable_libgcj_sublibs" = yes ; then
6528 # In theory we could make do with only one override and simply
6529 # tag "_bc" onto the end of it when we use it to generate the
6530 # spec, but that's an ugly thing to do when there are multiple
6531 # words in the string and you're relying on the ordering to
6532 # append the correct one.
6533 libgcj_spec_lgcj_override
="-lgcj-noncore -lgcj"
6534 libgcj_spec_lgcj_bc_override
="-lgcj-noncore -lgcj_bc"
6538 # See if the user has requested runtime debugging.
6539 LIBGCJDEBUG
="disable"
6541 # Check whether --enable-libgcj-debug was given.
6542 if test "${enable_libgcj_debug+set}" = set; then :
6543 enableval
=$enable_libgcj_debug; if test "$enable_libgcj_debug" = yes; then
6545 $as_echo "#define __GCJ_DEBUG 1" >>confdefs.h
6547 LIBGCJDEBUG
="enable"
6553 # Check whether --with-escher was given.
6554 if test "${with_escher+set}" = set; then :
6555 withval
=$with_escher;
6558 case "$with_escher" in
6566 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
6573 # Determine which AWT peer libraries to build
6574 # Check whether --enable-java-awt was given.
6575 if test "${enable_java_awt+set}" = set; then :
6576 enableval
=$enable_java_awt;
6580 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
6585 # The default toolkit to use is the first one specified.
6589 for peer
in $peerlibs ; do
6592 if test "$no_x" = yes; then
6593 echo "*** xlib peers requested but no X library available" 1>&2
6597 if test -z "$TOOLKIT"; then
6598 TOOLKIT
=gnu.awt.xlib.XToolkit
6603 if test "$no_x" = yes; then
6604 echo "*** gtk peers requested but no X library available" 1>&2
6608 if test -z "$TOOLKIT"; then
6609 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
6614 if test "$no_x" = yes; then
6615 # Perhaps we should admit the possibility of embedded Qt.
6616 echo "*** Qt peers requested but no X library available" 1>&2
6620 if test -z "$TOOLKIT"; then
6621 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
6627 if test -z "$TOOLKIT"; then
6628 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
6639 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
6644 if test "$use_xlib_awt" = yes; then
6652 if test "$use_x_awt" = yes; then
6662 cat >>confdefs.h
<<_ACEOF
6663 #define AWT_TOOLKIT "$TOOLKIT"
6667 expanded_prefix
=$prefix
6668 if test "X$prefix" = XNONE
; then
6669 expanded_prefix
=${ac_default_prefix}
6673 cat >>confdefs.h
<<_ACEOF
6674 #define LIBGCJ_PREFIX "$expanded_prefix"
6678 # Create standard.omit based on decisions we just made.
6679 cp $srcdir/standard.omit.
in standard.omit
6680 if test "$use_xlib_awt" != yes; then
6681 echo gnu
/awt
/xlib
>> standard.omit
6682 echo gnu
/gcj
/xlib
>> standard.omit
6684 if test "$use_x_awt" != yes; then
6685 echo gnu
/java
/awt
/peer
/x
>> standard.omit
6688 # Tools that need to be compiled against classpath's tools classes
6689 : > vm-tools-packages
6690 for package
in gnu
/gcj
/tools
/gc_analyze
; do
6691 echo $package >> standard.omit
6692 echo $package >> vm-tools-packages
6695 if test -z "${with_multisubdir}"; then
6698 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
6703 # Which gcj and host gcj (for ecjx) do we use?
6705 host_exeext
=${ac_exeext}
6707 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
6708 if test -n "${with_cross_host}"; then
6709 # We are being configured with a cross compiler. We can't
6710 # use ac_exeext, because that is for the target platform.
6713 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
6714 case "${with_cross_host}" in
6716 cross_host_exeext
=.exe
6719 host_exeext
=${cross_host_exeext}
6720 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
6721 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
6722 # Ordinary cross (host!=target and host=build)
6725 # Canadian cross (host!=target and host!=build)
6732 # We are being configured with a native or crossed-native compiler
6733 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
6734 if test x
"$build" = x
"$host"; then
6735 # True native build (host=target and host=build)
6738 # Crossed-native build (host=target and host!=build)
6745 libgcjdir
=`${PWDCMD-pwd}`
6748 # Just in case there is a comma in the build dir, quote it for the
6749 # sed command below.
6751 *[,\\]*) qlibgcjdir
=`echo "$libgcjdir" | sed 's:[,\\]:\\&:g'`;;
6752 *) qlibgcjdir
=$libgcjdir;;
6754 GCJ
=`echo "$GCJ" | sed "s, -B, -B$qlibgcjdir/&,"`
6757 GCJ
=$GCJ" -B$libgcjdir/"
6760 case "${which_gcj}" in
6762 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
6765 if test "x${with_newlib}" = "xyes"; then
6766 # FIXME (comment): Why is this needed?
6769 GCJH
='$(target_noncanonical)-gcjh'
6782 # Create it, so that compile/link tests don't fail
6783 test -f libgcj.spec ||
touch libgcj.spec
6787 # Set up to configure Classpath.
6788 # FIXME: no supported way to pass args in autoconf.
6789 # Disable tool wrappers to avoid ltdl.h configure check.
6790 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
6791 ac_configure_args
="$ac_configure_args --disable-load-library"
6792 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
6793 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
6794 dir1
=`cd $srcdir && pwd`
6796 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
6797 ac_configure_args
="$ac_configure_args --disable-core-jni"
6798 ac_configure_args
="$ac_configure_args --disable-examples"
6799 ac_configure_args
="$ac_configure_args --with-glibj=build"
6800 if test "$browser_plugin_enabled" != yes; then
6801 ac_configure_args
="$ac_configure_args --disable-plugin"
6803 ac_configure_args
="$ac_configure_args --enable-plugin"
6805 if test "$gconf_enabled" != yes; then
6806 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
6807 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
6809 if test "$use_gtk_awt" != yes; then
6810 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
6812 if test "$use_qt_awt" != yes; then
6813 ac_configure_args
="$ac_configure_args --disable-qt-peer"
6815 # We need this as qt is disabled by default in classpath.
6816 ac_configure_args
="$ac_configure_args --enable-qt-peer"
6818 if test "$use_x_awt" != yes; then
6819 ac_configure_args
="$ac_configure_args --without-escher"
6821 # We need this as escher is disabled by default in classpath.
6822 if test "$use_escher" != true
; then
6823 as_fn_error
"Please supply an absolute path to the Escher library" "$LINENO" 5
6825 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
6828 if test "x$BUILD_GJDOC" = xno
; then
6829 ac_configure_args
="$ac_configure_args --disable-gjdoc"
6831 # -Werror causes unavoidable problems in code using alsa.
6832 ac_configure_args
="$ac_configure_args --disable-regen-headers"
6833 ac_configure_args
="$ac_configure_args --disable-Werror"
6835 # Only use libltdl for non-newlib builds.
6836 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
6837 case $enable_ltdl_convenience in
6838 no
) as_fn_error
"this package needs a convenience libltdl" "$LINENO" 5 ;;
6839 "") enable_ltdl_convenience
=yes
6840 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
6842 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
6843 LTDLINCL
='-I${top_srcdir}/''libltdl'
6844 # For backwards non-gettext consistent compatibility...
6853 $as_echo "#define USE_LTDL 1" >>confdefs.h
6855 # Sigh. Libtool's macro doesn't do the right thing.
6856 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
6857 # FIXME: this is a hack.
6858 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
6859 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6867 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6872 macro_version
='2.2.7a'
6873 macro_revision
='1.3134'
6887 ltmain
="$ac_aux_dir/ltmain.sh"
6889 # Backslashify metacharacters that are still active within
6890 # double-quoted strings.
6891 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6893 # Same as above, but do not quote variable references.
6894 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6896 # Sed substitution to delay expansion of an escaped shell variable in a
6897 # double_quote_subst'ed string.
6898 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6900 # Sed substitution to delay expansion of an escaped single quote.
6901 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6903 # Sed substitution to avoid accidental globbing in evaled expressions
6904 no_glob_subst
='s/\*/\\\*/g'
6906 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6907 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6908 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6911 $as_echo_n "checking how to print strings... " >&6; }
6912 # Test print first, because it will be a builtin if present.
6913 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6914 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6916 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6919 # Use this function as a fallback that always works.
6920 func_fallback_echo ()
6922 eval 'cat <<_LTECHO_EOF
6926 ECHO='func_fallback_echo
'
6929 # func_echo_all arg...
6930 # Invoke $ECHO with all args, space-separated.
6937 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6938 $as_echo "printf" >&6; } ;;
6939 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6940 $as_echo "print -r" >&6; } ;;
6941 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6942 $as_echo "cat" >&6; } ;;
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6959 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6960 if test "${ac_cv_path_SED+set}" = set; then :
6961 $as_echo_n "(cached) " >&6
6963 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6964 for ac_i in 1 2 3 4 5 6 7; do
6965 ac_script="$ac_script$as_nl$ac_script"
6967 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6968 { ac_script=; unset ac_script;}
6969 if test -z "$SED"; then
6970 ac_path_SED_found=false
6971 # Loop through the user's path and
test for each of PROGNAME-LIST
6972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6976 test -z "$as_dir" && as_dir
=.
6977 for ac_prog
in sed gsed
; do
6978 for ac_exec_ext
in '' $ac_executable_extensions; do
6979 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6980 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6981 # Check for GNU ac_path_SED and select it if it is found.
6982 # Check for GNU $ac_path_SED
6983 case `"$ac_path_SED" --version 2>&1` in
6985 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6988 $as_echo_n 0123456789 >"conftest.in"
6991 cat "conftest.in" "conftest.in" >"conftest.tmp"
6992 mv "conftest.tmp" "conftest.in"
6993 cp "conftest.in" "conftest.nl"
6994 $as_echo '' >> "conftest.nl"
6995 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6996 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6997 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6998 if test $ac_count -gt ${ac_path_SED_max-0}; then
6999 # Best one so far, save it but keep looking for a better one
7000 ac_cv_path_SED
="$ac_path_SED"
7001 ac_path_SED_max
=$ac_count
7003 # 10*(2^10) chars as input seems more than enough
7004 test $ac_count -gt 10 && break
7006 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7009 $ac_path_SED_found && break 3
7014 if test -z "$ac_cv_path_SED"; then
7015 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7023 $as_echo "$ac_cv_path_SED" >&6; }
7024 SED
="$ac_cv_path_SED"
7027 test -z "$SED" && SED
=sed
7028 Xsed
="$SED -e 1s/^X//"
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7041 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7042 if test "${ac_cv_path_GREP+set}" = set; then :
7043 $as_echo_n "(cached) " >&6
7045 if test -z "$GREP"; then
7046 ac_path_GREP_found
=false
7047 # Loop through the user's path and test for each of PROGNAME-LIST
7048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7049 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7052 test -z "$as_dir" && as_dir
=.
7053 for ac_prog
in grep ggrep
; do
7054 for ac_exec_ext
in '' $ac_executable_extensions; do
7055 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7056 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7057 # Check for GNU ac_path_GREP and select it if it is found.
7058 # Check for GNU $ac_path_GREP
7059 case `"$ac_path_GREP" --version 2>&1` in
7061 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7064 $as_echo_n 0123456789 >"conftest.in"
7067 cat "conftest.in" "conftest.in" >"conftest.tmp"
7068 mv "conftest.tmp" "conftest.in"
7069 cp "conftest.in" "conftest.nl"
7070 $as_echo 'GREP' >> "conftest.nl"
7071 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7072 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7073 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7074 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7075 # Best one so far, save it but keep looking for a better one
7076 ac_cv_path_GREP
="$ac_path_GREP"
7077 ac_path_GREP_max
=$ac_count
7079 # 10*(2^10) chars as input seems more than enough
7080 test $ac_count -gt 10 && break
7082 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7085 $ac_path_GREP_found && break 3
7090 if test -z "$ac_cv_path_GREP"; then
7091 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7094 ac_cv_path_GREP
=$GREP
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7099 $as_echo "$ac_cv_path_GREP" >&6; }
7100 GREP
="$ac_cv_path_GREP"
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7104 $as_echo_n "checking for egrep... " >&6; }
7105 if test "${ac_cv_path_EGREP+set}" = set; then :
7106 $as_echo_n "(cached) " >&6
7108 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7109 then ac_cv_path_EGREP
="$GREP -E"
7111 if test -z "$EGREP"; then
7112 ac_path_EGREP_found
=false
7113 # Loop through the user's path and test for each of PROGNAME-LIST
7114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7115 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7118 test -z "$as_dir" && as_dir
=.
7119 for ac_prog
in egrep; do
7120 for ac_exec_ext
in '' $ac_executable_extensions; do
7121 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7122 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7123 # Check for GNU ac_path_EGREP and select it if it is found.
7124 # Check for GNU $ac_path_EGREP
7125 case `"$ac_path_EGREP" --version 2>&1` in
7127 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7130 $as_echo_n 0123456789 >"conftest.in"
7133 cat "conftest.in" "conftest.in" >"conftest.tmp"
7134 mv "conftest.tmp" "conftest.in"
7135 cp "conftest.in" "conftest.nl"
7136 $as_echo 'EGREP' >> "conftest.nl"
7137 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7138 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7139 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7140 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7141 # Best one so far, save it but keep looking for a better one
7142 ac_cv_path_EGREP
="$ac_path_EGREP"
7143 ac_path_EGREP_max
=$ac_count
7145 # 10*(2^10) chars as input seems more than enough
7146 test $ac_count -gt 10 && break
7148 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7151 $ac_path_EGREP_found && break 3
7156 if test -z "$ac_cv_path_EGREP"; then
7157 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7160 ac_cv_path_EGREP
=$EGREP
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7166 $as_echo "$ac_cv_path_EGREP" >&6; }
7167 EGREP
="$ac_cv_path_EGREP"
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7171 $as_echo_n "checking for fgrep... " >&6; }
7172 if test "${ac_cv_path_FGREP+set}" = set; then :
7173 $as_echo_n "(cached) " >&6
7175 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
7176 then ac_cv_path_FGREP
="$GREP -F"
7178 if test -z "$FGREP"; then
7179 ac_path_FGREP_found
=false
7180 # Loop through the user's path and test for each of PROGNAME-LIST
7181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7182 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7185 test -z "$as_dir" && as_dir
=.
7186 for ac_prog
in fgrep
; do
7187 for ac_exec_ext
in '' $ac_executable_extensions; do
7188 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7189 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
7190 # Check for GNU ac_path_FGREP and select it if it is found.
7191 # Check for GNU $ac_path_FGREP
7192 case `"$ac_path_FGREP" --version 2>&1` in
7194 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7197 $as_echo_n 0123456789 >"conftest.in"
7200 cat "conftest.in" "conftest.in" >"conftest.tmp"
7201 mv "conftest.tmp" "conftest.in"
7202 cp "conftest.in" "conftest.nl"
7203 $as_echo 'FGREP' >> "conftest.nl"
7204 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7205 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7206 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7207 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7208 # Best one so far, save it but keep looking for a better one
7209 ac_cv_path_FGREP
="$ac_path_FGREP"
7210 ac_path_FGREP_max
=$ac_count
7212 # 10*(2^10) chars as input seems more than enough
7213 test $ac_count -gt 10 && break
7215 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7218 $ac_path_FGREP_found && break 3
7223 if test -z "$ac_cv_path_FGREP"; then
7224 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7227 ac_cv_path_FGREP
=$FGREP
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7233 $as_echo "$ac_cv_path_FGREP" >&6; }
7234 FGREP
="$ac_cv_path_FGREP"
7237 test -z "$GREP" && GREP
=grep
7257 # Check whether --with-gnu-ld was given.
7258 if test "${with_gnu_ld+set}" = set; then :
7259 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7265 if test "$GCC" = yes; then
7266 # Check if gcc -print-prog-name=ld gives a path.
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7268 $as_echo_n "checking for ld used by $CC... " >&6; }
7271 # gcc leaves a trailing carriage return which upsets mingw
7272 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7274 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7277 # Accept absolute paths.
7279 re_direlt
='/[^/][^/]*/\.\./'
7280 # Canonicalize the pathname of ld
7281 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7282 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7283 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7285 test -z "$LD" && LD
="$ac_prog"
7288 # If it fails, then pretend we aren't using GCC.
7292 # If it is relative, then search for the first ld in PATH.
7296 elif test "$with_gnu_ld" = yes; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7298 $as_echo_n "checking for GNU ld... " >&6; }
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7301 $as_echo_n "checking for non-GNU ld... " >&6; }
7303 if test "${lt_cv_path_LD+set}" = set; then :
7304 $as_echo_n "(cached) " >&6
7306 if test -z "$LD"; then
7307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7308 for ac_dir
in $PATH; do
7310 test -z "$ac_dir" && ac_dir
=.
7311 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7312 lt_cv_path_LD
="$ac_dir/$ac_prog"
7313 # Check to see if the program is GNU ld. I'd rather use --version,
7314 # but apparently some variants of GNU ld only accept -v.
7315 # Break only if it was the GNU/non-GNU ld that we prefer.
7316 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7317 *GNU
* |
*'with BFD'*)
7318 test "$with_gnu_ld" != no
&& break
7321 test "$with_gnu_ld" != yes && break
7328 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7333 if test -n "$LD"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7335 $as_echo "$LD" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7340 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7342 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7343 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7344 $as_echo_n "(cached) " >&6
7346 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7347 case `$LD -v 2>&1 </dev/null` in
7348 *GNU
* |
*'with BFD'*)
7349 lt_cv_prog_gnu_ld
=yes
7352 lt_cv_prog_gnu_ld
=no
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7357 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7358 with_gnu_ld
=$lt_cv_prog_gnu_ld
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7369 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7370 if test "${lt_cv_path_NM+set}" = set; then :
7371 $as_echo_n "(cached) " >&6
7373 if test -n "$NM"; then
7374 # Let the user override the test.
7377 lt_nm_to_check
="${ac_tool_prefix}nm"
7378 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7379 lt_nm_to_check
="$lt_nm_to_check nm"
7381 for lt_tmp_nm
in $lt_nm_to_check; do
7382 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7383 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7385 test -z "$ac_dir" && ac_dir
=.
7386 tmp_nm
="$ac_dir/$lt_tmp_nm"
7387 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7388 # Check to see if the nm accepts a BSD-compat flag.
7389 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7390 # nm: unknown option "B" ignored
7391 # Tru64's nm complains that /dev/null is an invalid object file
7392 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7393 */dev
/null
* |
*'Invalid file or object type'*)
7394 lt_cv_path_NM
="$tmp_nm -B"
7398 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7400 lt_cv_path_NM
="$tmp_nm -p"
7404 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7405 continue # so that we can try to find one that supports BSD flags
7414 : ${lt_cv_path_NM=no}
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7418 $as_echo "$lt_cv_path_NM" >&6; }
7419 if test "$lt_cv_path_NM" != "no"; then
7422 # Didn't find any BSD compatible name lister, look for dumpbin.
7423 if test -n "$DUMPBIN"; then :
7424 # Let the user override the test.
7426 if test -n "$ac_tool_prefix"; then
7427 for ac_prog
in dumpbin
"link -dump"
7429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7430 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7432 $as_echo_n "checking for $ac_word... " >&6; }
7433 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7434 $as_echo_n "(cached) " >&6
7436 if test -n "$DUMPBIN"; then
7437 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7443 test -z "$as_dir" && as_dir
=.
7444 for ac_exec_ext
in '' $ac_executable_extensions; do
7445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7446 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7456 DUMPBIN
=$ac_cv_prog_DUMPBIN
7457 if test -n "$DUMPBIN"; then
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7459 $as_echo "$DUMPBIN" >&6; }
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 $as_echo "no" >&6; }
7466 test -n "$DUMPBIN" && break
7469 if test -z "$DUMPBIN"; then
7470 ac_ct_DUMPBIN
=$DUMPBIN
7471 for ac_prog
in dumpbin
"link -dump"
7473 # Extract the first word of "$ac_prog", so it can be a program name with args.
7474 set dummy
$ac_prog; ac_word
=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7478 $as_echo_n "(cached) " >&6
7480 if test -n "$ac_ct_DUMPBIN"; then
7481 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir
=.
7488 for ac_exec_ext
in '' $ac_executable_extensions; do
7489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7490 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7501 if test -n "$ac_ct_DUMPBIN"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7503 $as_echo "$ac_ct_DUMPBIN" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7510 test -n "$ac_ct_DUMPBIN" && break
7513 if test "x$ac_ct_DUMPBIN" = x
; then
7516 case $cross_compiling:$ac_tool_warned in
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7520 ac_tool_warned
=yes ;;
7522 DUMPBIN
=$ac_ct_DUMPBIN
7526 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7528 DUMPBIN
="$DUMPBIN -symbols"
7536 if test "$DUMPBIN" != ":"; then
7540 test -z "$NM" && NM
=nm
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7548 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7549 if test "${lt_cv_nm_interface+set}" = set; then :
7550 $as_echo_n "(cached) " >&6
7552 lt_cv_nm_interface
="BSD nm"
7553 echo "int some_variable = 0;" > conftest.
$ac_ext
7554 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7555 (eval "$ac_compile" 2>conftest.err
)
7556 cat conftest.err
>&5
7557 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7558 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7559 cat conftest.err
>&5
7560 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7561 cat conftest.out
>&5
7562 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7563 lt_cv_nm_interface
="MS dumpbin"
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7568 $as_echo "$lt_cv_nm_interface" >&6; }
7570 # find the maximum length of command line arguments
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7572 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7573 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7574 $as_echo_n "(cached) " >&6
7581 # On DJGPP, this test can blow up pretty badly due to problems in libc
7582 # (any single argument exceeding 2000 bytes causes a buffer overrun
7583 # during glob expansion). Even if it were fixed, the result of this
7584 # check would be larger than it should be.
7585 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7589 # Under GNU Hurd, this test is not required because there is
7590 # no limit to the length of command line arguments.
7591 # Libtool will interpret -1 as no limit whatsoever
7592 lt_cv_sys_max_cmd_len
=-1;
7595 cygwin
* | mingw
* | cegcc
*)
7596 # On Win9x/ME, this test blows up -- it succeeds, but takes
7597 # about 5 minutes as the teststring grows exponentially.
7598 # Worse, since 9x/ME are not pre-emptively multitasking,
7599 # you end up with a "frozen" computer, even though with patience
7600 # the test eventually succeeds (with a max line length of 256k).
7601 # Instead, let's just punt: use the minimum linelength reported by
7602 # all of the supported platforms: 8192 (on NT/2K/XP).
7603 lt_cv_sys_max_cmd_len
=8192;
7607 # On MiNT this can take a long time and run out of memory.
7608 lt_cv_sys_max_cmd_len
=8192;
7612 # On AmigaOS with pdksh, this test takes hours, literally.
7613 # So we just punt and use a minimum line length of 8192.
7614 lt_cv_sys_max_cmd_len
=8192;
7617 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7618 # This has been around since 386BSD, at least. Likely further.
7619 if test -x /sbin
/sysctl
; then
7620 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7621 elif test -x /usr
/sbin
/sysctl
; then
7622 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7624 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7626 # And add a safety zone
7627 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7628 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7632 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7633 lt_cv_sys_max_cmd_len
=196608
7637 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7638 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7639 # nice to cause kernel panics so lets avoid the loop below.
7640 # First set a reasonable default.
7641 lt_cv_sys_max_cmd_len
=16384
7643 if test -x /sbin
/sysconfig
; then
7644 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7645 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7650 lt_cv_sys_max_cmd_len
=102400
7652 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7653 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7654 if test -n "$kargmax"; then
7655 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7657 lt_cv_sys_max_cmd_len
=32768
7661 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7662 if test -n "$lt_cv_sys_max_cmd_len"; then
7663 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7664 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7666 # Make teststring a little bigger before we do anything with it.
7667 # a 1K string should be a reasonable start.
7668 for i
in 1 2 3 4 5 6 7 8 ; do
7669 teststring
=$teststring$teststring
7671 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7672 # If test is not a shell built-in, we'll probably end up computing a
7673 # maximum length that is only half of the actual maximum length, but
7675 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7676 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7677 test $i != 17 # 1/2 MB should be enough
7680 teststring
=$teststring$teststring
7682 # Only check the string length outside the loop.
7683 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7685 # Add a significant safety factor because C++ compilers can tack on
7686 # massive amounts of additional arguments before passing them to the
7687 # linker. It appears as though 1/2 is a usable value.
7688 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7695 if test -n $lt_cv_sys_max_cmd_len ; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7697 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7700 $as_echo "none" >&6; }
7702 max_cmd_len
=$lt_cv_sys_max_cmd_len
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7714 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7715 # Try some XSI features
7718 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7720 && eval 'test $(( 1 + 1 )) -eq 2 \
7721 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7724 $as_echo "$xsi_shell" >&6; }
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7728 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7730 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7732 && lt_shell_append=yes
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7734 $as_echo "$lt_shell_append" >&6; }
7737 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7747 # test EBCDIC or ASCII
7748 case `echo X|tr X '\101'` in
7749 A) # ASCII based system
7750 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7751 lt_SP2NL='tr \040 \012'
7752 lt_NL2SP='tr \015\012 \040\040'
7754 *) # EBCDIC based system
7755 lt_SP2NL='tr \100 \n'
7756 lt_NL2SP='tr \r\n \100\100'
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7769 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7770 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7771 $as_echo_n "(cached
) " >&6
7773 lt_cv_ld_reload_flag='-r'
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7776 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7777 reload_flag=$lt_cv_ld_reload_flag
7778 case $reload_flag in
7780 *) reload_flag=" $reload_flag" ;;
7782 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7785 if test "$GCC" = yes; then
7786 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7788 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7801 if test -n "$ac_tool_prefix"; then
7802 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7803 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7805 $as_echo_n "checking
for $ac_word...
" >&6; }
7806 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7807 $as_echo_n "(cached
) " >&6
7809 if test -n "$OBJDUMP"; then
7810 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir=.
7817 for ac_exec_ext in '' $ac_executable_extensions; do
7818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7819 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7829 OBJDUMP=$ac_cv_prog_OBJDUMP
7830 if test -n "$OBJDUMP"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7832 $as_echo "$OBJDUMP" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7835 $as_echo "no
" >&6; }
7840 if test -z "$ac_cv_prog_OBJDUMP"; then
7841 ac_ct_OBJDUMP=$OBJDUMP
7842 # Extract the first word of "objdump
", so it can be a program name with args.
7843 set dummy objdump; ac_word=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7845 $as_echo_n "checking
for $ac_word...
" >&6; }
7846 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7847 $as_echo_n "(cached
) " >&6
7849 if test -n "$ac_ct_OBJDUMP"; then
7850 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir=.
7857 for ac_exec_ext in '' $ac_executable_extensions; do
7858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7859 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7869 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7870 if test -n "$ac_ct_OBJDUMP"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7872 $as_echo "$ac_ct_OBJDUMP" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7875 $as_echo "no
" >&6; }
7878 if test "x
$ac_ct_OBJDUMP" = x; then
7881 case $cross_compiling:$ac_tool_warned in
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7884 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7885 ac_tool_warned=yes ;;
7887 OBJDUMP=$ac_ct_OBJDUMP
7890 OBJDUMP="$ac_cv_prog_OBJDUMP"
7893 test -z "$OBJDUMP" && OBJDUMP=objdump
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7904 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7905 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7906 $as_echo_n "(cached
) " >&6
7908 lt_cv_file_magic_cmd='$MAGIC_CMD'
7909 lt_cv_file_magic_test_file=
7910 lt_cv_deplibs_check_method='unknown'
7911 # Need to set the preceding variable on all platforms that support
7912 # interlibrary dependencies.
7913 # 'none' -- dependencies not supported.
7914 # `unknown' -- same as none, but documents that we really don't know.
7915 # 'pass_all' -- all dependencies passed with no checks.
7916 # 'test_compile' -- check by making test program.
7917 # 'file_magic [[regex]]' -- check by looking for files in library path
7918 # which responds to the $file_magic_cmd with a given extended regex.
7919 # If you have `file' or equivalent on your system and you're not sure
7920 # whether `pass_all' will *always* work, you probably want this one.
7924 lt_cv_deplibs_check_method=pass_all
7928 lt_cv_deplibs_check_method=pass_all
7932 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7933 lt_cv_file_magic_cmd='/usr/bin/file -L'
7934 lt_cv_file_magic_test_file=/shlib/libc.so
7938 # func_win32_libid is a shell function defined in ltmain.sh
7939 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7940 lt_cv_file_magic_cmd='func_win32_libid'
7944 # Base MSYS/MinGW do not provide the 'file' command needed by
7945 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7946 # unless we find 'file', for example because we are cross-compiling.
7947 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7948 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7949 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7950 lt_cv_file_magic_cmd='func_win32_libid'
7952 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7953 lt_cv_file_magic_cmd='$OBJDUMP -f'
7958 # use the weaker test based on 'objdump'. See mingw*.
7959 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7960 lt_cv_file_magic_cmd='$OBJDUMP -f'
7963 darwin* | rhapsody*)
7964 lt_cv_deplibs_check_method=pass_all
7967 freebsd* | dragonfly*)
7968 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7971 # Not sure whether the presence of OpenBSD here was a mistake.
7972 # Let's accept both of them until this is cleared up.
7973 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7974 lt_cv_file_magic_cmd=/usr/bin/file
7975 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7979 lt_cv_deplibs_check_method=pass_all
7984 lt_cv_deplibs_check_method=pass_all
7988 lt_cv_deplibs_check_method=pass_all
7991 hpux10.20* | hpux11*)
7992 lt_cv_file_magic_cmd=/usr/bin/file
7995 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7996 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7999 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]'
8000 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8003 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8004 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8010 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8011 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8014 irix5* | irix6* | nonstopux*)
8016 *-32|*"-32 ") libmagic=32-bit;;
8017 *-n32|*"-n32 ") libmagic=N32;;
8018 *-64|*"-64 ") libmagic=64-bit;;
8019 *) libmagic=never-match;;
8021 lt_cv_deplibs_check_method=pass_all
8024 # This must be Linux ELF.
8025 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8026 lt_cv_deplibs_check_method=pass_all
8030 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8031 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8033 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8038 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8039 lt_cv_file_magic_cmd=/usr/bin/file
8040 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8044 lt_cv_deplibs_check_method=pass_all
8048 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
8049 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8051 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8055 osf3* | osf4* | osf5*)
8056 lt_cv_deplibs_check_method=pass_all
8060 lt_cv_deplibs_check_method=pass_all
8064 lt_cv_deplibs_check_method=pass_all
8067 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8068 lt_cv_deplibs_check_method=pass_all
8072 case $host_vendor in
8074 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]'
8075 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8078 lt_cv_deplibs_check_method=pass_all
8081 lt_cv_file_magic_cmd='/bin/file'
8082 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8085 lt_cv_file_magic_cmd='/bin/file'
8086 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
8087 lt_cv_file_magic_test_file=/lib/libc.so
8090 lt_cv_deplibs_check_method=pass_all
8093 lt_cv_deplibs_check_method=pass_all
8099 lt_cv_deplibs_check_method=pass_all
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
8105 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8106 file_magic_cmd=$lt_cv_file_magic_cmd
8107 deplibs_check_method=$lt_cv_deplibs_check_method
8108 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8121 if test -n "$ac_tool_prefix"; then
8122 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8123 set dummy ${ac_tool_prefix}ar; ac_word=$2
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8125 $as_echo_n "checking
for $ac_word...
" >&6; }
8126 if test "${ac_cv_prog_AR+set}" = set; then :
8127 $as_echo_n "(cached
) " >&6
8129 if test -n "$AR"; then
8130 ac_cv_prog_AR="$AR" # Let the user override the test.
8132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8136 test -z "$as_dir" && as_dir=.
8137 for ac_exec_ext in '' $ac_executable_extensions; do
8138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8139 ac_cv_prog_AR="${ac_tool_prefix}ar"
8140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8150 if test -n "$AR"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8152 $as_echo "$AR" >&6; }
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8155 $as_echo "no
" >&6; }
8160 if test -z "$ac_cv_prog_AR"; then
8162 # Extract the first word of "ar", so it can be a program name with args.
8163 set dummy ar; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8165 $as_echo_n "checking
for $ac_word...
" >&6; }
8166 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8167 $as_echo_n "(cached
) " >&6
8169 if test -n "$ac_ct_AR"; then
8170 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8179 ac_cv_prog_ac_ct_AR="ar"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8189 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8190 if test -n "$ac_ct_AR"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
8192 $as_echo "$ac_ct_AR" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8195 $as_echo "no
" >&6; }
8198 if test "x
$ac_ct_AR" = x; then
8201 case $cross_compiling:$ac_tool_warned in
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8204 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8205 ac_tool_warned=yes ;;
8213 test -z "$AR" && AR=ar
8214 test -z "$AR_FLAGS" && AR_FLAGS=cru
8226 if test -n "$ac_tool_prefix"; then
8227 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
8228 set dummy ${ac_tool_prefix}strip; ac_word=$2
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8230 $as_echo_n "checking
for $ac_word...
" >&6; }
8231 if test "${ac_cv_prog_STRIP+set}" = set; then :
8232 $as_echo_n "(cached
) " >&6
8234 if test -n "$STRIP"; then
8235 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 test -z "$as_dir" && as_dir=.
8242 for ac_exec_ext in '' $ac_executable_extensions; do
8243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8244 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
8245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8254 STRIP=$ac_cv_prog_STRIP
8255 if test -n "$STRIP"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8257 $as_echo "$STRIP" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8260 $as_echo "no
" >&6; }
8265 if test -z "$ac_cv_prog_STRIP"; then
8267 # Extract the first word of "strip
", so it can be a program name with args.
8268 set dummy strip; ac_word=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8270 $as_echo_n "checking
for $ac_word...
" >&6; }
8271 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8272 $as_echo_n "(cached
) " >&6
8274 if test -n "$ac_ct_STRIP"; then
8275 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 test -z "$as_dir" && as_dir=.
8282 for ac_exec_ext in '' $ac_executable_extensions; do
8283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8284 ac_cv_prog_ac_ct_STRIP="strip
"
8285 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8294 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8295 if test -n "$ac_ct_STRIP"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8297 $as_echo "$ac_ct_STRIP" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8300 $as_echo "no
" >&6; }
8303 if test "x
$ac_ct_STRIP" = x; then
8306 case $cross_compiling:$ac_tool_warned in
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8309 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8310 ac_tool_warned=yes ;;
8315 STRIP="$ac_cv_prog_STRIP"
8318 test -z "$STRIP" && STRIP=:
8325 if test -n "$ac_tool_prefix"; then
8326 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8329 $as_echo_n "checking
for $ac_word...
" >&6; }
8330 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8331 $as_echo_n "(cached
) " >&6
8333 if test -n "$RANLIB"; then
8334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8340 test -z "$as_dir" && as_dir=.
8341 for ac_exec_ext in '' $ac_executable_extensions; do
8342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8343 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8353 RANLIB=$ac_cv_prog_RANLIB
8354 if test -n "$RANLIB"; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8356 $as_echo "$RANLIB" >&6; }
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8359 $as_echo "no
" >&6; }
8364 if test -z "$ac_cv_prog_RANLIB"; then
8365 ac_ct_RANLIB=$RANLIB
8366 # Extract the first word of "ranlib
", so it can be a program name with args.
8367 set dummy ranlib; ac_word=$2
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8369 $as_echo_n "checking
for $ac_word...
" >&6; }
8370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8371 $as_echo_n "(cached
) " >&6
8373 if test -n "$ac_ct_RANLIB"; then
8374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8380 test -z "$as_dir" && as_dir=.
8381 for ac_exec_ext in '' $ac_executable_extensions; do
8382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8383 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8393 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8394 if test -n "$ac_ct_RANLIB"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8396 $as_echo "$ac_ct_RANLIB" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8399 $as_echo "no
" >&6; }
8402 if test "x
$ac_ct_RANLIB" = x; then
8405 case $cross_compiling:$ac_tool_warned in
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8408 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8409 ac_tool_warned=yes ;;
8411 RANLIB=$ac_ct_RANLIB
8414 RANLIB="$ac_cv_prog_RANLIB"
8417 test -z "$RANLIB" && RANLIB=:
8424 # Determine commands to create old-style static archives.
8425 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8426 old_postinstall_cmds='chmod 644 $oldlib'
8427 old_postuninstall_cmds=
8429 if test -n "$RANLIB"; then
8432 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8435 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8438 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8443 lock_old_archive_extraction=yes ;;
8445 lock_old_archive_extraction=no ;;
8486 # If no C compiler was specified, use CC.
8489 # If no C compiler flags were specified, use CFLAGS.
8490 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8492 # Allow CC to be a program name with arguments.
8496 # Check for command to grab the raw symbol name followed by C symbol from nm.
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8498 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8499 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8500 $as_echo_n "(cached
) " >&6
8503 # These are sane defaults that work on at least a few old systems.
8504 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8506 # Character class describing NM global symbol codes.
8507 symcode='[BCDEGRST]'
8509 # Regexp to match symbols that can be accessed directly from C.
8510 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8512 # Define system-specific variables.
8517 cygwin* | mingw* | pw32* | cegcc*)
8518 symcode='[ABCDGISTW]'
8521 if test "$host_cpu" = ia64; then
8522 symcode='[ABCDEGRST]'
8526 symcode='[BCDEGRST]'
8529 symcode='[BCDEGQRST]'
8540 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8548 # If we're using GNU nm, then use its standard symbol codes.
8549 case `$NM -V 2>&1` in
8550 *GNU* | *'with BFD'*)
8551 symcode='[ABCDGIRSTW]' ;;
8554 # Transform an extracted symbol line into a proper C declaration.
8555 # Some systems (esp. on ia64) link data and code symbols differently,
8556 # so use this general approach.
8557 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8559 # Transform an extracted symbol line into symbol name and symbol address
8560 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8561 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'"
8563 # Handle CRLF in mingw tool chain
8567 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8571 # Try without a prefix underscore, then with it.
8572 for ac_symprfx in "" "_
"; do
8574 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8575 symxfrm="\\1 $ac_symprfx\\2 \\2"
8577 # Write the raw and C identifiers.
8578 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8579 # Fake it for dumpbin and say T for any non-static function
8580 # and D for any global variable.
8581 # Also find C++ and __fastcall symbols from MSVC++,
8582 # which start with @ or ?.
8583 lt_cv_sys_global_symbol_pipe="$AWK '"\
8584 " {last_section=section; section=\$ 3};"\
8585 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8586 " \$ 0!~/External *\|/{next};"\
8587 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8588 " {if(hide[section]) next};"\
8589 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8590 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8591 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8592 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8593 " ' prfx
=^
$ac_symprfx"
8595 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8598 # Check to see that the pipe works correctly.
8602 cat > conftest.$ac_ext <<_LT_EOF
8607 void nm_test_func(void);
8608 void nm_test_func(void){}
8612 int main(){nm_test_var='a';nm_test_func();return(0);}
8615 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8616 (eval $ac_compile) 2>&5
8618 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8619 test $ac_status = 0; }; then
8620 # Now try to grab the symbols.
8622 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8623 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8625 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8626 test $ac_status = 0; } && test -s "$nlist"; then
8627 # Try sorting and uniquifying the output.
8628 if sort "$nlist" | uniq > "$nlist"T; then
8629 mv -f "$nlist"T "$nlist"
8634 # Make sure that we snagged all the symbols we need.
8635 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8636 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8637 cat <<_LT_EOF > conftest.$ac_ext
8643 # Now generate the symbol file.
8644 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8646 cat <<_LT_EOF >> conftest.$ac_ext
8648 /* The mapping between symbol names and symbols. */
8653 lt__PROGRAM__LTX_preloaded_symbols[] =
8655 { "@PROGRAM@
", (void *) 0 },
8657 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8658 cat <<\_LT_EOF >> conftest.$ac_ext
8662 /* This works around a problem in FreeBSD linker */
8663 #ifdef FREEBSD_WORKAROUND
8664 static const void *lt_preloaded_setup() {
8665 return lt__PROGRAM__LTX_preloaded_symbols;
8673 # Now try linking the two files.
8674 mv conftest.$ac_objext conftstm.$ac_objext
8675 lt_save_LIBS="$LIBS"
8676 lt_save_CFLAGS="$CFLAGS"
8677 LIBS="conftstm.
$ac_objext"
8678 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8679 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8680 (eval $ac_link) 2>&5
8682 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8683 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8686 LIBS="$lt_save_LIBS"
8687 CFLAGS="$lt_save_CFLAGS"
8689 echo "cannot
find nm_test_func
in $nlist" >&5
8692 echo "cannot
find nm_test_var
in $nlist" >&5
8695 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8698 echo "$progname: failed program was
:" >&5
8699 cat conftest.$ac_ext >&5
8701 rm -rf conftest* conftst*
8703 # Do not use the global_symbol_pipe unless it works.
8704 if test "$pipe_works" = yes; then
8707 lt_cv_sys_global_symbol_pipe=
8713 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8714 lt_cv_sys_global_symbol_to_cdecl=
8716 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8718 $as_echo "failed
" >&6; }
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8721 $as_echo "ok
" >&6; }
8746 # Check whether --enable-libtool-lock was given.
8747 if test "${enable_libtool_lock+set}" = set; then :
8748 enableval=$enable_libtool_lock;
8751 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8753 # Some flags need to be propagated to the compiler or linker for good
8757 # Find out which ABI we are using.
8758 echo 'int i;' > conftest.$ac_ext
8759 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8760 (eval $ac_compile) 2>&5
8762 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8763 test $ac_status = 0; }; then
8764 case `/usr/bin/file conftest.$ac_objext` in
8776 # Find out which ABI we are using.
8777 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8778 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8779 (eval $ac_compile) 2>&5
8781 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8782 test $ac_status = 0; }; then
8783 if test "$lt_cv_prog_gnu_ld" = yes; then
8784 case `/usr/bin/file conftest.$ac_objext` in
8786 LD="${LD-ld} -melf32bsmip"
8789 LD="${LD-ld} -melf32bmipn32"
8792 LD="${LD-ld} -melf64bmip"
8796 case `/usr/bin/file conftest.$ac_objext` in
8812 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8813 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8814 # Find out which ABI we are using.
8815 echo 'int i;' > conftest.$ac_ext
8816 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8817 (eval $ac_compile) 2>&5
8819 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8820 test $ac_status = 0; }; then
8821 case `/usr/bin/file conftest.o` in
8824 x86_64-*kfreebsd*-gnu)
8825 LD="${LD-ld} -m elf_i386_fbsd
"
8828 LD="${LD-ld} -m elf_i386
"
8830 ppc64-*linux*|powerpc64-*linux*)
8831 LD="${LD-ld} -m elf32ppclinux
"
8834 LD="${LD-ld} -m elf_s390
"
8837 LD="${LD-ld} -m elf32_sparc
"
8843 x86_64-*kfreebsd*-gnu)
8844 LD="${LD-ld} -m elf_x86_64_fbsd
"
8847 LD="${LD-ld} -m elf_x86_64
"
8849 ppc*-*linux*|powerpc*-*linux*)
8850 LD="${LD-ld} -m elf64ppc
"
8852 s390*-*linux*|s390*-*tpf*)
8853 LD="${LD-ld} -m elf64_s390
"
8856 LD="${LD-ld} -m elf64_sparc
"
8866 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8867 SAVE_CFLAGS="$CFLAGS"
8868 CFLAGS="$CFLAGS -belf"
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8870 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8871 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8872 $as_echo_n "(cached
) " >&6
8875 ac_cpp='$CPP $CPPFLAGS'
8876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8880 if test x$gcc_no_link = xyes; then
8881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8894 if ac_fn_c_try_link "$LINENO"; then :
8895 lt_cv_cc_needs_belf=yes
8897 lt_cv_cc_needs_belf=no
8899 rm -f core conftest.err conftest.$ac_objext \
8900 conftest$ac_exeext conftest.$ac_ext
8902 ac_cpp='$CPP $CPPFLAGS'
8903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8909 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8910 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8911 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8912 CFLAGS="$SAVE_CFLAGS"
8916 # Find out which ABI we are using.
8917 echo 'int i;' > conftest.$ac_ext
8918 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8919 (eval $ac_compile) 2>&5
8921 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8922 test $ac_status = 0; }; then
8923 case `/usr/bin/file conftest.o` in
8925 case $lt_cv_prog_gnu_ld in
8926 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8928 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8940 need_locks="$enable_libtool_lock"
8944 rhapsody* | darwin*)
8945 if test -n "$ac_tool_prefix"; then
8946 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8947 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8949 $as_echo_n "checking
for $ac_word...
" >&6; }
8950 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8951 $as_echo_n "(cached
) " >&6
8953 if test -n "$DSYMUTIL"; then
8954 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8960 test -z "$as_dir" && as_dir=.
8961 for ac_exec_ext in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8973 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8974 if test -n "$DSYMUTIL"; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8976 $as_echo "$DSYMUTIL" >&6; }
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8979 $as_echo "no
" >&6; }
8984 if test -z "$ac_cv_prog_DSYMUTIL"; then
8985 ac_ct_DSYMUTIL=$DSYMUTIL
8986 # Extract the first word of "dsymutil
", so it can be a program name with args.
8987 set dummy dsymutil; ac_word=$2
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8989 $as_echo_n "checking
for $ac_word...
" >&6; }
8990 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8991 $as_echo_n "(cached
) " >&6
8993 if test -n "$ac_ct_DSYMUTIL"; then
8994 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9000 test -z "$as_dir" && as_dir=.
9001 for ac_exec_ext in '' $ac_executable_extensions; do
9002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9003 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
9004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9013 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9014 if test -n "$ac_ct_DSYMUTIL"; then
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
9016 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9019 $as_echo "no
" >&6; }
9022 if test "x
$ac_ct_DSYMUTIL" = x; then
9025 case $cross_compiling:$ac_tool_warned in
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9028 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9029 ac_tool_warned=yes ;;
9031 DSYMUTIL=$ac_ct_DSYMUTIL
9034 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9037 if test -n "$ac_tool_prefix"; then
9038 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
9039 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9041 $as_echo_n "checking
for $ac_word...
" >&6; }
9042 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
9043 $as_echo_n "(cached
) " >&6
9045 if test -n "$NMEDIT"; then
9046 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9052 test -z "$as_dir" && as_dir=.
9053 for ac_exec_ext in '' $ac_executable_extensions; do
9054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9055 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
9056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9065 NMEDIT=$ac_cv_prog_NMEDIT
9066 if test -n "$NMEDIT"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
9068 $as_echo "$NMEDIT" >&6; }
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9071 $as_echo "no
" >&6; }
9076 if test -z "$ac_cv_prog_NMEDIT"; then
9077 ac_ct_NMEDIT=$NMEDIT
9078 # Extract the first word of "nmedit
", so it can be a program name with args.
9079 set dummy nmedit; ac_word=$2
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9081 $as_echo_n "checking
for $ac_word...
" >&6; }
9082 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9083 $as_echo_n "(cached
) " >&6
9085 if test -n "$ac_ct_NMEDIT"; then
9086 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9092 test -z "$as_dir" && as_dir=.
9093 for ac_exec_ext in '' $ac_executable_extensions; do
9094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9095 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
9096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9105 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9106 if test -n "$ac_ct_NMEDIT"; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
9108 $as_echo "$ac_ct_NMEDIT" >&6; }
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9111 $as_echo "no
" >&6; }
9114 if test "x
$ac_ct_NMEDIT" = x; then
9117 case $cross_compiling:$ac_tool_warned in
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9120 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9121 ac_tool_warned=yes ;;
9123 NMEDIT=$ac_ct_NMEDIT
9126 NMEDIT="$ac_cv_prog_NMEDIT"
9129 if test -n "$ac_tool_prefix"; then
9130 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9131 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9133 $as_echo_n "checking
for $ac_word...
" >&6; }
9134 if test "${ac_cv_prog_LIPO+set}" = set; then :
9135 $as_echo_n "(cached
) " >&6
9137 if test -n "$LIPO"; then
9138 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9144 test -z "$as_dir" && as_dir=.
9145 for ac_exec_ext in '' $ac_executable_extensions; do
9146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9147 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9148 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9157 LIPO=$ac_cv_prog_LIPO
9158 if test -n "$LIPO"; then
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9160 $as_echo "$LIPO" >&6; }
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9163 $as_echo "no
" >&6; }
9168 if test -z "$ac_cv_prog_LIPO"; then
9170 # Extract the first word of "lipo
", so it can be a program name with args.
9171 set dummy lipo; ac_word=$2
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9173 $as_echo_n "checking
for $ac_word...
" >&6; }
9174 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9175 $as_echo_n "(cached
) " >&6
9177 if test -n "$ac_ct_LIPO"; then
9178 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9184 test -z "$as_dir" && as_dir=.
9185 for ac_exec_ext in '' $ac_executable_extensions; do
9186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9187 ac_cv_prog_ac_ct_LIPO="lipo
"
9188 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9197 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9198 if test -n "$ac_ct_LIPO"; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9200 $as_echo "$ac_ct_LIPO" >&6; }
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9203 $as_echo "no
" >&6; }
9206 if test "x
$ac_ct_LIPO" = x; then
9209 case $cross_compiling:$ac_tool_warned in
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9212 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9213 ac_tool_warned=yes ;;
9218 LIPO="$ac_cv_prog_LIPO"
9221 if test -n "$ac_tool_prefix"; then
9222 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9223 set dummy ${ac_tool_prefix}otool; ac_word=$2
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9225 $as_echo_n "checking
for $ac_word...
" >&6; }
9226 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9227 $as_echo_n "(cached
) " >&6
9229 if test -n "$OTOOL"; then
9230 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9236 test -z "$as_dir" && as_dir=.
9237 for ac_exec_ext in '' $ac_executable_extensions; do
9238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9239 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9249 OTOOL=$ac_cv_prog_OTOOL
9250 if test -n "$OTOOL"; then
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9252 $as_echo "$OTOOL" >&6; }
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9255 $as_echo "no
" >&6; }
9260 if test -z "$ac_cv_prog_OTOOL"; then
9262 # Extract the first word of "otool
", so it can be a program name with args.
9263 set dummy otool; ac_word=$2
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9265 $as_echo_n "checking
for $ac_word...
" >&6; }
9266 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9267 $as_echo_n "(cached
) " >&6
9269 if test -n "$ac_ct_OTOOL"; then
9270 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9276 test -z "$as_dir" && as_dir=.
9277 for ac_exec_ext in '' $ac_executable_extensions; do
9278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9279 ac_cv_prog_ac_ct_OTOOL="otool
"
9280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9289 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9290 if test -n "$ac_ct_OTOOL"; then
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9292 $as_echo "$ac_ct_OTOOL" >&6; }
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9295 $as_echo "no
" >&6; }
9298 if test "x
$ac_ct_OTOOL" = x; then
9301 case $cross_compiling:$ac_tool_warned in
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9304 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9305 ac_tool_warned=yes ;;
9310 OTOOL="$ac_cv_prog_OTOOL"
9313 if test -n "$ac_tool_prefix"; then
9314 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9315 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9317 $as_echo_n "checking
for $ac_word...
" >&6; }
9318 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9319 $as_echo_n "(cached
) " >&6
9321 if test -n "$OTOOL64"; then
9322 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9328 test -z "$as_dir" && as_dir=.
9329 for ac_exec_ext in '' $ac_executable_extensions; do
9330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9331 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9341 OTOOL64=$ac_cv_prog_OTOOL64
9342 if test -n "$OTOOL64"; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9344 $as_echo "$OTOOL64" >&6; }
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9347 $as_echo "no
" >&6; }
9352 if test -z "$ac_cv_prog_OTOOL64"; then
9353 ac_ct_OTOOL64=$OTOOL64
9354 # Extract the first word of "otool64
", so it can be a program name with args.
9355 set dummy otool64; ac_word=$2
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9357 $as_echo_n "checking
for $ac_word...
" >&6; }
9358 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9359 $as_echo_n "(cached
) " >&6
9361 if test -n "$ac_ct_OTOOL64"; then
9362 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368 test -z "$as_dir" && as_dir=.
9369 for ac_exec_ext in '' $ac_executable_extensions; do
9370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9371 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9381 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9382 if test -n "$ac_ct_OTOOL64"; then
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9384 $as_echo "$ac_ct_OTOOL64" >&6; }
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9387 $as_echo "no
" >&6; }
9390 if test "x
$ac_ct_OTOOL64" = x; then
9393 case $cross_compiling:$ac_tool_warned in
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9396 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9397 ac_tool_warned=yes ;;
9399 OTOOL64=$ac_ct_OTOOL64
9402 OTOOL64="$ac_cv_prog_OTOOL64"
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9432 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9433 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9434 $as_echo_n "(cached
) " >&6
9436 lt_cv_apple_cc_single_mod=no
9437 if test -z "${LT_MULTI_MODULE}"; then
9438 # By default we will add the -single_module flag. You can override
9439 # by either setting the environment variable LT_MULTI_MODULE
9440 # non-empty at configure time, or by adding -multi_module to the
9442 rm -rf libconftest.dylib*
9443 echo "int foo
(void
){return 1;}" > conftest.c
9444 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9445 -dynamiclib -Wl,-single_module conftest.c
" >&5
9446 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9447 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9449 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9450 lt_cv_apple_cc_single_mod=yes
9452 cat conftest.err >&5
9454 rm -rf libconftest.dylib*
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9459 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9461 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9462 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9463 $as_echo_n "(cached
) " >&6
9465 lt_cv_ld_exported_symbols_list=no
9466 save_LDFLAGS=$LDFLAGS
9467 echo "_main
" > conftest.sym
9468 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9469 if test x$gcc_no_link = xyes; then
9470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9483 if ac_fn_c_try_link "$LINENO"; then :
9484 lt_cv_ld_exported_symbols_list=yes
9486 lt_cv_ld_exported_symbols_list=no
9488 rm -f core conftest.err conftest.$ac_objext \
9489 conftest$ac_exeext conftest.$ac_ext
9490 LDFLAGS="$save_LDFLAGS"
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9494 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9496 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9497 if test "${lt_cv_ld_force_load+set}" = set; then :
9498 $as_echo_n "(cached
) " >&6
9500 lt_cv_ld_force_load=no
9501 cat > conftest.c << _LT_EOF
9502 int forced_loaded() { return 2;}
9504 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9505 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9506 echo "$AR cru libconftest.a conftest.o
" >&5
9507 $AR cru libconftest.a conftest.o 2>&5
9508 cat > conftest.c << _LT_EOF
9509 int main() { return 0;}
9511 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9512 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9514 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9515 lt_cv_ld_force_load=yes
9517 cat conftest.err >&5
9519 rm -f conftest.err libconftest.a conftest conftest.c
9520 rm -rf conftest.dSYM
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9524 $as_echo "$lt_cv_ld_force_load" >&6; }
9526 rhapsody* | darwin1.[012])
9527 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9529 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9530 darwin*) # darwin 5.x on
9531 # if running on 10.5 or later, the deployment target defaults
9532 # to the OS version, if on x86, and 10.4, the deployment
9533 # target defaults to 10.4. Don't you love it?
9534 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9535 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9536 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9538 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9540 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9544 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9545 _lt_dar_single_mod='$single_module'
9547 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9548 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9550 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9552 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9553 _lt_dsymutil='~$DSYMUTIL $lib || :'
9561 ac_cpp='$CPP $CPPFLAGS'
9562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
9566 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
9567 # On Suns, sometimes $CPP names a directory.
9568 if test -n "$CPP" && test -d "$CPP"; then
9571 if test -z "$CPP"; then
9572 if test "${ac_cv_prog_CPP+set}" = set; then :
9573 $as_echo_n "(cached
) " >&6
9575 # Double quotes because CPP needs to be expanded
9576 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
9579 for ac_c_preproc_warn_flag in '' yes
9581 # Use a header file that comes with gcc, so configuring glibc
9582 # with a fresh cross-compiler works.
9583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9584 # <limits.h> exists even on freestanding compilers.
9585 # On the NeXT, cc -E runs the code through the compiler's parser,
9586 # not just through cpp. "Syntax error
" is here to catch this case.
9587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9590 # include <limits.h>
9592 # include <assert.h>
9596 if ac_fn_c_try_cpp "$LINENO"; then :
9599 # Broken: fails on valid input.
9602 rm -f conftest.err conftest.$ac_ext
9604 # OK, works on sane cases. Now check whether nonexistent headers
9605 # can be detected and how.
9606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9607 /* end confdefs.h. */
9608 #include <ac_nonexistent.h>
9610 if ac_fn_c_try_cpp "$LINENO"; then :
9611 # Broken: success on invalid input.
9614 # Passes both tests.
9618 rm -f conftest.err conftest.$ac_ext
9621 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9622 rm -f conftest.err conftest.$ac_ext
9623 if $ac_preproc_ok; then :
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
9636 $as_echo "$CPP" >&6; }
9638 for ac_c_preproc_warn_flag in '' yes
9640 # Use a header file that comes with gcc, so configuring glibc
9641 # with a fresh cross-compiler works.
9642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9643 # <limits.h> exists even on freestanding compilers.
9644 # On the NeXT, cc -E runs the code through the compiler's parser,
9645 # not just through cpp. "Syntax error
" is here to catch this case.
9646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9647 /* end confdefs.h. */
9649 # include <limits.h>
9651 # include <assert.h>
9655 if ac_fn_c_try_cpp "$LINENO"; then :
9658 # Broken: fails on valid input.
9661 rm -f conftest.err conftest.$ac_ext
9663 # OK, works on sane cases. Now check whether nonexistent headers
9664 # can be detected and how.
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9667 #include <ac_nonexistent.h>
9669 if ac_fn_c_try_cpp "$LINENO"; then :
9670 # Broken: success on invalid input.
9673 # Passes both tests.
9677 rm -f conftest.err conftest.$ac_ext
9680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9681 rm -f conftest.err conftest.$ac_ext
9682 if $ac_preproc_ok; then :
9685 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
9686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9687 as_fn_error "C preprocessor \"$CPP\" fails sanity check
9688 See \`config.log' for more details.
" "$LINENO" 5; }
9692 ac_cpp='$CPP $CPPFLAGS'
9693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
9699 $as_echo_n "checking
for ANSI C header files...
" >&6; }
9700 if test "${ac_cv_header_stdc+set}" = set; then :
9701 $as_echo_n "(cached
) " >&6
9703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9704 /* end confdefs.h. */
9718 if ac_fn_c_try_compile "$LINENO"; then :
9719 ac_cv_header_stdc=yes
9721 ac_cv_header_stdc=no
9723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9725 if test $ac_cv_header_stdc = yes; then
9726 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9732 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9733 $EGREP "memchr
" >/dev/null 2>&1; then :
9736 ac_cv_header_stdc=no
9742 if test $ac_cv_header_stdc = yes; then
9743 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9749 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9750 $EGREP "free
" >/dev/null 2>&1; then :
9753 ac_cv_header_stdc=no
9759 if test $ac_cv_header_stdc = yes; then
9760 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9761 if test "$cross_compiling" = yes; then :
9764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9765 /* end confdefs.h. */
9768 #if ((' ' & 0x0FF) == 0x020)
9769 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9770 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9772 # define ISLOWER(c) \
9773 (('a' <= (c) && (c) <= 'i') \
9774 || ('j' <= (c) && (c) <= 'r') \
9775 || ('s' <= (c) && (c) <= 'z'))
9776 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9779 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9784 for (i = 0; i < 256; i++)
9785 if (XOR (islower (i), ISLOWER (i))
9786 || toupper (i) != TOUPPER (i))
9791 if ac_fn_c_try_run "$LINENO"; then :
9794 ac_cv_header_stdc=no
9796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9797 conftest.$ac_objext conftest.beam conftest.$ac_ext
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
9803 $as_echo "$ac_cv_header_stdc" >&6; }
9804 if test $ac_cv_header_stdc = yes; then
9806 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9810 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9811 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9812 inttypes.h stdint.h unistd.h
9814 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9815 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9817 eval as_val
=\$
$as_ac_Header
9818 if test "x$as_val" = x
""yes; then :
9819 cat >>confdefs.h
<<_ACEOF
9820 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9828 for ac_header
in dlfcn.h
9830 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9832 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
9833 cat >>confdefs.h
<<_ACEOF
9834 #define HAVE_DLFCN_H 1
9854 # Check whether --enable-shared was given.
9855 if test "${enable_shared+set}" = set; then :
9856 enableval
=$enable_shared; p
=${PACKAGE-default}
9858 yes) enable_shared
=yes ;;
9859 no
) enable_shared
=no
;;
9862 # Look at the argument we got. We use all the common list separators.
9863 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9864 for pkg
in $enableval; do
9866 if test "X$pkg" = "X$p"; then
9885 # Check whether --enable-static was given.
9886 if test "${enable_static+set}" = set; then :
9887 enableval
=$enable_static; p
=${PACKAGE-default}
9889 yes) enable_static
=yes ;;
9890 no
) enable_static
=no
;;
9893 # Look at the argument we got. We use all the common list separators.
9894 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9895 for pkg
in $enableval; do
9897 if test "X$pkg" = "X$p"; then
9917 # Check whether --with-pic was given.
9918 if test "${with_pic+set}" = set; then :
9919 withval
=$with_pic; pic_mode
="$withval"
9925 test -z "$pic_mode" && pic_mode
=default
9933 # Check whether --enable-fast-install was given.
9934 if test "${enable_fast_install+set}" = set; then :
9935 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9937 yes) enable_fast_install
=yes ;;
9938 no
) enable_fast_install
=no
;;
9940 enable_fast_install
=no
9941 # Look at the argument we got. We use all the common list separators.
9942 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9943 for pkg
in $enableval; do
9945 if test "X$pkg" = "X$p"; then
9946 enable_fast_install
=yes
9953 enable_fast_install
=yes
9966 # This can be used to rebuild libtool when needed
9967 LIBTOOL_DEPS
="$ltmain"
9969 # Always use our own libtool.
9970 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9997 test -z "$LN_S" && LN_S
="ln -s"
10012 if test -n "${ZSH_VERSION+set}" ; then
10013 setopt NO_GLOB_SUBST
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10017 $as_echo_n "checking for objdir... " >&6; }
10018 if test "${lt_cv_objdir+set}" = set; then :
10019 $as_echo_n "(cached) " >&6
10021 rm -f .libs
2>/dev
/null
10022 mkdir .libs
2>/dev
/null
10023 if test -d .libs
; then
10026 # MS-DOS does not allow filenames that begin with a dot.
10029 rmdir .libs
2>/dev
/null
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10032 $as_echo "$lt_cv_objdir" >&6; }
10033 objdir
=$lt_cv_objdir
10039 cat >>confdefs.h
<<_ACEOF
10040 #define LT_OBJDIR "$lt_cv_objdir/"
10048 # AIX sometimes has problems with the GCC collect2 program. For some
10049 # reason, if we set the COLLECT_NAMES environment variable, the problems
10050 # vanish in a puff of smoke.
10051 if test "X${COLLECT_NAMES+set}" != Xset
; then
10053 export COLLECT_NAMES
10058 # Global variables:
10060 can_build_shared
=yes
10062 # All known linkers require a `.a' archive for static linking (except MSVC,
10063 # which needs '.lib').
10066 with_gnu_ld
="$lt_cv_prog_gnu_ld"
10069 old_CFLAGS
="$CFLAGS"
10071 # Set sane defaults for various variables
10072 test -z "$CC" && CC
=cc
10073 test -z "$LTCC" && LTCC
=$CC
10074 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10075 test -z "$LD" && LD
=ld
10076 test -z "$ac_objext" && ac_objext
=o
10078 for cc_temp
in $compiler""; do
10080 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10081 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10086 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10089 # Only perform the check for file, if the check method requires it
10090 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10091 case $deplibs_check_method in
10093 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10095 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10096 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10097 $as_echo_n "(cached) " >&6
10101 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10104 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10105 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10106 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10107 for ac_dir
in $ac_dummy; do
10109 test -z "$ac_dir" && ac_dir
=.
10110 if test -f $ac_dir/${ac_tool_prefix}file; then
10111 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
10112 if test -n "$file_magic_test_file"; then
10113 case $deplibs_check_method in
10115 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10116 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10117 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10118 $EGREP "$file_magic_regex" > /dev
/null
; then
10123 *** Warning: the command libtool uses to detect shared libraries,
10124 *** $file_magic_cmd, produces output that libtool cannot recognize.
10125 *** The result is that libtool may fail to recognize shared libraries
10126 *** as such. This will affect the creation of libtool libraries that
10127 *** depend on shared libraries, but programs linked with such libtool
10128 *** libraries will work regardless of this problem. Nevertheless, you
10129 *** may want to report the problem to your system manager and/or to
10130 *** bug-libtool@gnu.org
10140 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10145 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10146 if test -n "$MAGIC_CMD"; then
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10148 $as_echo "$MAGIC_CMD" >&6; }
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10151 $as_echo "no" >&6; }
10158 if test -z "$lt_cv_path_MAGIC_CMD"; then
10159 if test -n "$ac_tool_prefix"; then
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10161 $as_echo_n "checking for file... " >&6; }
10162 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10163 $as_echo_n "(cached) " >&6
10167 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10170 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10171 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10172 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10173 for ac_dir
in $ac_dummy; do
10175 test -z "$ac_dir" && ac_dir
=.
10176 if test -f $ac_dir/file; then
10177 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
10178 if test -n "$file_magic_test_file"; then
10179 case $deplibs_check_method in
10181 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10182 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10183 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10184 $EGREP "$file_magic_regex" > /dev
/null
; then
10189 *** Warning: the command libtool uses to detect shared libraries,
10190 *** $file_magic_cmd, produces output that libtool cannot recognize.
10191 *** The result is that libtool may fail to recognize shared libraries
10192 *** as such. This will affect the creation of libtool libraries that
10193 *** depend on shared libraries, but programs linked with such libtool
10194 *** libraries will work regardless of this problem. Nevertheless, you
10195 *** may want to report the problem to your system manager and/or to
10196 *** bug-libtool@gnu.org
10206 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10211 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10212 if test -n "$MAGIC_CMD"; then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10214 $as_echo "$MAGIC_CMD" >&6; }
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10217 $as_echo "no" >&6; }
10230 # Use C for the default configuration in the libtool script
10234 ac_cpp
='$CPP $CPPFLAGS'
10235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10240 # Source file extension for C test sources.
10243 # Object file extension for compiled C test sources.
10247 # Code to be used in simple compile tests
10248 lt_simple_compile_test_code
="int some_variable = 0;"
10250 # Code to be used in simple link tests
10251 lt_simple_link_test_code
='int main(){return(0);}'
10259 # If no C compiler was specified, use CC.
10262 # If no C compiler flags were specified, use CFLAGS.
10263 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10265 # Allow CC to be a program name with arguments.
10268 # Save the default compiler, since it gets overwritten when the other
10269 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10270 compiler_DEFAULT
=$CC
10272 # save warnings/boilerplate of simple test code
10273 ac_outfile
=conftest.
$ac_objext
10274 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10275 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10276 _lt_compiler_boilerplate
=`cat conftest.err`
10279 ac_outfile
=conftest.
$ac_objext
10280 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10281 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10282 _lt_linker_boilerplate
=`cat conftest.err`
10287 ## There is no encapsulation within the following macros, do not change
10288 ## the running order or otherwise move them around unless you know exactly
10289 ## what you are doing...
10290 if test -n "$compiler"; then
10292 lt_prog_compiler_no_builtin_flag
=
10294 if test "$GCC" = yes; then
10295 case $cc_basename in
10297 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10299 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10303 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10304 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10305 $as_echo_n "(cached) " >&6
10307 lt_cv_prog_compiler_rtti_exceptions
=no
10308 ac_outfile
=conftest.
$ac_objext
10309 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10310 lt_compiler_flag
="-fno-rtti -fno-exceptions"
10311 # Insert the option either (1) after the last *FLAGS variable, or
10312 # (2) before a word containing "conftest.", or (3) at the end.
10313 # Note that $ac_compile itself does not contain backslashes and begins
10314 # with a dollar sign (not a hyphen), so the echo should work correctly.
10315 # The option is referenced via a variable to avoid confusing sed.
10316 lt_compile
=`echo "$ac_compile" | $SED \
10317 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10318 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10319 -e 's:$: $lt_compiler_flag:'`
10320 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10321 (eval "$lt_compile" 2>conftest.err
)
10323 cat conftest.err
>&5
10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 if (exit $ac_status) && test -s "$ac_outfile"; then
10326 # The compiler can only warn and ignore the option if not recognized
10327 # So say no if there are warnings other than the usual output.
10328 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10329 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10330 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10331 lt_cv_prog_compiler_rtti_exceptions
=yes
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10338 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10340 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
10341 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10353 lt_prog_compiler_wl
=
10354 lt_prog_compiler_pic
=
10355 lt_prog_compiler_static
=
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10358 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10360 if test "$GCC" = yes; then
10361 lt_prog_compiler_wl
='-Wl,'
10362 lt_prog_compiler_static
='-static'
10366 # All AIX code is PIC.
10367 if test "$host_cpu" = ia64
; then
10368 # AIX 5 now supports IA64 processor
10369 lt_prog_compiler_static
='-Bstatic'
10376 # see comment about AmigaOS4 .so support
10377 lt_prog_compiler_pic
='-fPIC'
10380 # FIXME: we need at least 68020 code to build shared libraries, but
10381 # adding the `-m68020' flag to GCC prevents building anything better,
10383 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10388 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10389 # PIC is the default for these OSes.
10392 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10393 # This hack is so that the source file can tell whether it is being
10394 # built for inclusion in a dll (and should export symbols for example).
10395 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10396 # (--disable-auto-import) libraries
10397 lt_prog_compiler_pic
='-DDLL_EXPORT'
10400 darwin
* | rhapsody
*)
10401 # PIC is the default on this platform
10402 # Common symbols not allowed in MH_DYLIB files
10403 lt_prog_compiler_pic
='-fno-common'
10407 # PIC is the default for Haiku.
10408 # The "-static" flag exists, but is broken.
10409 lt_prog_compiler_static
=
10413 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10414 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10415 # sets the default TLS model and affects inlining.
10421 lt_prog_compiler_pic
='-fPIC'
10427 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10428 # Instead, we relocate shared libraries at runtime.
10432 # Just because we use GCC doesn't mean we suddenly get shared libraries
10433 # on systems that don't support them.
10434 lt_prog_compiler_can_build_shared
=no
10439 # QNX uses GNU C++, but need to define -shared option too, otherwise
10440 # it will coredump.
10441 lt_prog_compiler_pic
='-fPIC -shared'
10445 if test -d /usr
/nec
; then
10446 lt_prog_compiler_pic
=-Kconform_pic
10451 lt_prog_compiler_pic
='-fPIC'
10455 case $cc_basename in
10456 nvcc
*) # Cuda Compiler Driver 2.2
10457 lt_prog_compiler_wl
='-Xlinker '
10458 lt_prog_compiler_pic
='-Xcompiler -fPIC'
10462 # PORTME Check for flag to pass linker flags through the system compiler.
10465 lt_prog_compiler_wl
='-Wl,'
10466 if test "$host_cpu" = ia64
; then
10467 # AIX 5 now supports IA64 processor
10468 lt_prog_compiler_static
='-Bstatic'
10470 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10474 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10475 # This hack is so that the source file can tell whether it is being
10476 # built for inclusion in a dll (and should export symbols for example).
10477 lt_prog_compiler_pic
='-DDLL_EXPORT'
10480 hpux9
* | hpux10
* | hpux11
*)
10481 lt_prog_compiler_wl
='-Wl,'
10482 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10483 # not for PA HP-UX.
10489 lt_prog_compiler_pic
='+Z'
10492 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10493 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10496 irix5
* | irix6
* | nonstopux
*)
10497 lt_prog_compiler_wl
='-Wl,'
10498 # PIC (with -KPIC) is the default.
10499 lt_prog_compiler_static
='-non_shared'
10502 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10503 case $cc_basename in
10504 # old Intel for x86_64 which still supported -KPIC.
10506 lt_prog_compiler_wl
='-Wl,'
10507 lt_prog_compiler_pic
='-KPIC'
10508 lt_prog_compiler_static
='-static'
10510 # icc used to be incompatible with GCC.
10511 # ICC 10 doesn't accept -KPIC any more.
10513 lt_prog_compiler_wl
='-Wl,'
10514 lt_prog_compiler_pic
='-fPIC'
10515 lt_prog_compiler_static
='-static'
10517 # Lahey Fortran 8.1.
10519 lt_prog_compiler_wl
='-Wl,'
10520 lt_prog_compiler_pic
='--shared'
10521 lt_prog_compiler_static
='--static'
10523 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10524 # Portland Group compilers (*not* the Pentium gcc compiler,
10525 # which looks to be a dead project)
10526 lt_prog_compiler_wl
='-Wl,'
10527 lt_prog_compiler_pic
='-fpic'
10528 lt_prog_compiler_static
='-Bstatic'
10531 lt_prog_compiler_wl
='-Wl,'
10532 # All Alpha code is PIC.
10533 lt_prog_compiler_static
='-non_shared'
10535 xl
* | bgxl
* | bgf
* | mpixl
*)
10536 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10537 lt_prog_compiler_wl
='-Wl,'
10538 lt_prog_compiler_pic
='-qpic'
10539 lt_prog_compiler_static
='-qstaticlink'
10542 case `$CC -V 2>&1 | sed 5q` in
10543 *Sun\ F
* |
*Sun
*Fortran
*)
10544 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10545 lt_prog_compiler_pic
='-KPIC'
10546 lt_prog_compiler_static
='-Bstatic'
10547 lt_prog_compiler_wl
=''
10551 lt_prog_compiler_pic
='-KPIC'
10552 lt_prog_compiler_static
='-Bstatic'
10553 lt_prog_compiler_wl
='-Wl,'
10561 lt_prog_compiler_pic
='-KPIC'
10562 lt_prog_compiler_static
='-Bstatic'
10566 # QNX uses GNU C++, but need to define -shared option too, otherwise
10567 # it will coredump.
10568 lt_prog_compiler_pic
='-fPIC -shared'
10571 osf3
* | osf4
* | osf5
*)
10572 lt_prog_compiler_wl
='-Wl,'
10573 # All OSF/1 code is PIC.
10574 lt_prog_compiler_static
='-non_shared'
10578 lt_prog_compiler_static
='-non_shared'
10582 lt_prog_compiler_pic
='-KPIC'
10583 lt_prog_compiler_static
='-Bstatic'
10584 case $cc_basename in
10585 f77
* | f90
* | f95
*)
10586 lt_prog_compiler_wl
='-Qoption ld ';;
10588 lt_prog_compiler_wl
='-Wl,';;
10593 lt_prog_compiler_wl
='-Qoption ld '
10594 lt_prog_compiler_pic
='-PIC'
10595 lt_prog_compiler_static
='-Bstatic'
10598 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10599 lt_prog_compiler_wl
='-Wl,'
10600 lt_prog_compiler_pic
='-KPIC'
10601 lt_prog_compiler_static
='-Bstatic'
10605 if test -d /usr
/nec
;then
10606 lt_prog_compiler_pic
='-Kconform_pic'
10607 lt_prog_compiler_static
='-Bstatic'
10611 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10612 lt_prog_compiler_wl
='-Wl,'
10613 lt_prog_compiler_pic
='-KPIC'
10614 lt_prog_compiler_static
='-Bstatic'
10618 lt_prog_compiler_wl
='-Wl,'
10619 lt_prog_compiler_can_build_shared
=no
10623 lt_prog_compiler_pic
='-pic'
10624 lt_prog_compiler_static
='-Bstatic'
10628 lt_prog_compiler_can_build_shared
=no
10634 # For platforms which do not support PIC, -DPIC is meaningless:
10636 lt_prog_compiler_pic
=
10639 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10643 $as_echo "$lt_prog_compiler_pic" >&6; }
10651 # Check to make sure the PIC flag actually works.
10653 if test -n "$lt_prog_compiler_pic"; then
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10655 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10656 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10657 $as_echo_n "(cached) " >&6
10659 lt_cv_prog_compiler_pic_works
=no
10660 ac_outfile
=conftest.
$ac_objext
10661 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10662 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10663 # Insert the option either (1) after the last *FLAGS variable, or
10664 # (2) before a word containing "conftest.", or (3) at the end.
10665 # Note that $ac_compile itself does not contain backslashes and begins
10666 # with a dollar sign (not a hyphen), so the echo should work correctly.
10667 # The option is referenced via a variable to avoid confusing sed.
10668 lt_compile
=`echo "$ac_compile" | $SED \
10669 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10670 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10671 -e 's:$: $lt_compiler_flag:'`
10672 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10673 (eval "$lt_compile" 2>conftest.err
)
10675 cat conftest.err
>&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 if (exit $ac_status) && test -s "$ac_outfile"; then
10678 # The compiler can only warn and ignore the option if not recognized
10679 # So say no if there are warnings other than the usual output.
10680 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10681 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10682 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10683 lt_cv_prog_compiler_pic_works
=yes
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10690 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10692 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10693 case $lt_prog_compiler_pic in
10695 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10698 lt_prog_compiler_pic
=
10699 lt_prog_compiler_can_build_shared
=no
10710 # Check to make sure the static flag actually works.
10712 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10714 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10715 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10716 $as_echo_n "(cached) " >&6
10718 lt_cv_prog_compiler_static_works
=no
10719 save_LDFLAGS
="$LDFLAGS"
10720 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10721 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10722 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10723 # The linker can only warn and ignore the option if not recognized
10724 # So say no if there are warnings
10725 if test -s conftest.err
; then
10726 # Append any errors to the config.log.
10727 cat conftest.err
1>&5
10728 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10729 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10730 if diff conftest.exp conftest.er2
>/dev
/null
; then
10731 lt_cv_prog_compiler_static_works
=yes
10734 lt_cv_prog_compiler_static_works
=yes
10738 LDFLAGS
="$save_LDFLAGS"
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10742 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10744 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10747 lt_prog_compiler_static
=
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10757 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10758 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10759 $as_echo_n "(cached) " >&6
10761 lt_cv_prog_compiler_c_o
=no
10762 $RM -r conftest
2>/dev
/null
10766 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10768 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10769 # Insert the option either (1) after the last *FLAGS variable, or
10770 # (2) before a word containing "conftest.", or (3) at the end.
10771 # Note that $ac_compile itself does not contain backslashes and begins
10772 # with a dollar sign (not a hyphen), so the echo should work correctly.
10773 lt_compile
=`echo "$ac_compile" | $SED \
10774 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10776 -e 's:$: $lt_compiler_flag:'`
10777 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10778 (eval "$lt_compile" 2>out
/conftest.err
)
10780 cat out
/conftest.err
>&5
10781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10782 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10784 # The compiler can only warn and ignore the option if not recognized
10785 # So say no if there are warnings
10786 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10787 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10788 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10789 lt_cv_prog_compiler_c_o
=yes
10794 # SGI C++ compiler will create directory out/ii_files/ for
10795 # template instantiation
10796 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10797 $RM out
/* && rmdir out
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10804 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10812 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10813 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10814 $as_echo_n "(cached) " >&6
10816 lt_cv_prog_compiler_c_o
=no
10817 $RM -r conftest
2>/dev
/null
10821 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10823 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10824 # Insert the option either (1) after the last *FLAGS variable, or
10825 # (2) before a word containing "conftest.", or (3) at the end.
10826 # Note that $ac_compile itself does not contain backslashes and begins
10827 # with a dollar sign (not a hyphen), so the echo should work correctly.
10828 lt_compile
=`echo "$ac_compile" | $SED \
10829 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10830 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10831 -e 's:$: $lt_compiler_flag:'`
10832 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10833 (eval "$lt_compile" 2>out
/conftest.err
)
10835 cat out
/conftest.err
>&5
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10839 # The compiler can only warn and ignore the option if not recognized
10840 # So say no if there are warnings
10841 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10842 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10843 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10844 lt_cv_prog_compiler_c_o
=yes
10849 # SGI C++ compiler will create directory out/ii_files/ for
10850 # template instantiation
10851 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10852 $RM out
/* && rmdir out
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10859 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10864 hard_links
="nottested"
10865 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10866 # do not overwrite the value of need_locks provided by the user
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10868 $as_echo_n "checking if we can lock with hard links... " >&6; }
10871 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10873 ln conftest.a conftest.b
2>&5 || hard_links
=no
10874 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10876 $as_echo "$hard_links" >&6; }
10877 if test "$hard_links" = no
; then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10879 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10892 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10895 allow_undefined_flag
=
10896 always_export_symbols
=no
10898 archive_expsym_cmds
=
10899 compiler_needs_object
=no
10900 enable_shared_with_static_runtimes
=no
10901 export_dynamic_flag_spec
=
10902 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10903 hardcode_automatic
=no
10905 hardcode_direct_absolute
=no
10906 hardcode_libdir_flag_spec
=
10907 hardcode_libdir_flag_spec_ld
=
10908 hardcode_libdir_separator
=
10909 hardcode_minus_L
=no
10910 hardcode_shlibpath_var
=unsupported
10912 link_all_deplibs
=unknown
10914 module_expsym_cmds
=
10915 old_archive_from_new_cmds
=
10916 old_archive_from_expsyms_cmds
=
10917 thread_safe_flag_spec
=
10918 whole_archive_flag_spec
=
10919 # include_expsyms should be a list of space-separated symbols to be *always*
10920 # included in the symbol list
10922 # exclude_expsyms can be an extended regexp of symbols to exclude
10923 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10924 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10925 # as well as any symbol that contains `d'.
10926 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10927 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10928 # platforms (ab)use it in PIC code, but their linkers get confused if
10929 # the symbol is explicitly referenced. Since portable code cannot
10930 # rely on this symbol name, it's probably fine to never include it in
10931 # preloaded symbol tables.
10932 # Exclude shared library initialization/finalization symbols.
10933 extract_expsyms_cmds
=
10936 cygwin
* | mingw
* | pw32
* | cegcc
*)
10937 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10938 # When not using gcc, we currently assume that we are using
10939 # Microsoft Visual C++.
10940 if test "$GCC" != yes; then
10945 # we just hope/assume this is gcc and not c89 (= MSVC++)
10955 # On some targets, GNU ld is compatible enough with the native linker
10956 # that we're better off using the native interface for both.
10957 lt_use_gnu_ld_interface
=no
10958 if test "$with_gnu_ld" = yes; then
10961 # The AIX port of GNU ld has always aspired to compatibility
10962 # with the native linker. However, as the warning in the GNU ld
10963 # block says, versions before 2.19.5* couldn't really create working
10964 # shared libraries, regardless of the interface used.
10965 case `$LD -v 2>&1` in
10966 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10967 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10968 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10970 lt_use_gnu_ld_interface
=yes
10975 lt_use_gnu_ld_interface
=yes
10980 if test "$lt_use_gnu_ld_interface" = yes; then
10981 # If archive_cmds runs LD, not CC, wlarc should be empty
10984 # Set some defaults for GNU ld with shared library support. These
10985 # are reset later if shared libraries are not supported. Putting them
10986 # here allows them to be overridden if necessary.
10987 runpath_var
=LD_RUN_PATH
10988 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10989 export_dynamic_flag_spec
='${wl}--export-dynamic'
10990 # ancient GNU ld didn't support --whole-archive et. al.
10991 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10992 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10994 whole_archive_flag_spec
=
10996 supports_anon_versioning
=no
10997 case `$LD -v 2>&1` in
10998 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10999 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11000 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11001 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11002 *\
2.11.
*) ;; # other 2.11 versions
11003 *) supports_anon_versioning
=yes ;;
11006 # See if GNU ld supports shared libraries.
11009 # On AIX/PPC, the GNU linker is very broken
11010 if test "$host_cpu" != ia64
; then
11014 *** Warning: the GNU linker, at least up to release 2.19, is reported
11015 *** to be unable to reliably create shared libraries on AIX.
11016 *** Therefore, libtool is disabling shared libraries support. If you
11017 *** really care for shared libraries, you may want to install binutils
11018 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11019 *** You will then need to restart the configuration process.
11028 # see comment about AmigaOS4 .so support
11029 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11030 archive_expsym_cmds
=''
11033 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)'
11034 hardcode_libdir_flag_spec
='-L$libdir'
11035 hardcode_minus_L
=yes
11041 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11042 allow_undefined_flag
=unsupported
11043 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11044 # support --undefined. This deserves some investigation. FIXME
11045 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11051 cygwin
* | mingw
* | pw32
* | cegcc
*)
11052 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11053 # as there is no search path for DLLs.
11054 hardcode_libdir_flag_spec
='-L$libdir'
11055 export_dynamic_flag_spec
='${wl}--export-all-symbols'
11056 allow_undefined_flag
=unsupported
11057 always_export_symbols
=no
11058 enable_shared_with_static_runtimes
=yes
11059 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11061 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11062 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11063 # If the export-symbols file already is a .def file (1st line
11064 # is EXPORTS), use it as is; otherwise, prepend...
11065 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11066 cp $export_symbols $output_objdir/$soname.def;
11068 echo EXPORTS > $output_objdir/$soname.def;
11069 cat $export_symbols >> $output_objdir/$soname.def;
11071 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11078 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11079 link_all_deplibs
=yes
11084 hardcode_shlibpath_var
=no
11085 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11086 export_dynamic_flag_spec
='${wl}-E'
11087 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11088 # Instead, shared libraries are loaded at an image base (0x10000000 by
11089 # default) and relocated if they conflict, which is a slow very memory
11090 # consuming and fragmenting process. To avoid this, we pick a random,
11091 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11092 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11093 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11094 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'
11097 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11099 if test "$host_os" = linux-dietlibc
; then
11100 case $cc_basename in
11101 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11104 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11105 && test "$tmp_diet" = no
11108 tmp_sharedflag
='-shared'
11109 case $cc_basename,$host_cpu in
11110 pgcc
*) # Portland Group C compiler
11111 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'
11112 tmp_addflag
=' $pic_flag'
11114 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11115 # Portland Group f77 and f90 compilers
11116 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'
11117 tmp_addflag
=' $pic_flag -Mnomain' ;;
11118 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11119 tmp_addflag
=' -i_dynamic' ;;
11120 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11121 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11122 ifc
* | ifort
*) # Intel Fortran compiler
11123 tmp_addflag
=' -nofor_main' ;;
11124 lf95
*) # Lahey Fortran 8.1
11125 whole_archive_flag_spec
=
11126 tmp_sharedflag
='--shared' ;;
11127 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11128 tmp_sharedflag
='-qmkshrobj'
11130 nvcc
*) # Cuda Compiler Driver 2.2
11131 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'
11132 compiler_needs_object
=yes
11135 case `$CC -V 2>&1 | sed 5q` in
11136 *Sun\ C
*) # Sun C 5.9
11137 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'
11138 compiler_needs_object
=yes
11139 tmp_sharedflag
='-G' ;;
11140 *Sun\ F
*) # Sun Fortran 8.3
11141 tmp_sharedflag
='-G' ;;
11143 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11145 if test "x$supports_anon_versioning" = xyes
; then
11146 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11147 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11148 echo "local: *; };" >> $output_objdir/$libname.ver~
11149 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11152 case $cc_basename in
11153 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11154 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11155 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11156 hardcode_libdir_flag_spec
=
11157 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11158 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11159 if test "x$supports_anon_versioning" = xyes
; then
11160 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11161 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11162 echo "local: *; };" >> $output_objdir/$libname.ver~
11163 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11173 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11174 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11177 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11178 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11183 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11187 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11188 *** create shared libraries on Solaris systems. Therefore, libtool
11189 *** is disabling shared libraries support. We urge you to upgrade GNU
11190 *** binutils to release 2.9.1 or newer. Another option is to modify
11191 *** your PATH or compiler configuration so that the native linker is
11192 *** used, and then restart.
11195 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11196 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11197 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11203 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11204 case `$LD -v 2>&1` in
11205 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11209 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11210 *** reliably create shared libraries on SCO systems. Therefore, libtool
11211 *** is disabling shared libraries support. We urge you to upgrade GNU
11212 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11213 *** your PATH or compiler configuration so that the native linker is
11214 *** used, and then restart.
11219 # For security reasons, it is highly recommended that you always
11220 # use absolute paths for naming shared libraries, and exclude the
11221 # DT_RUNPATH tag from executables and libraries. But doing so
11222 # requires that you compile everything twice, which is a pain.
11223 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11224 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11225 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11226 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11235 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11237 hardcode_direct
=yes
11238 hardcode_shlibpath_var
=no
11242 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
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'
11251 if test "$ld_shlibs" = no
; then
11253 hardcode_libdir_flag_spec
=
11254 export_dynamic_flag_spec
=
11255 whole_archive_flag_spec
=
11258 # PORTME fill in a description of your system's linker (not GNU ld)
11261 allow_undefined_flag
=unsupported
11262 always_export_symbols
=yes
11263 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'
11264 # Note: this linker hardcodes the directories in LIBPATH if there
11265 # are no directories specified by -L.
11266 hardcode_minus_L
=yes
11267 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11268 # Neither direct hardcoding nor static linking is supported with a
11270 hardcode_direct
=unsupported
11275 if test "$host_cpu" = ia64
; then
11276 # On IA64, the linker does run time linking by default, so we don't
11277 # have to do anything special.
11278 aix_use_runtimelinking
=no
11279 exp_sym_flag
='-Bexport'
11282 # If we're using GNU nm, then we don't want the "-C" option.
11283 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11284 # Also, AIX nm treats weak defined symbols like other global
11285 # defined symbols, whereas GNU nm marks them as "W".
11286 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11287 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'
11289 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'
11291 aix_use_runtimelinking
=no
11293 # Test if we are trying to use run time linking or normal
11294 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11295 # need to do runtime linking.
11296 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11297 for ld_flag
in $LDFLAGS; do
11298 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11299 aix_use_runtimelinking
=yes
11306 exp_sym_flag
='-bexport'
11307 no_entry_flag
='-bnoentry'
11310 # When large executables or shared objects are built, AIX ld can
11311 # have problems creating the table of contents. If linking a library
11312 # or program results in "error TOC overflow" add -mminimal-toc to
11313 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11314 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11317 hardcode_direct
=yes
11318 hardcode_direct_absolute
=yes
11319 hardcode_libdir_separator
=':'
11320 link_all_deplibs
=yes
11321 file_list_spec
='${wl}-f,'
11323 if test "$GCC" = yes; then
11324 case $host_os in aix4.
[012]|aix4.
[012].
*)
11325 # We only want to do this on AIX 4.2 and lower, the check
11326 # below for broken collect2 doesn't work under 4.3+
11327 collect2name
=`${CC} -print-prog-name=collect2`
11328 if test -f "$collect2name" &&
11329 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11331 # We have reworked collect2
11334 # We have old collect2
11335 hardcode_direct
=unsupported
11336 # It fails to find uninstalled libraries when the uninstalled
11337 # path is not listed in the libpath. Setting hardcode_minus_L
11338 # to unsupported forces relinking
11339 hardcode_minus_L
=yes
11340 hardcode_libdir_flag_spec
='-L$libdir'
11341 hardcode_libdir_separator
=
11345 shared_flag
='-shared'
11346 if test "$aix_use_runtimelinking" = yes; then
11347 shared_flag
="$shared_flag "'${wl}-G'
11351 if test "$host_cpu" = ia64
; then
11352 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11353 # chokes on -Wl,-G. The following line is correct:
11356 if test "$aix_use_runtimelinking" = yes; then
11357 shared_flag
='${wl}-G'
11359 shared_flag
='${wl}-bM:SRE'
11364 export_dynamic_flag_spec
='${wl}-bexpall'
11365 # It seems that -bexpall does not export symbols beginning with
11366 # underscore (_), so it is better to generate a list of symbols to export.
11367 always_export_symbols
=yes
11368 if test "$aix_use_runtimelinking" = yes; then
11369 # Warning - without using the other runtime loading flags (-brtl),
11370 # -berok will link without error, but may produce a broken library.
11371 allow_undefined_flag
='-berok'
11372 # Determine the default libpath from the value encoded in an
11373 # empty executable.
11374 if test x
$gcc_no_link = xyes
; then
11375 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11388 if ac_fn_c_try_link
"$LINENO"; then :
11390 lt_aix_libpath_sed
='
11391 /Import File Strings/,/^$/ {
11397 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11398 # Check for a 64-bit object if we didn't find anything.
11399 if test -z "$aix_libpath"; then
11400 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11403 rm -f core conftest.err conftest.
$ac_objext \
11404 conftest
$ac_exeext conftest.
$ac_ext
11405 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11407 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11408 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"
11410 if test "$host_cpu" = ia64
; then
11411 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11412 allow_undefined_flag
="-z nodefs"
11413 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"
11415 # Determine the default libpath from the value encoded in an
11416 # empty executable.
11417 if test x
$gcc_no_link = xyes
; then
11418 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11421 /* end confdefs.h. */
11431 if ac_fn_c_try_link
"$LINENO"; then :
11433 lt_aix_libpath_sed
='
11434 /Import File Strings/,/^$/ {
11440 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11441 # Check for a 64-bit object if we didn't find anything.
11442 if test -z "$aix_libpath"; then
11443 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11446 rm -f core conftest.err conftest.
$ac_objext \
11447 conftest
$ac_exeext conftest.
$ac_ext
11448 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11450 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11451 # Warning - without using the other run time loading flags,
11452 # -berok will link without error, but may produce a broken library.
11453 no_undefined_flag
=' ${wl}-bernotok'
11454 allow_undefined_flag
=' ${wl}-berok'
11455 if test "$with_gnu_ld" = yes; then
11456 # We only use this code for GNU lds that support --whole-archive.
11457 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11459 # Exported symbols can be pulled into shared objects from archives
11460 whole_archive_flag_spec
='$convenience'
11462 archive_cmds_need_lc
=yes
11463 # This is similar to how AIX traditionally builds its shared libraries.
11464 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'
11472 # see comment about AmigaOS4 .so support
11473 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11474 archive_expsym_cmds
=''
11477 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)'
11478 hardcode_libdir_flag_spec
='-L$libdir'
11479 hardcode_minus_L
=yes
11485 export_dynamic_flag_spec
=-rdynamic
11488 cygwin
* | mingw
* | pw32
* | cegcc
*)
11489 # When not using gcc, we currently assume that we are using
11490 # Microsoft Visual C++.
11491 # hardcode_libdir_flag_spec is actually meaningless, as there is
11492 # no search path for DLLs.
11493 hardcode_libdir_flag_spec
=' '
11494 allow_undefined_flag
=unsupported
11495 # Tell ltmain to make .lib files, not .a files.
11497 # Tell ltmain to make .dll files, not .so files.
11499 # FIXME: Setting linknames here is a bad hack.
11500 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11501 # The linker will automatically build a .lib file if we build a DLL.
11502 old_archive_from_new_cmds
='true'
11503 # FIXME: Should let the user specify the lib program.
11504 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11505 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11506 enable_shared_with_static_runtimes
=yes
11509 darwin
* | rhapsody
*)
11512 archive_cmds_need_lc
=no
11514 hardcode_automatic
=yes
11515 hardcode_shlibpath_var
=unsupported
11516 if test "$lt_cv_ld_force_load" = "yes"; then
11517 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\"`'
11519 whole_archive_flag_spec
=''
11521 link_all_deplibs
=yes
11522 allow_undefined_flag
="$_lt_dar_allow_undefined"
11523 case $cc_basename in
11524 ifort
*) _lt_dar_can_shared
=yes ;;
11525 *) _lt_dar_can_shared
=$GCC ;;
11527 if test "$_lt_dar_can_shared" = "yes"; then
11528 output_verbose_link_cmd
=func_echo_all
11529 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11530 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11531 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}"
11532 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}"
11541 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11542 hardcode_libdir_flag_spec
='-L$libdir'
11543 hardcode_shlibpath_var
=no
11550 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11551 # support. Future versions do this automatically, but an explicit c++rt0.o
11552 # does not break anything, and helps significantly (at the cost of a little
11555 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11556 hardcode_libdir_flag_spec
='-R$libdir'
11557 hardcode_direct
=yes
11558 hardcode_shlibpath_var
=no
11561 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11563 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11564 hardcode_direct
=yes
11565 hardcode_minus_L
=yes
11566 hardcode_shlibpath_var
=no
11569 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11570 freebsd
* | dragonfly
*)
11571 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11572 hardcode_libdir_flag_spec
='-R$libdir'
11573 hardcode_direct
=yes
11574 hardcode_shlibpath_var
=no
11578 if test "$GCC" = yes; then
11579 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'
11581 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'
11583 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11584 hardcode_libdir_separator
=:
11585 hardcode_direct
=yes
11587 # hardcode_minus_L: Not really in the search PATH,
11588 # but as the default location of the library.
11589 hardcode_minus_L
=yes
11590 export_dynamic_flag_spec
='${wl}-E'
11594 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11595 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11597 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11599 if test "$with_gnu_ld" = no
; then
11600 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11601 hardcode_libdir_flag_spec_ld
='+b $libdir'
11602 hardcode_libdir_separator
=:
11603 hardcode_direct
=yes
11604 hardcode_direct_absolute
=yes
11605 export_dynamic_flag_spec
='${wl}-E'
11606 # hardcode_minus_L: Not really in the search PATH,
11607 # but as the default location of the library.
11608 hardcode_minus_L
=yes
11613 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11616 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11619 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11622 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11628 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11631 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11635 # Older versions of the 11.00 compiler do not understand -b yet
11636 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11638 $as_echo_n "checking if $CC understands -b... " >&6; }
11639 if test "${lt_cv_prog_compiler__b+set}" = set; then :
11640 $as_echo_n "(cached) " >&6
11642 lt_cv_prog_compiler__b
=no
11643 save_LDFLAGS
="$LDFLAGS"
11644 LDFLAGS
="$LDFLAGS -b"
11645 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11646 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11647 # The linker can only warn and ignore the option if not recognized
11648 # So say no if there are warnings
11649 if test -s conftest.err
; then
11650 # Append any errors to the config.log.
11651 cat conftest.err
1>&5
11652 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11653 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11654 if diff conftest.exp conftest.er2
>/dev
/null
; then
11655 lt_cv_prog_compiler__b
=yes
11658 lt_cv_prog_compiler__b
=yes
11662 LDFLAGS
="$save_LDFLAGS"
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11666 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11668 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11669 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11671 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11677 if test "$with_gnu_ld" = no
; then
11678 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11679 hardcode_libdir_separator
=:
11684 hardcode_shlibpath_var
=no
11687 hardcode_direct
=yes
11688 hardcode_direct_absolute
=yes
11689 export_dynamic_flag_spec
='${wl}-E'
11691 # hardcode_minus_L: Not really in the search PATH,
11692 # but as the default location of the library.
11693 hardcode_minus_L
=yes
11699 irix5
* | irix6
* | nonstopux
*)
11700 if test "$GCC" = yes; then
11701 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'
11702 # Try to use the -exported_symbol ld option, if it does not
11703 # work, assume that -exports_file does not work either and
11704 # implicitly export all symbols.
11705 save_LDFLAGS
="$LDFLAGS"
11706 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11707 if test x
$gcc_no_link = xyes
; then
11708 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11714 if ac_fn_c_try_link
"$LINENO"; then :
11715 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'
11718 rm -f core conftest.err conftest.
$ac_objext \
11719 conftest
$ac_exeext conftest.
$ac_ext
11720 LDFLAGS
="$save_LDFLAGS"
11722 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'
11723 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'
11725 archive_cmds_need_lc
='no'
11726 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11727 hardcode_libdir_separator
=:
11729 link_all_deplibs
=yes
11733 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11734 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11736 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11738 hardcode_libdir_flag_spec
='-R$libdir'
11739 hardcode_direct
=yes
11740 hardcode_shlibpath_var
=no
11744 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11745 hardcode_direct
=yes
11746 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11747 hardcode_libdir_separator
=:
11748 hardcode_shlibpath_var
=no
11755 if test -f /usr
/libexec
/ld.so
; then
11756 hardcode_direct
=yes
11757 hardcode_shlibpath_var
=no
11758 hardcode_direct_absolute
=yes
11759 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11760 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11761 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11762 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11763 export_dynamic_flag_spec
='${wl}-E'
11766 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11767 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11768 hardcode_libdir_flag_spec
='-R$libdir'
11771 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11772 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11782 hardcode_libdir_flag_spec
='-L$libdir'
11783 hardcode_minus_L
=yes
11784 allow_undefined_flag
=unsupported
11785 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'
11786 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11790 if test "$GCC" = yes; then
11791 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11792 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'
11794 allow_undefined_flag
=' -expect_unresolved \*'
11795 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'
11797 archive_cmds_need_lc
='no'
11798 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11799 hardcode_libdir_separator
=:
11802 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11803 if test "$GCC" = yes; then
11804 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11805 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'
11806 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11808 allow_undefined_flag
=' -expect_unresolved \*'
11809 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'
11810 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~
11811 $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'
11813 # Both c and cxx compiler support -rpath directly
11814 hardcode_libdir_flag_spec
='-rpath $libdir'
11816 archive_cmds_need_lc
='no'
11817 hardcode_libdir_separator
=:
11821 no_undefined_flag
=' -z defs'
11822 if test "$GCC" = yes; then
11824 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11825 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11826 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11828 case `$CC -V 2>&1` in
11831 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11832 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11833 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11837 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11838 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11839 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11843 hardcode_libdir_flag_spec
='-R$libdir'
11844 hardcode_shlibpath_var
=no
11846 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11848 # The compiler driver will combine and reorder linker options,
11849 # but understands `-z linker_flag'. GCC discards it without `$wl',
11850 # but is careful enough not to reorder.
11851 # Supported since Solaris 2.6 (maybe 2.5.1?)
11852 if test "$GCC" = yes; then
11853 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11855 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11859 link_all_deplibs
=yes
11863 if test "x$host_vendor" = xsequent
; then
11864 # Use $CC to link under sequent, because it throws in some extra .o
11865 # files that make .init and .fini sections work.
11866 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11868 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11870 hardcode_libdir_flag_spec
='-L$libdir'
11871 hardcode_direct
=yes
11872 hardcode_minus_L
=yes
11873 hardcode_shlibpath_var
=no
11877 case $host_vendor in
11879 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11880 hardcode_direct
=yes # is this really true???
11883 ## LD is ld it makes a PLAMLIB
11884 ## CC just makes a GrossModule.
11885 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11886 reload_cmds
='$CC -r -o $output$reload_objs'
11890 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11891 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11894 runpath_var
='LD_RUN_PATH'
11895 hardcode_shlibpath_var
=no
11899 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11900 hardcode_shlibpath_var
=no
11901 export_dynamic_flag_spec
='-Bexport'
11905 if test -d /usr
/nec
; then
11906 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11907 hardcode_shlibpath_var
=no
11908 runpath_var
=LD_RUN_PATH
11909 hardcode_runpath_var
=yes
11914 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11915 no_undefined_flag
='${wl}-z,text'
11916 archive_cmds_need_lc
=no
11917 hardcode_shlibpath_var
=no
11918 runpath_var
='LD_RUN_PATH'
11920 if test "$GCC" = yes; then
11921 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11922 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11924 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11925 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11929 sysv5
* | sco3.2v5
* | sco5v6
*)
11930 # Note: We can NOT use -z defs as we might desire, because we do not
11931 # link with -lc, and that would cause any symbols used from libc to
11932 # always be unresolved, which means just about no library would
11933 # ever link correctly. If we're not using GNU ld we use -z text
11934 # though, which does catch some bad symbols but isn't as heavy-handed
11936 no_undefined_flag
='${wl}-z,text'
11937 allow_undefined_flag
='${wl}-z,nodefs'
11938 archive_cmds_need_lc
=no
11939 hardcode_shlibpath_var
=no
11940 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11941 hardcode_libdir_separator
=':'
11942 link_all_deplibs
=yes
11943 export_dynamic_flag_spec
='${wl}-Bexport'
11944 runpath_var
='LD_RUN_PATH'
11946 if test "$GCC" = yes; then
11947 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11948 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11950 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11951 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11956 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11957 hardcode_libdir_flag_spec
='-L$libdir'
11958 hardcode_shlibpath_var
=no
11966 if test x
$host_vendor = xsni
; then
11968 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11969 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11976 $as_echo "$ld_shlibs" >&6; }
11977 test "$ld_shlibs" = no
&& can_build_shared
=no
11979 with_gnu_ld
=$with_gnu_ld
11996 # Do we need to explicitly link libc?
11998 case "x$archive_cmds_need_lc" in
12000 # Assume -lc should be added
12001 archive_cmds_need_lc
=yes
12003 if test "$enable_shared" = yes && test "$GCC" = yes; then
12004 case $archive_cmds in
12006 # FIXME: we may have to deal with multi-command sequences.
12009 # Test whether the compiler implicitly links with -lc since on some
12010 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12011 # to ld, don't add -lc before -lgcc.
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12013 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12014 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
12015 $as_echo_n "(cached) " >&6
12018 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12021 (eval $ac_compile) 2>&5
12023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12024 test $ac_status = 0; } 2>conftest.err
; then
12027 libobjs
=conftest.
$ac_objext
12029 wl
=$lt_prog_compiler_wl
12030 pic_flag
=$lt_prog_compiler_pic
12036 lt_save_allow_undefined_flag
=$allow_undefined_flag
12037 allow_undefined_flag
=
12038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12039 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12042 test $ac_status = 0; }
12044 lt_cv_archive_cmds_need_lc
=no
12046 lt_cv_archive_cmds_need_lc
=yes
12048 allow_undefined_flag
=$lt_save_allow_undefined_flag
12050 cat conftest.err
1>&5
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12056 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12057 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12221 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12223 if test "$GCC" = yes; then
12225 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12226 *) lt_awk_arg
="/^libraries:/" ;;
12229 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
12230 *) lt_sed_strip_eq
="s,=/,/,g" ;;
12232 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12233 case $lt_search_path_spec in
12235 # if the path contains ";" then we assume it to be the separator
12236 # otherwise default to the standard path separator (i.e. ":") - it is
12237 # assumed that no part of a normal pathname contains ";" but that should
12238 # okay in the real world where ";" in dirpaths is itself problematic.
12239 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12242 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12245 # Ok, now we have the path, separated by spaces, we can step through it
12246 # and add multilib dir if necessary.
12247 lt_tmp_lt_search_path_spec
=
12248 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12249 for lt_sys_path
in $lt_search_path_spec; do
12250 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12251 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12253 test -d "$lt_sys_path" && \
12254 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12257 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12258 BEGIN {RS=" "; FS="/|\n";} {
12261 for (lt_i = NF; lt_i > 0; lt_i--) {
12262 if ($lt_i != "" && $lt_i != ".") {
12263 if ($lt_i == "..") {
12266 if (lt_count == 0) {
12267 lt_foo="/" $lt_i lt_foo;
12274 if (lt_foo != "") { lt_freq[lt_foo]++; }
12275 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12277 # AWK program above erroneously prepends '/' to C:/dos/paths
12280 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12281 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12283 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12285 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12287 library_names_spec
=
12288 libname_spec
='lib$name'
12292 postuninstall_cmds
=
12296 shlibpath_overrides_runpath
=unknown
12298 dynamic_linker
="$host_os ld.so"
12299 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12300 need_lib_prefix
=unknown
12301 hardcode_into_libs
=no
12303 # when you set need_version to no, make sure it does not cause -set_version
12304 # flags to be left without arguments
12305 need_version
=unknown
12310 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12311 shlibpath_var
=LIBPATH
12313 # AIX 3 has no versioning support, so we append a major version to the name.
12314 soname_spec
='${libname}${release}${shared_ext}$major'
12321 hardcode_into_libs
=yes
12322 if test "$host_cpu" = ia64
; then
12323 # AIX 5 supports IA64
12324 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12325 shlibpath_var
=LD_LIBRARY_PATH
12327 # With GCC up to 2.95.x, collect2 would create an import file
12328 # for dependence libraries. The import file would start with
12329 # the line `#! .'. This would cause the generated library to
12330 # depend on `.', always an invalid library. This was fixed in
12331 # development snapshots of GCC prior to 3.0.
12333 aix4 | aix4.
[01] | aix4.
[01].
*)
12334 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12336 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12339 can_build_shared
=no
12343 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12344 # soname into executable. Probably we can add versioning support to
12345 # collect2, so additional links can be useful in future.
12346 if test "$aix_use_runtimelinking" = yes; then
12347 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12348 # instead of lib<name>.a to let people know that these are not
12349 # typical AIX shared libraries.
12350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12352 # We preserve .a as extension for shared libraries through AIX4.2
12353 # and later when we are not doing run time linking.
12354 library_names_spec
='${libname}${release}.a $libname.a'
12355 soname_spec
='${libname}${release}${shared_ext}$major'
12357 shlibpath_var
=LIBPATH
12364 # Since July 2007 AmigaOS4 officially supports .so libraries.
12365 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12369 library_names_spec
='$libname.ixlibrary $libname.a'
12370 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12371 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'
12377 library_names_spec
='${libname}${shared_ext}'
12378 dynamic_linker
="$host_os ld.so"
12379 shlibpath_var
=LIBRARY_PATH
12385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12386 soname_spec
='${libname}${release}${shared_ext}$major'
12387 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12388 shlibpath_var
=LD_LIBRARY_PATH
12389 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12390 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12391 # the default ld.so.conf also contains /usr/contrib/lib and
12392 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12393 # libtool to hard-code these into programs
12396 cygwin
* | mingw
* | pw32
* | cegcc
*)
12397 version_type
=windows
12402 case $GCC,$host_os in
12403 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
12404 library_names_spec
='$libname.dll.a'
12405 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12406 postinstall_cmds
='base_file=`basename \${file}`~
12407 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12408 dldir=$destdir/`dirname \$dlpath`~
12409 test -d \$dldir || mkdir -p \$dldir~
12410 $install_prog $dir/$dlname \$dldir/$dlname~
12411 chmod a+x \$dldir/$dlname~
12412 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12413 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12415 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12416 dlpath=$dir/\$dldll~
12418 shlibpath_overrides_runpath
=yes
12422 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12423 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12425 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12428 # MinGW DLLs use traditional 'lib' prefix
12429 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12432 # pw32 DLLs use 'pw' prefix rather than 'lib'
12433 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12439 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12442 dynamic_linker
='Win32 ld.exe'
12443 # FIXME: first we should search . and the directory the executable is in
12447 darwin
* | rhapsody
*)
12448 dynamic_linker
="$host_os dyld"
12449 version_type
=darwin
12452 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12453 soname_spec
='${libname}${release}${major}$shared_ext'
12454 shlibpath_overrides_runpath
=yes
12455 shlibpath_var
=DYLD_LIBRARY_PATH
12456 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12458 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12459 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12466 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12467 soname_spec
='${libname}${release}${shared_ext}$major'
12468 shlibpath_var
=LD_LIBRARY_PATH
12475 freebsd
* | dragonfly
*)
12476 # DragonFly does not have aout. When/if they implement a new
12477 # versioning mechanism, adjust this.
12478 if test -x /usr
/bin
/objformat
; then
12479 objformat
=`/usr/bin/objformat`
12482 freebsd
[123]*) objformat
=aout
;;
12483 *) objformat
=elf
;;
12486 version_type
=freebsd-
$objformat
12487 case $version_type in
12489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12494 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12498 shlibpath_var
=LD_LIBRARY_PATH
12501 shlibpath_overrides_runpath
=yes
12503 freebsd3.
[01]* | freebsdelf3.
[01]*)
12504 shlibpath_overrides_runpath
=yes
12505 hardcode_into_libs
=yes
12507 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12508 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12509 shlibpath_overrides_runpath
=no
12510 hardcode_into_libs
=yes
12512 *) # from 4.6 on, and DragonFly
12513 shlibpath_overrides_runpath
=yes
12514 hardcode_into_libs
=yes
12523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12524 soname_spec
='${libname}${release}${shared_ext}$major'
12525 shlibpath_var
=LD_LIBRARY_PATH
12526 hardcode_into_libs
=yes
12533 dynamic_linker
="$host_os runtime_loader"
12534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12535 soname_spec
='${libname}${release}${shared_ext}$major'
12536 shlibpath_var
=LIBRARY_PATH
12537 shlibpath_overrides_runpath
=yes
12538 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
12539 hardcode_into_libs
=yes
12542 hpux9
* | hpux10
* | hpux11
*)
12543 # Give a soname corresponding to the major version so that dld.sl refuses to
12544 # link against other versions.
12551 hardcode_into_libs
=yes
12552 dynamic_linker
="$host_os dld.so"
12553 shlibpath_var
=LD_LIBRARY_PATH
12554 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12556 soname_spec
='${libname}${release}${shared_ext}$major'
12557 if test "X$HPUX_IA64_MODE" = X32
; then
12558 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12560 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12562 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12566 hardcode_into_libs
=yes
12567 dynamic_linker
="$host_os dld.sl"
12568 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12569 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12571 soname_spec
='${libname}${release}${shared_ext}$major'
12572 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12573 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12577 dynamic_linker
="$host_os dld.sl"
12578 shlibpath_var
=SHLIB_PATH
12579 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
12584 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12585 postinstall_cmds
='chmod 555 $lib'
12586 # or fails outright, so override atomically:
12587 install_override_mode
=555
12594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12595 soname_spec
='${libname}${release}${shared_ext}$major'
12596 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12597 shlibpath_var
=LD_LIBRARY_PATH
12598 shlibpath_overrides_runpath
=no
12599 hardcode_into_libs
=yes
12602 irix5
* | irix6
* | nonstopux
*)
12604 nonstopux
*) version_type
=nonstopux
;;
12606 if test "$lt_cv_prog_gnu_ld" = yes; then
12614 soname_spec
='${libname}${release}${shared_ext}$major'
12615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12617 irix5
* | nonstopux
*)
12618 libsuff
= shlibsuff
=
12621 case $LD in # libtool.m4 will add one of these switches to LD
12622 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12623 libsuff
= shlibsuff
= libmagic
=32-bit;;
12624 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12625 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12626 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12627 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12628 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12632 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12633 shlibpath_overrides_runpath
=no
12634 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12635 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12636 hardcode_into_libs
=yes
12639 # No shared lib support for Linux oldld, aout, or coff.
12640 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12644 # This must be Linux ELF.
12645 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12650 soname_spec
='${libname}${release}${shared_ext}$major'
12651 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12652 shlibpath_var
=LD_LIBRARY_PATH
12653 shlibpath_overrides_runpath
=no
12655 # Some binutils ld are patched to set DT_RUNPATH
12656 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
12657 $as_echo_n "(cached) " >&6
12659 lt_cv_shlibpath_overrides_runpath
=no
12660 save_LDFLAGS
=$LDFLAGS
12661 save_libdir
=$libdir
12662 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12663 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12664 if test x
$gcc_no_link = xyes
; then
12665 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12678 if ac_fn_c_try_link
"$LINENO"; then :
12679 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12680 lt_cv_shlibpath_overrides_runpath
=yes
12683 rm -f core conftest.err conftest.
$ac_objext \
12684 conftest
$ac_exeext conftest.
$ac_ext
12685 LDFLAGS
=$save_LDFLAGS
12686 libdir
=$save_libdir
12690 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12692 # This implies no fast_install, which is unacceptable.
12693 # Some rework will be needed to allow for fast_install
12694 # before this can be enabled.
12695 hardcode_into_libs
=yes
12697 # Append ld.so.conf contents to the search path
12698 if test -f /etc
/ld.so.conf
; then
12699 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' ' '`
12700 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12703 # We used to test for /lib/ld.so.1 and disable shared libraries on
12704 # powerpc, because MkLinux only supported shared libraries with the
12705 # GNU dynamic linker. Since this was broken with cross compilers,
12706 # most powerpc-linux boxes support dynamic linking these days and
12707 # people can always --disable-shared, the test was removed, and we
12708 # assume the GNU/Linux dynamic linker is in use.
12709 dynamic_linker
='GNU/Linux ld.so'
12716 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12718 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12719 dynamic_linker
='NetBSD (a.out) ld.so'
12721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12722 soname_spec
='${libname}${release}${shared_ext}$major'
12723 dynamic_linker
='NetBSD ld.elf_so'
12725 shlibpath_var
=LD_LIBRARY_PATH
12726 shlibpath_overrides_runpath
=yes
12727 hardcode_into_libs
=yes
12732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12733 shlibpath_var
=LD_LIBRARY_PATH
12734 shlibpath_overrides_runpath
=yes
12741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12742 soname_spec
='${libname}${release}${shared_ext}$major'
12743 shlibpath_var
=LD_LIBRARY_PATH
12744 shlibpath_overrides_runpath
=no
12745 hardcode_into_libs
=yes
12746 dynamic_linker
='ldqnx.so'
12751 sys_lib_dlsearch_path_spec
="/usr/lib"
12753 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12755 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12756 *) need_version
=no
;;
12758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12759 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12760 shlibpath_var
=LD_LIBRARY_PATH
12761 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12763 openbsd2.
[89] | openbsd2.
[89].
*)
12764 shlibpath_overrides_runpath
=no
12767 shlibpath_overrides_runpath
=yes
12771 shlibpath_overrides_runpath
=yes
12776 libname_spec
='$name'
12779 library_names_spec
='$libname${shared_ext} $libname.a'
12780 dynamic_linker
='OS/2 ld.exe'
12781 shlibpath_var
=LIBPATH
12784 osf3
* | osf4
* | osf5
*)
12788 soname_spec
='${libname}${release}${shared_ext}$major'
12789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12790 shlibpath_var
=LD_LIBRARY_PATH
12791 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12792 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12804 soname_spec
='${libname}${release}${shared_ext}$major'
12805 shlibpath_var
=LD_LIBRARY_PATH
12806 shlibpath_overrides_runpath
=yes
12807 hardcode_into_libs
=yes
12808 # ldd complains unless libraries are executable
12809 postinstall_cmds
='chmod +x $lib'
12814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12815 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12816 shlibpath_var
=LD_LIBRARY_PATH
12817 shlibpath_overrides_runpath
=yes
12818 if test "$with_gnu_ld" = yes; then
12826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12827 soname_spec
='${libname}${release}${shared_ext}$major'
12828 shlibpath_var
=LD_LIBRARY_PATH
12829 case $host_vendor in
12831 shlibpath_overrides_runpath
=no
12833 runpath_var
=LD_RUN_PATH
12841 shlibpath_overrides_runpath
=no
12842 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12848 if test -d /usr
/nec
;then
12850 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12851 soname_spec
='$libname${shared_ext}.$major'
12852 shlibpath_var
=LD_LIBRARY_PATH
12856 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12857 version_type
=freebsd-elf
12860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12861 soname_spec
='${libname}${release}${shared_ext}$major'
12862 shlibpath_var
=LD_LIBRARY_PATH
12863 shlibpath_overrides_runpath
=yes
12864 hardcode_into_libs
=yes
12865 if test "$with_gnu_ld" = yes; then
12866 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12868 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12871 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12875 sys_lib_dlsearch_path_spec
='/usr/lib'
12879 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12884 shlibpath_var
=LD_LIBRARY_PATH
12885 shlibpath_overrides_runpath
=no
12886 hardcode_into_libs
=yes
12891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12892 soname_spec
='${libname}${release}${shared_ext}$major'
12893 shlibpath_var
=LD_LIBRARY_PATH
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12901 $as_echo "$dynamic_linker" >&6; }
12902 test "$dynamic_linker" = no
&& can_build_shared
=no
12904 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12905 if test "$GCC" = yes; then
12906 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12909 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12910 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12912 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12913 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13008 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13010 if test -n "$hardcode_libdir_flag_spec" ||
13011 test -n "$runpath_var" ||
13012 test "X$hardcode_automatic" = "Xyes" ; then
13014 # We can hardcode non-existent directories.
13015 if test "$hardcode_direct" != no
&&
13016 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13017 # have to relink, otherwise we might link with an installed library
13018 # when we should be linking with a yet-to-be-installed one
13019 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13020 test "$hardcode_minus_L" != no
; then
13021 # Linking always hardcodes the temporary library directory.
13022 hardcode_action
=relink
13024 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13025 hardcode_action
=immediate
13028 # We cannot hardcode anything, or else we can only hardcode existing
13030 hardcode_action
=unsupported
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13033 $as_echo "$hardcode_action" >&6; }
13035 if test "$hardcode_action" = relink ||
13036 test "$inherit_rpath" = yes; then
13037 # Fast installation is not supported
13038 enable_fast_install
=no
13039 elif test "$shlibpath_overrides_runpath" = yes ||
13040 test "$enable_shared" = no
; then
13041 # Fast installation is not necessary
13042 enable_fast_install
=needless
13050 if test "x$enable_dlopen" != xyes
; then
13051 enable_dlopen
=unknown
13052 enable_dlopen_self
=unknown
13053 enable_dlopen_self_static
=unknown
13060 lt_cv_dlopen
="load_add_on"
13062 lt_cv_dlopen_self
=yes
13065 mingw
* | pw32
* | cegcc
*)
13066 lt_cv_dlopen
="LoadLibrary"
13071 lt_cv_dlopen
="dlopen"
13076 # if libdl is installed we need to link against it
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13078 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13079 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13080 $as_echo_n "(cached) " >&6
13082 ac_check_lib_save_LIBS
=$LIBS
13084 if test x
$gcc_no_link = xyes
; then
13085 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13088 /* end confdefs.h. */
13090 /* Override any GCC internal prototype to avoid an error.
13091 Use char because int might match the return type of a GCC
13092 builtin and then its argument prototype would still apply. */
13105 if ac_fn_c_try_link
"$LINENO"; then :
13106 ac_cv_lib_dl_dlopen
=yes
13108 ac_cv_lib_dl_dlopen
=no
13110 rm -f core conftest.err conftest.
$ac_objext \
13111 conftest
$ac_exeext conftest.
$ac_ext
13112 LIBS
=$ac_check_lib_save_LIBS
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13115 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13116 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13117 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13120 lt_cv_dlopen
="dyld"
13122 lt_cv_dlopen_self
=yes
13129 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13130 if test "x$ac_cv_func_shl_load" = x
""yes; then :
13131 lt_cv_dlopen
="shl_load"
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13134 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13135 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13136 $as_echo_n "(cached) " >&6
13138 ac_check_lib_save_LIBS
=$LIBS
13140 if test x
$gcc_no_link = xyes
; then
13141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13144 /* end confdefs.h. */
13146 /* Override any GCC internal prototype to avoid an error.
13147 Use char because int might match the return type of a GCC
13148 builtin and then its argument prototype would still apply. */
13156 return shl_load ();
13161 if ac_fn_c_try_link
"$LINENO"; then :
13162 ac_cv_lib_dld_shl_load
=yes
13164 ac_cv_lib_dld_shl_load
=no
13166 rm -f core conftest.err conftest.
$ac_objext \
13167 conftest
$ac_exeext conftest.
$ac_ext
13168 LIBS
=$ac_check_lib_save_LIBS
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13171 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13172 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
13173 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13175 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13176 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13177 lt_cv_dlopen
="dlopen"
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13180 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13181 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13182 $as_echo_n "(cached) " >&6
13184 ac_check_lib_save_LIBS
=$LIBS
13186 if test x
$gcc_no_link = xyes
; then
13187 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13192 /* Override any GCC internal prototype to avoid an error.
13193 Use char because int might match the return type of a GCC
13194 builtin and then its argument prototype would still apply. */
13207 if ac_fn_c_try_link
"$LINENO"; then :
13208 ac_cv_lib_dl_dlopen
=yes
13210 ac_cv_lib_dl_dlopen
=no
13212 rm -f core conftest.err conftest.
$ac_objext \
13213 conftest
$ac_exeext conftest.
$ac_ext
13214 LIBS
=$ac_check_lib_save_LIBS
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13217 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13218 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13219 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13222 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13223 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13224 $as_echo_n "(cached) " >&6
13226 ac_check_lib_save_LIBS
=$LIBS
13227 LIBS
="-lsvld $LIBS"
13228 if test x
$gcc_no_link = xyes
; then
13229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13232 /* end confdefs.h. */
13234 /* Override any GCC internal prototype to avoid an error.
13235 Use char because int might match the return type of a GCC
13236 builtin and then its argument prototype would still apply. */
13249 if ac_fn_c_try_link
"$LINENO"; then :
13250 ac_cv_lib_svld_dlopen
=yes
13252 ac_cv_lib_svld_dlopen
=no
13254 rm -f core conftest.err conftest.
$ac_objext \
13255 conftest
$ac_exeext conftest.
$ac_ext
13256 LIBS
=$ac_check_lib_save_LIBS
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13259 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13260 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
13261 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13264 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13265 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13266 $as_echo_n "(cached) " >&6
13268 ac_check_lib_save_LIBS
=$LIBS
13270 if test x
$gcc_no_link = xyes
; then
13271 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13274 /* end confdefs.h. */
13276 /* Override any GCC internal prototype to avoid an error.
13277 Use char because int might match the return type of a GCC
13278 builtin and then its argument prototype would still apply. */
13286 return dld_link ();
13291 if ac_fn_c_try_link
"$LINENO"; then :
13292 ac_cv_lib_dld_dld_link
=yes
13294 ac_cv_lib_dld_dld_link
=no
13296 rm -f core conftest.err conftest.
$ac_objext \
13297 conftest
$ac_exeext conftest.
$ac_ext
13298 LIBS
=$ac_check_lib_save_LIBS
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13301 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13302 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
13303 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13324 if test "x$lt_cv_dlopen" != xno
; then
13330 case $lt_cv_dlopen in
13332 save_CPPFLAGS
="$CPPFLAGS"
13333 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13335 save_LDFLAGS
="$LDFLAGS"
13336 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13339 LIBS
="$lt_cv_dlopen_libs $LIBS"
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13342 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13343 if test "${lt_cv_dlopen_self+set}" = set; then :
13344 $as_echo_n "(cached) " >&6
13346 if test "$cross_compiling" = yes; then :
13347 lt_cv_dlopen_self
=cross
13349 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13350 lt_status
=$lt_dlunknown
13351 cat > conftest.
$ac_ext <<_LT_EOF
13352 #line 13352 "configure"
13353 #include "confdefs.h"
13362 # define LT_DLGLOBAL RTLD_GLOBAL
13365 # define LT_DLGLOBAL DL_GLOBAL
13367 # define LT_DLGLOBAL 0
13371 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13372 find out it does not work in some platform. */
13373 #ifndef LT_DLLAZY_OR_NOW
13375 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13378 # define LT_DLLAZY_OR_NOW DL_LAZY
13381 # define LT_DLLAZY_OR_NOW RTLD_NOW
13384 # define LT_DLLAZY_OR_NOW DL_NOW
13386 # define LT_DLLAZY_OR_NOW 0
13393 /* When -fvisbility=hidden is used, assume the code has been annotated
13394 correspondingly for the symbols needed. */
13395 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13396 void fnord () __attribute__((visibility("default")));
13399 void fnord () { int i=42; }
13402 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13403 int status = $lt_dlunknown;
13407 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13410 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13411 else puts (dlerror ());
13413 /* dlclose (self); */
13421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13422 (eval $ac_link) 2>&5
13424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13425 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13426 (.
/conftest
; exit; ) >&5 2>/dev
/null
13428 case x
$lt_status in
13429 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13430 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13431 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13434 # compilation failed
13435 lt_cv_dlopen_self
=no
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13443 $as_echo "$lt_cv_dlopen_self" >&6; }
13445 if test "x$lt_cv_dlopen_self" = xyes
; then
13446 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13448 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13449 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13450 $as_echo_n "(cached) " >&6
13452 if test "$cross_compiling" = yes; then :
13453 lt_cv_dlopen_self_static
=cross
13455 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13456 lt_status
=$lt_dlunknown
13457 cat > conftest.
$ac_ext <<_LT_EOF
13458 #line 13458 "configure"
13459 #include "confdefs.h"
13468 # define LT_DLGLOBAL RTLD_GLOBAL
13471 # define LT_DLGLOBAL DL_GLOBAL
13473 # define LT_DLGLOBAL 0
13477 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13478 find out it does not work in some platform. */
13479 #ifndef LT_DLLAZY_OR_NOW
13481 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13484 # define LT_DLLAZY_OR_NOW DL_LAZY
13487 # define LT_DLLAZY_OR_NOW RTLD_NOW
13490 # define LT_DLLAZY_OR_NOW DL_NOW
13492 # define LT_DLLAZY_OR_NOW 0
13499 /* When -fvisbility=hidden is used, assume the code has been annotated
13500 correspondingly for the symbols needed. */
13501 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13502 void fnord () __attribute__((visibility("default")));
13505 void fnord () { int i=42; }
13508 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13509 int status = $lt_dlunknown;
13513 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13516 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13517 else puts (dlerror ());
13519 /* dlclose (self); */
13527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13528 (eval $ac_link) 2>&5
13530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13531 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13532 (.
/conftest
; exit; ) >&5 2>/dev
/null
13534 case x
$lt_status in
13535 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13536 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13537 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13540 # compilation failed
13541 lt_cv_dlopen_self_static
=no
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13549 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13552 CPPFLAGS
="$save_CPPFLAGS"
13553 LDFLAGS
="$save_LDFLAGS"
13558 case $lt_cv_dlopen_self in
13559 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13560 *) enable_dlopen_self
=unknown
;;
13563 case $lt_cv_dlopen_self_static in
13564 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13565 *) enable_dlopen_self_static
=unknown
;;
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13588 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13589 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13590 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13591 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13593 $as_echo "yes" >&6; }
13595 # FIXME - insert some real tests, host_os isn't really good enough
13598 if test -n "$STRIP" ; then
13599 striplib
="$STRIP -x"
13600 old_striplib
="$STRIP -S"
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13602 $as_echo "yes" >&6; }
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13605 $as_echo "no" >&6; }
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13610 $as_echo "no" >&6; }
13626 # Report which library types will actually be built
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13628 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13630 $as_echo "$can_build_shared" >&6; }
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13633 $as_echo_n "checking whether to build shared libraries... " >&6; }
13634 test "$can_build_shared" = "no" && enable_shared
=no
13636 # On AIX, shared libraries and static libraries use the same namespace, and
13637 # are all built from PIC.
13640 test "$enable_shared" = yes && enable_static
=no
13641 if test -n "$RANLIB"; then
13642 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13643 postinstall_cmds
='$RANLIB $lib'
13648 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13649 test "$enable_shared" = yes && enable_static
=no
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13654 $as_echo "$enable_shared" >&6; }
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13657 $as_echo_n "checking whether to build static libraries... " >&6; }
13658 # Make sure either enable_shared or enable_static is yes.
13659 test "$enable_shared" = yes || enable_static
=yes
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13661 $as_echo "$enable_static" >&6; }
13668 ac_cpp
='$CPP $CPPFLAGS'
13669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13675 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13676 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13677 (test "X$CXX" != "Xg++"))) ; then
13679 ac_cpp
='$CXXCPP $CPPFLAGS'
13680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13684 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13685 if test -z "$CXXCPP"; then
13686 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13687 $as_echo_n "(cached) " >&6
13689 # Double quotes because CXXCPP needs to be expanded
13690 for CXXCPP
in "$CXX -E" "/lib/cpp"
13692 ac_preproc_ok
=false
13693 for ac_cxx_preproc_warn_flag
in '' yes
13695 # Use a header file that comes with gcc, so configuring glibc
13696 # with a fresh cross-compiler works.
13697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13698 # <limits.h> exists even on freestanding compilers.
13699 # On the NeXT, cc -E runs the code through the compiler's parser,
13700 # not just through cpp. "Syntax error" is here to catch this case.
13701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13704 # include <limits.h>
13706 # include <assert.h>
13710 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13713 # Broken: fails on valid input.
13716 rm -f conftest.err conftest.
$ac_ext
13718 # OK, works on sane cases. Now check whether nonexistent headers
13719 # can be detected and how.
13720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13722 #include <ac_nonexistent.h>
13724 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13725 # Broken: success on invalid input.
13728 # Passes both tests.
13732 rm -f conftest.err conftest.
$ac_ext
13735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13736 rm -f conftest.err conftest.
$ac_ext
13737 if $ac_preproc_ok; then :
13742 ac_cv_prog_CXXCPP
=$CXXCPP
13745 CXXCPP
=$ac_cv_prog_CXXCPP
13747 ac_cv_prog_CXXCPP
=$CXXCPP
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13750 $as_echo "$CXXCPP" >&6; }
13751 ac_preproc_ok
=false
13752 for ac_cxx_preproc_warn_flag
in '' yes
13754 # Use a header file that comes with gcc, so configuring glibc
13755 # with a fresh cross-compiler works.
13756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13757 # <limits.h> exists even on freestanding compilers.
13758 # On the NeXT, cc -E runs the code through the compiler's parser,
13759 # not just through cpp. "Syntax error" is here to catch this case.
13760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13763 # include <limits.h>
13765 # include <assert.h>
13769 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13772 # Broken: fails on valid input.
13775 rm -f conftest.err conftest.
$ac_ext
13777 # OK, works on sane cases. Now check whether nonexistent headers
13778 # can be detected and how.
13779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13780 /* end confdefs.h. */
13781 #include <ac_nonexistent.h>
13783 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13784 # Broken: success on invalid input.
13787 # Passes both tests.
13791 rm -f conftest.err conftest.
$ac_ext
13794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13795 rm -f conftest.err conftest.
$ac_ext
13796 if $ac_preproc_ok; then :
13799 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13801 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13802 See \`config.log' for more details." "$LINENO" 5; }
13806 ac_cpp
='$CPP $CPPFLAGS'
13807 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13808 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13809 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13812 _lt_caught_CXX_error
=yes
13816 ac_cpp
='$CXXCPP $CPPFLAGS'
13817 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13821 archive_cmds_need_lc_CXX
=no
13822 allow_undefined_flag_CXX
=
13823 always_export_symbols_CXX
=no
13824 archive_expsym_cmds_CXX
=
13825 compiler_needs_object_CXX
=no
13826 export_dynamic_flag_spec_CXX
=
13827 hardcode_direct_CXX
=no
13828 hardcode_direct_absolute_CXX
=no
13829 hardcode_libdir_flag_spec_CXX
=
13830 hardcode_libdir_flag_spec_ld_CXX
=
13831 hardcode_libdir_separator_CXX
=
13832 hardcode_minus_L_CXX
=no
13833 hardcode_shlibpath_var_CXX
=unsupported
13834 hardcode_automatic_CXX
=no
13835 inherit_rpath_CXX
=no
13837 module_expsym_cmds_CXX
=
13838 link_all_deplibs_CXX
=unknown
13839 old_archive_cmds_CXX
=$old_archive_cmds
13840 reload_flag_CXX
=$reload_flag
13841 reload_cmds_CXX
=$reload_cmds
13842 no_undefined_flag_CXX
=
13843 whole_archive_flag_spec_CXX
=
13844 enable_shared_with_static_runtimes_CXX
=no
13846 # Source file extension for C++ test sources.
13849 # Object file extension for compiled C++ test sources.
13853 # No sense in running all these tests if we already determined that
13854 # the CXX compiler isn't working. Some variables (like enable_shared)
13855 # are currently assumed to apply to all compilers on this platform,
13856 # and will be corrupted by setting them based on a non-working compiler.
13857 if test "$_lt_caught_CXX_error" != yes; then
13858 # Code to be used in simple compile tests
13859 lt_simple_compile_test_code
="int some_variable = 0;"
13861 # Code to be used in simple link tests
13862 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13864 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13871 # If no C compiler was specified, use CC.
13874 # If no C compiler flags were specified, use CFLAGS.
13875 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13877 # Allow CC to be a program name with arguments.
13881 # save warnings/boilerplate of simple test code
13882 ac_outfile
=conftest.
$ac_objext
13883 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13884 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13885 _lt_compiler_boilerplate
=`cat conftest.err`
13888 ac_outfile
=conftest.
$ac_objext
13889 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13890 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13891 _lt_linker_boilerplate
=`cat conftest.err`
13895 # Allow CC to be a program name with arguments.
13900 lt_save_with_gnu_ld
=$with_gnu_ld
13901 lt_save_path_LD
=$lt_cv_path_LD
13902 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13903 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13905 $as_unset lt_cv_prog_gnu_ld
13907 if test -n "${lt_cv_path_LDCXX+set}"; then
13908 lt_cv_path_LD
=$lt_cv_path_LDCXX
13910 $as_unset lt_cv_path_LD
13912 test -z "${LDCXX+set}" || LD
=$LDCXX
13916 for cc_temp
in $compiler""; do
13918 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13919 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13924 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13927 if test -n "$compiler"; then
13928 # We don't want -fno-exception when compiling C++ code, so set the
13929 # no_builtin_flag separately
13930 if test "$GXX" = yes; then
13931 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13933 lt_prog_compiler_no_builtin_flag_CXX
=
13936 if test "$GXX" = yes; then
13937 # Set up default GNU C++ configuration
13941 # Check whether --with-gnu-ld was given.
13942 if test "${with_gnu_ld+set}" = set; then :
13943 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13949 if test "$GCC" = yes; then
13950 # Check if gcc -print-prog-name=ld gives a path.
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13952 $as_echo_n "checking for ld used by $CC... " >&6; }
13955 # gcc leaves a trailing carriage return which upsets mingw
13956 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13958 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13961 # Accept absolute paths.
13963 re_direlt
='/[^/][^/]*/\.\./'
13964 # Canonicalize the pathname of ld
13965 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13966 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13967 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13969 test -z "$LD" && LD
="$ac_prog"
13972 # If it fails, then pretend we aren't using GCC.
13976 # If it is relative, then search for the first ld in PATH.
13977 with_gnu_ld
=unknown
13980 elif test "$with_gnu_ld" = yes; then
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13982 $as_echo_n "checking for GNU ld... " >&6; }
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13985 $as_echo_n "checking for non-GNU ld... " >&6; }
13987 if test "${lt_cv_path_LD+set}" = set; then :
13988 $as_echo_n "(cached) " >&6
13990 if test -z "$LD"; then
13991 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13992 for ac_dir
in $PATH; do
13994 test -z "$ac_dir" && ac_dir
=.
13995 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13996 lt_cv_path_LD
="$ac_dir/$ac_prog"
13997 # Check to see if the program is GNU ld. I'd rather use --version,
13998 # but apparently some variants of GNU ld only accept -v.
13999 # Break only if it was the GNU/non-GNU ld that we prefer.
14000 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14001 *GNU
* |
*'with BFD'*)
14002 test "$with_gnu_ld" != no
&& break
14005 test "$with_gnu_ld" != yes && break
14012 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14016 LD
="$lt_cv_path_LD"
14017 if test -n "$LD"; then
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14019 $as_echo "$LD" >&6; }
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14022 $as_echo "no" >&6; }
14024 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14026 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14027 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14028 $as_echo_n "(cached) " >&6
14030 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14031 case `$LD -v 2>&1 </dev/null` in
14032 *GNU
* |
*'with BFD'*)
14033 lt_cv_prog_gnu_ld
=yes
14036 lt_cv_prog_gnu_ld
=no
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14041 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14042 with_gnu_ld
=$lt_cv_prog_gnu_ld
14050 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14051 # archiving commands below assume that GNU ld is being used.
14052 if test "$with_gnu_ld" = yes; then
14053 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14054 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'
14056 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14057 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14059 # If archive_cmds runs LD, not CC, wlarc should be empty
14060 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14061 # investigate it a little bit more. (MM)
14064 # ancient GNU ld didn't support --whole-archive et. al.
14065 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14066 $GREP 'no-whole-archive' > /dev
/null
; then
14067 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14069 whole_archive_flag_spec_CXX
=
14075 # A generic and very simple default shared library creation
14076 # command for GNU C++ for the case where it uses the native
14077 # linker, instead of GNU ld. If possible, this setting should
14078 # overridden to take advantage of the native linker features on
14079 # the platform it is being used on.
14080 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14083 # Commands to make compiler produce verbose output that lists
14084 # what "hidden" libraries, object files and flags are used when
14085 # linking a shared library.
14086 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14094 # PORTME: fill in a description of your system's C++ link characteristics
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14096 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14100 # FIXME: insert proper C++ library support
14104 if test "$host_cpu" = ia64
; then
14105 # On IA64, the linker does run time linking by default, so we don't
14106 # have to do anything special.
14107 aix_use_runtimelinking
=no
14108 exp_sym_flag
='-Bexport'
14111 aix_use_runtimelinking
=no
14113 # Test if we are trying to use run time linking or normal
14114 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14115 # need to do runtime linking.
14116 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14117 for ld_flag
in $LDFLAGS; do
14120 aix_use_runtimelinking
=yes
14128 exp_sym_flag
='-bexport'
14129 no_entry_flag
='-bnoentry'
14132 # When large executables or shared objects are built, AIX ld can
14133 # have problems creating the table of contents. If linking a library
14134 # or program results in "error TOC overflow" add -mminimal-toc to
14135 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14136 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14138 archive_cmds_CXX
=''
14139 hardcode_direct_CXX
=yes
14140 hardcode_direct_absolute_CXX
=yes
14141 hardcode_libdir_separator_CXX
=':'
14142 link_all_deplibs_CXX
=yes
14143 file_list_spec_CXX
='${wl}-f,'
14145 if test "$GXX" = yes; then
14146 case $host_os in aix4.
[012]|aix4.
[012].
*)
14147 # We only want to do this on AIX 4.2 and lower, the check
14148 # below for broken collect2 doesn't work under 4.3+
14149 collect2name
=`${CC} -print-prog-name=collect2`
14150 if test -f "$collect2name" &&
14151 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14153 # We have reworked collect2
14156 # We have old collect2
14157 hardcode_direct_CXX
=unsupported
14158 # It fails to find uninstalled libraries when the uninstalled
14159 # path is not listed in the libpath. Setting hardcode_minus_L
14160 # to unsupported forces relinking
14161 hardcode_minus_L_CXX
=yes
14162 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14163 hardcode_libdir_separator_CXX
=
14166 shared_flag
='-shared'
14167 if test "$aix_use_runtimelinking" = yes; then
14168 shared_flag
="$shared_flag "'${wl}-G'
14172 if test "$host_cpu" = ia64
; then
14173 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14174 # chokes on -Wl,-G. The following line is correct:
14177 if test "$aix_use_runtimelinking" = yes; then
14178 shared_flag
='${wl}-G'
14180 shared_flag
='${wl}-bM:SRE'
14185 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14186 # It seems that -bexpall does not export symbols beginning with
14187 # underscore (_), so it is better to generate a list of symbols to
14189 always_export_symbols_CXX
=yes
14190 if test "$aix_use_runtimelinking" = yes; then
14191 # Warning - without using the other runtime loading flags (-brtl),
14192 # -berok will link without error, but may produce a broken library.
14193 allow_undefined_flag_CXX
='-berok'
14194 # Determine the default libpath from the value encoded in an empty
14196 if test x
$gcc_no_link = xyes
; then
14197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14210 if ac_fn_cxx_try_link
"$LINENO"; then :
14212 lt_aix_libpath_sed
='
14213 /Import File Strings/,/^$/ {
14219 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14220 # Check for a 64-bit object if we didn't find anything.
14221 if test -z "$aix_libpath"; then
14222 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14225 rm -f core conftest.err conftest.
$ac_objext \
14226 conftest
$ac_exeext conftest.
$ac_ext
14227 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14229 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14231 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"
14233 if test "$host_cpu" = ia64
; then
14234 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14235 allow_undefined_flag_CXX
="-z nodefs"
14236 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"
14238 # Determine the default libpath from the value encoded in an
14239 # empty executable.
14240 if test x
$gcc_no_link = xyes
; then
14241 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14244 /* end confdefs.h. */
14254 if ac_fn_cxx_try_link
"$LINENO"; then :
14256 lt_aix_libpath_sed
='
14257 /Import File Strings/,/^$/ {
14263 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14264 # Check for a 64-bit object if we didn't find anything.
14265 if test -z "$aix_libpath"; then
14266 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14269 rm -f core conftest.err conftest.
$ac_objext \
14270 conftest
$ac_exeext conftest.
$ac_ext
14271 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14273 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14274 # Warning - without using the other run time loading flags,
14275 # -berok will link without error, but may produce a broken library.
14276 no_undefined_flag_CXX
=' ${wl}-bernotok'
14277 allow_undefined_flag_CXX
=' ${wl}-berok'
14278 if test "$with_gnu_ld" = yes; then
14279 # We only use this code for GNU lds that support --whole-archive.
14280 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14282 # Exported symbols can be pulled into shared objects from archives
14283 whole_archive_flag_spec_CXX
='$convenience'
14285 archive_cmds_need_lc_CXX
=yes
14286 # This is similar to how AIX traditionally builds its shared
14288 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'
14294 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14295 allow_undefined_flag_CXX
=unsupported
14296 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14297 # support --undefined. This deserves some investigation. FIXME
14298 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14305 case $cc_basename in
14307 # FIXME: insert proper C++ library support
14313 cygwin
* | mingw
* | pw32
* | cegcc
*)
14314 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14315 # as there is no search path for DLLs.
14316 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14317 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14318 allow_undefined_flag_CXX
=unsupported
14319 always_export_symbols_CXX
=no
14320 enable_shared_with_static_runtimes_CXX
=yes
14322 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14323 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'
14324 # If the export-symbols file already is a .def file (1st line
14325 # is EXPORTS), use it as is; otherwise, prepend...
14326 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14327 cp $export_symbols $output_objdir/$soname.def;
14329 echo EXPORTS > $output_objdir/$soname.def;
14330 cat $export_symbols >> $output_objdir/$soname.def;
14332 $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'
14337 darwin
* | rhapsody
*)
14340 archive_cmds_need_lc_CXX
=no
14341 hardcode_direct_CXX
=no
14342 hardcode_automatic_CXX
=yes
14343 hardcode_shlibpath_var_CXX
=unsupported
14344 if test "$lt_cv_ld_force_load" = "yes"; then
14345 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\"`'
14347 whole_archive_flag_spec_CXX
=''
14349 link_all_deplibs_CXX
=yes
14350 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14351 case $cc_basename in
14352 ifort
*) _lt_dar_can_shared
=yes ;;
14353 *) _lt_dar_can_shared
=$GCC ;;
14355 if test "$_lt_dar_can_shared" = "yes"; then
14356 output_verbose_link_cmd
=func_echo_all
14357 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}"
14358 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14359 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}"
14360 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}"
14361 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14362 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}"
14363 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}"
14373 case $cc_basename in
14375 # FIXME: insert proper C++ library support
14379 # Green Hills C++ Compiler
14380 # FIXME: insert proper C++ library support
14384 # FIXME: insert proper C++ library support
14391 # C++ shared libraries reported to be fairly broken before
14397 archive_cmds_need_lc_CXX
=no
14400 freebsd
* | dragonfly
*)
14401 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14410 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14411 link_all_deplibs_CXX
=yes
14415 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14416 hardcode_libdir_separator_CXX
=:
14417 export_dynamic_flag_spec_CXX
='${wl}-E'
14418 hardcode_direct_CXX
=yes
14419 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14420 # but as the default
14421 # location of the library.
14423 case $cc_basename in
14425 # FIXME: insert proper C++ library support
14429 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'
14430 # Commands to make compiler produce verbose output that lists
14431 # what "hidden" libraries, object files and flags are used when
14432 # linking a shared library.
14434 # There doesn't appear to be a way to prevent this compiler from
14435 # explicitly linking system object files so we need to strip them
14436 # from the output so that they don't get included in the library
14438 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"'
14441 if test "$GXX" = yes; then
14442 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'
14444 # FIXME: insert proper C++ library support
14452 if test $with_gnu_ld = no
; then
14453 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14454 hardcode_libdir_separator_CXX
=:
14460 export_dynamic_flag_spec_CXX
='${wl}-E'
14466 hardcode_direct_CXX
=no
14467 hardcode_shlibpath_var_CXX
=no
14470 hardcode_direct_CXX
=yes
14471 hardcode_direct_absolute_CXX
=yes
14472 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14473 # but as the default
14474 # location of the library.
14478 case $cc_basename in
14480 # FIXME: insert proper C++ library support
14486 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14489 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14492 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14495 # Commands to make compiler produce verbose output that lists
14496 # what "hidden" libraries, object files and flags are used when
14497 # linking a shared library.
14499 # There doesn't appear to be a way to prevent this compiler from
14500 # explicitly linking system object files so we need to strip them
14501 # from the output so that they don't get included in the library
14503 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"'
14506 if test "$GXX" = yes; then
14507 if test $with_gnu_ld = no
; then
14510 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14513 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14516 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'
14521 # FIXME: insert proper C++ library support
14529 hardcode_direct_CXX
=no
14530 hardcode_shlibpath_var_CXX
=no
14531 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14532 export_dynamic_flag_spec_CXX
='${wl}-E'
14533 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14534 # Instead, shared libraries are loaded at an image base (0x10000000 by
14535 # default) and relocated if they conflict, which is a slow very memory
14536 # consuming and fragmenting process. To avoid this, we pick a random,
14537 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14538 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14539 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'
14540 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'
14543 case $cc_basename in
14546 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'
14548 # Archives containing C++ object files must be created using
14549 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14550 # necessary to make sure instantiated templates are included
14552 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14555 if test "$GXX" = yes; then
14556 if test "$with_gnu_ld" = no
; then
14557 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'
14559 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'
14562 link_all_deplibs_CXX
=yes
14565 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14566 hardcode_libdir_separator_CXX
=:
14567 inherit_rpath_CXX
=yes
14570 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14571 case $cc_basename in
14573 # Kuck and Associates, Inc. (KAI) C++ Compiler
14575 # KCC will only create a shared library if the output file
14576 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14577 # to its proper name (with version) after linking.
14578 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'
14579 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'
14580 # Commands to make compiler produce verbose output that lists
14581 # what "hidden" libraries, object files and flags are used when
14582 # linking a shared library.
14584 # There doesn't appear to be a way to prevent this compiler from
14585 # explicitly linking system object files so we need to strip them
14586 # from the output so that they don't get included in the library
14588 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"'
14590 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14591 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14593 # Archives containing C++ object files must be created using
14594 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14595 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14600 # version 8.0 and above of icpc choke on multiply defined symbols
14601 # if we add $predep_objects and $postdep_objects, however 7.1 and
14602 # earlier do not add the objects themselves.
14603 case `$CC -V 2>&1` in
14605 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14606 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'
14608 *) # Version 8.0 or newer
14611 ia64
*) tmp_idyn
=' -i_dynamic';;
14613 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14614 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'
14617 archive_cmds_need_lc_CXX
=no
14618 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14619 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14620 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14623 # Portland Group C++ compiler
14625 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14626 prelink_cmds_CXX
='tpldir=Template.dir~
14628 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14629 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14630 old_archive_cmds_CXX
='tpldir=Template.dir~
14632 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14633 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14635 archive_cmds_CXX
='tpldir=Template.dir~
14637 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14638 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14639 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14641 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14642 $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'
14644 *) # Version 6 and above use weak symbols
14645 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14646 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'
14650 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14651 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14652 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'
14656 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14657 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'
14659 runpath_var
=LD_RUN_PATH
14660 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14661 hardcode_libdir_separator_CXX
=:
14663 # Commands to make compiler produce verbose output that lists
14664 # what "hidden" libraries, object files and flags are used when
14665 # linking a shared library.
14667 # There doesn't appear to be a way to prevent this compiler from
14668 # explicitly linking system object files so we need to strip them
14669 # from the output so that they don't get included in the library
14671 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'
14673 xl
* | mpixl
* | bgxl
*)
14674 # IBM XL 8.0 on PPC, with GNU ld
14675 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14676 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14677 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14678 if test "x$supports_anon_versioning" = xyes
; then
14679 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14680 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14681 echo "local: *; };" >> $output_objdir/$libname.ver~
14682 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14686 case `$CC -V 2>&1 | sed 5q` in
14689 no_undefined_flag_CXX
=' -zdefs'
14690 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14691 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'
14692 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14693 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'
14694 compiler_needs_object_CXX
=yes
14696 # Not sure whether something based on
14697 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14699 output_verbose_link_cmd
='func_echo_all'
14701 # Archives containing C++ object files must be created using
14702 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14703 # necessary to make sure instantiated templates are included
14705 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14713 # FIXME: insert proper C++ library support
14718 # FIXME: insert proper C++ library support
14723 case $cc_basename in
14725 # FIXME: insert proper C++ library support
14729 # FIXME: insert proper C++ library support
14736 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14737 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14739 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14740 hardcode_direct_CXX
=yes
14741 hardcode_shlibpath_var_CXX
=no
14743 # Workaround some broken pre-1.5 toolchains
14744 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14752 # C++ shared libraries are fairly broken
14757 if test -f /usr
/libexec
/ld.so
; then
14758 hardcode_direct_CXX
=yes
14759 hardcode_shlibpath_var_CXX
=no
14760 hardcode_direct_absolute_CXX
=yes
14761 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14762 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14763 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14764 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14765 export_dynamic_flag_spec_CXX
='${wl}-E'
14766 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14768 output_verbose_link_cmd
=func_echo_all
14774 osf3
* | osf4
* | osf5
*)
14775 case $cc_basename in
14777 # Kuck and Associates, Inc. (KAI) C++ Compiler
14779 # KCC will only create a shared library if the output file
14780 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14781 # to its proper name (with version) after linking.
14782 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'
14784 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14785 hardcode_libdir_separator_CXX
=:
14787 # Archives containing C++ object files must be created using
14788 # the KAI C++ compiler.
14790 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14791 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14795 # Rational C++ 2.4.1
14796 # FIXME: insert proper C++ library support
14802 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14803 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'
14804 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14807 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14808 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'
14809 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14810 echo "-hidden">> $lib.exp~
14811 $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~
14813 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14817 hardcode_libdir_separator_CXX
=:
14819 # Commands to make compiler produce verbose output that lists
14820 # what "hidden" libraries, object files and flags are used when
14821 # linking a shared library.
14823 # There doesn't appear to be a way to prevent this compiler from
14824 # explicitly linking system object files so we need to strip them
14825 # from the output so that they don't get included in the library
14827 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"'
14830 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14831 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14834 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'
14837 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'
14841 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14842 hardcode_libdir_separator_CXX
=:
14844 # Commands to make compiler produce verbose output that lists
14845 # what "hidden" libraries, object files and flags are used when
14846 # linking a shared library.
14847 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14850 # FIXME: insert proper C++ library support
14858 # FIXME: insert proper C++ library support
14863 case $cc_basename in
14866 # FIXME: insert proper C++ library support
14871 # FIXME: insert proper C++ library support
14875 # FIXME: insert proper C++ library support
14882 case $cc_basename in
14884 # Sun C++ 4.2, 5.x and Centerline C++
14885 archive_cmds_need_lc_CXX
=yes
14886 no_undefined_flag_CXX
=' -zdefs'
14887 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14888 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14889 $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'
14891 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14892 hardcode_shlibpath_var_CXX
=no
14894 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14896 # The compiler driver will combine and reorder linker options,
14897 # but understands `-z linker_flag'.
14898 # Supported since Solaris 2.6 (maybe 2.5.1?)
14899 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14902 link_all_deplibs_CXX
=yes
14904 output_verbose_link_cmd
='func_echo_all'
14906 # Archives containing C++ object files must be created using
14907 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14908 # necessary to make sure instantiated templates are included
14910 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14913 # Green Hills C++ Compiler
14914 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14916 # The C++ compiler must be used to create the archive.
14917 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14920 # GNU C++ compiler with Solaris linker
14921 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14922 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14923 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14924 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14925 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14926 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14928 # Commands to make compiler produce verbose output that lists
14929 # what "hidden" libraries, object files and flags are used when
14930 # linking a shared library.
14931 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14933 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14935 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14936 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14937 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14939 # Commands to make compiler produce verbose output that lists
14940 # what "hidden" libraries, object files and flags are used when
14941 # linking a shared library.
14942 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14945 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14947 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14949 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14957 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14958 no_undefined_flag_CXX
='${wl}-z,text'
14959 archive_cmds_need_lc_CXX
=no
14960 hardcode_shlibpath_var_CXX
=no
14961 runpath_var
='LD_RUN_PATH'
14963 case $cc_basename in
14965 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14966 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14969 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14970 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14975 sysv5
* | sco3.2v5
* | sco5v6
*)
14976 # Note: We can NOT use -z defs as we might desire, because we do not
14977 # link with -lc, and that would cause any symbols used from libc to
14978 # always be unresolved, which means just about no library would
14979 # ever link correctly. If we're not using GNU ld we use -z text
14980 # though, which does catch some bad symbols but isn't as heavy-handed
14982 no_undefined_flag_CXX
='${wl}-z,text'
14983 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14984 archive_cmds_need_lc_CXX
=no
14985 hardcode_shlibpath_var_CXX
=no
14986 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14987 hardcode_libdir_separator_CXX
=':'
14988 link_all_deplibs_CXX
=yes
14989 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14990 runpath_var
='LD_RUN_PATH'
14992 case $cc_basename in
14994 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14995 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14996 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14997 '"$old_archive_cmds_CXX"
14998 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14999 '"$reload_cmds_CXX"
15002 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15003 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15009 case $cc_basename in
15011 # NonStop-UX NCC 3.20
15012 # FIXME: insert proper C++ library support
15016 # FIXME: insert proper C++ library support
15023 # FIXME: insert proper C++ library support
15028 # FIXME: insert proper C++ library support
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15034 $as_echo "$ld_shlibs_CXX" >&6; }
15035 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15041 ## There is no encapsulation within the following macros, do not change
15042 ## the running order or otherwise move them around unless you know exactly
15043 ## what you are doing...
15044 # Dependencies to place before and after the object being linked:
15045 predep_objects_CXX
=
15046 postdep_objects_CXX
=
15049 compiler_lib_search_path_CXX
=
15051 cat > conftest.
$ac_ext <<_LT_EOF
15055 Foo (void) { a = 0; }
15061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15062 (eval $ac_compile) 2>&5
15064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15065 test $ac_status = 0; }; then
15066 # Parse the compiler output and extract the necessary
15067 # objects, libraries and library flags.
15069 # Sentinel used to keep track of whether or not we are before
15070 # the conftest object file.
15071 pre_test_object_deps_done
=no
15073 for p
in `eval "$output_verbose_link_cmd"`; do
15077 # Some compilers place space between "-{L,R}" and the path.
15078 # Remove the space.
15079 if test $p = "-L" ||
15080 test $p = "-R"; then
15087 if test "$pre_test_object_deps_done" = no
; then
15090 # Internal compiler library paths should come after those
15091 # provided the user. The postdeps already come after the
15092 # user supplied libs so there is no need to process them.
15093 if test -z "$compiler_lib_search_path_CXX"; then
15094 compiler_lib_search_path_CXX
="${prev}${p}"
15096 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15099 # The "-l" case would never come before the object being
15100 # linked, so don't bother handling this case.
15103 if test -z "$postdeps_CXX"; then
15104 postdeps_CXX
="${prev}${p}"
15106 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15112 # This assumes that the test object file only shows up
15113 # once in the compiler output.
15114 if test "$p" = "conftest.$objext"; then
15115 pre_test_object_deps_done
=yes
15119 if test "$pre_test_object_deps_done" = no
; then
15120 if test -z "$predep_objects_CXX"; then
15121 predep_objects_CXX
="$p"
15123 predep_objects_CXX
="$predep_objects_CXX $p"
15126 if test -z "$postdep_objects_CXX"; then
15127 postdep_objects_CXX
="$p"
15129 postdep_objects_CXX
="$postdep_objects_CXX $p"
15134 *) ;; # Ignore the rest.
15142 echo "libtool.m4: error: problem compiling CXX test program"
15145 $RM -f confest.
$objext
15147 # PORTME: override above test on systems where it is broken
15150 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15151 # hack all around it, let's just trust "g++" to DTRT.
15152 predep_objects_CXX
=
15153 postdep_objects_CXX
=
15158 case `$CC -V 2>&1 | sed 5q` in
15162 # The more standards-conforming stlport4 library is
15163 # incompatible with the Cstd library. Avoid specifying
15164 # it if it's in CXXFLAGS. Ignore libCrun as
15165 # -library=stlport4 depends on it.
15166 case " $CXX $CXXFLAGS " in
15167 *" -library=stlport4 "*)
15168 solaris_use_stlport4
=yes
15172 if test "$solaris_use_stlport4" != yes; then
15173 postdeps_CXX
='-library=Cstd -library=Crun'
15180 case $cc_basename in
15182 # The more standards-conforming stlport4 library is
15183 # incompatible with the Cstd library. Avoid specifying
15184 # it if it's in CXXFLAGS. Ignore libCrun as
15185 # -library=stlport4 depends on it.
15186 case " $CXX $CXXFLAGS " in
15187 *" -library=stlport4 "*)
15188 solaris_use_stlport4
=yes
15192 # Adding this requires a known-good setup of shared libraries for
15193 # Sun compiler versions before 5.6, else PIC objects from an old
15194 # archive will be linked into the output, leading to subtle bugs.
15195 if test "$solaris_use_stlport4" != yes; then
15196 postdeps_CXX
='-library=Cstd -library=Crun'
15204 case " $postdeps_CXX " in
15205 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15207 compiler_lib_search_dirs_CXX
=
15208 if test -n "${compiler_lib_search_path_CXX}"; then
15209 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15242 lt_prog_compiler_wl_CXX
=
15243 lt_prog_compiler_pic_CXX
=
15244 lt_prog_compiler_static_CXX
=
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15247 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15249 # C++ specific cases for pic, static, wl, etc.
15250 if test "$GXX" = yes; then
15251 lt_prog_compiler_wl_CXX
='-Wl,'
15252 lt_prog_compiler_static_CXX
='-static'
15256 # All AIX code is PIC.
15257 if test "$host_cpu" = ia64
; then
15258 # AIX 5 now supports IA64 processor
15259 lt_prog_compiler_static_CXX
='-Bstatic'
15266 # see comment about AmigaOS4 .so support
15267 lt_prog_compiler_pic_CXX
='-fPIC'
15270 # FIXME: we need at least 68020 code to build shared libraries, but
15271 # adding the `-m68020' flag to GCC prevents building anything better,
15273 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15278 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15279 # PIC is the default for these OSes.
15281 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15282 # This hack is so that the source file can tell whether it is being
15283 # built for inclusion in a dll (and should export symbols for example).
15284 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15285 # (--disable-auto-import) libraries
15286 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15288 darwin
* | rhapsody
*)
15289 # PIC is the default on this platform
15290 # Common symbols not allowed in MH_DYLIB files
15291 lt_prog_compiler_pic_CXX
='-fno-common'
15294 # DJGPP does not support shared libraries at all
15295 lt_prog_compiler_pic_CXX
=
15298 # PIC is the default for Haiku.
15299 # The "-static" flag exists, but is broken.
15300 lt_prog_compiler_static_CXX
=
15303 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15304 # Instead, we relocate shared libraries at runtime.
15307 if test -d /usr
/nec
; then
15308 lt_prog_compiler_pic_CXX
=-Kconform_pic
15312 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15313 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15314 # sets the default TLS model and affects inlining.
15319 lt_prog_compiler_pic_CXX
='-fPIC'
15324 # QNX uses GNU C++, but need to define -shared option too, otherwise
15325 # it will coredump.
15326 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15329 lt_prog_compiler_pic_CXX
='-fPIC'
15335 # All AIX code is PIC.
15336 if test "$host_cpu" = ia64
; then
15337 # AIX 5 now supports IA64 processor
15338 lt_prog_compiler_static_CXX
='-Bstatic'
15340 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15344 case $cc_basename in
15346 # Green Hills C++ Compiler
15347 # _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"
15352 case $cc_basename in
15354 lt_prog_compiler_pic_CXX
='-KPIC'
15357 # Green Hills C++ Compiler
15358 lt_prog_compiler_pic_CXX
='-pic'
15364 freebsd
* | dragonfly
*)
15365 # FreeBSD uses GNU C++
15367 hpux9
* | hpux10
* | hpux11
*)
15368 case $cc_basename in
15370 lt_prog_compiler_wl_CXX
='-Wl,'
15371 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15372 if test "$host_cpu" != ia64
; then
15373 lt_prog_compiler_pic_CXX
='+Z'
15377 lt_prog_compiler_wl_CXX
='-Wl,'
15378 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15384 lt_prog_compiler_pic_CXX
='+Z'
15393 # This is c89, which is MS Visual C++ (no shared libs)
15394 # Anyone wants to do a port?
15396 irix5
* | irix6
* | nonstopux
*)
15397 case $cc_basename in
15399 lt_prog_compiler_wl_CXX
='-Wl,'
15400 lt_prog_compiler_static_CXX
='-non_shared'
15401 # CC pic flag -KPIC is the default.
15407 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15408 case $cc_basename in
15411 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15412 lt_prog_compiler_pic_CXX
='-fPIC'
15415 # old Intel C++ for x86_64 which still supported -KPIC.
15416 lt_prog_compiler_wl_CXX
='-Wl,'
15417 lt_prog_compiler_pic_CXX
='-KPIC'
15418 lt_prog_compiler_static_CXX
='-static'
15421 # Intel C++, used to be incompatible with GCC.
15422 # ICC 10 doesn't accept -KPIC any more.
15423 lt_prog_compiler_wl_CXX
='-Wl,'
15424 lt_prog_compiler_pic_CXX
='-fPIC'
15425 lt_prog_compiler_static_CXX
='-static'
15428 # Portland Group C++ compiler
15429 lt_prog_compiler_wl_CXX
='-Wl,'
15430 lt_prog_compiler_pic_CXX
='-fpic'
15431 lt_prog_compiler_static_CXX
='-Bstatic'
15435 # Make sure the PIC flag is empty. It appears that all Alpha
15436 # Linux and Compaq Tru64 Unix objects are PIC.
15437 lt_prog_compiler_pic_CXX
=
15438 lt_prog_compiler_static_CXX
='-non_shared'
15440 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15441 # IBM XL 8.0, 9.0 on PPC and BlueGene
15442 lt_prog_compiler_wl_CXX
='-Wl,'
15443 lt_prog_compiler_pic_CXX
='-qpic'
15444 lt_prog_compiler_static_CXX
='-qstaticlink'
15447 case `$CC -V 2>&1 | sed 5q` in
15450 lt_prog_compiler_pic_CXX
='-KPIC'
15451 lt_prog_compiler_static_CXX
='-Bstatic'
15452 lt_prog_compiler_wl_CXX
='-Qoption ld '
15463 case $cc_basename in
15465 lt_prog_compiler_pic_CXX
='-W c,exportall'
15474 # QNX uses GNU C++, but need to define -shared option too, otherwise
15475 # it will coredump.
15476 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15478 osf3
* | osf4
* | osf5
*)
15479 case $cc_basename in
15481 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15484 # Rational C++ 2.4.1
15485 lt_prog_compiler_pic_CXX
='-pic'
15488 # Digital/Compaq C++
15489 lt_prog_compiler_wl_CXX
='-Wl,'
15490 # Make sure the PIC flag is empty. It appears that all Alpha
15491 # Linux and Compaq Tru64 Unix objects are PIC.
15492 lt_prog_compiler_pic_CXX
=
15493 lt_prog_compiler_static_CXX
='-non_shared'
15502 case $cc_basename in
15504 # Sun C++ 4.2, 5.x and Centerline C++
15505 lt_prog_compiler_pic_CXX
='-KPIC'
15506 lt_prog_compiler_static_CXX
='-Bstatic'
15507 lt_prog_compiler_wl_CXX
='-Qoption ld '
15510 # Green Hills C++ Compiler
15511 lt_prog_compiler_pic_CXX
='-PIC'
15518 case $cc_basename in
15521 lt_prog_compiler_pic_CXX
='-pic'
15522 lt_prog_compiler_static_CXX
='-Bstatic'
15526 lt_prog_compiler_pic_CXX
='-pic'
15532 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15533 case $cc_basename in
15535 lt_prog_compiler_wl_CXX
='-Wl,'
15536 lt_prog_compiler_pic_CXX
='-KPIC'
15537 lt_prog_compiler_static_CXX
='-Bstatic'
15542 case $cc_basename in
15544 # NonStop-UX NCC 3.20
15545 lt_prog_compiler_pic_CXX
='-KPIC'
15554 lt_prog_compiler_can_build_shared_CXX
=no
15560 # For platforms which do not support PIC, -DPIC is meaningless:
15562 lt_prog_compiler_pic_CXX
=
15565 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15569 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15574 # Check to make sure the PIC flag actually works.
15576 if test -n "$lt_prog_compiler_pic_CXX"; then
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15578 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15579 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15580 $as_echo_n "(cached) " >&6
15582 lt_cv_prog_compiler_pic_works_CXX
=no
15583 ac_outfile
=conftest.
$ac_objext
15584 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15585 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15586 # Insert the option either (1) after the last *FLAGS variable, or
15587 # (2) before a word containing "conftest.", or (3) at the end.
15588 # Note that $ac_compile itself does not contain backslashes and begins
15589 # with a dollar sign (not a hyphen), so the echo should work correctly.
15590 # The option is referenced via a variable to avoid confusing sed.
15591 lt_compile
=`echo "$ac_compile" | $SED \
15592 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15593 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15594 -e 's:$: $lt_compiler_flag:'`
15595 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15596 (eval "$lt_compile" 2>conftest.err
)
15598 cat conftest.err
>&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 if (exit $ac_status) && test -s "$ac_outfile"; then
15601 # The compiler can only warn and ignore the option if not recognized
15602 # So say no if there are warnings other than the usual output.
15603 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15604 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15605 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15606 lt_cv_prog_compiler_pic_works_CXX
=yes
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15613 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15615 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15616 case $lt_prog_compiler_pic_CXX in
15618 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15621 lt_prog_compiler_pic_CXX
=
15622 lt_prog_compiler_can_build_shared_CXX
=no
15630 # Check to make sure the static flag actually works.
15632 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15634 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15635 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15636 $as_echo_n "(cached) " >&6
15638 lt_cv_prog_compiler_static_works_CXX
=no
15639 save_LDFLAGS
="$LDFLAGS"
15640 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15641 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15642 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15643 # The linker can only warn and ignore the option if not recognized
15644 # So say no if there are warnings
15645 if test -s conftest.err
; then
15646 # Append any errors to the config.log.
15647 cat conftest.err
1>&5
15648 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15649 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15650 if diff conftest.exp conftest.er2
>/dev
/null
; then
15651 lt_cv_prog_compiler_static_works_CXX
=yes
15654 lt_cv_prog_compiler_static_works_CXX
=yes
15658 LDFLAGS
="$save_LDFLAGS"
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15662 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15664 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15667 lt_prog_compiler_static_CXX
=
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15674 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15675 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15676 $as_echo_n "(cached) " >&6
15678 lt_cv_prog_compiler_c_o_CXX
=no
15679 $RM -r conftest
2>/dev
/null
15683 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15685 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15686 # Insert the option either (1) after the last *FLAGS variable, or
15687 # (2) before a word containing "conftest.", or (3) at the end.
15688 # Note that $ac_compile itself does not contain backslashes and begins
15689 # with a dollar sign (not a hyphen), so the echo should work correctly.
15690 lt_compile
=`echo "$ac_compile" | $SED \
15691 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15692 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15693 -e 's:$: $lt_compiler_flag:'`
15694 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15695 (eval "$lt_compile" 2>out
/conftest.err
)
15697 cat out
/conftest.err
>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15701 # The compiler can only warn and ignore the option if not recognized
15702 # So say no if there are warnings
15703 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15704 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15705 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15706 lt_cv_prog_compiler_c_o_CXX
=yes
15711 # SGI C++ compiler will create directory out/ii_files/ for
15712 # template instantiation
15713 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15714 $RM out
/* && rmdir out
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15721 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15726 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15727 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15728 $as_echo_n "(cached) " >&6
15730 lt_cv_prog_compiler_c_o_CXX
=no
15731 $RM -r conftest
2>/dev
/null
15735 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15737 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15738 # Insert the option either (1) after the last *FLAGS variable, or
15739 # (2) before a word containing "conftest.", or (3) at the end.
15740 # Note that $ac_compile itself does not contain backslashes and begins
15741 # with a dollar sign (not a hyphen), so the echo should work correctly.
15742 lt_compile
=`echo "$ac_compile" | $SED \
15743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15745 -e 's:$: $lt_compiler_flag:'`
15746 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15747 (eval "$lt_compile" 2>out
/conftest.err
)
15749 cat out
/conftest.err
>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15753 # The compiler can only warn and ignore the option if not recognized
15754 # So say no if there are warnings
15755 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15756 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15757 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15758 lt_cv_prog_compiler_c_o_CXX
=yes
15763 # SGI C++ compiler will create directory out/ii_files/ for
15764 # template instantiation
15765 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15766 $RM out
/* && rmdir out
15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15773 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15778 hard_links
="nottested"
15779 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15780 # do not overwrite the value of need_locks provided by the user
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15782 $as_echo_n "checking if we can lock with hard links... " >&6; }
15785 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15787 ln conftest.a conftest.b
2>&5 || hard_links
=no
15788 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15790 $as_echo "$hard_links" >&6; }
15791 if test "$hard_links" = no
; then
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15793 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15803 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15805 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15808 # If we're using GNU nm, then we don't want the "-C" option.
15809 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15810 # Also, AIX nm treats weak defined symbols like other global defined
15811 # symbols, whereas GNU nm marks them as "W".
15812 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15813 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'
15815 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'
15819 export_symbols_cmds_CXX
="$ltdll_cmds"
15821 cygwin
* | mingw
* | cegcc
*)
15822 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'
15825 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15828 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15831 $as_echo "$ld_shlibs_CXX" >&6; }
15832 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15834 with_gnu_ld_CXX
=$with_gnu_ld
15842 # Do we need to explicitly link libc?
15844 case "x$archive_cmds_need_lc_CXX" in
15846 # Assume -lc should be added
15847 archive_cmds_need_lc_CXX
=yes
15849 if test "$enable_shared" = yes && test "$GCC" = yes; then
15850 case $archive_cmds_CXX in
15852 # FIXME: we may have to deal with multi-command sequences.
15855 # Test whether the compiler implicitly links with -lc since on some
15856 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15857 # to ld, don't add -lc before -lgcc.
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15859 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15860 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15861 $as_echo_n "(cached) " >&6
15864 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15867 (eval $ac_compile) 2>&5
15869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15870 test $ac_status = 0; } 2>conftest.err
; then
15873 libobjs
=conftest.
$ac_objext
15875 wl
=$lt_prog_compiler_wl_CXX
15876 pic_flag
=$lt_prog_compiler_pic_CXX
15882 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15883 allow_undefined_flag_CXX
=
15884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15885 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15888 test $ac_status = 0; }
15890 lt_cv_archive_cmds_need_lc_CXX
=no
15892 lt_cv_archive_cmds_need_lc_CXX
=yes
15894 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15896 cat conftest.err
1>&5
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15902 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15903 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15974 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15976 library_names_spec
=
15977 libname_spec
='lib$name'
15981 postuninstall_cmds
=
15985 shlibpath_overrides_runpath
=unknown
15987 dynamic_linker
="$host_os ld.so"
15988 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15989 need_lib_prefix
=unknown
15990 hardcode_into_libs
=no
15992 # when you set need_version to no, make sure it does not cause -set_version
15993 # flags to be left without arguments
15994 need_version
=unknown
15999 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16000 shlibpath_var
=LIBPATH
16002 # AIX 3 has no versioning support, so we append a major version to the name.
16003 soname_spec
='${libname}${release}${shared_ext}$major'
16010 hardcode_into_libs
=yes
16011 if test "$host_cpu" = ia64
; then
16012 # AIX 5 supports IA64
16013 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16014 shlibpath_var
=LD_LIBRARY_PATH
16016 # With GCC up to 2.95.x, collect2 would create an import file
16017 # for dependence libraries. The import file would start with
16018 # the line `#! .'. This would cause the generated library to
16019 # depend on `.', always an invalid library. This was fixed in
16020 # development snapshots of GCC prior to 3.0.
16022 aix4 | aix4.
[01] | aix4.
[01].
*)
16023 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16025 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
16028 can_build_shared
=no
16032 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16033 # soname into executable. Probably we can add versioning support to
16034 # collect2, so additional links can be useful in future.
16035 if test "$aix_use_runtimelinking" = yes; then
16036 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16037 # instead of lib<name>.a to let people know that these are not
16038 # typical AIX shared libraries.
16039 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16041 # We preserve .a as extension for shared libraries through AIX4.2
16042 # and later when we are not doing run time linking.
16043 library_names_spec
='${libname}${release}.a $libname.a'
16044 soname_spec
='${libname}${release}${shared_ext}$major'
16046 shlibpath_var
=LIBPATH
16053 # Since July 2007 AmigaOS4 officially supports .so libraries.
16054 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16055 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16058 library_names_spec
='$libname.ixlibrary $libname.a'
16059 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16060 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'
16066 library_names_spec
='${libname}${shared_ext}'
16067 dynamic_linker
="$host_os ld.so"
16068 shlibpath_var
=LIBRARY_PATH
16074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16075 soname_spec
='${libname}${release}${shared_ext}$major'
16076 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16077 shlibpath_var
=LD_LIBRARY_PATH
16078 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16079 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16080 # the default ld.so.conf also contains /usr/contrib/lib and
16081 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16082 # libtool to hard-code these into programs
16085 cygwin
* | mingw
* | pw32
* | cegcc
*)
16086 version_type
=windows
16091 case $GCC,$host_os in
16092 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16093 library_names_spec
='$libname.dll.a'
16094 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16095 postinstall_cmds
='base_file=`basename \${file}`~
16096 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16097 dldir=$destdir/`dirname \$dlpath`~
16098 test -d \$dldir || mkdir -p \$dldir~
16099 $install_prog $dir/$dlname \$dldir/$dlname~
16100 chmod a+x \$dldir/$dlname~
16101 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16102 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16104 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16105 dlpath=$dir/\$dldll~
16107 shlibpath_overrides_runpath
=yes
16111 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16112 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16116 # MinGW DLLs use traditional 'lib' prefix
16117 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16120 # pw32 DLLs use 'pw' prefix rather than 'lib'
16121 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16127 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16130 dynamic_linker
='Win32 ld.exe'
16131 # FIXME: first we should search . and the directory the executable is in
16135 darwin
* | rhapsody
*)
16136 dynamic_linker
="$host_os dyld"
16137 version_type
=darwin
16140 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16141 soname_spec
='${libname}${release}${major}$shared_ext'
16142 shlibpath_overrides_runpath
=yes
16143 shlibpath_var
=DYLD_LIBRARY_PATH
16144 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16146 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16154 soname_spec
='${libname}${release}${shared_ext}$major'
16155 shlibpath_var
=LD_LIBRARY_PATH
16162 freebsd
* | dragonfly
*)
16163 # DragonFly does not have aout. When/if they implement a new
16164 # versioning mechanism, adjust this.
16165 if test -x /usr
/bin
/objformat
; then
16166 objformat
=`/usr/bin/objformat`
16169 freebsd
[123]*) objformat
=aout
;;
16170 *) objformat
=elf
;;
16173 version_type
=freebsd-
$objformat
16174 case $version_type in
16176 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16181 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16185 shlibpath_var
=LD_LIBRARY_PATH
16188 shlibpath_overrides_runpath
=yes
16190 freebsd3.
[01]* | freebsdelf3.
[01]*)
16191 shlibpath_overrides_runpath
=yes
16192 hardcode_into_libs
=yes
16194 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16195 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16196 shlibpath_overrides_runpath
=no
16197 hardcode_into_libs
=yes
16199 *) # from 4.6 on, and DragonFly
16200 shlibpath_overrides_runpath
=yes
16201 hardcode_into_libs
=yes
16210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16211 soname_spec
='${libname}${release}${shared_ext}$major'
16212 shlibpath_var
=LD_LIBRARY_PATH
16213 hardcode_into_libs
=yes
16220 dynamic_linker
="$host_os runtime_loader"
16221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16222 soname_spec
='${libname}${release}${shared_ext}$major'
16223 shlibpath_var
=LIBRARY_PATH
16224 shlibpath_overrides_runpath
=yes
16225 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16226 hardcode_into_libs
=yes
16229 hpux9
* | hpux10
* | hpux11
*)
16230 # Give a soname corresponding to the major version so that dld.sl refuses to
16231 # link against other versions.
16238 hardcode_into_libs
=yes
16239 dynamic_linker
="$host_os dld.so"
16240 shlibpath_var
=LD_LIBRARY_PATH
16241 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16243 soname_spec
='${libname}${release}${shared_ext}$major'
16244 if test "X$HPUX_IA64_MODE" = X32
; then
16245 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16247 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16249 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16253 hardcode_into_libs
=yes
16254 dynamic_linker
="$host_os dld.sl"
16255 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16256 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16258 soname_spec
='${libname}${release}${shared_ext}$major'
16259 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16260 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16264 dynamic_linker
="$host_os dld.sl"
16265 shlibpath_var
=SHLIB_PATH
16266 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16268 soname_spec
='${libname}${release}${shared_ext}$major'
16271 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16272 postinstall_cmds
='chmod 555 $lib'
16273 # or fails outright, so override atomically:
16274 install_override_mode
=555
16281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16282 soname_spec
='${libname}${release}${shared_ext}$major'
16283 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16284 shlibpath_var
=LD_LIBRARY_PATH
16285 shlibpath_overrides_runpath
=no
16286 hardcode_into_libs
=yes
16289 irix5
* | irix6
* | nonstopux
*)
16291 nonstopux
*) version_type
=nonstopux
;;
16293 if test "$lt_cv_prog_gnu_ld" = yes; then
16301 soname_spec
='${libname}${release}${shared_ext}$major'
16302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16304 irix5
* | nonstopux
*)
16305 libsuff
= shlibsuff
=
16308 case $LD in # libtool.m4 will add one of these switches to LD
16309 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16310 libsuff
= shlibsuff
= libmagic
=32-bit;;
16311 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16312 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16313 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16314 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16315 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16319 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16320 shlibpath_overrides_runpath
=no
16321 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16322 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16323 hardcode_into_libs
=yes
16326 # No shared lib support for Linux oldld, aout, or coff.
16327 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16331 # This must be Linux ELF.
16332 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16336 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16337 soname_spec
='${libname}${release}${shared_ext}$major'
16338 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16339 shlibpath_var
=LD_LIBRARY_PATH
16340 shlibpath_overrides_runpath
=no
16342 # Some binutils ld are patched to set DT_RUNPATH
16343 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16344 $as_echo_n "(cached) " >&6
16346 lt_cv_shlibpath_overrides_runpath
=no
16347 save_LDFLAGS
=$LDFLAGS
16348 save_libdir
=$libdir
16349 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16350 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16351 if test x
$gcc_no_link = xyes
; then
16352 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16365 if ac_fn_cxx_try_link
"$LINENO"; then :
16366 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16367 lt_cv_shlibpath_overrides_runpath
=yes
16370 rm -f core conftest.err conftest.
$ac_objext \
16371 conftest
$ac_exeext conftest.
$ac_ext
16372 LDFLAGS
=$save_LDFLAGS
16373 libdir
=$save_libdir
16377 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16379 # This implies no fast_install, which is unacceptable.
16380 # Some rework will be needed to allow for fast_install
16381 # before this can be enabled.
16382 hardcode_into_libs
=yes
16384 # Append ld.so.conf contents to the search path
16385 if test -f /etc
/ld.so.conf
; then
16386 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' ' '`
16387 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16390 # We used to test for /lib/ld.so.1 and disable shared libraries on
16391 # powerpc, because MkLinux only supported shared libraries with the
16392 # GNU dynamic linker. Since this was broken with cross compilers,
16393 # most powerpc-linux boxes support dynamic linking these days and
16394 # people can always --disable-shared, the test was removed, and we
16395 # assume the GNU/Linux dynamic linker is in use.
16396 dynamic_linker
='GNU/Linux ld.so'
16403 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16405 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16406 dynamic_linker
='NetBSD (a.out) ld.so'
16408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16409 soname_spec
='${libname}${release}${shared_ext}$major'
16410 dynamic_linker
='NetBSD ld.elf_so'
16412 shlibpath_var
=LD_LIBRARY_PATH
16413 shlibpath_overrides_runpath
=yes
16414 hardcode_into_libs
=yes
16419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16420 shlibpath_var
=LD_LIBRARY_PATH
16421 shlibpath_overrides_runpath
=yes
16428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16429 soname_spec
='${libname}${release}${shared_ext}$major'
16430 shlibpath_var
=LD_LIBRARY_PATH
16431 shlibpath_overrides_runpath
=no
16432 hardcode_into_libs
=yes
16433 dynamic_linker
='ldqnx.so'
16438 sys_lib_dlsearch_path_spec
="/usr/lib"
16440 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16442 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16443 *) need_version
=no
;;
16445 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16446 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16447 shlibpath_var
=LD_LIBRARY_PATH
16448 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16450 openbsd2.
[89] | openbsd2.
[89].
*)
16451 shlibpath_overrides_runpath
=no
16454 shlibpath_overrides_runpath
=yes
16458 shlibpath_overrides_runpath
=yes
16463 libname_spec
='$name'
16466 library_names_spec
='$libname${shared_ext} $libname.a'
16467 dynamic_linker
='OS/2 ld.exe'
16468 shlibpath_var
=LIBPATH
16471 osf3
* | osf4
* | osf5
*)
16475 soname_spec
='${libname}${release}${shared_ext}$major'
16476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16477 shlibpath_var
=LD_LIBRARY_PATH
16478 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16479 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16491 soname_spec
='${libname}${release}${shared_ext}$major'
16492 shlibpath_var
=LD_LIBRARY_PATH
16493 shlibpath_overrides_runpath
=yes
16494 hardcode_into_libs
=yes
16495 # ldd complains unless libraries are executable
16496 postinstall_cmds
='chmod +x $lib'
16501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16502 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16503 shlibpath_var
=LD_LIBRARY_PATH
16504 shlibpath_overrides_runpath
=yes
16505 if test "$with_gnu_ld" = yes; then
16513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16514 soname_spec
='${libname}${release}${shared_ext}$major'
16515 shlibpath_var
=LD_LIBRARY_PATH
16516 case $host_vendor in
16518 shlibpath_overrides_runpath
=no
16520 runpath_var
=LD_RUN_PATH
16528 shlibpath_overrides_runpath
=no
16529 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16535 if test -d /usr
/nec
;then
16537 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16538 soname_spec
='$libname${shared_ext}.$major'
16539 shlibpath_var
=LD_LIBRARY_PATH
16543 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16544 version_type
=freebsd-elf
16547 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16548 soname_spec
='${libname}${release}${shared_ext}$major'
16549 shlibpath_var
=LD_LIBRARY_PATH
16550 shlibpath_overrides_runpath
=yes
16551 hardcode_into_libs
=yes
16552 if test "$with_gnu_ld" = yes; then
16553 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16555 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16558 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16562 sys_lib_dlsearch_path_spec
='/usr/lib'
16566 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16571 shlibpath_var
=LD_LIBRARY_PATH
16572 shlibpath_overrides_runpath
=no
16573 hardcode_into_libs
=yes
16578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16579 soname_spec
='${libname}${release}${shared_ext}$major'
16580 shlibpath_var
=LD_LIBRARY_PATH
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16588 $as_echo "$dynamic_linker" >&6; }
16589 test "$dynamic_linker" = no
&& can_build_shared
=no
16591 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16592 if test "$GCC" = yes; then
16593 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16596 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16597 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16599 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16600 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16641 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16642 hardcode_action_CXX
=
16643 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16644 test -n "$runpath_var_CXX" ||
16645 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16647 # We can hardcode non-existent directories.
16648 if test "$hardcode_direct_CXX" != no
&&
16649 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16650 # have to relink, otherwise we might link with an installed library
16651 # when we should be linking with a yet-to-be-installed one
16652 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16653 test "$hardcode_minus_L_CXX" != no
; then
16654 # Linking always hardcodes the temporary library directory.
16655 hardcode_action_CXX
=relink
16657 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16658 hardcode_action_CXX
=immediate
16661 # We cannot hardcode anything, or else we can only hardcode existing
16663 hardcode_action_CXX
=unsupported
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16666 $as_echo "$hardcode_action_CXX" >&6; }
16668 if test "$hardcode_action_CXX" = relink ||
16669 test "$inherit_rpath_CXX" = yes; then
16670 # Fast installation is not supported
16671 enable_fast_install
=no
16672 elif test "$shlibpath_overrides_runpath" = yes ||
16673 test "$enable_shared" = no
; then
16674 # Fast installation is not necessary
16675 enable_fast_install
=needless
16684 fi # test -n "$compiler"
16690 with_gnu_ld
=$lt_save_with_gnu_ld
16691 lt_cv_path_LDCXX
=$lt_cv_path_LD
16692 lt_cv_path_LD
=$lt_save_path_LD
16693 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16694 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16695 fi # test "$_lt_caught_CXX_error" != yes
16698 ac_cpp
='$CPP $CPPFLAGS'
16699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16715 ac_config_commands
="$ac_config_commands libtool"
16720 # Only expand once:
16724 if test -n "$ac_tool_prefix"; then
16727 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16728 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16730 $as_echo_n "checking for $ac_word... " >&6; }
16731 if test "${ac_cv_prog_GCJ+set}" = set; then :
16732 $as_echo_n "(cached) " >&6
16734 if test -n "$GCJ"; then
16735 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16738 for as_dir
in $PATH
16741 test -z "$as_dir" && as_dir
=.
16742 for ac_exec_ext
in '' $ac_executable_extensions; do
16743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16744 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
16745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16754 GCJ
=$ac_cv_prog_GCJ
16755 if test -n "$GCJ"; then
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16757 $as_echo "$GCJ" >&6; }
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16760 $as_echo "no" >&6; }
16764 test -n "$GCJ" && break
16767 if test -z "$GCJ"; then
16771 # Extract the first word of "$ac_prog", so it can be a program name with args.
16772 set dummy
$ac_prog; ac_word
=$2
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16774 $as_echo_n "checking for $ac_word... " >&6; }
16775 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
16776 $as_echo_n "(cached) " >&6
16778 if test -n "$ac_ct_GCJ"; then
16779 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
16781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16782 for as_dir
in $PATH
16785 test -z "$as_dir" && as_dir
=.
16786 for ac_exec_ext
in '' $ac_executable_extensions; do
16787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16788 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
16789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16798 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
16799 if test -n "$ac_ct_GCJ"; then
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
16801 $as_echo "$ac_ct_GCJ" >&6; }
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16804 $as_echo "no" >&6; }
16808 test -n "$ac_ct_GCJ" && break
16811 if test "x$ac_ct_GCJ" = x
; then
16814 case $cross_compiling:$ac_tool_warned in
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16818 ac_tool_warned
=yes ;;
16824 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
16825 if test "x${GCJFLAGS-unset}" = xunset
; then
16830 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16833 $as_echo_n "checking dependency style of $depcc... " >&6; }
16834 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
16835 $as_echo_n "(cached) " >&6
16837 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16838 # We make a subdir and do the tests there. Otherwise we can end up
16839 # making bogus files that we don't know about and never remove. For
16840 # instance it was reported that on HP-UX the gcc test will end up
16841 # making a dummy file named `D' -- because `-MD' means `put the output
16844 # Copy depcomp to subdir because otherwise we won't find it if we're
16845 # using a relative directory.
16846 cp "$am_depcomp" conftest.dir
16848 # We will build objects and dependencies in a subdirectory because
16849 # it helps to detect inapplicable dependency modes. For instance
16850 # both Tru64's cc and ICC support -MD to output dependencies as a
16851 # side effect of compilation, but ICC will put the dependencies in
16852 # the current directory while Tru64 will put them in the object
16856 am_cv_GCJ_dependencies_compiler_type
=none
16857 if test "$am_compiler_list" = ""; then
16858 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16860 am__universal
=false
16863 for depmode
in $am_compiler_list; do
16864 # Setup a source with many dependencies, because some compilers
16865 # like to wrap large dependency lists on column 80 (with \), and
16866 # we should not choose a depcomp mode which is confused by this.
16868 # We need to recreate these files for each test, as the compiler may
16869 # overwrite some of them when testing with obscure command lines.
16870 # This happens at least with the AIX C compiler.
16872 for i
in 1 2 3 4 5 6; do
16873 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16874 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16875 # Solaris 8's {/usr,}/bin/sh.
16876 touch sub
/conftst
$i.h
16878 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16880 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16881 # mode. It turns out that the SunPro C++ compiler does not properly
16882 # handle `-M -o', and we need to detect this. Also, some Intel
16883 # versions had trouble with output in subdirs
16884 am__obj
=sub
/conftest.
${OBJEXT-o}
16885 am__minus_obj
="-o $am__obj"
16888 # This depmode causes a compiler race in universal mode.
16889 test "$am__universal" = false ||
continue
16892 # after this tag, mechanisms are not by side-effect, so they'll
16893 # only be used when explicitly requested
16894 if test "x$enable_dependency_tracking" = xyes
; then
16900 msvisualcpp | msvcmsys
)
16901 # This compiler won't grok `-c -o', but also, the minuso test has
16902 # not run yet. These depmodes are late enough in the game, and
16903 # so weak that their functioning should not be impacted.
16904 am__obj
=conftest.
${OBJEXT-o}
16909 if depmode
=$depmode \
16910 source=sub
/conftest.c object
=$am__obj \
16911 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16912 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
16913 >/dev
/null
2>conftest.err
&&
16914 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16915 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16916 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
16917 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16918 # icc doesn't choke on unknown options, it will just issue warnings
16919 # or remarks (even with -Werror). So we grep stderr for any message
16920 # that says an option was ignored or not supported.
16921 # When given -MP, icc 7.0 and 7.1 complain thusly:
16922 # icc: Command line warning: ignoring option '-M'; no argument required
16923 # The diagnosis changed in icc 8.0:
16924 # icc: Command line remark: option '-MP' not supported
16925 if (grep 'ignoring option' conftest.err ||
16926 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16927 am_cv_GCJ_dependencies_compiler_type
=$depmode
16934 rm -rf conftest.dir
16936 am_cv_GCJ_dependencies_compiler_type
=none
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
16941 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
16942 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
16945 test "x$enable_dependency_tracking" != xno \
16946 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
16947 am__fastdepGCJ_TRUE
=
16948 am__fastdepGCJ_FALSE
='#'
16950 am__fastdepGCJ_TRUE
='#'
16951 am__fastdepGCJ_FALSE
=
16956 if test -n "$ac_tool_prefix"; then
16959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16960 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16962 $as_echo_n "checking for $ac_word... " >&6; }
16963 if test "${ac_cv_prog_GCJ+set}" = set; then :
16964 $as_echo_n "(cached) " >&6
16966 if test -n "$GCJ"; then
16967 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16970 for as_dir
in $PATH
16973 test -z "$as_dir" && as_dir
=.
16974 for ac_exec_ext
in '' $ac_executable_extensions; do
16975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16976 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
16977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16986 GCJ
=$ac_cv_prog_GCJ
16987 if test -n "$GCJ"; then
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16989 $as_echo "$GCJ" >&6; }
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16992 $as_echo "no" >&6; }
16996 test -n "$GCJ" && break
16999 if test -z "$GCJ"; then
17003 # Extract the first word of "$ac_prog", so it can be a program name with args.
17004 set dummy
$ac_prog; ac_word
=$2
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17006 $as_echo_n "checking for $ac_word... " >&6; }
17007 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
17008 $as_echo_n "(cached) " >&6
17010 if test -n "$ac_ct_GCJ"; then
17011 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
17013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17014 for as_dir
in $PATH
17017 test -z "$as_dir" && as_dir
=.
17018 for ac_exec_ext
in '' $ac_executable_extensions; do
17019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17020 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
17021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17030 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
17031 if test -n "$ac_ct_GCJ"; then
17032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
17033 $as_echo "$ac_ct_GCJ" >&6; }
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17036 $as_echo "no" >&6; }
17040 test -n "$ac_ct_GCJ" && break
17043 if test "x$ac_ct_GCJ" = x
; then
17046 case $cross_compiling:$ac_tool_warned in
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17050 ac_tool_warned
=yes ;;
17056 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
17057 if test "x${GCJFLAGS-unset}" = xunset
; then
17062 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17065 $as_echo_n "checking dependency style of $depcc... " >&6; }
17066 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
17067 $as_echo_n "(cached) " >&6
17069 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17070 # We make a subdir and do the tests there. Otherwise we can end up
17071 # making bogus files that we don't know about and never remove. For
17072 # instance it was reported that on HP-UX the gcc test will end up
17073 # making a dummy file named `D' -- because `-MD' means `put the output
17076 # Copy depcomp to subdir because otherwise we won't find it if we're
17077 # using a relative directory.
17078 cp "$am_depcomp" conftest.dir
17080 # We will build objects and dependencies in a subdirectory because
17081 # it helps to detect inapplicable dependency modes. For instance
17082 # both Tru64's cc and ICC support -MD to output dependencies as a
17083 # side effect of compilation, but ICC will put the dependencies in
17084 # the current directory while Tru64 will put them in the object
17088 am_cv_GCJ_dependencies_compiler_type
=none
17089 if test "$am_compiler_list" = ""; then
17090 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17092 am__universal
=false
17095 for depmode
in $am_compiler_list; do
17096 # Setup a source with many dependencies, because some compilers
17097 # like to wrap large dependency lists on column 80 (with \), and
17098 # we should not choose a depcomp mode which is confused by this.
17100 # We need to recreate these files for each test, as the compiler may
17101 # overwrite some of them when testing with obscure command lines.
17102 # This happens at least with the AIX C compiler.
17104 for i
in 1 2 3 4 5 6; do
17105 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
17106 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17107 # Solaris 8's {/usr,}/bin/sh.
17108 touch sub
/conftst
$i.h
17110 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17112 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17113 # mode. It turns out that the SunPro C++ compiler does not properly
17114 # handle `-M -o', and we need to detect this. Also, some Intel
17115 # versions had trouble with output in subdirs
17116 am__obj
=sub
/conftest.
${OBJEXT-o}
17117 am__minus_obj
="-o $am__obj"
17120 # This depmode causes a compiler race in universal mode.
17121 test "$am__universal" = false ||
continue
17124 # after this tag, mechanisms are not by side-effect, so they'll
17125 # only be used when explicitly requested
17126 if test "x$enable_dependency_tracking" = xyes
; then
17132 msvisualcpp | msvcmsys
)
17133 # This compiler won't grok `-c -o', but also, the minuso test has
17134 # not run yet. These depmodes are late enough in the game, and
17135 # so weak that their functioning should not be impacted.
17136 am__obj
=conftest.
${OBJEXT-o}
17141 if depmode
=$depmode \
17142 source=sub
/conftest.c object
=$am__obj \
17143 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
17144 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
17145 >/dev
/null
2>conftest.err
&&
17146 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17147 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17148 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
17149 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
17150 # icc doesn't choke on unknown options, it will just issue warnings
17151 # or remarks (even with -Werror). So we grep stderr for any message
17152 # that says an option was ignored or not supported.
17153 # When given -MP, icc 7.0 and 7.1 complain thusly:
17154 # icc: Command line warning: ignoring option '-M'; no argument required
17155 # The diagnosis changed in icc 8.0:
17156 # icc: Command line remark: option '-MP' not supported
17157 if (grep 'ignoring option' conftest.err ||
17158 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
17159 am_cv_GCJ_dependencies_compiler_type
=$depmode
17166 rm -rf conftest.dir
17168 am_cv_GCJ_dependencies_compiler_type
=none
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
17173 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
17174 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
17177 test "x$enable_dependency_tracking" != xno \
17178 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
17179 am__fastdepGCJ_TRUE
=
17180 am__fastdepGCJ_FALSE
='#'
17182 am__fastdepGCJ_TRUE
='#'
17183 am__fastdepGCJ_FALSE
=
17190 # Source file extension for Java test sources.
17193 # Object file extension for compiled Java test sources.
17197 # Code to be used in simple compile tests
17198 lt_simple_compile_test_code
="int some_variable = 0;"
17200 # Code to be used in simple link tests
17201 lt_simple_link_test_code
='int main(){return(0);}'
17203 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17210 # If no C compiler was specified, use CC.
17213 # If no C compiler flags were specified, use CFLAGS.
17214 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17216 # Allow CC to be a program name with arguments.
17220 # save warnings/boilerplate of simple test code
17221 ac_outfile
=conftest.
$ac_objext
17222 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17223 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17224 _lt_compiler_boilerplate
=`cat conftest.err`
17227 ac_outfile
=conftest.
$ac_objext
17228 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17229 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17230 _lt_linker_boilerplate
=`cat conftest.err`
17234 # Allow CC to be a program name with arguments.
17238 for cc_temp
in $compiler""; do
17240 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17241 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17246 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17249 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17250 archive_cmds_need_lc_GCJ
=no
17252 old_archive_cmds_GCJ
=$old_archive_cmds
17255 ## There is no encapsulation within the following macros, do not change
17256 ## the running order or otherwise move them around unless you know exactly
17257 ## what you are doing...
17258 if test -n "$compiler"; then
17260 lt_prog_compiler_no_builtin_flag_GCJ
=
17262 if test "$GCC" = yes; then
17263 case $cc_basename in
17265 lt_prog_compiler_no_builtin_flag_GCJ
=' -Xcompiler -fno-builtin' ;;
17267 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin' ;;
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17271 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17272 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
17273 $as_echo_n "(cached) " >&6
17275 lt_cv_prog_compiler_rtti_exceptions
=no
17276 ac_outfile
=conftest.
$ac_objext
17277 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17278 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17279 # Insert the option either (1) after the last *FLAGS variable, or
17280 # (2) before a word containing "conftest.", or (3) at the end.
17281 # Note that $ac_compile itself does not contain backslashes and begins
17282 # with a dollar sign (not a hyphen), so the echo should work correctly.
17283 # The option is referenced via a variable to avoid confusing sed.
17284 lt_compile
=`echo "$ac_compile" | $SED \
17285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17287 -e 's:$: $lt_compiler_flag:'`
17288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17289 (eval "$lt_compile" 2>conftest.err
)
17291 cat conftest.err
>&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 if (exit $ac_status) && test -s "$ac_outfile"; then
17294 # The compiler can only warn and ignore the option if not recognized
17295 # So say no if there are warnings other than the usual output.
17296 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17297 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17298 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17299 lt_cv_prog_compiler_rtti_exceptions
=yes
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17306 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17308 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17309 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17318 lt_prog_compiler_wl_GCJ
=
17319 lt_prog_compiler_pic_GCJ
=
17320 lt_prog_compiler_static_GCJ
=
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17323 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17325 if test "$GCC" = yes; then
17326 lt_prog_compiler_wl_GCJ
='-Wl,'
17327 lt_prog_compiler_static_GCJ
='-static'
17331 # All AIX code is PIC.
17332 if test "$host_cpu" = ia64
; then
17333 # AIX 5 now supports IA64 processor
17334 lt_prog_compiler_static_GCJ
='-Bstatic'
17341 # see comment about AmigaOS4 .so support
17342 lt_prog_compiler_pic_GCJ
='-fPIC'
17345 # FIXME: we need at least 68020 code to build shared libraries, but
17346 # adding the `-m68020' flag to GCC prevents building anything better,
17348 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17353 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17354 # PIC is the default for these OSes.
17357 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17358 # This hack is so that the source file can tell whether it is being
17359 # built for inclusion in a dll (and should export symbols for example).
17360 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17361 # (--disable-auto-import) libraries
17365 darwin
* | rhapsody
*)
17366 # PIC is the default on this platform
17367 # Common symbols not allowed in MH_DYLIB files
17368 lt_prog_compiler_pic_GCJ
='-fno-common'
17372 # PIC is the default for Haiku.
17373 # The "-static" flag exists, but is broken.
17374 lt_prog_compiler_static_GCJ
=
17378 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17379 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17380 # sets the default TLS model and affects inlining.
17386 lt_prog_compiler_pic_GCJ
='-fPIC'
17392 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17393 # Instead, we relocate shared libraries at runtime.
17397 # Just because we use GCC doesn't mean we suddenly get shared libraries
17398 # on systems that don't support them.
17399 lt_prog_compiler_can_build_shared_GCJ
=no
17404 # QNX uses GNU C++, but need to define -shared option too, otherwise
17405 # it will coredump.
17406 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17410 if test -d /usr
/nec
; then
17411 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17416 lt_prog_compiler_pic_GCJ
='-fPIC'
17420 case $cc_basename in
17421 nvcc
*) # Cuda Compiler Driver 2.2
17422 lt_prog_compiler_wl_GCJ
='-Xlinker '
17423 lt_prog_compiler_pic_GCJ
='-Xcompiler -fPIC'
17427 # PORTME Check for flag to pass linker flags through the system compiler.
17430 lt_prog_compiler_wl_GCJ
='-Wl,'
17431 if test "$host_cpu" = ia64
; then
17432 # AIX 5 now supports IA64 processor
17433 lt_prog_compiler_static_GCJ
='-Bstatic'
17435 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17439 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17440 # This hack is so that the source file can tell whether it is being
17441 # built for inclusion in a dll (and should export symbols for example).
17445 hpux9
* | hpux10
* | hpux11
*)
17446 lt_prog_compiler_wl_GCJ
='-Wl,'
17447 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17448 # not for PA HP-UX.
17454 lt_prog_compiler_pic_GCJ
='+Z'
17457 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17458 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17461 irix5
* | irix6
* | nonstopux
*)
17462 lt_prog_compiler_wl_GCJ
='-Wl,'
17463 # PIC (with -KPIC) is the default.
17464 lt_prog_compiler_static_GCJ
='-non_shared'
17467 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17468 case $cc_basename in
17469 # old Intel for x86_64 which still supported -KPIC.
17471 lt_prog_compiler_wl_GCJ
='-Wl,'
17472 lt_prog_compiler_pic_GCJ
='-KPIC'
17473 lt_prog_compiler_static_GCJ
='-static'
17475 # icc used to be incompatible with GCC.
17476 # ICC 10 doesn't accept -KPIC any more.
17478 lt_prog_compiler_wl_GCJ
='-Wl,'
17479 lt_prog_compiler_pic_GCJ
='-fPIC'
17480 lt_prog_compiler_static_GCJ
='-static'
17482 # Lahey Fortran 8.1.
17484 lt_prog_compiler_wl_GCJ
='-Wl,'
17485 lt_prog_compiler_pic_GCJ
='--shared'
17486 lt_prog_compiler_static_GCJ
='--static'
17488 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
17489 # Portland Group compilers (*not* the Pentium gcc compiler,
17490 # which looks to be a dead project)
17491 lt_prog_compiler_wl_GCJ
='-Wl,'
17492 lt_prog_compiler_pic_GCJ
='-fpic'
17493 lt_prog_compiler_static_GCJ
='-Bstatic'
17496 lt_prog_compiler_wl_GCJ
='-Wl,'
17497 # All Alpha code is PIC.
17498 lt_prog_compiler_static_GCJ
='-non_shared'
17500 xl
* | bgxl
* | bgf
* | mpixl
*)
17501 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
17502 lt_prog_compiler_wl_GCJ
='-Wl,'
17503 lt_prog_compiler_pic_GCJ
='-qpic'
17504 lt_prog_compiler_static_GCJ
='-qstaticlink'
17507 case `$CC -V 2>&1 | sed 5q` in
17508 *Sun\ F
* |
*Sun
*Fortran
*)
17509 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17510 lt_prog_compiler_pic_GCJ
='-KPIC'
17511 lt_prog_compiler_static_GCJ
='-Bstatic'
17512 lt_prog_compiler_wl_GCJ
=''
17516 lt_prog_compiler_pic_GCJ
='-KPIC'
17517 lt_prog_compiler_static_GCJ
='-Bstatic'
17518 lt_prog_compiler_wl_GCJ
='-Wl,'
17526 lt_prog_compiler_pic_GCJ
='-KPIC'
17527 lt_prog_compiler_static_GCJ
='-Bstatic'
17531 # QNX uses GNU C++, but need to define -shared option too, otherwise
17532 # it will coredump.
17533 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17536 osf3
* | osf4
* | osf5
*)
17537 lt_prog_compiler_wl_GCJ
='-Wl,'
17538 # All OSF/1 code is PIC.
17539 lt_prog_compiler_static_GCJ
='-non_shared'
17543 lt_prog_compiler_static_GCJ
='-non_shared'
17547 lt_prog_compiler_pic_GCJ
='-KPIC'
17548 lt_prog_compiler_static_GCJ
='-Bstatic'
17549 case $cc_basename in
17550 f77
* | f90
* | f95
*)
17551 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17553 lt_prog_compiler_wl_GCJ
='-Wl,';;
17558 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17559 lt_prog_compiler_pic_GCJ
='-PIC'
17560 lt_prog_compiler_static_GCJ
='-Bstatic'
17563 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17564 lt_prog_compiler_wl_GCJ
='-Wl,'
17565 lt_prog_compiler_pic_GCJ
='-KPIC'
17566 lt_prog_compiler_static_GCJ
='-Bstatic'
17570 if test -d /usr
/nec
;then
17571 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17572 lt_prog_compiler_static_GCJ
='-Bstatic'
17576 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17577 lt_prog_compiler_wl_GCJ
='-Wl,'
17578 lt_prog_compiler_pic_GCJ
='-KPIC'
17579 lt_prog_compiler_static_GCJ
='-Bstatic'
17583 lt_prog_compiler_wl_GCJ
='-Wl,'
17584 lt_prog_compiler_can_build_shared_GCJ
=no
17588 lt_prog_compiler_pic_GCJ
='-pic'
17589 lt_prog_compiler_static_GCJ
='-Bstatic'
17593 lt_prog_compiler_can_build_shared_GCJ
=no
17599 # For platforms which do not support PIC, -DPIC is meaningless:
17601 lt_prog_compiler_pic_GCJ
=
17604 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
17608 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17613 # Check to make sure the PIC flag actually works.
17615 if test -n "$lt_prog_compiler_pic_GCJ"; then
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17617 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17618 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17621 lt_cv_prog_compiler_pic_works_GCJ
=no
17622 ac_outfile
=conftest.
$ac_objext
17623 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17624 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17625 # Insert the option either (1) after the last *FLAGS variable, or
17626 # (2) before a word containing "conftest.", or (3) at the end.
17627 # Note that $ac_compile itself does not contain backslashes and begins
17628 # with a dollar sign (not a hyphen), so the echo should work correctly.
17629 # The option is referenced via a variable to avoid confusing sed.
17630 lt_compile
=`echo "$ac_compile" | $SED \
17631 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17632 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17633 -e 's:$: $lt_compiler_flag:'`
17634 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17635 (eval "$lt_compile" 2>conftest.err
)
17637 cat conftest.err
>&5
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 if (exit $ac_status) && test -s "$ac_outfile"; then
17640 # The compiler can only warn and ignore the option if not recognized
17641 # So say no if there are warnings other than the usual output.
17642 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17643 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17644 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17645 lt_cv_prog_compiler_pic_works_GCJ
=yes
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17652 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17654 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17655 case $lt_prog_compiler_pic_GCJ in
17657 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17660 lt_prog_compiler_pic_GCJ
=
17661 lt_prog_compiler_can_build_shared_GCJ
=no
17669 # Check to make sure the static flag actually works.
17671 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17673 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17674 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then :
17675 $as_echo_n "(cached) " >&6
17677 lt_cv_prog_compiler_static_works_GCJ
=no
17678 save_LDFLAGS
="$LDFLAGS"
17679 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17680 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17681 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17682 # The linker can only warn and ignore the option if not recognized
17683 # So say no if there are warnings
17684 if test -s conftest.err
; then
17685 # Append any errors to the config.log.
17686 cat conftest.err
1>&5
17687 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
17688 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17689 if diff conftest.exp conftest.er2
>/dev
/null
; then
17690 lt_cv_prog_compiler_static_works_GCJ
=yes
17693 lt_cv_prog_compiler_static_works_GCJ
=yes
17697 LDFLAGS
="$save_LDFLAGS"
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17701 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17703 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17706 lt_prog_compiler_static_GCJ
=
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17713 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17714 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17715 $as_echo_n "(cached) " >&6
17717 lt_cv_prog_compiler_c_o_GCJ
=no
17718 $RM -r conftest
2>/dev
/null
17722 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17724 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17725 # Insert the option either (1) after the last *FLAGS variable, or
17726 # (2) before a word containing "conftest.", or (3) at the end.
17727 # Note that $ac_compile itself does not contain backslashes and begins
17728 # with a dollar sign (not a hyphen), so the echo should work correctly.
17729 lt_compile
=`echo "$ac_compile" | $SED \
17730 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17731 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17732 -e 's:$: $lt_compiler_flag:'`
17733 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17734 (eval "$lt_compile" 2>out
/conftest.err
)
17736 cat out
/conftest.err
>&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17740 # The compiler can only warn and ignore the option if not recognized
17741 # So say no if there are warnings
17742 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17743 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17744 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17745 lt_cv_prog_compiler_c_o_GCJ
=yes
17750 # SGI C++ compiler will create directory out/ii_files/ for
17751 # template instantiation
17752 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17753 $RM out
/* && rmdir out
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17760 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17765 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17766 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17767 $as_echo_n "(cached) " >&6
17769 lt_cv_prog_compiler_c_o_GCJ
=no
17770 $RM -r conftest
2>/dev
/null
17774 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17776 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17777 # Insert the option either (1) after the last *FLAGS variable, or
17778 # (2) before a word containing "conftest.", or (3) at the end.
17779 # Note that $ac_compile itself does not contain backslashes and begins
17780 # with a dollar sign (not a hyphen), so the echo should work correctly.
17781 lt_compile
=`echo "$ac_compile" | $SED \
17782 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17783 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17784 -e 's:$: $lt_compiler_flag:'`
17785 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17786 (eval "$lt_compile" 2>out
/conftest.err
)
17788 cat out
/conftest.err
>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17792 # The compiler can only warn and ignore the option if not recognized
17793 # So say no if there are warnings
17794 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17795 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17796 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17797 lt_cv_prog_compiler_c_o_GCJ
=yes
17802 # SGI C++ compiler will create directory out/ii_files/ for
17803 # template instantiation
17804 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17805 $RM out
/* && rmdir out
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17812 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17817 hard_links
="nottested"
17818 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17819 # do not overwrite the value of need_locks provided by the user
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17821 $as_echo_n "checking if we can lock with hard links... " >&6; }
17824 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17826 ln conftest.a conftest.b
2>&5 || hard_links
=no
17827 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17829 $as_echo "$hard_links" >&6; }
17830 if test "$hard_links" = no
; then
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17832 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17842 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17845 allow_undefined_flag_GCJ
=
17846 always_export_symbols_GCJ
=no
17848 archive_expsym_cmds_GCJ
=
17849 compiler_needs_object_GCJ
=no
17850 enable_shared_with_static_runtimes_GCJ
=no
17851 export_dynamic_flag_spec_GCJ
=
17852 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17853 hardcode_automatic_GCJ
=no
17854 hardcode_direct_GCJ
=no
17855 hardcode_direct_absolute_GCJ
=no
17856 hardcode_libdir_flag_spec_GCJ
=
17857 hardcode_libdir_flag_spec_ld_GCJ
=
17858 hardcode_libdir_separator_GCJ
=
17859 hardcode_minus_L_GCJ
=no
17860 hardcode_shlibpath_var_GCJ
=unsupported
17861 inherit_rpath_GCJ
=no
17862 link_all_deplibs_GCJ
=unknown
17864 module_expsym_cmds_GCJ
=
17865 old_archive_from_new_cmds_GCJ
=
17866 old_archive_from_expsyms_cmds_GCJ
=
17867 thread_safe_flag_spec_GCJ
=
17868 whole_archive_flag_spec_GCJ
=
17869 # include_expsyms should be a list of space-separated symbols to be *always*
17870 # included in the symbol list
17871 include_expsyms_GCJ
=
17872 # exclude_expsyms can be an extended regexp of symbols to exclude
17873 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17874 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17875 # as well as any symbol that contains `d'.
17876 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17877 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17878 # platforms (ab)use it in PIC code, but their linkers get confused if
17879 # the symbol is explicitly referenced. Since portable code cannot
17880 # rely on this symbol name, it's probably fine to never include it in
17881 # preloaded symbol tables.
17882 # Exclude shared library initialization/finalization symbols.
17883 extract_expsyms_cmds
=
17886 cygwin
* | mingw
* | pw32
* | cegcc
*)
17887 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17888 # When not using gcc, we currently assume that we are using
17889 # Microsoft Visual C++.
17890 if test "$GCC" != yes; then
17895 # we just hope/assume this is gcc and not c89 (= MSVC++)
17905 # On some targets, GNU ld is compatible enough with the native linker
17906 # that we're better off using the native interface for both.
17907 lt_use_gnu_ld_interface
=no
17908 if test "$with_gnu_ld" = yes; then
17911 # The AIX port of GNU ld has always aspired to compatibility
17912 # with the native linker. However, as the warning in the GNU ld
17913 # block says, versions before 2.19.5* couldn't really create working
17914 # shared libraries, regardless of the interface used.
17915 case `$LD -v 2>&1` in
17916 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
17917 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
17918 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
17920 lt_use_gnu_ld_interface
=yes
17925 lt_use_gnu_ld_interface
=yes
17930 if test "$lt_use_gnu_ld_interface" = yes; then
17931 # If archive_cmds runs LD, not CC, wlarc should be empty
17934 # Set some defaults for GNU ld with shared library support. These
17935 # are reset later if shared libraries are not supported. Putting them
17936 # here allows them to be overridden if necessary.
17937 runpath_var
=LD_RUN_PATH
17938 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17939 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17940 # ancient GNU ld didn't support --whole-archive et. al.
17941 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
17942 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17944 whole_archive_flag_spec_GCJ
=
17946 supports_anon_versioning
=no
17947 case `$LD -v 2>&1` in
17948 *GNU\ gold
*) supports_anon_versioning
=yes ;;
17949 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17950 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17951 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17952 *\
2.11.
*) ;; # other 2.11 versions
17953 *) supports_anon_versioning
=yes ;;
17956 # See if GNU ld supports shared libraries.
17959 # On AIX/PPC, the GNU linker is very broken
17960 if test "$host_cpu" != ia64
; then
17964 *** Warning: the GNU linker, at least up to release 2.19, is reported
17965 *** to be unable to reliably create shared libraries on AIX.
17966 *** Therefore, libtool is disabling shared libraries support. If you
17967 *** really care for shared libraries, you may want to install binutils
17968 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
17969 *** You will then need to restart the configuration process.
17978 # see comment about AmigaOS4 .so support
17979 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17980 archive_expsym_cmds_GCJ
=''
17983 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)'
17984 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17985 hardcode_minus_L_GCJ
=yes
17991 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17992 allow_undefined_flag_GCJ
=unsupported
17993 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17994 # support --undefined. This deserves some investigation. FIXME
17995 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18001 cygwin
* | mingw
* | pw32
* | cegcc
*)
18002 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18003 # as there is no search path for DLLs.
18004 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18005 export_dynamic_flag_spec_GCJ
='${wl}--export-all-symbols'
18006 allow_undefined_flag_GCJ
=unsupported
18007 always_export_symbols_GCJ
=no
18008 enable_shared_with_static_runtimes_GCJ
=yes
18009 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18011 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
18012 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18013 # If the export-symbols file already is a .def file (1st line
18014 # is EXPORTS), use it as is; otherwise, prepend...
18015 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18016 cp $export_symbols $output_objdir/$soname.def;
18018 echo EXPORTS > $output_objdir/$soname.def;
18019 cat $export_symbols >> $output_objdir/$soname.def;
18021 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18028 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18029 link_all_deplibs_GCJ
=yes
18033 hardcode_direct_GCJ
=no
18034 hardcode_shlibpath_var_GCJ
=no
18035 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18036 export_dynamic_flag_spec_GCJ
='${wl}-E'
18037 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18038 # Instead, shared libraries are loaded at an image base (0x10000000 by
18039 # default) and relocated if they conflict, which is a slow very memory
18040 # consuming and fragmenting process. To avoid this, we pick a random,
18041 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18042 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18043 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'
18044 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'
18047 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
18049 if test "$host_os" = linux-dietlibc
; then
18050 case $cc_basename in
18051 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
18054 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
18055 && test "$tmp_diet" = no
18058 tmp_sharedflag
='-shared'
18059 case $cc_basename,$host_cpu in
18060 pgcc
*) # Portland Group C compiler
18061 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'
18062 tmp_addflag
=' $pic_flag'
18064 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
18065 # Portland Group f77 and f90 compilers
18066 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'
18067 tmp_addflag
=' $pic_flag -Mnomain' ;;
18068 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18069 tmp_addflag
=' -i_dynamic' ;;
18070 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18071 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18072 ifc
* | ifort
*) # Intel Fortran compiler
18073 tmp_addflag
=' -nofor_main' ;;
18074 lf95
*) # Lahey Fortran 8.1
18075 whole_archive_flag_spec_GCJ
=
18076 tmp_sharedflag
='--shared' ;;
18077 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
18078 tmp_sharedflag
='-qmkshrobj'
18080 nvcc
*) # Cuda Compiler Driver 2.2
18081 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'
18082 compiler_needs_object_GCJ
=yes
18085 case `$CC -V 2>&1 | sed 5q` in
18086 *Sun\ C
*) # Sun C 5.9
18087 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'
18088 compiler_needs_object_GCJ
=yes
18089 tmp_sharedflag
='-G' ;;
18090 *Sun\ F
*) # Sun Fortran 8.3
18091 tmp_sharedflag
='-G' ;;
18093 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18095 if test "x$supports_anon_versioning" = xyes
; then
18096 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18097 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18098 echo "local: *; };" >> $output_objdir/$libname.ver~
18099 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18102 case $cc_basename in
18103 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
18104 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
18105 whole_archive_flag_spec_GCJ
='--whole-archive$convenience --no-whole-archive'
18106 hardcode_libdir_flag_spec_GCJ
=
18107 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18108 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
18109 if test "x$supports_anon_versioning" = xyes
; then
18110 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18111 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18112 echo "local: *; };" >> $output_objdir/$libname.ver~
18113 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
18123 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18124 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18127 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18128 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18133 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
18137 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18138 *** create shared libraries on Solaris systems. Therefore, libtool
18139 *** is disabling shared libraries support. We urge you to upgrade GNU
18140 *** binutils to release 2.9.1 or newer. Another option is to modify
18141 *** your PATH or compiler configuration so that the native linker is
18142 *** used, and then restart.
18145 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18146 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18147 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18153 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18154 case `$LD -v 2>&1` in
18155 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18159 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18160 *** reliably create shared libraries on SCO systems. Therefore, libtool
18161 *** is disabling shared libraries support. We urge you to upgrade GNU
18162 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18163 *** your PATH or compiler configuration so that the native linker is
18164 *** used, and then restart.
18169 # For security reasons, it is highly recommended that you always
18170 # use absolute paths for naming shared libraries, and exclude the
18171 # DT_RUNPATH tag from executables and libraries. But doing so
18172 # requires that you compile everything twice, which is a pain.
18173 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18174 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18175 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18176 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18185 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18187 hardcode_direct_GCJ
=yes
18188 hardcode_shlibpath_var_GCJ
=no
18192 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18193 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18194 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18201 if test "$ld_shlibs_GCJ" = no
; then
18203 hardcode_libdir_flag_spec_GCJ
=
18204 export_dynamic_flag_spec_GCJ
=
18205 whole_archive_flag_spec_GCJ
=
18208 # PORTME fill in a description of your system's linker (not GNU ld)
18211 allow_undefined_flag_GCJ
=unsupported
18212 always_export_symbols_GCJ
=yes
18213 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'
18214 # Note: this linker hardcodes the directories in LIBPATH if there
18215 # are no directories specified by -L.
18216 hardcode_minus_L_GCJ
=yes
18217 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18218 # Neither direct hardcoding nor static linking is supported with a
18220 hardcode_direct_GCJ
=unsupported
18225 if test "$host_cpu" = ia64
; then
18226 # On IA64, the linker does run time linking by default, so we don't
18227 # have to do anything special.
18228 aix_use_runtimelinking
=no
18229 exp_sym_flag
='-Bexport'
18232 # If we're using GNU nm, then we don't want the "-C" option.
18233 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18234 # Also, AIX nm treats weak defined symbols like other global
18235 # defined symbols, whereas GNU nm marks them as "W".
18236 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18237 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'
18239 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'
18241 aix_use_runtimelinking
=no
18243 # Test if we are trying to use run time linking or normal
18244 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18245 # need to do runtime linking.
18246 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18247 for ld_flag
in $LDFLAGS; do
18248 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18249 aix_use_runtimelinking
=yes
18256 exp_sym_flag
='-bexport'
18257 no_entry_flag
='-bnoentry'
18260 # When large executables or shared objects are built, AIX ld can
18261 # have problems creating the table of contents. If linking a library
18262 # or program results in "error TOC overflow" add -mminimal-toc to
18263 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18264 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18266 archive_cmds_GCJ
=''
18267 hardcode_direct_GCJ
=yes
18268 hardcode_direct_absolute_GCJ
=yes
18269 hardcode_libdir_separator_GCJ
=':'
18270 link_all_deplibs_GCJ
=yes
18271 file_list_spec_GCJ
='${wl}-f,'
18273 if test "$GCC" = yes; then
18274 case $host_os in aix4.
[012]|aix4.
[012].
*)
18275 # We only want to do this on AIX 4.2 and lower, the check
18276 # below for broken collect2 doesn't work under 4.3+
18277 collect2name
=`${CC} -print-prog-name=collect2`
18278 if test -f "$collect2name" &&
18279 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
18281 # We have reworked collect2
18284 # We have old collect2
18285 hardcode_direct_GCJ
=unsupported
18286 # It fails to find uninstalled libraries when the uninstalled
18287 # path is not listed in the libpath. Setting hardcode_minus_L
18288 # to unsupported forces relinking
18289 hardcode_minus_L_GCJ
=yes
18290 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18291 hardcode_libdir_separator_GCJ
=
18295 shared_flag
='-shared'
18296 if test "$aix_use_runtimelinking" = yes; then
18297 shared_flag
="$shared_flag "'${wl}-G'
18301 if test "$host_cpu" = ia64
; then
18302 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18303 # chokes on -Wl,-G. The following line is correct:
18306 if test "$aix_use_runtimelinking" = yes; then
18307 shared_flag
='${wl}-G'
18309 shared_flag
='${wl}-bM:SRE'
18314 export_dynamic_flag_spec_GCJ
='${wl}-bexpall'
18315 # It seems that -bexpall does not export symbols beginning with
18316 # underscore (_), so it is better to generate a list of symbols to export.
18317 always_export_symbols_GCJ
=yes
18318 if test "$aix_use_runtimelinking" = yes; then
18319 # Warning - without using the other runtime loading flags (-brtl),
18320 # -berok will link without error, but may produce a broken library.
18321 allow_undefined_flag_GCJ
='-berok'
18322 # Determine the default libpath from the value encoded in an
18323 # empty executable.
18324 if test x
$gcc_no_link = xyes
; then
18325 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18338 if ac_fn_c_try_link
"$LINENO"; then :
18340 lt_aix_libpath_sed
='
18341 /Import File Strings/,/^$/ {
18347 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18348 # Check for a 64-bit object if we didn't find anything.
18349 if test -z "$aix_libpath"; then
18350 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18353 rm -f core conftest.err conftest.
$ac_objext \
18354 conftest
$ac_exeext conftest.
$ac_ext
18355 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18357 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18358 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"
18360 if test "$host_cpu" = ia64
; then
18361 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
18362 allow_undefined_flag_GCJ
="-z nodefs"
18363 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"
18365 # Determine the default libpath from the value encoded in an
18366 # empty executable.
18367 if test x
$gcc_no_link = xyes
; then
18368 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18371 /* end confdefs.h. */
18381 if ac_fn_c_try_link
"$LINENO"; then :
18383 lt_aix_libpath_sed
='
18384 /Import File Strings/,/^$/ {
18390 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18391 # Check for a 64-bit object if we didn't find anything.
18392 if test -z "$aix_libpath"; then
18393 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18396 rm -f core conftest.err conftest.
$ac_objext \
18397 conftest
$ac_exeext conftest.
$ac_ext
18398 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18400 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18401 # Warning - without using the other run time loading flags,
18402 # -berok will link without error, but may produce a broken library.
18403 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18404 allow_undefined_flag_GCJ
=' ${wl}-berok'
18405 if test "$with_gnu_ld" = yes; then
18406 # We only use this code for GNU lds that support --whole-archive.
18407 whole_archive_flag_spec_GCJ
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18409 # Exported symbols can be pulled into shared objects from archives
18410 whole_archive_flag_spec_GCJ
='$convenience'
18412 archive_cmds_need_lc_GCJ
=yes
18413 # This is similar to how AIX traditionally builds its shared libraries.
18414 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'
18422 # see comment about AmigaOS4 .so support
18423 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18424 archive_expsym_cmds_GCJ
=''
18427 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)'
18428 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18429 hardcode_minus_L_GCJ
=yes
18435 export_dynamic_flag_spec_GCJ
=-rdynamic
18438 cygwin
* | mingw
* | pw32
* | cegcc
*)
18439 # When not using gcc, we currently assume that we are using
18440 # Microsoft Visual C++.
18441 # hardcode_libdir_flag_spec is actually meaningless, as there is
18442 # no search path for DLLs.
18443 hardcode_libdir_flag_spec_GCJ
=' '
18444 allow_undefined_flag_GCJ
=unsupported
18445 # Tell ltmain to make .lib files, not .a files.
18447 # Tell ltmain to make .dll files, not .so files.
18449 # FIXME: Setting linknames here is a bad hack.
18450 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
18451 # The linker will automatically build a .lib file if we build a DLL.
18452 old_archive_from_new_cmds_GCJ
='true'
18453 # FIXME: Should let the user specify the lib program.
18454 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18455 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18456 enable_shared_with_static_runtimes_GCJ
=yes
18459 darwin
* | rhapsody
*)
18462 archive_cmds_need_lc_GCJ
=no
18463 hardcode_direct_GCJ
=no
18464 hardcode_automatic_GCJ
=yes
18465 hardcode_shlibpath_var_GCJ
=unsupported
18466 if test "$lt_cv_ld_force_load" = "yes"; then
18467 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\"`'
18469 whole_archive_flag_spec_GCJ
=''
18471 link_all_deplibs_GCJ
=yes
18472 allow_undefined_flag_GCJ
="$_lt_dar_allow_undefined"
18473 case $cc_basename in
18474 ifort
*) _lt_dar_can_shared
=yes ;;
18475 *) _lt_dar_can_shared
=$GCC ;;
18477 if test "$_lt_dar_can_shared" = "yes"; then
18478 output_verbose_link_cmd
=func_echo_all
18479 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}"
18480 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18481 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}"
18482 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}"
18491 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18492 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18493 hardcode_shlibpath_var_GCJ
=no
18500 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18501 # support. Future versions do this automatically, but an explicit c++rt0.o
18502 # does not break anything, and helps significantly (at the cost of a little
18505 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18506 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18507 hardcode_direct_GCJ
=yes
18508 hardcode_shlibpath_var_GCJ
=no
18511 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18513 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18514 hardcode_direct_GCJ
=yes
18515 hardcode_minus_L_GCJ
=yes
18516 hardcode_shlibpath_var_GCJ
=no
18519 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18520 freebsd
* | dragonfly
*)
18521 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18522 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18523 hardcode_direct_GCJ
=yes
18524 hardcode_shlibpath_var_GCJ
=no
18528 if test "$GCC" = yes; then
18529 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'
18531 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'
18533 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18534 hardcode_libdir_separator_GCJ
=:
18535 hardcode_direct_GCJ
=yes
18537 # hardcode_minus_L: Not really in the search PATH,
18538 # but as the default location of the library.
18539 hardcode_minus_L_GCJ
=yes
18540 export_dynamic_flag_spec_GCJ
='${wl}-E'
18544 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18545 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18547 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18549 if test "$with_gnu_ld" = no
; then
18550 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18551 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18552 hardcode_libdir_separator_GCJ
=:
18553 hardcode_direct_GCJ
=yes
18554 hardcode_direct_absolute_GCJ
=yes
18555 export_dynamic_flag_spec_GCJ
='${wl}-E'
18556 # hardcode_minus_L: Not really in the search PATH,
18557 # but as the default location of the library.
18558 hardcode_minus_L_GCJ
=yes
18563 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18566 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18569 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18572 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18578 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18581 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18584 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18588 if test "$with_gnu_ld" = no
; then
18589 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18590 hardcode_libdir_separator_GCJ
=:
18594 hardcode_direct_GCJ
=no
18595 hardcode_shlibpath_var_GCJ
=no
18598 hardcode_direct_GCJ
=yes
18599 hardcode_direct_absolute_GCJ
=yes
18600 export_dynamic_flag_spec_GCJ
='${wl}-E'
18602 # hardcode_minus_L: Not really in the search PATH,
18603 # but as the default location of the library.
18604 hardcode_minus_L_GCJ
=yes
18610 irix5
* | irix6
* | nonstopux
*)
18611 if test "$GCC" = yes; then
18612 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'
18613 # Try to use the -exported_symbol ld option, if it does not
18614 # work, assume that -exports_file does not work either and
18615 # implicitly export all symbols.
18616 save_LDFLAGS
="$LDFLAGS"
18617 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18618 if test x
$gcc_no_link = xyes
; then
18619 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18622 /* end confdefs.h. */
18625 if ac_fn_c_try_link
"$LINENO"; then :
18626 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'
18629 rm -f core conftest.err conftest.
$ac_objext \
18630 conftest
$ac_exeext conftest.
$ac_ext
18631 LDFLAGS
="$save_LDFLAGS"
18633 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'
18634 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'
18636 archive_cmds_need_lc_GCJ
='no'
18637 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18638 hardcode_libdir_separator_GCJ
=:
18639 inherit_rpath_GCJ
=yes
18640 link_all_deplibs_GCJ
=yes
18644 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18645 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18647 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18649 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18650 hardcode_direct_GCJ
=yes
18651 hardcode_shlibpath_var_GCJ
=no
18655 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18656 hardcode_direct_GCJ
=yes
18657 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18658 hardcode_libdir_separator_GCJ
=:
18659 hardcode_shlibpath_var_GCJ
=no
18666 if test -f /usr
/libexec
/ld.so
; then
18667 hardcode_direct_GCJ
=yes
18668 hardcode_shlibpath_var_GCJ
=no
18669 hardcode_direct_absolute_GCJ
=yes
18670 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18671 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18672 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18673 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18674 export_dynamic_flag_spec_GCJ
='${wl}-E'
18677 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18678 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18679 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18682 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18683 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18693 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18694 hardcode_minus_L_GCJ
=yes
18695 allow_undefined_flag_GCJ
=unsupported
18696 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'
18697 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18701 if test "$GCC" = yes; then
18702 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18703 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'
18705 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18706 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'
18708 archive_cmds_need_lc_GCJ
='no'
18709 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18710 hardcode_libdir_separator_GCJ
=:
18713 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18714 if test "$GCC" = yes; then
18715 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18716 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'
18717 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18719 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18720 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'
18721 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~
18722 $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'
18724 # Both c and cxx compiler support -rpath directly
18725 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18727 archive_cmds_need_lc_GCJ
='no'
18728 hardcode_libdir_separator_GCJ
=:
18732 no_undefined_flag_GCJ
=' -z defs'
18733 if test "$GCC" = yes; then
18735 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18736 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18737 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18739 case `$CC -V 2>&1` in
18742 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18743 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18744 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18748 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18749 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18750 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18754 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18755 hardcode_shlibpath_var_GCJ
=no
18757 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18759 # The compiler driver will combine and reorder linker options,
18760 # but understands `-z linker_flag'. GCC discards it without `$wl',
18761 # but is careful enough not to reorder.
18762 # Supported since Solaris 2.6 (maybe 2.5.1?)
18763 if test "$GCC" = yes; then
18764 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18766 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18770 link_all_deplibs_GCJ
=yes
18774 if test "x$host_vendor" = xsequent
; then
18775 # Use $CC to link under sequent, because it throws in some extra .o
18776 # files that make .init and .fini sections work.
18777 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18779 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18781 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18782 hardcode_direct_GCJ
=yes
18783 hardcode_minus_L_GCJ
=yes
18784 hardcode_shlibpath_var_GCJ
=no
18788 case $host_vendor in
18790 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18791 hardcode_direct_GCJ
=yes # is this really true???
18794 ## LD is ld it makes a PLAMLIB
18795 ## CC just makes a GrossModule.
18796 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18797 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18798 hardcode_direct_GCJ
=no
18801 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18802 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18805 runpath_var
='LD_RUN_PATH'
18806 hardcode_shlibpath_var_GCJ
=no
18810 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18811 hardcode_shlibpath_var_GCJ
=no
18812 export_dynamic_flag_spec_GCJ
='-Bexport'
18816 if test -d /usr
/nec
; then
18817 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18818 hardcode_shlibpath_var_GCJ
=no
18819 runpath_var
=LD_RUN_PATH
18820 hardcode_runpath_var
=yes
18825 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18826 no_undefined_flag_GCJ
='${wl}-z,text'
18827 archive_cmds_need_lc_GCJ
=no
18828 hardcode_shlibpath_var_GCJ
=no
18829 runpath_var
='LD_RUN_PATH'
18831 if test "$GCC" = yes; then
18832 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18833 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18835 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18836 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18840 sysv5
* | sco3.2v5
* | sco5v6
*)
18841 # Note: We can NOT use -z defs as we might desire, because we do not
18842 # link with -lc, and that would cause any symbols used from libc to
18843 # always be unresolved, which means just about no library would
18844 # ever link correctly. If we're not using GNU ld we use -z text
18845 # though, which does catch some bad symbols but isn't as heavy-handed
18847 no_undefined_flag_GCJ
='${wl}-z,text'
18848 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18849 archive_cmds_need_lc_GCJ
=no
18850 hardcode_shlibpath_var_GCJ
=no
18851 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
18852 hardcode_libdir_separator_GCJ
=':'
18853 link_all_deplibs_GCJ
=yes
18854 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18855 runpath_var
='LD_RUN_PATH'
18857 if test "$GCC" = yes; then
18858 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18859 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18861 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18862 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18867 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18868 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18869 hardcode_shlibpath_var_GCJ
=no
18877 if test x
$host_vendor = xsni
; then
18879 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18880 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
18887 $as_echo "$ld_shlibs_GCJ" >&6; }
18888 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18890 with_gnu_ld_GCJ
=$with_gnu_ld
18898 # Do we need to explicitly link libc?
18900 case "x$archive_cmds_need_lc_GCJ" in
18902 # Assume -lc should be added
18903 archive_cmds_need_lc_GCJ
=yes
18905 if test "$enable_shared" = yes && test "$GCC" = yes; then
18906 case $archive_cmds_GCJ in
18908 # FIXME: we may have to deal with multi-command sequences.
18911 # Test whether the compiler implicitly links with -lc since on some
18912 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18913 # to ld, don't add -lc before -lgcc.
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18915 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18916 if test "${lt_cv_archive_cmds_need_lc_GCJ+set}" = set; then :
18917 $as_echo_n "(cached) " >&6
18920 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18922 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18923 (eval $ac_compile) 2>&5
18925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18926 test $ac_status = 0; } 2>conftest.err
; then
18929 libobjs
=conftest.
$ac_objext
18931 wl
=$lt_prog_compiler_wl_GCJ
18932 pic_flag
=$lt_prog_compiler_pic_GCJ
18938 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18939 allow_undefined_flag_GCJ
=
18940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18941 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18944 test $ac_status = 0; }
18946 lt_cv_archive_cmds_need_lc_GCJ
=no
18948 lt_cv_archive_cmds_need_lc_GCJ
=yes
18950 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18952 cat conftest.err
1>&5
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
18958 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
18959 archive_cmds_need_lc_GCJ
=$lt_cv_archive_cmds_need_lc_GCJ
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19030 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19031 hardcode_action_GCJ
=
19032 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
19033 test -n "$runpath_var_GCJ" ||
19034 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19036 # We can hardcode non-existent directories.
19037 if test "$hardcode_direct_GCJ" != no
&&
19038 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19039 # have to relink, otherwise we might link with an installed library
19040 # when we should be linking with a yet-to-be-installed one
19041 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19042 test "$hardcode_minus_L_GCJ" != no
; then
19043 # Linking always hardcodes the temporary library directory.
19044 hardcode_action_GCJ
=relink
19046 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19047 hardcode_action_GCJ
=immediate
19050 # We cannot hardcode anything, or else we can only hardcode existing
19052 hardcode_action_GCJ
=unsupported
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
19055 $as_echo "$hardcode_action_GCJ" >&6; }
19057 if test "$hardcode_action_GCJ" = relink ||
19058 test "$inherit_rpath_GCJ" = yes; then
19059 # Fast installation is not supported
19060 enable_fast_install
=no
19061 elif test "$shlibpath_overrides_runpath" = yes ||
19062 test "$enable_shared" = no
; then
19063 # Fast installation is not necessary
19064 enable_fast_install
=needless
19075 compiler_GCJ
=${GCJ-gcj}
19077 ac_cpp
='$CPP $CPPFLAGS'
19078 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19079 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19080 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19083 if test "x$CC" != xcc
; then
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
19085 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
19088 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
19090 set dummy
$CC; ac_cc
=`$as_echo "$2" |
19091 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19092 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
19093 $as_echo_n "(cached) " >&6
19095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19106 # Make sure it works both with $CC and with simple cc.
19107 # We do the test twice because some compilers refuse to overwrite an
19108 # existing .o file with -o, though they will create one.
19109 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19111 if { { case "(($ac_try" in
19112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19113 *) ac_try_echo=$ac_try;;
19115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19116 $as_echo "$ac_try_echo"; } >&5
19117 (eval "$ac_try") 2>&5
19119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19120 test $ac_status = 0; } &&
19121 test -f conftest2.$ac_objext && { { case "(($ac_try" in
19122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19123 *) ac_try_echo
=$ac_try;;
19125 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19126 $as_echo "$ac_try_echo"; } >&5
19127 (eval "$ac_try") 2>&5
19129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19130 test $ac_status = 0; };
19132 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
19133 if test "x$CC" != xcc
; then
19134 # Test first that cc exists at all.
19135 if { ac_try
='cc -c conftest.$ac_ext >&5'
19136 { { case "(($ac_try" in
19137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19138 *) ac_try_echo=$ac_try;;
19140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19141 $as_echo "$ac_try_echo"; } >&5
19142 (eval "$ac_try") 2>&5
19144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19145 test $ac_status = 0; }; }; then
19146 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19148 if { { case "(($ac_try" in
19149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19150 *) ac_try_echo
=$ac_try;;
19152 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19153 $as_echo "$ac_try_echo"; } >&5
19154 (eval "$ac_try") 2>&5
19156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19157 test $ac_status = 0; } &&
19158 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
19159 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19162 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19163 $as_echo "$ac_try_echo"; } >&5
19164 (eval "$ac_try") 2>&5
19166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19167 test $ac_status = 0; };
19172 # cc exists but doesn't like -o.
19173 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19178 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19180 rm -f core conftest*
19183 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19185 $as_echo "yes" >&6; }
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19188 $as_echo "no" >&6; }
19190 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
19194 # FIXME: we rely on the cache variable name because
19195 # there is no other way.
19197 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19198 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
19199 if test "$am_t" != yes; then
19200 # Losing compiler, so override with the script.
19201 # FIXME: It is wrong to rewrite CC.
19202 # But if we don't then we get into trouble of one sort or another.
19203 # A longer-term fix would be to have automake use am__CC in this case,
19204 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
19205 CC="$am_aux_dir/compile $CC"
19212 subdirs="$subdirs classpath libltdl"
19215 # The -no-testsuite modules omit the test subdir.
19216 if test -d $srcdir/testsuite; then
19218 TESTSUBDIR_FALSE='#'
19220 TESTSUBDIR_TRUE='#'
19225 # Should the runtime set system properties by examining the
19226 # environment variable GCJ_PROPERTIES?
19227 # Check whether --enable-getenv-properties was given.
19228 if test "${enable_getenv_properties+set}" = set; then :
19229 enableval=$enable_getenv_properties;
19233 # Whether GCJ_PROPERTIES is used depends on the target.
19234 if test -z "$enable_getenv_properties"; then
19235 enable_getenv_properties=${enable_getenv_properties_default-yes}
19237 if test "$enable_getenv_properties" = no; then
19239 $as_echo "#define DISABLE_GETENV_PROPERTIES 1" >>confdefs.h
19243 # Whether we should use arguments to main()
19244 if test -z "$enable_main_args"; then
19245 enable_main_args=${enable_main_args_default-yes}
19247 if test "$enable_main_args" = no; then
19249 $as_echo "#define DISABLE_MAIN_ARGS 1" >>confdefs.h
19254 # Should we use hashtable-based synchronization?
19255 # Currently works only for Linux X86/ia64
19256 # Typically faster and more space-efficient
19257 # Check whether --enable-hash-synchronization was given.
19258 if test "${enable_hash_synchronization+set}" = set; then :
19259 enableval=$enable_hash_synchronization;
19263 if test -z "$enable_hash_synchronization"; then
19264 enable_hash_synchronization=$enable_hash_synchronization_default
19272 # Check whether --with-ecj-jar was given.
19273 if test "${with_ecj_jar+set}" = set; then :
19274 withval=$with_ecj_jar; ECJ_JAR=$withval
19276 if test -f $multi_basedir/ecj.jar; then
19277 ECJ_BUILD_JAR=$multi_basedir/ecj.jar
19278 ECJ_JAR='$(jardir)/ecj.jar'
19279 install_ecj_jar=yes
19285 if test "$ECJ_JAR" != ""; then
19287 BUILD_ECJ1_FALSE='#'
19289 BUILD_ECJ1_TRUE='#'
19293 if test $install_ecj_jar = yes; then
19294 INSTALL_ECJ_JAR_TRUE=
19295 INSTALL_ECJ_JAR_FALSE='#'
19297 INSTALL_ECJ_JAR_TRUE='#'
19298 INSTALL_ECJ_JAR_FALSE=
19303 # Check whether --with-java-home was given.
19304 if test "${with_java_home+set}" = set; then :
19305 withval=$with_java_home; JAVA_HOME="${withval}"
19310 if test ! -z "$JAVA_HOME"; then
19311 JAVA_HOME_SET_TRUE=
19312 JAVA_HOME_SET_FALSE='#'
19314 JAVA_HOME_SET_TRUE='#'
19315 JAVA_HOME_SET_FALSE=
19320 suppress_libgcj_bc=no
19321 # Check whether --enable-libgcj-bc was given.
19322 if test "${enable_libgcj_bc+set}" = set; then :
19323 enableval=$enable_libgcj_bc; if test "$enable_libgcj_bc" = "no"; then
19324 suppress_libgcj_bc=yes
19328 if test "$suppress_libgcj_bc" = "yes"; then
19329 SUPPRESS_LIBGCJ_BC_TRUE=
19330 SUPPRESS_LIBGCJ_BC_FALSE='#'
19332 SUPPRESS_LIBGCJ_BC_TRUE='#'
19333 SUPPRESS_LIBGCJ_BC_FALSE=
19337 build_libgcj_reduced_reflection=no
19338 # Check whether --enable-reduced-reflection was given.
19339 if test "${enable_reduced_reflection+set}" = set; then :
19340 enableval=$enable_reduced_reflection; if test "$enable_reduced_reflection" = "yes"; then
19341 build_libgcj_reduced_reflection=yes
19345 if test "$build_libgcj_reduced_reflection" = "yes"; then
19346 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE=
19347 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE='#'
19349 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE='#'
19350 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE=
19354 # What is the native OS API for MinGW?
19356 # Check whether --with-win32-nlsapi was given.
19357 if test "${with_win32_nlsapi+set}" = set; then :
19358 withval=$with_win32_nlsapi; case "${withval}" in
19359 ansi) with_win32_nlsapi=ansi ;;
19360 unicows) with_win32_nlsapi=unicows ;;
19361 unicode) with_win32_nlsapi=unicode ;;
19362 *) as_fn_error "Bad value ${withval} for --with-win32-nlsapi." "$LINENO" 5 ;;
19365 with_win32_nlsapi=ansi
19369 case "${with_win32_nlsapi}" in
19372 $as_echo "#define MINGW_LIBGCJ_UNICODE 1" >>confdefs.h
19377 # configure.host sets slow_pthread_self if the synchronization code should
19378 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
19379 if test "${slow_pthread_self}" = "yes"; then
19381 $as_echo "#define SLOW_PTHREAD_SELF 1" >>confdefs.h
19385 # Check for gc debugging. This option is handled both here and in the GC.
19386 # Check whether --enable-gc-debug was given.
19387 if test "${enable_gc_debug+set}" = set; then :
19388 enableval=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
19390 $as_echo "#define LIBGCJ_GC_DEBUG 1" >>confdefs.h
19396 # See if the user has the interpreter included.
19397 # Check whether --enable-interpreter was given.
19398 if test "${enable_interpreter+set}" = set; then :
19399 enableval=$enable_interpreter; if test "$enable_interpreter" = yes; then
19400 # This can also be set in configure.host.
19401 libgcj_interpreter=yes
19402 elif test "$enable_interpreter" = no; then
19403 libgcj_interpreter=no
19408 if test "$libgcj_interpreter" = yes; then
19410 $as_echo "#define INTERPRETER 1" >>confdefs.h
19413 INTERPRETER="$libgcj_interpreter"
19415 if test "$libgcj_interpreter" = yes; then
19417 INTERPRETER_FALSE='#'
19419 INTERPRETER_TRUE='#'
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
19425 $as_echo_n "checking for exception model to use... " >&6; }
19427 ac_cpp='$CXXCPP $CPPFLAGS'
19428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19432 # Check whether --enable-sjlj-exceptions was given.
19433 if test "${enable_sjlj_exceptions+set}" = set; then :
19434 enableval=$enable_sjlj_exceptions; :
19436 cat > conftest.$ac_ext << EOF
19437 #line 19437 "configure"
19438 struct S { ~S(); };
19446 old_CXXFLAGS="$CXXFLAGS"
19448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19449 (eval $ac_compile) 2>&5
19451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19452 test $ac_status = 0; }; then
19453 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
19454 enable_sjlj_exceptions=yes
19455 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
19456 enable_sjlj_exceptions=no
19457 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
19459 enable_sjlj_exceptions=no
19462 CXXFLAGS="$old_CXXFLAGS"
19466 if test x$enable_sjlj_exceptions = xyes; then
19468 $as_echo "#define SJLJ_EXCEPTIONS 1" >>confdefs.h
19470 ac_exception_model_name=sjlj
19471 elif test x$enable_sjlj_exceptions = xno; then
19472 ac_exception_model_name="call frame"
19474 as_fn_error "unable to detect exception model" "$LINENO" 5
19477 ac_cpp='$CPP $CPPFLAGS'
19478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
19483 $as_echo "$ac_exception_model_name" >&6; }
19485 # If we are non using SJLJ exceptions, and this host does not have support
19486 # for unwinding from a signal handler, enable checked dereferences and divides.
19487 if test $can_unwind_signal = no && test $enable_sjlj_exceptions = no; then
19488 CHECKREFSPEC=-fcheck-references
19489 DIVIDESPEC=-fuse-divide-subroutine
19493 # See if the user wants to disable java.net. This is the mildly
19494 # ugly way that we admit that target-side configuration sucks.
19495 # Check whether --enable-java-net was given.
19496 if test "${enable_java_net+set}" = set; then :
19497 enableval=$enable_java_net;
19501 # Whether java.net is built by default can depend on the target.
19502 if test -z "$enable_java_net"; then
19503 enable_java_net=${enable_java_net_default-yes}
19505 if test "$enable_java_net" = no; then
19507 $as_echo "#define DISABLE_JAVA_NET 1" >>confdefs.h
19511 # See if the user wants to configure without libffi. Some
19512 # architectures don't support it, and default values are set in
19515 # Check whether --with-libffi was given.
19516 if test "${with_libffi+set}" = set; then :
19517 withval=$with_libffi; :
19519 with_libffi=${with_libffi_default-yes}
19525 if test "$with_libffi" != no; then
19527 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
19529 LIBFFI=../libffi/libffi_convenience.la
19530 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include'
19535 # See if the user wants to disable JVMPI support.
19536 # Check whether --enable-jvmpi was given.
19537 if test "${enable_jvmpi+set}" = set; then :
19538 enableval=$enable_jvmpi;
19542 if test "$enable_jvmpi" != no; then
19544 $as_echo "#define ENABLE_JVMPI 1" >>confdefs.h
19548 # If the target is an eCos system, use the appropriate eCos
19550 # FIXME: this should not be a local option but a global target
19551 # system; at present there is no eCos target.
19552 TARGET_ECOS=${PROCESS-"no"}
19554 # Check whether --with-ecos was given.
19555 if test "${with_ecos+set}" = set; then :
19556 withval=$with_ecos; TARGET_ECOS="$with_ecos"
19561 case "$TARGET_ECOS" in
19562 no) case "$host" in
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'ld' is at least 2.13" >&5
19569 $as_echo_n "checking whether 'ld' is at least 2.13... " >&6; }
19570 LD_PROG=`$CC --print-prog-name=ld
`
19571 LD_VERSION=`$LD_PROG --version`
19572 LD_VERSION_MAJOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 1 | cut
-d ' ' -f 4`
19573 LD_VERSION_MINOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 2`
19574 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
19577 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then
19581 if test "x$LD_OK" != x; then
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19583 $as_echo "yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19586 $as_echo "no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
19588 $as_echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
19590 $as_echo "#define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1" >>confdefs.h
19605 $as_echo "#define ECOS 1" >>confdefs.h
19611 ac_config_links="$ac_config_links include/platform.h:include/$PLATFORMH"
19614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19615 /* end confdefs.h. */
19616 #include <stdint.h>
19619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19620 $EGREP "uint32_t" >/dev/null 2>&1; then :
19622 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19628 /* end confdefs.h. */
19629 #include <inttypes.h>
19632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19633 $EGREP "uint32_t" >/dev/null 2>&1; then :
19635 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19641 /* end confdefs.h. */
19642 #include <sys/types.h>
19645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19646 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19648 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19655 #include <sys/config.h>
19658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19659 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19661 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19667 if test "$PLATFORM" = Win32; then
19668 USING_WIN32_PLATFORM_TRUE=
19669 USING_WIN32_PLATFORM_FALSE='#'
19671 USING_WIN32_PLATFORM_TRUE='#'
19672 USING_WIN32_PLATFORM_FALSE=
19675 if test "$PLATFORM" = Posix || test "$PLATFORM" = Ecos; then
19676 USING_POSIX_PLATFORM_TRUE=
19677 USING_POSIX_PLATFORM_FALSE='#'
19679 USING_POSIX_PLATFORM_TRUE='#'
19680 USING_POSIX_PLATFORM_FALSE=
19685 *-darwin*) DARWIN_CRT=true ;;
19686 *) DARWIN_CRT=false ;;
19688 if $DARWIN_CRT; then
19689 USING_DARWIN_CRT_TRUE=
19690 USING_DARWIN_CRT_FALSE='#'
19692 USING_DARWIN_CRT_TRUE='#'
19693 USING_DARWIN_CRT_FALSE=
19697 # This may not be defined in a non-ANS conformant embedded system.
19698 # FIXME: Should these case a runtime exception in that case?
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19705 $EGREP "localtime" >/dev/null 2>&1; then :
19707 $as_echo "#define HAVE_LOCALTIME 1" >>confdefs.h
19713 # Create the subdirectory for natFile.cc, or the attempt
19714 # to create the link will fail.
19715 test -d java || mkdir java
19716 test -d java/io || mkdir java/io
19717 test -d gnu || mkdir gnu
19718 ac_config_links="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
19721 # Likewise for natConcreteProcess.cc.
19722 test -d java/lang || mkdir java/lang
19723 ac_config_links="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
19726 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
19727 test -d java/net || mkdir java/net
19728 ac_config_links="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
19730 ac_config_links="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
19733 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
19734 test -d gnu/java || mkdir gnu/java
19735 test -d gnu/java/net || mkdir gnu/java/net
19736 ac_config_links="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
19738 ac_config_links="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
19741 # Likewise for natVMPipe.cc and natVMSelector.cc.
19742 test -d gnu/java/nio || mkdir gnu/java/nio
19743 ac_config_links="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
19745 ac_config_links="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
19748 # Likewise for natFileChannelImpl.cc
19749 test -d gnu/java/nio/channels || mkdir gnu/java/nio/channels
19750 ac_config_links="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
19753 # Likewise for natVMSecureRandom.cc
19754 test -d gnu/java/security || mkdir gnu/java/security
19755 test -d gnu/java/security/jce || mkdir gnu/java/security/jce
19756 test -d gnu/java/security/jce/prng || mkdir gnu/java/security/jce/prng
19757 ac_config_links="$ac_config_links gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc"
19762 SYSTEMSPEC="-lgdi32 -lws2_32"
19763 if test "${with_win32_nlsapi}" = "unicows"; then
19764 SYSTEMSPEC="-lunicows $SYSTEMSPEC"
19768 SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
19777 # Check whether --with-system-zlib was given.
19778 if test "${with_system_zlib+set}" = set; then :
19779 withval=$with_system_zlib;
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19788 $as_echo_n "checking for X... " >&6; }
19791 # Check whether --with-x was given.
19792 if test "${with_x+set}" = set; then :
19796 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19797 if test "x$with_x" = xno; then
19798 # The user explicitly disabled X.
19801 case $x_includes,$x_libraries in #(
19802 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
19803 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19804 $as_echo_n "(cached) " >&6
19806 # One or both of the vars are not set, and there is no cached value.
19807 ac_x_includes=no ac_x_libraries=no
19808 rm -f -r conftest.dir
19809 if mkdir conftest.dir; then
19811 cat >Imakefile <<'_ACEOF'
19813 @echo incroot='${INCROOT}'
19815 @echo usrlibdir='${USRLIBDIR}'
19817 @echo libdir='${LIBDIR}'
19819 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19820 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19821 for ac_var in incroot usrlibdir libdir; do
19822 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
19824 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19825 for ac_extension in a so sl dylib la dll; do
19826 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19827 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19828 ac_im_usrlibdir=$ac_im_libdir; break
19831 # Screen out bogus values from the imake configuration. They are
19832 # bogus both because they are the default anyway, and because
19833 # using them would break gcc on systems where it needs fixed includes.
19834 case $ac_im_incroot in
19835 /usr/include) ac_x_includes= ;;
19836 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19838 case $ac_im_usrlibdir in
19839 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19840 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19844 rm -f -r conftest.dir
19847 # Standard set of common directories for X headers.
19848 # Check X11 before X11Rn because it is often a symlink to the current release.
19862 /usr/local/X11/include
19863 /usr/local/X11R7/include
19864 /usr/local/X11R6/include
19865 /usr/local/X11R5/include
19866 /usr/local/X11R4/include
19868 /usr/local/include/X11
19869 /usr/local/include/X11R7
19870 /usr/local/include/X11R6
19871 /usr/local/include/X11R5
19872 /usr/local/include/X11R4
19876 /usr/XFree86/include/X11
19880 /usr/unsupported/include
19881 /usr/athena/include
19882 /usr/local/x11r5/include
19883 /usr/lpp/Xamples/include
19885 /usr/openwin/include
19886 /usr/openwin/share/include'
19888 if test "$ac_x_includes" = no; then
19889 # Guess where to find include files, by looking for Xlib.h.
19890 # First, try using that file with no special directory specified.
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <X11/Xlib.h>
19895 if ac_fn_c_try_cpp "$LINENO"; then :
19896 # We can compile using X headers with no special include directory.
19899 for ac_dir in $ac_x_header_dirs; do
19900 if test -r "$ac_dir/X11/Xlib.h"; then
19901 ac_x_includes=$ac_dir
19906 rm -f conftest.err conftest.$ac_ext
19907 fi # $ac_x_includes = no
19909 if test "$ac_x_libraries" = no; then
19910 # Check for the libraries.
19911 # See if we find them without any special options.
19912 # Don't add to $LIBS permanently.
19915 if test x$gcc_no_link = xyes; then
19916 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19919 /* end confdefs.h. */
19920 #include <X11/Xlib.h>
19929 if ac_fn_c_try_link "$LINENO"; then :
19931 # We can link X programs with no special library path.
19935 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
19937 # Don't even attempt the hair of trying to link an X program!
19938 for ac_extension in a so sl dylib la dll; do
19939 if test -r "$ac_dir/libX11.$ac_extension"; then
19940 ac_x_libraries=$ac_dir
19946 rm -f core conftest.err conftest.$ac_objext \
19947 conftest$ac_exeext conftest.$ac_ext
19948 fi # $ac_x_libraries = no
19950 case $ac_x_includes,$ac_x_libraries in #(
19951 no,* | *,no | *\'*)
19952 # Didn't find X, or a directory has "'" in its name.
19953 ac_cv_have_x="have_x=no";; #(
19955 # Record where we found X for the cache.
19956 ac_cv_have_x="have_x=yes\
19957 ac_x_includes='$ac_x_includes'\
19958 ac_x_libraries='$ac_x_libraries'"
19964 eval "$ac_cv_have_x"
19967 if test "$have_x" != yes; then
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19969 $as_echo "$have_x" >&6; }
19972 # If each of the values was on the command line, it overrides each guess.
19973 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19974 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19975 # Update the cache value to reflect the command line values.
19976 ac_cv_have_x="have_x=yes\
19977 ac_x_includes='$x_includes'\
19978 ac_x_libraries='$x_libraries'"
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19980 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19983 if test "$no_x" = yes; then
19984 # Not all programs may use this symbol, but it does not hurt to define it.
19986 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19988 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19990 if test -n "$x_includes"; then
19991 X_CFLAGS="$X_CFLAGS -I$x_includes"
19994 # It would also be nice to do this for all -L options, not just this one.
19995 if test -n "$x_libraries"; then
19996 X_LIBS="$X_LIBS -L$x_libraries"
19997 # For Solaris; some versions of Sun CC require a space after -R and
19998 # others require no space. Words are not sufficient . . . .
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20000 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
20001 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20002 ac_xsave_c_werror_flag=$ac_c_werror_flag
20003 ac_c_werror_flag=yes
20004 if test x$gcc_no_link = xyes; then
20005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20018 if ac_fn_c_try_link "$LINENO"; then :
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20020 $as_echo "no" >&6; }
20021 X_LIBS="$X_LIBS -R$x_libraries"
20023 LIBS="$ac_xsave_LIBS -R $x_libraries"
20024 if test x$gcc_no_link = xyes; then
20025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20038 if ac_fn_c_try_link "$LINENO"; then :
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20040 $as_echo "yes" >&6; }
20041 X_LIBS="$X_LIBS -R $x_libraries"
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20044 $as_echo "neither works" >&6; }
20046 rm -f core conftest.err conftest.$ac_objext \
20047 conftest$ac_exeext conftest.$ac_ext
20049 rm -f core conftest.err conftest.$ac_objext \
20050 conftest$ac_exeext conftest.$ac_ext
20051 ac_c_werror_flag=$ac_xsave_c_werror_flag
20052 LIBS=$ac_xsave_LIBS
20055 # Check for system-dependent libraries X programs must link with.
20056 # Do this before checking for the system-independent R6 libraries
20057 # (-lICE), since we may need -lsocket or whatever for X linking.
20059 if test "$ISC" = yes; then
20060 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20062 # Martyn Johnson says this is needed for Ultrix, if the X
20063 # libraries were built with DECnet support. And Karl Berry says
20064 # the Alpha needs dnet_stub (dnet does not exist).
20065 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20066 if test x$gcc_no_link = xyes; then
20067 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20070 /* end confdefs.h. */
20072 /* Override any GCC internal prototype to avoid an error.
20073 Use char because int might match the return type of a GCC
20074 builtin and then its argument prototype would still apply. */
20078 char XOpenDisplay ();
20082 return XOpenDisplay ();
20087 if ac_fn_c_try_link "$LINENO"; then :
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20091 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20092 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
20093 $as_echo_n "(cached) " >&6
20095 ac_check_lib_save_LIBS=$LIBS
20096 LIBS="-ldnet $LIBS"
20097 if test x$gcc_no_link = xyes; then
20098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20101 /* end confdefs.h. */
20103 /* Override any GCC internal prototype to avoid an error.
20104 Use char because int might match the return type of a GCC
20105 builtin and then its argument prototype would still apply. */
20113 return dnet_ntoa ();
20118 if ac_fn_c_try_link "$LINENO"; then :
20119 ac_cv_lib_dnet_dnet_ntoa=yes
20121 ac_cv_lib_dnet_dnet_ntoa=no
20123 rm -f core conftest.err conftest.$ac_objext \
20124 conftest$ac_exeext conftest.$ac_ext
20125 LIBS=$ac_check_lib_save_LIBS
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20128 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20129 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
20130 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20133 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20135 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20136 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
20137 $as_echo_n "(cached) " >&6
20139 ac_check_lib_save_LIBS=$LIBS
20140 LIBS="-ldnet_stub $LIBS"
20141 if test x$gcc_no_link = xyes; then
20142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20147 /* Override any GCC internal prototype to avoid an error.
20148 Use char because int might match the return type of a GCC
20149 builtin and then its argument prototype would still apply. */
20157 return dnet_ntoa ();
20162 if ac_fn_c_try_link "$LINENO"; then :
20163 ac_cv_lib_dnet_stub_dnet_ntoa=yes
20165 ac_cv_lib_dnet_stub_dnet_ntoa=no
20167 rm -f core conftest.err conftest.$ac_objext \
20168 conftest$ac_exeext conftest.$ac_ext
20169 LIBS=$ac_check_lib_save_LIBS
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20172 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20173 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
20174 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20179 rm -f core conftest.err conftest.$ac_objext \
20180 conftest$ac_exeext conftest.$ac_ext
20181 LIBS="$ac_xsave_LIBS"
20183 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20184 # to get the SysV transport functions.
20185 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20187 # The nsl library prevents programs from opening the X display
20188 # on Irix 5.2, according to T.E. Dickey.
20189 # The functions gethostbyname, getservbyname, and inet_addr are
20190 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20191 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20192 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
20196 if test $ac_cv_func_gethostbyname = no; then
20197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20198 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20199 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20200 $as_echo_n "(cached) " >&6
20202 ac_check_lib_save_LIBS=$LIBS
20204 if test x$gcc_no_link = xyes; then
20205 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20208 /* end confdefs.h. */
20210 /* Override any GCC internal prototype to avoid an error.
20211 Use char because int might match the return type of a GCC
20212 builtin and then its argument prototype would still apply. */
20216 char gethostbyname ();
20220 return gethostbyname ();
20225 if ac_fn_c_try_link "$LINENO"; then :
20226 ac_cv_lib_nsl_gethostbyname=yes
20228 ac_cv_lib_nsl_gethostbyname=no
20230 rm -f core conftest.err conftest.$ac_objext \
20231 conftest$ac_exeext conftest.$ac_ext
20232 LIBS=$ac_check_lib_save_LIBS
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20235 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20236 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20237 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20240 if test $ac_cv_lib_nsl_gethostbyname = no; then
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20242 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20243 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20244 $as_echo_n "(cached) " >&6
20246 ac_check_lib_save_LIBS=$LIBS
20248 if test x$gcc_no_link = xyes; then
20249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20252 /* end confdefs.h. */
20254 /* Override any GCC internal prototype to avoid an error.
20255 Use char because int might match the return type of a GCC
20256 builtin and then its argument prototype would still apply. */
20260 char gethostbyname ();
20264 return gethostbyname ();
20269 if ac_fn_c_try_link "$LINENO"; then :
20270 ac_cv_lib_bsd_gethostbyname=yes
20272 ac_cv_lib_bsd_gethostbyname=no
20274 rm -f core conftest.err conftest.$ac_objext \
20275 conftest$ac_exeext conftest.$ac_ext
20276 LIBS=$ac_check_lib_save_LIBS
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20279 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20280 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20281 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20287 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20288 # socket/setsockopt and other routines are undefined under SCO ODT
20289 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20290 # on later versions), says Simon Leinen: it contains gethostby*
20291 # variants that don't use the name server (or something). -lsocket
20292 # must be given before -lnsl if both are needed. We assume that
20293 # if connect needs -lnsl, so does gethostbyname.
20294 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20295 if test "x$ac_cv_func_connect" = x""yes; then :
20299 if test $ac_cv_func_connect = no; then
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20301 $as_echo_n "checking for connect in -lsocket... " >&6; }
20302 if test "${ac_cv_lib_socket_connect+set}" = set; then :
20303 $as_echo_n "(cached) " >&6
20305 ac_check_lib_save_LIBS=$LIBS
20306 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20307 if test x$gcc_no_link = xyes; then
20308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20313 /* Override any GCC internal prototype to avoid an error.
20314 Use char because int might match the return type of a GCC
20315 builtin and then its argument prototype would still apply. */
20328 if ac_fn_c_try_link "$LINENO"; then :
20329 ac_cv_lib_socket_connect=yes
20331 ac_cv_lib_socket_connect=no
20333 rm -f core conftest.err conftest.$ac_objext \
20334 conftest$ac_exeext conftest.$ac_ext
20335 LIBS=$ac_check_lib_save_LIBS
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20338 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20339 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20340 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20345 # Guillermo Gomez says -lposix is necessary on A/UX.
20346 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20347 if test "x$ac_cv_func_remove" = x""yes; then :
20351 if test $ac_cv_func_remove = no; then
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20353 $as_echo_n "checking for remove in -lposix... " >&6; }
20354 if test "${ac_cv_lib_posix_remove+set}" = set; then :
20355 $as_echo_n "(cached) " >&6
20357 ac_check_lib_save_LIBS=$LIBS
20358 LIBS="-lposix $LIBS"
20359 if test x$gcc_no_link = xyes; then
20360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20363 /* end confdefs.h. */
20365 /* Override any GCC internal prototype to avoid an error.
20366 Use char because int might match the return type of a GCC
20367 builtin and then its argument prototype would still apply. */
20380 if ac_fn_c_try_link "$LINENO"; then :
20381 ac_cv_lib_posix_remove=yes
20383 ac_cv_lib_posix_remove=no
20385 rm -f core conftest.err conftest.$ac_objext \
20386 conftest$ac_exeext conftest.$ac_ext
20387 LIBS=$ac_check_lib_save_LIBS
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20390 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20391 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20392 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20397 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20398 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20399 if test "x$ac_cv_func_shmat" = x""yes; then :
20403 if test $ac_cv_func_shmat = no; then
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20405 $as_echo_n "checking for shmat in -lipc... " >&6; }
20406 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20407 $as_echo_n "(cached) " >&6
20409 ac_check_lib_save_LIBS=$LIBS
20411 if test x$gcc_no_link = xyes; then
20412 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20417 /* Override any GCC internal prototype to avoid an error.
20418 Use char because int might match the return type of a GCC
20419 builtin and then its argument prototype would still apply. */
20432 if ac_fn_c_try_link "$LINENO"; then :
20433 ac_cv_lib_ipc_shmat=yes
20435 ac_cv_lib_ipc_shmat=no
20437 rm -f core conftest.err conftest.$ac_objext \
20438 conftest$ac_exeext conftest.$ac_ext
20439 LIBS=$ac_check_lib_save_LIBS
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20442 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20443 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20444 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20450 # Check for libraries that X11R6 Xt/Xaw programs need.
20451 ac_save_LDFLAGS=$LDFLAGS
20452 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20453 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20454 # check for ICE first), but we must link in the order -lSM -lICE or
20455 # we get undefined symbols. So assume we have SM if we have ICE.
20456 # These have to be linked with before -lX11, unlike the other
20457 # libraries we check for below, so use a different variable.
20458 # John Interrante, Karl Berry
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20460 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20461 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20462 $as_echo_n "(cached) " >&6
20464 ac_check_lib_save_LIBS=$LIBS
20465 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20466 if test x$gcc_no_link = xyes; then
20467 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20470 /* end confdefs.h. */
20472 /* Override any GCC internal prototype to avoid an error.
20473 Use char because int might match the return type of a GCC
20474 builtin and then its argument prototype would still apply. */
20478 char IceConnectionNumber ();
20482 return IceConnectionNumber ();
20487 if ac_fn_c_try_link "$LINENO"; then :
20488 ac_cv_lib_ICE_IceConnectionNumber=yes
20490 ac_cv_lib_ICE_IceConnectionNumber=no
20492 rm -f core conftest.err conftest.$ac_objext \
20493 conftest$ac_exeext conftest.$ac_ext
20494 LIBS=$ac_check_lib_save_LIBS
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20497 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20498 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20499 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20502 LDFLAGS=$ac_save_LDFLAGS
20507 # FIXME: this should be _libs on some hosts.
20510 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20513 # extra LD Flags which are required for targets
20516 # For now we have to disable it on darwin[8-9] because it slows down
20517 # the linking phase. A possible bug in ld?
20518 # on Darwin -single_module speeds up loading of the dynamic libraries.
20519 extra_ldflags_libjava=-Wl,-single_module
20522 # Some of the ARM unwinder code is actually in libstdc++. We
20523 # could in principle replicate it in libgcj, but it's better to
20524 # have a dependency on libstdc++.
20525 extra_ldflags='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20526 LIBSTDCXXSPEC=-lstdc++
20527 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20530 extra_ldflags_libjava=-liconv
20534 # Check for --no-merge-exidx-entries, an ARM-specific linker option.
20535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --no-merge-exidx-entries" >&5
20536 $as_echo_n "checking for --no-merge-exidx-entries... " >&6; }
20537 if test "${libgcj_cv_exidx+set}" = set; then :
20538 $as_echo_n "(cached) " >&6
20540 saved_ldflags="$LDFLAGS"
20541 LDFLAGS="${LDFLAGS} -Wl,--no-merge-exidx-entries"
20542 # The IRIX 6 ld doesn't recognize --no-merge-exidx-entries, but only
20543 # warns about unknown options, which breaks the testsuite. So enable
20544 # AC_LANG_WERROR, but there's currently (autoconf 2.64) no way to turn
20545 # it off again. As a workaround, save and restore werror flag like
20547 ac_xsave_c_werror_flag=$ac_c_werror_flag
20549 ac_c_werror_flag=yes
20550 if test x$gcc_no_link = xyes; then
20551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20555 int main(void){ return 0;}
20557 if ac_fn_c_try_link "$LINENO"; then :
20558 eval "libgcj_cv_exidx=yes"
20560 eval "libgcj_cv_exidx=no"
20562 rm -f core conftest.err conftest.$ac_objext \
20563 conftest$ac_exeext conftest.$ac_ext
20564 ac_c_werror_flag=$ac_xsave_c_werror_flag
20565 LDFLAGS="${saved_ldflags}"
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcj_cv_exidx" >&5
20569 $as_echo "$libgcj_cv_exidx" >&6; }
20570 if test "${libgcj_cv_exidx}" = "yes"; then
20571 SYSTEMSPEC="${SYSTEMSPEC} --no-merge-exidx-entries"
20572 extra_ldflags="${extra_ldflags} -Wl,--no-merge-exidx-entries"
20581 # Allow the GC to be disabled. Can be useful when debugging.
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for garbage collector to use" >&5
20583 $as_echo_n "checking for garbage collector to use... " >&6; }
20584 # Check whether --enable-java-gc was given.
20585 if test "${enable_java_gc+set}" = set; then :
20586 enableval=$enable_java_gc; GC=$enableval
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: boehm" >&5
20600 $as_echo "boehm" >&6; }
20601 GCLIBS=../boehm-gc/libgcjgc_convenience.la
20602 JC1GCSPEC='-fuse-boehm-gc'
20603 GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20604 GCINCS='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20607 # The POSIX thread support needs to know this.
20609 $as_echo "#define HAVE_BOEHM_GC 1" >>confdefs.h
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
20614 $as_echo "none" >&6; }
20618 as_fn_error "unrecognized collector \"$GC\"" "$LINENO" 5
20627 ac_config_links="$ac_config_links include/java-gc.h:include/$GCHDR"
20629 if test "$GC" = boehm; then
20630 USING_BOEHMGC_TRUE=
20631 USING_BOEHMGC_FALSE='#'
20633 USING_BOEHMGC_TRUE='#'
20634 USING_BOEHMGC_FALSE=
20637 if test "$GC" = no; then
20639 USING_NOGC_FALSE='#'
20641 USING_NOGC_TRUE='#'
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
20648 $as_echo_n "checking for thread model used by GCC... " >&6; }
20649 THREADS=`$CC -v 2>&1 |
sed -n 's/^Thread model: //p'`
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
20651 $as_echo "$THREADS" >&6; }
20654 no | none | single)
20657 aix | posix | posix95 | pthreads)
20662 $as_echo "#define LINUX_THREADS 1" >>confdefs.h
20669 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
20670 as_fn_error "thread package $THREADS not yet supported" "$LINENO" 5
20673 as_fn_error "$THREADS is an unknown thread package" "$LINENO" 5
20684 THREADSTARTFILESPEC=
20689 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20691 *-*-freebsd[1234]*)
20692 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20693 # merely adds pthread_* functions) but it does have a -pthread switch
20694 # which is required at link-time to select -lc_r *instead* of -lc.
20695 THREADLDFLAGS=-pthread
20696 # Don't set THREADSPEC here as might be expected since -pthread is
20697 # not processed when found within a spec file, it must come from
20698 # the command line. For now, the user must provide the -pthread
20699 # switch to link code compiled with gcj. In future, consider adding
20700 # support for weak references to pthread_* functions ala gthr.h API.
20701 THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20704 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20705 # systems which support threads and -lpthread.
20706 THREADLDFLAGS=-pthread
20707 THREADSPEC=-lpthread
20709 alpha*-dec-osf* | hppa*-hp-hpux*)
20710 THREADCXXFLAGS=-pthread
20711 # boehm-gc needs some functions from librt, so link that too.
20712 THREADLIBS='-lpthread -lrt'
20713 THREADSPEC='-lpthread -lrt'
20716 THREADLIBS=-lpthread
20717 THREADSPEC=-lpthread
20720 THREADH=posix-threads.h
20721 # MIT pthreads doesn't seem to have the mutexattr functions.
20722 # But for now we don't check for it. We just assume you aren't
20723 # using MIT pthreads.
20725 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20728 # If we're using the Boehm GC, then we happen to know that it
20729 # defines _REENTRANT, so we don't bother. Eww.
20730 if test "$GC" != boehm; then
20732 $as_echo "#define _REENTRANT 1" >>confdefs.h
20736 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
20741 THREADH=win32-threads.h
20742 THREADCXXFLAGS=-mthreads
20743 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20744 # But we do not want the executables created to be dependent on
20745 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20746 # exception handling contexts. The following kludge achieves this effect
20747 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20748 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20749 # A workaround is to explicitly use -mthreads while linking Java programs.
20750 # See PR libgcj/28263.
20752 # FIXME: In Java we are able to detect thread death at the end of
20753 # Thread.run() so we should be able to clean up the exception handling
20754 # contexts ourselves.
20755 THREADSTARTFILESPEC='crtmt%O%s'
20759 THREADH=no-threads.h
20762 ac_config_links="$ac_config_links include/java-threads.h:include/$THREADH"
20771 if test "$THREADS" = posix; then
20772 USING_POSIX_THREADS_TRUE=
20773 USING_POSIX_THREADS_FALSE='#'
20775 USING_POSIX_THREADS_TRUE='#'
20776 USING_POSIX_THREADS_FALSE=
20779 if test "$THREADS" = win32; then
20780 USING_WIN32_THREADS_TRUE=
20781 USING_WIN32_THREADS_FALSE='#'
20783 USING_WIN32_THREADS_TRUE='#'
20784 USING_WIN32_THREADS_FALSE=
20787 if test "$THREADS" = none; then
20788 USING_NO_THREADS_TRUE=
20789 USING_NO_THREADS_FALSE='#'
20791 USING_NO_THREADS_TRUE='#'
20792 USING_NO_THREADS_FALSE=
20795 if test "$enable_shared" != yes; then
20798 if test "$use_libgcj_bc" = yes; then
20799 USE_LIBGCJ_BC_TRUE=
20800 USE_LIBGCJ_BC_FALSE='#'
20802 USE_LIBGCJ_BC_TRUE='#'
20803 USE_LIBGCJ_BC_FALSE=
20807 if test -d sysdep; then true; else mkdir sysdep; fi
20808 ac_config_links="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20810 ac_config_links="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20812 ac_config_links="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20815 LIBGCJ_SPEC_LGCJ=-lgcj
20816 LIBGCJ_SPEC_LGCJ_BC=-lgcj_bc
20817 if test x"$libgcj_spec_lgcj_override" != x ; then
20818 LIBGCJ_SPEC_LGCJ=$libgcj_spec_lgcj_override
20820 if test x"$libgcj_spec_lgcj_bc_override" != x ; then
20821 LIBGCJ_SPEC_LGCJ_BC=$libgcj_spec_lgcj_bc_override
20823 LIBGCJ_SPEC="%{s-bc-abi:} $LIBGCJ_SPEC_LGCJ"
20824 if test "$use_libgcj_bc" = yes; then
20825 LIBGCJ_SPEC="%{static|static-libgcj|!s-bc-abi:$LIBGCJ_SPEC_LGCJ;:$LIBGCJ_SPEC_LGCJ_BC}"
20826 LIBGCJ_BC_SPEC="%{findirect-dispatch:-fPIC}"
20832 # Hash synchronization is only useful with posix threads right now.
20833 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20834 HASH_SYNC_SPEC=-fhash-synchronization
20836 $as_echo "#define JV_HASH_SYNCHRONIZATION 1" >>confdefs.h
20841 if test "$GCC" = yes; then
20843 USING_GCC_FALSE='#'
20850 # We're in the tree with gcc, and need to include some of its headers.
20851 GCC_UNWIND_INCLUDE='-I$(multi_basedir)/./libjava/../gcc'
20853 if test "x${with_newlib}" = "xyes"; then
20854 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20855 # may not work correctly, because the compiler may not be able to
20856 # link executables.
20858 # We assume newlib. This lets us hard-code the functions we know
20861 $as_echo "#define HAVE_MEMMOVE 1" >>confdefs.h
20864 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
20867 $as_echo "#define HAVE_TIME 1" >>confdefs.h
20870 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
20873 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
20876 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
20878 # This is only for POSIX threads.
20880 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20883 # Assume we do not have getuid and friends.
20885 $as_echo "#define NO_GETUID 1" >>confdefs.h
20889 for ac_func in strerror_r select fstat open fsync sleep opendir \
20890 localtime_r getpwuid_r getcwd \
20891 access stat lstat mkdir rename rmdir unlink utime chmod readlink \
20892 nl_langinfo setlocale \
20893 inet_pton uname inet_ntoa \
20894 getrlimit sigaction ftruncate mmap \
20897 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20898 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20899 eval as_val=\$$as_ac_var
20900 if test "x$as_val" = x""yes; then :
20901 cat >>confdefs.h <<_ACEOF
20902 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20908 for ac_func in inet_aton inet_addr
20910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20912 eval as_val=\$$as_ac_var
20913 if test "x$as_val" = x""yes; then :
20914 cat >>confdefs.h <<_ACEOF
20915 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20921 for ac_header in unistd.h dlfcn.h sys/resource.h
20923 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20924 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20925 eval as_val=\$$as_ac_Header
20926 if test "x$as_val" = x""yes; then :
20927 cat >>confdefs.h <<_ACEOF
20928 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20935 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
20937 $as_echo_n "checking for dladdr in -ldl... " >&6; }
20938 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
20939 $as_echo_n "(cached) " >&6
20941 ac_check_lib_save_LIBS=$LIBS
20943 if test x$gcc_no_link = xyes; then
20944 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20947 /* end confdefs.h. */
20949 /* Override any GCC internal prototype to avoid an error.
20950 Use char because int might match the return type of a GCC
20951 builtin and then its argument prototype would still apply. */
20964 if ac_fn_c_try_link "$LINENO"; then :
20965 ac_cv_lib_dl_dladdr=yes
20967 ac_cv_lib_dl_dladdr=no
20969 rm -f core conftest.err conftest.$ac_objext \
20970 conftest$ac_exeext conftest.$ac_ext
20971 LIBS=$ac_check_lib_save_LIBS
20973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
20974 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
20975 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
20978 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
20982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldld" >&5
20983 $as_echo_n "checking for dladdr in -ldld... " >&6; }
20984 if test "${ac_cv_lib_dld_dladdr+set}" = set; then :
20985 $as_echo_n "(cached) " >&6
20987 ac_check_lib_save_LIBS=$LIBS
20989 if test x$gcc_no_link = xyes; then
20990 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20995 /* Override any GCC internal prototype to avoid an error.
20996 Use char because int might match the return type of a GCC
20997 builtin and then its argument prototype would still apply. */
21010 if ac_fn_c_try_link "$LINENO"; then :
21011 ac_cv_lib_dld_dladdr=yes
21013 ac_cv_lib_dld_dladdr=no
21015 rm -f core conftest.err conftest.$ac_objext \
21016 conftest$ac_exeext conftest.$ac_ext
21017 LIBS=$ac_check_lib_save_LIBS
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dladdr" >&5
21020 $as_echo "$ac_cv_lib_dld_dladdr" >&6; }
21021 if test "x$ac_cv_lib_dld_dladdr" = x""yes; then :
21024 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
21031 if test x"$cross_compiling" = x"no"; then
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/exe" >&5
21033 $as_echo_n "checking for /proc/self/exe... " >&6; }
21034 if test "${ac_cv_file__proc_self_exe+set}" = set; then :
21035 $as_echo_n "(cached) " >&6
21037 test "$cross_compiling" = yes &&
21038 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21039 if test -r "/proc/self/exe"; then
21040 ac_cv_file__proc_self_exe=yes
21042 ac_cv_file__proc_self_exe=no
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_exe" >&5
21046 $as_echo "$ac_cv_file__proc_self_exe" >&6; }
21047 if test "x$ac_cv_file__proc_self_exe" = x""yes; then :
21049 cat >>confdefs.h <<_ACEOF
21050 #define HAVE__PROC_SELF_EXE 1
21054 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
21059 $as_echo_n "checking for /proc/self/maps... " >&6; }
21060 if test "${ac_cv_file__proc_self_maps+set}" = set; then :
21061 $as_echo_n "(cached) " >&6
21063 test "$cross_compiling" = yes &&
21064 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21065 if test -r "/proc/self/maps"; then
21066 ac_cv_file__proc_self_maps=yes
21068 ac_cv_file__proc_self_maps=no
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
21072 $as_echo "$ac_cv_file__proc_self_maps" >&6; }
21073 if test "x$ac_cv_file__proc_self_maps" = x""yes; then :
21075 cat >>confdefs.h <<_ACEOF
21076 #define HAVE__PROC_SELF_MAPS 1
21080 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21088 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21091 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21098 if test "X$prefix" = "XNONE"; then
21099 acl_final_prefix="$ac_default_prefix"
21101 acl_final_prefix="$prefix"
21103 if test "X$exec_prefix" = "XNONE"; then
21104 acl_final_exec_prefix='${prefix}'
21106 acl_final_exec_prefix="$exec_prefix"
21108 acl_save_prefix="$prefix"
21109 prefix="$acl_final_prefix"
21110 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
21111 prefix="$acl_save_prefix"
21114 # Check whether --with-gnu-ld was given.
21115 if test "${with_gnu_ld+set}" = set; then :
21116 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21121 # Prepare PATH_SEPARATOR.
21122 # The user is always right.
21123 if test "${PATH_SEPARATOR+set}" != set; then
21124 echo "#! /bin/sh" >conf$$.sh
21125 echo "exit 0" >>conf$$.sh
21127 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21135 if test "$GCC" = yes; then
21136 # Check if gcc -print-prog-name=ld gives a path.
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
21138 $as_echo_n "checking for ld used by GCC... " >&6; }
21141 # gcc leaves a trailing carriage return which upsets mingw
21142 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
21144 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
21147 # Accept absolute paths.
21148 [\\/]* | [A-Za-z]:[\\/]*)
21149 re_direlt='/[^/][^/]*/\.\./'
21150 # Canonicalize the path of ld
21151 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
21152 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
21153 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
21155 test -z "$LD" && LD="$ac_prog"
21158 # If it fails, then pretend we aren't using GCC.
21162 # If it is relative, then search for the first ld in PATH.
21163 with_gnu_ld=unknown
21166 elif test "$with_gnu_ld" = yes; then
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21168 $as_echo_n "checking for GNU ld... " >&6; }
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21171 $as_echo_n "checking for non-GNU ld... " >&6; }
21173 if test "${acl_cv_path_LD+set}" = set; then :
21174 $as_echo_n "(cached) " >&6
21176 if test -z "$LD"; then
21177 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21178 for ac_dir in $PATH; do
21179 test -z "$ac_dir" && ac_dir=.
21180 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21181 acl_cv_path_LD="$ac_dir/$ac_prog"
21182 # Check to see if the program is GNU ld. I'd rather use --version,
21183 # but apparently some GNU ld's only accept -v.
21184 # Break only if it was the GNU/non-GNU ld that we prefer.
21185 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
21186 test "$with_gnu_ld" != no && break
21188 test "$with_gnu_ld" != yes && break
21194 acl_cv_path_LD="$LD" # Let the user override the test with a path.
21198 LD="$acl_cv_path_LD"
21199 if test -n "$LD"; then
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21201 $as_echo "$LD" >&6; }
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21204 $as_echo "no" >&6; }
21206 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21208 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21209 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
21210 $as_echo_n "(cached) " >&6
21212 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21213 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
21214 acl_cv_prog_gnu_ld=yes
21216 acl_cv_prog_gnu_ld=no
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
21220 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
21221 with_gnu_ld=$acl_cv_prog_gnu_ld
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
21226 $as_echo_n "checking for shared library run path origin... " >&6; }
21227 if test "${acl_cv_rpath+set}" = set; then :
21228 $as_echo_n "(cached) " >&6
21231 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
21232 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21234 rm -f ./conftest.sh
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
21239 $as_echo "$acl_cv_rpath" >&6; }
21241 libext="$acl_cv_libext"
21242 shlibext="$acl_cv_shlibext"
21243 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
21244 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
21245 hardcode_direct="$acl_cv_hardcode_direct"
21246 hardcode_minus_L="$acl_cv_hardcode_minus_L"
21247 # Check whether --enable-rpath was given.
21248 if test "${enable_rpath+set}" = set; then :
21249 enableval=$enable_rpath; :
21263 acl_save_prefix="$prefix"
21264 prefix="$acl_final_prefix"
21265 acl_save_exec_prefix="$exec_prefix"
21266 exec_prefix="$acl_final_exec_prefix"
21268 eval additional_includedir=\"$includedir\"
21269 eval additional_libdir=\"$libdir\"
21271 exec_prefix="$acl_save_exec_prefix"
21272 prefix="$acl_save_prefix"
21275 # Check whether --with-libiconv-prefix was given.
21276 if test "${with_libiconv_prefix+set}" = set; then :
21277 withval=$with_libiconv_prefix;
21278 if test "X$withval" = "Xno"; then
21281 if test "X$withval" = "X"; then
21283 acl_save_prefix="$prefix"
21284 prefix="$acl_final_prefix"
21285 acl_save_exec_prefix="$exec_prefix"
21286 exec_prefix="$acl_final_exec_prefix"
21288 eval additional_includedir=\"$includedir\"
21289 eval additional_libdir=\"$libdir\"
21291 exec_prefix="$acl_save_exec_prefix"
21292 prefix="$acl_save_prefix"
21295 additional_includedir="$withval/include"
21296 additional_libdir="$withval/lib"
21307 names_already_handled=
21308 names_next_round='iconv '
21309 while test -n "$names_next_round"; do
21310 names_this_round="$names_next_round"
21312 for name in $names_this_round; do
21314 for n in $names_already_handled; do
21315 if test "$n" = "$name"; then
21316 already_handled=yes
21320 if test -z "$already_handled"; then
21321 names_already_handled="$names_already_handled $name"
21322 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21323 eval value=\"\$HAVE_LIB$uppername\"
21324 if test -n "$value"; then
21325 if test "$value" = yes; then
21326 eval value=\"\$LIB$uppername\"
21327 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
21328 eval value=\"\$LTLIB$uppername\"
21329 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
21338 if test $use_additional = yes; then
21339 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21340 found_dir="$additional_libdir"
21341 found_so="$additional_libdir/lib$name.$shlibext"
21342 if test -f "$additional_libdir/lib$name.la"; then
21343 found_la="$additional_libdir/lib$name.la"
21346 if test -f "$additional_libdir/lib$name.$libext"; then
21347 found_dir="$additional_libdir"
21348 found_a="$additional_libdir/lib$name.$libext"
21349 if test -f "$additional_libdir/lib$name.la"; then
21350 found_la="$additional_libdir/lib$name.la"
21355 if test "X$found_dir" = "X"; then
21356 for x in $LDFLAGS $LTLIBICONV; do
21358 acl_save_prefix="$prefix"
21359 prefix="$acl_final_prefix"
21360 acl_save_exec_prefix="$exec_prefix"
21361 exec_prefix="$acl_final_exec_prefix"
21363 exec_prefix="$acl_save_exec_prefix"
21364 prefix="$acl_save_prefix"
21368 dir=`echo "X$x" |
sed -e 's/^X-L//'`
21369 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21371 found_so="$dir/lib$name.$shlibext"
21372 if test -f "$dir/lib$name.la"; then
21373 found_la="$dir/lib$name.la"
21376 if test -f "$dir/lib$name.$libext"; then
21378 found_a="$dir/lib$name.$libext"
21379 if test -f "$dir/lib$name.la"; then
21380 found_la="$dir/lib$name.la"
21386 if test "X$found_dir" != "X"; then
21391 if test "X$found_dir" != "X"; then
21392 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21393 if test "X$found_so" != "X"; then
21394 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
21395 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21398 for x in $ltrpathdirs; do
21399 if test "X$x" = "X$found_dir"; then
21404 if test -z "$haveit"; then
21405 ltrpathdirs="$ltrpathdirs $found_dir"
21407 if test "$hardcode_direct" = yes; then
21408 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21410 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
21411 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21413 for x in $rpathdirs; do
21414 if test "X$x" = "X$found_dir"; then
21419 if test -z "$haveit"; then
21420 rpathdirs="$rpathdirs $found_dir"
21424 for x in $LDFLAGS $LIBICONV; do
21426 acl_save_prefix="$prefix"
21427 prefix="$acl_final_prefix"
21428 acl_save_exec_prefix="$exec_prefix"
21429 exec_prefix="$acl_final_exec_prefix"
21431 exec_prefix="$acl_save_exec_prefix"
21432 prefix="$acl_save_prefix"
21434 if test "X$x" = "X-L$found_dir"; then
21439 if test -z "$haveit"; then
21440 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21442 if test "$hardcode_minus_L" != no; then
21443 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21445 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21451 if test "X$found_a" != "X"; then
21452 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
21454 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21457 additional_includedir=
21458 case "$found_dir" in
21460 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e 's,/lib/*$,,'`
21461 additional_includedir="$basedir/include"
21464 if test "X$additional_includedir" != "X"; then
21465 if test "X$additional_includedir" != "X/usr/include"; then
21467 if test "X$additional_includedir" = "X/usr/local/include"; then
21468 if test -n "$GCC"; then
21470 linux*) haveit=yes;;
21474 if test -z "$haveit"; then
21475 for x in $CPPFLAGS $INCICONV; do
21477 acl_save_prefix="$prefix"
21478 prefix="$acl_final_prefix"
21479 acl_save_exec_prefix="$exec_prefix"
21480 exec_prefix="$acl_final_exec_prefix"
21482 exec_prefix="$acl_save_exec_prefix"
21483 prefix="$acl_save_prefix"
21485 if test "X$x" = "X-I$additional_includedir"; then
21490 if test -z "$haveit"; then
21491 if test -d "$additional_includedir"; then
21492 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21498 if test -n "$found_la"; then
21499 save_libdir="$libdir"
21500 case "$found_la" in
21501 */* | *\\*) . "$found_la" ;;
21502 *) . "./$found_la" ;;
21504 libdir="$save_libdir"
21505 for dep in $dependency_libs; do
21508 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
21509 if test "X$additional_libdir" != "X/usr/lib"; then
21511 if test "X$additional_libdir" = "X/usr/local/lib"; then
21512 if test -n "$GCC"; then
21514 linux*) haveit=yes;;
21518 if test -z "$haveit"; then
21520 for x in $LDFLAGS $LIBICONV; do
21522 acl_save_prefix="$prefix"
21523 prefix="$acl_final_prefix"
21524 acl_save_exec_prefix="$exec_prefix"
21525 exec_prefix="$acl_final_exec_prefix"
21527 exec_prefix="$acl_save_exec_prefix"
21528 prefix="$acl_save_prefix"
21530 if test "X$x" = "X-L$additional_libdir"; then
21535 if test -z "$haveit"; then
21536 if test -d "$additional_libdir"; then
21537 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21541 for x in $LDFLAGS $LTLIBICONV; do
21543 acl_save_prefix="$prefix"
21544 prefix="$acl_final_prefix"
21545 acl_save_exec_prefix="$exec_prefix"
21546 exec_prefix="$acl_final_exec_prefix"
21548 exec_prefix="$acl_save_exec_prefix"
21549 prefix="$acl_save_prefix"
21551 if test "X$x" = "X-L$additional_libdir"; then
21556 if test -z "$haveit"; then
21557 if test -d "$additional_libdir"; then
21558 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21565 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
21566 if test "$enable_rpath" != no; then
21568 for x in $rpathdirs; do
21569 if test "X$x" = "X$dir"; then
21574 if test -z "$haveit"; then
21575 rpathdirs="$rpathdirs $dir"
21578 for x in $ltrpathdirs; do
21579 if test "X$x" = "X$dir"; then
21584 if test -z "$haveit"; then
21585 ltrpathdirs="$ltrpathdirs $dir"
21590 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
21593 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21596 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
21597 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21603 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21604 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21610 if test "X$rpathdirs" != "X"; then
21611 if test -n "$hardcode_libdir_separator"; then
21613 for found_dir in $rpathdirs; do
21614 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21616 acl_save_libdir="$libdir"
21618 eval flag=\"$hardcode_libdir_flag_spec\"
21619 libdir="$acl_save_libdir"
21620 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21622 for found_dir in $rpathdirs; do
21623 acl_save_libdir="$libdir"
21624 libdir="$found_dir"
21625 eval flag=\"$hardcode_libdir_flag_spec\"
21626 libdir="$acl_save_libdir"
21627 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21631 if test "X$ltrpathdirs" != "X"; then
21632 for found_dir in $ltrpathdirs; do
21633 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21643 am_save_CPPFLAGS="$CPPFLAGS"
21645 for element in $INCICONV; do
21647 for x in $CPPFLAGS; do
21649 acl_save_prefix="$prefix"
21650 prefix="$acl_final_prefix"
21651 acl_save_exec_prefix="$exec_prefix"
21652 exec_prefix="$acl_final_exec_prefix"
21654 exec_prefix="$acl_save_exec_prefix"
21655 prefix="$acl_save_prefix"
21657 if test "X$x" = "X$element"; then
21662 if test -z "$haveit"; then
21663 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
21669 $as_echo_n "checking for iconv... " >&6; }
21670 if test "${am_cv_func_iconv+set}" = set; then :
21671 $as_echo_n "(cached) " >&6
21674 am_cv_func_iconv="no, consider installing GNU libiconv"
21676 if test x$gcc_no_link = xyes; then
21677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21680 /* end confdefs.h. */
21681 #include <stdlib.h>
21686 iconv_t cd = iconv_open("","");
21687 iconv(cd,NULL,NULL,NULL,NULL);
21693 if ac_fn_c_try_link "$LINENO"; then :
21694 am_cv_func_iconv=yes
21696 rm -f core conftest.err conftest.$ac_objext \
21697 conftest$ac_exeext conftest.$ac_ext
21698 if test "$am_cv_func_iconv" != yes; then
21699 am_save_LIBS="$LIBS"
21700 LIBS="$LIBS $LIBICONV"
21701 if test x$gcc_no_link = xyes; then
21702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21705 /* end confdefs.h. */
21706 #include <stdlib.h>
21711 iconv_t cd = iconv_open("","");
21712 iconv(cd,NULL,NULL,NULL,NULL);
21718 if ac_fn_c_try_link "$LINENO"; then :
21719 am_cv_lib_iconv=yes
21720 am_cv_func_iconv=yes
21722 rm -f core conftest.err conftest.$ac_objext \
21723 conftest$ac_exeext conftest.$ac_ext
21724 LIBS="$am_save_LIBS"
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21729 $as_echo "$am_cv_func_iconv" >&6; }
21730 if test "$am_cv_func_iconv" = yes; then
21732 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21735 if test "$am_cv_lib_iconv" = yes; then
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21737 $as_echo_n "checking how to link with libiconv... " >&6; }
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21739 $as_echo "$LIBICONV" >&6; }
21741 CPPFLAGS="$am_save_CPPFLAGS"
21748 if test "$am_cv_func_iconv" = yes; then
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21750 $as_echo_n "checking for iconv declaration... " >&6; }
21751 if test "${am_cv_proto_iconv+set}" = set; then :
21752 $as_echo_n "(cached) " >&6
21755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h. */
21758 #include <stdlib.h>
21764 #if defined(__STDC__) || defined(__cplusplus)
21765 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21778 if ac_fn_c_try_compile "$LINENO"; then :
21779 am_cv_proto_iconv_arg1=""
21781 am_cv_proto_iconv_arg1="const"
21783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21784 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);"
21787 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" |
tr -s ' ' |
sed -e 's/( /(/'`
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
21789 }$am_cv_proto_iconv" >&5
21791 }$am_cv_proto_iconv" >&6; }
21793 cat >>confdefs.h <<_ACEOF
21794 #define ICONV_CONST $am_cv_proto_iconv_arg1
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21801 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21802 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
21803 $as_echo_n "(cached) " >&6
21805 if test x$gcc_no_link = xyes; then
21806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21809 /* end confdefs.h. */
21810 #include <locale.h>
21819 if ac_fn_c_try_link "$LINENO"; then :
21820 am_cv_val_LC_MESSAGES=yes
21822 am_cv_val_LC_MESSAGES=no
21824 rm -f core conftest.err conftest.$ac_objext \
21825 conftest$ac_exeext conftest.$ac_ext
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
21828 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21829 if test $am_cv_val_LC_MESSAGES = yes; then
21831 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21836 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21837 if test "${ac_cv_struct_tm+set}" = set; then :
21838 $as_echo_n "(cached) " >&6
21840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21841 /* end confdefs.h. */
21842 #include <sys/types.h>
21849 int *p = &tm.tm_sec;
21855 if ac_fn_c_try_compile "$LINENO"; then :
21856 ac_cv_struct_tm=time.h
21858 ac_cv_struct_tm=sys/time.h
21860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21863 $as_echo "$ac_cv_struct_tm" >&6; }
21864 if test $ac_cv_struct_tm = sys/time.h; then
21866 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21870 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
21871 #include <$ac_cv_struct_tm>
21874 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
21876 cat >>confdefs.h <<_ACEOF
21877 #define HAVE_STRUCT_TM_TM_ZONE 1
21883 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
21885 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
21888 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
21890 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
21896 cat >>confdefs.h <<_ACEOF
21897 #define HAVE_DECL_TZNAME $ac_have_decl
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
21901 $as_echo_n "checking for tzname... " >&6; }
21902 if test "${ac_cv_var_tzname+set}" = set; then :
21903 $as_echo_n "(cached) " >&6
21905 if test x$gcc_no_link = xyes; then
21906 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21909 /* end confdefs.h. */
21911 #if !HAVE_DECL_TZNAME
21912 extern char *tzname[];
21918 return tzname[0][0];
21923 if ac_fn_c_try_link "$LINENO"; then :
21924 ac_cv_var_tzname=yes
21926 ac_cv_var_tzname=no
21928 rm -f core conftest.err conftest.$ac_objext \
21929 conftest$ac_exeext conftest.$ac_ext
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
21932 $as_echo "$ac_cv_var_tzname" >&6; }
21933 if test $ac_cv_var_tzname = yes; then
21935 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21941 for ac_func in gethostbyname_r
21943 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
21944 if test "x$ac_cv_func_gethostbyname_r" = x""yes; then :
21945 cat >>confdefs.h <<_ACEOF
21946 #define HAVE_GETHOSTBYNAME_R 1
21950 $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
21952 # There are two different kinds of gethostbyname_r.
21953 # We look for the one that returns `int
'.
21954 # Hopefully this check is robust enough.
21955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21956 /* end confdefs.h. */
21960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21961 $EGREP "int.*gethostbyname_r" >/dev/null 2>&1; then :
21964 $as_echo "#define GETHOSTBYNAME_R_RETURNS_INT 1" >>confdefs.h
21970 case " $GCINCS " in
21971 *" -D_REENTRANT "*) ;;
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
21974 $as_echo_n "checking whether gethostbyname_r declaration requires -D_REENTRANT... " >&6; }
21975 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then :
21976 $as_echo_n "(cached) " >&6
21979 ac_cpp='$CXXCPP $CPPFLAGS'
21980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
21981 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
21982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21985 /* end confdefs.h. */
21990 gethostbyname_r("", 0, 0);
21995 if ac_fn_cxx_try_compile "$LINENO"; then :
21996 libjava_cv_gethostbyname_r_needs_reentrant=no
21998 CPPFLAGS_SAVE="$CPPFLAGS"
21999 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
22000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22001 /* end confdefs.h. */
22006 gethostbyname_r("", 0, 0);
22011 if ac_fn_cxx_try_compile "$LINENO"; then :
22012 libjava_cv_gethostbyname_r_needs_reentrant=yes
22014 libjava_cv_gethostbyname_r_needs_reentrant=fail
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22017 CPPFLAGS="$CPPFLAGS_SAVE"
22020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22022 ac_cpp='$CPP $CPPFLAGS'
22023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22024 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22030 $as_echo "$libjava_cv_gethostbyname_r_needs_reentrant" >&6; }
22031 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes; then
22033 $as_echo "#define _REENTRANT 1" >>confdefs.h
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct hostent_data" >&5
22040 $as_echo_n "checking for struct hostent_data... " >&6; }
22041 if test "${libjava_cv_struct_hostent_data+set}" = set; then :
22042 $as_echo_n "(cached) " >&6
22044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22045 /* end confdefs.h. */
22047 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22048 # define _REENTRANT 1
22054 struct hostent_data data;
22059 if ac_fn_c_try_compile "$LINENO"; then :
22060 libjava_cv_struct_hostent_data=yes
22062 libjava_cv_struct_hostent_data=no
22064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_struct_hostent_data" >&5
22067 $as_echo "$libjava_cv_struct_hostent_data" >&6; }
22068 if test "x$libjava_cv_struct_hostent_data" = xyes; then
22070 $as_echo "#define HAVE_STRUCT_HOSTENT_DATA 1" >>confdefs.h
22078 # FIXME: libjava source code expects to find a prototype for
22079 # gethostbyaddr_r in netdb.h. The outer check ensures that
22080 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22081 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22082 # linkage check is enough, yet C++ code requires proper prototypes.)
22083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22084 /* end confdefs.h. */
22088 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22089 $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
22091 for ac_func in gethostbyaddr_r
22093 ac_fn_c_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r"
22094 if test "x$ac_cv_func_gethostbyaddr_r" = x""yes; then :
22095 cat >>confdefs.h <<_ACEOF
22096 #define HAVE_GETHOSTBYADDR_R 1
22100 $as_echo "#define HAVE_GETHOSTBYADDR_R 1" >>confdefs.h
22102 # There are two different kinds of gethostbyaddr_r.
22103 # We look for the one that returns `int'.
22104 # Hopefully this check is robust enough.
22105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22111 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then :
22114 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
22126 for ac_func
in gethostname
22128 ac_fn_c_check_func
"$LINENO" "gethostname" "ac_cv_func_gethostname"
22129 if test "x$ac_cv_func_gethostname" = x
""yes; then :
22130 cat >>confdefs.h
<<_ACEOF
22131 #define HAVE_GETHOSTNAME 1
22135 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
22137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h. */
22139 #include <unistd.h>
22142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22143 $EGREP "gethostname" >/dev
/null
2>&1; then :
22146 $as_echo "#define HAVE_GETHOSTNAME_DECL 1" >>confdefs.h
22155 for ac_func
in usleep
22157 ac_fn_c_check_func
"$LINENO" "usleep" "ac_cv_func_usleep"
22158 if test "x$ac_cv_func_usleep" = x
""yes; then :
22159 cat >>confdefs.h
<<_ACEOF
22160 #define HAVE_USLEEP 1
22163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22164 /* end confdefs.h. */
22165 #include <unistd.h>
22168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22169 $EGREP "usleep" >/dev
/null
2>&1; then :
22172 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
22181 # Look for these functions in the thread library, but only bother
22182 # if using POSIX threads.
22183 if test "$THREADS" = posix
; then
22185 LIBS
="$LIBS $THREADLIBS"
22187 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
22188 # Solaris 7 the name librt is preferred.
22189 for ac_func
in sched_yield
22191 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
22192 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
22193 cat >>confdefs.h
<<_ACEOF
22194 #define HAVE_SCHED_YIELD 1
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
22200 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
22201 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
22202 $as_echo_n "(cached) " >&6
22204 ac_check_lib_save_LIBS
=$LIBS
22206 if test x
$gcc_no_link = xyes
; then
22207 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22210 /* end confdefs.h. */
22212 /* Override any GCC internal prototype to avoid an error.
22213 Use char because int might match the return type of a GCC
22214 builtin and then its argument prototype would still apply. */
22218 char sched_yield ();
22222 return sched_yield ();
22227 if ac_fn_c_try_link
"$LINENO"; then :
22228 ac_cv_lib_rt_sched_yield
=yes
22230 ac_cv_lib_rt_sched_yield
=no
22232 rm -f core conftest.err conftest.
$ac_objext \
22233 conftest
$ac_exeext conftest.
$ac_ext
22234 LIBS
=$ac_check_lib_save_LIBS
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
22237 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
22238 if test "x$ac_cv_lib_rt_sched_yield" = x
""yes; then :
22240 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22242 THREADLIBS
="$THREADLIBS -lrt"
22243 THREADSPEC
="$THREADSPEC -lrt"
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
22247 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
22248 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
22249 $as_echo_n "(cached) " >&6
22251 ac_check_lib_save_LIBS
=$LIBS
22252 LIBS
="-lposix4 $LIBS"
22253 if test x
$gcc_no_link = xyes
; then
22254 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22257 /* end confdefs.h. */
22259 /* Override any GCC internal prototype to avoid an error.
22260 Use char because int might match the return type of a GCC
22261 builtin and then its argument prototype would still apply. */
22265 char sched_yield ();
22269 return sched_yield ();
22274 if ac_fn_c_try_link
"$LINENO"; then :
22275 ac_cv_lib_posix4_sched_yield
=yes
22277 ac_cv_lib_posix4_sched_yield
=no
22279 rm -f core conftest.err conftest.
$ac_objext \
22280 conftest
$ac_exeext conftest.
$ac_ext
22281 LIBS
=$ac_check_lib_save_LIBS
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
22284 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
22285 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
22287 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22289 THREADLIBS
="$THREADLIBS -lposix4"
22290 THREADSPEC
="$THREADSPEC -lposix4"
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22300 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22301 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22302 $as_echo_n "(cached) " >&6
22304 ac_check_lib_save_LIBS
=$LIBS
22306 if test x
$gcc_no_link = xyes
; then
22307 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22310 /* end confdefs.h. */
22312 /* Override any GCC internal prototype to avoid an error.
22313 Use char because int might match the return type of a GCC
22314 builtin and then its argument prototype would still apply. */
22318 char clock_gettime ();
22322 return clock_gettime ();
22327 if ac_fn_c_try_link
"$LINENO"; then :
22328 ac_cv_lib_rt_clock_gettime
=yes
22330 ac_cv_lib_rt_clock_gettime
=no
22332 rm -f core conftest.err conftest.
$ac_objext \
22333 conftest
$ac_exeext conftest.
$ac_ext
22334 LIBS
=$ac_check_lib_save_LIBS
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22337 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22338 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
22341 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22343 case "$THREADSPEC" in
22346 THREADSPEC
="$THREADSPEC -lrt"
22347 THREADLIBS
="$THREADLIBS -lrt"
22355 # We can save a little space at runtime if the mutex has m_count
22356 # or __m_count. This is a nice hack for Linux.
22357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22359 #include <pthread.h>
22364 extern pthread_mutex_t *mutex; int q = mutex->m_count;
22370 if ac_fn_c_try_compile
"$LINENO"; then :
22372 $as_echo "#define PTHREAD_MUTEX_HAVE_M_COUNT 1" >>confdefs.h
22376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22377 /* end confdefs.h. */
22378 #include <pthread.h>
22383 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
22389 if ac_fn_c_try_compile
"$LINENO"; then :
22391 $as_echo "#define PTHREAD_MUTEX_HAVE___M_COUNT 1" >>confdefs.h
22394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22399 # We require a way to get the time.
22401 for ac_func
in gettimeofday
time ftime
22403 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22404 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22405 eval as_val
=\$
$as_ac_var
22406 if test "x$as_val" = x
""yes; then :
22407 cat >>confdefs.h
<<_ACEOF
22408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22414 if test "$time_found" = no
; then
22415 as_fn_error
"no function found to get the time" "$LINENO" 5
22418 for ac_func
in memmove
22420 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
22421 if test "x$ac_cv_func_memmove" = x
""yes; then :
22422 cat >>confdefs.h
<<_ACEOF
22423 #define HAVE_MEMMOVE 1
22430 # We require memcpy.
22432 for ac_func
in memcpy
22434 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
22435 if test "x$ac_cv_func_memcpy" = x
""yes; then :
22436 cat >>confdefs.h
<<_ACEOF
22437 #define HAVE_MEMCPY 1
22443 if test "$memcpy_found" = no
; then
22444 as_fn_error
"memcpy is required" "$LINENO" 5
22446 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
22448 $as_echo_n "checking for dlopen in -ldl... " >&6; }
22449 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
22450 $as_echo_n "(cached) " >&6
22452 ac_check_lib_save_LIBS
=$LIBS
22454 if test x
$gcc_no_link = xyes
; then
22455 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22458 /* end confdefs.h. */
22460 /* Override any GCC internal prototype to avoid an error.
22461 Use char because int might match the return type of a GCC
22462 builtin and then its argument prototype would still apply. */
22475 if ac_fn_c_try_link
"$LINENO"; then :
22476 ac_cv_lib_dl_dlopen
=yes
22478 ac_cv_lib_dl_dlopen
=no
22480 rm -f core conftest.err conftest.
$ac_objext \
22481 conftest
$ac_exeext conftest.
$ac_ext
22482 LIBS
=$ac_check_lib_save_LIBS
22484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
22485 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
22486 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
22489 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldld" >&5
22494 $as_echo_n "checking for dlopen in -ldld... " >&6; }
22495 if test "${ac_cv_lib_dld_dlopen+set}" = set; then :
22496 $as_echo_n "(cached) " >&6
22498 ac_check_lib_save_LIBS
=$LIBS
22500 if test x
$gcc_no_link = xyes
; then
22501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22504 /* end confdefs.h. */
22506 /* Override any GCC internal prototype to avoid an error.
22507 Use char because int might match the return type of a GCC
22508 builtin and then its argument prototype would still apply. */
22521 if ac_fn_c_try_link
"$LINENO"; then :
22522 ac_cv_lib_dld_dlopen
=yes
22524 ac_cv_lib_dld_dlopen
=no
22526 rm -f core conftest.err conftest.
$ac_objext \
22527 conftest
$ac_exeext conftest.
$ac_ext
22528 LIBS
=$ac_check_lib_save_LIBS
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dlopen" >&5
22531 $as_echo "$ac_cv_lib_dld_dlopen" >&6; }
22532 if test "x$ac_cv_lib_dld_dlopen" = x
""yes; then :
22535 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22542 # Some library-finding code we stole from Tcl.
22543 #--------------------------------------------------------------------
22544 # Check for the existence of the -lsocket and -lnsl libraries.
22545 # The order here is important, so that they end up in the right
22546 # order in the command line generated by make. Here are some
22547 # special considerations:
22548 # 1. Use "connect" and "accept" to check for -lsocket, and
22549 # "gethostbyname" to check for -lnsl.
22550 # 2. Use each function name only once: can't redo a check because
22551 # autoconf caches the results of the last check and won't redo it.
22552 # 3. Use -lnsl and -lsocket only if they supply procedures that
22553 # aren't already present in the normal libraries. This is because
22554 # IRIX 5.2 has libraries, but they aren't needed and they're
22555 # bogus: they goof up name resolution if used.
22556 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
22557 # To get around this problem, check for both libraries together
22558 # if -lsocket doesn't work by itself.
22559 #--------------------------------------------------------------------
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
22562 $as_echo_n "checking for socket libraries... " >&6; }
22563 if test "${gcj_cv_lib_sockets+set}" = set; then :
22564 $as_echo_n "(cached) " >&6
22566 gcj_cv_lib_sockets
=
22568 unset ac_cv_func_connect
22569 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
22570 if test "x$ac_cv_func_connect" = x
""yes; then :
22576 if test "$gcj_checkSocket" = 1; then
22577 unset ac_cv_func_connect
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
22579 $as_echo_n "checking for main in -lsocket... " >&6; }
22580 if test "${ac_cv_lib_socket_main+set}" = set; then :
22581 $as_echo_n "(cached) " >&6
22583 ac_check_lib_save_LIBS
=$LIBS
22584 LIBS
="-lsocket $LIBS"
22585 if test x
$gcc_no_link = xyes
; then
22586 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22589 /* end confdefs.h. */
22600 if ac_fn_c_try_link
"$LINENO"; then :
22601 ac_cv_lib_socket_main
=yes
22603 ac_cv_lib_socket_main
=no
22605 rm -f core conftest.err conftest.
$ac_objext \
22606 conftest
$ac_exeext conftest.
$ac_ext
22607 LIBS
=$ac_check_lib_save_LIBS
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
22610 $as_echo "$ac_cv_lib_socket_main" >&6; }
22611 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
22612 gcj_cv_lib_sockets
="-lsocket"
22618 if test "$gcj_checkBoth" = 1; then
22620 LIBS
="$LIBS -lsocket -lnsl"
22621 unset ac_cv_func_accept
22622 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
22623 if test "x$ac_cv_func_accept" = x
""yes; then :
22625 gcj_cv_lib_sockets
="-lsocket -lnsl"
22628 unset ac_cv_func_accept
22631 unset ac_cv_func_gethostbyname
22633 LIBS
="$LIBS $gcj_cv_lib_sockets"
22634 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22635 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
22639 $as_echo_n "checking for main in -lnsl... " >&6; }
22640 if test "${ac_cv_lib_nsl_main+set}" = set; then :
22641 $as_echo_n "(cached) " >&6
22643 ac_check_lib_save_LIBS
=$LIBS
22645 if test x
$gcc_no_link = xyes
; then
22646 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22649 /* end confdefs.h. */
22660 if ac_fn_c_try_link
"$LINENO"; then :
22661 ac_cv_lib_nsl_main
=yes
22663 ac_cv_lib_nsl_main
=no
22665 rm -f core conftest.err conftest.
$ac_objext \
22666 conftest
$ac_exeext conftest.
$ac_ext
22667 LIBS
=$ac_check_lib_save_LIBS
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
22670 $as_echo "$ac_cv_lib_nsl_main" >&6; }
22671 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
22672 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
22677 unset ac_cv_func_gethostbyname
22681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcj_cv_lib_sockets" >&5
22682 $as_echo "$gcj_cv_lib_sockets" >&6; }
22683 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
22685 if test "$with_system_zlib" = yes; then
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22687 $as_echo_n "checking for deflate in -lz... " >&6; }
22688 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22689 $as_echo_n "(cached) " >&6
22691 ac_check_lib_save_LIBS
=$LIBS
22693 if test x
$gcc_no_link = xyes
; then
22694 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22697 /* end confdefs.h. */
22699 /* Override any GCC internal prototype to avoid an error.
22700 Use char because int might match the return type of a GCC
22701 builtin and then its argument prototype would still apply. */
22714 if ac_fn_c_try_link
"$LINENO"; then :
22715 ac_cv_lib_z_deflate
=yes
22717 ac_cv_lib_z_deflate
=no
22719 rm -f core conftest.err conftest.
$ac_objext \
22720 conftest
$ac_exeext conftest.
$ac_ext
22721 LIBS
=$ac_check_lib_save_LIBS
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22724 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22725 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22733 # Test for Gtk stuff, if asked for.
22734 if test "$use_gtk_awt" = yes; then
22738 if test -z "$PKG_CONFIG"; then
22739 # Extract the first word of "pkg-config", so it can be a program name with args.
22740 set dummy pkg-config
; ac_word
=$2
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22742 $as_echo_n "checking for $ac_word... " >&6; }
22743 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22744 $as_echo_n "(cached) " >&6
22746 case $PKG_CONFIG in
22748 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22752 for as_dir
in $PATH
22755 test -z "$as_dir" && as_dir
=.
22756 for ac_exec_ext
in '' $ac_executable_extensions; do
22757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22758 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22766 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22770 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22771 if test -n "$PKG_CONFIG"; then
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22773 $as_echo "$PKG_CONFIG" >&6; }
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22776 $as_echo "no" >&6; }
22782 if test "$PKG_CONFIG" = "no" ; then
22783 echo "*** The pkg-config script could not be found. Make sure it is"
22784 echo "*** in your path, or set the PKG_CONFIG environment variable"
22785 echo "*** to the full path to pkg-config."
22786 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22788 PKG_CONFIG_MIN_VERSION
=0.9.0
22789 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4" >&5
22791 $as_echo_n "checking for gtk+-2.0 >= 2.4... " >&6; }
22793 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22795 $as_echo "yes" >&6; }
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
22799 $as_echo_n "checking GTK_CFLAGS... " >&6; }
22800 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
22802 $as_echo "$GTK_CFLAGS" >&6; }
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
22805 $as_echo_n "checking GTK_LIBS... " >&6; }
22806 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
22808 $as_echo "$GTK_LIBS" >&6; }
22812 ## If we have a custom action on failure, don't print errors, but
22813 ## do set a variable so people can do so.
22814 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
22815 echo $GTK_PKG_ERRORS
22821 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22822 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22826 if test $succeeded = yes; then
22829 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
22838 if test -z "$PKG_CONFIG"; then
22839 # Extract the first word of "pkg-config", so it can be a program name with args.
22840 set dummy pkg-config
; ac_word
=$2
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22842 $as_echo_n "checking for $ac_word... " >&6; }
22843 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22844 $as_echo_n "(cached) " >&6
22846 case $PKG_CONFIG in
22848 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22852 for as_dir
in $PATH
22855 test -z "$as_dir" && as_dir
=.
22856 for ac_exec_ext
in '' $ac_executable_extensions; do
22857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22858 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22866 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22870 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22871 if test -n "$PKG_CONFIG"; then
22872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22873 $as_echo "$PKG_CONFIG" >&6; }
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22876 $as_echo "no" >&6; }
22882 if test "$PKG_CONFIG" = "no" ; then
22883 echo "*** The pkg-config script could not be found. Make sure it is"
22884 echo "*** in your path, or set the PKG_CONFIG environment variable"
22885 echo "*** to the full path to pkg-config."
22886 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22888 PKG_CONFIG_MIN_VERSION
=0.9.0
22889 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
22891 $as_echo_n "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... " >&6; }
22893 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22895 $as_echo "yes" >&6; }
22898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
22899 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
22900 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
22902 $as_echo "$GLIB_CFLAGS" >&6; }
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
22905 $as_echo_n "checking GLIB_LIBS... " >&6; }
22906 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
22908 $as_echo "$GLIB_LIBS" >&6; }
22912 ## If we have a custom action on failure, don't print errors, but
22913 ## do set a variable so people can do so.
22914 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22915 echo $GLIB_PKG_ERRORS
22921 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22922 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22926 if test $succeeded = yes; then
22929 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
22938 if test -z "$PKG_CONFIG"; then
22939 # Extract the first word of "pkg-config", so it can be a program name with args.
22940 set dummy pkg-config
; ac_word
=$2
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22942 $as_echo_n "checking for $ac_word... " >&6; }
22943 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22944 $as_echo_n "(cached) " >&6
22946 case $PKG_CONFIG in
22948 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22952 for as_dir
in $PATH
22955 test -z "$as_dir" && as_dir
=.
22956 for ac_exec_ext
in '' $ac_executable_extensions; do
22957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22958 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22966 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22970 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22971 if test -n "$PKG_CONFIG"; then
22972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22973 $as_echo "$PKG_CONFIG" >&6; }
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22976 $as_echo "no" >&6; }
22982 if test "$PKG_CONFIG" = "no" ; then
22983 echo "*** The pkg-config script could not be found. Make sure it is"
22984 echo "*** in your path, or set the PKG_CONFIG environment variable"
22985 echo "*** to the full path to pkg-config."
22986 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22988 PKG_CONFIG_MIN_VERSION
=0.9.0
22989 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libart-2.0 >= 2.1" >&5
22991 $as_echo_n "checking for libart-2.0 >= 2.1... " >&6; }
22993 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22995 $as_echo "yes" >&6; }
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_CFLAGS" >&5
22999 $as_echo_n "checking LIBART_CFLAGS... " >&6; }
23000 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
23001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_CFLAGS" >&5
23002 $as_echo "$LIBART_CFLAGS" >&6; }
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_LIBS" >&5
23005 $as_echo_n "checking LIBART_LIBS... " >&6; }
23006 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_LIBS" >&5
23008 $as_echo "$LIBART_LIBS" >&6; }
23012 ## If we have a custom action on failure, don't print errors, but
23013 ## do set a variable so people can do so.
23014 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
23015 echo $LIBART_PKG_ERRORS
23021 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23022 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23026 if test $succeeded = yes; then
23029 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
23035 # We require the XTest Extension to support java.awt.Robot.
23036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
23037 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
23038 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
23039 $as_echo_n "(cached) " >&6
23041 ac_check_lib_save_LIBS
=$LIBS
23042 LIBS
="-lXtst ${X_LIBS} $LIBS"
23043 if test x
$gcc_no_link = xyes
; then
23044 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23047 /* end confdefs.h. */
23049 /* Override any GCC internal prototype to avoid an error.
23050 Use char because int might match the return type of a GCC
23051 builtin and then its argument prototype would still apply. */
23055 char XTestQueryExtension ();
23059 return XTestQueryExtension ();
23064 if ac_fn_c_try_link
"$LINENO"; then :
23065 ac_cv_lib_Xtst_XTestQueryExtension
=yes
23067 ac_cv_lib_Xtst_XTestQueryExtension
=no
23069 rm -f core conftest.err conftest.
$ac_objext \
23070 conftest
$ac_exeext conftest.
$ac_ext
23071 LIBS
=$ac_check_lib_save_LIBS
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
23074 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
23075 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
23078 as_fn_error
"libXtst not found, required by java.awt.Robot" "$LINENO" 5
23083 # On Solaris, and maybe other architectures, the Boehm collector
23085 if test "$GC" = boehm
; then
23088 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
23089 # libgcj.spec is used, so override here
23090 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
23094 $as_echo_n "checking for main in -ldl... " >&6; }
23095 if test "${ac_cv_lib_dl_main+set}" = set; then :
23096 $as_echo_n "(cached) " >&6
23098 ac_check_lib_save_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. */
23115 if ac_fn_c_try_link
"$LINENO"; then :
23116 ac_cv_lib_dl_main
=yes
23118 ac_cv_lib_dl_main
=no
23120 rm -f core conftest.err conftest.
$ac_objext \
23121 conftest
$ac_exeext conftest.
$ac_ext
23122 LIBS
=$ac_check_lib_save_LIBS
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
23125 $as_echo "$ac_cv_lib_dl_main" >&6; }
23126 if test "x$ac_cv_lib_dl_main" = x
""yes; then :
23127 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
23135 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
23137 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
23138 *) CLASSPATH_SEPARATOR
=':' ;;
23142 # We must search the source tree for java.lang, since we still don't
23143 # have libgcj.jar nor java/lang/*.class
23144 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
23145 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
23147 # Since some classes depend on this one, we need its source available
23148 # before we can do any GCJ compilation test :-(
23149 if test ! -f gnu
/classpath
/Configuration.java
; then
23150 test -d gnu || mkdir gnu
23151 test -d gnu
/classpath || mkdir gnu
/classpath
23152 # Note that it is not crucial that all the values here be correct.
23153 sed -e "s,@prefix@,$expanded_prefix," \
23154 -e "s,@VERSION@,$VERSION," \
23155 -e "s,@LIBDEBUG@,false," \
23156 -e "s,@INIT_LOAD_LIBRARY@,false," \
23157 -e "s,@@,$LIBGCJDEBUG," \
23158 -e "s,@default_toolkit@,$TOOLKIT," \
23159 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
23160 -e "s,@GTK_CAIRO_ENABLED@,false," \
23161 -e "s,@ECJ_JAR@,," \
23162 -e "s,@WANT_NATIVE_BIG_INTEGER@,false," \
23163 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
23164 > gnu
/classpath
/Configuration.java
23165 # We do not want to redirect the output of the grep below to /dev/null,
23166 # but we add /dev/null to the input list so that grep will print the
23167 # filename of Configuration.java in case it finds any matches.
23168 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
23169 as_fn_error
"configure.ac is missing the substitutions above" "$LINENO" 5
23174 if test -n "$ac_tool_prefix"; then
23177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23178 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23180 $as_echo_n "checking for $ac_word... " >&6; }
23181 if test "${ac_cv_prog_GCJ+set}" = set; then :
23182 $as_echo_n "(cached) " >&6
23184 if test -n "$GCJ"; then
23185 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
23187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23188 for as_dir
in $PATH
23191 test -z "$as_dir" && as_dir
=.
23192 for ac_exec_ext
in '' $ac_executable_extensions; do
23193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23194 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
23195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23204 GCJ
=$ac_cv_prog_GCJ
23205 if test -n "$GCJ"; then
23206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
23207 $as_echo "$GCJ" >&6; }
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23210 $as_echo "no" >&6; }
23214 test -n "$GCJ" && break
23217 if test -z "$GCJ"; then
23221 # Extract the first word of "$ac_prog", so it can be a program name with args.
23222 set dummy
$ac_prog; ac_word
=$2
23223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23224 $as_echo_n "checking for $ac_word... " >&6; }
23225 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
23226 $as_echo_n "(cached) " >&6
23228 if test -n "$ac_ct_GCJ"; then
23229 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
23231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23232 for as_dir
in $PATH
23235 test -z "$as_dir" && as_dir
=.
23236 for ac_exec_ext
in '' $ac_executable_extensions; do
23237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23238 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
23239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23248 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
23249 if test -n "$ac_ct_GCJ"; then
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
23251 $as_echo "$ac_ct_GCJ" >&6; }
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23254 $as_echo "no" >&6; }
23258 test -n "$ac_ct_GCJ" && break
23261 if test "x$ac_ct_GCJ" = x
; then
23264 case $cross_compiling:$ac_tool_warned in
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23268 ac_tool_warned
=yes ;;
23274 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
23275 if test "x${GCJFLAGS-unset}" = xunset
; then
23280 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
23282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
23283 $as_echo_n "checking dependency style of $depcc... " >&6; }
23284 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
23285 $as_echo_n "(cached) " >&6
23287 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
23288 # We make a subdir and do the tests there. Otherwise we can end up
23289 # making bogus files that we don't know about and never remove. For
23290 # instance it was reported that on HP-UX the gcc test will end up
23291 # making a dummy file named `D' -- because `-MD' means `put the output
23294 # Copy depcomp to subdir because otherwise we won't find it if we're
23295 # using a relative directory.
23296 cp "$am_depcomp" conftest.dir
23298 # We will build objects and dependencies in a subdirectory because
23299 # it helps to detect inapplicable dependency modes. For instance
23300 # both Tru64's cc and ICC support -MD to output dependencies as a
23301 # side effect of compilation, but ICC will put the dependencies in
23302 # the current directory while Tru64 will put them in the object
23306 am_cv_GCJ_dependencies_compiler_type
=none
23307 if test "$am_compiler_list" = ""; then
23308 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
23310 am__universal
=false
23313 for depmode
in $am_compiler_list; do
23314 # Setup a source with many dependencies, because some compilers
23315 # like to wrap large dependency lists on column 80 (with \), and
23316 # we should not choose a depcomp mode which is confused by this.
23318 # We need to recreate these files for each test, as the compiler may
23319 # overwrite some of them when testing with obscure command lines.
23320 # This happens at least with the AIX C compiler.
23322 for i
in 1 2 3 4 5 6; do
23323 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
23324 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
23325 # Solaris 8's {/usr,}/bin/sh.
23326 touch sub
/conftst
$i.h
23328 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
23330 # We check with `-c' and `-o' for the sake of the "dashmstdout"
23331 # mode. It turns out that the SunPro C++ compiler does not properly
23332 # handle `-M -o', and we need to detect this. Also, some Intel
23333 # versions had trouble with output in subdirs
23334 am__obj
=sub
/conftest.
${OBJEXT-o}
23335 am__minus_obj
="-o $am__obj"
23338 # This depmode causes a compiler race in universal mode.
23339 test "$am__universal" = false ||
continue
23342 # after this tag, mechanisms are not by side-effect, so they'll
23343 # only be used when explicitly requested
23344 if test "x$enable_dependency_tracking" = xyes
; then
23350 msvisualcpp | msvcmsys
)
23351 # This compiler won't grok `-c -o', but also, the minuso test has
23352 # not run yet. These depmodes are late enough in the game, and
23353 # so weak that their functioning should not be impacted.
23354 am__obj
=conftest.
${OBJEXT-o}
23359 if depmode
=$depmode \
23360 source=sub
/conftest.c object
=$am__obj \
23361 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
23362 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
23363 >/dev
/null
2>conftest.err
&&
23364 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23365 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23366 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
23367 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
23368 # icc doesn't choke on unknown options, it will just issue warnings
23369 # or remarks (even with -Werror). So we grep stderr for any message
23370 # that says an option was ignored or not supported.
23371 # When given -MP, icc 7.0 and 7.1 complain thusly:
23372 # icc: Command line warning: ignoring option '-M'; no argument required
23373 # The diagnosis changed in icc 8.0:
23374 # icc: Command line remark: option '-MP' not supported
23375 if (grep 'ignoring option' conftest.err ||
23376 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
23377 am_cv_GCJ_dependencies_compiler_type
=$depmode
23384 rm -rf conftest.dir
23386 am_cv_GCJ_dependencies_compiler_type
=none
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
23391 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
23392 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
23395 test "x$enable_dependency_tracking" != xno \
23396 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
23397 am__fastdepGCJ_TRUE
=
23398 am__fastdepGCJ_FALSE
='#'
23400 am__fastdepGCJ_TRUE
='#'
23401 am__fastdepGCJ_FALSE
=
23408 rm -f gnu
/classpath
/Configuration.java
23410 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
23412 # The cast to long int works around a bug in the HP C Compiler
23413 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23414 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23415 # This bug is HP SR number 8606223364.
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
23417 $as_echo_n "checking size of void *... " >&6; }
23418 if test "${ac_cv_sizeof_void_p+set}" = set; then :
23419 $as_echo_n "(cached) " >&6
23421 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
23424 if test "$ac_cv_type_void_p" = yes; then
23425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23427 { as_fn_set_status
77
23428 as_fn_error
"cannot compute sizeof (void *)
23429 See \`config.log' for more details." "$LINENO" 5; }; }
23431 ac_cv_sizeof_void_p
=0
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
23437 $as_echo "$ac_cv_sizeof_void_p" >&6; }
23441 cat >>confdefs.h
<<_ACEOF
23442 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23448 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23449 if test "${ac_cv_c_bigendian+set}" = set; then :
23450 $as_echo_n "(cached) " >&6
23452 ac_cv_c_bigendian
=unknown
23453 # See if we're dealing with a universal compiler.
23454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23455 /* end confdefs.h. */
23456 #ifndef __APPLE_CC__
23457 not a universal capable compiler
23462 if ac_fn_c_try_compile
"$LINENO"; then :
23464 # Check for potential -arch flags. It is not universal unless
23465 # there are at least two -arch flags with different values.
23468 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
23469 if test -n "$ac_prev"; then
23471 i?
86 | x86_64 | ppc | ppc64
)
23472 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
23475 ac_cv_c_bigendian
=universal
23481 elif test "x$ac_word" = "x-arch"; then
23486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23487 if test $ac_cv_c_bigendian = unknown
; then
23488 # See if sys/param.h defines the BYTE_ORDER macro.
23489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23490 /* end confdefs.h. */
23491 #include <sys/types.h>
23492 #include <sys/param.h>
23497 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
23498 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
23500 bogus endian macros
23507 if ac_fn_c_try_compile
"$LINENO"; then :
23508 # It does; now see whether it defined to BIG_ENDIAN or not.
23509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23510 /* end confdefs.h. */
23511 #include <sys/types.h>
23512 #include <sys/param.h>
23517 #if BYTE_ORDER != BIG_ENDIAN
23525 if ac_fn_c_try_compile
"$LINENO"; then :
23526 ac_cv_c_bigendian
=yes
23528 ac_cv_c_bigendian
=no
23530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23534 if test $ac_cv_c_bigendian = unknown
; then
23535 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
23536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23537 /* end confdefs.h. */
23538 #include <limits.h>
23543 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
23544 bogus endian macros
23551 if ac_fn_c_try_compile
"$LINENO"; then :
23552 # It does; now see whether it defined to _BIG_ENDIAN or not.
23553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23554 /* end confdefs.h. */
23555 #include <limits.h>
23560 #ifndef _BIG_ENDIAN
23568 if ac_fn_c_try_compile
"$LINENO"; then :
23569 ac_cv_c_bigendian
=yes
23571 ac_cv_c_bigendian
=no
23573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23577 if test $ac_cv_c_bigendian = unknown
; then
23578 # Compile a test program.
23579 if test "$cross_compiling" = yes; then :
23580 # Try to guess by grepping values from an object file.
23581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23583 short int ascii_mm[] =
23584 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23585 short int ascii_ii[] =
23586 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23587 int use_ascii (int i) {
23588 return ascii_mm[i] + ascii_ii[i];
23590 short int ebcdic_ii[] =
23591 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23592 short int ebcdic_mm[] =
23593 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23594 int use_ebcdic (int i) {
23595 return ebcdic_mm[i] + ebcdic_ii[i];
23602 return use_ascii (foo) == use_ebcdic (foo);
23607 if ac_fn_c_try_compile
"$LINENO"; then :
23608 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23609 ac_cv_c_bigendian
=yes
23611 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23612 if test "$ac_cv_c_bigendian" = unknown
; then
23613 ac_cv_c_bigendian
=no
23615 # finding both strings is unlikely to happen, but who knows?
23616 ac_cv_c_bigendian
=unknown
23620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23623 /* end confdefs.h. */
23624 $ac_includes_default
23629 /* Are we little or big endian? From Harbison&Steele. */
23633 char c[sizeof (long int)];
23636 return u.c[sizeof (long int) - 1] == 1;
23642 if ac_fn_c_try_run
"$LINENO"; then :
23643 ac_cv_c_bigendian
=no
23645 ac_cv_c_bigendian
=yes
23647 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23648 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
23654 $as_echo "$ac_cv_c_bigendian" >&6; }
23655 case $ac_cv_c_bigendian in #(
23657 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
23663 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
23667 as_fn_error
"unknown endianness
23668 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
23676 if test -z "$ZLIBSPEC"; then
23677 # Use zlib from the GCC tree.
23678 ZINCS
='-I$(top_srcdir)/../zlib'
23679 ZLIBS
=..
/zlib
/libzgcj_convenience.la
23682 SYS_ZLIBS
="$ZLIBSPEC"
23694 if test "$NATIVE" = yes; then
23702 if test "$enable_shared" = yes; then
23703 ENABLE_SHARED_TRUE
=
23704 ENABLE_SHARED_FALSE
='#'
23706 ENABLE_SHARED_TRUE
='#'
23707 ENABLE_SHARED_FALSE
=
23710 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
23711 NEEDS_DATA_START_TRUE
=
23712 NEEDS_DATA_START_FALSE
='#'
23714 NEEDS_DATA_START_TRUE
='#'
23715 NEEDS_DATA_START_FALSE
=
23718 if test -z "${with_multisubdir}"; then
23719 INSTALL_BINARIES_TRUE
=
23720 INSTALL_BINARIES_FALSE
='#'
23722 INSTALL_BINARIES_TRUE
='#'
23723 INSTALL_BINARIES_FALSE
=
23728 # Process the option "--enable-version-specific-runtime-libs"
23729 # Calculate toolexeclibdir
23730 case ${version_specific_libs} in
23732 # Need the gcc compiler version to know where to install libraries
23733 # and header files if --enable-version-specific-runtime-libs option
23735 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
23736 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
23737 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
23738 toolexeclibdir
=$toolexecmainlibdir
23741 if test -n "$with_cross_host" &&
23742 test x
"$with_cross_host" != x
"no"; then
23743 # Install a library built with a cross compiler in tooldir, not libdir.
23744 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
23745 toolexecmainlibdir
='$(toolexecdir)/lib'
23747 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
23748 toolexecmainlibdir
='$(libdir)'
23750 multi_os_directory
=`$CC -print-multi-os-directory`
23751 case $multi_os_directory in
23752 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
23753 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
23761 # Determine gcj and libgcj version number.
23762 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
23763 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
23764 GCJVERSION
=$gcjversion
23767 cat >>confdefs.h
<<_ACEOF
23768 #define GCJVERSION "$GCJVERSION"
23772 # Determine where the standard .db file and GNU Classpath JNI
23773 # libraries are found.
23774 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
23775 multi_os_directory
=`$CC -print-multi-os-directory`
23776 case $multi_os_directory in
23778 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
23781 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
23788 $as_echo "#define JV_VERSION \"1.5.0\"" >>confdefs.h
23791 $as_echo "#define JV_API_VERSION \"1.5\"" >>confdefs.h
23795 case "${with_gxx_include_dir}" in
23797 as_fn_error
"--with-gxx-include-dir=[dir] requires a directory" "$LINENO" 5
23800 case "${enable_version_specific_runtime_libs}" in
23801 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
23803 libstdcxx_incdir
='c++/$(gcc_version)'
23804 gxx_include_dir
='include/$(libstdcxx_incdir)'
23805 if test -n "$with_cross_host" &&
23806 test x
"$with_cross_host" != x
"no"; then
23807 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
23809 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
23812 *) gxx_include_dir
=${with_gxx_include_dir} ;;
23818 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
23819 # On that system, sys/ioctl.h will not include sys/filio.h unless
23820 # BSD_COMP is defined; just including sys/filio.h is simpler.
23821 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
23822 # for now. If you change this, you also must update natFile.cc.
23823 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
23824 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
23825 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h \
23826 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
23827 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
23829 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23830 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23831 eval as_val
=\$
$as_ac_Header
23832 if test "x$as_val" = x
""yes; then :
23833 cat >>confdefs.h
<<_ACEOF
23834 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23842 # sys/socket.h is a prerequisite for net/if.h on Solaris.
23843 for ac_header
in net
/if.h
23845 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
23846 #ifdef HAVE_SYS_SOCKET_H
23847 #include <sys/socket.h>
23851 if test "x$ac_cv_header_net_if_h" = x
""yes; then :
23852 cat >>confdefs.h
<<_ACEOF
23853 #define HAVE_NET_IF_H 1
23861 for ac_header
in inttypes.h
23863 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
23864 if test "x$ac_cv_header_inttypes_h" = x
""yes; then :
23865 cat >>confdefs.h
<<_ACEOF
23866 #define HAVE_INTTYPES_H 1
23870 $as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h
23873 $as_echo "#define JV_HAVE_INTTYPES_H 1" >>confdefs.h
23881 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
23882 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
23886 cat >>confdefs.h
<<_ACEOF
23887 #define ssize_t int
23892 ac_fn_c_check_type
"$LINENO" "magic_t" "ac_cv_type_magic_t" "
23893 #ifdef HAVE_MAGIC_H
23897 if test "x$ac_cv_type_magic_t" = x
""yes; then :
23900 $as_echo "#define HAVE_MAGIC_T 1" >>confdefs.h
23905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t" >&5
23906 $as_echo_n "checking for in_addr_t... " >&6; }
23907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23908 /* end confdefs.h. */
23909 #include <sys/types.h>
23911 #include <stdlib.h>
23912 #include <stddef.h>
23914 #if HAVE_NETINET_IN_H
23915 #include <netinet/in.h>
23925 if ac_fn_c_try_compile
"$LINENO"; then :
23927 $as_echo "#define HAVE_IN_ADDR_T 1" >>confdefs.h
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23930 $as_echo "yes" >&6; }
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23933 $as_echo "no" >&6; }
23935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ip_mreq is in netinet/in.h" >&5
23938 $as_echo_n "checking whether struct ip_mreq is in netinet/in.h... " >&6; }
23939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23940 /* end confdefs.h. */
23941 #include <netinet/in.h>
23945 struct ip_mreq mreq;
23950 if ac_fn_c_try_compile
"$LINENO"; then :
23952 $as_echo "#define HAVE_STRUCT_IP_MREQ 1" >>confdefs.h
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23955 $as_echo "yes" >&6; }
23957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23958 $as_echo "no" >&6; }
23960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ipv6_mreq is in netinet/in.h" >&5
23963 $as_echo_n "checking whether struct ipv6_mreq is in netinet/in.h... " >&6; }
23964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23965 /* end confdefs.h. */
23966 #include <netinet/in.h>
23970 struct ipv6_mreq mreq6;
23975 if ac_fn_c_try_compile
"$LINENO"; then :
23977 $as_echo "#define HAVE_STRUCT_IPV6_MREQ 1" >>confdefs.h
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23980 $as_echo "yes" >&6; }
23982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23983 $as_echo "no" >&6; }
23985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
23988 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
23989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23990 /* end confdefs.h. */
23991 #include <netinet/in.h>
23995 struct sockaddr_in6 addr6;
24000 if ac_fn_c_try_compile
"$LINENO"; then :
24002 $as_echo "#define HAVE_INET6 1" >>confdefs.h
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24005 $as_echo "yes" >&6; }
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24008 $as_echo "no" >&6; }
24010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
24013 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
24014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24015 /* end confdefs.h. */
24016 #define _POSIX_PII_SOCKET
24017 #include <sys/types.h>
24018 #include <sys/socket.h>
24027 if ac_fn_c_try_compile
"$LINENO"; then :
24029 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
24031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24032 $as_echo "yes" >&6; }
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24035 $as_echo "no" >&6; }
24037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
24040 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
24041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24042 /* end confdefs.h. */
24047 struct tm tim; tim.tm_gmtoff = 0;
24052 if ac_fn_c_try_compile
"$LINENO"; then :
24054 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24057 $as_echo "yes" >&6; }
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24060 $as_echo "no" >&6; }
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
24062 $as_echo_n "checking for global timezone variable... " >&6; }
24063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24064 /* end confdefs.h. */
24069 void i(){long z2 = 2*timezone;}
24074 if ac_fn_c_try_compile
"$LINENO"; then :
24076 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24079 $as_echo "yes" >&6; }
24081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24082 $as_echo "no" >&6; }
24083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
24084 $as_echo_n "checking for global _timezone variable... " >&6; }
24085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h. */
24091 long z2 = _timezone;
24096 if ac_fn_c_try_compile
"$LINENO"; then :
24098 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24101 $as_echo "yes" >&6; }
24103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24104 $as_echo "no" >&6; }
24106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24112 for ac_prog
in perl
24114 # Extract the first word of "$ac_prog", so it can be a program name with args.
24115 set dummy
$ac_prog; ac_word
=$2
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24117 $as_echo_n "checking for $ac_word... " >&6; }
24118 if test "${ac_cv_prog_PERL+set}" = set; then :
24119 $as_echo_n "(cached) " >&6
24121 if test -n "$PERL"; then
24122 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
24124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24125 for as_dir
in $PATH
24128 test -z "$as_dir" && as_dir
=.
24129 for ac_exec_ext
in '' $ac_executable_extensions; do
24130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24131 ac_cv_prog_PERL
="$ac_prog"
24132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24141 PERL
=$ac_cv_prog_PERL
24142 if test -n "$PERL"; then
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
24144 $as_echo "$PERL" >&6; }
24146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24147 $as_echo "no" >&6; }
24151 test -n "$PERL" && break
24153 test -n "$PERL" || PERL
="false"
24157 SIGNAL_HANDLER_AUX
=
24161 SIGNAL_HANDLER
=include
/i386-signal.h
24163 sparc
*-sun-solaris*)
24164 SIGNAL_HANDLER
=include
/sparc-signal.h
24167 # SYSDEP_SOURCES=sysdep/ia64.c
24168 # test -d sysdep || mkdir sysdep
24171 SIGNAL_HANDLER
=include
/pa-signal.h
24174 SIGNAL_HANDLER
=include
/hppa-signal.h
24177 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24180 SIGNAL_HANDLER
=include
/powerpc-signal.h
24183 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24186 SIGNAL_HANDLER
=include
/s390-signal.h
24189 SIGNAL_HANDLER
=include
/x86_64-signal.h
24190 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
24193 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24196 SIGNAL_HANDLER
=include
/sh-signal.h
24199 SIGNAL_HANDLER
=include
/win32-signal.h
24202 SIGNAL_HANDLER
=include
/mips-signal.h
24205 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24207 powerpc
*-*-darwin* | i?
86-*-darwin[912]* | x86_64-
*-darwin[912]*)
24208 SIGNAL_HANDLER
=include
/darwin-signal.h
24211 SIGNAL_HANDLER
=include
/aix-signal.h
24214 SIGNAL_HANDLER
=include
/default-signal.h
24218 # If we're using sjlj exceptions, forget what we just learned.
24219 if test "$enable_sjlj_exceptions" = yes; then
24220 SIGNAL_HANDLER
=include
/default-signal.h
24221 SIGNAL_HANDLER_AUX
=
24226 if test -z "$SIGNAL_HANDLER_AUX"; then
24227 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
24230 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
24233 if test "${multilib}" = "yes"; then
24234 multilib_arg
="--enable-multilib"
24239 # See if we support thread-local storage.
24242 # Check whether --enable-tls was given.
24243 if test "${enable_tls+set}" = set; then :
24244 enableval
=$enable_tls;
24245 case "$enableval" in
24247 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
24255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
24256 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
24257 if test "${gcc_cv_have_tls+set}" = set; then :
24258 $as_echo_n "(cached) " >&6
24261 if test "$cross_compiling" = yes; then :
24262 if test x
$gcc_no_link = xyes
; then
24263 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24266 /* end confdefs.h. */
24267 __thread int a; int b; int main() { return a = b; }
24269 if ac_fn_c_try_link
"$LINENO"; then :
24270 chktls_save_LDFLAGS
="$LDFLAGS"
24273 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
24276 chktls_save_CFLAGS
="$CFLAGS"
24277 CFLAGS
="-fPIC $CFLAGS"
24278 if test x
$gcc_no_link = xyes
; then
24279 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24282 /* end confdefs.h. */
24283 int f() { return 0; }
24285 if ac_fn_c_try_link
"$LINENO"; then :
24286 if test x
$gcc_no_link = xyes
; then
24287 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24290 /* end confdefs.h. */
24291 __thread int a; int b; int f() { return a = b; }
24293 if ac_fn_c_try_link
"$LINENO"; then :
24294 gcc_cv_have_tls
=yes
24298 rm -f core conftest.err conftest.
$ac_objext \
24299 conftest
$ac_exeext conftest.
$ac_ext
24301 gcc_cv_have_tls
=yes
24303 rm -f core conftest.err conftest.
$ac_objext \
24304 conftest
$ac_exeext conftest.
$ac_ext
24305 CFLAGS
="$chktls_save_CFLAGS"
24306 LDFLAGS
="$chktls_save_LDFLAGS"
24310 rm -f core conftest.err conftest.
$ac_objext \
24311 conftest
$ac_exeext conftest.
$ac_ext
24315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24316 /* end confdefs.h. */
24317 __thread int a; int b; int main() { return a = b; }
24319 if ac_fn_c_try_run
"$LINENO"; then :
24320 chktls_save_LDFLAGS
="$LDFLAGS"
24321 LDFLAGS
="-static $LDFLAGS"
24322 if test x
$gcc_no_link = xyes
; then
24323 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24327 int main() { return 0; }
24329 if ac_fn_c_try_link
"$LINENO"; then :
24330 if test "$cross_compiling" = yes; then :
24331 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24333 as_fn_error
"cannot run test program while cross compiling
24334 See \`config.log' for more details." "$LINENO" 5; }
24336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24337 /* end confdefs.h. */
24338 __thread int a; int b; int main() { return a = b; }
24340 if ac_fn_c_try_run
"$LINENO"; then :
24341 gcc_cv_have_tls
=yes
24345 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24346 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24350 gcc_cv_have_tls
=yes
24352 rm -f core conftest.err conftest.
$ac_objext \
24353 conftest
$ac_exeext conftest.
$ac_ext
24354 LDFLAGS
="$chktls_save_LDFLAGS"
24355 if test $gcc_cv_have_tls = yes; then
24356 chktls_save_CFLAGS
="$CFLAGS"
24357 thread_CFLAGS
=failed
24358 for flag
in '' '-pthread' '-lpthread'; do
24359 CFLAGS
="$flag $chktls_save_CFLAGS"
24360 if test x
$gcc_no_link = xyes
; then
24361 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24364 /* end confdefs.h. */
24365 #include <pthread.h>
24366 void *g(void *d) { return NULL; }
24370 pthread_t t; pthread_create(&t,NULL,g,NULL);
24375 if ac_fn_c_try_link
"$LINENO"; then :
24376 thread_CFLAGS
="$flag"
24378 rm -f core conftest.err conftest.
$ac_objext \
24379 conftest
$ac_exeext conftest.
$ac_ext
24380 if test "X$thread_CFLAGS" != Xfailed
; then
24384 CFLAGS
="$chktls_save_CFLAGS"
24385 if test "X$thread_CFLAGS" != Xfailed
; then
24386 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
24387 if test "$cross_compiling" = yes; then :
24388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24390 as_fn_error
"cannot run test program while cross compiling
24391 See \`config.log' for more details." "$LINENO" 5; }
24393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24394 /* end confdefs.h. */
24395 #include <pthread.h>
24397 static int *volatile a_in_other_thread;
24399 thread_func (void *arg)
24401 a_in_other_thread = &a;
24408 void *thread_retval;
24409 int *volatile a_in_main_thread;
24410 a_in_main_thread = &a;
24411 if (pthread_create (&thread, (pthread_attr_t *)0,
24412 thread_func, (void *)0))
24414 if (pthread_join (thread, &thread_retval))
24416 return (a_in_other_thread == a_in_main_thread);
24421 if ac_fn_c_try_run
"$LINENO"; then :
24422 gcc_cv_have_tls
=yes
24426 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24427 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24430 CFLAGS
="$chktls_save_CFLAGS"
24436 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24437 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
24442 $as_echo "$gcc_cv_have_tls" >&6; }
24443 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
24445 $as_echo "#define HAVE_TLS 1" >>confdefs.h
24449 # For _Unwind_GetIPInfo.
24452 # Check whether --with-system-libunwind was given.
24453 if test "${with_system_libunwind+set}" = set; then :
24454 withval
=$with_system_libunwind;
24457 # If system-libunwind was not specifically set, pick a default setting.
24458 if test x
$with_system_libunwind = x
; then
24460 ia64-
*-hpux*) with_system_libunwind
=yes ;;
24461 *) with_system_libunwind
=no
;;
24464 # Based on system-libunwind and target, do we have ipinfo?
24465 if test x
$with_system_libunwind = xyes
; then
24467 ia64-
*-*) have_unwind_getipinfo
=no
;;
24468 *) have_unwind_getipinfo
=yes ;;
24471 # Darwin before version 9 does not have _Unwind_GetIPInfo.
24474 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
24475 *) have_unwind_getipinfo
=yes ;;
24480 if test x
$have_unwind_getipinfo = xyes
; then
24482 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
24487 # See if linker supports anonymous version scripts.
24488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous version scripts" >&5
24489 $as_echo_n "checking whether ld supports anonymous version scripts... " >&6; }
24490 if test "${libjava_cv_anon_version_script+set}" = set; then :
24491 $as_echo_n "(cached) " >&6
24493 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
24494 libjava_cv_anon_version_script
=no
24495 CFLAGS
="$CFLAGS -fPIC";
24496 LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
24497 echo '{ global: globalsymb*; local: *; };' > conftest.map
24498 if test x
$gcc_no_link = xyes
; then
24499 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24502 /* end confdefs.h. */
24503 void globalsymbol (void) {} void localsymbol (void) {}
24512 if ac_fn_c_try_link
"$LINENO"; then :
24513 libjava_cv_anon_version_script
=gnu
24515 rm -f core conftest.err conftest.
$ac_objext \
24516 conftest
$ac_exeext conftest.
$ac_ext
24517 if test x
$libjava_cv_anon_version_script = xno
; then
24518 case "$target_os" in
24520 LDFLAGS
="$save_LDFLAGS"
24521 LDFLAGS
="$LDFLAGS -shared -Wl,-M,conftest.map"
24522 # Sun ld doesn't understand wildcards here.
24523 echo '{ global: globalsymbol; local: *; };' > conftest.map
24524 if test x
$gcc_no_link = xyes
; then
24525 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24528 /* end confdefs.h. */
24529 void globalsymbol (void) {} void localsymbol (void) {}
24538 if ac_fn_c_try_link
"$LINENO"; then :
24539 libjava_cv_anon_version_script
=sun
24541 rm -f core conftest.err conftest.
$ac_objext \
24542 conftest
$ac_exeext conftest.
$ac_ext
24546 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_anon_version_script" >&5
24550 $as_echo "$libjava_cv_anon_version_script" >&6; }
24551 if test "$libjava_cv_anon_version_script" != no
; then
24552 ANONVERSCRIPT_TRUE
=
24553 ANONVERSCRIPT_FALSE
='#'
24555 ANONVERSCRIPT_TRUE
='#'
24556 ANONVERSCRIPT_FALSE
=
24559 if test "$libjava_cv_anon_version_script" = gnu
; then
24560 ANONVERSCRIPT_GNU_TRUE
=
24561 ANONVERSCRIPT_GNU_FALSE
='#'
24563 ANONVERSCRIPT_GNU_TRUE
='#'
24564 ANONVERSCRIPT_GNU_FALSE
=
24567 if test "$libjava_cv_anon_version_script" = sun
; then
24568 ANONVERSCRIPT_SUN_TRUE
=
24569 ANONVERSCRIPT_SUN_FALSE
='#'
24571 ANONVERSCRIPT_SUN_TRUE
='#'
24572 ANONVERSCRIPT_SUN_FALSE
=
24576 # Check if linker supports static linking on a per library basis
24577 LD_START_STATIC_SPEC
=
24578 LD_FINISH_STATIC_SPEC
=
24579 if $LD --help 2>&1 |
grep -- -call_shared >/dev
/null
2>&1; then
24580 if $LD --help 2>&1 |
grep -- -non_shared >/dev
/null
2>&1; then
24581 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
24582 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
24588 here
=`${PWDCMD-pwd}`
24591 # We get this from the environment.
24595 # Check whether --with-python-dir was given.
24596 if test "${with_python_dir+set}" = set; then :
24597 withval
=$with_python_dir; with_python_dir
=$withval
24603 if test "x${with_python_dir}" = "x"
24605 # Needed for installing Python modules during make install.
24606 python_mod_dir
="\${prefix}/share/python"
24607 # Needed for substituting into aot-compile*
24608 python_mod_dir_expanded
="${expanded_prefix}/share/python"
24610 python_mod_dir
="\${prefix}${with_python_dir}"
24611 python_mod_dir_expanded
="${expanded_prefix}${with_python_dir}"
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Python modules dir: ${python_mod_dir_expanded}" >&5
24614 $as_echo "Python modules dir: ${python_mod_dir_expanded}" >&6; };
24618 # needed for aot-compile-rpm
24622 # Check whether --enable-aot-compile-rpm was given.
24623 if test "${enable_aot_compile_rpm+set}" = set; then :
24624 enableval
=$enable_aot_compile_rpm; case "${enableval}" in
24625 yes) AOT_RPM_ENABLED
=yes ;;
24626 no
) AOT_RPM_ENABLED
=no
;;
24627 *) as_fn_error
"Unknown argument to enable/disable aot-compile-rpm" "$LINENO" 5 ;;
24634 if test "x${AOT_RPM_ENABLED}" = xyes
; then
24635 INSTALL_AOT_RPM_TRUE
=
24636 INSTALL_AOT_RPM_FALSE
='#'
24638 INSTALL_AOT_RPM_TRUE
='#'
24639 INSTALL_AOT_RPM_FALSE
=
24643 # Check whether --enable-java-home was given.
24644 if test "${enable_java_home+set}" = set; then :
24645 enableval
=$enable_java_home; case "${enableval}" in
24646 yes) JAVA_HOME_ENABLED
=yes ;;
24647 no
) JAVA_HOME_ENABLED
=no
;;
24648 *) as_fn_error
"Unknown argument to enable/disable java-home" "$LINENO" 5 ;;
24651 JAVA_HOME_ENABLED
=no
24655 if test "x${JAVA_HOME_ENABLED}" = xyes
; then
24656 CREATE_JAVA_HOME_TRUE
=
24657 CREATE_JAVA_HOME_FALSE
='#'
24659 CREATE_JAVA_HOME_TRUE
='#'
24660 CREATE_JAVA_HOME_FALSE
=
24664 # Only do these checks if java-home above is enabled.
24665 if test "x${JAVA_HOME_ENABLED}" = xyes
24669 # Check whether --with-gcc-suffix was given.
24670 if test "${with_gcc_suffix+set}" = set; then :
24671 withval
=$with_gcc_suffix; gcc_suffix
=$withval
24676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCC suffix: ${gcc_suffix}" >&5
24677 $as_echo "GCC suffix: ${gcc_suffix}" >&6; }
24681 # Check whether --with-arch-directory was given.
24682 if test "${with_arch_directory+set}" = set; then :
24683 withval
=$with_arch_directory; host_cpu
=$withval
24690 # Check whether --with-os-directory was given.
24691 if test "${with_os_directory+set}" = set; then :
24692 withval
=$with_os_directory; host_os
=$withval
24699 # Check whether --with-origin-name was given.
24700 if test "${with_origin_name+set}" = set; then :
24701 withval
=$with_origin_name; origin_name
=$withval
24703 origin_name
=gcj
${gcc_suffix}
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JPackage origin name: ${origin_name}" >&5
24707 $as_echo "JPackage origin name: ${origin_name}" >&6; }
24710 # Check whether --with-arch-suffix was given.
24711 if test "${with_arch_suffix+set}" = set; then :
24712 withval
=$with_arch_suffix; arch_suffix
=$withval
24717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch suffix: ${arch_suffix}" >&5
24718 $as_echo "arch suffix: ${arch_suffix}" >&6; }
24721 # Check whether --with-jvm-root-dir was given.
24722 if test "${with_jvm_root_dir+set}" = set; then :
24723 withval
=$with_jvm_root_dir; jvm_root_dir
=$withval
24725 jvm_root_dir
="\${prefix}/lib/jvm"
24728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM root installation directory: ${jvm_root_dir}" >&5
24729 $as_echo "JVM root installation directory: ${jvm_root_dir}" >&6; }
24732 # Check whether --with-jvm-jar-dir was given.
24733 if test "${with_jvm_jar_dir+set}" = set; then :
24734 withval
=$with_jvm_jar_dir; jvm_jar_dir
=$withval
24736 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JAR root installation directory: ${jvm_jar_dir}" >&5
24740 $as_echo "JAR root installation directory: ${jvm_jar_dir}" >&6; }
24746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Java version: ${JAVA_VERSION}" >&5
24747 $as_echo "Java version: ${JAVA_VERSION}" >&6; }
24750 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
24751 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
24753 JVM_ROOT_DIR
=${jvm_root_dir}
24755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
24756 $as_echo "JVM ROOT directory: ${JVM_ROOT_DIR}" >&6; }
24758 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
24761 $as_echo "JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6; }
24763 JVM_JAR_DIR
=${jvm_jar_dir}
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
24766 $as_echo "JVM JAR directory: ${JVM_JAR_DIR}" >&6; }
24777 SDK_BIN_DIR
=${jvm_root_dir}/bin
24779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
24780 $as_echo "SDK tools directory: ${SDK_BIN_DIR}" >&6; }
24782 SDK_LIB_DIR
=${jvm_root_dir}/lib
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
24785 $as_echo "SDK jar directory: ${SDK_LIB_DIR}" >&6; }
24787 SDK_INCLUDE_DIR
=${jvm_root_dir}/include
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
24790 $as_echo "SDK include directory: ${SDK_INCLUDE_DIR}" >&6; }
24792 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
24795 $as_echo "JRE tools directory: ${JRE_BIN_DIR}" >&6; }
24797 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
24800 $as_echo "JRE lib directory: ${JRE_LIB_DIR}" >&6; }
24802 # Find gcj prefix using gcj found in PATH.
24803 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
24805 # Where do the gcj binaries live?
24806 # For jhbuild based builds, they all live in a sibling of bin called
24807 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
24808 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
24810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
24811 $as_echo "GCJ tools directory: ${GCJ_BIN_DIR}" >&6; }
24813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host is ${host}" >&5
24814 $as_echo "host is ${host}" >&6; }
24815 if test "x${host_cpu}" = "x"
24818 *-mingw* |
*-cygwin*)
24820 i486-
* | i586-
* | i686-
*)
24825 host_cpu
=${host_cpu};;
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch directory: ${host_cpu}" >&5
24829 $as_echo "arch directory: ${host_cpu}" >&6; }
24833 if test "x${host_os}" = "x"
24836 *-mingw* |
*-cygwin*)
24841 host_os
=${host_os};;
24844 echo os directory
: ${host_os}
24848 # make an expanded $libdir, for substituting into
24849 # scripts (and other non-Makefile things).
24851 if test "x${exec_prefix}" = "xNONE"
24853 lib_exec_prefix
=$expanded_prefix
24855 lib_exec_prefix
=$exec_prefix
24857 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
24861 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"
24864 if test ${multilib} = yes; then
24865 multilib_arg
="--enable-multilib"
24870 ac_config_files
="$ac_config_files scripts/jar"
24872 cat >confcache
<<\_ACEOF
24873 # This file is a shell script that caches the results of configure
24874 # tests run on this system so they can be shared between configure
24875 # scripts and configure runs, see configure's option --config-cache.
24876 # It is not useful on other systems. If it contains results you don't
24877 # want to keep, you may remove or edit it.
24879 # config.status only pays attention to the cache file if you give it
24880 # the --recheck option to rerun configure.
24882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24884 # following values.
24888 # The following way of writing the cache mishandles newlines in values,
24889 # but we know of no workaround that is simple, portable, and efficient.
24890 # So, we kill variables containing newlines.
24891 # Ultrix sh set writes to stderr and can't be redirected directly,
24892 # and sets the high bit in the cache file unless we assign to the vars.
24894 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24895 eval ac_val
=\$
$ac_var
24899 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24900 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24903 _ | IFS | as_nl
) ;; #(
24904 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24905 *) { eval $ac_var=; unset $ac_var;} ;;
24911 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24912 *${as_nl}ac_space
=\
*)
24913 # `set' does not quote correctly, so add quotes: double-quote
24914 # substitution turns \\\\ into \\, and sed turns \\ into \.
24917 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24920 # `set' quotes correctly as required by POSIX, so do not add quotes.
24921 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24930 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24932 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24934 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24935 if test -w "$cache_file"; then
24936 test "x$cache_file" != "x/dev/null" &&
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24938 $as_echo "$as_me: updating cache $cache_file" >&6;}
24939 cat confcache
>$cache_file
24941 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24942 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24947 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24948 # Let make expand exec_prefix.
24949 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24951 DEFS
=-DHAVE_CONFIG_H
24955 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24956 # 1. Remove the extension, and $U if already installed.
24957 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24958 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24959 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24960 # will be set to the directory where LIBOBJS objects are built.
24961 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24962 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24964 LIBOBJS
=$ac_libobjs
24966 LTLIBOBJS
=$ac_ltlibobjs
24969 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
24970 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
24971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24973 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
24974 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
24975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24977 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24978 as_fn_error
"conditional \"AMDEP\" was never defined.
24979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24981 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24982 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24985 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24986 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
24987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24989 if test -n "$EXEEXT"; then
24991 am__EXEEXT_FALSE
='#'
24993 am__EXEEXT_TRUE
='#'
24997 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24998 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
24999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25001 if test -z "${BUILD_SUBLIBS_TRUE}" && test -z "${BUILD_SUBLIBS_FALSE}"; then
25002 as_fn_error
"conditional \"BUILD_SUBLIBS\" was never defined.
25003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25005 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
25006 as_fn_error
"conditional \"XLIB_AWT\" was never defined.
25007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25009 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
25010 as_fn_error
"conditional \"X_AWT\" was never defined.
25011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25013 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25014 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25017 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25018 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25021 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
25022 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
25023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25025 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
25026 as_fn_error
"conditional \"BUILD_ECJ1\" was never defined.
25027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25029 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
25030 as_fn_error
"conditional \"INSTALL_ECJ_JAR\" was never defined.
25031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25033 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
25034 as_fn_error
"conditional \"JAVA_HOME_SET\" was never defined.
25035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25037 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
25038 as_fn_error
"conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
25039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25041 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
25042 as_fn_error
"conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
25043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25045 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
25046 as_fn_error
"conditional \"INTERPRETER\" was never defined.
25047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25049 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
25050 as_fn_error
"conditional \"USING_WIN32_PLATFORM\" was never defined.
25051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25053 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
25054 as_fn_error
"conditional \"USING_POSIX_PLATFORM\" was never defined.
25055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25057 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
25058 as_fn_error
"conditional \"USING_DARWIN_CRT\" was never defined.
25059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25061 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
25062 as_fn_error
"conditional \"USING_BOEHMGC\" was never defined.
25063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25065 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
25066 as_fn_error
"conditional \"USING_NOGC\" was never defined.
25067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25069 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
25070 as_fn_error
"conditional \"USING_POSIX_THREADS\" was never defined.
25071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25073 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
25074 as_fn_error
"conditional \"USING_WIN32_THREADS\" was never defined.
25075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25077 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
25078 as_fn_error
"conditional \"USING_NO_THREADS\" was never defined.
25079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25081 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
25082 as_fn_error
"conditional \"USE_LIBGCJ_BC\" was never defined.
25083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25085 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
25086 as_fn_error
"conditional \"USING_GCC\" was never defined.
25087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25089 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25090 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25094 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
25095 as_fn_error
"conditional \"NATIVE\" was never defined.
25096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25098 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
25099 as_fn_error
"conditional \"ENABLE_SHARED\" was never defined.
25100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25102 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
25103 as_fn_error
"conditional \"NEEDS_DATA_START\" was never defined.
25104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25106 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25107 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
25108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25110 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
25111 as_fn_error
"conditional \"ANONVERSCRIPT\" was never defined.
25112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25114 if test -z "${ANONVERSCRIPT_GNU_TRUE}" && test -z "${ANONVERSCRIPT_GNU_FALSE}"; then
25115 as_fn_error
"conditional \"ANONVERSCRIPT_GNU\" was never defined.
25116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25118 if test -z "${ANONVERSCRIPT_SUN_TRUE}" && test -z "${ANONVERSCRIPT_SUN_FALSE}"; then
25119 as_fn_error
"conditional \"ANONVERSCRIPT_SUN\" was never defined.
25120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25122 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
25123 as_fn_error
"conditional \"INSTALL_AOT_RPM\" was never defined.
25124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25126 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
25127 as_fn_error
"conditional \"CREATE_JAVA_HOME\" was never defined.
25128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25131 : ${CONFIG_STATUS=./config.status}
25133 ac_clean_files_save
=$ac_clean_files
25134 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25136 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25138 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25140 # Generated by $as_me.
25141 # Run this file to recreate the current configuration.
25142 # Compiler output produced by configure, useful for debugging
25143 # configure, is in config.log if it exists.
25146 ac_cs_recheck=false
25149 SHELL=\${CONFIG_SHELL-$SHELL}
25152 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25153 ## -------------------- ##
25154 ## M4sh Initialization. ##
25155 ## -------------------- ##
25157 # Be more Bourne compatible
25158 DUALCASE
=1; export DUALCASE
# for MKS sh
25159 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25162 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25163 # is contrary to our usage. Disable this feature.
25164 alias -g '${1+"$@"}'='"$@"'
25165 setopt NO_GLOB_SUBST
25167 case `(set -o) 2>/dev/null` in #(
25179 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25180 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25181 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25182 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25183 # Prefer a ksh shell builtin over an external printf program on Solaris,
25184 # but without wasting forks for bash or zsh.
25185 if test -z "$BASH_VERSION$ZSH_VERSION" \
25186 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25187 as_echo='print
-r --'
25188 as_echo_n='print
-rn --'
25189 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25190 as_echo='printf %s
\n'
25191 as_echo_n='printf %s
'
25193 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25194 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25195 as_echo_n='/usr
/ucb
/echo -n'
25197 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25198 as_echo_n_body='eval
25202 expr "X$arg" : "X\\(.*\\)$as_nl";
25203 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25205 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25207 export as_echo_n_body
25208 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25210 export as_echo_body
25211 as_echo='sh
-c $as_echo_body as_echo
'
25214 # The user is always right.
25215 if test "${PATH_SEPARATOR+set}" != set; then
25217 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25218 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25225 # We need space, tab and new line, in precisely that order. Quoting is
25226 # there to prevent editors from complaining about space-tab.
25227 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25228 # splitting by setting IFS to empty value.)
25231 # Find who we are. Look in the path if we contain no directory separator.
25233 *[\\/]* ) as_myself=$0 ;;
25234 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25235 for as_dir in $PATH
25238 test -z "$as_dir" && as_dir=.
25239 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25245 # We did not find ourselves, most probably we were run as `sh COMMAND'
25246 # in which case we are not to be found in the path.
25247 if test "x$as_myself" = x
; then
25250 if test ! -f "$as_myself"; then
25251 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25255 # Unset variables that we do not need and which cause bugs (e.g. in
25256 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25257 # suppresses any "Segmentation fault" message there. '((' could
25258 # trigger a bug in pdksh 5.2.14.
25259 for as_var
in BASH_ENV ENV MAIL MAILPATH
25260 do eval test x\
${$as_var+set} = xset \
25261 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25274 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25277 # as_fn_error ERROR [LINENO LOG_FD]
25278 # ---------------------------------
25279 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25280 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25281 # script with status $?, using 1 if that was 0.
25284 as_status
=$?
; test $as_status -eq 0 && as_status
=1
25286 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25287 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25289 $as_echo "$as_me: error: $1" >&2
25290 as_fn_exit
$as_status
25294 # as_fn_set_status STATUS
25295 # -----------------------
25296 # Set $? to STATUS, without forking.
25297 as_fn_set_status
()
25300 } # as_fn_set_status
25302 # as_fn_exit STATUS
25303 # -----------------
25304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25308 as_fn_set_status
$1
25314 # Portably unset VAR.
25317 { eval $1=; unset $1;}
25319 as_unset
=as_fn_unset
25320 # as_fn_append VAR VALUE
25321 # ----------------------
25322 # Append the text in VALUE to the end of the definition contained in VAR. Take
25323 # advantage of any shell optimizations that allow amortized linear growth over
25324 # repeated appends, instead of the typical quadratic growth present in naive
25326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25327 eval 'as_fn_append ()
25338 # as_fn_arith ARG...
25339 # ------------------
25340 # Perform arithmetic evaluation on the ARGs, and store the result in the
25341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25342 # must be portable across $(()) and expr.
25343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25344 eval 'as_fn_arith ()
25351 as_val
=`expr "$@" || test $? -eq 1`
25356 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25357 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25363 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25364 as_basename
=basename
25369 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25375 as_me
=`$as_basename -- "$0" ||
25376 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25377 X"$0" : 'X\(//\)$' \| \
25378 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25380 sed '/^.*\/\([^/][^/]*\)\/*$/{
25394 # Avoid depending upon Character Ranges.
25395 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25396 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25397 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25398 as_cr_digits
='0123456789'
25399 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25401 ECHO_C
= ECHO_N
= ECHO_T
=
25402 case `echo -n x` in #(((((
25404 case `echo 'xy\c'` in
25405 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25407 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25414 rm -f conf$$ conf$$.exe conf$$.
file
25415 if test -d conf$$.dir
; then
25416 rm -f conf$$.dir
/conf$$.
file
25419 mkdir conf$$.dir
2>/dev
/null
25421 if (echo >conf$$.
file) 2>/dev
/null
; then
25422 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25424 # ... but there are two gotchas:
25425 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25426 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25427 # In both cases, we have to default to `cp -p'.
25428 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25430 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25438 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25439 rmdir conf$$.dir
2>/dev
/null
25444 # Create "$as_dir" as a directory, including parents if necessary.
25449 -*) as_dir
=.
/$as_dir;;
25451 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25455 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25456 *) as_qdir
=$as_dir;;
25458 as_dirs
="'$as_qdir' $as_dirs"
25459 as_dir
=`$as_dirname -- "$as_dir" ||
25460 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25461 X"$as_dir" : 'X\(//\)[^/]' \| \
25462 X"$as_dir" : 'X\(//\)$' \| \
25463 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25464 $as_echo X"$as_dir" |
25465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25469 /^X\(\/\/\)[^/].*/{
25482 test -d "$as_dir" && break
25484 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25485 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25489 if mkdir
-p .
2>/dev
/null
; then
25490 as_mkdir_p
='mkdir -p "$as_dir"'
25492 test -d .
/-p && rmdir .
/-p
25496 if test -x / >/dev
/null
2>&1; then
25497 as_test_x
='test -x'
25499 if ls -dL / >/dev
/null
2>&1; then
25506 if test -d "$1"; then
25512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25513 ???[sx]*):;;*)false;;esac;fi
25517 as_executable_p
=$as_test_x
25519 # Sed expression to map a string onto a valid CPP name.
25520 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25522 # Sed expression to map a string onto a valid variable name.
25523 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25527 ## ----------------------------------- ##
25528 ## Main body of $CONFIG_STATUS script. ##
25529 ## ----------------------------------- ##
25531 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25534 # Save the log message, to keep $0 and so on meaningful, and to
25535 # report actual input values of CONFIG_FILES etc. instead of their
25536 # values after options handling.
25538 This file was extended by libjava $as_me version-unused, which was
25539 generated by GNU Autoconf 2.64. Invocation command line was
25541 CONFIG_FILES = $CONFIG_FILES
25542 CONFIG_HEADERS = $CONFIG_HEADERS
25543 CONFIG_LINKS = $CONFIG_LINKS
25544 CONFIG_COMMANDS = $CONFIG_COMMANDS
25547 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25552 case $ac_config_files in *"
25553 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25556 case $ac_config_headers in *"
25557 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25562 # Files that config.status was made for.
25563 config_files="$ac_config_files"
25564 config_headers="$ac_config_headers"
25565 config_links="$ac_config_links"
25566 config_commands="$ac_config_commands"
25570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25572 \`$as_me' instantiates files and other configuration actions
25573 from templates according to the current configuration. Unless the files
25574 and actions are specified as TAGs, all are instantiated by default.
25576 Usage: $0 [OPTION]... [TAG]...
25578 -h, --help print this help, then exit
25579 -V, --version print version number and configuration settings, then exit
25580 -q, --quiet, --silent
25581 do not print progress messages
25582 -d, --debug don't remove temporary files
25583 --recheck update $as_me by reconfiguring in the same conditions
25584 --file=FILE[:TEMPLATE]
25585 instantiate the configuration file FILE
25586 --header=FILE[:TEMPLATE]
25587 instantiate the configuration header FILE
25589 Configuration files:
25592 Configuration headers:
25595 Configuration links:
25598 Configuration commands:
25601 Report bugs to the package provider."
25604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25606 libjava config.status version-unused
25607 configured by $0, generated by GNU Autoconf 2.64,
25608 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25610 Copyright (C) 2009 Free Software Foundation, Inc.
25611 This config.status script is free software; the Free Software Foundation
25612 gives unlimited permission to copy, distribute and modify it."
25619 test -n "\$AWK" || AWK=awk
25622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25623 # The default lists apply if the user does not specify any file.
25629 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25630 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25641 # Handling of the options.
25642 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25644 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25645 $as_echo "$ac_cs_version"; exit ;;
25646 --debug |
--debu |
--deb |
--de |
--d |
-d )
25648 --file |
--fil |
--fi |
--f )
25651 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25653 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25654 ac_need_defaults
=false
;;
25655 --header |
--heade |
--head |
--hea )
25658 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25660 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25661 ac_need_defaults
=false
;;
25663 # Conflict between --help and --header
25664 as_fn_error
"ambiguous option: \`$1'
25665 Try \`$0 --help' for more information.";;
25666 --help |
--hel |
-h )
25667 $as_echo "$ac_cs_usage"; exit ;;
25668 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25669 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25672 # This is an error.
25673 -*) as_fn_error
"unrecognized option: \`$1'
25674 Try \`$0 --help' for more information." ;;
25676 *) as_fn_append ac_config_targets
" $1"
25677 ac_need_defaults
=false
;;
25683 ac_configure_extra_args
=
25685 if $ac_cs_silent; then
25687 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25692 if \$ac_cs_recheck; then
25693 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25695 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25696 CONFIG_SHELL='$SHELL'
25697 export CONFIG_SHELL
25702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25706 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25707 ## Running $as_me. ##
25713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25721 with_multisubdir="$with_multisubdir"
25722 with_multisrctop="$with_multisrctop"
25723 with_target_subdir="$with_target_subdir"
25724 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25725 multi_basedir="$multi_basedir"
25726 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25729 GFORTRAN="$GFORTRAN"
25731 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25734 # The HP-UX ksh and POSIX shell print the target directory to stdout
25735 # if CDPATH is set.
25736 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25738 sed_quote_subst='$sed_quote_subst'
25739 double_quote_subst='$double_quote_subst'
25740 delay_variable_subst='$delay_variable_subst'
25741 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25742 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25743 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25744 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25745 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25746 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25747 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25748 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25749 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25750 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25751 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25752 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25753 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25754 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25755 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25756 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25757 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25758 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25759 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25760 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25761 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25762 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25763 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25764 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25765 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25766 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25767 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25768 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25769 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25770 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25771 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25772 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25773 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25774 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25775 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25776 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25777 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25778 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25779 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25780 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25781 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25782 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25783 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25784 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25785 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25786 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25787 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25788 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25789 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"`'
25790 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25791 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25792 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25793 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25794 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25795 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25796 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25797 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25798 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25799 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25800 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25801 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25802 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25803 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25804 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25805 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25806 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25807 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25808 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25809 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25810 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25811 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25812 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25813 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25814 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25815 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25816 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25817 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25818 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25819 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25820 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25821 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25822 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25823 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25824 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25825 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25826 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25827 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25828 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25829 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25830 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25831 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25832 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25833 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25834 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25835 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25836 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25837 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25838 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25839 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25840 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25841 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25842 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25843 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25844 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25845 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25846 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25847 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25848 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25849 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25850 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25851 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25852 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25853 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25854 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25855 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25856 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25857 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25858 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25859 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25860 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25861 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25862 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25863 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25864 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25865 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25866 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25867 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25868 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
25869 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25870 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25871 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25872 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25873 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25874 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25875 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25876 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
25877 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25878 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
25879 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25880 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25881 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25882 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
25883 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25884 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
25885 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25886 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
25887 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25888 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
25889 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25890 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
25891 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25892 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
25893 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25894 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25895 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25896 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25897 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25898 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
25899 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25900 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25901 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25902 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25903 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25904 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25905 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25906 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25907 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25908 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25909 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25910 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25911 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25912 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25913 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25914 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25915 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25916 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25917 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25918 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25919 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25920 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "$hardcode_libdir_flag_spec_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25921 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25922 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
25923 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25924 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
25925 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25926 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
25927 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25928 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
25929 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25930 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
25931 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25932 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
25933 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25934 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
25935 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25936 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
25937 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
25938 fix_srcfile_path_GCJ='`$ECHO "$fix_srcfile_path_GCJ" | $SED "$delay_single_quote_subst"`'
25939 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25940 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
25941 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25942 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25943 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25944 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
25945 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25946 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
25947 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25948 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25949 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25950 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25951 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25952 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
25953 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25954 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
25955 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25956 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
25957 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25958 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
25959 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25960 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
25961 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25962 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
25963 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25964 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
25967 LTCFLAGS='$LTCFLAGS'
25968 compiler='$compiler_DEFAULT'
25970 # A function that is used when there is no print builtin or printf.
25971 func_fallback_echo ()
25973 eval 'cat <<_LTECHO_EOF
25978 # Quote evaled strings.
25992 deplibs_check_method \
26001 lt_cv_sys_global_symbol_pipe \
26002 lt_cv_sys_global_symbol_to_cdecl \
26003 lt_cv_sys_global_symbol_to_c_name_address \
26004 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26005 lt_prog_compiler_no_builtin_flag \
26006 lt_prog_compiler_wl \
26007 lt_prog_compiler_pic \
26008 lt_prog_compiler_static \
26009 lt_cv_prog_compiler_c_o \
26017 export_dynamic_flag_spec \
26018 whole_archive_flag_spec \
26019 compiler_needs_object \
26021 allow_undefined_flag \
26022 no_undefined_flag \
26023 hardcode_libdir_flag_spec \
26024 hardcode_libdir_flag_spec_ld \
26025 hardcode_libdir_separator \
26030 variables_saved_for_relink \
26032 library_names_spec \
26034 install_override_mode \
26038 compiler_lib_search_dirs \
26043 compiler_lib_search_path \
26050 lt_prog_compiler_no_builtin_flag_CXX \
26051 lt_prog_compiler_no_builtin_flag_GCJ \
26052 lt_prog_compiler_wl_CXX \
26053 lt_prog_compiler_wl_GCJ \
26054 lt_prog_compiler_pic_CXX \
26055 lt_prog_compiler_pic_GCJ \
26056 lt_prog_compiler_static_CXX \
26057 lt_prog_compiler_static_GCJ \
26058 lt_cv_prog_compiler_c_o_CXX \
26059 lt_cv_prog_compiler_c_o_GCJ \
26060 export_dynamic_flag_spec_CXX \
26061 export_dynamic_flag_spec_GCJ \
26062 whole_archive_flag_spec_CXX \
26063 whole_archive_flag_spec_GCJ \
26064 compiler_needs_object_CXX \
26065 compiler_needs_object_GCJ \
26068 allow_undefined_flag_CXX \
26069 allow_undefined_flag_GCJ \
26070 no_undefined_flag_CXX \
26071 no_undefined_flag_GCJ \
26072 hardcode_libdir_flag_spec_CXX \
26073 hardcode_libdir_flag_spec_GCJ \
26074 hardcode_libdir_flag_spec_ld_CXX \
26075 hardcode_libdir_flag_spec_ld_GCJ \
26076 hardcode_libdir_separator_CXX \
26077 hardcode_libdir_separator_GCJ \
26078 fix_srcfile_path_CXX \
26079 fix_srcfile_path_GCJ \
26080 exclude_expsyms_CXX \
26081 exclude_expsyms_GCJ \
26082 include_expsyms_CXX \
26083 include_expsyms_GCJ \
26084 file_list_spec_CXX \
26085 file_list_spec_GCJ \
26086 compiler_lib_search_dirs_CXX \
26087 compiler_lib_search_dirs_GCJ \
26088 predep_objects_CXX \
26089 predep_objects_GCJ \
26090 postdep_objects_CXX \
26091 postdep_objects_GCJ \
26096 compiler_lib_search_path_CXX \
26097 compiler_lib_search_path_GCJ; do
26098 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26099 *[\\\\\\\`\\"\\\$]*)
26100 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26103 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26108 # Double-quote double-evaled strings.
26109 for var in reload_cmds \
26110 old_postinstall_cmds \
26111 old_postuninstall_cmds \
26113 extract_expsyms_cmds \
26114 old_archive_from_new_cmds \
26115 old_archive_from_expsyms_cmds \
26117 archive_expsym_cmds \
26119 module_expsym_cmds \
26120 export_symbols_cmds \
26123 postuninstall_cmds \
26125 sys_lib_search_path_spec \
26126 sys_lib_dlsearch_path_spec \
26129 old_archive_cmds_CXX \
26130 old_archive_cmds_GCJ \
26131 old_archive_from_new_cmds_CXX \
26132 old_archive_from_new_cmds_GCJ \
26133 old_archive_from_expsyms_cmds_CXX \
26134 old_archive_from_expsyms_cmds_GCJ \
26137 archive_expsym_cmds_CXX \
26138 archive_expsym_cmds_GCJ \
26141 module_expsym_cmds_CXX \
26142 module_expsym_cmds_GCJ \
26143 export_symbols_cmds_CXX \
26144 export_symbols_cmds_GCJ \
26146 prelink_cmds_GCJ; do
26147 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26148 *[\\\\\\\`\\"\\\$]*)
26149 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26152 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26157 ac_aux_dir='$ac_aux_dir'
26158 xsi_shell='$xsi_shell'
26159 lt_shell_append='$lt_shell_append'
26161 # See if we are running on zsh, and set the options which allow our
26162 # commands through without removal of \ escapes INIT.
26163 if test -n "\${ZSH_VERSION+set}" ; then
26164 setopt NO_GLOB_SUBST
26170 TIMESTAMP='$TIMESTAMP'
26183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26185 # Handling of arguments.
26186 for ac_config_target
in $ac_config_targets
26188 case $ac_config_target in
26189 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26190 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26191 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
26192 "gcj/libgcj-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
26193 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26194 "include/platform.h") CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
26195 "java/io/natFile.cc") CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
26196 "java/lang/natConcreteProcess.cc") CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
26197 "java/net/natVMInetAddress.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
26198 "java/net/natVMNetworkInterface.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
26199 "gnu/java/net/natPlainSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
26200 "gnu/java/net/natPlainDatagramSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
26201 "gnu/java/nio/natVMPipe.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
26202 "gnu/java/nio/natVMSelector.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
26203 "gnu/java/nio/channels/natFileChannelImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
26204 "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" ;;
26205 "include/java-gc.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
26206 "include/java-threads.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
26207 "sysdep/locks.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
26208 "sysdep/backtrace.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
26209 "sysdep/descriptor.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
26210 "include/java-signal.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
26211 "include/java-signal-aux.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
26212 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26213 "libgcj.pc") CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
26214 "libgcj.spec") CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
26215 "libgcj-test.spec") CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
26216 "gcj/Makefile") CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
26217 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
26218 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
26219 "contrib/aotcompile.py") CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
26220 "contrib/aot-compile") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
26221 "contrib/aot-compile-rpm") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
26222 "contrib/generate-cacerts.pl") CONFIG_FILES
="$CONFIG_FILES contrib/generate-cacerts.pl" ;;
26223 "contrib/rebuild-gcj-db") CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
26224 "scripts/jar") CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
26226 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26231 # If the user did not use the arguments to specify the items to instantiate,
26232 # then the envvar interface is used. Set only those that are not.
26233 # We use the long form for the default assignment because of an extremely
26234 # bizarre bug on SunOS 4.1.3.
26235 if $ac_need_defaults; then
26236 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26237 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26238 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26239 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26242 # Have a temporary directory for convenience. Make it in the build tree
26243 # simply because there is no reason against having it here, and in addition,
26244 # creating and moving files from /tmp can sometimes cause problems.
26245 # Hook for its removal unless debugging.
26246 # Note that there is a small window in which the directory will not be cleaned:
26247 # after its creation but before its name has been assigned to `$tmp'.
26251 trap 'exit_status=$?
26252 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26254 trap 'as_fn_exit 1' 1 2 13 15
26256 # Create a (secure) tmp directory for tmp files.
26259 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26260 test -n "$tmp" && test -d "$tmp"
26263 tmp
=.
/conf$$
-$RANDOM
26264 (umask 077 && mkdir
"$tmp")
26265 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
26267 # Set up the scripts for CONFIG_FILES section.
26268 # No need to generate them if there are no CONFIG_FILES.
26269 # This happens for instance with `./config.status config.h'.
26270 if test -n "$CONFIG_FILES"; then
26273 ac_cr
=`echo X | tr X '\015'`
26274 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26275 # But we know of no other shell where ac_cr would be empty at this
26276 # point, so we can use a bashism as a fallback.
26277 if test "x$ac_cr" = x
; then
26278 eval ac_cr
=\$
\'\\r
\'
26280 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26281 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26284 ac_cs_awk_cr
=$ac_cr
26287 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26292 echo "cat >conf$$subs.awk <<_ACEOF" &&
26293 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26295 } >conf$$subs.sh ||
26296 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26297 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26299 for ac_last_try in false false false false false :; do
26300 . ./conf$$subs.sh ||
26301 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26303 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26304 if test $ac_delim_n = $ac_delim_num; then
26306 elif $ac_last_try; then
26307 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26309 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26312 rm -f conf$$subs.sh
26314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26315 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26319 s/^/S["/; s
/!.
*/"]=/
26329 s/\(.\{148\}\).*/\1/
26331 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26336 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26343 s/\(.\{148\}\).*/\1/
26345 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26349 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26354 ' <conf$$subs.awk | sed '
26359 ' >>$CONFIG_STATUS || ac_write_fail=1
26360 rm -f conf$$subs.awk
26361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26363 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26364 for (key in S) S_is_set[key] = 1
26370 nfields = split(line, field, "@
")
26372 len = length(field[1])
26373 for (i = 2; i < nfields; i++) {
26375 keylen = length(key)
26376 if (S_is_set[key]) {
26378 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26379 len += length(value) + length(field[++i])
26390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26391 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26392 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26395 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26396 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26399 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26400 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26401 # trailing colons and then remove the whole line if VPATH becomes empty
26402 # (actually we leave an empty line to preserve line numbers).
26403 if test "x
$srcdir" = x.; then
26404 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26405 s/:*\$(srcdir):*/:/
26406 s/:*\${srcdir}:*/:/
26408 s/^\([^=]*=[ ]*\):*/\1/
26414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26415 fi # test -n "$CONFIG_FILES"
26417 # Set up the scripts for CONFIG_HEADERS section.
26418 # No need to generate them if there are no CONFIG_HEADERS.
26419 # This happens for instance with `./config.status Makefile'.
26420 if test -n "$CONFIG_HEADERS"; then
26421 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26425 # Transform confdefs.h into an awk script `defines.awk', embedded as
26426 # here-document in config.status, that substitutes the proper values into
26427 # config.h.in to produce config.h.
26429 # Create a delimiter string that does not exist in confdefs.h, to ease
26430 # handling of long lines.
26432 for ac_last_try in false false :; do
26433 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26434 if test -z "$ac_t"; then
26436 elif $ac_last_try; then
26437 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26439 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26443 # For the awk script, D is an array of macro values keyed by name,
26444 # likewise P contains macro parameters if any. Preserve backslash
26445 # newline sequences.
26447 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26449 s/.\{148\}/&'"$ac_delim"'/g
26452 s/^[ ]*#[ ]*define[ ][ ]*/ /
26459 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26461 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26465 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26466 D["\
1"]=" \
3\\\\\\n
"\\/p
26468 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26473 s/.\{148\}/&'"$ac_delim"'/g
26478 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26481 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26483 ' <confdefs.h | sed '
26484 s/'"$ac_delim"'/"\\\
26485 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26488 for (key in D) D_is_set[key] = 1
26491 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26493 split(line, arg, " ")
26494 if (arg[1] == "#") {
26498 defundef
= substr
(arg
[1], 2)
26501 split(mac1
, mac2
, "(") #)
26503 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26504 if (D_is_set
[macro
]) {
26505 # Preserve the white space surrounding the "#".
26506 print prefix
"define", macro P
[macro
] D
[macro
]
26509 # Replace #undef with comments. This is necessary, for example,
26510 # in the case of _POSIX_SOURCE, which is predefined and required
26511 # on some systems where configure will not decide to define it.
26512 if (defundef
== "undef") {
26513 print
"/*", prefix defundef
, macro
, "*/"
26521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26522 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26523 fi # test -n "$CONFIG_HEADERS"
26526 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26531 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26533 case $ac_mode$ac_tag in
26535 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26536 :[FH
]-) ac_tag
=-:-;;
26537 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26554 -) ac_f
="$tmp/stdin";;
26555 *) # Look for the file first in the build tree, then in the source tree
26556 # (if the path is not absolute). The absolute path cannot be DOS-style,
26557 # because $ac_f cannot contain `:'.
26561 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26563 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26565 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26566 as_fn_append ac_file_inputs
" '$ac_f'"
26569 # Let's still pretend it is `configure' which instantiates (i.e., don't
26570 # use $as_me), people would be surprised to read:
26571 # /* config.h. Generated by config.status. */
26572 configure_input
='Generated from '`
26573 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26575 if test x
"$ac_file" != x-
; then
26576 configure_input
="$ac_file. $configure_input"
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26578 $as_echo "$as_me: creating $ac_file" >&6;}
26580 # Neutralize special characters interpreted by sed in replacement strings.
26581 case $configure_input in #(
26582 *\
&* |
*\|
* |
*\\* )
26583 ac_sed_conf_input
=`$as_echo "$configure_input" |
26584 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26585 *) ac_sed_conf_input
=$configure_input;;
26589 *:-:* |
*:-) cat >"$tmp/stdin" \
26590 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26595 ac_dir
=`$as_dirname -- "$ac_file" ||
26596 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26597 X"$ac_file" : 'X\(//\)[^/]' \| \
26598 X"$ac_file" : 'X\(//\)$' \| \
26599 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26600 $as_echo X"$ac_file" |
26601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26605 /^X\(\/\/\)[^/].*/{
26618 as_dir
="$ac_dir"; as_fn_mkdir_p
26622 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26624 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26625 # A ".." for each directory in $ac_dir_suffix.
26626 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26627 case $ac_top_builddir_sub in
26628 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26629 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26632 ac_abs_top_builddir
=$ac_pwd
26633 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26634 # for backward compatibility:
26635 ac_top_builddir
=$ac_top_build_prefix
26638 .
) # We are building in place.
26640 ac_top_srcdir
=$ac_top_builddir_sub
26641 ac_abs_top_srcdir
=$ac_pwd ;;
26642 [\\/]* | ?
:[\\/]* ) # Absolute name.
26643 ac_srcdir
=$srcdir$ac_dir_suffix;
26644 ac_top_srcdir
=$srcdir
26645 ac_abs_top_srcdir
=$srcdir ;;
26646 *) # Relative name.
26647 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26648 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26649 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26651 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26661 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26662 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26664 ac_MKDIR_P
=$MKDIR_P
26666 [\\/$
]* | ?
:[\\/]* ) ;;
26667 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26672 # If the template does not know about datarootdir, expand it.
26673 # FIXME: This hack should be removed a few years after 2.60.
26674 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26685 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26686 *datarootdir
*) ac_datarootdir_seen
=yes;;
26687 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26689 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26692 ac_datarootdir_hack='
26693 s&@datadir@&$datadir&g
26694 s&@docdir@&$docdir&g
26695 s&@infodir@&$infodir&g
26696 s&@localedir@&$localedir&g
26697 s&@mandir@&$mandir&g
26698 s&\\\${datarootdir}&$datarootdir&g' ;;
26702 # Neutralize VPATH when `$srcdir' = `.'.
26703 # Shell code in configure.ac might set extrasub.
26704 # FIXME: do we really want to maintain this feature?
26705 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26706 ac_sed_extra="$ac_vpsub
26709 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26711 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26712 s|@configure_input@|
$ac_sed_conf_input|
;t t
26713 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26714 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26715 s
&@srcdir@
&$ac_srcdir&;t t
26716 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26717 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26718 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26719 s
&@builddir@
&$ac_builddir&;t t
26720 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26721 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26722 s
&@INSTALL@
&$ac_INSTALL&;t t
26723 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26724 $ac_datarootdir_hack
26726 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26727 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26729 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26730 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26731 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26733 which seems to be undefined. Please make sure it is defined." >&5
26734 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26735 which seems to be undefined. Please make sure it is defined." >&2;}
26739 -) cat "$tmp/out" && rm -f "$tmp/out";;
26740 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26742 || as_fn_error "could not create $ac_file" "$LINENO" 5
26748 if test x"$ac_file" != x-; then
26750 $as_echo "/* $configure_input */" \
26751 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26752 } >"$tmp/config.h" \
26753 || as_fn_error "could not create $ac_file" "$LINENO" 5
26754 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26755 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26756 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26759 mv "$tmp/config.h" "$ac_file" \
26760 || as_fn_error "could not create $ac_file" "$LINENO" 5
26763 $as_echo "/* $configure_input */" \
26764 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26765 || as_fn_error "could not create -" "$LINENO" 5
26767 # Compute "$ac_file"'s index
in $config_headers.
26770 for _am_header
in $config_headers :; do
26771 case $_am_header in
26772 $_am_arg |
$_am_arg:* )
26775 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26778 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26779 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26780 X"$_am_arg" : 'X\(//\)[^/]' \| \
26781 X"$_am_arg" : 'X\(//\)$' \| \
26782 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26783 $as_echo X"$_am_arg" |
26784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26788 /^X\(\/\/\)[^/].*/{
26800 s/.*/./; q'`/stamp-h
$_am_stamp_count
26807 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26810 # Prefer the file from the source tree if names are identical.
26811 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26812 ac_source
=$srcdir/$ac_source
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26816 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26818 if test ! -r "$ac_source"; then
26819 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26823 # Try a relative symlink, then a hard link, then a copy.
26825 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26826 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26828 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26829 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26830 cp -p "$ac_source" "$ac_file" ||
26831 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26834 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26835 $as_echo "$as_me: executing $ac_file commands" >&6;}
26840 case $ac_file$ac_mode in
26842 # Only add multilib support code if we just rebuilt the top-level
26844 case " $CONFIG_FILES " in
26846 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26849 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26850 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26851 # are listed without --file. Let's play safe and only enable the eval
26852 # if we detect the quoting.
26853 case $CONFIG_FILES in
26854 *\'*) eval set x
"$CONFIG_FILES" ;;
26855 *) set x
$CONFIG_FILES ;;
26860 # Strip MF so we end up with the name of the file.
26861 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26862 # Check whether this is an Automake generated Makefile or not.
26863 # We used to match only the files named `Makefile.in', but
26864 # some people rename them; so instead we look at the file content.
26865 # Grep'ing the first line is not enough: some people post-process
26866 # each Makefile.in and add a new line on top of each file to say so.
26867 # Grep'ing the whole file is not good either: AIX grep has a line
26868 # limit of 2048, but all sed's we know have understand at least 4000.
26869 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26870 dirpart
=`$as_dirname -- "$mf" ||
26871 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26872 X"$mf" : 'X\(//\)[^/]' \| \
26873 X"$mf" : 'X\(//\)$' \| \
26874 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26880 /^X\(\/\/\)[^/].*/{
26896 # Extract the definition of DEPDIR, am__include, and am__quote
26897 # from the Makefile without running `make'.
26898 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26899 test -z "$DEPDIR" && continue
26900 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26901 test -z "am__include" && continue
26902 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26903 # When using ansi2knr, U may be empty or an underscore; expand it
26904 U
=`sed -n 's/^U = //p' < "$mf"`
26905 # Find all dependency output files, they are included files with
26906 # $(DEPDIR) in their names. We invoke sed twice because it is the
26907 # simplest approach to changing $(DEPDIR) to its actual value in the
26909 for file in `sed -n "
26910 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26911 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26912 # Make sure the directory exists.
26913 test -f "$dirpart/$file" && continue
26914 fdir
=`$as_dirname -- "$file" ||
26915 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26916 X"$file" : 'X\(//\)[^/]' \| \
26917 X"$file" : 'X\(//\)$' \| \
26918 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26919 $as_echo X"$file" |
26920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26924 /^X\(\/\/\)[^/].*/{
26937 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26938 # echo "creating $dirpart/$file"
26939 echo '# dummy' > "$dirpart/$file"
26946 # See if we are running on zsh, and set the options which allow our
26947 # commands through without removal of \ escapes.
26948 if test -n "${ZSH_VERSION+set}" ; then
26949 setopt NO_GLOB_SUBST
26952 cfgfile
="${ofile}T"
26953 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26956 cat <<_LT_EOF >> "$cfgfile"
26959 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26960 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26961 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26962 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26964 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26965 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26966 # Written by Gordon Matzigkeit, 1996
26968 # This file is part of GNU Libtool.
26970 # GNU Libtool is free software; you can redistribute it and/or
26971 # modify it under the terms of the GNU General Public License as
26972 # published by the Free Software Foundation; either version 2 of
26973 # the License, or (at your option) any later version.
26975 # As a special exception to the GNU General Public License,
26976 # if you distribute this file as part of a program or library that
26977 # is built using GNU Libtool, you may include this file under the
26978 # same distribution terms that you use for the rest of that program.
26980 # GNU Libtool is distributed in the hope that it will be useful,
26981 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26982 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26983 # GNU General Public License for more details.
26985 # You should have received a copy of the GNU General Public License
26986 # along with GNU Libtool; see the file COPYING. If not, a copy
26987 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26988 # obtained by writing to the Free Software Foundation, Inc.,
26989 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26992 # The names of the tagged configurations supported by this script.
26993 available_tags="CXX GCJ "
26995 # ### BEGIN LIBTOOL CONFIG
26997 # Which release of libtool.m4 was used?
26998 macro_version=$macro_version
26999 macro_revision=$macro_revision
27001 # Whether or not to build shared libraries.
27002 build_libtool_libs=$enable_shared
27004 # Whether or not to build static libraries.
27005 build_old_libs=$enable_static
27007 # What type of objects to build.
27010 # Whether or not to optimize for fast installation.
27011 fast_install=$enable_fast_install
27013 # Shell to use when invoking shell scripts.
27016 # An echo program that protects backslashes.
27020 host_alias=$host_alias
27024 # The build system.
27025 build_alias=$build_alias
27029 # A sed program that does not truncate output.
27032 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27033 Xsed="\$SED -e 1s/^X//"
27035 # A grep program that handles long lines.
27041 # A literal string matcher.
27044 # A BSD- or MS-compatible name lister.
27047 # Whether we need soft or hard links.
27050 # What is the maximum length of a command?
27051 max_cmd_len=$max_cmd_len
27053 # Object file suffix (normally "o").
27056 # Executable file suffix (normally "").
27059 # whether the shell understands "unset".
27062 # turn spaces into newlines.
27065 # turn newlines into spaces.
27068 # An object symbol dumper.
27069 OBJDUMP=$lt_OBJDUMP
27071 # Method to check whether dependent libraries are shared objects.
27072 deplibs_check_method=$lt_deplibs_check_method
27074 # Command to use when deplibs_check_method == "file_magic".
27075 file_magic_cmd=$lt_file_magic_cmd
27079 AR_FLAGS=$lt_AR_FLAGS
27081 # A symbol stripping program.
27084 # Commands used to install an old-style archive.
27086 old_postinstall_cmds=$lt_old_postinstall_cmds
27087 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27089 # Whether to use a lock for old archive extraction.
27090 lock_old_archive_extraction=$lock_old_archive_extraction
27095 # LTCC compiler flags.
27096 LTCFLAGS=$lt_CFLAGS
27098 # Take the output of nm and produce a listing of raw symbols and C names.
27099 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27101 # Transform the output of nm in a proper C declaration.
27102 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27104 # Transform the output of nm in a C name address pair.
27105 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27107 # Transform the output of nm in a C name address pair when lib prefix is needed.
27108 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27110 # The name of the directory that contains temporary libtool files.
27113 # Used to examine libraries when file_magic_cmd begins with "file".
27114 MAGIC_CMD=$MAGIC_CMD
27116 # Must we lock files when doing compilation?
27117 need_locks=$lt_need_locks
27119 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27120 DSYMUTIL=$lt_DSYMUTIL
27122 # Tool to change global to local symbols on Mac OS X.
27125 # Tool to manipulate fat objects and archives on Mac OS X.
27128 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27131 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27132 OTOOL64=$lt_OTOOL64
27134 # Old archive suffix (normally "a").
27137 # Shared library suffix (normally ".so").
27138 shrext_cmds=$lt_shrext_cmds
27140 # The commands to extract the exported symbol list from a shared archive.
27141 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27143 # Variables whose values should be saved in libtool wrapper scripts and
27144 # restored at link time.
27145 variables_saved_for_relink=$lt_variables_saved_for_relink
27147 # Do we need the "lib" prefix for modules?
27148 need_lib_prefix=$need_lib_prefix
27150 # Do we need a version for libraries?
27151 need_version=$need_version
27153 # Library versioning type.
27154 version_type=$version_type
27156 # Shared library runtime path variable.
27157 runpath_var=$runpath_var
27159 # Shared library path variable.
27160 shlibpath_var=$shlibpath_var
27162 # Is shlibpath searched before the hard-coded library search path?
27163 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27165 # Format of library name prefix.
27166 libname_spec=$lt_libname_spec
27168 # List of archive names. First name is the real one, the rest are links.
27169 # The last name is the one that the linker finds with -lNAME
27170 library_names_spec=$lt_library_names_spec
27172 # The coded name of the library, if different from the real name.
27173 soname_spec=$lt_soname_spec
27175 # Permission mode override for installation of shared libraries.
27176 install_override_mode=$lt_install_override_mode
27178 # Command to use after installation of a shared archive.
27179 postinstall_cmds=$lt_postinstall_cmds
27181 # Command to use after uninstallation of a shared archive.
27182 postuninstall_cmds=$lt_postuninstall_cmds
27184 # Commands used to finish a libtool library installation in a directory.
27185 finish_cmds=$lt_finish_cmds
27187 # As "finish_cmds", except a single script fragment to be evaled but
27189 finish_eval=$lt_finish_eval
27191 # Whether we should hardcode library paths into libraries.
27192 hardcode_into_libs=$hardcode_into_libs
27194 # Compile-time system search path for libraries.
27195 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27197 # Run-time system search path for libraries.
27198 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27200 # Whether dlopen is supported.
27201 dlopen_support=$enable_dlopen
27203 # Whether dlopen of programs is supported.
27204 dlopen_self=$enable_dlopen_self
27206 # Whether dlopen of statically linked programs is supported.
27207 dlopen_self_static=$enable_dlopen_self_static
27209 # Commands to strip libraries.
27210 old_striplib=$lt_old_striplib
27211 striplib=$lt_striplib
27214 # The linker used to build libraries.
27217 # How to create reloadable object files.
27218 reload_flag=$lt_reload_flag
27219 reload_cmds=$lt_reload_cmds
27221 # Commands used to build an old-style archive.
27222 old_archive_cmds=$lt_old_archive_cmds
27224 # A language specific compiler.
27227 # Is the compiler the GNU compiler?
27230 # Compiler flag to turn off builtin functions.
27231 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27233 # How to pass a linker flag through the compiler.
27234 wl=$lt_lt_prog_compiler_wl
27236 # Additional compiler flags for building library objects.
27237 pic_flag=$lt_lt_prog_compiler_pic
27239 # Compiler flag to prevent dynamic linking.
27240 link_static_flag=$lt_lt_prog_compiler_static
27242 # Does compiler simultaneously support -c and -o options?
27243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27245 # Whether or not to add -lc for building shared libraries.
27246 build_libtool_need_lc=$archive_cmds_need_lc
27248 # Whether or not to disallow shared libs when runtime libs are static.
27249 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27251 # Compiler flag to allow reflexive dlopens.
27252 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27254 # Compiler flag to generate shared objects directly from archives.
27255 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27257 # Whether the compiler copes with passing no objects directly.
27258 compiler_needs_object=$lt_compiler_needs_object
27260 # Create an old-style archive from a shared archive.
27261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27263 # Create a temporary old-style archive to link instead of a shared archive.
27264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27266 # Commands used to build a shared archive.
27267 archive_cmds=$lt_archive_cmds
27268 archive_expsym_cmds=$lt_archive_expsym_cmds
27270 # Commands used to build a loadable module if different from building
27271 # a shared archive.
27272 module_cmds=$lt_module_cmds
27273 module_expsym_cmds=$lt_module_expsym_cmds
27275 # Whether we are building with GNU ld or not.
27276 with_gnu_ld=$lt_with_gnu_ld
27278 # Flag that allows shared libraries with undefined symbols to be built.
27279 allow_undefined_flag=$lt_allow_undefined_flag
27281 # Flag that enforces no undefined symbols.
27282 no_undefined_flag=$lt_no_undefined_flag
27284 # Flag to hardcode \$libdir into a binary during linking.
27285 # This must work even if \$libdir does not exist
27286 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27288 # If ld is used when linking, flag to hardcode \$libdir into a binary
27289 # during linking. This must work even if \$libdir does not exist.
27290 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27292 # Whether we need a single "-rpath" flag with a separated argument.
27293 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27295 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27296 # DIR into the resulting binary.
27297 hardcode_direct=$hardcode_direct
27299 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27300 # DIR into the resulting binary and the resulting library dependency is
27301 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27302 # library is relocated.
27303 hardcode_direct_absolute=$hardcode_direct_absolute
27305 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27306 # into the resulting binary.
27307 hardcode_minus_L=$hardcode_minus_L
27309 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27310 # into the resulting binary.
27311 hardcode_shlibpath_var=$hardcode_shlibpath_var
27313 # Set to "yes" if building a shared library automatically hardcodes DIR
27314 # into the library and all subsequent libraries and executables linked
27316 hardcode_automatic=$hardcode_automatic
27318 # Set to yes if linker adds runtime paths of dependent libraries
27319 # to runtime path list.
27320 inherit_rpath=$inherit_rpath
27322 # Whether libtool must link a program against all its dependency libraries.
27323 link_all_deplibs=$link_all_deplibs
27325 # Fix the shell variable \$srcfile for the compiler.
27326 fix_srcfile_path=$lt_fix_srcfile_path
27328 # Set to "yes" if exported symbols are required.
27329 always_export_symbols=$always_export_symbols
27331 # The commands to list exported symbols.
27332 export_symbols_cmds=$lt_export_symbols_cmds
27334 # Symbols that should not be listed in the preloaded symbols.
27335 exclude_expsyms=$lt_exclude_expsyms
27337 # Symbols that must always be exported.
27338 include_expsyms=$lt_include_expsyms
27340 # Commands necessary for linking programs (against libraries) with templates.
27341 prelink_cmds=$lt_prelink_cmds
27343 # Specify filename containing input files.
27344 file_list_spec=$lt_file_list_spec
27346 # How to hardcode a shared library path into an executable.
27347 hardcode_action=$hardcode_action
27349 # The directories searched by this compiler when creating a shared library.
27350 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27352 # Dependencies to place before and after the objects being linked to
27353 # create a shared library.
27354 predep_objects=$lt_predep_objects
27355 postdep_objects=$lt_postdep_objects
27356 predeps=$lt_predeps
27357 postdeps=$lt_postdeps
27359 # The library search path used internally by the compiler when linking
27360 # a shared library.
27361 compiler_lib_search_path=$lt_compiler_lib_search_path
27363 # ### END LIBTOOL CONFIG
27369 cat <<\_LT_EOF
>> "$cfgfile"
27370 # AIX sometimes has problems with the GCC collect2 program. For some
27371 # reason, if we set the COLLECT_NAMES environment variable, the problems
27372 # vanish in a puff of smoke.
27373 if test "X${COLLECT_NAMES+set}" != Xset
; then
27375 export COLLECT_NAMES
27382 ltmain
="$ac_aux_dir/ltmain.sh"
27385 # We use sed instead of cat because bash on DJGPP gets confused if
27386 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27387 # text mode, it properly converts lines to CR/LF. This bash problem
27388 # is reportedly fixed, but why not run on old versions too?
27389 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27390 ||
(rm -f "$cfgfile"; exit 1)
27394 cat << \_LT_EOF
>> "$cfgfile"
27396 # func_dirname file append nondir_replacement
27397 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27398 # otherwise set result to NONDIR_REPLACEMENT.
27402 */*) func_dirname_result
="${1%/*}${2}" ;;
27403 * ) func_dirname_result
="${3}" ;;
27407 # func_basename file
27410 func_basename_result
="${1##*/}"
27413 # func_dirname_and_basename file append nondir_replacement
27414 # perform func_basename and func_dirname in a single function
27416 # dirname: Compute the dirname of FILE. If nonempty,
27417 # add APPEND to the result, otherwise set result
27418 # to NONDIR_REPLACEMENT.
27419 # value returned in "$func_dirname_result"
27420 # basename: Compute filename of FILE.
27421 # value retuned in "$func_basename_result"
27422 # Implementation must be kept synchronized with func_dirname
27423 # and func_basename. For efficiency, we do not delegate to
27424 # those functions but instead duplicate the functionality here.
27425 func_dirname_and_basename
()
27428 */*) func_dirname_result
="${1%/*}${2}" ;;
27429 * ) func_dirname_result
="${3}" ;;
27431 func_basename_result
="${1##*/}"
27434 # func_stripname prefix suffix name
27435 # strip PREFIX and SUFFIX off of NAME.
27436 # PREFIX and SUFFIX must not contain globbing or regex special
27437 # characters, hashes, percent signs, but SUFFIX may contain a leading
27438 # dot (in which case that matches only a dot).
27441 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27442 # positional parameters, so assign one to ordinary parameter first.
27443 func_stripname_result
=${3}
27444 func_stripname_result
=${func_stripname_result#"${1}"}
27445 func_stripname_result
=${func_stripname_result%"${2}"}
27451 func_opt_split_opt
=${1%%=*}
27452 func_opt_split_arg
=${1#*=}
27459 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27460 *) func_lo2o_result
=${1} ;;
27464 # func_xform libobj-or-source
27467 func_xform_result
=${1%.*}.lo
27470 # func_arith arithmetic-term...
27473 func_arith_result
=$
(( $
* ))
27477 # STRING may not start with a hyphen.
27480 func_len_result
=${#1}
27485 *) # Bourne compatible functions.
27486 cat << \_LT_EOF
>> "$cfgfile"
27488 # func_dirname file append nondir_replacement
27489 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27490 # otherwise set result to NONDIR_REPLACEMENT.
27493 # Extract subdirectory from the argument.
27494 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27495 if test "X$func_dirname_result" = "X${1}"; then
27496 func_dirname_result
="${3}"
27498 func_dirname_result
="$func_dirname_result${2}"
27502 # func_basename file
27505 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27509 # func_stripname prefix suffix name
27510 # strip PREFIX and SUFFIX off of NAME.
27511 # PREFIX and SUFFIX must not contain globbing or regex special
27512 # characters, hashes, percent signs, but SUFFIX may contain a leading
27513 # dot (in which case that matches only a dot).
27514 # func_strip_suffix prefix name
27518 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27519 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27524 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27525 my_sed_long_arg
='1s/^-[^=]*=//'
27530 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27531 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27537 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27540 # func_xform libobj-or-source
27543 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27546 # func_arith arithmetic-term...
27549 func_arith_result
=`expr "$@"`
27553 # STRING may not start with a hyphen.
27556 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27562 case $lt_shell_append in
27564 cat << \_LT_EOF
>> "$cfgfile"
27566 # func_append var value
27567 # Append VALUE to the end of shell variable VAR.
27575 cat << \_LT_EOF
>> "$cfgfile"
27577 # func_append var value
27578 # Append VALUE to the end of shell variable VAR.
27589 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27590 ||
(rm -f "$cfgfile"; exit 1)
27592 mv -f "$cfgfile" "$ofile" ||
27593 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27597 cat <<_LT_EOF >> "$ofile"
27599 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27601 # The linker used to build libraries.
27604 # How to create reloadable object files.
27605 reload_flag=$lt_reload_flag_CXX
27606 reload_cmds=$lt_reload_cmds_CXX
27608 # Commands used to build an old-style archive.
27609 old_archive_cmds=$lt_old_archive_cmds_CXX
27611 # A language specific compiler.
27612 CC=$lt_compiler_CXX
27614 # Is the compiler the GNU compiler?
27617 # Compiler flag to turn off builtin functions.
27618 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27620 # How to pass a linker flag through the compiler.
27621 wl=$lt_lt_prog_compiler_wl_CXX
27623 # Additional compiler flags for building library objects.
27624 pic_flag=$lt_lt_prog_compiler_pic_CXX
27626 # Compiler flag to prevent dynamic linking.
27627 link_static_flag=$lt_lt_prog_compiler_static_CXX
27629 # Does compiler simultaneously support -c and -o options?
27630 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27632 # Whether or not to add -lc for building shared libraries.
27633 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27635 # Whether or not to disallow shared libs when runtime libs are static.
27636 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27638 # Compiler flag to allow reflexive dlopens.
27639 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27641 # Compiler flag to generate shared objects directly from archives.
27642 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27644 # Whether the compiler copes with passing no objects directly.
27645 compiler_needs_object=$lt_compiler_needs_object_CXX
27647 # Create an old-style archive from a shared archive.
27648 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27650 # Create a temporary old-style archive to link instead of a shared archive.
27651 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27653 # Commands used to build a shared archive.
27654 archive_cmds=$lt_archive_cmds_CXX
27655 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27657 # Commands used to build a loadable module if different from building
27658 # a shared archive.
27659 module_cmds=$lt_module_cmds_CXX
27660 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27662 # Whether we are building with GNU ld or not.
27663 with_gnu_ld=$lt_with_gnu_ld_CXX
27665 # Flag that allows shared libraries with undefined symbols to be built.
27666 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27668 # Flag that enforces no undefined symbols.
27669 no_undefined_flag=$lt_no_undefined_flag_CXX
27671 # Flag to hardcode \$libdir into a binary during linking.
27672 # This must work even if \$libdir does not exist
27673 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27675 # If ld is used when linking, flag to hardcode \$libdir into a binary
27676 # during linking. This must work even if \$libdir does not exist.
27677 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27679 # Whether we need a single "-rpath" flag with a separated argument.
27680 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27682 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27683 # DIR into the resulting binary.
27684 hardcode_direct=$hardcode_direct_CXX
27686 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27687 # DIR into the resulting binary and the resulting library dependency is
27688 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27689 # library is relocated.
27690 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27692 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27693 # into the resulting binary.
27694 hardcode_minus_L=$hardcode_minus_L_CXX
27696 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27697 # into the resulting binary.
27698 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27700 # Set to "yes" if building a shared library automatically hardcodes DIR
27701 # into the library and all subsequent libraries and executables linked
27703 hardcode_automatic=$hardcode_automatic_CXX
27705 # Set to yes if linker adds runtime paths of dependent libraries
27706 # to runtime path list.
27707 inherit_rpath=$inherit_rpath_CXX
27709 # Whether libtool must link a program against all its dependency libraries.
27710 link_all_deplibs=$link_all_deplibs_CXX
27712 # Fix the shell variable \$srcfile for the compiler.
27713 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27715 # Set to "yes" if exported symbols are required.
27716 always_export_symbols=$always_export_symbols_CXX
27718 # The commands to list exported symbols.
27719 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27721 # Symbols that should not be listed in the preloaded symbols.
27722 exclude_expsyms=$lt_exclude_expsyms_CXX
27724 # Symbols that must always be exported.
27725 include_expsyms=$lt_include_expsyms_CXX
27727 # Commands necessary for linking programs (against libraries) with templates.
27728 prelink_cmds=$lt_prelink_cmds_CXX
27730 # Specify filename containing input files.
27731 file_list_spec=$lt_file_list_spec_CXX
27733 # How to hardcode a shared library path into an executable.
27734 hardcode_action=$hardcode_action_CXX
27736 # The directories searched by this compiler when creating a shared library.
27737 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27739 # Dependencies to place before and after the objects being linked to
27740 # create a shared library.
27741 predep_objects=$lt_predep_objects_CXX
27742 postdep_objects=$lt_postdep_objects_CXX
27743 predeps=$lt_predeps_CXX
27744 postdeps=$lt_postdeps_CXX
27746 # The library search path used internally by the compiler when linking
27747 # a shared library.
27748 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27750 # ### END LIBTOOL TAG CONFIG: CXX
27754 cat <<_LT_EOF >> "$ofile"
27756 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
27758 # The linker used to build libraries.
27761 # How to create reloadable object files.
27762 reload_flag=$lt_reload_flag_GCJ
27763 reload_cmds=$lt_reload_cmds_GCJ
27765 # Commands used to build an old-style archive.
27766 old_archive_cmds=$lt_old_archive_cmds_GCJ
27768 # A language specific compiler.
27769 CC=$lt_compiler_GCJ
27771 # Is the compiler the GNU compiler?
27774 # Compiler flag to turn off builtin functions.
27775 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
27777 # How to pass a linker flag through the compiler.
27778 wl=$lt_lt_prog_compiler_wl_GCJ
27780 # Additional compiler flags for building library objects.
27781 pic_flag=$lt_lt_prog_compiler_pic_GCJ
27783 # Compiler flag to prevent dynamic linking.
27784 link_static_flag=$lt_lt_prog_compiler_static_GCJ
27786 # Does compiler simultaneously support -c and -o options?
27787 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27789 # Whether or not to add -lc for building shared libraries.
27790 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
27792 # Whether or not to disallow shared libs when runtime libs are static.
27793 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
27795 # Compiler flag to allow reflexive dlopens.
27796 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
27798 # Compiler flag to generate shared objects directly from archives.
27799 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
27801 # Whether the compiler copes with passing no objects directly.
27802 compiler_needs_object=$lt_compiler_needs_object_GCJ
27804 # Create an old-style archive from a shared archive.
27805 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
27807 # Create a temporary old-style archive to link instead of a shared archive.
27808 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
27810 # Commands used to build a shared archive.
27811 archive_cmds=$lt_archive_cmds_GCJ
27812 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
27814 # Commands used to build a loadable module if different from building
27815 # a shared archive.
27816 module_cmds=$lt_module_cmds_GCJ
27817 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
27819 # Whether we are building with GNU ld or not.
27820 with_gnu_ld=$lt_with_gnu_ld_GCJ
27822 # Flag that allows shared libraries with undefined symbols to be built.
27823 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
27825 # Flag that enforces no undefined symbols.
27826 no_undefined_flag=$lt_no_undefined_flag_GCJ
27828 # Flag to hardcode \$libdir into a binary during linking.
27829 # This must work even if \$libdir does not exist
27830 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
27832 # If ld is used when linking, flag to hardcode \$libdir into a binary
27833 # during linking. This must work even if \$libdir does not exist.
27834 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
27836 # Whether we need a single "-rpath" flag with a separated argument.
27837 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
27839 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27840 # DIR into the resulting binary.
27841 hardcode_direct=$hardcode_direct_GCJ
27843 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27844 # DIR into the resulting binary and the resulting library dependency is
27845 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27846 # library is relocated.
27847 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
27849 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27850 # into the resulting binary.
27851 hardcode_minus_L=$hardcode_minus_L_GCJ
27853 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27854 # into the resulting binary.
27855 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27857 # Set to "yes" if building a shared library automatically hardcodes DIR
27858 # into the library and all subsequent libraries and executables linked
27860 hardcode_automatic=$hardcode_automatic_GCJ
27862 # Set to yes if linker adds runtime paths of dependent libraries
27863 # to runtime path list.
27864 inherit_rpath=$inherit_rpath_GCJ
27866 # Whether libtool must link a program against all its dependency libraries.
27867 link_all_deplibs=$link_all_deplibs_GCJ
27869 # Fix the shell variable \$srcfile for the compiler.
27870 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
27872 # Set to "yes" if exported symbols are required.
27873 always_export_symbols=$always_export_symbols_GCJ
27875 # The commands to list exported symbols.
27876 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27878 # Symbols that should not be listed in the preloaded symbols.
27879 exclude_expsyms=$lt_exclude_expsyms_GCJ
27881 # Symbols that must always be exported.
27882 include_expsyms=$lt_include_expsyms_GCJ
27884 # Commands necessary for linking programs (against libraries) with templates.
27885 prelink_cmds=$lt_prelink_cmds_GCJ
27887 # Specify filename containing input files.
27888 file_list_spec=$lt_file_list_spec_GCJ
27890 # How to hardcode a shared library path into an executable.
27891 hardcode_action=$hardcode_action_GCJ
27893 # The directories searched by this compiler when creating a shared library.
27894 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27896 # Dependencies to place before and after the objects being linked to
27897 # create a shared library.
27898 predep_objects=$lt_predep_objects_GCJ
27899 postdep_objects=$lt_postdep_objects_GCJ
27900 predeps=$lt_predeps_GCJ
27901 postdeps=$lt_postdeps_GCJ
27903 # The library search path used internally by the compiler when linking
27904 # a shared library.
27905 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27907 # ### END LIBTOOL TAG CONFIG: GCJ
27911 "scripts/jar":F
) chmod +x
scripts
/jar
;;
27919 ac_clean_files
=$ac_clean_files_save
27921 test $ac_write_fail = 0 ||
27922 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27925 # configure is writing to config.log, and then calls config.status.
27926 # config.status does its own redirection, appending to config.log.
27927 # Unfortunately, on DOS this fails, as config.log is still kept open
27928 # by configure, so config.status won't be able to write to it; its
27929 # output is simply discarded. So we exec the FD to /dev/null,
27930 # effectively closing config.log, so it can be properly (re)opened and
27931 # appended to by config.status. When coming back to configure, we
27932 # need to make the FD available again.
27933 if test "$no_create" != yes; then
27935 ac_config_status_args
=
27936 test "$silent" = yes &&
27937 ac_config_status_args
="$ac_config_status_args --quiet"
27939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27942 # would make configure fail if this is the last instruction.
27943 $ac_cs_success || as_fn_exit $?
27947 # CONFIG_SUBDIRS section.
27949 if test "$no_recursion" != yes; then
27951 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
27952 # so they do not pile up.
27953 ac_sub_configure_args
=
27955 eval "set x $ac_configure_args"
27959 if test -n "$ac_prev"; then
27964 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27965 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27966 ac_prev
=cache_file
;;
27967 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27968 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27971 --config-cache |
-C)
27973 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27975 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27977 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27979 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27981 --disable-option-checking)
27985 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27987 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
27991 # Always prepend --prefix to ensure using the same prefix
27992 # in subdir configurations.
27993 ac_arg
="--prefix=$prefix"
27995 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27997 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
28000 if test "$silent" = yes; then
28001 ac_sub_configure_args
="--silent $ac_sub_configure_args"
28004 # Always prepend --disable-option-checking to silence warnings, since
28005 # different subdirs can have different --enable and --with options.
28006 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
28009 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
28011 # Do not complain, so a configure script can configure whichever
28012 # parts of a large source tree are present.
28013 test -d "$srcdir/$ac_dir" ||
continue
28015 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
28016 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
28017 $as_echo "$ac_msg" >&6
28018 as_dir
="$ac_dir"; as_fn_mkdir_p
28022 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28024 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28025 # A ".." for each directory in $ac_dir_suffix.
28026 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28027 case $ac_top_builddir_sub in
28028 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28029 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28032 ac_abs_top_builddir
=$ac_pwd
28033 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28034 # for backward compatibility:
28035 ac_top_builddir
=$ac_top_build_prefix
28038 .
) # We are building in place.
28040 ac_top_srcdir
=$ac_top_builddir_sub
28041 ac_abs_top_srcdir
=$ac_pwd ;;
28042 [\\/]* | ?
:[\\/]* ) # Absolute name.
28043 ac_srcdir
=$srcdir$ac_dir_suffix;
28044 ac_top_srcdir
=$srcdir
28045 ac_abs_top_srcdir
=$srcdir ;;
28046 *) # Relative name.
28047 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28048 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28049 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28051 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28056 # Check for guested configure; otherwise get Cygnus style configure.
28057 if test -f "$ac_srcdir/configure.gnu"; then
28058 ac_sub_configure
=$ac_srcdir/configure.gnu
28059 elif test -f "$ac_srcdir/configure"; then
28060 ac_sub_configure
=$ac_srcdir/configure
28061 elif test -f "$ac_srcdir/configure.in"; then
28062 # This should be Cygnus configure.
28063 ac_sub_configure
=$ac_aux_dir/configure
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
28066 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
28070 # The recursion is here.
28071 if test -n "$ac_sub_configure"; then
28072 # Make the cache file name correct relative to the subdirectory.
28073 case $cache_file in
28074 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
28075 *) # Relative name.
28076 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
28079 { $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
28080 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
28081 # The eval makes quoting arguments work.
28082 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
28083 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
28084 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
28090 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28092 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}