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 # Always use alternate thread library on Solaris 8. Need libthread
20718 # Need -Wl,-R to get it through libtool ...
20719 THREADLIBS='-L/usr/lib/lwp$(MULTISUBDIR) -Wl,-R -Wl,/usr/lib/lwp$(MULTISUBDIR) -lpthread -lthread'
20720 # ... while ld only accepts -R.
20721 THREADSPEC='-L/usr/lib/lwp%{m64:/64} -R/usr/lib/lwp%{m64:/64} -lpthread -lthread'
20724 # As on Solaris 8, need libthread for TLS support.
20725 THREADLIBS='-lpthread -lthread'
20726 THREADSPEC='-lpthread -lthread'
20729 THREADLIBS=-lpthread
20730 THREADSPEC=-lpthread
20733 THREADH=posix-threads.h
20734 # MIT pthreads doesn't seem to have the mutexattr functions.
20735 # But for now we don't check for it. We just assume you aren't
20736 # using MIT pthreads.
20738 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20741 # If we're using the Boehm GC, then we happen to know that it
20742 # defines _REENTRANT, so we don't bother. Eww.
20743 if test "$GC" != boehm; then
20745 $as_echo "#define _REENTRANT 1" >>confdefs.h
20749 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
20754 THREADH=win32-threads.h
20755 THREADCXXFLAGS=-mthreads
20756 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20757 # But we do not want the executables created to be dependent on
20758 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20759 # exception handling contexts. The following kludge achieves this effect
20760 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20761 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20762 # A workaround is to explicitly use -mthreads while linking Java programs.
20763 # See PR libgcj/28263.
20765 # FIXME: In Java we are able to detect thread death at the end of
20766 # Thread.run() so we should be able to clean up the exception handling
20767 # contexts ourselves.
20768 THREADSTARTFILESPEC='crtmt%O%s'
20772 THREADH=no-threads.h
20775 ac_config_links="$ac_config_links include/java-threads.h:include/$THREADH"
20784 if test "$THREADS" = posix; then
20785 USING_POSIX_THREADS_TRUE=
20786 USING_POSIX_THREADS_FALSE='#'
20788 USING_POSIX_THREADS_TRUE='#'
20789 USING_POSIX_THREADS_FALSE=
20792 if test "$THREADS" = win32; then
20793 USING_WIN32_THREADS_TRUE=
20794 USING_WIN32_THREADS_FALSE='#'
20796 USING_WIN32_THREADS_TRUE='#'
20797 USING_WIN32_THREADS_FALSE=
20800 if test "$THREADS" = none; then
20801 USING_NO_THREADS_TRUE=
20802 USING_NO_THREADS_FALSE='#'
20804 USING_NO_THREADS_TRUE='#'
20805 USING_NO_THREADS_FALSE=
20808 if test "$enable_shared" != yes; then
20811 if test "$use_libgcj_bc" = yes; then
20812 USE_LIBGCJ_BC_TRUE=
20813 USE_LIBGCJ_BC_FALSE='#'
20815 USE_LIBGCJ_BC_TRUE='#'
20816 USE_LIBGCJ_BC_FALSE=
20820 if test -d sysdep; then true; else mkdir sysdep; fi
20821 ac_config_links="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20823 ac_config_links="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20825 ac_config_links="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20828 LIBGCJ_SPEC_LGCJ=-lgcj
20829 LIBGCJ_SPEC_LGCJ_BC=-lgcj_bc
20830 if test x"$libgcj_spec_lgcj_override" != x ; then
20831 LIBGCJ_SPEC_LGCJ=$libgcj_spec_lgcj_override
20833 if test x"$libgcj_spec_lgcj_bc_override" != x ; then
20834 LIBGCJ_SPEC_LGCJ_BC=$libgcj_spec_lgcj_bc_override
20836 LIBGCJ_SPEC="%{s-bc-abi:} $LIBGCJ_SPEC_LGCJ"
20837 if test "$use_libgcj_bc" = yes; then
20838 LIBGCJ_SPEC="%{static|static-libgcj|!s-bc-abi:$LIBGCJ_SPEC_LGCJ;:$LIBGCJ_SPEC_LGCJ_BC}"
20839 LIBGCJ_BC_SPEC="%{findirect-dispatch:-fPIC}"
20845 # Hash synchronization is only useful with posix threads right now.
20846 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20847 HASH_SYNC_SPEC=-fhash-synchronization
20849 $as_echo "#define JV_HASH_SYNCHRONIZATION 1" >>confdefs.h
20854 if test "$GCC" = yes; then
20856 USING_GCC_FALSE='#'
20863 # We're in the tree with gcc, and need to include some of its headers.
20864 GCC_UNWIND_INCLUDE='-I$(multi_basedir)/./libjava/../gcc'
20866 if test "x${with_newlib}" = "xyes"; then
20867 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20868 # may not work correctly, because the compiler may not be able to
20869 # link executables.
20871 # We assume newlib. This lets us hard-code the functions we know
20874 $as_echo "#define HAVE_MEMMOVE 1" >>confdefs.h
20877 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
20880 $as_echo "#define HAVE_TIME 1" >>confdefs.h
20883 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
20886 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
20889 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
20891 # This is only for POSIX threads.
20893 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20896 # Assume we do not have getuid and friends.
20898 $as_echo "#define NO_GETUID 1" >>confdefs.h
20902 for ac_func in strerror_r select fstat open fsync sleep opendir \
20903 localtime_r getpwuid_r getcwd \
20904 access stat lstat mkdir rename rmdir unlink utime chmod readlink \
20905 nl_langinfo setlocale \
20906 inet_pton uname inet_ntoa \
20907 getrlimit sigaction ftruncate mmap \
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_func in inet_aton inet_addr
20923 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20925 eval as_val=\$$as_ac_var
20926 if test "x$as_val" = x""yes; then :
20927 cat >>confdefs.h <<_ACEOF
20928 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20934 for ac_header in unistd.h dlfcn.h sys/resource.h
20936 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20937 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20938 eval as_val=\$$as_ac_Header
20939 if test "x$as_val" = x""yes; then :
20940 cat >>confdefs.h <<_ACEOF
20941 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20948 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
20950 $as_echo_n "checking for dladdr in -ldl... " >&6; }
20951 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
20952 $as_echo_n "(cached) " >&6
20954 ac_check_lib_save_LIBS=$LIBS
20956 if test x$gcc_no_link = xyes; then
20957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20962 /* Override any GCC internal prototype to avoid an error.
20963 Use char because int might match the return type of a GCC
20964 builtin and then its argument prototype would still apply. */
20977 if ac_fn_c_try_link "$LINENO"; then :
20978 ac_cv_lib_dl_dladdr=yes
20980 ac_cv_lib_dl_dladdr=no
20982 rm -f core conftest.err conftest.$ac_objext \
20983 conftest$ac_exeext conftest.$ac_ext
20984 LIBS=$ac_check_lib_save_LIBS
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
20987 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
20988 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
20991 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldld" >&5
20996 $as_echo_n "checking for dladdr in -ldld... " >&6; }
20997 if test "${ac_cv_lib_dld_dladdr+set}" = set; then :
20998 $as_echo_n "(cached) " >&6
21000 ac_check_lib_save_LIBS=$LIBS
21002 if test x$gcc_no_link = xyes; then
21003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21008 /* Override any GCC internal prototype to avoid an error.
21009 Use char because int might match the return type of a GCC
21010 builtin and then its argument prototype would still apply. */
21023 if ac_fn_c_try_link "$LINENO"; then :
21024 ac_cv_lib_dld_dladdr=yes
21026 ac_cv_lib_dld_dladdr=no
21028 rm -f core conftest.err conftest.$ac_objext \
21029 conftest$ac_exeext conftest.$ac_ext
21030 LIBS=$ac_check_lib_save_LIBS
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dladdr" >&5
21033 $as_echo "$ac_cv_lib_dld_dladdr" >&6; }
21034 if test "x$ac_cv_lib_dld_dladdr" = x""yes; then :
21037 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
21044 if test x"$cross_compiling" = x"no"; then
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/exe" >&5
21046 $as_echo_n "checking for /proc/self/exe... " >&6; }
21047 if test "${ac_cv_file__proc_self_exe+set}" = set; then :
21048 $as_echo_n "(cached) " >&6
21050 test "$cross_compiling" = yes &&
21051 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21052 if test -r "/proc/self/exe"; then
21053 ac_cv_file__proc_self_exe=yes
21055 ac_cv_file__proc_self_exe=no
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_exe" >&5
21059 $as_echo "$ac_cv_file__proc_self_exe" >&6; }
21060 if test "x$ac_cv_file__proc_self_exe" = x""yes; then :
21062 cat >>confdefs.h <<_ACEOF
21063 #define HAVE__PROC_SELF_EXE 1
21067 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
21072 $as_echo_n "checking for /proc/self/maps... " >&6; }
21073 if test "${ac_cv_file__proc_self_maps+set}" = set; then :
21074 $as_echo_n "(cached) " >&6
21076 test "$cross_compiling" = yes &&
21077 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21078 if test -r "/proc/self/maps"; then
21079 ac_cv_file__proc_self_maps=yes
21081 ac_cv_file__proc_self_maps=no
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
21085 $as_echo "$ac_cv_file__proc_self_maps" >&6; }
21086 if test "x$ac_cv_file__proc_self_maps" = x""yes; then :
21088 cat >>confdefs.h <<_ACEOF
21089 #define HAVE__PROC_SELF_MAPS 1
21093 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21101 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21104 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21111 if test "X$prefix" = "XNONE"; then
21112 acl_final_prefix="$ac_default_prefix"
21114 acl_final_prefix="$prefix"
21116 if test "X$exec_prefix" = "XNONE"; then
21117 acl_final_exec_prefix='${prefix}'
21119 acl_final_exec_prefix="$exec_prefix"
21121 acl_save_prefix="$prefix"
21122 prefix="$acl_final_prefix"
21123 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
21124 prefix="$acl_save_prefix"
21127 # Check whether --with-gnu-ld was given.
21128 if test "${with_gnu_ld+set}" = set; then :
21129 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21134 # Prepare PATH_SEPARATOR.
21135 # The user is always right.
21136 if test "${PATH_SEPARATOR+set}" != set; then
21137 echo "#! /bin/sh" >conf$$.sh
21138 echo "exit 0" >>conf$$.sh
21140 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21148 if test "$GCC" = yes; then
21149 # Check if gcc -print-prog-name=ld gives a path.
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
21151 $as_echo_n "checking for ld used by GCC... " >&6; }
21154 # gcc leaves a trailing carriage return which upsets mingw
21155 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
21157 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
21160 # Accept absolute paths.
21161 [\\/]* | [A-Za-z]:[\\/]*)
21162 re_direlt='/[^/][^/]*/\.\./'
21163 # Canonicalize the path of ld
21164 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
21165 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
21166 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
21168 test -z "$LD" && LD="$ac_prog"
21171 # If it fails, then pretend we aren't using GCC.
21175 # If it is relative, then search for the first ld in PATH.
21176 with_gnu_ld=unknown
21179 elif test "$with_gnu_ld" = yes; then
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21181 $as_echo_n "checking for GNU ld... " >&6; }
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21184 $as_echo_n "checking for non-GNU ld... " >&6; }
21186 if test "${acl_cv_path_LD+set}" = set; then :
21187 $as_echo_n "(cached) " >&6
21189 if test -z "$LD"; then
21190 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21191 for ac_dir in $PATH; do
21192 test -z "$ac_dir" && ac_dir=.
21193 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21194 acl_cv_path_LD="$ac_dir/$ac_prog"
21195 # Check to see if the program is GNU ld. I'd rather use --version,
21196 # but apparently some GNU ld's only accept -v.
21197 # Break only if it was the GNU/non-GNU ld that we prefer.
21198 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
21199 test "$with_gnu_ld" != no && break
21201 test "$with_gnu_ld" != yes && break
21207 acl_cv_path_LD="$LD" # Let the user override the test with a path.
21211 LD="$acl_cv_path_LD"
21212 if test -n "$LD"; then
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21214 $as_echo "$LD" >&6; }
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21217 $as_echo "no" >&6; }
21219 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21221 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21222 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
21223 $as_echo_n "(cached) " >&6
21225 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21226 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
21227 acl_cv_prog_gnu_ld=yes
21229 acl_cv_prog_gnu_ld=no
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
21233 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
21234 with_gnu_ld=$acl_cv_prog_gnu_ld
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
21239 $as_echo_n "checking for shared library run path origin... " >&6; }
21240 if test "${acl_cv_rpath+set}" = set; then :
21241 $as_echo_n "(cached) " >&6
21244 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
21245 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21247 rm -f ./conftest.sh
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
21252 $as_echo "$acl_cv_rpath" >&6; }
21254 libext="$acl_cv_libext"
21255 shlibext="$acl_cv_shlibext"
21256 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
21257 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
21258 hardcode_direct="$acl_cv_hardcode_direct"
21259 hardcode_minus_L="$acl_cv_hardcode_minus_L"
21260 # Check whether --enable-rpath was given.
21261 if test "${enable_rpath+set}" = set; then :
21262 enableval=$enable_rpath; :
21276 acl_save_prefix="$prefix"
21277 prefix="$acl_final_prefix"
21278 acl_save_exec_prefix="$exec_prefix"
21279 exec_prefix="$acl_final_exec_prefix"
21281 eval additional_includedir=\"$includedir\"
21282 eval additional_libdir=\"$libdir\"
21284 exec_prefix="$acl_save_exec_prefix"
21285 prefix="$acl_save_prefix"
21288 # Check whether --with-libiconv-prefix was given.
21289 if test "${with_libiconv_prefix+set}" = set; then :
21290 withval=$with_libiconv_prefix;
21291 if test "X$withval" = "Xno"; then
21294 if test "X$withval" = "X"; then
21296 acl_save_prefix="$prefix"
21297 prefix="$acl_final_prefix"
21298 acl_save_exec_prefix="$exec_prefix"
21299 exec_prefix="$acl_final_exec_prefix"
21301 eval additional_includedir=\"$includedir\"
21302 eval additional_libdir=\"$libdir\"
21304 exec_prefix="$acl_save_exec_prefix"
21305 prefix="$acl_save_prefix"
21308 additional_includedir="$withval/include"
21309 additional_libdir="$withval/lib"
21320 names_already_handled=
21321 names_next_round='iconv '
21322 while test -n "$names_next_round"; do
21323 names_this_round="$names_next_round"
21325 for name in $names_this_round; do
21327 for n in $names_already_handled; do
21328 if test "$n" = "$name"; then
21329 already_handled=yes
21333 if test -z "$already_handled"; then
21334 names_already_handled="$names_already_handled $name"
21335 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21336 eval value=\"\$HAVE_LIB$uppername\"
21337 if test -n "$value"; then
21338 if test "$value" = yes; then
21339 eval value=\"\$LIB$uppername\"
21340 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
21341 eval value=\"\$LTLIB$uppername\"
21342 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
21351 if test $use_additional = yes; then
21352 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21353 found_dir="$additional_libdir"
21354 found_so="$additional_libdir/lib$name.$shlibext"
21355 if test -f "$additional_libdir/lib$name.la"; then
21356 found_la="$additional_libdir/lib$name.la"
21359 if test -f "$additional_libdir/lib$name.$libext"; then
21360 found_dir="$additional_libdir"
21361 found_a="$additional_libdir/lib$name.$libext"
21362 if test -f "$additional_libdir/lib$name.la"; then
21363 found_la="$additional_libdir/lib$name.la"
21368 if test "X$found_dir" = "X"; then
21369 for x in $LDFLAGS $LTLIBICONV; do
21371 acl_save_prefix="$prefix"
21372 prefix="$acl_final_prefix"
21373 acl_save_exec_prefix="$exec_prefix"
21374 exec_prefix="$acl_final_exec_prefix"
21376 exec_prefix="$acl_save_exec_prefix"
21377 prefix="$acl_save_prefix"
21381 dir=`echo "X$x" |
sed -e 's/^X-L//'`
21382 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21384 found_so="$dir/lib$name.$shlibext"
21385 if test -f "$dir/lib$name.la"; then
21386 found_la="$dir/lib$name.la"
21389 if test -f "$dir/lib$name.$libext"; then
21391 found_a="$dir/lib$name.$libext"
21392 if test -f "$dir/lib$name.la"; then
21393 found_la="$dir/lib$name.la"
21399 if test "X$found_dir" != "X"; then
21404 if test "X$found_dir" != "X"; then
21405 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21406 if test "X$found_so" != "X"; then
21407 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
21408 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21411 for x in $ltrpathdirs; do
21412 if test "X$x" = "X$found_dir"; then
21417 if test -z "$haveit"; then
21418 ltrpathdirs="$ltrpathdirs $found_dir"
21420 if test "$hardcode_direct" = yes; then
21421 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21423 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
21424 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21426 for x in $rpathdirs; do
21427 if test "X$x" = "X$found_dir"; then
21432 if test -z "$haveit"; then
21433 rpathdirs="$rpathdirs $found_dir"
21437 for x in $LDFLAGS $LIBICONV; do
21439 acl_save_prefix="$prefix"
21440 prefix="$acl_final_prefix"
21441 acl_save_exec_prefix="$exec_prefix"
21442 exec_prefix="$acl_final_exec_prefix"
21444 exec_prefix="$acl_save_exec_prefix"
21445 prefix="$acl_save_prefix"
21447 if test "X$x" = "X-L$found_dir"; then
21452 if test -z "$haveit"; then
21453 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21455 if test "$hardcode_minus_L" != no; then
21456 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21458 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21464 if test "X$found_a" != "X"; then
21465 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
21467 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21470 additional_includedir=
21471 case "$found_dir" in
21473 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e 's,/lib/*$,,'`
21474 additional_includedir="$basedir/include"
21477 if test "X$additional_includedir" != "X"; then
21478 if test "X$additional_includedir" != "X/usr/include"; then
21480 if test "X$additional_includedir" = "X/usr/local/include"; then
21481 if test -n "$GCC"; then
21483 linux*) haveit=yes;;
21487 if test -z "$haveit"; then
21488 for x in $CPPFLAGS $INCICONV; do
21490 acl_save_prefix="$prefix"
21491 prefix="$acl_final_prefix"
21492 acl_save_exec_prefix="$exec_prefix"
21493 exec_prefix="$acl_final_exec_prefix"
21495 exec_prefix="$acl_save_exec_prefix"
21496 prefix="$acl_save_prefix"
21498 if test "X$x" = "X-I$additional_includedir"; then
21503 if test -z "$haveit"; then
21504 if test -d "$additional_includedir"; then
21505 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21511 if test -n "$found_la"; then
21512 save_libdir="$libdir"
21513 case "$found_la" in
21514 */* | *\\*) . "$found_la" ;;
21515 *) . "./$found_la" ;;
21517 libdir="$save_libdir"
21518 for dep in $dependency_libs; do
21521 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
21522 if test "X$additional_libdir" != "X/usr/lib"; then
21524 if test "X$additional_libdir" = "X/usr/local/lib"; then
21525 if test -n "$GCC"; then
21527 linux*) haveit=yes;;
21531 if test -z "$haveit"; then
21533 for x in $LDFLAGS $LIBICONV; do
21535 acl_save_prefix="$prefix"
21536 prefix="$acl_final_prefix"
21537 acl_save_exec_prefix="$exec_prefix"
21538 exec_prefix="$acl_final_exec_prefix"
21540 exec_prefix="$acl_save_exec_prefix"
21541 prefix="$acl_save_prefix"
21543 if test "X$x" = "X-L$additional_libdir"; then
21548 if test -z "$haveit"; then
21549 if test -d "$additional_libdir"; then
21550 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21554 for x in $LDFLAGS $LTLIBICONV; do
21556 acl_save_prefix="$prefix"
21557 prefix="$acl_final_prefix"
21558 acl_save_exec_prefix="$exec_prefix"
21559 exec_prefix="$acl_final_exec_prefix"
21561 exec_prefix="$acl_save_exec_prefix"
21562 prefix="$acl_save_prefix"
21564 if test "X$x" = "X-L$additional_libdir"; then
21569 if test -z "$haveit"; then
21570 if test -d "$additional_libdir"; then
21571 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21578 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
21579 if test "$enable_rpath" != no; then
21581 for x in $rpathdirs; do
21582 if test "X$x" = "X$dir"; then
21587 if test -z "$haveit"; then
21588 rpathdirs="$rpathdirs $dir"
21591 for x in $ltrpathdirs; do
21592 if test "X$x" = "X$dir"; then
21597 if test -z "$haveit"; then
21598 ltrpathdirs="$ltrpathdirs $dir"
21603 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
21606 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21609 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
21610 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21616 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21617 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21623 if test "X$rpathdirs" != "X"; then
21624 if test -n "$hardcode_libdir_separator"; then
21626 for found_dir in $rpathdirs; do
21627 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21629 acl_save_libdir="$libdir"
21631 eval flag=\"$hardcode_libdir_flag_spec\"
21632 libdir="$acl_save_libdir"
21633 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21635 for found_dir in $rpathdirs; do
21636 acl_save_libdir="$libdir"
21637 libdir="$found_dir"
21638 eval flag=\"$hardcode_libdir_flag_spec\"
21639 libdir="$acl_save_libdir"
21640 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21644 if test "X$ltrpathdirs" != "X"; then
21645 for found_dir in $ltrpathdirs; do
21646 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21656 am_save_CPPFLAGS="$CPPFLAGS"
21658 for element in $INCICONV; do
21660 for x in $CPPFLAGS; do
21662 acl_save_prefix="$prefix"
21663 prefix="$acl_final_prefix"
21664 acl_save_exec_prefix="$exec_prefix"
21665 exec_prefix="$acl_final_exec_prefix"
21667 exec_prefix="$acl_save_exec_prefix"
21668 prefix="$acl_save_prefix"
21670 if test "X$x" = "X$element"; then
21675 if test -z "$haveit"; then
21676 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
21682 $as_echo_n "checking for iconv... " >&6; }
21683 if test "${am_cv_func_iconv+set}" = set; then :
21684 $as_echo_n "(cached) " >&6
21687 am_cv_func_iconv="no, consider installing GNU libiconv"
21689 if test x$gcc_no_link = xyes; then
21690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21694 #include <stdlib.h>
21699 iconv_t cd = iconv_open("","");
21700 iconv(cd,NULL,NULL,NULL,NULL);
21706 if ac_fn_c_try_link "$LINENO"; then :
21707 am_cv_func_iconv=yes
21709 rm -f core conftest.err conftest.$ac_objext \
21710 conftest$ac_exeext conftest.$ac_ext
21711 if test "$am_cv_func_iconv" != yes; then
21712 am_save_LIBS="$LIBS"
21713 LIBS="$LIBS $LIBICONV"
21714 if test x$gcc_no_link = xyes; then
21715 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21718 /* end confdefs.h. */
21719 #include <stdlib.h>
21724 iconv_t cd = iconv_open("","");
21725 iconv(cd,NULL,NULL,NULL,NULL);
21731 if ac_fn_c_try_link "$LINENO"; then :
21732 am_cv_lib_iconv=yes
21733 am_cv_func_iconv=yes
21735 rm -f core conftest.err conftest.$ac_objext \
21736 conftest$ac_exeext conftest.$ac_ext
21737 LIBS="$am_save_LIBS"
21741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21742 $as_echo "$am_cv_func_iconv" >&6; }
21743 if test "$am_cv_func_iconv" = yes; then
21745 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21748 if test "$am_cv_lib_iconv" = yes; then
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21750 $as_echo_n "checking how to link with libiconv... " >&6; }
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21752 $as_echo "$LIBICONV" >&6; }
21754 CPPFLAGS="$am_save_CPPFLAGS"
21761 if test "$am_cv_func_iconv" = yes; then
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21763 $as_echo_n "checking for iconv declaration... " >&6; }
21764 if test "${am_cv_proto_iconv+set}" = set; then :
21765 $as_echo_n "(cached) " >&6
21768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21769 /* end confdefs.h. */
21771 #include <stdlib.h>
21777 #if defined(__STDC__) || defined(__cplusplus)
21778 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21791 if ac_fn_c_try_compile "$LINENO"; then :
21792 am_cv_proto_iconv_arg1=""
21794 am_cv_proto_iconv_arg1="const"
21796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21797 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);"
21800 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" |
tr -s ' ' |
sed -e 's/( /(/'`
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
21802 }$am_cv_proto_iconv" >&5
21804 }$am_cv_proto_iconv" >&6; }
21806 cat >>confdefs.h <<_ACEOF
21807 #define ICONV_CONST $am_cv_proto_iconv_arg1
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21814 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21815 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
21816 $as_echo_n "(cached) " >&6
21818 if test x$gcc_no_link = xyes; then
21819 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21822 /* end confdefs.h. */
21823 #include <locale.h>
21832 if ac_fn_c_try_link "$LINENO"; then :
21833 am_cv_val_LC_MESSAGES=yes
21835 am_cv_val_LC_MESSAGES=no
21837 rm -f core conftest.err conftest.$ac_objext \
21838 conftest$ac_exeext conftest.$ac_ext
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
21841 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21842 if test $am_cv_val_LC_MESSAGES = yes; then
21844 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21849 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21850 if test "${ac_cv_struct_tm+set}" = set; then :
21851 $as_echo_n "(cached) " >&6
21853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21854 /* end confdefs.h. */
21855 #include <sys/types.h>
21862 int *p = &tm.tm_sec;
21868 if ac_fn_c_try_compile "$LINENO"; then :
21869 ac_cv_struct_tm=time.h
21871 ac_cv_struct_tm=sys/time.h
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21876 $as_echo "$ac_cv_struct_tm" >&6; }
21877 if test $ac_cv_struct_tm = sys/time.h; then
21879 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21883 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
21884 #include <$ac_cv_struct_tm>
21887 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
21889 cat >>confdefs.h <<_ACEOF
21890 #define HAVE_STRUCT_TM_TM_ZONE 1
21896 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
21898 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
21901 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
21903 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
21909 cat >>confdefs.h <<_ACEOF
21910 #define HAVE_DECL_TZNAME $ac_have_decl
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
21914 $as_echo_n "checking for tzname... " >&6; }
21915 if test "${ac_cv_var_tzname+set}" = set; then :
21916 $as_echo_n "(cached) " >&6
21918 if test x$gcc_no_link = xyes; then
21919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21922 /* end confdefs.h. */
21924 #if !HAVE_DECL_TZNAME
21925 extern char *tzname[];
21931 return tzname[0][0];
21936 if ac_fn_c_try_link "$LINENO"; then :
21937 ac_cv_var_tzname=yes
21939 ac_cv_var_tzname=no
21941 rm -f core conftest.err conftest.$ac_objext \
21942 conftest$ac_exeext conftest.$ac_ext
21944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
21945 $as_echo "$ac_cv_var_tzname" >&6; }
21946 if test $ac_cv_var_tzname = yes; then
21948 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21954 for ac_func in gethostbyname_r
21956 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
21957 if test "x$ac_cv_func_gethostbyname_r" = x""yes; then :
21958 cat >>confdefs.h <<_ACEOF
21959 #define HAVE_GETHOSTBYNAME_R 1
21963 $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
21965 # There are two different kinds of gethostbyname_r.
21966 # We look for the one that returns `int
'.
21967 # Hopefully this check is robust enough.
21968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21969 /* end confdefs.h. */
21973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21974 $EGREP "int.*gethostbyname_r" >/dev/null 2>&1; then :
21977 $as_echo "#define GETHOSTBYNAME_R_RETURNS_INT 1" >>confdefs.h
21983 case " $GCINCS " in
21984 *" -D_REENTRANT "*) ;;
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
21987 $as_echo_n "checking whether gethostbyname_r declaration requires -D_REENTRANT... " >&6; }
21988 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then :
21989 $as_echo_n "(cached) " >&6
21992 ac_cpp='$CXXCPP $CPPFLAGS'
21993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
21994 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
21995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21998 /* end confdefs.h. */
22003 gethostbyname_r("", 0, 0);
22008 if ac_fn_cxx_try_compile "$LINENO"; then :
22009 libjava_cv_gethostbyname_r_needs_reentrant=no
22011 CPPFLAGS_SAVE="$CPPFLAGS"
22012 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
22013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22014 /* end confdefs.h. */
22019 gethostbyname_r("", 0, 0);
22024 if ac_fn_cxx_try_compile "$LINENO"; then :
22025 libjava_cv_gethostbyname_r_needs_reentrant=yes
22027 libjava_cv_gethostbyname_r_needs_reentrant=fail
22029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22030 CPPFLAGS="$CPPFLAGS_SAVE"
22033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22035 ac_cpp='$CPP $CPPFLAGS'
22036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22037 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22043 $as_echo "$libjava_cv_gethostbyname_r_needs_reentrant" >&6; }
22044 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes; then
22046 $as_echo "#define _REENTRANT 1" >>confdefs.h
22052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct hostent_data" >&5
22053 $as_echo_n "checking for struct hostent_data... " >&6; }
22054 if test "${libjava_cv_struct_hostent_data+set}" = set; then :
22055 $as_echo_n "(cached) " >&6
22057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22058 /* end confdefs.h. */
22060 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22061 # define _REENTRANT 1
22067 struct hostent_data data;
22072 if ac_fn_c_try_compile "$LINENO"; then :
22073 libjava_cv_struct_hostent_data=yes
22075 libjava_cv_struct_hostent_data=no
22077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_struct_hostent_data" >&5
22080 $as_echo "$libjava_cv_struct_hostent_data" >&6; }
22081 if test "x$libjava_cv_struct_hostent_data" = xyes; then
22083 $as_echo "#define HAVE_STRUCT_HOSTENT_DATA 1" >>confdefs.h
22091 # FIXME: libjava source code expects to find a prototype for
22092 # gethostbyaddr_r in netdb.h. The outer check ensures that
22093 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22094 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22095 # linkage check is enough, yet C++ code requires proper prototypes.)
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h. */
22101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22102 $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
22104 for ac_func in gethostbyaddr_r
22106 ac_fn_c_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r"
22107 if test "x$ac_cv_func_gethostbyaddr_r" = x""yes; then :
22108 cat >>confdefs.h <<_ACEOF
22109 #define HAVE_GETHOSTBYADDR_R 1
22113 $as_echo "#define HAVE_GETHOSTBYADDR_R 1" >>confdefs.h
22115 # There are two different kinds of gethostbyaddr_r.
22116 # We look for the one that returns `int'.
22117 # Hopefully this check is robust enough.
22118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22119 /* end confdefs.h. */
22123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22124 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then :
22127 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
22139 for ac_func
in gethostname
22141 ac_fn_c_check_func
"$LINENO" "gethostname" "ac_cv_func_gethostname"
22142 if test "x$ac_cv_func_gethostname" = x
""yes; then :
22143 cat >>confdefs.h
<<_ACEOF
22144 #define HAVE_GETHOSTNAME 1
22148 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
22150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22151 /* end confdefs.h. */
22152 #include <unistd.h>
22155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22156 $EGREP "gethostname" >/dev
/null
2>&1; then :
22159 $as_echo "#define HAVE_GETHOSTNAME_DECL 1" >>confdefs.h
22168 for ac_func
in usleep
22170 ac_fn_c_check_func
"$LINENO" "usleep" "ac_cv_func_usleep"
22171 if test "x$ac_cv_func_usleep" = x
""yes; then :
22172 cat >>confdefs.h
<<_ACEOF
22173 #define HAVE_USLEEP 1
22176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22177 /* end confdefs.h. */
22178 #include <unistd.h>
22181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22182 $EGREP "usleep" >/dev
/null
2>&1; then :
22185 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
22194 # Look for these functions in the thread library, but only bother
22195 # if using POSIX threads.
22196 if test "$THREADS" = posix
; then
22198 LIBS
="$LIBS $THREADLIBS"
22200 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
22201 # Solaris 7 the name librt is preferred.
22202 for ac_func
in sched_yield
22204 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
22205 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
22206 cat >>confdefs.h
<<_ACEOF
22207 #define HAVE_SCHED_YIELD 1
22212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
22213 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
22214 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
22215 $as_echo_n "(cached) " >&6
22217 ac_check_lib_save_LIBS
=$LIBS
22219 if test x
$gcc_no_link = xyes
; then
22220 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22223 /* end confdefs.h. */
22225 /* Override any GCC internal prototype to avoid an error.
22226 Use char because int might match the return type of a GCC
22227 builtin and then its argument prototype would still apply. */
22231 char sched_yield ();
22235 return sched_yield ();
22240 if ac_fn_c_try_link
"$LINENO"; then :
22241 ac_cv_lib_rt_sched_yield
=yes
22243 ac_cv_lib_rt_sched_yield
=no
22245 rm -f core conftest.err conftest.
$ac_objext \
22246 conftest
$ac_exeext conftest.
$ac_ext
22247 LIBS
=$ac_check_lib_save_LIBS
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
22250 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
22251 if test "x$ac_cv_lib_rt_sched_yield" = x
""yes; then :
22253 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22255 THREADLIBS
="$THREADLIBS -lrt"
22256 THREADSPEC
="$THREADSPEC -lrt"
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
22260 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
22261 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
22262 $as_echo_n "(cached) " >&6
22264 ac_check_lib_save_LIBS
=$LIBS
22265 LIBS
="-lposix4 $LIBS"
22266 if test x
$gcc_no_link = xyes
; then
22267 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22270 /* end confdefs.h. */
22272 /* Override any GCC internal prototype to avoid an error.
22273 Use char because int might match the return type of a GCC
22274 builtin and then its argument prototype would still apply. */
22278 char sched_yield ();
22282 return sched_yield ();
22287 if ac_fn_c_try_link
"$LINENO"; then :
22288 ac_cv_lib_posix4_sched_yield
=yes
22290 ac_cv_lib_posix4_sched_yield
=no
22292 rm -f core conftest.err conftest.
$ac_objext \
22293 conftest
$ac_exeext conftest.
$ac_ext
22294 LIBS
=$ac_check_lib_save_LIBS
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
22297 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
22298 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
22300 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22302 THREADLIBS
="$THREADLIBS -lposix4"
22303 THREADSPEC
="$THREADSPEC -lposix4"
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22313 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22314 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22315 $as_echo_n "(cached) " >&6
22317 ac_check_lib_save_LIBS
=$LIBS
22319 if test x
$gcc_no_link = xyes
; then
22320 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22323 /* end confdefs.h. */
22325 /* Override any GCC internal prototype to avoid an error.
22326 Use char because int might match the return type of a GCC
22327 builtin and then its argument prototype would still apply. */
22331 char clock_gettime ();
22335 return clock_gettime ();
22340 if ac_fn_c_try_link
"$LINENO"; then :
22341 ac_cv_lib_rt_clock_gettime
=yes
22343 ac_cv_lib_rt_clock_gettime
=no
22345 rm -f core conftest.err conftest.
$ac_objext \
22346 conftest
$ac_exeext conftest.
$ac_ext
22347 LIBS
=$ac_check_lib_save_LIBS
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22350 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22351 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
22354 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22356 case "$THREADSPEC" in
22359 THREADSPEC
="$THREADSPEC -lrt"
22360 THREADLIBS
="$THREADLIBS -lrt"
22368 # We can save a little space at runtime if the mutex has m_count
22369 # or __m_count. This is a nice hack for Linux.
22370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22371 /* end confdefs.h. */
22372 #include <pthread.h>
22377 extern pthread_mutex_t *mutex; int q = mutex->m_count;
22383 if ac_fn_c_try_compile
"$LINENO"; then :
22385 $as_echo "#define PTHREAD_MUTEX_HAVE_M_COUNT 1" >>confdefs.h
22389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22390 /* end confdefs.h. */
22391 #include <pthread.h>
22396 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
22402 if ac_fn_c_try_compile
"$LINENO"; then :
22404 $as_echo "#define PTHREAD_MUTEX_HAVE___M_COUNT 1" >>confdefs.h
22407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22412 # We require a way to get the time.
22414 for ac_func
in gettimeofday
time ftime
22416 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22417 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22418 eval as_val
=\$
$as_ac_var
22419 if test "x$as_val" = x
""yes; then :
22420 cat >>confdefs.h
<<_ACEOF
22421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22427 if test "$time_found" = no
; then
22428 as_fn_error
"no function found to get the time" "$LINENO" 5
22431 for ac_func
in memmove
22433 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
22434 if test "x$ac_cv_func_memmove" = x
""yes; then :
22435 cat >>confdefs.h
<<_ACEOF
22436 #define HAVE_MEMMOVE 1
22443 # We require memcpy.
22445 for ac_func
in memcpy
22447 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
22448 if test "x$ac_cv_func_memcpy" = x
""yes; then :
22449 cat >>confdefs.h
<<_ACEOF
22450 #define HAVE_MEMCPY 1
22456 if test "$memcpy_found" = no
; then
22457 as_fn_error
"memcpy is required" "$LINENO" 5
22459 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
22461 $as_echo_n "checking for dlopen in -ldl... " >&6; }
22462 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
22463 $as_echo_n "(cached) " >&6
22465 ac_check_lib_save_LIBS
=$LIBS
22467 if test x
$gcc_no_link = xyes
; then
22468 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22471 /* end confdefs.h. */
22473 /* Override any GCC internal prototype to avoid an error.
22474 Use char because int might match the return type of a GCC
22475 builtin and then its argument prototype would still apply. */
22488 if ac_fn_c_try_link
"$LINENO"; then :
22489 ac_cv_lib_dl_dlopen
=yes
22491 ac_cv_lib_dl_dlopen
=no
22493 rm -f core conftest.err conftest.
$ac_objext \
22494 conftest
$ac_exeext conftest.
$ac_ext
22495 LIBS
=$ac_check_lib_save_LIBS
22497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
22498 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
22499 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
22502 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldld" >&5
22507 $as_echo_n "checking for dlopen in -ldld... " >&6; }
22508 if test "${ac_cv_lib_dld_dlopen+set}" = set; then :
22509 $as_echo_n "(cached) " >&6
22511 ac_check_lib_save_LIBS
=$LIBS
22513 if test x
$gcc_no_link = xyes
; then
22514 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22517 /* end confdefs.h. */
22519 /* Override any GCC internal prototype to avoid an error.
22520 Use char because int might match the return type of a GCC
22521 builtin and then its argument prototype would still apply. */
22534 if ac_fn_c_try_link
"$LINENO"; then :
22535 ac_cv_lib_dld_dlopen
=yes
22537 ac_cv_lib_dld_dlopen
=no
22539 rm -f core conftest.err conftest.
$ac_objext \
22540 conftest
$ac_exeext conftest.
$ac_ext
22541 LIBS
=$ac_check_lib_save_LIBS
22543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dlopen" >&5
22544 $as_echo "$ac_cv_lib_dld_dlopen" >&6; }
22545 if test "x$ac_cv_lib_dld_dlopen" = x
""yes; then :
22548 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22555 # Some library-finding code we stole from Tcl.
22556 #--------------------------------------------------------------------
22557 # Check for the existence of the -lsocket and -lnsl libraries.
22558 # The order here is important, so that they end up in the right
22559 # order in the command line generated by make. Here are some
22560 # special considerations:
22561 # 1. Use "connect" and "accept" to check for -lsocket, and
22562 # "gethostbyname" to check for -lnsl.
22563 # 2. Use each function name only once: can't redo a check because
22564 # autoconf caches the results of the last check and won't redo it.
22565 # 3. Use -lnsl and -lsocket only if they supply procedures that
22566 # aren't already present in the normal libraries. This is because
22567 # IRIX 5.2 has libraries, but they aren't needed and they're
22568 # bogus: they goof up name resolution if used.
22569 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
22570 # To get around this problem, check for both libraries together
22571 # if -lsocket doesn't work by itself.
22572 #--------------------------------------------------------------------
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
22575 $as_echo_n "checking for socket libraries... " >&6; }
22576 if test "${gcj_cv_lib_sockets+set}" = set; then :
22577 $as_echo_n "(cached) " >&6
22579 gcj_cv_lib_sockets
=
22581 unset ac_cv_func_connect
22582 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
22583 if test "x$ac_cv_func_connect" = x
""yes; then :
22589 if test "$gcj_checkSocket" = 1; then
22590 unset ac_cv_func_connect
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
22592 $as_echo_n "checking for main in -lsocket... " >&6; }
22593 if test "${ac_cv_lib_socket_main+set}" = set; then :
22594 $as_echo_n "(cached) " >&6
22596 ac_check_lib_save_LIBS
=$LIBS
22597 LIBS
="-lsocket $LIBS"
22598 if test x
$gcc_no_link = xyes
; then
22599 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22602 /* end confdefs.h. */
22613 if ac_fn_c_try_link
"$LINENO"; then :
22614 ac_cv_lib_socket_main
=yes
22616 ac_cv_lib_socket_main
=no
22618 rm -f core conftest.err conftest.
$ac_objext \
22619 conftest
$ac_exeext conftest.
$ac_ext
22620 LIBS
=$ac_check_lib_save_LIBS
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
22623 $as_echo "$ac_cv_lib_socket_main" >&6; }
22624 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
22625 gcj_cv_lib_sockets
="-lsocket"
22631 if test "$gcj_checkBoth" = 1; then
22633 LIBS
="$LIBS -lsocket -lnsl"
22634 unset ac_cv_func_accept
22635 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
22636 if test "x$ac_cv_func_accept" = x
""yes; then :
22638 gcj_cv_lib_sockets
="-lsocket -lnsl"
22641 unset ac_cv_func_accept
22644 unset ac_cv_func_gethostbyname
22646 LIBS
="$LIBS $gcj_cv_lib_sockets"
22647 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22648 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
22651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
22652 $as_echo_n "checking for main in -lnsl... " >&6; }
22653 if test "${ac_cv_lib_nsl_main+set}" = set; then :
22654 $as_echo_n "(cached) " >&6
22656 ac_check_lib_save_LIBS
=$LIBS
22658 if test x
$gcc_no_link = xyes
; then
22659 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22662 /* end confdefs.h. */
22673 if ac_fn_c_try_link
"$LINENO"; then :
22674 ac_cv_lib_nsl_main
=yes
22676 ac_cv_lib_nsl_main
=no
22678 rm -f core conftest.err conftest.
$ac_objext \
22679 conftest
$ac_exeext conftest.
$ac_ext
22680 LIBS
=$ac_check_lib_save_LIBS
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
22683 $as_echo "$ac_cv_lib_nsl_main" >&6; }
22684 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
22685 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
22690 unset ac_cv_func_gethostbyname
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcj_cv_lib_sockets" >&5
22695 $as_echo "$gcj_cv_lib_sockets" >&6; }
22696 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
22698 if test "$with_system_zlib" = yes; then
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22700 $as_echo_n "checking for deflate in -lz... " >&6; }
22701 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22702 $as_echo_n "(cached) " >&6
22704 ac_check_lib_save_LIBS
=$LIBS
22706 if test x
$gcc_no_link = xyes
; then
22707 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22710 /* end confdefs.h. */
22712 /* Override any GCC internal prototype to avoid an error.
22713 Use char because int might match the return type of a GCC
22714 builtin and then its argument prototype would still apply. */
22727 if ac_fn_c_try_link
"$LINENO"; then :
22728 ac_cv_lib_z_deflate
=yes
22730 ac_cv_lib_z_deflate
=no
22732 rm -f core conftest.err conftest.
$ac_objext \
22733 conftest
$ac_exeext conftest.
$ac_ext
22734 LIBS
=$ac_check_lib_save_LIBS
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22737 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22738 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22746 # Test for Gtk stuff, if asked for.
22747 if test "$use_gtk_awt" = yes; then
22751 if test -z "$PKG_CONFIG"; then
22752 # Extract the first word of "pkg-config", so it can be a program name with args.
22753 set dummy pkg-config
; ac_word
=$2
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22755 $as_echo_n "checking for $ac_word... " >&6; }
22756 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22757 $as_echo_n "(cached) " >&6
22759 case $PKG_CONFIG in
22761 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22765 for as_dir
in $PATH
22768 test -z "$as_dir" && as_dir
=.
22769 for ac_exec_ext
in '' $ac_executable_extensions; do
22770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22771 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22779 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22783 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22784 if test -n "$PKG_CONFIG"; then
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22786 $as_echo "$PKG_CONFIG" >&6; }
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22789 $as_echo "no" >&6; }
22795 if test "$PKG_CONFIG" = "no" ; then
22796 echo "*** The pkg-config script could not be found. Make sure it is"
22797 echo "*** in your path, or set the PKG_CONFIG environment variable"
22798 echo "*** to the full path to pkg-config."
22799 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22801 PKG_CONFIG_MIN_VERSION
=0.9.0
22802 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4" >&5
22804 $as_echo_n "checking for gtk+-2.0 >= 2.4... " >&6; }
22806 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22808 $as_echo "yes" >&6; }
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
22812 $as_echo_n "checking GTK_CFLAGS... " >&6; }
22813 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
22815 $as_echo "$GTK_CFLAGS" >&6; }
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
22818 $as_echo_n "checking GTK_LIBS... " >&6; }
22819 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
22821 $as_echo "$GTK_LIBS" >&6; }
22825 ## If we have a custom action on failure, don't print errors, but
22826 ## do set a variable so people can do so.
22827 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
22828 echo $GTK_PKG_ERRORS
22834 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22835 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22839 if test $succeeded = yes; then
22842 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
22851 if test -z "$PKG_CONFIG"; then
22852 # Extract the first word of "pkg-config", so it can be a program name with args.
22853 set dummy pkg-config
; ac_word
=$2
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22855 $as_echo_n "checking for $ac_word... " >&6; }
22856 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22857 $as_echo_n "(cached) " >&6
22859 case $PKG_CONFIG in
22861 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22865 for as_dir
in $PATH
22868 test -z "$as_dir" && as_dir
=.
22869 for ac_exec_ext
in '' $ac_executable_extensions; do
22870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22871 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22879 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22883 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22884 if test -n "$PKG_CONFIG"; then
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22886 $as_echo "$PKG_CONFIG" >&6; }
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22889 $as_echo "no" >&6; }
22895 if test "$PKG_CONFIG" = "no" ; then
22896 echo "*** The pkg-config script could not be found. Make sure it is"
22897 echo "*** in your path, or set the PKG_CONFIG environment variable"
22898 echo "*** to the full path to pkg-config."
22899 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22901 PKG_CONFIG_MIN_VERSION
=0.9.0
22902 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
22904 $as_echo_n "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... " >&6; }
22906 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
22907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22908 $as_echo "yes" >&6; }
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
22912 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
22913 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
22915 $as_echo "$GLIB_CFLAGS" >&6; }
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
22918 $as_echo_n "checking GLIB_LIBS... " >&6; }
22919 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
22921 $as_echo "$GLIB_LIBS" >&6; }
22925 ## If we have a custom action on failure, don't print errors, but
22926 ## do set a variable so people can do so.
22927 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22928 echo $GLIB_PKG_ERRORS
22934 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22935 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22939 if test $succeeded = yes; then
22942 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
22951 if test -z "$PKG_CONFIG"; then
22952 # Extract the first word of "pkg-config", so it can be a program name with args.
22953 set dummy pkg-config
; ac_word
=$2
22954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22955 $as_echo_n "checking for $ac_word... " >&6; }
22956 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22957 $as_echo_n "(cached) " >&6
22959 case $PKG_CONFIG in
22961 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22965 for as_dir
in $PATH
22968 test -z "$as_dir" && as_dir
=.
22969 for ac_exec_ext
in '' $ac_executable_extensions; do
22970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22971 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22979 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22983 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22984 if test -n "$PKG_CONFIG"; then
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22986 $as_echo "$PKG_CONFIG" >&6; }
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22989 $as_echo "no" >&6; }
22995 if test "$PKG_CONFIG" = "no" ; then
22996 echo "*** The pkg-config script could not be found. Make sure it is"
22997 echo "*** in your path, or set the PKG_CONFIG environment variable"
22998 echo "*** to the full path to pkg-config."
22999 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23001 PKG_CONFIG_MIN_VERSION
=0.9.0
23002 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libart-2.0 >= 2.1" >&5
23004 $as_echo_n "checking for libart-2.0 >= 2.1... " >&6; }
23006 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23008 $as_echo "yes" >&6; }
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_CFLAGS" >&5
23012 $as_echo_n "checking LIBART_CFLAGS... " >&6; }
23013 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
23014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_CFLAGS" >&5
23015 $as_echo "$LIBART_CFLAGS" >&6; }
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_LIBS" >&5
23018 $as_echo_n "checking LIBART_LIBS... " >&6; }
23019 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_LIBS" >&5
23021 $as_echo "$LIBART_LIBS" >&6; }
23025 ## If we have a custom action on failure, don't print errors, but
23026 ## do set a variable so people can do so.
23027 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
23028 echo $LIBART_PKG_ERRORS
23034 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23035 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23039 if test $succeeded = yes; then
23042 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
23048 # We require the XTest Extension to support java.awt.Robot.
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
23050 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
23051 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
23052 $as_echo_n "(cached) " >&6
23054 ac_check_lib_save_LIBS
=$LIBS
23055 LIBS
="-lXtst ${X_LIBS} $LIBS"
23056 if test x
$gcc_no_link = xyes
; then
23057 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23060 /* end confdefs.h. */
23062 /* Override any GCC internal prototype to avoid an error.
23063 Use char because int might match the return type of a GCC
23064 builtin and then its argument prototype would still apply. */
23068 char XTestQueryExtension ();
23072 return XTestQueryExtension ();
23077 if ac_fn_c_try_link
"$LINENO"; then :
23078 ac_cv_lib_Xtst_XTestQueryExtension
=yes
23080 ac_cv_lib_Xtst_XTestQueryExtension
=no
23082 rm -f core conftest.err conftest.
$ac_objext \
23083 conftest
$ac_exeext conftest.
$ac_ext
23084 LIBS
=$ac_check_lib_save_LIBS
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
23087 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
23088 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
23091 as_fn_error
"libXtst not found, required by java.awt.Robot" "$LINENO" 5
23096 # On Solaris, and maybe other architectures, the Boehm collector
23098 if test "$GC" = boehm
; then
23101 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
23102 # libgcj.spec is used, so override here
23103 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
23107 $as_echo_n "checking for main in -ldl... " >&6; }
23108 if test "${ac_cv_lib_dl_main+set}" = set; then :
23109 $as_echo_n "(cached) " >&6
23111 ac_check_lib_save_LIBS
=$LIBS
23113 if test x
$gcc_no_link = xyes
; then
23114 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23117 /* end confdefs.h. */
23128 if ac_fn_c_try_link
"$LINENO"; then :
23129 ac_cv_lib_dl_main
=yes
23131 ac_cv_lib_dl_main
=no
23133 rm -f core conftest.err conftest.
$ac_objext \
23134 conftest
$ac_exeext conftest.
$ac_ext
23135 LIBS
=$ac_check_lib_save_LIBS
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
23138 $as_echo "$ac_cv_lib_dl_main" >&6; }
23139 if test "x$ac_cv_lib_dl_main" = x
""yes; then :
23140 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
23148 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
23150 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
23151 *) CLASSPATH_SEPARATOR
=':' ;;
23155 # We must search the source tree for java.lang, since we still don't
23156 # have libgcj.jar nor java/lang/*.class
23157 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
23158 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
23160 # Since some classes depend on this one, we need its source available
23161 # before we can do any GCJ compilation test :-(
23162 if test ! -f gnu
/classpath
/Configuration.java
; then
23163 test -d gnu || mkdir gnu
23164 test -d gnu
/classpath || mkdir gnu
/classpath
23165 # Note that it is not crucial that all the values here be correct.
23166 sed -e "s,@prefix@,$expanded_prefix," \
23167 -e "s,@VERSION@,$VERSION," \
23168 -e "s,@LIBDEBUG@,false," \
23169 -e "s,@INIT_LOAD_LIBRARY@,false," \
23170 -e "s,@@,$LIBGCJDEBUG," \
23171 -e "s,@default_toolkit@,$TOOLKIT," \
23172 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
23173 -e "s,@GTK_CAIRO_ENABLED@,false," \
23174 -e "s,@ECJ_JAR@,," \
23175 -e "s,@WANT_NATIVE_BIG_INTEGER@,false," \
23176 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
23177 > gnu
/classpath
/Configuration.java
23178 # We do not want to redirect the output of the grep below to /dev/null,
23179 # but we add /dev/null to the input list so that grep will print the
23180 # filename of Configuration.java in case it finds any matches.
23181 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
23182 as_fn_error
"configure.ac is missing the substitutions above" "$LINENO" 5
23187 if test -n "$ac_tool_prefix"; then
23190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23191 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23193 $as_echo_n "checking for $ac_word... " >&6; }
23194 if test "${ac_cv_prog_GCJ+set}" = set; then :
23195 $as_echo_n "(cached) " >&6
23197 if test -n "$GCJ"; then
23198 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
23200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23201 for as_dir
in $PATH
23204 test -z "$as_dir" && as_dir
=.
23205 for ac_exec_ext
in '' $ac_executable_extensions; do
23206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23207 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
23208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23217 GCJ
=$ac_cv_prog_GCJ
23218 if test -n "$GCJ"; then
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
23220 $as_echo "$GCJ" >&6; }
23222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23223 $as_echo "no" >&6; }
23227 test -n "$GCJ" && break
23230 if test -z "$GCJ"; then
23234 # Extract the first word of "$ac_prog", so it can be a program name with args.
23235 set dummy
$ac_prog; ac_word
=$2
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23237 $as_echo_n "checking for $ac_word... " >&6; }
23238 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
23239 $as_echo_n "(cached) " >&6
23241 if test -n "$ac_ct_GCJ"; then
23242 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
23244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23245 for as_dir
in $PATH
23248 test -z "$as_dir" && as_dir
=.
23249 for ac_exec_ext
in '' $ac_executable_extensions; do
23250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23251 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
23252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23261 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
23262 if test -n "$ac_ct_GCJ"; then
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
23264 $as_echo "$ac_ct_GCJ" >&6; }
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23267 $as_echo "no" >&6; }
23271 test -n "$ac_ct_GCJ" && break
23274 if test "x$ac_ct_GCJ" = x
; then
23277 case $cross_compiling:$ac_tool_warned in
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23281 ac_tool_warned
=yes ;;
23287 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
23288 if test "x${GCJFLAGS-unset}" = xunset
; then
23293 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
23296 $as_echo_n "checking dependency style of $depcc... " >&6; }
23297 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
23298 $as_echo_n "(cached) " >&6
23300 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
23301 # We make a subdir and do the tests there. Otherwise we can end up
23302 # making bogus files that we don't know about and never remove. For
23303 # instance it was reported that on HP-UX the gcc test will end up
23304 # making a dummy file named `D' -- because `-MD' means `put the output
23307 # Copy depcomp to subdir because otherwise we won't find it if we're
23308 # using a relative directory.
23309 cp "$am_depcomp" conftest.dir
23311 # We will build objects and dependencies in a subdirectory because
23312 # it helps to detect inapplicable dependency modes. For instance
23313 # both Tru64's cc and ICC support -MD to output dependencies as a
23314 # side effect of compilation, but ICC will put the dependencies in
23315 # the current directory while Tru64 will put them in the object
23319 am_cv_GCJ_dependencies_compiler_type
=none
23320 if test "$am_compiler_list" = ""; then
23321 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
23323 am__universal
=false
23326 for depmode
in $am_compiler_list; do
23327 # Setup a source with many dependencies, because some compilers
23328 # like to wrap large dependency lists on column 80 (with \), and
23329 # we should not choose a depcomp mode which is confused by this.
23331 # We need to recreate these files for each test, as the compiler may
23332 # overwrite some of them when testing with obscure command lines.
23333 # This happens at least with the AIX C compiler.
23335 for i
in 1 2 3 4 5 6; do
23336 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
23337 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
23338 # Solaris 8's {/usr,}/bin/sh.
23339 touch sub
/conftst
$i.h
23341 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
23343 # We check with `-c' and `-o' for the sake of the "dashmstdout"
23344 # mode. It turns out that the SunPro C++ compiler does not properly
23345 # handle `-M -o', and we need to detect this. Also, some Intel
23346 # versions had trouble with output in subdirs
23347 am__obj
=sub
/conftest.
${OBJEXT-o}
23348 am__minus_obj
="-o $am__obj"
23351 # This depmode causes a compiler race in universal mode.
23352 test "$am__universal" = false ||
continue
23355 # after this tag, mechanisms are not by side-effect, so they'll
23356 # only be used when explicitly requested
23357 if test "x$enable_dependency_tracking" = xyes
; then
23363 msvisualcpp | msvcmsys
)
23364 # This compiler won't grok `-c -o', but also, the minuso test has
23365 # not run yet. These depmodes are late enough in the game, and
23366 # so weak that their functioning should not be impacted.
23367 am__obj
=conftest.
${OBJEXT-o}
23372 if depmode
=$depmode \
23373 source=sub
/conftest.c object
=$am__obj \
23374 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
23375 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
23376 >/dev
/null
2>conftest.err
&&
23377 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23378 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23379 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
23380 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
23381 # icc doesn't choke on unknown options, it will just issue warnings
23382 # or remarks (even with -Werror). So we grep stderr for any message
23383 # that says an option was ignored or not supported.
23384 # When given -MP, icc 7.0 and 7.1 complain thusly:
23385 # icc: Command line warning: ignoring option '-M'; no argument required
23386 # The diagnosis changed in icc 8.0:
23387 # icc: Command line remark: option '-MP' not supported
23388 if (grep 'ignoring option' conftest.err ||
23389 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
23390 am_cv_GCJ_dependencies_compiler_type
=$depmode
23397 rm -rf conftest.dir
23399 am_cv_GCJ_dependencies_compiler_type
=none
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
23404 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
23405 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
23408 test "x$enable_dependency_tracking" != xno \
23409 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
23410 am__fastdepGCJ_TRUE
=
23411 am__fastdepGCJ_FALSE
='#'
23413 am__fastdepGCJ_TRUE
='#'
23414 am__fastdepGCJ_FALSE
=
23421 rm -f gnu
/classpath
/Configuration.java
23423 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
23425 # The cast to long int works around a bug in the HP C Compiler
23426 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23427 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23428 # This bug is HP SR number 8606223364.
23429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
23430 $as_echo_n "checking size of void *... " >&6; }
23431 if test "${ac_cv_sizeof_void_p+set}" = set; then :
23432 $as_echo_n "(cached) " >&6
23434 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
23437 if test "$ac_cv_type_void_p" = yes; then
23438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23440 { as_fn_set_status
77
23441 as_fn_error
"cannot compute sizeof (void *)
23442 See \`config.log' for more details." "$LINENO" 5; }; }
23444 ac_cv_sizeof_void_p
=0
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
23450 $as_echo "$ac_cv_sizeof_void_p" >&6; }
23454 cat >>confdefs.h
<<_ACEOF
23455 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23461 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23462 if test "${ac_cv_c_bigendian+set}" = set; then :
23463 $as_echo_n "(cached) " >&6
23465 ac_cv_c_bigendian
=unknown
23466 # See if we're dealing with a universal compiler.
23467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23468 /* end confdefs.h. */
23469 #ifndef __APPLE_CC__
23470 not a universal capable compiler
23475 if ac_fn_c_try_compile
"$LINENO"; then :
23477 # Check for potential -arch flags. It is not universal unless
23478 # there are at least two -arch flags with different values.
23481 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
23482 if test -n "$ac_prev"; then
23484 i?
86 | x86_64 | ppc | ppc64
)
23485 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
23488 ac_cv_c_bigendian
=universal
23494 elif test "x$ac_word" = "x-arch"; then
23499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23500 if test $ac_cv_c_bigendian = unknown
; then
23501 # See if sys/param.h defines the BYTE_ORDER macro.
23502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23503 /* end confdefs.h. */
23504 #include <sys/types.h>
23505 #include <sys/param.h>
23510 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
23511 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
23513 bogus endian macros
23520 if ac_fn_c_try_compile
"$LINENO"; then :
23521 # It does; now see whether it defined to BIG_ENDIAN or not.
23522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h. */
23524 #include <sys/types.h>
23525 #include <sys/param.h>
23530 #if BYTE_ORDER != BIG_ENDIAN
23538 if ac_fn_c_try_compile
"$LINENO"; then :
23539 ac_cv_c_bigendian
=yes
23541 ac_cv_c_bigendian
=no
23543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23547 if test $ac_cv_c_bigendian = unknown
; then
23548 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
23549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23550 /* end confdefs.h. */
23551 #include <limits.h>
23556 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
23557 bogus endian macros
23564 if ac_fn_c_try_compile
"$LINENO"; then :
23565 # It does; now see whether it defined to _BIG_ENDIAN or not.
23566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23567 /* end confdefs.h. */
23568 #include <limits.h>
23573 #ifndef _BIG_ENDIAN
23581 if ac_fn_c_try_compile
"$LINENO"; then :
23582 ac_cv_c_bigendian
=yes
23584 ac_cv_c_bigendian
=no
23586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23590 if test $ac_cv_c_bigendian = unknown
; then
23591 # Compile a test program.
23592 if test "$cross_compiling" = yes; then :
23593 # Try to guess by grepping values from an object file.
23594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23595 /* end confdefs.h. */
23596 short int ascii_mm[] =
23597 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23598 short int ascii_ii[] =
23599 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23600 int use_ascii (int i) {
23601 return ascii_mm[i] + ascii_ii[i];
23603 short int ebcdic_ii[] =
23604 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23605 short int ebcdic_mm[] =
23606 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23607 int use_ebcdic (int i) {
23608 return ebcdic_mm[i] + ebcdic_ii[i];
23615 return use_ascii (foo) == use_ebcdic (foo);
23620 if ac_fn_c_try_compile
"$LINENO"; then :
23621 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23622 ac_cv_c_bigendian
=yes
23624 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23625 if test "$ac_cv_c_bigendian" = unknown
; then
23626 ac_cv_c_bigendian
=no
23628 # finding both strings is unlikely to happen, but who knows?
23629 ac_cv_c_bigendian
=unknown
23633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23636 /* end confdefs.h. */
23637 $ac_includes_default
23642 /* Are we little or big endian? From Harbison&Steele. */
23646 char c[sizeof (long int)];
23649 return u.c[sizeof (long int) - 1] == 1;
23655 if ac_fn_c_try_run
"$LINENO"; then :
23656 ac_cv_c_bigendian
=no
23658 ac_cv_c_bigendian
=yes
23660 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23661 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
23667 $as_echo "$ac_cv_c_bigendian" >&6; }
23668 case $ac_cv_c_bigendian in #(
23670 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
23676 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
23680 as_fn_error
"unknown endianness
23681 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
23689 if test -z "$ZLIBSPEC"; then
23690 # Use zlib from the GCC tree.
23691 ZINCS
='-I$(top_srcdir)/../zlib'
23692 ZLIBS
=..
/zlib
/libzgcj_convenience.la
23695 SYS_ZLIBS
="$ZLIBSPEC"
23707 if test "$NATIVE" = yes; then
23715 if test "$enable_shared" = yes; then
23716 ENABLE_SHARED_TRUE
=
23717 ENABLE_SHARED_FALSE
='#'
23719 ENABLE_SHARED_TRUE
='#'
23720 ENABLE_SHARED_FALSE
=
23723 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
23724 NEEDS_DATA_START_TRUE
=
23725 NEEDS_DATA_START_FALSE
='#'
23727 NEEDS_DATA_START_TRUE
='#'
23728 NEEDS_DATA_START_FALSE
=
23731 if test -z "${with_multisubdir}"; then
23732 INSTALL_BINARIES_TRUE
=
23733 INSTALL_BINARIES_FALSE
='#'
23735 INSTALL_BINARIES_TRUE
='#'
23736 INSTALL_BINARIES_FALSE
=
23741 # Process the option "--enable-version-specific-runtime-libs"
23742 # Calculate toolexeclibdir
23743 case ${version_specific_libs} in
23745 # Need the gcc compiler version to know where to install libraries
23746 # and header files if --enable-version-specific-runtime-libs option
23748 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
23749 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
23750 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
23751 toolexeclibdir
=$toolexecmainlibdir
23754 if test -n "$with_cross_host" &&
23755 test x
"$with_cross_host" != x
"no"; then
23756 # Install a library built with a cross compiler in tooldir, not libdir.
23757 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
23758 toolexecmainlibdir
='$(toolexecdir)/lib'
23760 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
23761 toolexecmainlibdir
='$(libdir)'
23763 multi_os_directory
=`$CC -print-multi-os-directory`
23764 case $multi_os_directory in
23765 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
23766 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
23774 # Determine gcj and libgcj version number.
23775 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
23776 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
23777 GCJVERSION
=$gcjversion
23780 cat >>confdefs.h
<<_ACEOF
23781 #define GCJVERSION "$GCJVERSION"
23785 # Determine where the standard .db file and GNU Classpath JNI
23786 # libraries are found.
23787 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
23788 multi_os_directory
=`$CC -print-multi-os-directory`
23789 case $multi_os_directory in
23791 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
23794 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
23801 $as_echo "#define JV_VERSION \"1.5.0\"" >>confdefs.h
23804 $as_echo "#define JV_API_VERSION \"1.5\"" >>confdefs.h
23808 case "${with_gxx_include_dir}" in
23810 as_fn_error
"--with-gxx-include-dir=[dir] requires a directory" "$LINENO" 5
23813 case "${enable_version_specific_runtime_libs}" in
23814 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
23816 libstdcxx_incdir
='c++/$(gcc_version)'
23817 gxx_include_dir
='include/$(libstdcxx_incdir)'
23818 if test -n "$with_cross_host" &&
23819 test x
"$with_cross_host" != x
"no"; then
23820 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
23822 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
23825 *) gxx_include_dir
=${with_gxx_include_dir} ;;
23831 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
23832 # On that system, sys/ioctl.h will not include sys/filio.h unless
23833 # BSD_COMP is defined; just including sys/filio.h is simpler.
23834 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
23835 # for now. If you change this, you also must update natFile.cc.
23836 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
23837 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
23838 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h \
23839 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
23840 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
23842 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23843 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23844 eval as_val
=\$
$as_ac_Header
23845 if test "x$as_val" = x
""yes; then :
23846 cat >>confdefs.h
<<_ACEOF
23847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23855 # sys/socket.h is a prerequisite for net/if.h on Solaris.
23856 for ac_header
in net
/if.h
23858 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
23859 #ifdef HAVE_SYS_SOCKET_H
23860 #include <sys/socket.h>
23864 if test "x$ac_cv_header_net_if_h" = x
""yes; then :
23865 cat >>confdefs.h
<<_ACEOF
23866 #define HAVE_NET_IF_H 1
23874 for ac_header
in inttypes.h
23876 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
23877 if test "x$ac_cv_header_inttypes_h" = x
""yes; then :
23878 cat >>confdefs.h
<<_ACEOF
23879 #define HAVE_INTTYPES_H 1
23883 $as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h
23886 $as_echo "#define JV_HAVE_INTTYPES_H 1" >>confdefs.h
23894 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
23895 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
23899 cat >>confdefs.h
<<_ACEOF
23900 #define ssize_t int
23905 ac_fn_c_check_type
"$LINENO" "magic_t" "ac_cv_type_magic_t" "
23906 #ifdef HAVE_MAGIC_H
23910 if test "x$ac_cv_type_magic_t" = x
""yes; then :
23913 $as_echo "#define HAVE_MAGIC_T 1" >>confdefs.h
23918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t" >&5
23919 $as_echo_n "checking for in_addr_t... " >&6; }
23920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23921 /* end confdefs.h. */
23922 #include <sys/types.h>
23924 #include <stdlib.h>
23925 #include <stddef.h>
23927 #if HAVE_NETINET_IN_H
23928 #include <netinet/in.h>
23938 if ac_fn_c_try_compile
"$LINENO"; then :
23940 $as_echo "#define HAVE_IN_ADDR_T 1" >>confdefs.h
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23943 $as_echo "yes" >&6; }
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23946 $as_echo "no" >&6; }
23948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ip_mreq is in netinet/in.h" >&5
23951 $as_echo_n "checking whether struct ip_mreq is in netinet/in.h... " >&6; }
23952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23953 /* end confdefs.h. */
23954 #include <netinet/in.h>
23958 struct ip_mreq mreq;
23963 if ac_fn_c_try_compile
"$LINENO"; then :
23965 $as_echo "#define HAVE_STRUCT_IP_MREQ 1" >>confdefs.h
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23968 $as_echo "yes" >&6; }
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23971 $as_echo "no" >&6; }
23973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ipv6_mreq is in netinet/in.h" >&5
23976 $as_echo_n "checking whether struct ipv6_mreq is in netinet/in.h... " >&6; }
23977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23978 /* end confdefs.h. */
23979 #include <netinet/in.h>
23983 struct ipv6_mreq mreq6;
23988 if ac_fn_c_try_compile
"$LINENO"; then :
23990 $as_echo "#define HAVE_STRUCT_IPV6_MREQ 1" >>confdefs.h
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23993 $as_echo "yes" >&6; }
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23996 $as_echo "no" >&6; }
23998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
24001 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
24002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24003 /* end confdefs.h. */
24004 #include <netinet/in.h>
24008 struct sockaddr_in6 addr6;
24013 if ac_fn_c_try_compile
"$LINENO"; then :
24015 $as_echo "#define HAVE_INET6 1" >>confdefs.h
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24018 $as_echo "yes" >&6; }
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24021 $as_echo "no" >&6; }
24023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
24026 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
24027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24028 /* end confdefs.h. */
24029 #define _POSIX_PII_SOCKET
24030 #include <sys/types.h>
24031 #include <sys/socket.h>
24040 if ac_fn_c_try_compile
"$LINENO"; then :
24042 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24045 $as_echo "yes" >&6; }
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24048 $as_echo "no" >&6; }
24050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
24053 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
24054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24055 /* end confdefs.h. */
24060 struct tm tim; tim.tm_gmtoff = 0;
24065 if ac_fn_c_try_compile
"$LINENO"; then :
24067 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24070 $as_echo "yes" >&6; }
24072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24073 $as_echo "no" >&6; }
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
24075 $as_echo_n "checking for global timezone variable... " >&6; }
24076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24077 /* end confdefs.h. */
24082 void i(){long z2 = 2*timezone;}
24087 if ac_fn_c_try_compile
"$LINENO"; then :
24089 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24092 $as_echo "yes" >&6; }
24094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24095 $as_echo "no" >&6; }
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
24097 $as_echo_n "checking for global _timezone variable... " >&6; }
24098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24099 /* end confdefs.h. */
24104 long z2 = _timezone;
24109 if ac_fn_c_try_compile
"$LINENO"; then :
24111 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24114 $as_echo "yes" >&6; }
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24117 $as_echo "no" >&6; }
24119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24125 for ac_prog
in perl
24127 # Extract the first word of "$ac_prog", so it can be a program name with args.
24128 set dummy
$ac_prog; ac_word
=$2
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24130 $as_echo_n "checking for $ac_word... " >&6; }
24131 if test "${ac_cv_prog_PERL+set}" = set; then :
24132 $as_echo_n "(cached) " >&6
24134 if test -n "$PERL"; then
24135 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
24137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24138 for as_dir
in $PATH
24141 test -z "$as_dir" && as_dir
=.
24142 for ac_exec_ext
in '' $ac_executable_extensions; do
24143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24144 ac_cv_prog_PERL
="$ac_prog"
24145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24154 PERL
=$ac_cv_prog_PERL
24155 if test -n "$PERL"; then
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
24157 $as_echo "$PERL" >&6; }
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24160 $as_echo "no" >&6; }
24164 test -n "$PERL" && break
24166 test -n "$PERL" || PERL
="false"
24170 SIGNAL_HANDLER_AUX
=
24174 SIGNAL_HANDLER
=include
/i386-signal.h
24177 SIGNAL_HANDLER
=include
/solaris-signal.h
24180 # SYSDEP_SOURCES=sysdep/ia64.c
24181 # test -d sysdep || mkdir sysdep
24184 SIGNAL_HANDLER
=include
/pa-signal.h
24187 SIGNAL_HANDLER
=include
/hppa-signal.h
24190 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24193 SIGNAL_HANDLER
=include
/powerpc-signal.h
24196 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24199 SIGNAL_HANDLER
=include
/s390-signal.h
24202 SIGNAL_HANDLER
=include
/x86_64-signal.h
24203 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
24206 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24209 SIGNAL_HANDLER
=include
/sh-signal.h
24212 SIGNAL_HANDLER
=include
/win32-signal.h
24215 SIGNAL_HANDLER
=include
/mips-signal.h
24218 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24220 powerpc
*-*-darwin* | i?
86-*-darwin[912]* | x86_64-
*-darwin[912]*)
24221 SIGNAL_HANDLER
=include
/darwin-signal.h
24224 SIGNAL_HANDLER
=include
/aix-signal.h
24227 SIGNAL_HANDLER
=include
/default-signal.h
24231 # If we're using sjlj exceptions, forget what we just learned.
24232 if test "$enable_sjlj_exceptions" = yes; then
24233 SIGNAL_HANDLER
=include
/default-signal.h
24234 SIGNAL_HANDLER_AUX
=
24239 if test -z "$SIGNAL_HANDLER_AUX"; then
24240 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
24243 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
24246 if test "${multilib}" = "yes"; then
24247 multilib_arg
="--enable-multilib"
24252 # See if we support thread-local storage.
24255 # Check whether --enable-tls was given.
24256 if test "${enable_tls+set}" = set; then :
24257 enableval
=$enable_tls;
24258 case "$enableval" in
24260 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
24268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
24269 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
24270 if test "${gcc_cv_have_tls+set}" = set; then :
24271 $as_echo_n "(cached) " >&6
24274 if test "$cross_compiling" = yes; then :
24275 if test x
$gcc_no_link = xyes
; then
24276 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 __thread int a; int b; int main() { return a = b; }
24282 if ac_fn_c_try_link
"$LINENO"; then :
24283 chktls_save_LDFLAGS
="$LDFLAGS"
24286 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
24289 chktls_save_CFLAGS
="$CFLAGS"
24290 CFLAGS
="-fPIC $CFLAGS"
24291 if test x
$gcc_no_link = xyes
; then
24292 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24295 /* end confdefs.h. */
24296 int f() { return 0; }
24298 if ac_fn_c_try_link
"$LINENO"; then :
24299 if test x
$gcc_no_link = xyes
; then
24300 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24303 /* end confdefs.h. */
24304 __thread int a; int b; int f() { return a = b; }
24306 if ac_fn_c_try_link
"$LINENO"; then :
24307 gcc_cv_have_tls
=yes
24311 rm -f core conftest.err conftest.
$ac_objext \
24312 conftest
$ac_exeext conftest.
$ac_ext
24314 gcc_cv_have_tls
=yes
24316 rm -f core conftest.err conftest.
$ac_objext \
24317 conftest
$ac_exeext conftest.
$ac_ext
24318 CFLAGS
="$chktls_save_CFLAGS"
24319 LDFLAGS
="$chktls_save_LDFLAGS"
24323 rm -f core conftest.err conftest.
$ac_objext \
24324 conftest
$ac_exeext conftest.
$ac_ext
24328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24329 /* end confdefs.h. */
24330 __thread int a; int b; int main() { return a = b; }
24332 if ac_fn_c_try_run
"$LINENO"; then :
24333 chktls_save_LDFLAGS
="$LDFLAGS"
24334 LDFLAGS
="-static $LDFLAGS"
24335 if test x
$gcc_no_link = xyes
; then
24336 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24339 /* end confdefs.h. */
24340 int main() { return 0; }
24342 if ac_fn_c_try_link
"$LINENO"; then :
24343 if test "$cross_compiling" = yes; then :
24344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24346 as_fn_error
"cannot run test program while cross compiling
24347 See \`config.log' for more details." "$LINENO" 5; }
24349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24350 /* end confdefs.h. */
24351 __thread int a; int b; int main() { return a = b; }
24353 if ac_fn_c_try_run
"$LINENO"; then :
24354 gcc_cv_have_tls
=yes
24358 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24359 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24363 gcc_cv_have_tls
=yes
24365 rm -f core conftest.err conftest.
$ac_objext \
24366 conftest
$ac_exeext conftest.
$ac_ext
24367 LDFLAGS
="$chktls_save_LDFLAGS"
24368 if test $gcc_cv_have_tls = yes; then
24369 chktls_save_CFLAGS
="$CFLAGS"
24370 thread_CFLAGS
=failed
24371 for flag
in '' '-pthread' '-lpthread'; do
24372 CFLAGS
="$flag $chktls_save_CFLAGS"
24373 if test x
$gcc_no_link = xyes
; then
24374 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24377 /* end confdefs.h. */
24378 #include <pthread.h>
24379 void *g(void *d) { return NULL; }
24383 pthread_t t; pthread_create(&t,NULL,g,NULL);
24388 if ac_fn_c_try_link
"$LINENO"; then :
24389 thread_CFLAGS
="$flag"
24391 rm -f core conftest.err conftest.
$ac_objext \
24392 conftest
$ac_exeext conftest.
$ac_ext
24393 if test "X$thread_CFLAGS" != Xfailed
; then
24397 CFLAGS
="$chktls_save_CFLAGS"
24398 if test "X$thread_CFLAGS" != Xfailed
; then
24399 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
24400 if test "$cross_compiling" = yes; then :
24401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24403 as_fn_error
"cannot run test program while cross compiling
24404 See \`config.log' for more details." "$LINENO" 5; }
24406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24407 /* end confdefs.h. */
24408 #include <pthread.h>
24410 static int *volatile a_in_other_thread;
24412 thread_func (void *arg)
24414 a_in_other_thread = &a;
24421 void *thread_retval;
24422 int *volatile a_in_main_thread;
24423 a_in_main_thread = &a;
24424 if (pthread_create (&thread, (pthread_attr_t *)0,
24425 thread_func, (void *)0))
24427 if (pthread_join (thread, &thread_retval))
24429 return (a_in_other_thread == a_in_main_thread);
24434 if ac_fn_c_try_run
"$LINENO"; then :
24435 gcc_cv_have_tls
=yes
24439 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24440 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24443 CFLAGS
="$chktls_save_CFLAGS"
24449 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24450 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
24455 $as_echo "$gcc_cv_have_tls" >&6; }
24456 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
24458 $as_echo "#define HAVE_TLS 1" >>confdefs.h
24462 # For _Unwind_GetIPInfo.
24465 # Check whether --with-system-libunwind was given.
24466 if test "${with_system_libunwind+set}" = set; then :
24467 withval
=$with_system_libunwind;
24470 # If system-libunwind was not specifically set, pick a default setting.
24471 if test x
$with_system_libunwind = x
; then
24473 ia64-
*-hpux*) with_system_libunwind
=yes ;;
24474 *) with_system_libunwind
=no
;;
24477 # Based on system-libunwind and target, do we have ipinfo?
24478 if test x
$with_system_libunwind = xyes
; then
24480 ia64-
*-*) have_unwind_getipinfo
=no
;;
24481 *) have_unwind_getipinfo
=yes ;;
24484 # Darwin before version 9 does not have _Unwind_GetIPInfo.
24487 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
24488 *) have_unwind_getipinfo
=yes ;;
24493 if test x
$have_unwind_getipinfo = xyes
; then
24495 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
24500 # See if linker supports anonymous version scripts.
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous version scripts" >&5
24502 $as_echo_n "checking whether ld supports anonymous version scripts... " >&6; }
24503 if test "${libjava_cv_anon_version_script+set}" = set; then :
24504 $as_echo_n "(cached) " >&6
24506 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
24507 libjava_cv_anon_version_script
=no
24508 CFLAGS
="$CFLAGS -fPIC";
24509 LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
24510 echo '{ global: globalsymb*; local: *; };' > conftest.map
24511 if test x
$gcc_no_link = xyes
; then
24512 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24515 /* end confdefs.h. */
24516 void globalsymbol (void) {} void localsymbol (void) {}
24525 if ac_fn_c_try_link
"$LINENO"; then :
24526 libjava_cv_anon_version_script
=gnu
24528 rm -f core conftest.err conftest.
$ac_objext \
24529 conftest
$ac_exeext conftest.
$ac_ext
24530 if test x
$libjava_cv_anon_version_script = xno
; then
24531 case "$target_os" in
24533 LDFLAGS
="$save_LDFLAGS"
24534 LDFLAGS
="$LDFLAGS -shared -Wl,-M,conftest.map"
24535 # Sun ld doesn't understand wildcards here.
24536 echo '{ global: globalsymbol; local: *; };' > conftest.map
24537 if test x
$gcc_no_link = xyes
; then
24538 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24541 /* end confdefs.h. */
24542 void globalsymbol (void) {} void localsymbol (void) {}
24551 if ac_fn_c_try_link
"$LINENO"; then :
24552 libjava_cv_anon_version_script
=sun
24554 rm -f core conftest.err conftest.
$ac_objext \
24555 conftest
$ac_exeext conftest.
$ac_ext
24559 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_anon_version_script" >&5
24563 $as_echo "$libjava_cv_anon_version_script" >&6; }
24564 if test "$libjava_cv_anon_version_script" != no
; then
24565 ANONVERSCRIPT_TRUE
=
24566 ANONVERSCRIPT_FALSE
='#'
24568 ANONVERSCRIPT_TRUE
='#'
24569 ANONVERSCRIPT_FALSE
=
24572 if test "$libjava_cv_anon_version_script" = gnu
; then
24573 ANONVERSCRIPT_GNU_TRUE
=
24574 ANONVERSCRIPT_GNU_FALSE
='#'
24576 ANONVERSCRIPT_GNU_TRUE
='#'
24577 ANONVERSCRIPT_GNU_FALSE
=
24580 if test "$libjava_cv_anon_version_script" = sun
; then
24581 ANONVERSCRIPT_SUN_TRUE
=
24582 ANONVERSCRIPT_SUN_FALSE
='#'
24584 ANONVERSCRIPT_SUN_TRUE
='#'
24585 ANONVERSCRIPT_SUN_FALSE
=
24589 # Check if linker supports static linking on a per library basis
24590 LD_START_STATIC_SPEC
=
24591 LD_FINISH_STATIC_SPEC
=
24592 if $LD --help 2>&1 |
grep -- -call_shared >/dev
/null
2>&1; then
24593 if $LD --help 2>&1 |
grep -- -non_shared >/dev
/null
2>&1; then
24594 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
24595 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
24601 here
=`${PWDCMD-pwd}`
24604 # We get this from the environment.
24608 # Check whether --with-python-dir was given.
24609 if test "${with_python_dir+set}" = set; then :
24610 withval
=$with_python_dir; with_python_dir
=$withval
24616 if test "x${with_python_dir}" = "x"
24618 # Needed for installing Python modules during make install.
24619 python_mod_dir
="\${prefix}/share/python"
24620 # Needed for substituting into aot-compile*
24621 python_mod_dir_expanded
="${expanded_prefix}/share/python"
24623 python_mod_dir
="\${prefix}${with_python_dir}"
24624 python_mod_dir_expanded
="${expanded_prefix}${with_python_dir}"
24626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Python modules dir: ${python_mod_dir_expanded}" >&5
24627 $as_echo "Python modules dir: ${python_mod_dir_expanded}" >&6; };
24631 # needed for aot-compile-rpm
24635 # Check whether --enable-aot-compile-rpm was given.
24636 if test "${enable_aot_compile_rpm+set}" = set; then :
24637 enableval
=$enable_aot_compile_rpm; case "${enableval}" in
24638 yes) AOT_RPM_ENABLED
=yes ;;
24639 no
) AOT_RPM_ENABLED
=no
;;
24640 *) as_fn_error
"Unknown argument to enable/disable aot-compile-rpm" "$LINENO" 5 ;;
24647 if test "x${AOT_RPM_ENABLED}" = xyes
; then
24648 INSTALL_AOT_RPM_TRUE
=
24649 INSTALL_AOT_RPM_FALSE
='#'
24651 INSTALL_AOT_RPM_TRUE
='#'
24652 INSTALL_AOT_RPM_FALSE
=
24656 # Check whether --enable-java-home was given.
24657 if test "${enable_java_home+set}" = set; then :
24658 enableval
=$enable_java_home; case "${enableval}" in
24659 yes) JAVA_HOME_ENABLED
=yes ;;
24660 no
) JAVA_HOME_ENABLED
=no
;;
24661 *) as_fn_error
"Unknown argument to enable/disable java-home" "$LINENO" 5 ;;
24664 JAVA_HOME_ENABLED
=no
24668 if test "x${JAVA_HOME_ENABLED}" = xyes
; then
24669 CREATE_JAVA_HOME_TRUE
=
24670 CREATE_JAVA_HOME_FALSE
='#'
24672 CREATE_JAVA_HOME_TRUE
='#'
24673 CREATE_JAVA_HOME_FALSE
=
24677 # Only do these checks if java-home above is enabled.
24678 if test "x${JAVA_HOME_ENABLED}" = xyes
24682 # Check whether --with-gcc-suffix was given.
24683 if test "${with_gcc_suffix+set}" = set; then :
24684 withval
=$with_gcc_suffix; gcc_suffix
=$withval
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCC suffix: ${gcc_suffix}" >&5
24690 $as_echo "GCC suffix: ${gcc_suffix}" >&6; }
24694 # Check whether --with-arch-directory was given.
24695 if test "${with_arch_directory+set}" = set; then :
24696 withval
=$with_arch_directory; host_cpu
=$withval
24703 # Check whether --with-os-directory was given.
24704 if test "${with_os_directory+set}" = set; then :
24705 withval
=$with_os_directory; host_os
=$withval
24712 # Check whether --with-origin-name was given.
24713 if test "${with_origin_name+set}" = set; then :
24714 withval
=$with_origin_name; origin_name
=$withval
24716 origin_name
=gcj
${gcc_suffix}
24719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JPackage origin name: ${origin_name}" >&5
24720 $as_echo "JPackage origin name: ${origin_name}" >&6; }
24723 # Check whether --with-arch-suffix was given.
24724 if test "${with_arch_suffix+set}" = set; then :
24725 withval
=$with_arch_suffix; arch_suffix
=$withval
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch suffix: ${arch_suffix}" >&5
24731 $as_echo "arch suffix: ${arch_suffix}" >&6; }
24734 # Check whether --with-jvm-root-dir was given.
24735 if test "${with_jvm_root_dir+set}" = set; then :
24736 withval
=$with_jvm_root_dir; jvm_root_dir
=$withval
24738 jvm_root_dir
="\${prefix}/lib/jvm"
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM root installation directory: ${jvm_root_dir}" >&5
24742 $as_echo "JVM root installation directory: ${jvm_root_dir}" >&6; }
24745 # Check whether --with-jvm-jar-dir was given.
24746 if test "${with_jvm_jar_dir+set}" = set; then :
24747 withval
=$with_jvm_jar_dir; jvm_jar_dir
=$withval
24749 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
24752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JAR root installation directory: ${jvm_jar_dir}" >&5
24753 $as_echo "JAR root installation directory: ${jvm_jar_dir}" >&6; }
24759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Java version: ${JAVA_VERSION}" >&5
24760 $as_echo "Java version: ${JAVA_VERSION}" >&6; }
24763 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
24764 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
24766 JVM_ROOT_DIR
=${jvm_root_dir}
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
24769 $as_echo "JVM ROOT directory: ${JVM_ROOT_DIR}" >&6; }
24771 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
24774 $as_echo "JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6; }
24776 JVM_JAR_DIR
=${jvm_jar_dir}
24778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
24779 $as_echo "JVM JAR directory: ${JVM_JAR_DIR}" >&6; }
24790 SDK_BIN_DIR
=${jvm_root_dir}/bin
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
24793 $as_echo "SDK tools directory: ${SDK_BIN_DIR}" >&6; }
24795 SDK_LIB_DIR
=${jvm_root_dir}/lib
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
24798 $as_echo "SDK jar directory: ${SDK_LIB_DIR}" >&6; }
24800 SDK_INCLUDE_DIR
=${jvm_root_dir}/include
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
24803 $as_echo "SDK include directory: ${SDK_INCLUDE_DIR}" >&6; }
24805 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
24808 $as_echo "JRE tools directory: ${JRE_BIN_DIR}" >&6; }
24810 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
24813 $as_echo "JRE lib directory: ${JRE_LIB_DIR}" >&6; }
24815 # Find gcj prefix using gcj found in PATH.
24816 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
24818 # Where do the gcj binaries live?
24819 # For jhbuild based builds, they all live in a sibling of bin called
24820 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
24821 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
24823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
24824 $as_echo "GCJ tools directory: ${GCJ_BIN_DIR}" >&6; }
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host is ${host}" >&5
24827 $as_echo "host is ${host}" >&6; }
24828 if test "x${host_cpu}" = "x"
24831 *-mingw* |
*-cygwin*)
24833 i486-
* | i586-
* | i686-
*)
24838 host_cpu
=${host_cpu};;
24841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch directory: ${host_cpu}" >&5
24842 $as_echo "arch directory: ${host_cpu}" >&6; }
24846 if test "x${host_os}" = "x"
24849 *-mingw* |
*-cygwin*)
24854 host_os
=${host_os};;
24857 echo os directory
: ${host_os}
24861 # make an expanded $libdir, for substituting into
24862 # scripts (and other non-Makefile things).
24864 if test "x${exec_prefix}" = "xNONE"
24866 lib_exec_prefix
=$expanded_prefix
24868 lib_exec_prefix
=$exec_prefix
24870 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
24874 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"
24877 if test ${multilib} = yes; then
24878 multilib_arg
="--enable-multilib"
24883 ac_config_files
="$ac_config_files scripts/jar"
24885 cat >confcache
<<\_ACEOF
24886 # This file is a shell script that caches the results of configure
24887 # tests run on this system so they can be shared between configure
24888 # scripts and configure runs, see configure's option --config-cache.
24889 # It is not useful on other systems. If it contains results you don't
24890 # want to keep, you may remove or edit it.
24892 # config.status only pays attention to the cache file if you give it
24893 # the --recheck option to rerun configure.
24895 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24896 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24897 # following values.
24901 # The following way of writing the cache mishandles newlines in values,
24902 # but we know of no workaround that is simple, portable, and efficient.
24903 # So, we kill variables containing newlines.
24904 # Ultrix sh set writes to stderr and can't be redirected directly,
24905 # and sets the high bit in the cache file unless we assign to the vars.
24907 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24908 eval ac_val
=\$
$ac_var
24912 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24913 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24916 _ | IFS | as_nl
) ;; #(
24917 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24918 *) { eval $ac_var=; unset $ac_var;} ;;
24924 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24925 *${as_nl}ac_space
=\
*)
24926 # `set' does not quote correctly, so add quotes: double-quote
24927 # substitution turns \\\\ into \\, and sed turns \\ into \.
24930 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24933 # `set' quotes correctly as required by POSIX, so do not add quotes.
24934 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24943 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24945 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24947 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24948 if test -w "$cache_file"; then
24949 test "x$cache_file" != "x/dev/null" &&
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24951 $as_echo "$as_me: updating cache $cache_file" >&6;}
24952 cat confcache
>$cache_file
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24955 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24960 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24961 # Let make expand exec_prefix.
24962 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24964 DEFS
=-DHAVE_CONFIG_H
24968 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24969 # 1. Remove the extension, and $U if already installed.
24970 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24971 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24972 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24973 # will be set to the directory where LIBOBJS objects are built.
24974 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24975 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24977 LIBOBJS
=$ac_libobjs
24979 LTLIBOBJS
=$ac_ltlibobjs
24982 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
24983 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
24984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24986 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
24987 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
24988 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24990 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24991 as_fn_error
"conditional \"AMDEP\" was never defined.
24992 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24994 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24995 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24998 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24999 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
25000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25002 if test -n "$EXEEXT"; then
25004 am__EXEEXT_FALSE
='#'
25006 am__EXEEXT_TRUE
='#'
25010 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25011 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
25012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25014 if test -z "${BUILD_SUBLIBS_TRUE}" && test -z "${BUILD_SUBLIBS_FALSE}"; then
25015 as_fn_error
"conditional \"BUILD_SUBLIBS\" was never defined.
25016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25018 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
25019 as_fn_error
"conditional \"XLIB_AWT\" was never defined.
25020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25022 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
25023 as_fn_error
"conditional \"X_AWT\" was never defined.
25024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25026 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25027 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25028 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25030 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25031 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25032 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25034 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
25035 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
25036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25038 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
25039 as_fn_error
"conditional \"BUILD_ECJ1\" was never defined.
25040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25042 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
25043 as_fn_error
"conditional \"INSTALL_ECJ_JAR\" was never defined.
25044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25046 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
25047 as_fn_error
"conditional \"JAVA_HOME_SET\" was never defined.
25048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25050 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
25051 as_fn_error
"conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
25052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25054 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
25055 as_fn_error
"conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
25056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25058 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
25059 as_fn_error
"conditional \"INTERPRETER\" was never defined.
25060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25062 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
25063 as_fn_error
"conditional \"USING_WIN32_PLATFORM\" was never defined.
25064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25066 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
25067 as_fn_error
"conditional \"USING_POSIX_PLATFORM\" was never defined.
25068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25070 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
25071 as_fn_error
"conditional \"USING_DARWIN_CRT\" was never defined.
25072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25074 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
25075 as_fn_error
"conditional \"USING_BOEHMGC\" was never defined.
25076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25078 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
25079 as_fn_error
"conditional \"USING_NOGC\" was never defined.
25080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25082 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
25083 as_fn_error
"conditional \"USING_POSIX_THREADS\" was never defined.
25084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25086 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
25087 as_fn_error
"conditional \"USING_WIN32_THREADS\" was never defined.
25088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25090 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
25091 as_fn_error
"conditional \"USING_NO_THREADS\" was never defined.
25092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25094 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
25095 as_fn_error
"conditional \"USE_LIBGCJ_BC\" was never defined.
25096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25098 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
25099 as_fn_error
"conditional \"USING_GCC\" was never defined.
25100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25102 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25103 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25107 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
25108 as_fn_error
"conditional \"NATIVE\" was never defined.
25109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25111 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
25112 as_fn_error
"conditional \"ENABLE_SHARED\" was never defined.
25113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25115 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
25116 as_fn_error
"conditional \"NEEDS_DATA_START\" was never defined.
25117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25119 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25120 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
25121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25123 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
25124 as_fn_error
"conditional \"ANONVERSCRIPT\" was never defined.
25125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25127 if test -z "${ANONVERSCRIPT_GNU_TRUE}" && test -z "${ANONVERSCRIPT_GNU_FALSE}"; then
25128 as_fn_error
"conditional \"ANONVERSCRIPT_GNU\" was never defined.
25129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25131 if test -z "${ANONVERSCRIPT_SUN_TRUE}" && test -z "${ANONVERSCRIPT_SUN_FALSE}"; then
25132 as_fn_error
"conditional \"ANONVERSCRIPT_SUN\" was never defined.
25133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25135 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
25136 as_fn_error
"conditional \"INSTALL_AOT_RPM\" was never defined.
25137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25139 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
25140 as_fn_error
"conditional \"CREATE_JAVA_HOME\" was never defined.
25141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25144 : ${CONFIG_STATUS=./config.status}
25146 ac_clean_files_save
=$ac_clean_files
25147 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25149 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25151 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25153 # Generated by $as_me.
25154 # Run this file to recreate the current configuration.
25155 # Compiler output produced by configure, useful for debugging
25156 # configure, is in config.log if it exists.
25159 ac_cs_recheck=false
25162 SHELL=\${CONFIG_SHELL-$SHELL}
25165 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25166 ## -------------------- ##
25167 ## M4sh Initialization. ##
25168 ## -------------------- ##
25170 # Be more Bourne compatible
25171 DUALCASE
=1; export DUALCASE
# for MKS sh
25172 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25175 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25176 # is contrary to our usage. Disable this feature.
25177 alias -g '${1+"$@"}'='"$@"'
25178 setopt NO_GLOB_SUBST
25180 case `(set -o) 2>/dev/null` in #(
25192 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25193 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25196 # Prefer a ksh shell builtin over an external printf program on Solaris,
25197 # but without wasting forks for bash or zsh.
25198 if test -z "$BASH_VERSION$ZSH_VERSION" \
25199 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25200 as_echo='print
-r --'
25201 as_echo_n='print
-rn --'
25202 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25203 as_echo='printf %s
\n'
25204 as_echo_n='printf %s
'
25206 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25207 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25208 as_echo_n='/usr
/ucb
/echo -n'
25210 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25211 as_echo_n_body='eval
25215 expr "X$arg" : "X\\(.*\\)$as_nl";
25216 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25218 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25220 export as_echo_n_body
25221 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25223 export as_echo_body
25224 as_echo='sh
-c $as_echo_body as_echo
'
25227 # The user is always right.
25228 if test "${PATH_SEPARATOR+set}" != set; then
25230 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25231 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25238 # We need space, tab and new line, in precisely that order. Quoting is
25239 # there to prevent editors from complaining about space-tab.
25240 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25241 # splitting by setting IFS to empty value.)
25244 # Find who we are. Look in the path if we contain no directory separator.
25246 *[\\/]* ) as_myself=$0 ;;
25247 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25248 for as_dir in $PATH
25251 test -z "$as_dir" && as_dir=.
25252 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25258 # We did not find ourselves, most probably we were run as `sh COMMAND'
25259 # in which case we are not to be found in the path.
25260 if test "x$as_myself" = x
; then
25263 if test ! -f "$as_myself"; then
25264 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25268 # Unset variables that we do not need and which cause bugs (e.g. in
25269 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25270 # suppresses any "Segmentation fault" message there. '((' could
25271 # trigger a bug in pdksh 5.2.14.
25272 for as_var
in BASH_ENV ENV MAIL MAILPATH
25273 do eval test x\
${$as_var+set} = xset \
25274 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25287 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25290 # as_fn_error ERROR [LINENO LOG_FD]
25291 # ---------------------------------
25292 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25293 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25294 # script with status $?, using 1 if that was 0.
25297 as_status
=$?
; test $as_status -eq 0 && as_status
=1
25299 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25300 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25302 $as_echo "$as_me: error: $1" >&2
25303 as_fn_exit
$as_status
25307 # as_fn_set_status STATUS
25308 # -----------------------
25309 # Set $? to STATUS, without forking.
25310 as_fn_set_status
()
25313 } # as_fn_set_status
25315 # as_fn_exit STATUS
25316 # -----------------
25317 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25321 as_fn_set_status
$1
25327 # Portably unset VAR.
25330 { eval $1=; unset $1;}
25332 as_unset
=as_fn_unset
25333 # as_fn_append VAR VALUE
25334 # ----------------------
25335 # Append the text in VALUE to the end of the definition contained in VAR. Take
25336 # advantage of any shell optimizations that allow amortized linear growth over
25337 # repeated appends, instead of the typical quadratic growth present in naive
25339 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25340 eval 'as_fn_append ()
25351 # as_fn_arith ARG...
25352 # ------------------
25353 # Perform arithmetic evaluation on the ARGs, and store the result in the
25354 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25355 # must be portable across $(()) and expr.
25356 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25357 eval 'as_fn_arith ()
25364 as_val
=`expr "$@" || test $? -eq 1`
25369 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25370 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25376 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25377 as_basename
=basename
25382 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25388 as_me
=`$as_basename -- "$0" ||
25389 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25390 X"$0" : 'X\(//\)$' \| \
25391 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25393 sed '/^.*\/\([^/][^/]*\)\/*$/{
25407 # Avoid depending upon Character Ranges.
25408 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25409 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25410 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25411 as_cr_digits
='0123456789'
25412 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25414 ECHO_C
= ECHO_N
= ECHO_T
=
25415 case `echo -n x` in #(((((
25417 case `echo 'xy\c'` in
25418 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25420 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25427 rm -f conf$$ conf$$.exe conf$$.
file
25428 if test -d conf$$.dir
; then
25429 rm -f conf$$.dir
/conf$$.
file
25432 mkdir conf$$.dir
2>/dev
/null
25434 if (echo >conf$$.
file) 2>/dev
/null
; then
25435 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25437 # ... but there are two gotchas:
25438 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25439 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25440 # In both cases, we have to default to `cp -p'.
25441 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25443 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25451 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25452 rmdir conf$$.dir
2>/dev
/null
25457 # Create "$as_dir" as a directory, including parents if necessary.
25462 -*) as_dir
=.
/$as_dir;;
25464 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25468 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25469 *) as_qdir
=$as_dir;;
25471 as_dirs
="'$as_qdir' $as_dirs"
25472 as_dir
=`$as_dirname -- "$as_dir" ||
25473 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25474 X"$as_dir" : 'X\(//\)[^/]' \| \
25475 X"$as_dir" : 'X\(//\)$' \| \
25476 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25477 $as_echo X"$as_dir" |
25478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25482 /^X\(\/\/\)[^/].*/{
25495 test -d "$as_dir" && break
25497 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25498 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25502 if mkdir
-p .
2>/dev
/null
; then
25503 as_mkdir_p
='mkdir -p "$as_dir"'
25505 test -d .
/-p && rmdir .
/-p
25509 if test -x / >/dev
/null
2>&1; then
25510 as_test_x
='test -x'
25512 if ls -dL / >/dev
/null
2>&1; then
25519 if test -d "$1"; then
25525 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25526 ???[sx]*):;;*)false;;esac;fi
25530 as_executable_p
=$as_test_x
25532 # Sed expression to map a string onto a valid CPP name.
25533 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25535 # Sed expression to map a string onto a valid variable name.
25536 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25540 ## ----------------------------------- ##
25541 ## Main body of $CONFIG_STATUS script. ##
25542 ## ----------------------------------- ##
25544 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25547 # Save the log message, to keep $0 and so on meaningful, and to
25548 # report actual input values of CONFIG_FILES etc. instead of their
25549 # values after options handling.
25551 This file was extended by libjava $as_me version-unused, which was
25552 generated by GNU Autoconf 2.64. Invocation command line was
25554 CONFIG_FILES = $CONFIG_FILES
25555 CONFIG_HEADERS = $CONFIG_HEADERS
25556 CONFIG_LINKS = $CONFIG_LINKS
25557 CONFIG_COMMANDS = $CONFIG_COMMANDS
25560 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25565 case $ac_config_files in *"
25566 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25569 case $ac_config_headers in *"
25570 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25575 # Files that config.status was made for.
25576 config_files="$ac_config_files"
25577 config_headers="$ac_config_headers"
25578 config_links="$ac_config_links"
25579 config_commands="$ac_config_commands"
25583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25585 \`$as_me' instantiates files and other configuration actions
25586 from templates according to the current configuration. Unless the files
25587 and actions are specified as TAGs, all are instantiated by default.
25589 Usage: $0 [OPTION]... [TAG]...
25591 -h, --help print this help, then exit
25592 -V, --version print version number and configuration settings, then exit
25593 -q, --quiet, --silent
25594 do not print progress messages
25595 -d, --debug don't remove temporary files
25596 --recheck update $as_me by reconfiguring in the same conditions
25597 --file=FILE[:TEMPLATE]
25598 instantiate the configuration file FILE
25599 --header=FILE[:TEMPLATE]
25600 instantiate the configuration header FILE
25602 Configuration files:
25605 Configuration headers:
25608 Configuration links:
25611 Configuration commands:
25614 Report bugs to the package provider."
25617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25619 libjava config.status version-unused
25620 configured by $0, generated by GNU Autoconf 2.64,
25621 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25623 Copyright (C) 2009 Free Software Foundation, Inc.
25624 This config.status script is free software; the Free Software Foundation
25625 gives unlimited permission to copy, distribute and modify it."
25632 test -n "\$AWK" || AWK=awk
25635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25636 # The default lists apply if the user does not specify any file.
25642 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25643 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25654 # Handling of the options.
25655 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25657 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25658 $as_echo "$ac_cs_version"; exit ;;
25659 --debug |
--debu |
--deb |
--de |
--d |
-d )
25661 --file |
--fil |
--fi |
--f )
25664 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25666 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25667 ac_need_defaults
=false
;;
25668 --header |
--heade |
--head |
--hea )
25671 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25673 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25674 ac_need_defaults
=false
;;
25676 # Conflict between --help and --header
25677 as_fn_error
"ambiguous option: \`$1'
25678 Try \`$0 --help' for more information.";;
25679 --help |
--hel |
-h )
25680 $as_echo "$ac_cs_usage"; exit ;;
25681 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25682 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25685 # This is an error.
25686 -*) as_fn_error
"unrecognized option: \`$1'
25687 Try \`$0 --help' for more information." ;;
25689 *) as_fn_append ac_config_targets
" $1"
25690 ac_need_defaults
=false
;;
25696 ac_configure_extra_args
=
25698 if $ac_cs_silent; then
25700 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25705 if \$ac_cs_recheck; then
25706 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25708 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25709 CONFIG_SHELL='$SHELL'
25710 export CONFIG_SHELL
25715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25719 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25720 ## Running $as_me. ##
25726 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25734 with_multisubdir="$with_multisubdir"
25735 with_multisrctop="$with_multisrctop"
25736 with_target_subdir="$with_target_subdir"
25737 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25738 multi_basedir="$multi_basedir"
25739 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25742 GFORTRAN="$GFORTRAN"
25744 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25747 # The HP-UX ksh and POSIX shell print the target directory to stdout
25748 # if CDPATH is set.
25749 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25751 sed_quote_subst='$sed_quote_subst'
25752 double_quote_subst='$double_quote_subst'
25753 delay_variable_subst='$delay_variable_subst'
25754 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25755 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25756 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25757 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25758 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25759 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25760 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25761 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25762 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25763 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25764 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25765 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25766 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25767 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25768 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25769 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25770 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25771 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25772 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25773 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25774 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25775 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25776 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25777 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25778 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25779 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25780 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25781 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25782 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25783 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25784 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25785 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25786 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25787 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25788 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25789 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25790 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25791 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25792 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25793 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25794 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25795 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25796 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25797 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25798 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25799 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25800 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25801 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25802 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"`'
25803 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25804 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25805 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25806 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25807 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25808 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25809 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25810 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25811 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25812 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25813 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25814 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25815 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25816 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25817 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25818 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25819 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25820 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25821 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25822 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25823 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25824 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25825 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25826 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25827 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25828 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25829 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25830 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25831 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25832 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25833 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25834 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25835 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25836 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25837 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25838 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25839 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25840 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25841 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25842 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25843 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25844 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25845 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25846 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25847 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25848 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25849 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25850 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25851 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25852 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25853 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25854 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25855 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25856 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25857 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25858 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25859 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25860 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25861 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25862 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25863 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25864 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25865 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25866 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25867 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25868 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25869 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25870 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25871 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25872 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25873 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25874 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25875 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25876 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25877 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25878 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25879 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25880 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25881 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
25882 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25883 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25884 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25885 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25886 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25887 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25888 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25889 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
25890 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25891 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
25892 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25893 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25894 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25895 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
25896 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25897 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
25898 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25899 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
25900 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25901 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
25902 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25903 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
25904 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25905 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
25906 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25907 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25908 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25909 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25910 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25911 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
25912 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25913 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25914 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25915 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25916 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25917 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25918 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25919 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25920 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25921 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25922 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25923 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25924 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25925 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25926 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25927 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25928 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25929 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25930 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25931 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25932 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25933 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "$hardcode_libdir_flag_spec_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25934 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25935 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
25936 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25937 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
25938 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25939 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
25940 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25941 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
25942 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25943 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
25944 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25945 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
25946 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25947 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
25948 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25949 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
25950 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
25951 fix_srcfile_path_GCJ='`$ECHO "$fix_srcfile_path_GCJ" | $SED "$delay_single_quote_subst"`'
25952 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25953 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
25954 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25955 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25956 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25957 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
25958 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25959 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
25960 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25961 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25962 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25963 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25964 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25965 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
25966 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25967 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
25968 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25969 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
25970 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25971 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
25972 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25973 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
25974 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25975 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
25976 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25977 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
25980 LTCFLAGS='$LTCFLAGS'
25981 compiler='$compiler_DEFAULT'
25983 # A function that is used when there is no print builtin or printf.
25984 func_fallback_echo ()
25986 eval 'cat <<_LTECHO_EOF
25991 # Quote evaled strings.
26005 deplibs_check_method \
26014 lt_cv_sys_global_symbol_pipe \
26015 lt_cv_sys_global_symbol_to_cdecl \
26016 lt_cv_sys_global_symbol_to_c_name_address \
26017 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26018 lt_prog_compiler_no_builtin_flag \
26019 lt_prog_compiler_wl \
26020 lt_prog_compiler_pic \
26021 lt_prog_compiler_static \
26022 lt_cv_prog_compiler_c_o \
26030 export_dynamic_flag_spec \
26031 whole_archive_flag_spec \
26032 compiler_needs_object \
26034 allow_undefined_flag \
26035 no_undefined_flag \
26036 hardcode_libdir_flag_spec \
26037 hardcode_libdir_flag_spec_ld \
26038 hardcode_libdir_separator \
26043 variables_saved_for_relink \
26045 library_names_spec \
26047 install_override_mode \
26051 compiler_lib_search_dirs \
26056 compiler_lib_search_path \
26063 lt_prog_compiler_no_builtin_flag_CXX \
26064 lt_prog_compiler_no_builtin_flag_GCJ \
26065 lt_prog_compiler_wl_CXX \
26066 lt_prog_compiler_wl_GCJ \
26067 lt_prog_compiler_pic_CXX \
26068 lt_prog_compiler_pic_GCJ \
26069 lt_prog_compiler_static_CXX \
26070 lt_prog_compiler_static_GCJ \
26071 lt_cv_prog_compiler_c_o_CXX \
26072 lt_cv_prog_compiler_c_o_GCJ \
26073 export_dynamic_flag_spec_CXX \
26074 export_dynamic_flag_spec_GCJ \
26075 whole_archive_flag_spec_CXX \
26076 whole_archive_flag_spec_GCJ \
26077 compiler_needs_object_CXX \
26078 compiler_needs_object_GCJ \
26081 allow_undefined_flag_CXX \
26082 allow_undefined_flag_GCJ \
26083 no_undefined_flag_CXX \
26084 no_undefined_flag_GCJ \
26085 hardcode_libdir_flag_spec_CXX \
26086 hardcode_libdir_flag_spec_GCJ \
26087 hardcode_libdir_flag_spec_ld_CXX \
26088 hardcode_libdir_flag_spec_ld_GCJ \
26089 hardcode_libdir_separator_CXX \
26090 hardcode_libdir_separator_GCJ \
26091 fix_srcfile_path_CXX \
26092 fix_srcfile_path_GCJ \
26093 exclude_expsyms_CXX \
26094 exclude_expsyms_GCJ \
26095 include_expsyms_CXX \
26096 include_expsyms_GCJ \
26097 file_list_spec_CXX \
26098 file_list_spec_GCJ \
26099 compiler_lib_search_dirs_CXX \
26100 compiler_lib_search_dirs_GCJ \
26101 predep_objects_CXX \
26102 predep_objects_GCJ \
26103 postdep_objects_CXX \
26104 postdep_objects_GCJ \
26109 compiler_lib_search_path_CXX \
26110 compiler_lib_search_path_GCJ; do
26111 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26112 *[\\\\\\\`\\"\\\$]*)
26113 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26116 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26121 # Double-quote double-evaled strings.
26122 for var in reload_cmds \
26123 old_postinstall_cmds \
26124 old_postuninstall_cmds \
26126 extract_expsyms_cmds \
26127 old_archive_from_new_cmds \
26128 old_archive_from_expsyms_cmds \
26130 archive_expsym_cmds \
26132 module_expsym_cmds \
26133 export_symbols_cmds \
26136 postuninstall_cmds \
26138 sys_lib_search_path_spec \
26139 sys_lib_dlsearch_path_spec \
26142 old_archive_cmds_CXX \
26143 old_archive_cmds_GCJ \
26144 old_archive_from_new_cmds_CXX \
26145 old_archive_from_new_cmds_GCJ \
26146 old_archive_from_expsyms_cmds_CXX \
26147 old_archive_from_expsyms_cmds_GCJ \
26150 archive_expsym_cmds_CXX \
26151 archive_expsym_cmds_GCJ \
26154 module_expsym_cmds_CXX \
26155 module_expsym_cmds_GCJ \
26156 export_symbols_cmds_CXX \
26157 export_symbols_cmds_GCJ \
26159 prelink_cmds_GCJ; do
26160 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26161 *[\\\\\\\`\\"\\\$]*)
26162 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26165 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26170 ac_aux_dir='$ac_aux_dir'
26171 xsi_shell='$xsi_shell'
26172 lt_shell_append='$lt_shell_append'
26174 # See if we are running on zsh, and set the options which allow our
26175 # commands through without removal of \ escapes INIT.
26176 if test -n "\${ZSH_VERSION+set}" ; then
26177 setopt NO_GLOB_SUBST
26183 TIMESTAMP='$TIMESTAMP'
26196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26198 # Handling of arguments.
26199 for ac_config_target
in $ac_config_targets
26201 case $ac_config_target in
26202 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26203 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26204 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
26205 "gcj/libgcj-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
26206 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26207 "include/platform.h") CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
26208 "java/io/natFile.cc") CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
26209 "java/lang/natConcreteProcess.cc") CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
26210 "java/net/natVMInetAddress.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
26211 "java/net/natVMNetworkInterface.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
26212 "gnu/java/net/natPlainSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
26213 "gnu/java/net/natPlainDatagramSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
26214 "gnu/java/nio/natVMPipe.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
26215 "gnu/java/nio/natVMSelector.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
26216 "gnu/java/nio/channels/natFileChannelImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
26217 "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" ;;
26218 "include/java-gc.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
26219 "include/java-threads.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
26220 "sysdep/locks.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
26221 "sysdep/backtrace.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
26222 "sysdep/descriptor.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
26223 "include/java-signal.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
26224 "include/java-signal-aux.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
26225 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26226 "libgcj.pc") CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
26227 "libgcj.spec") CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
26228 "libgcj-test.spec") CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
26229 "gcj/Makefile") CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
26230 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
26231 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
26232 "contrib/aotcompile.py") CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
26233 "contrib/aot-compile") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
26234 "contrib/aot-compile-rpm") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
26235 "contrib/generate-cacerts.pl") CONFIG_FILES
="$CONFIG_FILES contrib/generate-cacerts.pl" ;;
26236 "contrib/rebuild-gcj-db") CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
26237 "scripts/jar") CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
26239 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26244 # If the user did not use the arguments to specify the items to instantiate,
26245 # then the envvar interface is used. Set only those that are not.
26246 # We use the long form for the default assignment because of an extremely
26247 # bizarre bug on SunOS 4.1.3.
26248 if $ac_need_defaults; then
26249 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26250 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26251 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26252 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26255 # Have a temporary directory for convenience. Make it in the build tree
26256 # simply because there is no reason against having it here, and in addition,
26257 # creating and moving files from /tmp can sometimes cause problems.
26258 # Hook for its removal unless debugging.
26259 # Note that there is a small window in which the directory will not be cleaned:
26260 # after its creation but before its name has been assigned to `$tmp'.
26264 trap 'exit_status=$?
26265 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26267 trap 'as_fn_exit 1' 1 2 13 15
26269 # Create a (secure) tmp directory for tmp files.
26272 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26273 test -n "$tmp" && test -d "$tmp"
26276 tmp
=.
/conf$$
-$RANDOM
26277 (umask 077 && mkdir
"$tmp")
26278 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
26280 # Set up the scripts for CONFIG_FILES section.
26281 # No need to generate them if there are no CONFIG_FILES.
26282 # This happens for instance with `./config.status config.h'.
26283 if test -n "$CONFIG_FILES"; then
26286 ac_cr
=`echo X | tr X '\015'`
26287 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26288 # But we know of no other shell where ac_cr would be empty at this
26289 # point, so we can use a bashism as a fallback.
26290 if test "x$ac_cr" = x
; then
26291 eval ac_cr
=\$
\'\\r
\'
26293 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26294 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26297 ac_cs_awk_cr
=$ac_cr
26300 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26305 echo "cat >conf$$subs.awk <<_ACEOF" &&
26306 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26308 } >conf$$subs.sh ||
26309 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26310 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26312 for ac_last_try in false false false false false :; do
26313 . ./conf$$subs.sh ||
26314 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26316 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26317 if test $ac_delim_n = $ac_delim_num; then
26319 elif $ac_last_try; then
26320 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26322 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26325 rm -f conf$$subs.sh
26327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26328 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26332 s/^/S["/; s
/!.
*/"]=/
26342 s/\(.\{148\}\).*/\1/
26344 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26349 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26356 s/\(.\{148\}\).*/\1/
26358 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26362 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26367 ' <conf$$subs.awk | sed '
26372 ' >>$CONFIG_STATUS || ac_write_fail=1
26373 rm -f conf$$subs.awk
26374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26376 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26377 for (key in S) S_is_set[key] = 1
26383 nfields = split(line, field, "@
")
26385 len = length(field[1])
26386 for (i = 2; i < nfields; i++) {
26388 keylen = length(key)
26389 if (S_is_set[key]) {
26391 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26392 len += length(value) + length(field[++i])
26403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26404 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26405 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26408 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26409 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26412 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26413 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26414 # trailing colons and then remove the whole line if VPATH becomes empty
26415 # (actually we leave an empty line to preserve line numbers).
26416 if test "x
$srcdir" = x.; then
26417 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26418 s/:*\$(srcdir):*/:/
26419 s/:*\${srcdir}:*/:/
26421 s/^\([^=]*=[ ]*\):*/\1/
26427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26428 fi # test -n "$CONFIG_FILES"
26430 # Set up the scripts for CONFIG_HEADERS section.
26431 # No need to generate them if there are no CONFIG_HEADERS.
26432 # This happens for instance with `./config.status Makefile'.
26433 if test -n "$CONFIG_HEADERS"; then
26434 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26438 # Transform confdefs.h into an awk script `defines.awk', embedded as
26439 # here-document in config.status, that substitutes the proper values into
26440 # config.h.in to produce config.h.
26442 # Create a delimiter string that does not exist in confdefs.h, to ease
26443 # handling of long lines.
26445 for ac_last_try in false false :; do
26446 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26447 if test -z "$ac_t"; then
26449 elif $ac_last_try; then
26450 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26452 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26456 # For the awk script, D is an array of macro values keyed by name,
26457 # likewise P contains macro parameters if any. Preserve backslash
26458 # newline sequences.
26460 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26462 s/.\{148\}/&'"$ac_delim"'/g
26465 s/^[ ]*#[ ]*define[ ][ ]*/ /
26472 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26474 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26478 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26479 D["\
1"]=" \
3\\\\\\n
"\\/p
26481 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26486 s/.\{148\}/&'"$ac_delim"'/g
26491 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26494 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26496 ' <confdefs.h | sed '
26497 s/'"$ac_delim"'/"\\\
26498 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26500 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26501 for (key in D) D_is_set[key] = 1
26504 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26506 split(line, arg, " ")
26507 if (arg[1] == "#") {
26511 defundef
= substr
(arg
[1], 2)
26514 split(mac1
, mac2
, "(") #)
26516 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26517 if (D_is_set
[macro
]) {
26518 # Preserve the white space surrounding the "#".
26519 print prefix
"define", macro P
[macro
] D
[macro
]
26522 # Replace #undef with comments. This is necessary, for example,
26523 # in the case of _POSIX_SOURCE, which is predefined and required
26524 # on some systems where configure will not decide to define it.
26525 if (defundef
== "undef") {
26526 print
"/*", prefix defundef
, macro
, "*/"
26534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26535 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26536 fi # test -n "$CONFIG_HEADERS"
26539 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26544 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26546 case $ac_mode$ac_tag in
26548 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26549 :[FH
]-) ac_tag
=-:-;;
26550 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26567 -) ac_f
="$tmp/stdin";;
26568 *) # Look for the file first in the build tree, then in the source tree
26569 # (if the path is not absolute). The absolute path cannot be DOS-style,
26570 # because $ac_f cannot contain `:'.
26574 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26576 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26578 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26579 as_fn_append ac_file_inputs
" '$ac_f'"
26582 # Let's still pretend it is `configure' which instantiates (i.e., don't
26583 # use $as_me), people would be surprised to read:
26584 # /* config.h. Generated by config.status. */
26585 configure_input
='Generated from '`
26586 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26588 if test x
"$ac_file" != x-
; then
26589 configure_input
="$ac_file. $configure_input"
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26591 $as_echo "$as_me: creating $ac_file" >&6;}
26593 # Neutralize special characters interpreted by sed in replacement strings.
26594 case $configure_input in #(
26595 *\
&* |
*\|
* |
*\\* )
26596 ac_sed_conf_input
=`$as_echo "$configure_input" |
26597 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26598 *) ac_sed_conf_input
=$configure_input;;
26602 *:-:* |
*:-) cat >"$tmp/stdin" \
26603 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26608 ac_dir
=`$as_dirname -- "$ac_file" ||
26609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26610 X"$ac_file" : 'X\(//\)[^/]' \| \
26611 X"$ac_file" : 'X\(//\)$' \| \
26612 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26613 $as_echo X"$ac_file" |
26614 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26618 /^X\(\/\/\)[^/].*/{
26631 as_dir
="$ac_dir"; as_fn_mkdir_p
26635 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26637 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26638 # A ".." for each directory in $ac_dir_suffix.
26639 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26640 case $ac_top_builddir_sub in
26641 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26642 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26645 ac_abs_top_builddir
=$ac_pwd
26646 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26647 # for backward compatibility:
26648 ac_top_builddir
=$ac_top_build_prefix
26651 .
) # We are building in place.
26653 ac_top_srcdir
=$ac_top_builddir_sub
26654 ac_abs_top_srcdir
=$ac_pwd ;;
26655 [\\/]* | ?
:[\\/]* ) # Absolute name.
26656 ac_srcdir
=$srcdir$ac_dir_suffix;
26657 ac_top_srcdir
=$srcdir
26658 ac_abs_top_srcdir
=$srcdir ;;
26659 *) # Relative name.
26660 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26661 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26662 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26664 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26674 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26675 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26677 ac_MKDIR_P
=$MKDIR_P
26679 [\\/$
]* | ?
:[\\/]* ) ;;
26680 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26685 # If the template does not know about datarootdir, expand it.
26686 # FIXME: This hack should be removed a few years after 2.60.
26687 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26698 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26699 *datarootdir
*) ac_datarootdir_seen
=yes;;
26700 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26702 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26705 ac_datarootdir_hack='
26706 s&@datadir@&$datadir&g
26707 s&@docdir@&$docdir&g
26708 s&@infodir@&$infodir&g
26709 s&@localedir@&$localedir&g
26710 s&@mandir@&$mandir&g
26711 s&\\\${datarootdir}&$datarootdir&g' ;;
26715 # Neutralize VPATH when `$srcdir' = `.'.
26716 # Shell code in configure.ac might set extrasub.
26717 # FIXME: do we really want to maintain this feature?
26718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26719 ac_sed_extra="$ac_vpsub
26722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26724 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26725 s|@configure_input@|
$ac_sed_conf_input|
;t t
26726 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26727 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26728 s
&@srcdir@
&$ac_srcdir&;t t
26729 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26730 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26731 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26732 s
&@builddir@
&$ac_builddir&;t t
26733 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26734 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26735 s
&@INSTALL@
&$ac_INSTALL&;t t
26736 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26737 $ac_datarootdir_hack
26739 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26740 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26742 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26743 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26744 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26746 which seems to be undefined. Please make sure it is defined." >&5
26747 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26748 which seems to be undefined. Please make sure it is defined." >&2;}
26752 -) cat "$tmp/out" && rm -f "$tmp/out";;
26753 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26755 || as_fn_error "could not create $ac_file" "$LINENO" 5
26761 if test x"$ac_file" != x-; then
26763 $as_echo "/* $configure_input */" \
26764 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26765 } >"$tmp/config.h" \
26766 || as_fn_error "could not create $ac_file" "$LINENO" 5
26767 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26768 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26769 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26772 mv "$tmp/config.h" "$ac_file" \
26773 || as_fn_error "could not create $ac_file" "$LINENO" 5
26776 $as_echo "/* $configure_input */" \
26777 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26778 || as_fn_error "could not create -" "$LINENO" 5
26780 # Compute "$ac_file"'s index
in $config_headers.
26783 for _am_header
in $config_headers :; do
26784 case $_am_header in
26785 $_am_arg |
$_am_arg:* )
26788 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26791 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26792 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26793 X"$_am_arg" : 'X\(//\)[^/]' \| \
26794 X"$_am_arg" : 'X\(//\)$' \| \
26795 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26796 $as_echo X"$_am_arg" |
26797 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26801 /^X\(\/\/\)[^/].*/{
26813 s/.*/./; q'`/stamp-h
$_am_stamp_count
26820 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26823 # Prefer the file from the source tree if names are identical.
26824 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26825 ac_source
=$srcdir/$ac_source
26828 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26829 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26831 if test ! -r "$ac_source"; then
26832 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26836 # Try a relative symlink, then a hard link, then a copy.
26838 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26839 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26841 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26842 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26843 cp -p "$ac_source" "$ac_file" ||
26844 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26847 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26848 $as_echo "$as_me: executing $ac_file commands" >&6;}
26853 case $ac_file$ac_mode in
26855 # Only add multilib support code if we just rebuilt the top-level
26857 case " $CONFIG_FILES " in
26859 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26862 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26863 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26864 # are listed without --file. Let's play safe and only enable the eval
26865 # if we detect the quoting.
26866 case $CONFIG_FILES in
26867 *\'*) eval set x
"$CONFIG_FILES" ;;
26868 *) set x
$CONFIG_FILES ;;
26873 # Strip MF so we end up with the name of the file.
26874 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26875 # Check whether this is an Automake generated Makefile or not.
26876 # We used to match only the files named `Makefile.in', but
26877 # some people rename them; so instead we look at the file content.
26878 # Grep'ing the first line is not enough: some people post-process
26879 # each Makefile.in and add a new line on top of each file to say so.
26880 # Grep'ing the whole file is not good either: AIX grep has a line
26881 # limit of 2048, but all sed's we know have understand at least 4000.
26882 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26883 dirpart
=`$as_dirname -- "$mf" ||
26884 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26885 X"$mf" : 'X\(//\)[^/]' \| \
26886 X"$mf" : 'X\(//\)$' \| \
26887 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26893 /^X\(\/\/\)[^/].*/{
26909 # Extract the definition of DEPDIR, am__include, and am__quote
26910 # from the Makefile without running `make'.
26911 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26912 test -z "$DEPDIR" && continue
26913 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26914 test -z "am__include" && continue
26915 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26916 # When using ansi2knr, U may be empty or an underscore; expand it
26917 U
=`sed -n 's/^U = //p' < "$mf"`
26918 # Find all dependency output files, they are included files with
26919 # $(DEPDIR) in their names. We invoke sed twice because it is the
26920 # simplest approach to changing $(DEPDIR) to its actual value in the
26922 for file in `sed -n "
26923 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26924 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26925 # Make sure the directory exists.
26926 test -f "$dirpart/$file" && continue
26927 fdir
=`$as_dirname -- "$file" ||
26928 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26929 X"$file" : 'X\(//\)[^/]' \| \
26930 X"$file" : 'X\(//\)$' \| \
26931 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26932 $as_echo X"$file" |
26933 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26937 /^X\(\/\/\)[^/].*/{
26950 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26951 # echo "creating $dirpart/$file"
26952 echo '# dummy' > "$dirpart/$file"
26959 # See if we are running on zsh, and set the options which allow our
26960 # commands through without removal of \ escapes.
26961 if test -n "${ZSH_VERSION+set}" ; then
26962 setopt NO_GLOB_SUBST
26965 cfgfile
="${ofile}T"
26966 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26969 cat <<_LT_EOF >> "$cfgfile"
26972 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26973 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26974 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26975 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26977 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26978 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26979 # Written by Gordon Matzigkeit, 1996
26981 # This file is part of GNU Libtool.
26983 # GNU Libtool is free software; you can redistribute it and/or
26984 # modify it under the terms of the GNU General Public License as
26985 # published by the Free Software Foundation; either version 2 of
26986 # the License, or (at your option) any later version.
26988 # As a special exception to the GNU General Public License,
26989 # if you distribute this file as part of a program or library that
26990 # is built using GNU Libtool, you may include this file under the
26991 # same distribution terms that you use for the rest of that program.
26993 # GNU Libtool is distributed in the hope that it will be useful,
26994 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26995 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26996 # GNU General Public License for more details.
26998 # You should have received a copy of the GNU General Public License
26999 # along with GNU Libtool; see the file COPYING. If not, a copy
27000 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27001 # obtained by writing to the Free Software Foundation, Inc.,
27002 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27005 # The names of the tagged configurations supported by this script.
27006 available_tags="CXX GCJ "
27008 # ### BEGIN LIBTOOL CONFIG
27010 # Which release of libtool.m4 was used?
27011 macro_version=$macro_version
27012 macro_revision=$macro_revision
27014 # Whether or not to build shared libraries.
27015 build_libtool_libs=$enable_shared
27017 # Whether or not to build static libraries.
27018 build_old_libs=$enable_static
27020 # What type of objects to build.
27023 # Whether or not to optimize for fast installation.
27024 fast_install=$enable_fast_install
27026 # Shell to use when invoking shell scripts.
27029 # An echo program that protects backslashes.
27033 host_alias=$host_alias
27037 # The build system.
27038 build_alias=$build_alias
27042 # A sed program that does not truncate output.
27045 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27046 Xsed="\$SED -e 1s/^X//"
27048 # A grep program that handles long lines.
27054 # A literal string matcher.
27057 # A BSD- or MS-compatible name lister.
27060 # Whether we need soft or hard links.
27063 # What is the maximum length of a command?
27064 max_cmd_len=$max_cmd_len
27066 # Object file suffix (normally "o").
27069 # Executable file suffix (normally "").
27072 # whether the shell understands "unset".
27075 # turn spaces into newlines.
27078 # turn newlines into spaces.
27081 # An object symbol dumper.
27082 OBJDUMP=$lt_OBJDUMP
27084 # Method to check whether dependent libraries are shared objects.
27085 deplibs_check_method=$lt_deplibs_check_method
27087 # Command to use when deplibs_check_method == "file_magic".
27088 file_magic_cmd=$lt_file_magic_cmd
27092 AR_FLAGS=$lt_AR_FLAGS
27094 # A symbol stripping program.
27097 # Commands used to install an old-style archive.
27099 old_postinstall_cmds=$lt_old_postinstall_cmds
27100 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27102 # Whether to use a lock for old archive extraction.
27103 lock_old_archive_extraction=$lock_old_archive_extraction
27108 # LTCC compiler flags.
27109 LTCFLAGS=$lt_CFLAGS
27111 # Take the output of nm and produce a listing of raw symbols and C names.
27112 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27114 # Transform the output of nm in a proper C declaration.
27115 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27117 # Transform the output of nm in a C name address pair.
27118 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27120 # Transform the output of nm in a C name address pair when lib prefix is needed.
27121 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27123 # The name of the directory that contains temporary libtool files.
27126 # Used to examine libraries when file_magic_cmd begins with "file".
27127 MAGIC_CMD=$MAGIC_CMD
27129 # Must we lock files when doing compilation?
27130 need_locks=$lt_need_locks
27132 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27133 DSYMUTIL=$lt_DSYMUTIL
27135 # Tool to change global to local symbols on Mac OS X.
27138 # Tool to manipulate fat objects and archives on Mac OS X.
27141 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27144 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27145 OTOOL64=$lt_OTOOL64
27147 # Old archive suffix (normally "a").
27150 # Shared library suffix (normally ".so").
27151 shrext_cmds=$lt_shrext_cmds
27153 # The commands to extract the exported symbol list from a shared archive.
27154 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27156 # Variables whose values should be saved in libtool wrapper scripts and
27157 # restored at link time.
27158 variables_saved_for_relink=$lt_variables_saved_for_relink
27160 # Do we need the "lib" prefix for modules?
27161 need_lib_prefix=$need_lib_prefix
27163 # Do we need a version for libraries?
27164 need_version=$need_version
27166 # Library versioning type.
27167 version_type=$version_type
27169 # Shared library runtime path variable.
27170 runpath_var=$runpath_var
27172 # Shared library path variable.
27173 shlibpath_var=$shlibpath_var
27175 # Is shlibpath searched before the hard-coded library search path?
27176 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27178 # Format of library name prefix.
27179 libname_spec=$lt_libname_spec
27181 # List of archive names. First name is the real one, the rest are links.
27182 # The last name is the one that the linker finds with -lNAME
27183 library_names_spec=$lt_library_names_spec
27185 # The coded name of the library, if different from the real name.
27186 soname_spec=$lt_soname_spec
27188 # Permission mode override for installation of shared libraries.
27189 install_override_mode=$lt_install_override_mode
27191 # Command to use after installation of a shared archive.
27192 postinstall_cmds=$lt_postinstall_cmds
27194 # Command to use after uninstallation of a shared archive.
27195 postuninstall_cmds=$lt_postuninstall_cmds
27197 # Commands used to finish a libtool library installation in a directory.
27198 finish_cmds=$lt_finish_cmds
27200 # As "finish_cmds", except a single script fragment to be evaled but
27202 finish_eval=$lt_finish_eval
27204 # Whether we should hardcode library paths into libraries.
27205 hardcode_into_libs=$hardcode_into_libs
27207 # Compile-time system search path for libraries.
27208 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27210 # Run-time system search path for libraries.
27211 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27213 # Whether dlopen is supported.
27214 dlopen_support=$enable_dlopen
27216 # Whether dlopen of programs is supported.
27217 dlopen_self=$enable_dlopen_self
27219 # Whether dlopen of statically linked programs is supported.
27220 dlopen_self_static=$enable_dlopen_self_static
27222 # Commands to strip libraries.
27223 old_striplib=$lt_old_striplib
27224 striplib=$lt_striplib
27227 # The linker used to build libraries.
27230 # How to create reloadable object files.
27231 reload_flag=$lt_reload_flag
27232 reload_cmds=$lt_reload_cmds
27234 # Commands used to build an old-style archive.
27235 old_archive_cmds=$lt_old_archive_cmds
27237 # A language specific compiler.
27240 # Is the compiler the GNU compiler?
27243 # Compiler flag to turn off builtin functions.
27244 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27246 # How to pass a linker flag through the compiler.
27247 wl=$lt_lt_prog_compiler_wl
27249 # Additional compiler flags for building library objects.
27250 pic_flag=$lt_lt_prog_compiler_pic
27252 # Compiler flag to prevent dynamic linking.
27253 link_static_flag=$lt_lt_prog_compiler_static
27255 # Does compiler simultaneously support -c and -o options?
27256 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27258 # Whether or not to add -lc for building shared libraries.
27259 build_libtool_need_lc=$archive_cmds_need_lc
27261 # Whether or not to disallow shared libs when runtime libs are static.
27262 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27264 # Compiler flag to allow reflexive dlopens.
27265 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27267 # Compiler flag to generate shared objects directly from archives.
27268 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27270 # Whether the compiler copes with passing no objects directly.
27271 compiler_needs_object=$lt_compiler_needs_object
27273 # Create an old-style archive from a shared archive.
27274 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27276 # Create a temporary old-style archive to link instead of a shared archive.
27277 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27279 # Commands used to build a shared archive.
27280 archive_cmds=$lt_archive_cmds
27281 archive_expsym_cmds=$lt_archive_expsym_cmds
27283 # Commands used to build a loadable module if different from building
27284 # a shared archive.
27285 module_cmds=$lt_module_cmds
27286 module_expsym_cmds=$lt_module_expsym_cmds
27288 # Whether we are building with GNU ld or not.
27289 with_gnu_ld=$lt_with_gnu_ld
27291 # Flag that allows shared libraries with undefined symbols to be built.
27292 allow_undefined_flag=$lt_allow_undefined_flag
27294 # Flag that enforces no undefined symbols.
27295 no_undefined_flag=$lt_no_undefined_flag
27297 # Flag to hardcode \$libdir into a binary during linking.
27298 # This must work even if \$libdir does not exist
27299 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27301 # If ld is used when linking, flag to hardcode \$libdir into a binary
27302 # during linking. This must work even if \$libdir does not exist.
27303 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27305 # Whether we need a single "-rpath" flag with a separated argument.
27306 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27308 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27309 # DIR into the resulting binary.
27310 hardcode_direct=$hardcode_direct
27312 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27313 # DIR into the resulting binary and the resulting library dependency is
27314 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27315 # library is relocated.
27316 hardcode_direct_absolute=$hardcode_direct_absolute
27318 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27319 # into the resulting binary.
27320 hardcode_minus_L=$hardcode_minus_L
27322 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27323 # into the resulting binary.
27324 hardcode_shlibpath_var=$hardcode_shlibpath_var
27326 # Set to "yes" if building a shared library automatically hardcodes DIR
27327 # into the library and all subsequent libraries and executables linked
27329 hardcode_automatic=$hardcode_automatic
27331 # Set to yes if linker adds runtime paths of dependent libraries
27332 # to runtime path list.
27333 inherit_rpath=$inherit_rpath
27335 # Whether libtool must link a program against all its dependency libraries.
27336 link_all_deplibs=$link_all_deplibs
27338 # Fix the shell variable \$srcfile for the compiler.
27339 fix_srcfile_path=$lt_fix_srcfile_path
27341 # Set to "yes" if exported symbols are required.
27342 always_export_symbols=$always_export_symbols
27344 # The commands to list exported symbols.
27345 export_symbols_cmds=$lt_export_symbols_cmds
27347 # Symbols that should not be listed in the preloaded symbols.
27348 exclude_expsyms=$lt_exclude_expsyms
27350 # Symbols that must always be exported.
27351 include_expsyms=$lt_include_expsyms
27353 # Commands necessary for linking programs (against libraries) with templates.
27354 prelink_cmds=$lt_prelink_cmds
27356 # Specify filename containing input files.
27357 file_list_spec=$lt_file_list_spec
27359 # How to hardcode a shared library path into an executable.
27360 hardcode_action=$hardcode_action
27362 # The directories searched by this compiler when creating a shared library.
27363 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27365 # Dependencies to place before and after the objects being linked to
27366 # create a shared library.
27367 predep_objects=$lt_predep_objects
27368 postdep_objects=$lt_postdep_objects
27369 predeps=$lt_predeps
27370 postdeps=$lt_postdeps
27372 # The library search path used internally by the compiler when linking
27373 # a shared library.
27374 compiler_lib_search_path=$lt_compiler_lib_search_path
27376 # ### END LIBTOOL CONFIG
27382 cat <<\_LT_EOF
>> "$cfgfile"
27383 # AIX sometimes has problems with the GCC collect2 program. For some
27384 # reason, if we set the COLLECT_NAMES environment variable, the problems
27385 # vanish in a puff of smoke.
27386 if test "X${COLLECT_NAMES+set}" != Xset
; then
27388 export COLLECT_NAMES
27395 ltmain
="$ac_aux_dir/ltmain.sh"
27398 # We use sed instead of cat because bash on DJGPP gets confused if
27399 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27400 # text mode, it properly converts lines to CR/LF. This bash problem
27401 # is reportedly fixed, but why not run on old versions too?
27402 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27403 ||
(rm -f "$cfgfile"; exit 1)
27407 cat << \_LT_EOF
>> "$cfgfile"
27409 # func_dirname file append nondir_replacement
27410 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27411 # otherwise set result to NONDIR_REPLACEMENT.
27415 */*) func_dirname_result
="${1%/*}${2}" ;;
27416 * ) func_dirname_result
="${3}" ;;
27420 # func_basename file
27423 func_basename_result
="${1##*/}"
27426 # func_dirname_and_basename file append nondir_replacement
27427 # perform func_basename and func_dirname in a single function
27429 # dirname: Compute the dirname of FILE. If nonempty,
27430 # add APPEND to the result, otherwise set result
27431 # to NONDIR_REPLACEMENT.
27432 # value returned in "$func_dirname_result"
27433 # basename: Compute filename of FILE.
27434 # value retuned in "$func_basename_result"
27435 # Implementation must be kept synchronized with func_dirname
27436 # and func_basename. For efficiency, we do not delegate to
27437 # those functions but instead duplicate the functionality here.
27438 func_dirname_and_basename
()
27441 */*) func_dirname_result
="${1%/*}${2}" ;;
27442 * ) func_dirname_result
="${3}" ;;
27444 func_basename_result
="${1##*/}"
27447 # func_stripname prefix suffix name
27448 # strip PREFIX and SUFFIX off of NAME.
27449 # PREFIX and SUFFIX must not contain globbing or regex special
27450 # characters, hashes, percent signs, but SUFFIX may contain a leading
27451 # dot (in which case that matches only a dot).
27454 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27455 # positional parameters, so assign one to ordinary parameter first.
27456 func_stripname_result
=${3}
27457 func_stripname_result
=${func_stripname_result#"${1}"}
27458 func_stripname_result
=${func_stripname_result%"${2}"}
27464 func_opt_split_opt
=${1%%=*}
27465 func_opt_split_arg
=${1#*=}
27472 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27473 *) func_lo2o_result
=${1} ;;
27477 # func_xform libobj-or-source
27480 func_xform_result
=${1%.*}.lo
27483 # func_arith arithmetic-term...
27486 func_arith_result
=$
(( $
* ))
27490 # STRING may not start with a hyphen.
27493 func_len_result
=${#1}
27498 *) # Bourne compatible functions.
27499 cat << \_LT_EOF
>> "$cfgfile"
27501 # func_dirname file append nondir_replacement
27502 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27503 # otherwise set result to NONDIR_REPLACEMENT.
27506 # Extract subdirectory from the argument.
27507 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27508 if test "X$func_dirname_result" = "X${1}"; then
27509 func_dirname_result
="${3}"
27511 func_dirname_result
="$func_dirname_result${2}"
27515 # func_basename file
27518 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27522 # func_stripname prefix suffix name
27523 # strip PREFIX and SUFFIX off of NAME.
27524 # PREFIX and SUFFIX must not contain globbing or regex special
27525 # characters, hashes, percent signs, but SUFFIX may contain a leading
27526 # dot (in which case that matches only a dot).
27527 # func_strip_suffix prefix name
27531 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27532 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27537 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27538 my_sed_long_arg
='1s/^-[^=]*=//'
27543 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27544 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27550 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27553 # func_xform libobj-or-source
27556 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27559 # func_arith arithmetic-term...
27562 func_arith_result
=`expr "$@"`
27566 # STRING may not start with a hyphen.
27569 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27575 case $lt_shell_append in
27577 cat << \_LT_EOF
>> "$cfgfile"
27579 # func_append var value
27580 # Append VALUE to the end of shell variable VAR.
27588 cat << \_LT_EOF
>> "$cfgfile"
27590 # func_append var value
27591 # Append VALUE to the end of shell variable VAR.
27602 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27603 ||
(rm -f "$cfgfile"; exit 1)
27605 mv -f "$cfgfile" "$ofile" ||
27606 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27610 cat <<_LT_EOF >> "$ofile"
27612 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27614 # The linker used to build libraries.
27617 # How to create reloadable object files.
27618 reload_flag=$lt_reload_flag_CXX
27619 reload_cmds=$lt_reload_cmds_CXX
27621 # Commands used to build an old-style archive.
27622 old_archive_cmds=$lt_old_archive_cmds_CXX
27624 # A language specific compiler.
27625 CC=$lt_compiler_CXX
27627 # Is the compiler the GNU compiler?
27630 # Compiler flag to turn off builtin functions.
27631 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27633 # How to pass a linker flag through the compiler.
27634 wl=$lt_lt_prog_compiler_wl_CXX
27636 # Additional compiler flags for building library objects.
27637 pic_flag=$lt_lt_prog_compiler_pic_CXX
27639 # Compiler flag to prevent dynamic linking.
27640 link_static_flag=$lt_lt_prog_compiler_static_CXX
27642 # Does compiler simultaneously support -c and -o options?
27643 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27645 # Whether or not to add -lc for building shared libraries.
27646 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27648 # Whether or not to disallow shared libs when runtime libs are static.
27649 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27651 # Compiler flag to allow reflexive dlopens.
27652 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27654 # Compiler flag to generate shared objects directly from archives.
27655 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27657 # Whether the compiler copes with passing no objects directly.
27658 compiler_needs_object=$lt_compiler_needs_object_CXX
27660 # Create an old-style archive from a shared archive.
27661 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27663 # Create a temporary old-style archive to link instead of a shared archive.
27664 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27666 # Commands used to build a shared archive.
27667 archive_cmds=$lt_archive_cmds_CXX
27668 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27670 # Commands used to build a loadable module if different from building
27671 # a shared archive.
27672 module_cmds=$lt_module_cmds_CXX
27673 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27675 # Whether we are building with GNU ld or not.
27676 with_gnu_ld=$lt_with_gnu_ld_CXX
27678 # Flag that allows shared libraries with undefined symbols to be built.
27679 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27681 # Flag that enforces no undefined symbols.
27682 no_undefined_flag=$lt_no_undefined_flag_CXX
27684 # Flag to hardcode \$libdir into a binary during linking.
27685 # This must work even if \$libdir does not exist
27686 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27688 # If ld is used when linking, flag to hardcode \$libdir into a binary
27689 # during linking. This must work even if \$libdir does not exist.
27690 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27692 # Whether we need a single "-rpath" flag with a separated argument.
27693 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27695 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27696 # DIR into the resulting binary.
27697 hardcode_direct=$hardcode_direct_CXX
27699 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27700 # DIR into the resulting binary and the resulting library dependency is
27701 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27702 # library is relocated.
27703 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27705 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27706 # into the resulting binary.
27707 hardcode_minus_L=$hardcode_minus_L_CXX
27709 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27710 # into the resulting binary.
27711 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27713 # Set to "yes" if building a shared library automatically hardcodes DIR
27714 # into the library and all subsequent libraries and executables linked
27716 hardcode_automatic=$hardcode_automatic_CXX
27718 # Set to yes if linker adds runtime paths of dependent libraries
27719 # to runtime path list.
27720 inherit_rpath=$inherit_rpath_CXX
27722 # Whether libtool must link a program against all its dependency libraries.
27723 link_all_deplibs=$link_all_deplibs_CXX
27725 # Fix the shell variable \$srcfile for the compiler.
27726 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27728 # Set to "yes" if exported symbols are required.
27729 always_export_symbols=$always_export_symbols_CXX
27731 # The commands to list exported symbols.
27732 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27734 # Symbols that should not be listed in the preloaded symbols.
27735 exclude_expsyms=$lt_exclude_expsyms_CXX
27737 # Symbols that must always be exported.
27738 include_expsyms=$lt_include_expsyms_CXX
27740 # Commands necessary for linking programs (against libraries) with templates.
27741 prelink_cmds=$lt_prelink_cmds_CXX
27743 # Specify filename containing input files.
27744 file_list_spec=$lt_file_list_spec_CXX
27746 # How to hardcode a shared library path into an executable.
27747 hardcode_action=$hardcode_action_CXX
27749 # The directories searched by this compiler when creating a shared library.
27750 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27752 # Dependencies to place before and after the objects being linked to
27753 # create a shared library.
27754 predep_objects=$lt_predep_objects_CXX
27755 postdep_objects=$lt_postdep_objects_CXX
27756 predeps=$lt_predeps_CXX
27757 postdeps=$lt_postdeps_CXX
27759 # The library search path used internally by the compiler when linking
27760 # a shared library.
27761 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27763 # ### END LIBTOOL TAG CONFIG: CXX
27767 cat <<_LT_EOF >> "$ofile"
27769 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
27771 # The linker used to build libraries.
27774 # How to create reloadable object files.
27775 reload_flag=$lt_reload_flag_GCJ
27776 reload_cmds=$lt_reload_cmds_GCJ
27778 # Commands used to build an old-style archive.
27779 old_archive_cmds=$lt_old_archive_cmds_GCJ
27781 # A language specific compiler.
27782 CC=$lt_compiler_GCJ
27784 # Is the compiler the GNU compiler?
27787 # Compiler flag to turn off builtin functions.
27788 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
27790 # How to pass a linker flag through the compiler.
27791 wl=$lt_lt_prog_compiler_wl_GCJ
27793 # Additional compiler flags for building library objects.
27794 pic_flag=$lt_lt_prog_compiler_pic_GCJ
27796 # Compiler flag to prevent dynamic linking.
27797 link_static_flag=$lt_lt_prog_compiler_static_GCJ
27799 # Does compiler simultaneously support -c and -o options?
27800 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27802 # Whether or not to add -lc for building shared libraries.
27803 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
27805 # Whether or not to disallow shared libs when runtime libs are static.
27806 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
27808 # Compiler flag to allow reflexive dlopens.
27809 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
27811 # Compiler flag to generate shared objects directly from archives.
27812 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
27814 # Whether the compiler copes with passing no objects directly.
27815 compiler_needs_object=$lt_compiler_needs_object_GCJ
27817 # Create an old-style archive from a shared archive.
27818 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
27820 # Create a temporary old-style archive to link instead of a shared archive.
27821 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
27823 # Commands used to build a shared archive.
27824 archive_cmds=$lt_archive_cmds_GCJ
27825 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
27827 # Commands used to build a loadable module if different from building
27828 # a shared archive.
27829 module_cmds=$lt_module_cmds_GCJ
27830 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
27832 # Whether we are building with GNU ld or not.
27833 with_gnu_ld=$lt_with_gnu_ld_GCJ
27835 # Flag that allows shared libraries with undefined symbols to be built.
27836 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
27838 # Flag that enforces no undefined symbols.
27839 no_undefined_flag=$lt_no_undefined_flag_GCJ
27841 # Flag to hardcode \$libdir into a binary during linking.
27842 # This must work even if \$libdir does not exist
27843 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
27845 # If ld is used when linking, flag to hardcode \$libdir into a binary
27846 # during linking. This must work even if \$libdir does not exist.
27847 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
27849 # Whether we need a single "-rpath" flag with a separated argument.
27850 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
27852 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27853 # DIR into the resulting binary.
27854 hardcode_direct=$hardcode_direct_GCJ
27856 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27857 # DIR into the resulting binary and the resulting library dependency is
27858 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27859 # library is relocated.
27860 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
27862 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27863 # into the resulting binary.
27864 hardcode_minus_L=$hardcode_minus_L_GCJ
27866 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27867 # into the resulting binary.
27868 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27870 # Set to "yes" if building a shared library automatically hardcodes DIR
27871 # into the library and all subsequent libraries and executables linked
27873 hardcode_automatic=$hardcode_automatic_GCJ
27875 # Set to yes if linker adds runtime paths of dependent libraries
27876 # to runtime path list.
27877 inherit_rpath=$inherit_rpath_GCJ
27879 # Whether libtool must link a program against all its dependency libraries.
27880 link_all_deplibs=$link_all_deplibs_GCJ
27882 # Fix the shell variable \$srcfile for the compiler.
27883 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
27885 # Set to "yes" if exported symbols are required.
27886 always_export_symbols=$always_export_symbols_GCJ
27888 # The commands to list exported symbols.
27889 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27891 # Symbols that should not be listed in the preloaded symbols.
27892 exclude_expsyms=$lt_exclude_expsyms_GCJ
27894 # Symbols that must always be exported.
27895 include_expsyms=$lt_include_expsyms_GCJ
27897 # Commands necessary for linking programs (against libraries) with templates.
27898 prelink_cmds=$lt_prelink_cmds_GCJ
27900 # Specify filename containing input files.
27901 file_list_spec=$lt_file_list_spec_GCJ
27903 # How to hardcode a shared library path into an executable.
27904 hardcode_action=$hardcode_action_GCJ
27906 # The directories searched by this compiler when creating a shared library.
27907 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27909 # Dependencies to place before and after the objects being linked to
27910 # create a shared library.
27911 predep_objects=$lt_predep_objects_GCJ
27912 postdep_objects=$lt_postdep_objects_GCJ
27913 predeps=$lt_predeps_GCJ
27914 postdeps=$lt_postdeps_GCJ
27916 # The library search path used internally by the compiler when linking
27917 # a shared library.
27918 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27920 # ### END LIBTOOL TAG CONFIG: GCJ
27924 "scripts/jar":F
) chmod +x
scripts
/jar
;;
27932 ac_clean_files
=$ac_clean_files_save
27934 test $ac_write_fail = 0 ||
27935 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27938 # configure is writing to config.log, and then calls config.status.
27939 # config.status does its own redirection, appending to config.log.
27940 # Unfortunately, on DOS this fails, as config.log is still kept open
27941 # by configure, so config.status won't be able to write to it; its
27942 # output is simply discarded. So we exec the FD to /dev/null,
27943 # effectively closing config.log, so it can be properly (re)opened and
27944 # appended to by config.status. When coming back to configure, we
27945 # need to make the FD available again.
27946 if test "$no_create" != yes; then
27948 ac_config_status_args
=
27949 test "$silent" = yes &&
27950 ac_config_status_args
="$ac_config_status_args --quiet"
27952 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27954 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27955 # would make configure fail if this is the last instruction.
27956 $ac_cs_success || as_fn_exit $?
27960 # CONFIG_SUBDIRS section.
27962 if test "$no_recursion" != yes; then
27964 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
27965 # so they do not pile up.
27966 ac_sub_configure_args
=
27968 eval "set x $ac_configure_args"
27972 if test -n "$ac_prev"; then
27977 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27978 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27979 ac_prev
=cache_file
;;
27980 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27981 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27984 --config-cache |
-C)
27986 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27988 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27990 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27992 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27994 --disable-option-checking)
27998 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28000 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
28004 # Always prepend --prefix to ensure using the same prefix
28005 # in subdir configurations.
28006 ac_arg
="--prefix=$prefix"
28008 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28010 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
28013 if test "$silent" = yes; then
28014 ac_sub_configure_args
="--silent $ac_sub_configure_args"
28017 # Always prepend --disable-option-checking to silence warnings, since
28018 # different subdirs can have different --enable and --with options.
28019 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
28022 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
28024 # Do not complain, so a configure script can configure whichever
28025 # parts of a large source tree are present.
28026 test -d "$srcdir/$ac_dir" ||
continue
28028 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
28029 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
28030 $as_echo "$ac_msg" >&6
28031 as_dir
="$ac_dir"; as_fn_mkdir_p
28035 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28037 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28038 # A ".." for each directory in $ac_dir_suffix.
28039 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28040 case $ac_top_builddir_sub in
28041 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28042 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28045 ac_abs_top_builddir
=$ac_pwd
28046 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28047 # for backward compatibility:
28048 ac_top_builddir
=$ac_top_build_prefix
28051 .
) # We are building in place.
28053 ac_top_srcdir
=$ac_top_builddir_sub
28054 ac_abs_top_srcdir
=$ac_pwd ;;
28055 [\\/]* | ?
:[\\/]* ) # Absolute name.
28056 ac_srcdir
=$srcdir$ac_dir_suffix;
28057 ac_top_srcdir
=$srcdir
28058 ac_abs_top_srcdir
=$srcdir ;;
28059 *) # Relative name.
28060 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28061 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28062 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28064 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28069 # Check for guested configure; otherwise get Cygnus style configure.
28070 if test -f "$ac_srcdir/configure.gnu"; then
28071 ac_sub_configure
=$ac_srcdir/configure.gnu
28072 elif test -f "$ac_srcdir/configure"; then
28073 ac_sub_configure
=$ac_srcdir/configure
28074 elif test -f "$ac_srcdir/configure.in"; then
28075 # This should be Cygnus configure.
28076 ac_sub_configure
=$ac_aux_dir/configure
28078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
28079 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
28083 # The recursion is here.
28084 if test -n "$ac_sub_configure"; then
28085 # Make the cache file name correct relative to the subdirectory.
28086 case $cache_file in
28087 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
28088 *) # Relative name.
28089 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
28092 { $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
28093 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
28094 # The eval makes quoting arguments work.
28095 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
28096 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
28097 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
28103 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28105 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}