2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for libjava version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
173 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 PATH=/empty FPATH=/empty; export PATH FPATH
178 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='libjava'
558 PACKAGE_TARNAME
='libjava'
559 PACKAGE_VERSION
='version-unused'
560 PACKAGE_STRING
='libjava version-unused'
564 ac_unique_file
="java/lang/System.java"
565 # Factoring default headers for most tests.
566 ac_includes_default
="\
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
578 # ifdef HAVE_STDLIB_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
601 enable_option_checking
=no
603 ac_subst_vars
='am__EXEEXT_FALSE
625 CREATE_JAVA_HOME_FALSE
626 CREATE_JAVA_HOME_TRUE
627 INSTALL_AOT_RPM_FALSE
630 python_mod_dir_expanded
633 LD_FINISH_STATIC_SPEC
635 ANONVERSCRIPT_SUN_FALSE
636 ANONVERSCRIPT_SUN_TRUE
637 ANONVERSCRIPT_GNU_FALSE
638 ANONVERSCRIPT_GNU_TRUE
652 INSTALL_BINARIES_FALSE
653 INSTALL_BINARIES_TRUE
654 NEEDS_DATA_START_FALSE
655 NEEDS_DATA_START_TRUE
687 USING_NO_THREADS_FALSE
688 USING_NO_THREADS_TRUE
689 USING_WIN32_THREADS_FALSE
690 USING_WIN32_THREADS_TRUE
691 USING_POSIX_THREADS_FALSE
692 USING_POSIX_THREADS_TRUE
714 extra_ldflags_libjava
723 USING_DARWIN_CRT_FALSE
724 USING_DARWIN_CRT_TRUE
725 USING_POSIX_PLATFORM_FALSE
726 USING_POSIX_PLATFORM_TRUE
727 USING_WIN32_PLATFORM_FALSE
728 USING_WIN32_PLATFORM_TRUE
735 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
736 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
737 SUPPRESS_LIBGCJ_BC_FALSE
738 SUPPRESS_LIBGCJ_BC_TRUE
742 INSTALL_ECJ_JAR_FALSE
789 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
791 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
792 LIBGCJ_SUBLIB_LTFLAGS
797 MAINTAINER_MODE_FALSE
827 INSTALL_STRIP_PROGRAM
852 JAVA_MAINTAINER_MODE_FALSE
853 JAVA_MAINTAINER_MODE_TRUE
904 program_transform_name
917 enable_option_checking
923 enable_version_specific_runtime_libs
924 enable_browser_plugin
928 enable_java_maintainer_mode
929 enable_dependency_tracking
930 enable_maintainer_mode
931 enable_libgcj_sublibs
941 enable_getenv_properties
942 enable_hash_synchronization
946 enable_reduced_reflection
950 enable_sjlj_exceptions
961 with_system_libunwind
963 enable_aot_compile_rpm
973 ac_precious_vars
='build_alias
987 ac_subdirs_all
='classpath libltdl'
989 # Initialize some variables set by options.
991 ac_init_version
=false
992 ac_unrecognized_opts
=
994 # The variables have the same names as the options, with
995 # dashes changed to underlines.
1003 program_transform_name
=s
,x
,x
,
1011 # Installation directory options.
1012 # These are left unexpanded so users can "make install exec_prefix=/foo"
1013 # and all the variables that are supposed to be based on exec_prefix
1014 # by default will actually change.
1015 # Use braces instead of parens because sh, perl, etc. also accept them.
1016 # (The list follows the same order as the GNU Coding Standards.)
1017 bindir
='${exec_prefix}/bin'
1018 sbindir
='${exec_prefix}/sbin'
1019 libexecdir
='${exec_prefix}/libexec'
1020 datarootdir
='${prefix}/share'
1021 datadir
='${datarootdir}'
1022 sysconfdir
='${prefix}/etc'
1023 sharedstatedir
='${prefix}/com'
1024 localstatedir
='${prefix}/var'
1025 includedir
='${prefix}/include'
1026 oldincludedir
='/usr/include'
1027 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1028 infodir
='${datarootdir}/info'
1033 libdir
='${exec_prefix}/lib'
1034 localedir
='${datarootdir}/locale'
1035 mandir
='${datarootdir}/man'
1041 # If the previous option needs an argument, assign it.
1042 if test -n "$ac_prev"; then
1043 eval $ac_prev=\
$ac_option
1049 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1053 # Accept the important Cygnus configure options, so we can diagnose typos.
1055 case $ac_dashdash$ac_option in
1059 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1061 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1062 bindir
=$ac_optarg ;;
1064 -build |
--build |
--buil |
--bui |
--bu)
1065 ac_prev
=build_alias
;;
1066 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1067 build_alias
=$ac_optarg ;;
1069 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1070 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1071 ac_prev
=cache_file
;;
1072 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1073 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1074 cache_file
=$ac_optarg ;;
1076 --config-cache |
-C)
1077 cache_file
=config.cache
;;
1079 -datadir |
--datadir |
--datadi |
--datad)
1081 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1082 datadir
=$ac_optarg ;;
1084 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1085 |
--dataroo |
--dataro |
--datar)
1086 ac_prev
=datarootdir
;;
1087 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1088 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1089 datarootdir
=$ac_optarg ;;
1091 -disable-* |
--disable-*)
1092 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1095 as_fn_error
"invalid feature name: $ac_useropt"
1096 ac_useropt_orig
=$ac_useropt
1097 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1100 "enable_
$ac_useropt"
1102 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1103 ac_unrecognized_sep
=', ';;
1105 eval enable_
$ac_useropt=no
;;
1107 -docdir |
--docdir |
--docdi |
--doc |
--do)
1109 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1110 docdir
=$ac_optarg ;;
1112 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1114 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1115 dvidir
=$ac_optarg ;;
1117 -enable-* |
--enable-*)
1118 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1121 as_fn_error
"invalid feature name: $ac_useropt"
1122 ac_useropt_orig
=$ac_useropt
1123 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1126 "enable_
$ac_useropt"
1128 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1129 ac_unrecognized_sep
=', ';;
1131 eval enable_
$ac_useropt=\
$ac_optarg ;;
1133 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1134 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1135 |
--exec |
--exe |
--ex)
1136 ac_prev
=exec_prefix
;;
1137 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1138 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1139 |
--exec=* |
--exe=* |
--ex=*)
1140 exec_prefix
=$ac_optarg ;;
1142 -gas |
--gas |
--ga |
--g)
1143 # Obsolete; use --with-gas.
1146 -help |
--help |
--hel |
--he |
-h)
1147 ac_init_help
=long
;;
1148 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1149 ac_init_help
=recursive
;;
1150 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1151 ac_init_help
=short
;;
1153 -host |
--host |
--hos |
--ho)
1154 ac_prev
=host_alias
;;
1155 -host=* |
--host=* |
--hos=* |
--ho=*)
1156 host_alias
=$ac_optarg ;;
1158 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1160 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1162 htmldir
=$ac_optarg ;;
1164 -includedir |
--includedir |
--includedi |
--included |
--include \
1165 |
--includ |
--inclu |
--incl |
--inc)
1166 ac_prev
=includedir
;;
1167 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1168 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1169 includedir
=$ac_optarg ;;
1171 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1173 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1174 infodir
=$ac_optarg ;;
1176 -libdir |
--libdir |
--libdi |
--libd)
1178 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1179 libdir
=$ac_optarg ;;
1181 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1182 |
--libexe |
--libex |
--libe)
1183 ac_prev
=libexecdir
;;
1184 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1185 |
--libexe=* |
--libex=* |
--libe=*)
1186 libexecdir
=$ac_optarg ;;
1188 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1189 ac_prev
=localedir
;;
1190 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1191 localedir
=$ac_optarg ;;
1193 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1194 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1195 ac_prev
=localstatedir
;;
1196 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1197 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1198 localstatedir
=$ac_optarg ;;
1200 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1202 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1203 mandir
=$ac_optarg ;;
1205 -nfp |
--nfp |
--nf)
1206 # Obsolete; use --without-fp.
1209 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1210 |
--no-cr |
--no-c |
-n)
1213 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1214 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1217 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1218 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1219 |
--oldin |
--oldi |
--old |
--ol |
--o)
1220 ac_prev
=oldincludedir
;;
1221 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1222 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1223 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1224 oldincludedir
=$ac_optarg ;;
1226 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1228 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1229 prefix
=$ac_optarg ;;
1231 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1232 |
--program-pre |
--program-pr |
--program-p)
1233 ac_prev
=program_prefix
;;
1234 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1235 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1236 program_prefix
=$ac_optarg ;;
1238 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1239 |
--program-suf |
--program-su |
--program-s)
1240 ac_prev
=program_suffix
;;
1241 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1242 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1243 program_suffix
=$ac_optarg ;;
1245 -program-transform-name |
--program-transform-name \
1246 |
--program-transform-nam |
--program-transform-na \
1247 |
--program-transform-n |
--program-transform- \
1248 |
--program-transform |
--program-transfor \
1249 |
--program-transfo |
--program-transf \
1250 |
--program-trans |
--program-tran \
1251 |
--progr-tra |
--program-tr |
--program-t)
1252 ac_prev
=program_transform_name
;;
1253 -program-transform-name=* |
--program-transform-name=* \
1254 |
--program-transform-nam=* |
--program-transform-na=* \
1255 |
--program-transform-n=* |
--program-transform-=* \
1256 |
--program-transform=* |
--program-transfor=* \
1257 |
--program-transfo=* |
--program-transf=* \
1258 |
--program-trans=* |
--program-tran=* \
1259 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1260 program_transform_name
=$ac_optarg ;;
1262 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1264 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1265 pdfdir
=$ac_optarg ;;
1267 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1269 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1272 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1273 |
-silent |
--silent |
--silen |
--sile |
--sil)
1276 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1278 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1280 sbindir
=$ac_optarg ;;
1282 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1283 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1284 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1286 ac_prev
=sharedstatedir
;;
1287 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1288 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1289 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1291 sharedstatedir
=$ac_optarg ;;
1293 -site |
--site |
--sit)
1295 -site=* |
--site=* |
--sit=*)
1298 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1300 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1301 srcdir
=$ac_optarg ;;
1303 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1304 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1305 ac_prev
=sysconfdir
;;
1306 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1307 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1308 sysconfdir
=$ac_optarg ;;
1310 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1311 ac_prev
=target_alias
;;
1312 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1313 target_alias
=$ac_optarg ;;
1315 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1318 -version |
--version |
--versio |
--versi |
--vers |
-V)
1319 ac_init_version
=: ;;
1322 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1323 # Reject names that are not valid shell variable names.
1324 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1325 as_fn_error
"invalid package name: $ac_useropt"
1326 ac_useropt_orig
=$ac_useropt
1327 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1328 case $ac_user_opts in
1332 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1333 ac_unrecognized_sep
=', ';;
1335 eval with_
$ac_useropt=\
$ac_optarg ;;
1337 -without-* |
--without-*)
1338 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1339 # Reject names that are not valid shell variable names.
1340 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1341 as_fn_error
"invalid package name: $ac_useropt"
1342 ac_useropt_orig
=$ac_useropt
1343 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1344 case $ac_user_opts in
1348 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1349 ac_unrecognized_sep
=', ';;
1351 eval with_
$ac_useropt=no
;;
1354 # Obsolete; use --with-x.
1357 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1358 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1359 ac_prev
=x_includes
;;
1360 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1361 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1362 x_includes
=$ac_optarg ;;
1364 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1365 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1366 ac_prev
=x_libraries
;;
1367 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1368 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1369 x_libraries
=$ac_optarg ;;
1371 -*) as_fn_error
"unrecognized option: \`$ac_option'
1372 Try \`$0 --help' for more information."
1376 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1377 # Reject names that are not valid shell variable names.
1378 case $ac_envvar in #(
1379 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1380 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1382 eval $ac_envvar=\
$ac_optarg
1383 export $ac_envvar ;;
1386 # FIXME: should be removed in autoconf 3.0.
1387 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1388 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1389 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1390 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1396 if test -n "$ac_prev"; then
1397 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1398 as_fn_error
"missing argument to $ac_option"
1401 if test -n "$ac_unrecognized_opts"; then
1402 case $enable_option_checking in
1404 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1405 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1409 # Check all directory arguments for consistency.
1410 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1411 datadir sysconfdir sharedstatedir localstatedir includedir \
1412 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1413 libdir localedir mandir
1415 eval ac_val
=\$
$ac_var
1416 # Remove trailing slashes.
1419 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1420 eval $ac_var=\
$ac_val;;
1422 # Be sure to have absolute directory names.
1424 [\\/$
]* | ?
:[\\/]* ) continue;;
1425 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1427 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1430 # There might be people who depend on the old broken behavior: `$host'
1431 # used to hold the argument of --host etc.
1432 # FIXME: To remove some day.
1435 target
=$target_alias
1437 # FIXME: To remove some day.
1438 if test "x$host_alias" != x
; then
1439 if test "x$build_alias" = x
; then
1440 cross_compiling
=maybe
1441 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1442 If a cross compiler is detected then cross compile mode will be used." >&2
1443 elif test "x$build_alias" != "x$host_alias"; then
1449 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1451 test "$silent" = yes && exec 6>/dev
/null
1454 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1455 ac_ls_di
=`ls -di .` &&
1456 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1457 as_fn_error
"working directory cannot be determined"
1458 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1459 as_fn_error
"pwd does not report name of working directory"
1462 # Find the source files, if location was not specified.
1463 if test -z "$srcdir"; then
1464 ac_srcdir_defaulted
=yes
1465 # Try the directory containing this script, then the parent directory.
1466 ac_confdir
=`$as_dirname -- "$as_myself" ||
1467 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1468 X"$as_myself" : 'X\(//\)[^/]' \| \
1469 X"$as_myself" : 'X\(//\)$' \| \
1470 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1471 $as_echo X"$as_myself" |
1472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1490 if test ! -r "$srcdir/$ac_unique_file"; then
1494 ac_srcdir_defaulted
=no
1496 if test ! -r "$srcdir/$ac_unique_file"; then
1497 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1498 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1500 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1502 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1504 # When building in place, set srcdir=.
1505 if test "$ac_abs_confdir" = "$ac_pwd"; then
1508 # Remove unnecessary trailing slashes from srcdir.
1509 # Double slashes in file names in object file debugging info
1510 # mess up M-x gdb in Emacs.
1512 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1514 for ac_var
in $ac_precious_vars; do
1515 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1516 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1517 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1518 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1522 # Report the --help message.
1524 if test "$ac_init_help" = "long"; then
1525 # Omit some internal or obsolete options to make the list less imposing.
1526 # This message is too long to be a string in the A/UX 3.1 sh.
1528 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1530 Usage: $0 [OPTION]... [VAR=VALUE]...
1532 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1533 VAR=VALUE. See below for descriptions of some of the useful variables.
1535 Defaults for the options are specified in brackets.
1538 -h, --help display this help and exit
1539 --help=short display options specific to this package
1540 --help=recursive display the short help of all the included packages
1541 -V, --version display version information and exit
1542 -q, --quiet, --silent do not print \`checking...' messages
1543 --cache-file=FILE cache test results in FILE [disabled]
1544 -C, --config-cache alias for \`--cache-file=config.cache'
1545 -n, --no-create do not create output files
1546 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1548 Installation directories:
1549 --prefix=PREFIX install architecture-independent files in PREFIX
1550 [$ac_default_prefix]
1551 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1554 By default, \`make install' will install all the files in
1555 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1556 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1557 for instance \`--prefix=\$HOME'.
1559 For better control, use the options below.
1561 Fine tuning of the installation directories:
1562 --bindir=DIR user executables [EPREFIX/bin]
1563 --sbindir=DIR system admin executables [EPREFIX/sbin]
1564 --libexecdir=DIR program executables [EPREFIX/libexec]
1565 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1566 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1567 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1568 --libdir=DIR object code libraries [EPREFIX/lib]
1569 --includedir=DIR C header files [PREFIX/include]
1570 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1571 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1572 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1573 --infodir=DIR info documentation [DATAROOTDIR/info]
1574 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1575 --mandir=DIR man documentation [DATAROOTDIR/man]
1576 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1577 --htmldir=DIR html documentation [DOCDIR]
1578 --dvidir=DIR dvi documentation [DOCDIR]
1579 --pdfdir=DIR pdf documentation [DOCDIR]
1580 --psdir=DIR ps documentation [DOCDIR]
1586 --program-prefix=PREFIX prepend PREFIX to installed program names
1587 --program-suffix=SUFFIX append SUFFIX to installed program names
1588 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1591 --x-includes=DIR X include files are
in DIR
1592 --x-libraries=DIR X library files are
in DIR
1595 --build=BUILD configure
for building on BUILD
[guessed
]
1596 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1597 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1601 if test -n "$ac_init_help"; then
1602 case $ac_init_help in
1603 short | recursive
) echo "Configuration of libjava version-unused:";;
1608 --disable-option-checking ignore unrecognized
--enable/--with options
1609 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1610 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1611 --enable-multilib build many library versions
(default
)
1612 --enable-version-specific-runtime-libs
1613 specify that runtime libraries should be installed
1614 in a compiler-specific directory
1615 --enable-browser-plugin build gcjwebplugin web browser plugin
1616 --enable-gconf-peer compile GConf native peers
for util.preferences
1617 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1619 --enable-java-maintainer-mode
1620 allow rebuilding of .class and .h files
1621 --disable-dependency-tracking speeds up one-time build
1622 --enable-dependency-tracking do not reject slow dependency extractors
1623 --enable-maintainer-mode enable make rules and dependencies not useful
1624 (and sometimes confusing
) to the casual installer
1625 --enable-libgcj-sublibs build libgcj as many sub-libraries
1626 --enable-libgcj-debug enable runtime debugging code
1627 --enable-java-awt list of AWT peer implementations to be built
1628 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1629 --enable-static[=PKGS
] build static libraries
[default
=yes]
1630 --enable-fast-install[=PKGS
]
1631 optimize
for fast installation
[default
=yes]
1632 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1633 --disable-getenv-properties
1634 don
't set system properties from GCJ_PROPERTIES
1635 --enable-hash-synchronization
1636 use global hash table for monitor locks
1637 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1639 --enable-reduced-reflection
1640 enable or disable(default) -freduced-reflection when
1641 building portions of libgcj
1642 --enable-gc-debug include full support for pointer backtracing etc.
1643 --enable-interpreter enable interpreter
1644 --enable-sjlj-exceptions
1645 force use of builtin_setjmp for exceptions
1646 --disable-java-net disable java.net
1647 --disable-jvmpi disable JVMPI support
1648 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1649 --disable-rpath do not hardcode runtime library paths
1650 --enable-tls Use thread-local storage [default=yes]
1651 --enable-aot-compile-rpm
1652 enable installation of aot-compile-rpm [default=no]
1653 --enable-java-home create a standard JDK-style directory layout in the
1654 install tree [default=no]
1657 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1658 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1659 --with-build-libsubdir=DIR Directory where to find libraries for build system
1660 --with-target-subdir=SUBDIR
1661 configure in a subdirectory
1662 --with-cross-host=HOST configure with a cross compiler from HOST
1663 --with-newlib configure with newlib
1664 --with-antlr-jar=file Use ANTLR from the specified jar file
1665 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1666 --with-pic try to use only PIC/non-PIC objects [default=use
1668 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1669 --with-ecj-jar=FILE use preinstalled ecj jar
1670 --with-java-home=DIRECTORY
1671 value of java.home system property
1672 --with-win32-nlsapi=ansi or unicows or unicode
1673 native MinGW libgcj Win32 OS API (default is ansi)
1674 --without-libffi don't use libffi
1675 --with-ecos enable runtime eCos target support
1676 --with-system-zlib use installed libz
1677 --with-x use the X Window System
1678 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1679 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1680 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1681 --with-system-libunwind use installed libunwind
1682 --with-python-dir the location to install Python modules. This path
1683 should NOT include the prefix.
1684 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1685 --with-arch-directory the arch directory under jre/lib (defaults to
1687 --with-os-directory the os directory under include (defaults to
1689 --with-origin-name the JPackage origin name of this package (default is
1691 --with-arch-suffix the arch directory suffix (default is the empty
1693 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1694 --with-jvm-jar-dir where to install jars (default is
1695 ${prefix}/lib/jvm-exports)
1697 Some influential environment variables:
1698 CC C compiler command
1699 CFLAGS C compiler flags
1700 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1701 nonstandard directory <lib dir>
1702 LIBS libraries to pass to the linker, e.g. -l<library>
1703 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1704 you have headers in a nonstandard directory <include dir>
1705 CXX C++ compiler command
1706 CXXFLAGS C++ compiler flags
1708 CXXCPP C++ preprocessor
1709 XMKMF Path to xmkmf, Makefile generator for X Window System
1711 Use these variables to override the choices made by `configure' or to
help
1712 it to
find libraries and programs with nonstandard names
/locations.
1714 Report bugs to the package provider.
1719 if test "$ac_init_help" = "recursive"; then
1720 # If there are subdirs, report their specific --help.
1721 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1722 test -d "$ac_dir" ||
1723 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1728 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1730 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1731 # A ".." for each directory in $ac_dir_suffix.
1732 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1733 case $ac_top_builddir_sub in
1734 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1735 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1738 ac_abs_top_builddir
=$ac_pwd
1739 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1740 # for backward compatibility:
1741 ac_top_builddir
=$ac_top_build_prefix
1744 .
) # We are building in place.
1746 ac_top_srcdir
=$ac_top_builddir_sub
1747 ac_abs_top_srcdir
=$ac_pwd ;;
1748 [\\/]* | ?
:[\\/]* ) # Absolute name.
1749 ac_srcdir
=$srcdir$ac_dir_suffix;
1750 ac_top_srcdir
=$srcdir
1751 ac_abs_top_srcdir
=$srcdir ;;
1753 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1754 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1755 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1757 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1759 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1760 # Check for guested configure.
1761 if test -f "$ac_srcdir/configure.gnu"; then
1763 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1764 elif test -f "$ac_srcdir/configure"; then
1766 $SHELL "$ac_srcdir/configure" --help=recursive
1768 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1770 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1774 test -n "$ac_init_help" && exit $ac_status
1775 if $ac_init_version; then
1777 libjava configure version-unused
1778 generated by GNU Autoconf
2.64
1780 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1781 This configure
script is free software
; the Free Software Foundation
1782 gives unlimited permission to copy
, distribute and modify it.
1787 ## ------------------------ ##
1788 ## Autoconf initialization. ##
1789 ## ------------------------ ##
1791 # ac_fn_c_try_compile LINENO
1792 # --------------------------
1793 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_c_try_compile
()
1796 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1797 rm -f conftest.
$ac_objext
1798 if { { ac_try
="$ac_compile"
1800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_compile") 2>conftest.err
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && {
1814 test -z "$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1816 } && test -s conftest.$ac_objext; then :
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1827 } # ac_fn_c_try_compile
1829 # ac_fn_cxx_try_compile LINENO
1830 # ----------------------------
1831 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1832 ac_fn_cxx_try_compile ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 rm -f conftest.$ac_objext
1836 if { { ac_try="$ac_compile"
1838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1839 *) ac_try_echo
=$ac_try;;
1841 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_compile") 2>conftest.err
1845 if test -s conftest.err
; then
1846 grep -v '^ *+' conftest.err
>conftest.er1
1847 cat conftest.er1
>&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_cxx_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest.
$ac_objext; then :
1857 $as_echo "$as_me: failed program was:" >&5
1858 sed 's/^/| /' conftest.
$ac_ext >&5
1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1865 } # ac_fn_cxx_try_compile
1867 # ac_fn_c_try_link LINENO
1868 # -----------------------
1869 # Try to link conftest.$ac_ext, and return whether this succeeded.
1872 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1873 rm -f conftest.
$ac_objext conftest
$ac_exeext
1874 if { { ac_try
="$ac_link"
1876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_link") 2>conftest.err
1883 if test -s conftest.err; then
1884 grep -v '^ *+' conftest.err >conftest.er1
1885 cat conftest.er1 >&5
1886 mv -f conftest.er1 conftest.err
1888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889 test $ac_status = 0; } && {
1890 test -z "$ac_c_werror_flag" ||
1891 test ! -s conftest.err
1892 } && test -s conftest$ac_exeext && {
1893 test "$cross_compiling" = yes ||
1894 $as_test_x conftest$ac_exeext
1898 $as_echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.$ac_ext >&5
1903 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1904 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1905 # interfere with the next link command; also delete a directory that is
1906 # left behind by Apple's compiler. We do this before executing the actions.
1907 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1908 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1911 } # ac_fn_c_try_link
1913 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1914 # -------------------------------------------------------
1915 # Tests whether HEADER exists and can be compiled using the include files in
1916 # INCLUDES, setting the cache variable VAR accordingly.
1917 ac_fn_c_check_header_compile ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921 $as_echo_n "checking for $2... " >&6; }
1922 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1923 $as_echo_n "(cached) " >&6
1925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926 /* end confdefs.h. */
1930 if ac_fn_c_try_compile "$LINENO"; then :
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 } # ac_fn_c_check_header_compile
1944 # ac_fn_c_try_cpp LINENO
1945 # ----------------------
1946 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 if { { ac_try="$ac_cpp conftest.$ac_ext"
1952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1953 *) ac_try_echo
=$ac_try;;
1955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1959 if test -s conftest.err
; then
1960 grep -v '^ *+' conftest.err
>conftest.er1
1961 cat conftest.er1
>&5
1962 mv -f conftest.er1 conftest.err
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } >/dev
/null
&& {
1966 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1967 test ! -s conftest.err
1971 $as_echo "$as_me: failed program was:" >&5
1972 sed 's/^/| /' conftest.
$ac_ext >&5
1976 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1981 # ac_fn_c_try_run LINENO
1982 # ----------------------
1983 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1984 # that executables *can* be run.
1987 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1988 if { { ac_try
="$ac_link"
1990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1991 *) ac_try_echo=$ac_try;;
1993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1994 $as_echo "$ac_try_echo"; } >&5
1995 (eval "$ac_link") 2>&5
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1999 { { case "(($ac_try" in
2000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2001 *) ac_try_echo
=$ac_try;;
2003 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_try") 2>&5
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; }; }; then :
2011 $as_echo "$as_me: program exited with status $ac_status" >&5
2012 $as_echo "$as_me: failed program was:" >&5
2013 sed 's/^/| /' conftest.
$ac_ext >&5
2015 ac_retval
=$ac_status
2017 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2018 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2023 # ac_fn_c_check_func LINENO FUNC VAR
2024 # ----------------------------------
2025 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2026 ac_fn_c_check_func
()
2028 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2032 $as_echo_n "(cached) " >&6
2034 if test x
$gcc_no_link = xyes
; then
2035 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2039 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2041 #define $2 innocuous_$2
2043 /* System header to define __stub macros and hopefully few prototypes,
2044 which can conflict with char $2 (); below.
2045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2046 <limits.h> exists even on freestanding compilers. */
2049 # include <limits.h>
2051 # include <assert.h>
2056 /* Override any GCC internal prototype to avoid an error.
2057 Use char because int might match the return type of a GCC
2058 builtin and then its argument prototype would still apply. */
2063 /* The GNU C library defines this for functions which it implements
2064 to always fail with ENOSYS. Some functions are actually named
2065 something starting with __ and the normal name is an alias. */
2066 #if defined __stub_$2 || defined __stub___$2
2078 if ac_fn_c_try_link
"$LINENO"; then :
2083 rm -f core conftest.err conftest.
$ac_objext \
2084 conftest
$ac_exeext conftest.
$ac_ext
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2089 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2091 } # ac_fn_c_check_func
2093 # ac_fn_cxx_try_cpp LINENO
2094 # ------------------------
2095 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2096 ac_fn_cxx_try_cpp
()
2098 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2099 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2102 *) ac_try_echo=$ac_try;;
2104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2105 $as_echo "$ac_try_echo"; } >&5
2106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2108 if test -s conftest.err; then
2109 grep -v '^ *+' conftest.err >conftest.er1
2110 cat conftest.er1 >&5
2111 mv -f conftest.er1 conftest.err
2113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2114 test $ac_status = 0; } >/dev/null && {
2115 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2116 test ! -s conftest.err
2120 $as_echo "$as_me: failed program was:" >&5
2121 sed 's/^/| /' conftest.$ac_ext >&5
2125 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2128 } # ac_fn_cxx_try_cpp
2130 # ac_fn_cxx_try_link LINENO
2131 # -------------------------
2132 # Try to link conftest.$ac_ext, and return whether this succeeded.
2133 ac_fn_cxx_try_link ()
2135 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2136 rm -f conftest.$ac_objext conftest$ac_exeext
2137 if { { ac_try="$ac_link"
2139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2140 *) ac_try_echo
=$ac_try;;
2142 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2143 $as_echo "$ac_try_echo"; } >&5
2144 (eval "$ac_link") 2>conftest.err
2146 if test -s conftest.err
; then
2147 grep -v '^ *+' conftest.err
>conftest.er1
2148 cat conftest.er1
>&5
2149 mv -f conftest.er1 conftest.err
2151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2152 test $ac_status = 0; } && {
2153 test -z "$ac_cxx_werror_flag" ||
2154 test ! -s conftest.err
2155 } && test -s conftest
$ac_exeext && {
2156 test "$cross_compiling" = yes ||
2157 $as_test_x conftest
$ac_exeext
2161 $as_echo "$as_me: failed program was:" >&5
2162 sed 's/^/| /' conftest.
$ac_ext >&5
2166 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2167 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2168 # interfere with the next link command; also delete a directory that is
2169 # left behind by Apple's compiler. We do this before executing the actions.
2170 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2171 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2174 } # ac_fn_cxx_try_link
2176 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2177 # -------------------------------------------------------
2178 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2179 # the include files in INCLUDES and setting the cache variable VAR
2181 ac_fn_c_check_header_mongrel
()
2183 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2184 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2186 $as_echo_n "checking for $2... " >&6; }
2187 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2188 $as_echo_n "(cached) " >&6
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2192 $as_echo "$ac_res" >&6; }
2194 # Is the header compilable?
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2196 $as_echo_n "checking $2 usability... " >&6; }
2197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h. */
2202 if ac_fn_c_try_compile
"$LINENO"; then :
2203 ac_header_compiler
=yes
2205 ac_header_compiler
=no
2207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2209 $as_echo "$ac_header_compiler" >&6; }
2211 # Is the header present?
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2213 $as_echo_n "checking $2 presence... " >&6; }
2214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2215 /* end confdefs.h. */
2218 if ac_fn_c_try_cpp
"$LINENO"; then :
2219 ac_header_preproc
=yes
2221 ac_header_preproc
=no
2223 rm -f conftest.err conftest.
$ac_ext
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2225 $as_echo "$ac_header_preproc" >&6; }
2227 # So? What about this header?
2228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2231 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2233 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2237 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2239 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2241 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2243 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2245 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2249 $as_echo_n "checking for $2... " >&6; }
2250 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2251 $as_echo_n "(cached) " >&6
2253 eval "$3=\$ac_header_compiler"
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2257 $as_echo "$ac_res" >&6; }
2259 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2261 } # ac_fn_c_check_header_mongrel
2263 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2264 # ----------------------------------------------------
2265 # Tries to find if the field MEMBER exists in type AGGR, after including
2266 # INCLUDES, setting cache variable VAR accordingly.
2267 ac_fn_c_check_member
()
2269 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2271 $as_echo_n "checking for $2.$3... " >&6; }
2272 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2273 $as_echo_n "(cached) " >&6
2275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h. */
2288 if ac_fn_c_try_compile
"$LINENO"; then :
2291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2298 if (sizeof ac_aggr.$3)
2304 if ac_fn_c_try_compile
"$LINENO"; then :
2309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2315 $as_echo "$ac_res" >&6; }
2316 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2318 } # ac_fn_c_check_member
2320 # ac_fn_c_check_decl LINENO SYMBOL VAR
2321 # ------------------------------------
2322 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2323 ac_fn_c_check_decl
()
2325 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2326 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2327 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2329 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2330 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2331 $as_echo_n "(cached) " >&6
2333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2334 /* end confdefs.h. */
2339 #ifndef $as_decl_name
2341 (void) $as_decl_use;
2343 (void) $as_decl_name;
2351 if ac_fn_c_try_compile
"$LINENO"; then :
2356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2360 $as_echo "$ac_res" >&6; }
2361 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2363 } # ac_fn_c_check_decl
2365 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2366 # --------------------------------------------
2367 # Tries to find the compile-time value of EXPR in a program that includes
2368 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2370 ac_fn_c_compute_int
()
2372 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2373 if test "$cross_compiling" = yes; then
2374 # Depending upon the size, compute the lo and hi bounds.
2375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2381 static int test_array [1 - 2 * !(($2) >= 0)];
2388 if ac_fn_c_try_compile
"$LINENO"; then :
2391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2392 /* end confdefs.h. */
2397 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2404 if ac_fn_c_try_compile
"$LINENO"; then :
2405 ac_hi
=$ac_mid; break
2407 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2408 if test $ac_lo -le $ac_mid; then
2412 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2418 /* end confdefs.h. */
2423 static int test_array [1 - 2 * !(($2) < 0)];
2430 if ac_fn_c_try_compile
"$LINENO"; then :
2433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2434 /* end confdefs.h. */
2439 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2446 if ac_fn_c_try_compile
"$LINENO"; then :
2447 ac_lo
=$ac_mid; break
2449 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2450 if test $ac_mid -le $ac_hi; then
2454 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2464 # Binary search between lo and hi bounds.
2465 while test "x$ac_lo" != "x$ac_hi"; do
2466 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2468 /* end confdefs.h. */
2473 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2480 if ac_fn_c_try_compile
"$LINENO"; then :
2483 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2488 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2493 /* end confdefs.h. */
2495 static long int longval () { return $2; }
2496 static unsigned long int ulongval () { return $2; }
2503 FILE *f = fopen ("conftest.val", "w");
2508 long int i = longval ();
2511 fprintf (f, "%ld", i);
2515 unsigned long int i = ulongval ();
2518 fprintf (f, "%lu", i);
2520 /* Do not output a trailing newline, as this causes \r\n confusion
2521 on some platforms. */
2522 return ferror (f) || fclose (f) != 0;
2528 if ac_fn_c_try_run
"$LINENO"; then :
2529 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2533 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2534 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2538 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2541 } # ac_fn_c_compute_int
2543 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2544 # -------------------------------------------
2545 # Tests whether TYPE exists after having included INCLUDES, setting cache
2546 # variable VAR accordingly.
2547 ac_fn_c_check_type
()
2549 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2551 $as_echo_n "checking for $2... " >&6; }
2552 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2553 $as_echo_n "(cached) " >&6
2556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2557 /* end confdefs.h. */
2568 if ac_fn_c_try_compile
"$LINENO"; then :
2569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2581 if ac_fn_c_try_compile
"$LINENO"; then :
2586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2595 } # ac_fn_c_check_type
2596 cat >config.log
<<_ACEOF
2597 This file contains any messages produced by compilers while
2598 running configure, to aid debugging if configure makes a mistake.
2600 It was created by libjava $as_me version-unused, which was
2601 generated by GNU Autoconf 2.64. Invocation command line was
2613 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2614 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2615 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2616 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2617 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2619 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2620 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2622 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2623 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2624 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2625 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2626 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2627 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2628 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir
=.
2637 $as_echo "PATH: $as_dir"
2653 # Keep a trace of the command line.
2654 # Strip out --no-create and --no-recursion so they do not pile up.
2655 # Strip out --silent because we don't want to record it for future runs.
2656 # Also quote any args containing shell meta-characters.
2657 # Make two passes to allow for proper duplicate-argument suppression.
2661 ac_must_keep_next
=false
2667 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2668 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2669 |
-silent |
--silent |
--silen |
--sile |
--sil)
2672 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2675 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2677 as_fn_append ac_configure_args1
" '$ac_arg'"
2678 if test $ac_must_keep_next = true
; then
2679 ac_must_keep_next
=false
# Got value, back to normal.
2682 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2683 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2684 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2685 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2686 case "$ac_configure_args0 " in
2687 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2690 -* ) ac_must_keep_next
=true
;;
2693 as_fn_append ac_configure_args
" '$ac_arg'"
2698 { ac_configure_args0
=; unset ac_configure_args0
;}
2699 { ac_configure_args1
=; unset ac_configure_args1
;}
2701 # When interrupted or exit'd, cleanup temporary files, and complete
2702 # config.log. We remove comments because anyway the quotes in there
2703 # would cause problems or look ugly.
2704 # WARNING: Use '\'' to represent an apostrophe within the trap.
2705 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2706 trap 'exit_status=$?
2707 # Save into config.log some information that might help in debugging.
2712 ## ---------------- ##
2713 ## Cache variables. ##
2714 ## ---------------- ##
2717 # The following way of writing the cache mishandles newlines in values,
2719 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2720 eval ac_val=\$$ac_var
2724 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2725 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2728 _ | IFS | as_nl) ;; #(
2729 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2730 *) { eval $ac_var=; unset $ac_var;} ;;
2735 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2736 *${as_nl}ac_space=\ *)
2738 "s/'\''/'\''\\\\'\'''\''/g;
2739 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2742 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2750 ## ----------------- ##
2751 ## Output variables. ##
2752 ## ----------------- ##
2755 for ac_var in $ac_subst_vars
2757 eval ac_val=\$$ac_var
2759 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2761 $as_echo "$ac_var='\''$ac_val'\''"
2765 if test -n "$ac_subst_files"; then
2767 ## ------------------- ##
2768 ## File substitutions. ##
2769 ## ------------------- ##
2772 for ac_var
in $ac_subst_files
2774 eval ac_val
=\$
$ac_var
2776 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2778 $as_echo "$ac_var='\''$ac_val'\''"
2783 if test -s confdefs.h; then
2793 test "$ac_signal" != 0 &&
2794 $as_echo "$as_me: caught signal $ac_signal"
2795 $as_echo "$as_me: exit $exit_status"
2797 rm -f core *.core core.conftest.* &&
2798 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2801 for ac_signal
in 1 2 13 15; do
2802 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2806 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2807 rm -f -r conftest
* confdefs.h
2809 $as_echo "/* confdefs.h */" > confdefs.h
2811 # Predefined preprocessor variables.
2813 cat >>confdefs.h
<<_ACEOF
2814 #define PACKAGE_NAME "$PACKAGE_NAME"
2817 cat >>confdefs.h
<<_ACEOF
2818 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2821 cat >>confdefs.h
<<_ACEOF
2822 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2825 cat >>confdefs.h
<<_ACEOF
2826 #define PACKAGE_STRING "$PACKAGE_STRING"
2829 cat >>confdefs.h
<<_ACEOF
2830 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2833 cat >>confdefs.h
<<_ACEOF
2834 #define PACKAGE_URL "$PACKAGE_URL"
2838 # Let the site file select an alternate cache file if it wants to.
2839 # Prefer an explicitly selected file to automatically selected ones.
2842 if test -n "$CONFIG_SITE"; then
2843 ac_site_file1
=$CONFIG_SITE
2844 elif test "x$prefix" != xNONE
; then
2845 ac_site_file1
=$prefix/share
/config.site
2846 ac_site_file2
=$prefix/etc
/config.site
2848 ac_site_file1
=$ac_default_prefix/share
/config.site
2849 ac_site_file2
=$ac_default_prefix/etc
/config.site
2851 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2853 test "x$ac_site_file" = xNONE
&& continue
2854 if test -r "$ac_site_file"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2856 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2857 sed 's/^/| /' "$ac_site_file" >&5
2862 if test -r "$cache_file"; then
2863 # Some versions of bash will fail to source /dev/null (special
2864 # files actually), so we avoid doing that.
2865 if test -f "$cache_file"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2867 $as_echo "$as_me: loading cache $cache_file" >&6;}
2869 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2870 *) .
"./$cache_file";;
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2875 $as_echo "$as_me: creating cache $cache_file" >&6;}
2879 # Check that the precious variables saved in the cache have kept the same
2881 ac_cache_corrupted
=false
2882 for ac_var
in $ac_precious_vars; do
2883 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2884 eval ac_new_set
=\
$ac_env_${ac_var}_set
2885 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2886 eval ac_new_val
=\
$ac_env_${ac_var}_value
2887 case $ac_old_set,$ac_new_set in
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2890 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2891 ac_cache_corrupted
=: ;;
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2894 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2895 ac_cache_corrupted
=: ;;
2898 if test "x$ac_old_val" != "x$ac_new_val"; then
2899 # differences in whitespace do not lead to failure.
2900 ac_old_val_w
=`echo x $ac_old_val`
2901 ac_new_val_w
=`echo x $ac_new_val`
2902 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2904 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2905 ac_cache_corrupted
=:
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2908 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2909 eval $ac_var=\
$ac_old_val
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2912 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2914 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2917 # Pass precious variables to config.status.
2918 if test "$ac_new_set" = set; then
2920 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2921 *) ac_arg
=$ac_var=$ac_new_val ;;
2923 case " $ac_configure_args " in
2924 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2925 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2929 if $ac_cache_corrupted; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2931 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2933 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2934 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2936 ## -------------------- ##
2937 ## Main body of script. ##
2938 ## -------------------- ##
2941 ac_cpp
='$CPP $CPPFLAGS'
2942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2954 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2955 for ac_t
in install-sh
install.sh shtool
; do
2956 if test -f "$ac_dir/$ac_t"; then
2958 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2963 if test -z "$ac_aux_dir"; then
2964 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2967 # These three variables are undocumented and unsupported,
2968 # and are intended to be withdrawn in a future Autoconf release.
2969 # They can cause serious problems if a builder's source tree is in a directory
2970 # whose full name contains unusual characters.
2971 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2972 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2973 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2976 # Make sure we can run config.sub.
2977 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2978 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2981 $as_echo_n "checking build system type... " >&6; }
2982 if test "${ac_cv_build+set}" = set; then :
2983 $as_echo_n "(cached) " >&6
2985 ac_build_alias
=$build_alias
2986 test "x$ac_build_alias" = x
&&
2987 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2988 test "x$ac_build_alias" = x
&&
2989 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2990 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2991 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2995 $as_echo "$ac_cv_build" >&6; }
2996 case $ac_cv_build in
2998 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3001 ac_save_IFS
=$IFS; IFS
='-'
3007 # Remember, the first character of IFS is used to create $*,
3008 # except with old shells:
3011 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3014 case ${build_alias} in
3015 "") build_noncanonical
=${build} ;;
3016 *) build_noncanonical
=${build_alias} ;;
3019 case ${host_alias} in
3020 "") host_noncanonical
=${build_noncanonical} ;;
3021 *) host_noncanonical
=${host_alias} ;;
3024 case ${target_alias} in
3025 "") target_noncanonical
=${host_noncanonical} ;;
3026 *) target_noncanonical
=${target_alias} ;;
3030 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3031 # have matching libraries, they should use host libraries: Makefile.tpl
3032 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3033 # However, they still use the build modules, because the corresponding
3034 # host modules (e.g. bison) are only built for the host when bootstrap
3036 # - build_subdir is where we find build modules, and never changes.
3037 # - build_libsubdir is where we find build libraries, and can be overridden.
3039 # Prefix 'build-' so this never conflicts with target_subdir.
3040 build_subdir
="build-${build_noncanonical}"
3042 # Check whether --with-build-libsubdir was given.
3043 if test "${with_build_libsubdir+set}" = set; then :
3044 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3046 build_libsubdir
="$build_subdir"
3049 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3050 if ( test $srcdir = .
&& test -d gcc
) \
3051 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3052 host_subdir
="host-${host_noncanonical}"
3057 target_subdir
=${target_noncanonical}
3060 # We use these options to decide which functions to include.
3062 # Check whether --with-target-subdir was given.
3063 if test "${with_target_subdir+set}" = set; then :
3064 withval
=$with_target_subdir;
3068 # We may get other options which we don't document:
3069 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3071 # Find the rest of the source tree framework.
3072 # Default to --enable-multilib
3073 # Check whether --enable-multilib was given.
3074 if test "${enable_multilib+set}" = set; then :
3075 enableval
=$enable_multilib; case "$enableval" in
3076 yes) multilib
=yes ;;
3078 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3085 # We may get other options which we leave undocumented:
3086 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3087 # See config-ml.in if you want the gory details.
3089 if test "$srcdir" = "."; then
3090 if test "$with_target_subdir" != "."; then
3091 multi_basedir
="$srcdir/$with_multisrctop../.."
3093 multi_basedir
="$srcdir/$with_multisrctop.."
3096 multi_basedir
="$srcdir/.."
3100 # Even if the default multilib is not a cross compilation,
3101 # it may be that some of the other multilibs are.
3102 if test $cross_compiling = no
&& test $multilib = yes \
3103 && test "x${with_multisubdir}" != x
; then
3104 cross_compiling
=maybe
3107 ac_config_commands
="$ac_config_commands default-1"
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3111 $as_echo_n "checking host system type... " >&6; }
3112 if test "${ac_cv_host+set}" = set; then :
3113 $as_echo_n "(cached) " >&6
3115 if test "x$host_alias" = x
; then
3116 ac_cv_host
=$ac_cv_build
3118 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3119 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3124 $as_echo "$ac_cv_host" >&6; }
3127 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3130 ac_save_IFS
=$IFS; IFS
='-'
3136 # Remember, the first character of IFS is used to create $*,
3137 # except with old shells:
3140 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3144 $as_echo_n "checking target system type... " >&6; }
3145 if test "${ac_cv_target+set}" = set; then :
3146 $as_echo_n "(cached) " >&6
3148 if test "x$target_alias" = x
; then
3149 ac_cv_target
=$ac_cv_host
3151 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3152 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3157 $as_echo "$ac_cv_target" >&6; }
3158 case $ac_cv_target in
3160 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3162 target
=$ac_cv_target
3163 ac_save_IFS
=$IFS; IFS
='-'
3169 # Remember, the first character of IFS is used to create $*,
3170 # except with old shells:
3173 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3176 # The aliases save the names the user supplied, while $host etc.
3177 # will get canonicalized.
3178 test -n "$target_alias" &&
3179 test "$program_prefix$program_suffix$program_transform_name" = \
3181 program_prefix
=${target_alias}-
3183 case ${build_alias} in
3184 "") build_noncanonical
=${build} ;;
3185 *) build_noncanonical
=${build_alias} ;;
3188 case ${target_alias} in
3189 "") target_noncanonical
=${host_noncanonical} ;;
3190 *) target_noncanonical
=${target_alias} ;;
3196 # This works around the fact that libtool configuration may change LD
3197 # for this particular configuration, but some shells, instead of
3198 # keeping the changes in LD private, export them just because LD is
3200 ORIGINAL_LD_FOR_MULTILIBS
=$LD
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3203 $as_echo_n "checking whether ln -s works... " >&6; }
3205 if test "$LN_S" = "ln -s"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3207 $as_echo "yes" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3210 $as_echo "no, using $LN_S" >&6; }
3214 # This works around an automake problem.
3215 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3219 # Check whether --with-cross-host was given.
3220 if test "${with_cross_host+set}" = set; then :
3221 withval
=$with_cross_host;
3226 # Check whether --with-newlib was given.
3227 if test "${with_newlib+set}" = set; then :
3228 withval
=$with_newlib;
3232 # Check whether --enable-version-specific-runtime-libs was given.
3233 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3234 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
3235 yes) version_specific_libs
=yes ;;
3236 no
) version_specific_libs
=no
;;
3237 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3240 version_specific_libs
=no
3245 # Check whether --enable-browser-plugin was given.
3246 if test "${enable_browser_plugin+set}" = set; then :
3247 enableval
=$enable_browser_plugin; case "$enableval" in
3248 yes) browser_plugin_enabled
=yes ;;
3249 no
) browser_plugin_enabled
=no
;;
3250 *) as_fn_error
"Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3253 browser_plugin_enabled
=no
3258 # Check whether --enable-gconf-peer was given.
3259 if test "${enable_gconf_peer+set}" = set; then :
3260 enableval
=$enable_gconf_peer; case "$enableval" in
3261 yes) gconf_enabled
=yes ;;
3262 no
) gconf_enabled
=no
;;
3263 *) as_fn_error
"Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3272 # Check whether --with-antlr-jar was given.
3273 if test "${with_antlr_jar+set}" = set; then :
3274 withval
=$with_antlr_jar;
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3285 $as_echo_n "checking for antlr.jar... " >&6; }
3286 if test "x$ANTLR_JAR" = x
; then
3287 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3288 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
3290 if test -f "$antlr_lib_home/antlr.jar"; then
3291 # FIXME: version check for antlr needed without using a VM
3292 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
3296 if test "x$ANTLR_JAR" = x
; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3298 $as_echo "not found" >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3301 $as_echo "$ANTLR_JAR" >&6; }
3304 if test -f "${ANTLR_JAR}"; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3306 $as_echo "$ANTLR_JAR" >&6; }
3308 as_fn_error
"antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3313 # Check whether --enable-gjdoc was given.
3314 if test "${enable_gjdoc+set}" = set; then :
3315 enableval
=$enable_gjdoc; case "${enableval}" in
3316 yes) BUILD_GJDOC
=yes ;;
3317 no
) BUILD_GJDOC
=no
;;
3318 *) BUILD_GJDOC
=yes ;;
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3326 $as_echo_n "checking whether to build gjdoc... " >&6; }
3327 if test "x$BUILD_GJDOC" = xmaybe
; then
3328 if test -f "${ANTLR_JAR}"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3331 $as_echo "yes" >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3335 $as_echo "no, antlr.jar not found" >&6; }
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3339 $as_echo "$BUILD_GJDOC" >&6; }
3341 if test "x${BUILD_GJDOC}" = xyes
; then
3343 CREATE_GJDOC_FALSE
='#'
3345 CREATE_GJDOC_TRUE
='#'
3350 # Check whether --enable-java-maintainer-mode was given.
3351 if test "${enable_java_maintainer_mode+set}" = set; then :
3352 enableval
=$enable_java_maintainer_mode;
3355 if test "$enable_java_maintainer_mode" = yes; then
3356 JAVA_MAINTAINER_MODE_TRUE
=
3357 JAVA_MAINTAINER_MODE_FALSE
='#'
3359 JAVA_MAINTAINER_MODE_TRUE
='#'
3360 JAVA_MAINTAINER_MODE_FALSE
=
3364 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3367 # For libstdc++-v3, -fno-builtin must be present here so that a
3368 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3369 # used in later tests. This may not be necessary in libjava; I don't know.
3370 save_CXXFLAGS
="$CXXFLAGS"
3371 CXXFLAGS
="$CXXFLAGS -fno-builtin"
3373 ac_cpp
='$CPP $CPPFLAGS'
3374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3377 if test -n "$ac_tool_prefix"; then
3378 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3379 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381 $as_echo_n "checking for $ac_word... " >&6; }
3382 if test "${ac_cv_prog_CC+set}" = set; then :
3383 $as_echo_n "(cached) " >&6
3385 if test -n "$CC"; then
3386 ac_cv_prog_CC
="$CC" # Let the user override the test.
3388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3392 test -z "$as_dir" && as_dir
=.
3393 for ac_exec_ext
in '' $ac_executable_extensions; do
3394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 if test -n "$CC"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3408 $as_echo "$CC" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3416 if test -z "$ac_cv_prog_CC"; then
3418 # Extract the first word of "gcc", so it can be a program name with args.
3419 set dummy gcc
; ac_word
=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$ac_ct_CC"; then
3426 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir
=.
3433 for ac_exec_ext
in '' $ac_executable_extensions; do
3434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3435 ac_cv_prog_ac_ct_CC
="gcc"
3436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3445 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3446 if test -n "$ac_ct_CC"; then
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3448 $as_echo "$ac_ct_CC" >&6; }
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3451 $as_echo "no" >&6; }
3454 if test "x$ac_ct_CC" = x
; then
3457 case $cross_compiling:$ac_tool_warned in
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3461 ac_tool_warned
=yes ;;
3469 if test -z "$CC"; then
3470 if test -n "$ac_tool_prefix"; then
3471 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3472 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3474 $as_echo_n "checking for $ac_word... " >&6; }
3475 if test "${ac_cv_prog_CC+set}" = set; then :
3476 $as_echo_n "(cached) " >&6
3478 if test -n "$CC"; then
3479 ac_cv_prog_CC
="$CC" # Let the user override the test.
3481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3485 test -z "$as_dir" && as_dir
=.
3486 for ac_exec_ext
in '' $ac_executable_extensions; do
3487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3488 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3499 if test -n "$CC"; then
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3501 $as_echo "$CC" >&6; }
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3504 $as_echo "no" >&6; }
3510 if test -z "$CC"; then
3511 # Extract the first word of "cc", so it can be a program name with args.
3512 set dummy cc
; ac_word
=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if test "${ac_cv_prog_CC+set}" = set; then :
3516 $as_echo_n "(cached) " >&6
3518 if test -n "$CC"; then
3519 ac_cv_prog_CC
="$CC" # Let the user override the test.
3522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir
=.
3527 for ac_exec_ext
in '' $ac_executable_extensions; do
3528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3529 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3530 ac_prog_rejected
=yes
3534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 if test $ac_prog_rejected = yes; then
3542 # We found a bogon in the path, so make sure we never use it.
3543 set dummy
$ac_cv_prog_CC
3545 if test $# != 0; then
3546 # We chose a different compiler from the bogus one.
3547 # However, it has the same basename, so the bogon will be chosen
3548 # first if we set CC to just the basename; use the full file name.
3550 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3556 if test -n "$CC"; then
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3558 $as_echo "$CC" >&6; }
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3561 $as_echo "no" >&6; }
3566 if test -z "$CC"; then
3567 if test -n "$ac_tool_prefix"; then
3568 for ac_prog
in cl.exe
3570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3571 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if test "${ac_cv_prog_CC+set}" = set; then :
3575 $as_echo_n "(cached) " >&6
3577 if test -n "$CC"; then
3578 ac_cv_prog_CC
="$CC" # Let the user override the test.
3580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir
=.
3585 for ac_exec_ext
in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 if test -n "$CC"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3600 $as_echo "$CC" >&6; }
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3607 test -n "$CC" && break
3610 if test -z "$CC"; then
3612 for ac_prog
in cl.exe
3614 # Extract the first word of "$ac_prog", so it can be a program name with args.
3615 set dummy
$ac_prog; ac_word
=$2
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3617 $as_echo_n "checking for $ac_word... " >&6; }
3618 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3619 $as_echo_n "(cached) " >&6
3621 if test -n "$ac_ct_CC"; then
3622 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3628 test -z "$as_dir" && as_dir
=.
3629 for ac_exec_ext
in '' $ac_executable_extensions; do
3630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3631 ac_cv_prog_ac_ct_CC
="$ac_prog"
3632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3642 if test -n "$ac_ct_CC"; then
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3644 $as_echo "$ac_ct_CC" >&6; }
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3651 test -n "$ac_ct_CC" && break
3654 if test "x$ac_ct_CC" = x
; then
3657 case $cross_compiling:$ac_tool_warned in
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3661 ac_tool_warned
=yes ;;
3670 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3672 as_fn_error
"no acceptable C compiler found in \$PATH
3673 See \`config.log' for more details." "$LINENO" 5; }
3675 # Provide some information about the compiler.
3676 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3679 for ac_option
in --version -v -V -qversion; do
3680 { { ac_try
="$ac_compiler $ac_option >&5"
3682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3683 *) ac_try_echo=$ac_try;;
3685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3686 $as_echo "$ac_try_echo"; } >&5
3687 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3689 if test -s conftest.err; then
3691 ... rest of stderr output deleted ...
3692 10q' conftest.err >conftest.er1
3693 cat conftest.er1 >&5
3694 rm -f conftest.er1 conftest.err
3696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3697 test $ac_status = 0; }
3700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3701 /* end confdefs.h. */
3712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3713 (eval $ac_link) 2>&5
3715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3716 test $ac_status = 0; }; then :
3721 if test x$gcc_no_link = xyes; then
3722 # Setting cross_compile will disable run tests; it will
3723 # also disable AC_CHECK_FILE but that's generally
3724 # correct if we can't link.
3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3729 /* end confdefs.h. */
3739 ac_clean_files_save=$ac_clean_files
3740 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3741 # Try to create an executable without -o first, disregard a.out.
3742 # It will help us diagnose broken compilers, and finding out an intuition
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3745 $as_echo_n "checking for C compiler default output file name... " >&6; }
3746 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3748 # The possible output files:
3749 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3752 for ac_file in $ac_files
3755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3756 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3761 if { { ac_try="$ac_link_default"
3763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3764 *) ac_try_echo
=$ac_try;;
3766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3767 $as_echo "$ac_try_echo"; } >&5
3768 (eval "$ac_link_default") 2>&5
3770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3771 test $ac_status = 0; }; then :
3772 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3773 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3774 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3775 # so that the user can short-circuit this test for compilers unknown to
3777 for ac_file
in $ac_files ''
3779 test -f "$ac_file" ||
continue
3781 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3784 # We found the default executable, but exeext='' is most
3788 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3790 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3792 # We set ac_cv_exeext here because the later test for it is not
3793 # safe: cross compilers may not add the suffix if given an `-o'
3794 # argument, so we may need to know it at that point already.
3795 # Even if this section looks crufty: it has the advantage of
3802 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3808 $as_echo "$ac_file" >&6; }
3809 if test -z "$ac_file"; then :
3810 $as_echo "$as_me: failed program was:" >&5
3811 sed 's/^/| /' conftest.
$ac_ext >&5
3813 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3815 { as_fn_set_status
77
3816 as_fn_error
"C compiler cannot create executables
3817 See \`config.log' for more details." "$LINENO" 5; }; }
3819 ac_exeext
=$ac_cv_exeext
3821 # Check that the compiler produces executables we can run. If not, either
3822 # the compiler is broken, or we cross compile.
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3824 $as_echo_n "checking whether the C compiler works... " >&6; }
3825 # If not cross compiling, check that we can run a simple program.
3826 if test "$cross_compiling" != yes; then
3827 if { ac_try
='./$ac_file'
3828 { { case "(($ac_try" in
3829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3830 *) ac_try_echo=$ac_try;;
3832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3833 $as_echo "$ac_try_echo"; } >&5
3834 (eval "$ac_try") 2>&5
3836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3837 test $ac_status = 0; }; }; then
3840 if test "$cross_compiling" = maybe; then
3843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3845 as_fn_error "cannot run C compiled programs.
3846 If you meant to cross compile
, use \
`--host'.
3847 See \`config.log
' for more details." "$LINENO" 5; }
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3852 $as_echo "yes" >&6; }
3854 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3855 ac_clean_files=$ac_clean_files_save
3856 # Check that the compiler produces executables we can run. If not, either
3857 # the compiler is broken, or we cross compile.
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3859 $as_echo_n "checking whether we are cross compiling... " >&6; }
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3861 $as_echo "$cross_compiling" >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3864 $as_echo_n "checking for suffix of executables... " >&6; }
3865 if { { ac_try="$ac_link"
3867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868 *) ac_try_echo=$ac_try;;
3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871 $as_echo "$ac_try_echo"; } >&5
3872 (eval "$ac_link") 2>&5
3874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875 test $ac_status = 0; }; then :
3876 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3877 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3878 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3880 for ac_file
in conftest.exe conftest conftest.
*; do
3881 test -f "$ac_file" ||
continue
3883 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3884 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3893 See \`config.log' for more details." "$LINENO" 5; }
3895 rm -f conftest
$ac_cv_exeext
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3897 $as_echo "$ac_cv_exeext" >&6; }
3899 rm -f conftest.
$ac_ext
3900 EXEEXT
=$ac_cv_exeext
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3904 $as_echo_n "checking for suffix of object files... " >&6; }
3905 if test "${ac_cv_objext+set}" = set; then :
3906 $as_echo_n "(cached) " >&6
3908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 rm -f conftest.o conftest.obj
3920 if { { ac_try
="$ac_compile"
3922 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3923 *) ac_try_echo=$ac_try;;
3925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926 $as_echo "$ac_try_echo"; } >&5
3927 (eval "$ac_compile") 2>&5
3929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930 test $ac_status = 0; }; then :
3931 for ac_file in conftest.o conftest.obj conftest.*; do
3932 test -f "$ac_file" || continue;
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3935 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3940 $as_echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.$ac_ext >&5
3943 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3944 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3945 as_fn_error "cannot compute suffix of object files
: cannot compile
3946 See \
`config.log' for more details." "$LINENO" 5; }
3948 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3951 $as_echo "$ac_cv_objext" >&6; }
3952 OBJEXT=$ac_cv_objext
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3955 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3956 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3957 $as_echo_n "(cached) " >&6
3959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960 /* end confdefs.h. */
3973 if ac_fn_c_try_compile "$LINENO"; then :
3978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3979 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3983 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3984 if test $ac_compiler_gnu = yes; then
3989 ac_test_CFLAGS=${CFLAGS+set}
3990 ac_save_CFLAGS=$CFLAGS
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3992 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3993 if test "${ac_cv_prog_cc_g+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 ac_save_c_werror_flag=$ac_c_werror_flag
3997 ac_c_werror_flag=yes
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4011 if ac_fn_c_try_compile "$LINENO"; then :
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4026 if ac_fn_c_try_compile "$LINENO"; then :
4029 ac_c_werror_flag=$ac_save_c_werror_flag
4031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h. */
4042 if ac_fn_c_try_compile "$LINENO"; then :
4045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050 ac_c_werror_flag=$ac_save_c_werror_flag
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4053 $as_echo "$ac_cv_prog_cc_g" >&6; }
4054 if test "$ac_test_CFLAGS" = set; then
4055 CFLAGS=$ac_save_CFLAGS
4056 elif test $ac_cv_prog_cc_g = yes; then
4057 if test "$GCC" = yes; then
4063 if test "$GCC" = yes; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4070 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4071 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4072 $as_echo_n "(cached) " >&6
4074 ac_cv_prog_cc_c89=no
4076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077 /* end confdefs.h. */
4080 #include <sys/types.h>
4081 #include <sys/stat.h>
4082 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4083 struct buf { int x; };
4084 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4085 static char *e (p, i)
4091 static char *f (char * (*g) (char **, int), char **p, ...)
4096 s = g (p, va_arg (v,int));
4101 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4102 function prototypes and stuff, but not '\xHH' hex character constants.
4103 These don't provoke an error unfortunately, instead are silently treated
4104 as 'x'. The following induces an error, until -std is added to get
4105 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4106 array size at least. It's necessary to write '\x00'==0 to get something
4107 that's true only with -std. */
4108 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4110 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4111 inside strings and character constants. */
4113 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4115 int test (int i, double x);
4116 struct s1 {int (*f) (int a);};
4117 struct s2 {int (*f) (double a);};
4118 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4124 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4129 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4130 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4132 CC="$ac_save_CC $ac_arg"
4133 if ac_fn_c_try_compile "$LINENO"; then :
4134 ac_cv_prog_cc_c89=$ac_arg
4136 rm -f core conftest.err conftest.$ac_objext
4137 test "x$ac_cv_prog_cc_c89" != "xno" && break
4139 rm -f conftest.$ac_ext
4144 case "x$ac_cv_prog_cc_c89" in
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4147 $as_echo "none needed" >&6; } ;;
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4150 $as_echo "unsupported" >&6; } ;;
4152 CC="$CC $ac_cv_prog_cc_c89"
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4154 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4156 if test "x$ac_cv_prog_cc_c89" != xno; then :
4161 ac_cpp='$CPP $CPPFLAGS'
4162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4167 ac_cpp='$CXXCPP $CPPFLAGS'
4168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4171 if test -z "$CXX"; then
4172 if test -n "$CCC"; then
4175 if test -n "$ac_tool_prefix"; then
4176 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4178 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4179 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if test "${ac_cv_prog_CXX+set}" = set; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -n "$CXX"; then
4186 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir=.
4193 for ac_exec_ext in '' $ac_executable_extensions; do
4194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4195 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 if test -n "$CXX"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4208 $as_echo "$CXX" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4215 test -n "$CXX" && break
4218 if test -z "$CXX"; then
4220 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4222 # Extract the first word of "$ac_prog", so it can be a program name with args.
4223 set dummy $ac_prog; ac_word=$2
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 $as_echo_n "checking for $ac_word... " >&6; }
4226 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4227 $as_echo_n "(cached) " >&6
4229 if test -n "$ac_ct_CXX"; then
4230 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4236 test -z "$as_dir" && as_dir=.
4237 for ac_exec_ext in '' $ac_executable_extensions; do
4238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4239 ac_cv_prog_ac_ct_CXX="$ac_prog"
4240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4250 if test -n "$ac_ct_CXX"; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4252 $as_echo "$ac_ct_CXX" >&6; }
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4259 test -n "$ac_ct_CXX" && break
4262 if test "x$ac_ct_CXX" = x; then
4265 case $cross_compiling:$ac_tool_warned in
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4269 ac_tool_warned=yes ;;
4277 # Provide some information about the compiler.
4278 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4281 for ac_option in --version -v -V -qversion; do
4282 { { ac_try="$ac_compiler $ac_option >&5"
4284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4285 *) ac_try_echo
=$ac_try;;
4287 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4288 $as_echo "$ac_try_echo"; } >&5
4289 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4291 if test -s conftest.err
; then
4293 ... rest of stderr output deleted ...
4294 10q' conftest.err
>conftest.er1
4295 cat conftest.er1
>&5
4296 rm -f conftest.er1 conftest.err
4298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4299 test $ac_status = 0; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4303 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4304 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4305 $as_echo_n "(cached) " >&6
4307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4321 if ac_fn_cxx_try_compile
"$LINENO"; then :
4326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4327 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4331 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4332 if test $ac_compiler_gnu = yes; then
4337 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4338 ac_save_CXXFLAGS
=$CXXFLAGS
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4340 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4341 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4342 $as_echo_n "(cached) " >&6
4344 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4345 ac_cxx_werror_flag
=yes
4348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4349 /* end confdefs.h. */
4359 if ac_fn_cxx_try_compile
"$LINENO"; then :
4360 ac_cv_prog_cxx_g
=yes
4363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4364 /* end confdefs.h. */
4374 if ac_fn_cxx_try_compile
"$LINENO"; then :
4377 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4390 if ac_fn_cxx_try_compile
"$LINENO"; then :
4391 ac_cv_prog_cxx_g
=yes
4393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4398 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4401 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4402 if test "$ac_test_CXXFLAGS" = set; then
4403 CXXFLAGS
=$ac_save_CXXFLAGS
4404 elif test $ac_cv_prog_cxx_g = yes; then
4405 if test "$GXX" = yes; then
4411 if test "$GXX" = yes; then
4418 ac_cpp
='$CPP $CPPFLAGS'
4419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4423 CXXFLAGS
="$save_CXXFLAGS"
4425 am__api_version
='1.11'
4427 # Find a good install program. We prefer a C program (faster),
4428 # so one script is as good as another. But avoid the broken or
4429 # incompatible versions:
4430 # SysV /etc/install, /usr/sbin/install
4431 # SunOS /usr/etc/install
4432 # IRIX /sbin/install
4434 # AmigaOS /C/install, which installs bootblocks on floppy discs
4435 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4436 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4437 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4438 # OS/2's system install, which has a completely different semantic
4439 # ./install, which can be erroneously created by make from ./install.sh.
4440 # Reject install programs that cannot install multiple files.
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4442 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4443 if test -z "$INSTALL"; then
4444 if test "${ac_cv_path_install+set}" = set; then :
4445 $as_echo_n "(cached) " >&6
4447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4451 test -z "$as_dir" && as_dir
=.
4452 # Account for people who put trailing slashes in PATH elements.
4453 case $as_dir/ in #((
4454 .
/ | .
// |
/[cC
]/* | \
4455 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4456 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4459 # OSF1 and SCO ODT 3.0 have their own names for install.
4460 # Don't use installbsd from OSF since it installs stuff as root
4462 for ac_prog
in ginstall scoinst
install; do
4463 for ac_exec_ext
in '' $ac_executable_extensions; do
4464 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4465 if test $ac_prog = install &&
4466 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4467 # AIX install. It has an incompatible calling convention.
4469 elif test $ac_prog = install &&
4470 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4471 # program-specific install script used by HP pwplus--don't use.
4474 rm -rf conftest.one conftest.two conftest.dir
4475 echo one
> conftest.one
4476 echo two
> conftest.two
4478 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4479 test -s conftest.one
&& test -s conftest.two
&&
4480 test -s conftest.dir
/conftest.one
&&
4481 test -s conftest.dir
/conftest.two
4483 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4496 rm -rf conftest.one conftest.two conftest.dir
4499 if test "${ac_cv_path_install+set}" = set; then
4500 INSTALL
=$ac_cv_path_install
4502 # As a last resort, use the slow shell script. Don't cache a
4503 # value for INSTALL within a source directory, because that will
4504 # break other packages using the cache if that directory is
4505 # removed, or if the value is a relative name.
4506 INSTALL
=$ac_install_sh
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4510 $as_echo "$INSTALL" >&6; }
4512 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4513 # It thinks the first close brace ends the variable substitution.
4514 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4516 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4518 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4521 $as_echo_n "checking whether build environment is sane... " >&6; }
4524 echo timestamp
> conftest.
file
4525 # Reject unsafe characters in $srcdir or the absolute working directory
4526 # name. Accept space and tab only in the latter.
4530 *[\\\"\
#\$\&\'\`$am_lf]*)
4531 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4534 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4535 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4538 # Do `set' in a subshell so we don't clobber the current shell's
4539 # arguments. Must try -L first in case configure is actually a
4540 # symlink; some systems play weird games with the mod time of symlinks
4541 # (eg FreeBSD returns the mod time of the symlink's containing
4544 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4545 if test "$*" = "X"; then
4547 set X
`ls -t "$srcdir/configure" conftest.file`
4550 if test "$*" != "X $srcdir/configure conftest.file" \
4551 && test "$*" != "X conftest.file $srcdir/configure"; then
4553 # If neither matched, then we have a broken ls. This can happen
4554 # if, for instance, CONFIG_SHELL is bash and it inherits a
4555 # broken ls alias from the environment. This has actually
4556 # happened. Such a system could not be considered "sane".
4557 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4558 alias in your environment" "$LINENO" 5
4561 test "$2" = conftest.
file
4567 as_fn_error
"newly created file is older than distributed files!
4568 Check your system clock" "$LINENO" 5
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4571 $as_echo "yes" >&6; }
4572 test "$program_prefix" != NONE
&&
4573 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4574 # Use a double $ so make ignores it.
4575 test "$program_suffix" != NONE
&&
4576 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4577 # Double any \ or $.
4578 # By default was `s,x,x', remove it if useless.
4579 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4580 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4582 # expand $ac_aux_dir to an absolute path
4583 am_aux_dir
=`cd $ac_aux_dir && pwd`
4585 if test x
"${MISSING+set}" != xset
; then
4588 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4590 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4593 # Use eval to expand $SHELL
4594 if eval "$MISSING --run true"; then
4595 am_missing_run
="$MISSING --run "
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4599 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4602 if test x
"${install_sh}" != xset
; then
4605 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4607 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4611 # Installed binaries are usually stripped using `strip' when the user
4612 # run `make install-strip'. However `strip' might not be the right
4613 # tool to use in cross-compilation environments, therefore Automake
4614 # will honor the `STRIP' environment variable to overrule this program.
4615 if test "$cross_compiling" != no
; then
4616 if test -n "$ac_tool_prefix"; then
4617 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4618 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if test "${ac_cv_prog_STRIP+set}" = set; then :
4622 $as_echo_n "(cached) " >&6
4624 if test -n "$STRIP"; then
4625 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4631 test -z "$as_dir" && as_dir
=.
4632 for ac_exec_ext
in '' $ac_executable_extensions; do
4633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4634 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 STRIP
=$ac_cv_prog_STRIP
4645 if test -n "$STRIP"; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4647 $as_echo "$STRIP" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4655 if test -z "$ac_cv_prog_STRIP"; then
4657 # Extract the first word of "strip", so it can be a program name with args.
4658 set dummy strip
; ac_word
=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$ac_ct_STRIP"; then
4665 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_exec_ext
in '' $ac_executable_extensions; do
4673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674 ac_cv_prog_ac_ct_STRIP
="strip"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4685 if test -n "$ac_ct_STRIP"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4687 $as_echo "$ac_ct_STRIP" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4693 if test "x$ac_ct_STRIP" = x
; then
4696 case $cross_compiling:$ac_tool_warned in
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned
=yes ;;
4705 STRIP
="$ac_cv_prog_STRIP"
4709 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4712 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4713 if test -z "$MKDIR_P"; then
4714 if test "${ac_cv_path_mkdir+set}" = set; then :
4715 $as_echo_n "(cached) " >&6
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4718 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4721 test -z "$as_dir" && as_dir
=.
4722 for ac_prog
in mkdir gmkdir
; do
4723 for ac_exec_ext
in '' $ac_executable_extensions; do
4724 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4725 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4726 'mkdir (GNU coreutils) '* | \
4727 'mkdir (coreutils) '* | \
4728 'mkdir (fileutils) '4.1*)
4729 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4739 if test "${ac_cv_path_mkdir+set}" = set; then
4740 MKDIR_P
="$ac_cv_path_mkdir -p"
4742 # As a last resort, use the slow shell script. Don't cache a
4743 # value for MKDIR_P within a source directory, because that will
4744 # break other packages using the cache if that directory is
4745 # removed, or if the value is a relative name.
4746 test -d .
/--version && rmdir .
/--version
4747 MKDIR_P
="$ac_install_sh -d"
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4751 $as_echo "$MKDIR_P" >&6; }
4755 [\\/$
]* | ?
:[\\/]*) ;;
4756 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4759 for ac_prog
in gawk mawk nawk
awk
4761 # Extract the first word of "$ac_prog", so it can be a program name with args.
4762 set dummy
$ac_prog; ac_word
=$2
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4764 $as_echo_n "checking for $ac_word... " >&6; }
4765 if test "${ac_cv_prog_AWK+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4768 if test -n "$AWK"; then
4769 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4775 test -z "$as_dir" && as_dir
=.
4776 for ac_exec_ext
in '' $ac_executable_extensions; do
4777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4778 ac_cv_prog_AWK
="$ac_prog"
4779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 if test -n "$AWK"; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4791 $as_echo "$AWK" >&6; }
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 $as_echo "no" >&6; }
4798 test -n "$AWK" && break
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4802 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4804 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4805 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4806 $as_echo_n "(cached) " >&6
4808 cat >conftest.
make <<\_ACEOF
4811 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4813 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4814 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4816 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4818 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4822 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4824 $as_echo "yes" >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4829 SET_MAKE
="MAKE=${MAKE-make}"
4832 rm -rf .tst
2>/dev
/null
4833 mkdir .tst
2>/dev
/null
4834 if test -d .tst
; then
4839 rmdir .tst
2>/dev
/null
4841 DEPDIR
="${am__leading_dot}deps"
4843 ac_config_commands
="$ac_config_commands depfiles"
4846 am_make
=${MAKE-make}
4847 cat > confinc
<< 'END'
4849 @
echo this is the am__doit target
4852 # If we don't find an include directive, just comment out the code.
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4854 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4858 # First try GNU make style include.
4859 echo "include confinc" > confmf
4860 # Ignore all kinds of additional output from `make'.
4861 case `$am_make -s -f confmf 2> /dev/null` in #(
4862 *the\ am__doit\ target
*)
4868 # Now try BSD make style include.
4869 if test "$am__include" = "#"; then
4870 echo '.include "confinc"' > confmf
4871 case `$am_make -s -f confmf 2> /dev/null` in #(
4872 *the\ am__doit\ target
*)
4873 am__include
=.include
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4882 $as_echo "$_am_result" >&6; }
4883 rm -f confinc confmf
4885 # Check whether --enable-dependency-tracking was given.
4886 if test "${enable_dependency_tracking+set}" = set; then :
4887 enableval
=$enable_dependency_tracking;
4890 if test "x$enable_dependency_tracking" != xno
; then
4891 am_depcomp
="$ac_aux_dir/depcomp"
4894 if test "x$enable_dependency_tracking" != xno; then
4903 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4904 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4905 # is not polluted with repeated "-I."
4906 am__isrc
=' -I$(srcdir)'
4907 # test to see if srcdir already configured
4908 if test -f $srcdir/config.status
; then
4909 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4913 # test whether we have cygpath
4914 if test -z "$CYGPATH_W"; then
4915 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4916 CYGPATH_W
='cygpath -w'
4923 # Define the identity of the package.
4925 VERSION
='version-unused'
4928 cat >>confdefs.h
<<_ACEOF
4929 #define PACKAGE "$PACKAGE"
4933 cat >>confdefs.h
<<_ACEOF
4934 #define VERSION "$VERSION"
4937 # Some tools Automake needs.
4939 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4942 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4945 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4948 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4951 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4953 # We need awk for the "check" target. The system "awk" is bad on
4955 # Always define AMTAR for backward compatibility.
4957 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4959 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4964 depcc
="$CC" am_compiler_list
=
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4967 $as_echo_n "checking dependency style of $depcc... " >&6; }
4968 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4969 $as_echo_n "(cached) " >&6
4971 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4972 # We make a subdir and do the tests there. Otherwise we can end up
4973 # making bogus files that we don't know about and never remove. For
4974 # instance it was reported that on HP-UX the gcc test will end up
4975 # making a dummy file named `D' -- because `-MD' means `put the output
4978 # Copy depcomp to subdir because otherwise we won't find it if we're
4979 # using a relative directory.
4980 cp "$am_depcomp" conftest.dir
4982 # We will build objects and dependencies in a subdirectory because
4983 # it helps to detect inapplicable dependency modes. For instance
4984 # both Tru64's cc and ICC support -MD to output dependencies as a
4985 # side effect of compilation, but ICC will put the dependencies in
4986 # the current directory while Tru64 will put them in the object
4990 am_cv_CC_dependencies_compiler_type
=none
4991 if test "$am_compiler_list" = ""; then
4992 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4995 case " $depcc " in #(
4996 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4999 for depmode
in $am_compiler_list; do
5000 # Setup a source with many dependencies, because some compilers
5001 # like to wrap large dependency lists on column 80 (with \), and
5002 # we should not choose a depcomp mode which is confused by this.
5004 # We need to recreate these files for each test, as the compiler may
5005 # overwrite some of them when testing with obscure command lines.
5006 # This happens at least with the AIX C compiler.
5008 for i
in 1 2 3 4 5 6; do
5009 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5010 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5011 # Solaris 8's {/usr,}/bin/sh.
5012 touch sub
/conftst
$i.h
5014 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5016 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5017 # mode. It turns out that the SunPro C++ compiler does not properly
5018 # handle `-M -o', and we need to detect this. Also, some Intel
5019 # versions had trouble with output in subdirs
5020 am__obj
=sub
/conftest.
${OBJEXT-o}
5021 am__minus_obj
="-o $am__obj"
5024 # This depmode causes a compiler race in universal mode.
5025 test "$am__universal" = false ||
continue
5028 # after this tag, mechanisms are not by side-effect, so they'll
5029 # only be used when explicitly requested
5030 if test "x$enable_dependency_tracking" = xyes
; then
5036 msvisualcpp | msvcmsys
)
5037 # This compiler won't grok `-c -o', but also, the minuso test has
5038 # not run yet. These depmodes are late enough in the game, and
5039 # so weak that their functioning should not be impacted.
5040 am__obj
=conftest.
${OBJEXT-o}
5045 if depmode
=$depmode \
5046 source=sub
/conftest.c object
=$am__obj \
5047 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5048 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5049 >/dev
/null
2>conftest.err
&&
5050 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5051 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5052 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5053 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5054 # icc doesn't choke on unknown options, it will just issue warnings
5055 # or remarks (even with -Werror). So we grep stderr for any message
5056 # that says an option was ignored or not supported.
5057 # When given -MP, icc 7.0 and 7.1 complain thusly:
5058 # icc: Command line warning: ignoring option '-M'; no argument required
5059 # The diagnosis changed in icc 8.0:
5060 # icc: Command line remark: option '-MP' not supported
5061 if (grep 'ignoring option' conftest.err ||
5062 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5063 am_cv_CC_dependencies_compiler_type
=$depmode
5072 am_cv_CC_dependencies_compiler_type
=none
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5077 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5078 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5081 test "x$enable_dependency_tracking" != xno \
5082 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5084 am__fastdepCC_FALSE
='#'
5086 am__fastdepCC_TRUE
='#'
5087 am__fastdepCC_FALSE
=
5091 depcc
="$CXX" am_compiler_list
=
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5094 $as_echo_n "checking dependency style of $depcc... " >&6; }
5095 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5096 $as_echo_n "(cached) " >&6
5098 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5099 # We make a subdir and do the tests there. Otherwise we can end up
5100 # making bogus files that we don't know about and never remove. For
5101 # instance it was reported that on HP-UX the gcc test will end up
5102 # making a dummy file named `D' -- because `-MD' means `put the output
5105 # Copy depcomp to subdir because otherwise we won't find it if we're
5106 # using a relative directory.
5107 cp "$am_depcomp" conftest.dir
5109 # We will build objects and dependencies in a subdirectory because
5110 # it helps to detect inapplicable dependency modes. For instance
5111 # both Tru64's cc and ICC support -MD to output dependencies as a
5112 # side effect of compilation, but ICC will put the dependencies in
5113 # the current directory while Tru64 will put them in the object
5117 am_cv_CXX_dependencies_compiler_type
=none
5118 if test "$am_compiler_list" = ""; then
5119 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5122 case " $depcc " in #(
5123 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5126 for depmode
in $am_compiler_list; do
5127 # Setup a source with many dependencies, because some compilers
5128 # like to wrap large dependency lists on column 80 (with \), and
5129 # we should not choose a depcomp mode which is confused by this.
5131 # We need to recreate these files for each test, as the compiler may
5132 # overwrite some of them when testing with obscure command lines.
5133 # This happens at least with the AIX C compiler.
5135 for i
in 1 2 3 4 5 6; do
5136 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5137 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5138 # Solaris 8's {/usr,}/bin/sh.
5139 touch sub
/conftst
$i.h
5141 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5143 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5144 # mode. It turns out that the SunPro C++ compiler does not properly
5145 # handle `-M -o', and we need to detect this. Also, some Intel
5146 # versions had trouble with output in subdirs
5147 am__obj
=sub
/conftest.
${OBJEXT-o}
5148 am__minus_obj
="-o $am__obj"
5151 # This depmode causes a compiler race in universal mode.
5152 test "$am__universal" = false ||
continue
5155 # after this tag, mechanisms are not by side-effect, so they'll
5156 # only be used when explicitly requested
5157 if test "x$enable_dependency_tracking" = xyes
; then
5163 msvisualcpp | msvcmsys
)
5164 # This compiler won't grok `-c -o', but also, the minuso test has
5165 # not run yet. These depmodes are late enough in the game, and
5166 # so weak that their functioning should not be impacted.
5167 am__obj
=conftest.
${OBJEXT-o}
5172 if depmode
=$depmode \
5173 source=sub
/conftest.c object
=$am__obj \
5174 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5175 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5176 >/dev
/null
2>conftest.err
&&
5177 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5178 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5179 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5180 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5181 # icc doesn't choke on unknown options, it will just issue warnings
5182 # or remarks (even with -Werror). So we grep stderr for any message
5183 # that says an option was ignored or not supported.
5184 # When given -MP, icc 7.0 and 7.1 complain thusly:
5185 # icc: Command line warning: ignoring option '-M'; no argument required
5186 # The diagnosis changed in icc 8.0:
5187 # icc: Command line remark: option '-MP' not supported
5188 if (grep 'ignoring option' conftest.err ||
5189 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5190 am_cv_CXX_dependencies_compiler_type
=$depmode
5199 am_cv_CXX_dependencies_compiler_type
=none
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5204 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5205 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5208 test "x$enable_dependency_tracking" != xno \
5209 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5210 am__fastdepCXX_TRUE
=
5211 am__fastdepCXX_FALSE
='#'
5213 am__fastdepCXX_TRUE
='#'
5214 am__fastdepCXX_FALSE
=
5220 if test -n "$ac_tool_prefix"; then
5221 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5222 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if test "${ac_cv_prog_AS+set}" = set; then :
5226 $as_echo_n "(cached) " >&6
5228 if test -n "$AS"; then
5229 ac_cv_prog_AS
="$AS" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_AS
="${ac_tool_prefix}as"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 if test -n "$AS"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5251 $as_echo "$AS" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5259 if test -z "$ac_cv_prog_AS"; then
5261 # Extract the first word of "as", so it can be a program name with args.
5262 set dummy as
; ac_word
=$2
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5266 $as_echo_n "(cached) " >&6
5268 if test -n "$ac_ct_AS"; then
5269 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_ac_ct_AS
="as"
5279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5289 if test -n "$ac_ct_AS"; then
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5291 $as_echo "$ac_ct_AS" >&6; }
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5297 if test "x$ac_ct_AS" = x
; then
5300 case $cross_compiling:$ac_tool_warned in
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5304 ac_tool_warned
=yes ;;
5312 if test -n "$ac_tool_prefix"; then
5313 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5314 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5316 $as_echo_n "checking for $ac_word... " >&6; }
5317 if test "${ac_cv_prog_LD+set}" = set; then :
5318 $as_echo_n "(cached) " >&6
5320 if test -n "$LD"; then
5321 ac_cv_prog_LD
="$LD" # Let the user override the test.
5323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5327 test -z "$as_dir" && as_dir
=.
5328 for ac_exec_ext
in '' $ac_executable_extensions; do
5329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5330 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 if test -n "$LD"; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5343 $as_echo "$LD" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 $as_echo "no" >&6; }
5351 if test -z "$ac_cv_prog_LD"; then
5353 # Extract the first word of "ld", so it can be a program name with args.
5354 set dummy ld
; ac_word
=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356 $as_echo_n "checking for $ac_word... " >&6; }
5357 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
5358 $as_echo_n "(cached) " >&6
5360 if test -n "$ac_ct_LD"; then
5361 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5367 test -z "$as_dir" && as_dir
=.
5368 for ac_exec_ext
in '' $ac_executable_extensions; do
5369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5370 ac_cv_prog_ac_ct_LD
="ld"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5381 if test -n "$ac_ct_LD"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5383 $as_echo "$ac_ct_LD" >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386 $as_echo "no" >&6; }
5389 if test "x$ac_ct_LD" = x
; then
5392 case $cross_compiling:$ac_tool_warned in
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5396 ac_tool_warned
=yes ;;
5404 if test -n "$ac_tool_prefix"; then
5405 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5406 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if test "${ac_cv_prog_AR+set}" = set; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$AR"; then
5413 ac_cv_prog_AR
="$AR" # Let the user override the test.
5415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir
=.
5420 for ac_exec_ext
in '' $ac_executable_extensions; do
5421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5422 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 if test -n "$AR"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5435 $as_echo "$AR" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5443 if test -z "$ac_cv_prog_AR"; then
5445 # Extract the first word of "ar", so it can be a program name with args.
5446 set dummy
ar; ac_word
=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5450 $as_echo_n "(cached) " >&6
5452 if test -n "$ac_ct_AR"; then
5453 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5459 test -z "$as_dir" && as_dir
=.
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5462 ac_cv_prog_ac_ct_AR
="ar"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5473 if test -n "$ac_ct_AR"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5475 $as_echo "$ac_ct_AR" >&6; }
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5481 if test "x$ac_ct_AR" = x
; then
5484 case $cross_compiling:$ac_tool_warned in
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5488 ac_tool_warned
=yes ;;
5496 if test -n "$ac_tool_prefix"; then
5497 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5498 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5502 $as_echo_n "(cached) " >&6
5504 if test -n "$RANLIB"; then
5505 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5511 test -z "$as_dir" && as_dir
=.
5512 for ac_exec_ext
in '' $ac_executable_extensions; do
5513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5514 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5524 RANLIB
=$ac_cv_prog_RANLIB
5525 if test -n "$RANLIB"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5527 $as_echo "$RANLIB" >&6; }
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5535 if test -z "$ac_cv_prog_RANLIB"; then
5536 ac_ct_RANLIB
=$RANLIB
5537 # Extract the first word of "ranlib", so it can be a program name with args.
5538 set dummy ranlib
; ac_word
=$2
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5540 $as_echo_n "checking for $ac_word... " >&6; }
5541 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5542 $as_echo_n "(cached) " >&6
5544 if test -n "$ac_ct_RANLIB"; then
5545 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5551 test -z "$as_dir" && as_dir
=.
5552 for ac_exec_ext
in '' $ac_executable_extensions; do
5553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5554 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5564 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5565 if test -n "$ac_ct_RANLIB"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5567 $as_echo "$ac_ct_RANLIB" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5573 if test "x$ac_ct_RANLIB" = x
; then
5576 case $cross_compiling:$ac_tool_warned in
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5580 ac_tool_warned
=yes ;;
5582 RANLIB
=$ac_ct_RANLIB
5585 RANLIB
="$ac_cv_prog_RANLIB"
5588 if test -n "$ac_tool_prefix"; then
5589 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5590 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5594 $as_echo_n "(cached) " >&6
5596 if test -n "$DLLTOOL"; then
5597 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5603 test -z "$as_dir" && as_dir
=.
5604 for ac_exec_ext
in '' $ac_executable_extensions; do
5605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5606 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 DLLTOOL
=$ac_cv_prog_DLLTOOL
5617 if test -n "$DLLTOOL"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5619 $as_echo "$DLLTOOL" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5627 if test -z "$ac_cv_prog_DLLTOOL"; then
5628 ac_ct_DLLTOOL
=$DLLTOOL
5629 # Extract the first word of "dlltool", so it can be a program name with args.
5630 set dummy dlltool
; ac_word
=$2
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632 $as_echo_n "checking for $ac_word... " >&6; }
5633 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5634 $as_echo_n "(cached) " >&6
5636 if test -n "$ac_ct_DLLTOOL"; then
5637 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5643 test -z "$as_dir" && as_dir
=.
5644 for ac_exec_ext
in '' $ac_executable_extensions; do
5645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5646 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5657 if test -n "$ac_ct_DLLTOOL"; then
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5659 $as_echo "$ac_ct_DLLTOOL" >&6; }
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5662 $as_echo "no" >&6; }
5665 if test "x$ac_ct_DLLTOOL" = x
; then
5668 case $cross_compiling:$ac_tool_warned in
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5671 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5672 ac_tool_warned
=yes ;;
5674 DLLTOOL
=$ac_ct_DLLTOOL
5677 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5680 for ac_prog
in gawk mawk nawk
awk
5682 # Extract the first word of "$ac_prog", so it can be a program name with args.
5683 set dummy
$ac_prog; ac_word
=$2
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5685 $as_echo_n "checking for $ac_word... " >&6; }
5686 if test "${ac_cv_prog_AWK+set}" = set; then :
5687 $as_echo_n "(cached) " >&6
5689 if test -n "$AWK"; then
5690 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5696 test -z "$as_dir" && as_dir
=.
5697 for ac_exec_ext
in '' $ac_executable_extensions; do
5698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5699 ac_cv_prog_AWK
="$ac_prog"
5700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 if test -n "$AWK"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5712 $as_echo "$AWK" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5719 test -n "$AWK" && break
5722 for ac_prog
in jar fastjar gjar
5724 # Extract the first word of "$ac_prog", so it can be a program name with args.
5725 set dummy
$ac_prog; ac_word
=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if test "${ac_cv_prog_JAR+set}" = set; then :
5729 $as_echo_n "(cached) " >&6
5731 if test -n "$JAR"; then
5732 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
5734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5738 test -z "$as_dir" && as_dir
=.
5739 for ac_exec_ext
in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_JAR
="$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 if test -n "$JAR"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5754 $as_echo "$JAR" >&6; }
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5761 test -n "$JAR" && break
5763 test -n "$JAR" || JAR
="no"
5765 # Extract the first word of "zip", so it can be a program name with args.
5766 set dummy
zip; ac_word
=$2
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768 $as_echo_n "checking for $ac_word... " >&6; }
5769 if test "${ac_cv_path_ZIP+set}" = set; then :
5770 $as_echo_n "(cached) " >&6
5774 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
5777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5781 test -z "$as_dir" && as_dir
=.
5782 for ac_exec_ext
in '' $ac_executable_extensions; do
5783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5784 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
5785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5792 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
5797 if test -n "$ZIP"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
5799 $as_echo "$ZIP" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5806 # Extract the first word of "unzip", so it can be a program name with args.
5807 set dummy
unzip; ac_word
=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if test "${ac_cv_path_UNZIP+set}" = set; then :
5811 $as_echo_n "(cached) " >&6
5815 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
5818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5822 test -z "$as_dir" && as_dir
=.
5823 for ac_exec_ext
in '' $ac_executable_extensions; do
5824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5825 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
5826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
5837 UNZIP
=$ac_cv_path_UNZIP
5838 if test -n "$UNZIP"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5
5840 $as_echo "$UNZIP" >&6; }
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5848 # We need a jar that supports -@. This is a GNU extension.
5849 if test "$JAR" != no
; then
5850 rm -f config-test.jar
5851 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
5852 if test -f config-test.jar
; then
5853 rm -f config-test.jar
5859 # Prefer the jar we found, but fall back to our jar script.
5860 if test "$JAR" = no
; then
5861 if test "$ZIP" = no
; then
5862 as_fn_error
"cannot find neither zip nor jar, cannot continue" "$LINENO" 5
5864 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
5865 JAR
=`pwd`/scripts
/jar
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5873 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5874 # Check whether --enable-maintainer-mode was given.
5875 if test "${enable_maintainer_mode+set}" = set; then :
5876 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5878 USE_MAINTAINER_MODE
=no
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5882 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5883 if test $USE_MAINTAINER_MODE = yes; then
5884 MAINTAINER_MODE_TRUE
=
5885 MAINTAINER_MODE_FALSE
='#'
5887 MAINTAINER_MODE_TRUE
='#'
5888 MAINTAINER_MODE_FALSE
=
5891 MAINT
=$MAINTAINER_MODE_TRUE
5897 # configure.host sets the following important variables
5898 # libgcj_cflags - host specific C compiler flags
5899 # libgcj_cxxflags - host specific C++ compiler flags
5900 # libgcj_javaflags - host specific Java compiler flags
5901 # libgcj_sublib_ltflags - host specific Libtool flags
5902 # libgcj_sublib_core_extra_deps - host specific extra
5903 # dependencies for core sublib
5904 # (these last two only used when building sublibs)
5905 # and a number of others; see the list at the start of the file.
5910 libgcj_sublib_ltflags
=
5911 libgcj_sublib_core_extra_deps
=
5913 .
${srcdir}/configure.
host
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5916 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5917 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5918 $as_echo_n "(cached) " >&6
5920 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5921 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5922 acl_cv_prog_gnu_ld
=yes
5924 acl_cv_prog_gnu_ld
=no
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5928 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5929 with_gnu_ld
=$acl_cv_prog_gnu_ld
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
5932 $as_echo_n "checking if the GNU linker ($LD) supports -Bsymbolic-functions... " >&6; }
5933 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then :
5934 $as_echo_n "(cached) " >&6
5937 acl_cv_prog_gnu_ld_symbolic
=no
5939 if test x
"$with_gnu_ld" = x
"yes"; then
5940 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
5941 acl_cv_prog_gnu_ld_symbolic
=yes
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld_symbolic" >&5
5946 $as_echo "$acl_cv_prog_gnu_ld_symbolic" >&6; }
5947 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
5948 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
5953 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
5954 if test -z "$libgcj_ld_symbolic"; then
5955 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
5958 LIBGCJ_CFLAGS
="${libgcj_cflags}"
5959 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
5960 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
5961 LIBGCJ_SUBLIB_LTFLAGS
="${libgcj_sublib_ltflags}"
5962 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
="${libgcj_sublib_core_extra_deps}"
5963 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
5964 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
5973 # Only use libltdl for non-newlib builds.
5974 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
5976 $as_echo_n "checking dynamic linker characteristics... " >&6; }
5978 libname_spec
='lib$name'
5986 shlibpath_overrides_runpath
=unknown
5988 dynamic_linker
="$host_os ld.so"
5989 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
5990 if test "$GCC" = yes; then
5991 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
5992 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
5993 # if the path contains ";" then we assume it to be the separator
5994 # otherwise default to the standard path separator (i.e. ":") - it is
5995 # assumed that no part of a normal pathname contains ";" but that should
5996 # okay in the real world where ";" in dirpaths is itself problematic.
5997 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
5999 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6002 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
6004 need_lib_prefix
=unknown
6005 hardcode_into_libs
=no
6007 # when you set need_version to no, make sure it does not cause -set_version
6008 # flags to be left without arguments
6009 need_version
=unknown
6014 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
6015 shlibpath_var
=LIBPATH
6017 # AIX 3 has no versioning support, so we append a major version to the name.
6018 soname_spec
='${libname}${release}${shared_ext}$major'
6025 hardcode_into_libs
=yes
6026 if test "$host_cpu" = ia64
; then
6027 # AIX 5 supports IA64
6028 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6029 shlibpath_var
=LD_LIBRARY_PATH
6031 # With GCC up to 2.95.x, collect2 would create an import file
6032 # for dependence libraries. The import file would start with
6033 # the line `#! .'. This would cause the generated library to
6034 # depend on `.', always an invalid library. This was fixed in
6035 # development snapshots of GCC prior to 3.0.
6037 aix4 | aix4.
[01] | aix4.
[01].
*)
6038 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6040 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6047 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6048 # soname into executable. Probably we can add versioning support to
6049 # collect2, so additional links can be useful in future.
6050 if test "$aix_use_runtimelinking" = yes; then
6051 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6052 # instead of lib<name>.a to let people know that these are not
6053 # typical AIX shared libraries.
6054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6056 # We preserve .a as extension for shared libraries through AIX4.2
6057 # and later when we are not doing run time linking.
6058 library_names_spec
='${libname}${release}.a $libname.a'
6059 soname_spec
='${libname}${release}${shared_ext}$major'
6061 shlibpath_var
=LIBPATH
6066 library_names_spec
='$libname.ixlibrary $libname.a'
6067 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6068 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'
6072 library_names_spec
='${libname}${shared_ext}'
6073 dynamic_linker
="$host_os ld.so"
6074 shlibpath_var
=LIBRARY_PATH
6080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6081 soname_spec
='${libname}${release}${shared_ext}$major'
6082 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
6083 shlibpath_var
=LD_LIBRARY_PATH
6084 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6085 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
6086 # the default ld.so.conf also contains /usr/contrib/lib and
6087 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6088 # libtool to hard-code these into programs
6091 cygwin
* | mingw
* | pw32
*)
6092 version_type
=windows
6097 case $GCC,$host_os in
6098 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
6099 library_names_spec
='$libname.dll.a'
6100 # DLL is installed to $(libdir)/../bin by postinstall_cmds
6101 postinstall_cmds
='base_file=`basename \${file}`~
6102 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6103 dldir=$destdir/`dirname \$dlpath`~
6104 test -d \$dldir || mkdir -p \$dldir~
6105 $install_prog $dir/$dlname \$dldir/$dlname'
6106 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6107 dlpath=$dir/\$dldll~
6109 shlibpath_overrides_runpath
=yes
6113 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6114 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6115 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
6118 # MinGW DLLs use traditional 'lib' prefix
6119 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6120 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6121 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
6122 # It is most probably a Windows format PATH printed by
6123 # mingw gcc, but we are running on Cygwin. Gcc prints its search
6124 # path with ; separators, and with drive letters. We can handle the
6125 # drive letters (cygwin fileutils understands them), so leave them,
6126 # especially as we might pass files found there to a mingw objdump,
6127 # which wouldn't understand a cygwinified path. Ahh.
6128 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6130 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6134 # pw32 DLLs use 'pw' prefix rather than 'lib'
6135 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
6141 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6144 dynamic_linker
='Win32 ld.exe'
6145 # FIXME: first we should search . and the directory the executable is in
6149 darwin
* | rhapsody
*)
6150 dynamic_linker
="$host_os dyld"
6154 # FIXME: Relying on posixy $() will cause problems for
6155 # cross-compilation, but unfortunately the echo tests do not
6156 # yet detect zsh echo's removal of \ escapes.
6157 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6158 soname_spec
='${libname}${release}${major}$shared_ext'
6159 shlibpath_overrides_runpath
=yes
6160 shlibpath_var
=DYLD_LIBRARY_PATH
6161 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
6162 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6163 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
6164 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"`
6166 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
6173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6174 soname_spec
='${libname}${release}${shared_ext}$major'
6175 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}
6706 GCJ_FOR_ECJX
='$(GCJ)'
6707 GCC_FOR_ECJX
='$(CXX)'
6708 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
6709 if test -n "${with_cross_host}"; then
6710 # We are being configured with a cross compiler. We can't
6711 # use ac_exeext, because that is for the target platform.
6714 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
6715 GCC_FOR_ECJX
="${with_cross_host}-gcc"
6716 case "${with_cross_host}" in
6718 cross_host_exeext
=.exe
6721 host_exeext
=${cross_host_exeext}
6722 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
6723 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
6724 # Ordinary cross (host!=target and host=build)
6727 # Canadian cross (host!=target and host!=build)
6734 # We are being configured with a native or crossed-native compiler
6735 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
6736 if test x
"$build" = x
"$host"; then
6737 # True native build (host=target and host=build)
6740 # Crossed-native build (host=target and host!=build)
6747 libgcjdir
=`${PWDCMD-pwd}`
6750 # Just in case there is a comma in the build dir, quote it for the
6751 # sed command below.
6753 *[,\\]*) qlibgcjdir
=`echo "$libgcjdir" | sed 's:[,\\]:\\&:g'`;;
6754 *) qlibgcjdir
=$libgcjdir;;
6756 GCJ
=`echo "$GCJ" | sed "s, -B, -B$qlibgcjdir/&,"`
6759 GCJ
=$GCJ" -B$libgcjdir/"
6762 case "${which_gcj}" in
6764 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
6767 if test "x${with_newlib}" = "xyes"; then
6768 # FIXME (comment): Why is this needed?
6771 GCJH
='$(target_noncanonical)-gcjh'
6785 # Create it, so that compile/link tests don't fail
6786 test -f libgcj.spec ||
touch libgcj.spec
6790 # Set up to configure Classpath.
6791 # FIXME: no supported way to pass args in autoconf.
6792 # Disable tool wrappers to avoid ltdl.h configure check.
6793 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
6794 ac_configure_args
="$ac_configure_args --disable-load-library"
6795 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
6796 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
6797 dir1
=`cd $srcdir && pwd`
6799 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
6800 ac_configure_args
="$ac_configure_args --disable-core-jni"
6801 ac_configure_args
="$ac_configure_args --disable-examples"
6802 ac_configure_args
="$ac_configure_args --with-glibj=build"
6803 if test "$browser_plugin_enabled" != yes; then
6804 ac_configure_args
="$ac_configure_args --disable-plugin"
6806 ac_configure_args
="$ac_configure_args --enable-plugin"
6808 if test "$gconf_enabled" != yes; then
6809 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
6810 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
6812 if test "$use_gtk_awt" != yes; then
6813 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
6815 if test "$use_qt_awt" != yes; then
6816 ac_configure_args
="$ac_configure_args --disable-qt-peer"
6818 # We need this as qt is disabled by default in classpath.
6819 ac_configure_args
="$ac_configure_args --enable-qt-peer"
6821 if test "$use_x_awt" != yes; then
6822 ac_configure_args
="$ac_configure_args --without-escher"
6824 # We need this as escher is disabled by default in classpath.
6825 if test "$use_escher" != true
; then
6826 as_fn_error
"Please supply an absolute path to the Escher library" "$LINENO" 5
6828 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
6831 if test "x$BUILD_GJDOC" = xno
; then
6832 ac_configure_args
="$ac_configure_args --disable-gjdoc"
6834 # -Werror causes unavoidable problems in code using alsa.
6835 ac_configure_args
="$ac_configure_args --disable-regen-headers"
6836 ac_configure_args
="$ac_configure_args --disable-Werror"
6838 # Only use libltdl for non-newlib builds.
6839 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
6840 case $enable_ltdl_convenience in
6841 no
) as_fn_error
"this package needs a convenience libltdl" "$LINENO" 5 ;;
6842 "") enable_ltdl_convenience
=yes
6843 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
6845 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
6846 LTDLINCL
='-I${top_srcdir}/''libltdl'
6847 # For backwards non-gettext consistent compatibility...
6856 $as_echo "#define USE_LTDL 1" >>confdefs.h
6858 # Sigh. Libtool's macro doesn't do the right thing.
6859 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
6860 # FIXME: this is a hack.
6861 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
6862 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6870 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6875 macro_version
='2.2.7a'
6876 macro_revision
='1.3134'
6890 ltmain
="$ac_aux_dir/ltmain.sh"
6892 # Backslashify metacharacters that are still active within
6893 # double-quoted strings.
6894 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6896 # Same as above, but do not quote variable references.
6897 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6899 # Sed substitution to delay expansion of an escaped shell variable in a
6900 # double_quote_subst'ed string.
6901 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6903 # Sed substitution to delay expansion of an escaped single quote.
6904 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6906 # Sed substitution to avoid accidental globbing in evaled expressions
6907 no_glob_subst
='s/\*/\\\*/g'
6909 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6910 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6911 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6914 $as_echo_n "checking how to print strings... " >&6; }
6915 # Test print first, because it will be a builtin if present.
6916 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6917 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6919 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6922 # Use this function as a fallback that always works.
6923 func_fallback_echo ()
6925 eval 'cat <<_LTECHO_EOF
6929 ECHO='func_fallback_echo
'
6932 # func_echo_all arg...
6933 # Invoke $ECHO with all args, space-separated.
6940 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6941 $as_echo "printf" >&6; } ;;
6942 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6943 $as_echo "print -r" >&6; } ;;
6944 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6945 $as_echo "cat" >&6; } ;;
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6962 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6963 if test "${ac_cv_path_SED+set}" = set; then :
6964 $as_echo_n "(cached) " >&6
6966 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6967 for ac_i in 1 2 3 4 5 6 7; do
6968 ac_script="$ac_script$as_nl$ac_script"
6970 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6971 { ac_script=; unset ac_script;}
6972 if test -z "$SED"; then
6973 ac_path_SED_found=false
6974 # Loop through the user's path and
test for each of PROGNAME-LIST
6975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6979 test -z "$as_dir" && as_dir
=.
6980 for ac_prog
in sed gsed
; do
6981 for ac_exec_ext
in '' $ac_executable_extensions; do
6982 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6983 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6984 # Check for GNU ac_path_SED and select it if it is found.
6985 # Check for GNU $ac_path_SED
6986 case `"$ac_path_SED" --version 2>&1` in
6988 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6991 $as_echo_n 0123456789 >"conftest.in"
6994 cat "conftest.in" "conftest.in" >"conftest.tmp"
6995 mv "conftest.tmp" "conftest.in"
6996 cp "conftest.in" "conftest.nl"
6997 $as_echo '' >> "conftest.nl"
6998 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6999 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7000 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7001 if test $ac_count -gt ${ac_path_SED_max-0}; then
7002 # Best one so far, save it but keep looking for a better one
7003 ac_cv_path_SED
="$ac_path_SED"
7004 ac_path_SED_max
=$ac_count
7006 # 10*(2^10) chars as input seems more than enough
7007 test $ac_count -gt 10 && break
7009 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7012 $ac_path_SED_found && break 3
7017 if test -z "$ac_cv_path_SED"; then
7018 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7026 $as_echo "$ac_cv_path_SED" >&6; }
7027 SED
="$ac_cv_path_SED"
7030 test -z "$SED" && SED
=sed
7031 Xsed
="$SED -e 1s/^X//"
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7044 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7045 if test "${ac_cv_path_GREP+set}" = set; then :
7046 $as_echo_n "(cached) " >&6
7048 if test -z "$GREP"; then
7049 ac_path_GREP_found
=false
7050 # Loop through the user's path and test for each of PROGNAME-LIST
7051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7052 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7055 test -z "$as_dir" && as_dir
=.
7056 for ac_prog
in grep ggrep
; do
7057 for ac_exec_ext
in '' $ac_executable_extensions; do
7058 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7059 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7060 # Check for GNU ac_path_GREP and select it if it is found.
7061 # Check for GNU $ac_path_GREP
7062 case `"$ac_path_GREP" --version 2>&1` in
7064 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7067 $as_echo_n 0123456789 >"conftest.in"
7070 cat "conftest.in" "conftest.in" >"conftest.tmp"
7071 mv "conftest.tmp" "conftest.in"
7072 cp "conftest.in" "conftest.nl"
7073 $as_echo 'GREP' >> "conftest.nl"
7074 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7075 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7076 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7077 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7078 # Best one so far, save it but keep looking for a better one
7079 ac_cv_path_GREP
="$ac_path_GREP"
7080 ac_path_GREP_max
=$ac_count
7082 # 10*(2^10) chars as input seems more than enough
7083 test $ac_count -gt 10 && break
7085 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7088 $ac_path_GREP_found && break 3
7093 if test -z "$ac_cv_path_GREP"; then
7094 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7097 ac_cv_path_GREP
=$GREP
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7102 $as_echo "$ac_cv_path_GREP" >&6; }
7103 GREP
="$ac_cv_path_GREP"
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7107 $as_echo_n "checking for egrep... " >&6; }
7108 if test "${ac_cv_path_EGREP+set}" = set; then :
7109 $as_echo_n "(cached) " >&6
7111 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7112 then ac_cv_path_EGREP
="$GREP -E"
7114 if test -z "$EGREP"; then
7115 ac_path_EGREP_found
=false
7116 # Loop through the user's path and test for each of PROGNAME-LIST
7117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7118 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7121 test -z "$as_dir" && as_dir
=.
7122 for ac_prog
in egrep; do
7123 for ac_exec_ext
in '' $ac_executable_extensions; do
7124 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7125 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7126 # Check for GNU ac_path_EGREP and select it if it is found.
7127 # Check for GNU $ac_path_EGREP
7128 case `"$ac_path_EGREP" --version 2>&1` in
7130 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7133 $as_echo_n 0123456789 >"conftest.in"
7136 cat "conftest.in" "conftest.in" >"conftest.tmp"
7137 mv "conftest.tmp" "conftest.in"
7138 cp "conftest.in" "conftest.nl"
7139 $as_echo 'EGREP' >> "conftest.nl"
7140 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7141 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7142 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7143 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7144 # Best one so far, save it but keep looking for a better one
7145 ac_cv_path_EGREP
="$ac_path_EGREP"
7146 ac_path_EGREP_max
=$ac_count
7148 # 10*(2^10) chars as input seems more than enough
7149 test $ac_count -gt 10 && break
7151 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7154 $ac_path_EGREP_found && break 3
7159 if test -z "$ac_cv_path_EGREP"; then
7160 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7163 ac_cv_path_EGREP
=$EGREP
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7169 $as_echo "$ac_cv_path_EGREP" >&6; }
7170 EGREP
="$ac_cv_path_EGREP"
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7174 $as_echo_n "checking for fgrep... " >&6; }
7175 if test "${ac_cv_path_FGREP+set}" = set; then :
7176 $as_echo_n "(cached) " >&6
7178 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
7179 then ac_cv_path_FGREP
="$GREP -F"
7181 if test -z "$FGREP"; then
7182 ac_path_FGREP_found
=false
7183 # Loop through the user's path and test for each of PROGNAME-LIST
7184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7185 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7188 test -z "$as_dir" && as_dir
=.
7189 for ac_prog
in fgrep
; do
7190 for ac_exec_ext
in '' $ac_executable_extensions; do
7191 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7192 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
7193 # Check for GNU ac_path_FGREP and select it if it is found.
7194 # Check for GNU $ac_path_FGREP
7195 case `"$ac_path_FGREP" --version 2>&1` in
7197 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7200 $as_echo_n 0123456789 >"conftest.in"
7203 cat "conftest.in" "conftest.in" >"conftest.tmp"
7204 mv "conftest.tmp" "conftest.in"
7205 cp "conftest.in" "conftest.nl"
7206 $as_echo 'FGREP' >> "conftest.nl"
7207 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7208 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7209 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7210 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7211 # Best one so far, save it but keep looking for a better one
7212 ac_cv_path_FGREP
="$ac_path_FGREP"
7213 ac_path_FGREP_max
=$ac_count
7215 # 10*(2^10) chars as input seems more than enough
7216 test $ac_count -gt 10 && break
7218 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7221 $ac_path_FGREP_found && break 3
7226 if test -z "$ac_cv_path_FGREP"; then
7227 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7230 ac_cv_path_FGREP
=$FGREP
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7236 $as_echo "$ac_cv_path_FGREP" >&6; }
7237 FGREP
="$ac_cv_path_FGREP"
7240 test -z "$GREP" && GREP
=grep
7260 # Check whether --with-gnu-ld was given.
7261 if test "${with_gnu_ld+set}" = set; then :
7262 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7268 if test "$GCC" = yes; then
7269 # Check if gcc -print-prog-name=ld gives a path.
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7271 $as_echo_n "checking for ld used by $CC... " >&6; }
7274 # gcc leaves a trailing carriage return which upsets mingw
7275 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7277 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7280 # Accept absolute paths.
7282 re_direlt
='/[^/][^/]*/\.\./'
7283 # Canonicalize the pathname of ld
7284 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7285 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7286 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7288 test -z "$LD" && LD
="$ac_prog"
7291 # If it fails, then pretend we aren't using GCC.
7295 # If it is relative, then search for the first ld in PATH.
7299 elif test "$with_gnu_ld" = yes; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7301 $as_echo_n "checking for GNU ld... " >&6; }
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7304 $as_echo_n "checking for non-GNU ld... " >&6; }
7306 if test "${lt_cv_path_LD+set}" = set; then :
7307 $as_echo_n "(cached) " >&6
7309 if test -z "$LD"; then
7310 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7311 for ac_dir
in $PATH; do
7313 test -z "$ac_dir" && ac_dir
=.
7314 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7315 lt_cv_path_LD
="$ac_dir/$ac_prog"
7316 # Check to see if the program is GNU ld. I'd rather use --version,
7317 # but apparently some variants of GNU ld only accept -v.
7318 # Break only if it was the GNU/non-GNU ld that we prefer.
7319 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7320 *GNU
* |
*'with BFD'*)
7321 test "$with_gnu_ld" != no
&& break
7324 test "$with_gnu_ld" != yes && break
7331 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7336 if test -n "$LD"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7338 $as_echo "$LD" >&6; }
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7343 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7345 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7346 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7347 $as_echo_n "(cached) " >&6
7349 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7350 case `$LD -v 2>&1 </dev/null` in
7351 *GNU
* |
*'with BFD'*)
7352 lt_cv_prog_gnu_ld
=yes
7355 lt_cv_prog_gnu_ld
=no
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7360 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7361 with_gnu_ld
=$lt_cv_prog_gnu_ld
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7372 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7373 if test "${lt_cv_path_NM+set}" = set; then :
7374 $as_echo_n "(cached) " >&6
7376 if test -n "$NM"; then
7377 # Let the user override the test.
7380 lt_nm_to_check
="${ac_tool_prefix}nm"
7381 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7382 lt_nm_to_check
="$lt_nm_to_check nm"
7384 for lt_tmp_nm
in $lt_nm_to_check; do
7385 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7386 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7388 test -z "$ac_dir" && ac_dir
=.
7389 tmp_nm
="$ac_dir/$lt_tmp_nm"
7390 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7391 # Check to see if the nm accepts a BSD-compat flag.
7392 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7393 # nm: unknown option "B" ignored
7394 # Tru64's nm complains that /dev/null is an invalid object file
7395 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7396 */dev
/null
* |
*'Invalid file or object type'*)
7397 lt_cv_path_NM
="$tmp_nm -B"
7401 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7403 lt_cv_path_NM
="$tmp_nm -p"
7407 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7408 continue # so that we can try to find one that supports BSD flags
7417 : ${lt_cv_path_NM=no}
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7421 $as_echo "$lt_cv_path_NM" >&6; }
7422 if test "$lt_cv_path_NM" != "no"; then
7425 # Didn't find any BSD compatible name lister, look for dumpbin.
7426 if test -n "$DUMPBIN"; then :
7427 # Let the user override the test.
7429 if test -n "$ac_tool_prefix"; then
7430 for ac_prog
in dumpbin
"link -dump"
7432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7433 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7435 $as_echo_n "checking for $ac_word... " >&6; }
7436 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7437 $as_echo_n "(cached) " >&6
7439 if test -n "$DUMPBIN"; then
7440 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7446 test -z "$as_dir" && as_dir
=.
7447 for ac_exec_ext
in '' $ac_executable_extensions; do
7448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7449 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 DUMPBIN
=$ac_cv_prog_DUMPBIN
7460 if test -n "$DUMPBIN"; then
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7462 $as_echo "$DUMPBIN" >&6; }
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7469 test -n "$DUMPBIN" && break
7472 if test -z "$DUMPBIN"; then
7473 ac_ct_DUMPBIN
=$DUMPBIN
7474 for ac_prog
in dumpbin
"link -dump"
7476 # Extract the first word of "$ac_prog", so it can be a program name with args.
7477 set dummy
$ac_prog; ac_word
=$2
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7479 $as_echo_n "checking for $ac_word... " >&6; }
7480 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7481 $as_echo_n "(cached) " >&6
7483 if test -n "$ac_ct_DUMPBIN"; then
7484 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir
=.
7491 for ac_exec_ext
in '' $ac_executable_extensions; do
7492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7493 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7503 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7504 if test -n "$ac_ct_DUMPBIN"; then
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7506 $as_echo "$ac_ct_DUMPBIN" >&6; }
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509 $as_echo "no" >&6; }
7513 test -n "$ac_ct_DUMPBIN" && break
7516 if test "x$ac_ct_DUMPBIN" = x
; then
7519 case $cross_compiling:$ac_tool_warned in
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7523 ac_tool_warned
=yes ;;
7525 DUMPBIN
=$ac_ct_DUMPBIN
7529 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7531 DUMPBIN
="$DUMPBIN -symbols"
7539 if test "$DUMPBIN" != ":"; then
7543 test -z "$NM" && NM
=nm
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7551 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7552 if test "${lt_cv_nm_interface+set}" = set; then :
7553 $as_echo_n "(cached) " >&6
7555 lt_cv_nm_interface
="BSD nm"
7556 echo "int some_variable = 0;" > conftest.
$ac_ext
7557 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7558 (eval "$ac_compile" 2>conftest.err
)
7559 cat conftest.err
>&5
7560 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7561 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7562 cat conftest.err
>&5
7563 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7564 cat conftest.out
>&5
7565 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7566 lt_cv_nm_interface
="MS dumpbin"
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7571 $as_echo "$lt_cv_nm_interface" >&6; }
7573 # find the maximum length of command line arguments
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7575 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7576 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7577 $as_echo_n "(cached) " >&6
7584 # On DJGPP, this test can blow up pretty badly due to problems in libc
7585 # (any single argument exceeding 2000 bytes causes a buffer overrun
7586 # during glob expansion). Even if it were fixed, the result of this
7587 # check would be larger than it should be.
7588 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7592 # Under GNU Hurd, this test is not required because there is
7593 # no limit to the length of command line arguments.
7594 # Libtool will interpret -1 as no limit whatsoever
7595 lt_cv_sys_max_cmd_len
=-1;
7598 cygwin
* | mingw
* | cegcc
*)
7599 # On Win9x/ME, this test blows up -- it succeeds, but takes
7600 # about 5 minutes as the teststring grows exponentially.
7601 # Worse, since 9x/ME are not pre-emptively multitasking,
7602 # you end up with a "frozen" computer, even though with patience
7603 # the test eventually succeeds (with a max line length of 256k).
7604 # Instead, let's just punt: use the minimum linelength reported by
7605 # all of the supported platforms: 8192 (on NT/2K/XP).
7606 lt_cv_sys_max_cmd_len
=8192;
7610 # On MiNT this can take a long time and run out of memory.
7611 lt_cv_sys_max_cmd_len
=8192;
7615 # On AmigaOS with pdksh, this test takes hours, literally.
7616 # So we just punt and use a minimum line length of 8192.
7617 lt_cv_sys_max_cmd_len
=8192;
7620 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7621 # This has been around since 386BSD, at least. Likely further.
7622 if test -x /sbin
/sysctl
; then
7623 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7624 elif test -x /usr
/sbin
/sysctl
; then
7625 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7627 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7629 # And add a safety zone
7630 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7631 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7635 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7636 lt_cv_sys_max_cmd_len
=196608
7640 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7641 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7642 # nice to cause kernel panics so lets avoid the loop below.
7643 # First set a reasonable default.
7644 lt_cv_sys_max_cmd_len
=16384
7646 if test -x /sbin
/sysconfig
; then
7647 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7648 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7653 lt_cv_sys_max_cmd_len
=102400
7655 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7656 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7657 if test -n "$kargmax"; then
7658 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7660 lt_cv_sys_max_cmd_len
=32768
7664 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7665 if test -n "$lt_cv_sys_max_cmd_len"; then
7666 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7667 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7669 # Make teststring a little bigger before we do anything with it.
7670 # a 1K string should be a reasonable start.
7671 for i
in 1 2 3 4 5 6 7 8 ; do
7672 teststring
=$teststring$teststring
7674 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7675 # If test is not a shell built-in, we'll probably end up computing a
7676 # maximum length that is only half of the actual maximum length, but
7678 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7679 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7680 test $i != 17 # 1/2 MB should be enough
7683 teststring
=$teststring$teststring
7685 # Only check the string length outside the loop.
7686 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7688 # Add a significant safety factor because C++ compilers can tack on
7689 # massive amounts of additional arguments before passing them to the
7690 # linker. It appears as though 1/2 is a usable value.
7691 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7698 if test -n $lt_cv_sys_max_cmd_len ; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7700 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7703 $as_echo "none" >&6; }
7705 max_cmd_len
=$lt_cv_sys_max_cmd_len
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7717 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7718 # Try some XSI features
7721 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7723 && eval 'test $(( 1 + 1 )) -eq 2 \
7724 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7727 $as_echo "$xsi_shell" >&6; }
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7731 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7733 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7735 && lt_shell_append=yes
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7737 $as_echo "$lt_shell_append" >&6; }
7740 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7750 # test EBCDIC or ASCII
7751 case `echo X|tr X '\101'` in
7752 A) # ASCII based system
7753 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7754 lt_SP2NL='tr \040 \012'
7755 lt_NL2SP='tr \015\012 \040\040'
7757 *) # EBCDIC based system
7758 lt_SP2NL='tr \100 \n'
7759 lt_NL2SP='tr \r\n \100\100'
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7772 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7773 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7774 $as_echo_n "(cached
) " >&6
7776 lt_cv_ld_reload_flag='-r'
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7779 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7780 reload_flag=$lt_cv_ld_reload_flag
7781 case $reload_flag in
7783 *) reload_flag=" $reload_flag" ;;
7785 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7788 if test "$GCC" = yes; then
7789 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7791 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7804 if test -n "$ac_tool_prefix"; then
7805 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7806 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7808 $as_echo_n "checking
for $ac_word...
" >&6; }
7809 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7810 $as_echo_n "(cached
) " >&6
7812 if test -n "$OBJDUMP"; then
7813 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7822 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7832 OBJDUMP=$ac_cv_prog_OBJDUMP
7833 if test -n "$OBJDUMP"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7835 $as_echo "$OBJDUMP" >&6; }
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7838 $as_echo "no
" >&6; }
7843 if test -z "$ac_cv_prog_OBJDUMP"; then
7844 ac_ct_OBJDUMP=$OBJDUMP
7845 # Extract the first word of "objdump
", so it can be a program name with args.
7846 set dummy objdump; ac_word=$2
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7848 $as_echo_n "checking
for $ac_word...
" >&6; }
7849 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7850 $as_echo_n "(cached
) " >&6
7852 if test -n "$ac_ct_OBJDUMP"; then
7853 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859 test -z "$as_dir" && as_dir=.
7860 for ac_exec_ext in '' $ac_executable_extensions; do
7861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7862 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7872 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7873 if test -n "$ac_ct_OBJDUMP"; then
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7875 $as_echo "$ac_ct_OBJDUMP" >&6; }
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7878 $as_echo "no
" >&6; }
7881 if test "x
$ac_ct_OBJDUMP" = x; then
7884 case $cross_compiling:$ac_tool_warned in
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7887 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7888 ac_tool_warned=yes ;;
7890 OBJDUMP=$ac_ct_OBJDUMP
7893 OBJDUMP="$ac_cv_prog_OBJDUMP"
7896 test -z "$OBJDUMP" && OBJDUMP=objdump
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7907 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7908 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7909 $as_echo_n "(cached
) " >&6
7911 lt_cv_file_magic_cmd='$MAGIC_CMD'
7912 lt_cv_file_magic_test_file=
7913 lt_cv_deplibs_check_method='unknown'
7914 # Need to set the preceding variable on all platforms that support
7915 # interlibrary dependencies.
7916 # 'none' -- dependencies not supported.
7917 # `unknown' -- same as none, but documents that we really don't know.
7918 # 'pass_all' -- all dependencies passed with no checks.
7919 # 'test_compile' -- check by making test program.
7920 # 'file_magic [[regex]]' -- check by looking for files in library path
7921 # which responds to the $file_magic_cmd with a given extended regex.
7922 # If you have `file' or equivalent on your system and you're not sure
7923 # whether `pass_all' will *always* work, you probably want this one.
7927 lt_cv_deplibs_check_method=pass_all
7931 lt_cv_deplibs_check_method=pass_all
7935 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7936 lt_cv_file_magic_cmd='/usr/bin/file -L'
7937 lt_cv_file_magic_test_file=/shlib/libc.so
7941 # func_win32_libid is a shell function defined in ltmain.sh
7942 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7943 lt_cv_file_magic_cmd='func_win32_libid'
7947 # Base MSYS/MinGW do not provide the 'file' command needed by
7948 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7949 # unless we find 'file', for example because we are cross-compiling.
7950 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7951 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7952 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7953 lt_cv_file_magic_cmd='func_win32_libid'
7955 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7956 lt_cv_file_magic_cmd='$OBJDUMP -f'
7961 # use the weaker test based on 'objdump'. See mingw*.
7962 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7963 lt_cv_file_magic_cmd='$OBJDUMP -f'
7966 darwin* | rhapsody*)
7967 lt_cv_deplibs_check_method=pass_all
7970 freebsd* | dragonfly*)
7971 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7974 # Not sure whether the presence of OpenBSD here was a mistake.
7975 # Let's accept both of them until this is cleared up.
7976 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7977 lt_cv_file_magic_cmd=/usr/bin/file
7978 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7982 lt_cv_deplibs_check_method=pass_all
7987 lt_cv_deplibs_check_method=pass_all
7991 lt_cv_deplibs_check_method=pass_all
7994 hpux10.20* | hpux11*)
7995 lt_cv_file_magic_cmd=/usr/bin/file
7998 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7999 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8002 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]'
8003 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8006 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8007 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8013 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8014 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8017 irix5* | irix6* | nonstopux*)
8019 *-32|*"-32 ") libmagic=32-bit;;
8020 *-n32|*"-n32 ") libmagic=N32;;
8021 *-64|*"-64 ") libmagic=64-bit;;
8022 *) libmagic=never-match;;
8024 lt_cv_deplibs_check_method=pass_all
8027 # This must be Linux ELF.
8028 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8029 lt_cv_deplibs_check_method=pass_all
8033 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8034 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8041 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8042 lt_cv_file_magic_cmd=/usr/bin/file
8043 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8047 lt_cv_deplibs_check_method=pass_all
8051 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
8052 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8058 osf3* | osf4* | osf5*)
8059 lt_cv_deplibs_check_method=pass_all
8063 lt_cv_deplibs_check_method=pass_all
8067 lt_cv_deplibs_check_method=pass_all
8070 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8071 lt_cv_deplibs_check_method=pass_all
8075 case $host_vendor in
8077 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]'
8078 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8081 lt_cv_deplibs_check_method=pass_all
8084 lt_cv_file_magic_cmd='/bin/file'
8085 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8088 lt_cv_file_magic_cmd='/bin/file'
8089 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
8090 lt_cv_file_magic_test_file=/lib/libc.so
8093 lt_cv_deplibs_check_method=pass_all
8096 lt_cv_deplibs_check_method=pass_all
8102 lt_cv_deplibs_check_method=pass_all
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
8108 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8109 file_magic_cmd=$lt_cv_file_magic_cmd
8110 deplibs_check_method=$lt_cv_deplibs_check_method
8111 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8124 if test -n "$ac_tool_prefix"; then
8125 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8126 set dummy ${ac_tool_prefix}ar; ac_word=$2
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8128 $as_echo_n "checking
for $ac_word...
" >&6; }
8129 if test "${ac_cv_prog_AR+set}" = set; then :
8130 $as_echo_n "(cached
) " >&6
8132 if test -n "$AR"; then
8133 ac_cv_prog_AR="$AR" # Let the user override the test.
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8142 ac_cv_prog_AR="${ac_tool_prefix}ar"
8143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8153 if test -n "$AR"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8155 $as_echo "$AR" >&6; }
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8158 $as_echo "no
" >&6; }
8163 if test -z "$ac_cv_prog_AR"; then
8165 # Extract the first word of "ar", so it can be a program name with args.
8166 set dummy ar; ac_word=$2
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8168 $as_echo_n "checking
for $ac_word...
" >&6; }
8169 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8170 $as_echo_n "(cached
) " >&6
8172 if test -n "$ac_ct_AR"; then
8173 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8179 test -z "$as_dir" && as_dir=.
8180 for ac_exec_ext in '' $ac_executable_extensions; do
8181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8182 ac_cv_prog_ac_ct_AR="ar"
8183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8192 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8193 if test -n "$ac_ct_AR"; then
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
8195 $as_echo "$ac_ct_AR" >&6; }
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8198 $as_echo "no
" >&6; }
8201 if test "x
$ac_ct_AR" = x; then
8204 case $cross_compiling:$ac_tool_warned in
8206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8207 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8208 ac_tool_warned=yes ;;
8216 test -z "$AR" && AR=ar
8217 test -z "$AR_FLAGS" && AR_FLAGS=cru
8229 if test -n "$ac_tool_prefix"; then
8230 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
8231 set dummy ${ac_tool_prefix}strip; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8233 $as_echo_n "checking
for $ac_word...
" >&6; }
8234 if test "${ac_cv_prog_STRIP+set}" = set; then :
8235 $as_echo_n "(cached
) " >&6
8237 if test -n "$STRIP"; then
8238 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8247 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8257 STRIP=$ac_cv_prog_STRIP
8258 if test -n "$STRIP"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8260 $as_echo "$STRIP" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8263 $as_echo "no
" >&6; }
8268 if test -z "$ac_cv_prog_STRIP"; then
8270 # Extract the first word of "strip
", so it can be a program name with args.
8271 set dummy strip; ac_word=$2
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8273 $as_echo_n "checking
for $ac_word...
" >&6; }
8274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8275 $as_echo_n "(cached
) " >&6
8277 if test -n "$ac_ct_STRIP"; then
8278 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 test -z "$as_dir" && as_dir=.
8285 for ac_exec_ext in '' $ac_executable_extensions; do
8286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8287 ac_cv_prog_ac_ct_STRIP="strip
"
8288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8297 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8298 if test -n "$ac_ct_STRIP"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8300 $as_echo "$ac_ct_STRIP" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8303 $as_echo "no
" >&6; }
8306 if test "x
$ac_ct_STRIP" = x; then
8309 case $cross_compiling:$ac_tool_warned in
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8312 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8313 ac_tool_warned=yes ;;
8318 STRIP="$ac_cv_prog_STRIP"
8321 test -z "$STRIP" && STRIP=:
8328 if test -n "$ac_tool_prefix"; then
8329 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8330 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8332 $as_echo_n "checking
for $ac_word...
" >&6; }
8333 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8334 $as_echo_n "(cached
) " >&6
8336 if test -n "$RANLIB"; then
8337 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8343 test -z "$as_dir" && as_dir=.
8344 for ac_exec_ext in '' $ac_executable_extensions; do
8345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8346 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8356 RANLIB=$ac_cv_prog_RANLIB
8357 if test -n "$RANLIB"; then
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8359 $as_echo "$RANLIB" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8362 $as_echo "no
" >&6; }
8367 if test -z "$ac_cv_prog_RANLIB"; then
8368 ac_ct_RANLIB=$RANLIB
8369 # Extract the first word of "ranlib
", so it can be a program name with args.
8370 set dummy ranlib; ac_word=$2
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8372 $as_echo_n "checking
for $ac_word...
" >&6; }
8373 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8374 $as_echo_n "(cached
) " >&6
8376 if test -n "$ac_ct_RANLIB"; then
8377 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 test -z "$as_dir" && as_dir=.
8384 for ac_exec_ext in '' $ac_executable_extensions; do
8385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8386 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8396 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8397 if test -n "$ac_ct_RANLIB"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8399 $as_echo "$ac_ct_RANLIB" >&6; }
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8402 $as_echo "no
" >&6; }
8405 if test "x
$ac_ct_RANLIB" = x; then
8408 case $cross_compiling:$ac_tool_warned in
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8411 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8412 ac_tool_warned=yes ;;
8414 RANLIB=$ac_ct_RANLIB
8417 RANLIB="$ac_cv_prog_RANLIB"
8420 test -z "$RANLIB" && RANLIB=:
8427 # Determine commands to create old-style static archives.
8428 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8429 old_postinstall_cmds='chmod 644 $oldlib'
8430 old_postuninstall_cmds=
8432 if test -n "$RANLIB"; then
8435 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8438 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8441 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8446 lock_old_archive_extraction=yes ;;
8448 lock_old_archive_extraction=no ;;
8489 # If no C compiler was specified, use CC.
8492 # If no C compiler flags were specified, use CFLAGS.
8493 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8495 # Allow CC to be a program name with arguments.
8499 # Check for command to grab the raw symbol name followed by C symbol from nm.
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8501 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8502 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8503 $as_echo_n "(cached
) " >&6
8506 # These are sane defaults that work on at least a few old systems.
8507 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8509 # Character class describing NM global symbol codes.
8510 symcode='[BCDEGRST]'
8512 # Regexp to match symbols that can be accessed directly from C.
8513 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8515 # Define system-specific variables.
8520 cygwin* | mingw* | pw32* | cegcc*)
8521 symcode='[ABCDGISTW]'
8524 if test "$host_cpu" = ia64; then
8525 symcode='[ABCDEGRST]'
8529 symcode='[BCDEGRST]'
8532 symcode='[BCDEGQRST]'
8543 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8551 # If we're using GNU nm, then use its standard symbol codes.
8552 case `$NM -V 2>&1` in
8553 *GNU* | *'with BFD'*)
8554 symcode='[ABCDGIRSTW]' ;;
8557 # Transform an extracted symbol line into a proper C declaration.
8558 # Some systems (esp. on ia64) link data and code symbols differently,
8559 # so use this general approach.
8560 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8562 # Transform an extracted symbol line into symbol name and symbol address
8563 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8564 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'"
8566 # Handle CRLF in mingw tool chain
8570 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8574 # Try without a prefix underscore, then with it.
8575 for ac_symprfx in "" "_
"; do
8577 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8578 symxfrm="\\1 $ac_symprfx\\2 \\2"
8580 # Write the raw and C identifiers.
8581 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8582 # Fake it for dumpbin and say T for any non-static function
8583 # and D for any global variable.
8584 # Also find C++ and __fastcall symbols from MSVC++,
8585 # which start with @ or ?.
8586 lt_cv_sys_global_symbol_pipe="$AWK '"\
8587 " {last_section=section; section=\$ 3};"\
8588 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8589 " \$ 0!~/External *\|/{next};"\
8590 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8591 " {if(hide[section]) next};"\
8592 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8593 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8594 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8595 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8596 " ' prfx
=^
$ac_symprfx"
8598 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8601 # Check to see that the pipe works correctly.
8605 cat > conftest.$ac_ext <<_LT_EOF
8610 void nm_test_func(void);
8611 void nm_test_func(void){}
8615 int main(){nm_test_var='a';nm_test_func();return(0);}
8618 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8619 (eval $ac_compile) 2>&5
8621 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8622 test $ac_status = 0; }; then
8623 # Now try to grab the symbols.
8625 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8626 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8628 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8629 test $ac_status = 0; } && test -s "$nlist"; then
8630 # Try sorting and uniquifying the output.
8631 if sort "$nlist" | uniq > "$nlist"T; then
8632 mv -f "$nlist"T "$nlist"
8637 # Make sure that we snagged all the symbols we need.
8638 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8639 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8640 cat <<_LT_EOF > conftest.$ac_ext
8646 # Now generate the symbol file.
8647 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8649 cat <<_LT_EOF >> conftest.$ac_ext
8651 /* The mapping between symbol names and symbols. */
8656 lt__PROGRAM__LTX_preloaded_symbols[] =
8658 { "@PROGRAM@
", (void *) 0 },
8660 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8661 cat <<\_LT_EOF >> conftest.$ac_ext
8665 /* This works around a problem in FreeBSD linker */
8666 #ifdef FREEBSD_WORKAROUND
8667 static const void *lt_preloaded_setup() {
8668 return lt__PROGRAM__LTX_preloaded_symbols;
8676 # Now try linking the two files.
8677 mv conftest.$ac_objext conftstm.$ac_objext
8678 lt_save_LIBS="$LIBS"
8679 lt_save_CFLAGS="$CFLAGS"
8680 LIBS="conftstm.
$ac_objext"
8681 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8682 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8683 (eval $ac_link) 2>&5
8685 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8686 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8689 LIBS="$lt_save_LIBS"
8690 CFLAGS="$lt_save_CFLAGS"
8692 echo "cannot
find nm_test_func
in $nlist" >&5
8695 echo "cannot
find nm_test_var
in $nlist" >&5
8698 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8701 echo "$progname: failed program was
:" >&5
8702 cat conftest.$ac_ext >&5
8704 rm -rf conftest* conftst*
8706 # Do not use the global_symbol_pipe unless it works.
8707 if test "$pipe_works" = yes; then
8710 lt_cv_sys_global_symbol_pipe=
8716 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8717 lt_cv_sys_global_symbol_to_cdecl=
8719 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8721 $as_echo "failed
" >&6; }
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8724 $as_echo "ok
" >&6; }
8749 # Check whether --enable-libtool-lock was given.
8750 if test "${enable_libtool_lock+set}" = set; then :
8751 enableval=$enable_libtool_lock;
8754 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8756 # Some flags need to be propagated to the compiler or linker for good
8760 # Find out which ABI we are using.
8761 echo 'int i;' > conftest.$ac_ext
8762 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8763 (eval $ac_compile) 2>&5
8765 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8766 test $ac_status = 0; }; then
8767 case `/usr/bin/file conftest.$ac_objext` in
8779 # Find out which ABI we are using.
8780 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8781 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8782 (eval $ac_compile) 2>&5
8784 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8785 test $ac_status = 0; }; then
8786 if test "$lt_cv_prog_gnu_ld" = yes; then
8787 case `/usr/bin/file conftest.$ac_objext` in
8789 LD="${LD-ld} -melf32bsmip"
8792 LD="${LD-ld} -melf32bmipn32"
8795 LD="${LD-ld} -melf64bmip"
8799 case `/usr/bin/file conftest.$ac_objext` in
8815 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8816 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8817 # Find out which ABI we are using.
8818 echo 'int i;' > conftest.$ac_ext
8819 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8820 (eval $ac_compile) 2>&5
8822 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8823 test $ac_status = 0; }; then
8824 case `/usr/bin/file conftest.o` in
8827 x86_64-*kfreebsd*-gnu)
8828 LD="${LD-ld} -m elf_i386_fbsd
"
8831 LD="${LD-ld} -m elf_i386
"
8833 ppc64-*linux*|powerpc64-*linux*)
8834 LD="${LD-ld} -m elf32ppclinux
"
8837 LD="${LD-ld} -m elf_s390
"
8840 LD="${LD-ld} -m elf32_sparc
"
8846 x86_64-*kfreebsd*-gnu)
8847 LD="${LD-ld} -m elf_x86_64_fbsd
"
8850 LD="${LD-ld} -m elf_x86_64
"
8852 ppc*-*linux*|powerpc*-*linux*)
8853 LD="${LD-ld} -m elf64ppc
"
8855 s390*-*linux*|s390*-*tpf*)
8856 LD="${LD-ld} -m elf64_s390
"
8859 LD="${LD-ld} -m elf64_sparc
"
8869 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8870 SAVE_CFLAGS="$CFLAGS"
8871 CFLAGS="$CFLAGS -belf"
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8873 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8874 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8875 $as_echo_n "(cached
) " >&6
8878 ac_cpp='$CPP $CPPFLAGS'
8879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8883 if test x$gcc_no_link = xyes; then
8884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h. */
8897 if ac_fn_c_try_link "$LINENO"; then :
8898 lt_cv_cc_needs_belf=yes
8900 lt_cv_cc_needs_belf=no
8902 rm -f core conftest.err conftest.$ac_objext \
8903 conftest$ac_exeext conftest.$ac_ext
8905 ac_cpp='$CPP $CPPFLAGS'
8906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8912 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8913 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8914 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8915 CFLAGS="$SAVE_CFLAGS"
8919 # Find out which ABI we are using.
8920 echo 'int i;' > conftest.$ac_ext
8921 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8922 (eval $ac_compile) 2>&5
8924 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8925 test $ac_status = 0; }; then
8926 case `/usr/bin/file conftest.o` in
8928 case $lt_cv_prog_gnu_ld in
8929 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8931 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8943 need_locks="$enable_libtool_lock"
8947 rhapsody* | darwin*)
8948 if test -n "$ac_tool_prefix"; then
8949 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8950 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8952 $as_echo_n "checking
for $ac_word...
" >&6; }
8953 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8954 $as_echo_n "(cached
) " >&6
8956 if test -n "$DSYMUTIL"; then
8957 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8963 test -z "$as_dir" && as_dir=.
8964 for ac_exec_ext in '' $ac_executable_extensions; do
8965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8966 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8976 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8977 if test -n "$DSYMUTIL"; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8979 $as_echo "$DSYMUTIL" >&6; }
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8982 $as_echo "no
" >&6; }
8987 if test -z "$ac_cv_prog_DSYMUTIL"; then
8988 ac_ct_DSYMUTIL=$DSYMUTIL
8989 # Extract the first word of "dsymutil
", so it can be a program name with args.
8990 set dummy dsymutil; ac_word=$2
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8992 $as_echo_n "checking
for $ac_word...
" >&6; }
8993 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8994 $as_echo_n "(cached
) " >&6
8996 if test -n "$ac_ct_DSYMUTIL"; then
8997 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir=.
9004 for ac_exec_ext in '' $ac_executable_extensions; do
9005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9006 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
9007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9016 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9017 if test -n "$ac_ct_DSYMUTIL"; then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
9019 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9022 $as_echo "no
" >&6; }
9025 if test "x
$ac_ct_DSYMUTIL" = x; then
9028 case $cross_compiling:$ac_tool_warned in
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9031 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9032 ac_tool_warned=yes ;;
9034 DSYMUTIL=$ac_ct_DSYMUTIL
9037 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9040 if test -n "$ac_tool_prefix"; then
9041 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
9042 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9044 $as_echo_n "checking
for $ac_word...
" >&6; }
9045 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
9046 $as_echo_n "(cached
) " >&6
9048 if test -n "$NMEDIT"; then
9049 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9055 test -z "$as_dir" && as_dir=.
9056 for ac_exec_ext in '' $ac_executable_extensions; do
9057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9058 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
9059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9068 NMEDIT=$ac_cv_prog_NMEDIT
9069 if test -n "$NMEDIT"; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
9071 $as_echo "$NMEDIT" >&6; }
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9074 $as_echo "no
" >&6; }
9079 if test -z "$ac_cv_prog_NMEDIT"; then
9080 ac_ct_NMEDIT=$NMEDIT
9081 # Extract the first word of "nmedit
", so it can be a program name with args.
9082 set dummy nmedit; ac_word=$2
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9084 $as_echo_n "checking
for $ac_word...
" >&6; }
9085 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9086 $as_echo_n "(cached
) " >&6
9088 if test -n "$ac_ct_NMEDIT"; then
9089 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9095 test -z "$as_dir" && as_dir=.
9096 for ac_exec_ext in '' $ac_executable_extensions; do
9097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9098 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
9099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9108 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9109 if test -n "$ac_ct_NMEDIT"; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
9111 $as_echo "$ac_ct_NMEDIT" >&6; }
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9114 $as_echo "no
" >&6; }
9117 if test "x
$ac_ct_NMEDIT" = x; then
9120 case $cross_compiling:$ac_tool_warned in
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9123 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9124 ac_tool_warned=yes ;;
9126 NMEDIT=$ac_ct_NMEDIT
9129 NMEDIT="$ac_cv_prog_NMEDIT"
9132 if test -n "$ac_tool_prefix"; then
9133 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9134 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9136 $as_echo_n "checking
for $ac_word...
" >&6; }
9137 if test "${ac_cv_prog_LIPO+set}" = set; then :
9138 $as_echo_n "(cached
) " >&6
9140 if test -n "$LIPO"; then
9141 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9147 test -z "$as_dir" && as_dir=.
9148 for ac_exec_ext in '' $ac_executable_extensions; do
9149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9150 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9151 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9160 LIPO=$ac_cv_prog_LIPO
9161 if test -n "$LIPO"; then
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9163 $as_echo "$LIPO" >&6; }
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9166 $as_echo "no
" >&6; }
9171 if test -z "$ac_cv_prog_LIPO"; then
9173 # Extract the first word of "lipo
", so it can be a program name with args.
9174 set dummy lipo; ac_word=$2
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9176 $as_echo_n "checking
for $ac_word...
" >&6; }
9177 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9178 $as_echo_n "(cached
) " >&6
9180 if test -n "$ac_ct_LIPO"; then
9181 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9187 test -z "$as_dir" && as_dir=.
9188 for ac_exec_ext in '' $ac_executable_extensions; do
9189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9190 ac_cv_prog_ac_ct_LIPO="lipo
"
9191 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9200 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9201 if test -n "$ac_ct_LIPO"; then
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9203 $as_echo "$ac_ct_LIPO" >&6; }
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9206 $as_echo "no
" >&6; }
9209 if test "x
$ac_ct_LIPO" = x; then
9212 case $cross_compiling:$ac_tool_warned in
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9215 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9216 ac_tool_warned=yes ;;
9221 LIPO="$ac_cv_prog_LIPO"
9224 if test -n "$ac_tool_prefix"; then
9225 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9226 set dummy ${ac_tool_prefix}otool; ac_word=$2
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9228 $as_echo_n "checking
for $ac_word...
" >&6; }
9229 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9230 $as_echo_n "(cached
) " >&6
9232 if test -n "$OTOOL"; then
9233 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9239 test -z "$as_dir" && as_dir=.
9240 for ac_exec_ext in '' $ac_executable_extensions; do
9241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9242 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9252 OTOOL=$ac_cv_prog_OTOOL
9253 if test -n "$OTOOL"; then
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9255 $as_echo "$OTOOL" >&6; }
9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9258 $as_echo "no
" >&6; }
9263 if test -z "$ac_cv_prog_OTOOL"; then
9265 # Extract the first word of "otool
", so it can be a program name with args.
9266 set dummy otool; ac_word=$2
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9268 $as_echo_n "checking
for $ac_word...
" >&6; }
9269 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9270 $as_echo_n "(cached
) " >&6
9272 if test -n "$ac_ct_OTOOL"; then
9273 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9279 test -z "$as_dir" && as_dir=.
9280 for ac_exec_ext in '' $ac_executable_extensions; do
9281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9282 ac_cv_prog_ac_ct_OTOOL="otool
"
9283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9292 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9293 if test -n "$ac_ct_OTOOL"; then
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9295 $as_echo "$ac_ct_OTOOL" >&6; }
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9298 $as_echo "no
" >&6; }
9301 if test "x
$ac_ct_OTOOL" = x; then
9304 case $cross_compiling:$ac_tool_warned in
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9307 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9308 ac_tool_warned=yes ;;
9313 OTOOL="$ac_cv_prog_OTOOL"
9316 if test -n "$ac_tool_prefix"; then
9317 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9318 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9320 $as_echo_n "checking
for $ac_word...
" >&6; }
9321 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9322 $as_echo_n "(cached
) " >&6
9324 if test -n "$OTOOL64"; then
9325 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9331 test -z "$as_dir" && as_dir=.
9332 for ac_exec_ext in '' $ac_executable_extensions; do
9333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9334 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9344 OTOOL64=$ac_cv_prog_OTOOL64
9345 if test -n "$OTOOL64"; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9347 $as_echo "$OTOOL64" >&6; }
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9350 $as_echo "no
" >&6; }
9355 if test -z "$ac_cv_prog_OTOOL64"; then
9356 ac_ct_OTOOL64=$OTOOL64
9357 # Extract the first word of "otool64
", so it can be a program name with args.
9358 set dummy otool64; ac_word=$2
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9360 $as_echo_n "checking
for $ac_word...
" >&6; }
9361 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9362 $as_echo_n "(cached
) " >&6
9364 if test -n "$ac_ct_OTOOL64"; then
9365 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9371 test -z "$as_dir" && as_dir=.
9372 for ac_exec_ext in '' $ac_executable_extensions; do
9373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9374 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9384 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9385 if test -n "$ac_ct_OTOOL64"; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9387 $as_echo "$ac_ct_OTOOL64" >&6; }
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9390 $as_echo "no
" >&6; }
9393 if test "x
$ac_ct_OTOOL64" = x; then
9396 case $cross_compiling:$ac_tool_warned in
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9399 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9400 ac_tool_warned=yes ;;
9402 OTOOL64=$ac_ct_OTOOL64
9405 OTOOL64="$ac_cv_prog_OTOOL64"
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9435 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9436 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9437 $as_echo_n "(cached
) " >&6
9439 lt_cv_apple_cc_single_mod=no
9440 if test -z "${LT_MULTI_MODULE}"; then
9441 # By default we will add the -single_module flag. You can override
9442 # by either setting the environment variable LT_MULTI_MODULE
9443 # non-empty at configure time, or by adding -multi_module to the
9445 rm -rf libconftest.dylib*
9446 echo "int foo
(void
){return 1;}" > conftest.c
9447 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9448 -dynamiclib -Wl,-single_module conftest.c
" >&5
9449 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9450 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9452 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9453 lt_cv_apple_cc_single_mod=yes
9455 cat conftest.err >&5
9457 rm -rf libconftest.dylib*
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9462 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9464 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9465 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9466 $as_echo_n "(cached
) " >&6
9468 lt_cv_ld_exported_symbols_list=no
9469 save_LDFLAGS=$LDFLAGS
9470 echo "_main
" > conftest.sym
9471 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9472 if test x$gcc_no_link = xyes; then
9473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9476 /* end confdefs.h. */
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 lt_cv_ld_exported_symbols_list=yes
9489 lt_cv_ld_exported_symbols_list=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LDFLAGS="$save_LDFLAGS"
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9497 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9499 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9500 if test "${lt_cv_ld_force_load+set}" = set; then :
9501 $as_echo_n "(cached
) " >&6
9503 lt_cv_ld_force_load=no
9504 cat > conftest.c << _LT_EOF
9505 int forced_loaded() { return 2;}
9507 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9508 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9509 echo "$AR cru libconftest.a conftest.o
" >&5
9510 $AR cru libconftest.a conftest.o 2>&5
9511 cat > conftest.c << _LT_EOF
9512 int main() { return 0;}
9514 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9515 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9517 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9518 lt_cv_ld_force_load=yes
9520 cat conftest.err >&5
9522 rm -f conftest.err libconftest.a conftest conftest.c
9523 rm -rf conftest.dSYM
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9527 $as_echo "$lt_cv_ld_force_load" >&6; }
9529 rhapsody* | darwin1.[012])
9530 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9532 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9533 darwin*) # darwin 5.x on
9534 # if running on 10.5 or later, the deployment target defaults
9535 # to the OS version, if on x86, and 10.4, the deployment
9536 # target defaults to 10.4. Don't you love it?
9537 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9538 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9539 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9541 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9543 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9547 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9548 _lt_dar_single_mod='$single_module'
9550 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9551 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9553 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9555 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9556 _lt_dsymutil='~$DSYMUTIL $lib || :'
9564 ac_cpp='$CPP $CPPFLAGS'
9565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
9569 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
9570 # On Suns, sometimes $CPP names a directory.
9571 if test -n "$CPP" && test -d "$CPP"; then
9574 if test -z "$CPP"; then
9575 if test "${ac_cv_prog_CPP+set}" = set; then :
9576 $as_echo_n "(cached
) " >&6
9578 # Double quotes because CPP needs to be expanded
9579 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
9582 for ac_c_preproc_warn_flag in '' yes
9584 # Use a header file that comes with gcc, so configuring glibc
9585 # with a fresh cross-compiler works.
9586 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9587 # <limits.h> exists even on freestanding compilers.
9588 # On the NeXT, cc -E runs the code through the compiler's parser,
9589 # not just through cpp. "Syntax error
" is here to catch this case.
9590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9593 # include <limits.h>
9595 # include <assert.h>
9599 if ac_fn_c_try_cpp "$LINENO"; then :
9602 # Broken: fails on valid input.
9605 rm -f conftest.err conftest.$ac_ext
9607 # OK, works on sane cases. Now check whether nonexistent headers
9608 # can be detected and how.
9609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9610 /* end confdefs.h. */
9611 #include <ac_nonexistent.h>
9613 if ac_fn_c_try_cpp "$LINENO"; then :
9614 # Broken: success on invalid input.
9617 # Passes both tests.
9621 rm -f conftest.err conftest.$ac_ext
9624 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9625 rm -f conftest.err conftest.$ac_ext
9626 if $ac_preproc_ok; then :
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
9639 $as_echo "$CPP" >&6; }
9641 for ac_c_preproc_warn_flag in '' yes
9643 # Use a header file that comes with gcc, so configuring glibc
9644 # with a fresh cross-compiler works.
9645 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9646 # <limits.h> exists even on freestanding compilers.
9647 # On the NeXT, cc -E runs the code through the compiler's parser,
9648 # not just through cpp. "Syntax error
" is here to catch this case.
9649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9652 # include <limits.h>
9654 # include <assert.h>
9658 if ac_fn_c_try_cpp "$LINENO"; then :
9661 # Broken: fails on valid input.
9664 rm -f conftest.err conftest.$ac_ext
9666 # OK, works on sane cases. Now check whether nonexistent headers
9667 # can be detected and how.
9668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9670 #include <ac_nonexistent.h>
9672 if ac_fn_c_try_cpp "$LINENO"; then :
9673 # Broken: success on invalid input.
9676 # Passes both tests.
9680 rm -f conftest.err conftest.$ac_ext
9683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9684 rm -f conftest.err conftest.$ac_ext
9685 if $ac_preproc_ok; then :
9688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
9689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9690 as_fn_error "C preprocessor \"$CPP\" fails sanity check
9691 See \`config.log' for more details.
" "$LINENO" 5; }
9695 ac_cpp='$CPP $CPPFLAGS'
9696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
9702 $as_echo_n "checking
for ANSI C header files...
" >&6; }
9703 if test "${ac_cv_header_stdc+set}" = set; then :
9704 $as_echo_n "(cached
) " >&6
9706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9707 /* end confdefs.h. */
9721 if ac_fn_c_try_compile "$LINENO"; then :
9722 ac_cv_header_stdc=yes
9724 ac_cv_header_stdc=no
9726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9728 if test $ac_cv_header_stdc = yes; then
9729 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9735 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9736 $EGREP "memchr
" >/dev/null 2>&1; then :
9739 ac_cv_header_stdc=no
9745 if test $ac_cv_header_stdc = yes; then
9746 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9748 /* end confdefs.h. */
9752 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9753 $EGREP "free
" >/dev/null 2>&1; then :
9756 ac_cv_header_stdc=no
9762 if test $ac_cv_header_stdc = yes; then
9763 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9764 if test "$cross_compiling" = yes; then :
9767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9768 /* end confdefs.h. */
9771 #if ((' ' & 0x0FF) == 0x020)
9772 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9773 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9775 # define ISLOWER(c) \
9776 (('a' <= (c) && (c) <= 'i') \
9777 || ('j' <= (c) && (c) <= 'r') \
9778 || ('s' <= (c) && (c) <= 'z'))
9779 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9782 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9787 for (i = 0; i < 256; i++)
9788 if (XOR (islower (i), ISLOWER (i))
9789 || toupper (i) != TOUPPER (i))
9794 if ac_fn_c_try_run "$LINENO"; then :
9797 ac_cv_header_stdc=no
9799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9800 conftest.$ac_objext conftest.beam conftest.$ac_ext
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
9806 $as_echo "$ac_cv_header_stdc" >&6; }
9807 if test $ac_cv_header_stdc = yes; then
9809 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9813 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9814 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9815 inttypes.h stdint.h unistd.h
9817 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9818 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9820 eval as_val
=\$
$as_ac_Header
9821 if test "x$as_val" = x
""yes; then :
9822 cat >>confdefs.h
<<_ACEOF
9823 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9831 for ac_header
in dlfcn.h
9833 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9835 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
9836 cat >>confdefs.h
<<_ACEOF
9837 #define HAVE_DLFCN_H 1
9857 # Check whether --enable-shared was given.
9858 if test "${enable_shared+set}" = set; then :
9859 enableval
=$enable_shared; p
=${PACKAGE-default}
9861 yes) enable_shared
=yes ;;
9862 no
) enable_shared
=no
;;
9865 # Look at the argument we got. We use all the common list separators.
9866 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9867 for pkg
in $enableval; do
9869 if test "X$pkg" = "X$p"; then
9888 # Check whether --enable-static was given.
9889 if test "${enable_static+set}" = set; then :
9890 enableval
=$enable_static; p
=${PACKAGE-default}
9892 yes) enable_static
=yes ;;
9893 no
) enable_static
=no
;;
9896 # Look at the argument we got. We use all the common list separators.
9897 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9898 for pkg
in $enableval; do
9900 if test "X$pkg" = "X$p"; then
9920 # Check whether --with-pic was given.
9921 if test "${with_pic+set}" = set; then :
9922 withval
=$with_pic; pic_mode
="$withval"
9928 test -z "$pic_mode" && pic_mode
=default
9936 # Check whether --enable-fast-install was given.
9937 if test "${enable_fast_install+set}" = set; then :
9938 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9940 yes) enable_fast_install
=yes ;;
9941 no
) enable_fast_install
=no
;;
9943 enable_fast_install
=no
9944 # Look at the argument we got. We use all the common list separators.
9945 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9946 for pkg
in $enableval; do
9948 if test "X$pkg" = "X$p"; then
9949 enable_fast_install
=yes
9956 enable_fast_install
=yes
9969 # This can be used to rebuild libtool when needed
9970 LIBTOOL_DEPS
="$ltmain"
9972 # Always use our own libtool.
9973 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10000 test -z "$LN_S" && LN_S
="ln -s"
10015 if test -n "${ZSH_VERSION+set}" ; then
10016 setopt NO_GLOB_SUBST
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10020 $as_echo_n "checking for objdir... " >&6; }
10021 if test "${lt_cv_objdir+set}" = set; then :
10022 $as_echo_n "(cached) " >&6
10024 rm -f .libs
2>/dev
/null
10025 mkdir .libs
2>/dev
/null
10026 if test -d .libs
; then
10029 # MS-DOS does not allow filenames that begin with a dot.
10032 rmdir .libs
2>/dev
/null
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10035 $as_echo "$lt_cv_objdir" >&6; }
10036 objdir
=$lt_cv_objdir
10042 cat >>confdefs.h
<<_ACEOF
10043 #define LT_OBJDIR "$lt_cv_objdir/"
10051 # AIX sometimes has problems with the GCC collect2 program. For some
10052 # reason, if we set the COLLECT_NAMES environment variable, the problems
10053 # vanish in a puff of smoke.
10054 if test "X${COLLECT_NAMES+set}" != Xset
; then
10056 export COLLECT_NAMES
10061 # Global variables:
10063 can_build_shared
=yes
10065 # All known linkers require a `.a' archive for static linking (except MSVC,
10066 # which needs '.lib').
10069 with_gnu_ld
="$lt_cv_prog_gnu_ld"
10072 old_CFLAGS
="$CFLAGS"
10074 # Set sane defaults for various variables
10075 test -z "$CC" && CC
=cc
10076 test -z "$LTCC" && LTCC
=$CC
10077 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10078 test -z "$LD" && LD
=ld
10079 test -z "$ac_objext" && ac_objext
=o
10081 for cc_temp
in $compiler""; do
10083 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10084 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10089 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10092 # Only perform the check for file, if the check method requires it
10093 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10094 case $deplibs_check_method in
10096 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10098 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10099 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10100 $as_echo_n "(cached) " >&6
10104 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10107 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10108 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10109 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10110 for ac_dir
in $ac_dummy; do
10112 test -z "$ac_dir" && ac_dir
=.
10113 if test -f $ac_dir/${ac_tool_prefix}file; then
10114 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
10115 if test -n "$file_magic_test_file"; then
10116 case $deplibs_check_method in
10118 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10119 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10120 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10121 $EGREP "$file_magic_regex" > /dev
/null
; then
10126 *** Warning: the command libtool uses to detect shared libraries,
10127 *** $file_magic_cmd, produces output that libtool cannot recognize.
10128 *** The result is that libtool may fail to recognize shared libraries
10129 *** as such. This will affect the creation of libtool libraries that
10130 *** depend on shared libraries, but programs linked with such libtool
10131 *** libraries will work regardless of this problem. Nevertheless, you
10132 *** may want to report the problem to your system manager and/or to
10133 *** bug-libtool@gnu.org
10143 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10148 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10149 if test -n "$MAGIC_CMD"; then
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10151 $as_echo "$MAGIC_CMD" >&6; }
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10154 $as_echo "no" >&6; }
10161 if test -z "$lt_cv_path_MAGIC_CMD"; then
10162 if test -n "$ac_tool_prefix"; then
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10164 $as_echo_n "checking for file... " >&6; }
10165 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10166 $as_echo_n "(cached) " >&6
10170 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10173 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10174 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10175 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10176 for ac_dir
in $ac_dummy; do
10178 test -z "$ac_dir" && ac_dir
=.
10179 if test -f $ac_dir/file; then
10180 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
10181 if test -n "$file_magic_test_file"; then
10182 case $deplibs_check_method in
10184 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10185 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10186 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10187 $EGREP "$file_magic_regex" > /dev
/null
; then
10192 *** Warning: the command libtool uses to detect shared libraries,
10193 *** $file_magic_cmd, produces output that libtool cannot recognize.
10194 *** The result is that libtool may fail to recognize shared libraries
10195 *** as such. This will affect the creation of libtool libraries that
10196 *** depend on shared libraries, but programs linked with such libtool
10197 *** libraries will work regardless of this problem. Nevertheless, you
10198 *** may want to report the problem to your system manager and/or to
10199 *** bug-libtool@gnu.org
10209 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10214 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10215 if test -n "$MAGIC_CMD"; then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10217 $as_echo "$MAGIC_CMD" >&6; }
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10220 $as_echo "no" >&6; }
10233 # Use C for the default configuration in the libtool script
10237 ac_cpp
='$CPP $CPPFLAGS'
10238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10243 # Source file extension for C test sources.
10246 # Object file extension for compiled C test sources.
10250 # Code to be used in simple compile tests
10251 lt_simple_compile_test_code
="int some_variable = 0;"
10253 # Code to be used in simple link tests
10254 lt_simple_link_test_code
='int main(){return(0);}'
10262 # If no C compiler was specified, use CC.
10265 # If no C compiler flags were specified, use CFLAGS.
10266 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10268 # Allow CC to be a program name with arguments.
10271 # Save the default compiler, since it gets overwritten when the other
10272 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10273 compiler_DEFAULT
=$CC
10275 # save warnings/boilerplate of simple test code
10276 ac_outfile
=conftest.
$ac_objext
10277 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10278 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10279 _lt_compiler_boilerplate
=`cat conftest.err`
10282 ac_outfile
=conftest.
$ac_objext
10283 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10284 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10285 _lt_linker_boilerplate
=`cat conftest.err`
10290 ## There is no encapsulation within the following macros, do not change
10291 ## the running order or otherwise move them around unless you know exactly
10292 ## what you are doing...
10293 if test -n "$compiler"; then
10295 lt_prog_compiler_no_builtin_flag
=
10297 if test "$GCC" = yes; then
10298 case $cc_basename in
10300 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10302 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10306 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10307 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10308 $as_echo_n "(cached) " >&6
10310 lt_cv_prog_compiler_rtti_exceptions
=no
10311 ac_outfile
=conftest.
$ac_objext
10312 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10313 lt_compiler_flag
="-fno-rtti -fno-exceptions"
10314 # Insert the option either (1) after the last *FLAGS variable, or
10315 # (2) before a word containing "conftest.", or (3) at the end.
10316 # Note that $ac_compile itself does not contain backslashes and begins
10317 # with a dollar sign (not a hyphen), so the echo should work correctly.
10318 # The option is referenced via a variable to avoid confusing sed.
10319 lt_compile
=`echo "$ac_compile" | $SED \
10320 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10322 -e 's:$: $lt_compiler_flag:'`
10323 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10324 (eval "$lt_compile" 2>conftest.err
)
10326 cat conftest.err
>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 if (exit $ac_status) && test -s "$ac_outfile"; then
10329 # The compiler can only warn and ignore the option if not recognized
10330 # So say no if there are warnings other than the usual output.
10331 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10332 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10333 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10334 lt_cv_prog_compiler_rtti_exceptions
=yes
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10341 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10343 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
10344 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10356 lt_prog_compiler_wl
=
10357 lt_prog_compiler_pic
=
10358 lt_prog_compiler_static
=
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10361 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10363 if test "$GCC" = yes; then
10364 lt_prog_compiler_wl
='-Wl,'
10365 lt_prog_compiler_static
='-static'
10369 # All AIX code is PIC.
10370 if test "$host_cpu" = ia64
; then
10371 # AIX 5 now supports IA64 processor
10372 lt_prog_compiler_static
='-Bstatic'
10379 # see comment about AmigaOS4 .so support
10380 lt_prog_compiler_pic
='-fPIC'
10383 # FIXME: we need at least 68020 code to build shared libraries, but
10384 # adding the `-m68020' flag to GCC prevents building anything better,
10386 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10391 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10392 # PIC is the default for these OSes.
10395 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10396 # This hack is so that the source file can tell whether it is being
10397 # built for inclusion in a dll (and should export symbols for example).
10398 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10399 # (--disable-auto-import) libraries
10400 lt_prog_compiler_pic
='-DDLL_EXPORT'
10403 darwin
* | rhapsody
*)
10404 # PIC is the default on this platform
10405 # Common symbols not allowed in MH_DYLIB files
10406 lt_prog_compiler_pic
='-fno-common'
10410 # PIC is the default for Haiku.
10411 # The "-static" flag exists, but is broken.
10412 lt_prog_compiler_static
=
10416 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10417 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10418 # sets the default TLS model and affects inlining.
10424 lt_prog_compiler_pic
='-fPIC'
10430 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10431 # Instead, we relocate shared libraries at runtime.
10435 # Just because we use GCC doesn't mean we suddenly get shared libraries
10436 # on systems that don't support them.
10437 lt_prog_compiler_can_build_shared
=no
10442 # QNX uses GNU C++, but need to define -shared option too, otherwise
10443 # it will coredump.
10444 lt_prog_compiler_pic
='-fPIC -shared'
10448 if test -d /usr
/nec
; then
10449 lt_prog_compiler_pic
=-Kconform_pic
10454 lt_prog_compiler_pic
='-fPIC'
10458 case $cc_basename in
10459 nvcc
*) # Cuda Compiler Driver 2.2
10460 lt_prog_compiler_wl
='-Xlinker '
10461 lt_prog_compiler_pic
='-Xcompiler -fPIC'
10465 # PORTME Check for flag to pass linker flags through the system compiler.
10468 lt_prog_compiler_wl
='-Wl,'
10469 if test "$host_cpu" = ia64
; then
10470 # AIX 5 now supports IA64 processor
10471 lt_prog_compiler_static
='-Bstatic'
10473 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10477 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10478 # This hack is so that the source file can tell whether it is being
10479 # built for inclusion in a dll (and should export symbols for example).
10480 lt_prog_compiler_pic
='-DDLL_EXPORT'
10483 hpux9
* | hpux10
* | hpux11
*)
10484 lt_prog_compiler_wl
='-Wl,'
10485 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10486 # not for PA HP-UX.
10492 lt_prog_compiler_pic
='+Z'
10495 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10496 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10499 irix5
* | irix6
* | nonstopux
*)
10500 lt_prog_compiler_wl
='-Wl,'
10501 # PIC (with -KPIC) is the default.
10502 lt_prog_compiler_static
='-non_shared'
10505 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10506 case $cc_basename in
10507 # old Intel for x86_64 which still supported -KPIC.
10509 lt_prog_compiler_wl
='-Wl,'
10510 lt_prog_compiler_pic
='-KPIC'
10511 lt_prog_compiler_static
='-static'
10513 # icc used to be incompatible with GCC.
10514 # ICC 10 doesn't accept -KPIC any more.
10516 lt_prog_compiler_wl
='-Wl,'
10517 lt_prog_compiler_pic
='-fPIC'
10518 lt_prog_compiler_static
='-static'
10520 # Lahey Fortran 8.1.
10522 lt_prog_compiler_wl
='-Wl,'
10523 lt_prog_compiler_pic
='--shared'
10524 lt_prog_compiler_static
='--static'
10526 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10527 # Portland Group compilers (*not* the Pentium gcc compiler,
10528 # which looks to be a dead project)
10529 lt_prog_compiler_wl
='-Wl,'
10530 lt_prog_compiler_pic
='-fpic'
10531 lt_prog_compiler_static
='-Bstatic'
10534 lt_prog_compiler_wl
='-Wl,'
10535 # All Alpha code is PIC.
10536 lt_prog_compiler_static
='-non_shared'
10538 xl
* | bgxl
* | bgf
* | mpixl
*)
10539 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10540 lt_prog_compiler_wl
='-Wl,'
10541 lt_prog_compiler_pic
='-qpic'
10542 lt_prog_compiler_static
='-qstaticlink'
10545 case `$CC -V 2>&1 | sed 5q` in
10546 *Sun\ F
* |
*Sun
*Fortran
*)
10547 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10548 lt_prog_compiler_pic
='-KPIC'
10549 lt_prog_compiler_static
='-Bstatic'
10550 lt_prog_compiler_wl
=''
10554 lt_prog_compiler_pic
='-KPIC'
10555 lt_prog_compiler_static
='-Bstatic'
10556 lt_prog_compiler_wl
='-Wl,'
10564 lt_prog_compiler_pic
='-KPIC'
10565 lt_prog_compiler_static
='-Bstatic'
10569 # QNX uses GNU C++, but need to define -shared option too, otherwise
10570 # it will coredump.
10571 lt_prog_compiler_pic
='-fPIC -shared'
10574 osf3
* | osf4
* | osf5
*)
10575 lt_prog_compiler_wl
='-Wl,'
10576 # All OSF/1 code is PIC.
10577 lt_prog_compiler_static
='-non_shared'
10581 lt_prog_compiler_static
='-non_shared'
10585 lt_prog_compiler_pic
='-KPIC'
10586 lt_prog_compiler_static
='-Bstatic'
10587 case $cc_basename in
10588 f77
* | f90
* | f95
*)
10589 lt_prog_compiler_wl
='-Qoption ld ';;
10591 lt_prog_compiler_wl
='-Wl,';;
10596 lt_prog_compiler_wl
='-Qoption ld '
10597 lt_prog_compiler_pic
='-PIC'
10598 lt_prog_compiler_static
='-Bstatic'
10601 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10602 lt_prog_compiler_wl
='-Wl,'
10603 lt_prog_compiler_pic
='-KPIC'
10604 lt_prog_compiler_static
='-Bstatic'
10608 if test -d /usr
/nec
;then
10609 lt_prog_compiler_pic
='-Kconform_pic'
10610 lt_prog_compiler_static
='-Bstatic'
10614 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10615 lt_prog_compiler_wl
='-Wl,'
10616 lt_prog_compiler_pic
='-KPIC'
10617 lt_prog_compiler_static
='-Bstatic'
10621 lt_prog_compiler_wl
='-Wl,'
10622 lt_prog_compiler_can_build_shared
=no
10626 lt_prog_compiler_pic
='-pic'
10627 lt_prog_compiler_static
='-Bstatic'
10631 lt_prog_compiler_can_build_shared
=no
10637 # For platforms which do not support PIC, -DPIC is meaningless:
10639 lt_prog_compiler_pic
=
10642 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10646 $as_echo "$lt_prog_compiler_pic" >&6; }
10654 # Check to make sure the PIC flag actually works.
10656 if test -n "$lt_prog_compiler_pic"; then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10658 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10659 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10660 $as_echo_n "(cached) " >&6
10662 lt_cv_prog_compiler_pic_works
=no
10663 ac_outfile
=conftest.
$ac_objext
10664 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10665 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10666 # Insert the option either (1) after the last *FLAGS variable, or
10667 # (2) before a word containing "conftest.", or (3) at the end.
10668 # Note that $ac_compile itself does not contain backslashes and begins
10669 # with a dollar sign (not a hyphen), so the echo should work correctly.
10670 # The option is referenced via a variable to avoid confusing sed.
10671 lt_compile
=`echo "$ac_compile" | $SED \
10672 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10673 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10674 -e 's:$: $lt_compiler_flag:'`
10675 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10676 (eval "$lt_compile" 2>conftest.err
)
10678 cat conftest.err
>&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 if (exit $ac_status) && test -s "$ac_outfile"; then
10681 # The compiler can only warn and ignore the option if not recognized
10682 # So say no if there are warnings other than the usual output.
10683 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10684 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10685 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10686 lt_cv_prog_compiler_pic_works
=yes
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10693 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10695 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10696 case $lt_prog_compiler_pic in
10698 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10701 lt_prog_compiler_pic
=
10702 lt_prog_compiler_can_build_shared
=no
10713 # Check to make sure the static flag actually works.
10715 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10717 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10718 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10719 $as_echo_n "(cached) " >&6
10721 lt_cv_prog_compiler_static_works
=no
10722 save_LDFLAGS
="$LDFLAGS"
10723 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10724 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10725 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10726 # The linker can only warn and ignore the option if not recognized
10727 # So say no if there are warnings
10728 if test -s conftest.err
; then
10729 # Append any errors to the config.log.
10730 cat conftest.err
1>&5
10731 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10732 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10733 if diff conftest.exp conftest.er2
>/dev
/null
; then
10734 lt_cv_prog_compiler_static_works
=yes
10737 lt_cv_prog_compiler_static_works
=yes
10741 LDFLAGS
="$save_LDFLAGS"
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10745 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10747 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10750 lt_prog_compiler_static
=
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10760 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10761 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10762 $as_echo_n "(cached) " >&6
10764 lt_cv_prog_compiler_c_o
=no
10765 $RM -r conftest
2>/dev
/null
10769 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10771 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10772 # Insert the option either (1) after the last *FLAGS variable, or
10773 # (2) before a word containing "conftest.", or (3) at the end.
10774 # Note that $ac_compile itself does not contain backslashes and begins
10775 # with a dollar sign (not a hyphen), so the echo should work correctly.
10776 lt_compile
=`echo "$ac_compile" | $SED \
10777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10779 -e 's:$: $lt_compiler_flag:'`
10780 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10781 (eval "$lt_compile" 2>out
/conftest.err
)
10783 cat out
/conftest.err
>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10787 # The compiler can only warn and ignore the option if not recognized
10788 # So say no if there are warnings
10789 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10790 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10791 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10792 lt_cv_prog_compiler_c_o
=yes
10797 # SGI C++ compiler will create directory out/ii_files/ for
10798 # template instantiation
10799 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10800 $RM out
/* && rmdir out
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10807 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10815 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10816 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10817 $as_echo_n "(cached) " >&6
10819 lt_cv_prog_compiler_c_o
=no
10820 $RM -r conftest
2>/dev
/null
10824 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10826 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10827 # Insert the option either (1) after the last *FLAGS variable, or
10828 # (2) before a word containing "conftest.", or (3) at the end.
10829 # Note that $ac_compile itself does not contain backslashes and begins
10830 # with a dollar sign (not a hyphen), so the echo should work correctly.
10831 lt_compile
=`echo "$ac_compile" | $SED \
10832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10834 -e 's:$: $lt_compiler_flag:'`
10835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10836 (eval "$lt_compile" 2>out
/conftest.err
)
10838 cat out
/conftest.err
>&5
10839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10840 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10842 # The compiler can only warn and ignore the option if not recognized
10843 # So say no if there are warnings
10844 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10845 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10846 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10847 lt_cv_prog_compiler_c_o
=yes
10852 # SGI C++ compiler will create directory out/ii_files/ for
10853 # template instantiation
10854 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10855 $RM out
/* && rmdir out
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10862 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10867 hard_links
="nottested"
10868 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10869 # do not overwrite the value of need_locks provided by the user
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10871 $as_echo_n "checking if we can lock with hard links... " >&6; }
10874 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10876 ln conftest.a conftest.b
2>&5 || hard_links
=no
10877 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10879 $as_echo "$hard_links" >&6; }
10880 if test "$hard_links" = no
; then
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10882 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10895 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10898 allow_undefined_flag
=
10899 always_export_symbols
=no
10901 archive_expsym_cmds
=
10902 compiler_needs_object
=no
10903 enable_shared_with_static_runtimes
=no
10904 export_dynamic_flag_spec
=
10905 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10906 hardcode_automatic
=no
10908 hardcode_direct_absolute
=no
10909 hardcode_libdir_flag_spec
=
10910 hardcode_libdir_flag_spec_ld
=
10911 hardcode_libdir_separator
=
10912 hardcode_minus_L
=no
10913 hardcode_shlibpath_var
=unsupported
10915 link_all_deplibs
=unknown
10917 module_expsym_cmds
=
10918 old_archive_from_new_cmds
=
10919 old_archive_from_expsyms_cmds
=
10920 thread_safe_flag_spec
=
10921 whole_archive_flag_spec
=
10922 # include_expsyms should be a list of space-separated symbols to be *always*
10923 # included in the symbol list
10925 # exclude_expsyms can be an extended regexp of symbols to exclude
10926 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10927 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10928 # as well as any symbol that contains `d'.
10929 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10930 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10931 # platforms (ab)use it in PIC code, but their linkers get confused if
10932 # the symbol is explicitly referenced. Since portable code cannot
10933 # rely on this symbol name, it's probably fine to never include it in
10934 # preloaded symbol tables.
10935 # Exclude shared library initialization/finalization symbols.
10936 extract_expsyms_cmds
=
10939 cygwin
* | mingw
* | pw32
* | cegcc
*)
10940 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10941 # When not using gcc, we currently assume that we are using
10942 # Microsoft Visual C++.
10943 if test "$GCC" != yes; then
10948 # we just hope/assume this is gcc and not c89 (= MSVC++)
10958 # On some targets, GNU ld is compatible enough with the native linker
10959 # that we're better off using the native interface for both.
10960 lt_use_gnu_ld_interface
=no
10961 if test "$with_gnu_ld" = yes; then
10964 # The AIX port of GNU ld has always aspired to compatibility
10965 # with the native linker. However, as the warning in the GNU ld
10966 # block says, versions before 2.19.5* couldn't really create working
10967 # shared libraries, regardless of the interface used.
10968 case `$LD -v 2>&1` in
10969 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10970 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10971 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10973 lt_use_gnu_ld_interface
=yes
10978 lt_use_gnu_ld_interface
=yes
10983 if test "$lt_use_gnu_ld_interface" = yes; then
10984 # If archive_cmds runs LD, not CC, wlarc should be empty
10987 # Set some defaults for GNU ld with shared library support. These
10988 # are reset later if shared libraries are not supported. Putting them
10989 # here allows them to be overridden if necessary.
10990 runpath_var
=LD_RUN_PATH
10991 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10992 export_dynamic_flag_spec
='${wl}--export-dynamic'
10993 # ancient GNU ld didn't support --whole-archive et. al.
10994 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10995 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10997 whole_archive_flag_spec
=
10999 supports_anon_versioning
=no
11000 case `$LD -v 2>&1` in
11001 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11002 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11003 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11004 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11005 *\
2.11.
*) ;; # other 2.11 versions
11006 *) supports_anon_versioning
=yes ;;
11009 # See if GNU ld supports shared libraries.
11012 # On AIX/PPC, the GNU linker is very broken
11013 if test "$host_cpu" != ia64
; then
11017 *** Warning: the GNU linker, at least up to release 2.19, is reported
11018 *** to be unable to reliably create shared libraries on AIX.
11019 *** Therefore, libtool is disabling shared libraries support. If you
11020 *** really care for shared libraries, you may want to install binutils
11021 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11022 *** You will then need to restart the configuration process.
11031 # see comment about AmigaOS4 .so support
11032 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11033 archive_expsym_cmds
=''
11036 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)'
11037 hardcode_libdir_flag_spec
='-L$libdir'
11038 hardcode_minus_L
=yes
11044 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11045 allow_undefined_flag
=unsupported
11046 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11047 # support --undefined. This deserves some investigation. FIXME
11048 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11054 cygwin
* | mingw
* | pw32
* | cegcc
*)
11055 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11056 # as there is no search path for DLLs.
11057 hardcode_libdir_flag_spec
='-L$libdir'
11058 export_dynamic_flag_spec
='${wl}--export-all-symbols'
11059 allow_undefined_flag
=unsupported
11060 always_export_symbols
=no
11061 enable_shared_with_static_runtimes
=yes
11062 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11064 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11065 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11066 # If the export-symbols file already is a .def file (1st line
11067 # is EXPORTS), use it as is; otherwise, prepend...
11068 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11069 cp $export_symbols $output_objdir/$soname.def;
11071 echo EXPORTS > $output_objdir/$soname.def;
11072 cat $export_symbols >> $output_objdir/$soname.def;
11074 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11081 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11082 link_all_deplibs
=yes
11087 hardcode_shlibpath_var
=no
11088 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11089 export_dynamic_flag_spec
='${wl}-E'
11090 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11091 # Instead, shared libraries are loaded at an image base (0x10000000 by
11092 # default) and relocated if they conflict, which is a slow very memory
11093 # consuming and fragmenting process. To avoid this, we pick a random,
11094 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11095 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11096 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11097 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'
11100 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11102 if test "$host_os" = linux-dietlibc
; then
11103 case $cc_basename in
11104 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11107 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11108 && test "$tmp_diet" = no
11111 tmp_sharedflag
='-shared'
11112 case $cc_basename,$host_cpu in
11113 pgcc
*) # Portland Group C compiler
11114 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'
11115 tmp_addflag
=' $pic_flag'
11117 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11118 # Portland Group f77 and f90 compilers
11119 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'
11120 tmp_addflag
=' $pic_flag -Mnomain' ;;
11121 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11122 tmp_addflag
=' -i_dynamic' ;;
11123 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11124 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11125 ifc
* | ifort
*) # Intel Fortran compiler
11126 tmp_addflag
=' -nofor_main' ;;
11127 lf95
*) # Lahey Fortran 8.1
11128 whole_archive_flag_spec
=
11129 tmp_sharedflag
='--shared' ;;
11130 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11131 tmp_sharedflag
='-qmkshrobj'
11133 nvcc
*) # Cuda Compiler Driver 2.2
11134 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11135 compiler_needs_object
=yes
11138 case `$CC -V 2>&1 | sed 5q` in
11139 *Sun\ C
*) # Sun C 5.9
11140 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'
11141 compiler_needs_object
=yes
11142 tmp_sharedflag
='-G' ;;
11143 *Sun\ F
*) # Sun Fortran 8.3
11144 tmp_sharedflag
='-G' ;;
11146 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11148 if test "x$supports_anon_versioning" = xyes
; then
11149 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11150 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11151 echo "local: *; };" >> $output_objdir/$libname.ver~
11152 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11155 case $cc_basename in
11156 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11157 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11158 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11159 hardcode_libdir_flag_spec
=
11160 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11161 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11162 if test "x$supports_anon_versioning" = xyes
; then
11163 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11164 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11165 echo "local: *; };" >> $output_objdir/$libname.ver~
11166 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11176 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11177 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11180 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11181 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11186 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11190 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11191 *** create shared libraries on Solaris systems. Therefore, libtool
11192 *** is disabling shared libraries support. We urge you to upgrade GNU
11193 *** binutils to release 2.9.1 or newer. Another option is to modify
11194 *** your PATH or compiler configuration so that the native linker is
11195 *** used, and then restart.
11198 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11199 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11200 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11206 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11207 case `$LD -v 2>&1` in
11208 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11212 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11213 *** reliably create shared libraries on SCO systems. Therefore, libtool
11214 *** is disabling shared libraries support. We urge you to upgrade GNU
11215 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11216 *** your PATH or compiler configuration so that the native linker is
11217 *** used, and then restart.
11222 # For security reasons, it is highly recommended that you always
11223 # use absolute paths for naming shared libraries, and exclude the
11224 # DT_RUNPATH tag from executables and libraries. But doing so
11225 # requires that you compile everything twice, which is a pain.
11226 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11227 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11228 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11229 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11238 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11240 hardcode_direct
=yes
11241 hardcode_shlibpath_var
=no
11245 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11246 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11247 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11254 if test "$ld_shlibs" = no
; then
11256 hardcode_libdir_flag_spec
=
11257 export_dynamic_flag_spec
=
11258 whole_archive_flag_spec
=
11261 # PORTME fill in a description of your system's linker (not GNU ld)
11264 allow_undefined_flag
=unsupported
11265 always_export_symbols
=yes
11266 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'
11267 # Note: this linker hardcodes the directories in LIBPATH if there
11268 # are no directories specified by -L.
11269 hardcode_minus_L
=yes
11270 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11271 # Neither direct hardcoding nor static linking is supported with a
11273 hardcode_direct
=unsupported
11278 if test "$host_cpu" = ia64
; then
11279 # On IA64, the linker does run time linking by default, so we don't
11280 # have to do anything special.
11281 aix_use_runtimelinking
=no
11282 exp_sym_flag
='-Bexport'
11285 # If we're using GNU nm, then we don't want the "-C" option.
11286 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11287 # Also, AIX nm treats weak defined symbols like other global
11288 # defined symbols, whereas GNU nm marks them as "W".
11289 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11290 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'
11292 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'
11294 aix_use_runtimelinking
=no
11296 # Test if we are trying to use run time linking or normal
11297 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11298 # need to do runtime linking.
11299 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11300 for ld_flag
in $LDFLAGS; do
11301 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11302 aix_use_runtimelinking
=yes
11309 exp_sym_flag
='-bexport'
11310 no_entry_flag
='-bnoentry'
11313 # When large executables or shared objects are built, AIX ld can
11314 # have problems creating the table of contents. If linking a library
11315 # or program results in "error TOC overflow" add -mminimal-toc to
11316 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11317 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11320 hardcode_direct
=yes
11321 hardcode_direct_absolute
=yes
11322 hardcode_libdir_separator
=':'
11323 link_all_deplibs
=yes
11324 file_list_spec
='${wl}-f,'
11326 if test "$GCC" = yes; then
11327 case $host_os in aix4.
[012]|aix4.
[012].
*)
11328 # We only want to do this on AIX 4.2 and lower, the check
11329 # below for broken collect2 doesn't work under 4.3+
11330 collect2name
=`${CC} -print-prog-name=collect2`
11331 if test -f "$collect2name" &&
11332 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11334 # We have reworked collect2
11337 # We have old collect2
11338 hardcode_direct
=unsupported
11339 # It fails to find uninstalled libraries when the uninstalled
11340 # path is not listed in the libpath. Setting hardcode_minus_L
11341 # to unsupported forces relinking
11342 hardcode_minus_L
=yes
11343 hardcode_libdir_flag_spec
='-L$libdir'
11344 hardcode_libdir_separator
=
11348 shared_flag
='-shared'
11349 if test "$aix_use_runtimelinking" = yes; then
11350 shared_flag
="$shared_flag "'${wl}-G'
11354 if test "$host_cpu" = ia64
; then
11355 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11356 # chokes on -Wl,-G. The following line is correct:
11359 if test "$aix_use_runtimelinking" = yes; then
11360 shared_flag
='${wl}-G'
11362 shared_flag
='${wl}-bM:SRE'
11367 export_dynamic_flag_spec
='${wl}-bexpall'
11368 # It seems that -bexpall does not export symbols beginning with
11369 # underscore (_), so it is better to generate a list of symbols to export.
11370 always_export_symbols
=yes
11371 if test "$aix_use_runtimelinking" = yes; then
11372 # Warning - without using the other runtime loading flags (-brtl),
11373 # -berok will link without error, but may produce a broken library.
11374 allow_undefined_flag
='-berok'
11375 # Determine the default libpath from the value encoded in an
11376 # empty executable.
11377 if test x
$gcc_no_link = xyes
; then
11378 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11391 if ac_fn_c_try_link
"$LINENO"; then :
11393 lt_aix_libpath_sed
='
11394 /Import File Strings/,/^$/ {
11400 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11401 # Check for a 64-bit object if we didn't find anything.
11402 if test -z "$aix_libpath"; then
11403 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11406 rm -f core conftest.err conftest.
$ac_objext \
11407 conftest
$ac_exeext conftest.
$ac_ext
11408 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11410 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11411 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"
11413 if test "$host_cpu" = ia64
; then
11414 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11415 allow_undefined_flag
="-z nodefs"
11416 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"
11418 # Determine the default libpath from the value encoded in an
11419 # empty executable.
11420 if test x
$gcc_no_link = xyes
; then
11421 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11434 if ac_fn_c_try_link
"$LINENO"; then :
11436 lt_aix_libpath_sed
='
11437 /Import File Strings/,/^$/ {
11443 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11444 # Check for a 64-bit object if we didn't find anything.
11445 if test -z "$aix_libpath"; then
11446 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11449 rm -f core conftest.err conftest.
$ac_objext \
11450 conftest
$ac_exeext conftest.
$ac_ext
11451 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11453 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11454 # Warning - without using the other run time loading flags,
11455 # -berok will link without error, but may produce a broken library.
11456 no_undefined_flag
=' ${wl}-bernotok'
11457 allow_undefined_flag
=' ${wl}-berok'
11458 if test "$with_gnu_ld" = yes; then
11459 # We only use this code for GNU lds that support --whole-archive.
11460 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11462 # Exported symbols can be pulled into shared objects from archives
11463 whole_archive_flag_spec
='$convenience'
11465 archive_cmds_need_lc
=yes
11466 # This is similar to how AIX traditionally builds its shared libraries.
11467 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'
11475 # see comment about AmigaOS4 .so support
11476 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11477 archive_expsym_cmds
=''
11480 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)'
11481 hardcode_libdir_flag_spec
='-L$libdir'
11482 hardcode_minus_L
=yes
11488 export_dynamic_flag_spec
=-rdynamic
11491 cygwin
* | mingw
* | pw32
* | cegcc
*)
11492 # When not using gcc, we currently assume that we are using
11493 # Microsoft Visual C++.
11494 # hardcode_libdir_flag_spec is actually meaningless, as there is
11495 # no search path for DLLs.
11496 hardcode_libdir_flag_spec
=' '
11497 allow_undefined_flag
=unsupported
11498 # Tell ltmain to make .lib files, not .a files.
11500 # Tell ltmain to make .dll files, not .so files.
11502 # FIXME: Setting linknames here is a bad hack.
11503 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11504 # The linker will automatically build a .lib file if we build a DLL.
11505 old_archive_from_new_cmds
='true'
11506 # FIXME: Should let the user specify the lib program.
11507 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11508 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11509 enable_shared_with_static_runtimes
=yes
11512 darwin
* | rhapsody
*)
11515 archive_cmds_need_lc
=no
11517 hardcode_automatic
=yes
11518 hardcode_shlibpath_var
=unsupported
11519 if test "$lt_cv_ld_force_load" = "yes"; then
11520 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\"`'
11522 whole_archive_flag_spec
=''
11524 link_all_deplibs
=yes
11525 allow_undefined_flag
="$_lt_dar_allow_undefined"
11526 case $cc_basename in
11527 ifort
*) _lt_dar_can_shared
=yes ;;
11528 *) _lt_dar_can_shared
=$GCC ;;
11530 if test "$_lt_dar_can_shared" = "yes"; then
11531 output_verbose_link_cmd
=func_echo_all
11532 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11533 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11534 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}"
11535 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}"
11544 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11545 hardcode_libdir_flag_spec
='-L$libdir'
11546 hardcode_shlibpath_var
=no
11549 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11550 # support. Future versions do this automatically, but an explicit c++rt0.o
11551 # does not break anything, and helps significantly (at the cost of a little
11554 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11555 hardcode_libdir_flag_spec
='-R$libdir'
11556 hardcode_direct
=yes
11557 hardcode_shlibpath_var
=no
11560 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11562 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11563 hardcode_direct
=yes
11564 hardcode_minus_L
=yes
11565 hardcode_shlibpath_var
=no
11568 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11569 freebsd
* | dragonfly
*)
11570 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11571 hardcode_libdir_flag_spec
='-R$libdir'
11572 hardcode_direct
=yes
11573 hardcode_shlibpath_var
=no
11577 if test "$GCC" = yes; then
11578 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'
11580 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'
11582 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11583 hardcode_libdir_separator
=:
11584 hardcode_direct
=yes
11586 # hardcode_minus_L: Not really in the search PATH,
11587 # but as the default location of the library.
11588 hardcode_minus_L
=yes
11589 export_dynamic_flag_spec
='${wl}-E'
11593 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11594 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11596 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11598 if test "$with_gnu_ld" = no
; then
11599 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11600 hardcode_libdir_flag_spec_ld
='+b $libdir'
11601 hardcode_libdir_separator
=:
11602 hardcode_direct
=yes
11603 hardcode_direct_absolute
=yes
11604 export_dynamic_flag_spec
='${wl}-E'
11605 # hardcode_minus_L: Not really in the search PATH,
11606 # but as the default location of the library.
11607 hardcode_minus_L
=yes
11612 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11615 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11618 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11621 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11627 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11630 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11634 # Older versions of the 11.00 compiler do not understand -b yet
11635 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11637 $as_echo_n "checking if $CC understands -b... " >&6; }
11638 if test "${lt_cv_prog_compiler__b+set}" = set; then :
11639 $as_echo_n "(cached) " >&6
11641 lt_cv_prog_compiler__b
=no
11642 save_LDFLAGS
="$LDFLAGS"
11643 LDFLAGS
="$LDFLAGS -b"
11644 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11645 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11646 # The linker can only warn and ignore the option if not recognized
11647 # So say no if there are warnings
11648 if test -s conftest.err
; then
11649 # Append any errors to the config.log.
11650 cat conftest.err
1>&5
11651 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11652 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11653 if diff conftest.exp conftest.er2
>/dev
/null
; then
11654 lt_cv_prog_compiler__b
=yes
11657 lt_cv_prog_compiler__b
=yes
11661 LDFLAGS
="$save_LDFLAGS"
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11665 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11667 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11668 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11670 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11676 if test "$with_gnu_ld" = no
; then
11677 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11678 hardcode_libdir_separator
=:
11683 hardcode_shlibpath_var
=no
11686 hardcode_direct
=yes
11687 hardcode_direct_absolute
=yes
11688 export_dynamic_flag_spec
='${wl}-E'
11690 # hardcode_minus_L: Not really in the search PATH,
11691 # but as the default location of the library.
11692 hardcode_minus_L
=yes
11698 irix5
* | irix6
* | nonstopux
*)
11699 if test "$GCC" = yes; then
11700 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'
11701 # Try to use the -exported_symbol ld option, if it does not
11702 # work, assume that -exports_file does not work either and
11703 # implicitly export all symbols.
11704 save_LDFLAGS
="$LDFLAGS"
11705 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11706 if test x
$gcc_no_link = xyes
; then
11707 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11713 if ac_fn_c_try_link
"$LINENO"; then :
11714 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'
11717 rm -f core conftest.err conftest.
$ac_objext \
11718 conftest
$ac_exeext conftest.
$ac_ext
11719 LDFLAGS
="$save_LDFLAGS"
11721 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'
11722 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'
11724 archive_cmds_need_lc
='no'
11725 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11726 hardcode_libdir_separator
=:
11728 link_all_deplibs
=yes
11732 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11733 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11735 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11737 hardcode_libdir_flag_spec
='-R$libdir'
11738 hardcode_direct
=yes
11739 hardcode_shlibpath_var
=no
11743 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11744 hardcode_direct
=yes
11745 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11746 hardcode_libdir_separator
=:
11747 hardcode_shlibpath_var
=no
11754 if test -f /usr
/libexec
/ld.so
; then
11755 hardcode_direct
=yes
11756 hardcode_shlibpath_var
=no
11757 hardcode_direct_absolute
=yes
11758 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11759 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11760 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11761 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11762 export_dynamic_flag_spec
='${wl}-E'
11765 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11766 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11767 hardcode_libdir_flag_spec
='-R$libdir'
11770 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11771 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11781 hardcode_libdir_flag_spec
='-L$libdir'
11782 hardcode_minus_L
=yes
11783 allow_undefined_flag
=unsupported
11784 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'
11785 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11789 if test "$GCC" = yes; then
11790 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11791 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'
11793 allow_undefined_flag
=' -expect_unresolved \*'
11794 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'
11796 archive_cmds_need_lc
='no'
11797 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11798 hardcode_libdir_separator
=:
11801 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11802 if test "$GCC" = yes; then
11803 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11804 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'
11805 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11807 allow_undefined_flag
=' -expect_unresolved \*'
11808 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'
11809 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~
11810 $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'
11812 # Both c and cxx compiler support -rpath directly
11813 hardcode_libdir_flag_spec
='-rpath $libdir'
11815 archive_cmds_need_lc
='no'
11816 hardcode_libdir_separator
=:
11820 no_undefined_flag
=' -z defs'
11821 if test "$GCC" = yes; then
11823 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11824 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11825 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11827 case `$CC -V 2>&1` in
11830 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11831 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11832 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11836 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11837 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11838 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11842 hardcode_libdir_flag_spec
='-R$libdir'
11843 hardcode_shlibpath_var
=no
11845 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11847 # The compiler driver will combine and reorder linker options,
11848 # but understands `-z linker_flag'. GCC discards it without `$wl',
11849 # but is careful enough not to reorder.
11850 # Supported since Solaris 2.6 (maybe 2.5.1?)
11851 if test "$GCC" = yes; then
11852 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11854 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11858 link_all_deplibs
=yes
11862 if test "x$host_vendor" = xsequent
; then
11863 # Use $CC to link under sequent, because it throws in some extra .o
11864 # files that make .init and .fini sections work.
11865 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11867 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11869 hardcode_libdir_flag_spec
='-L$libdir'
11870 hardcode_direct
=yes
11871 hardcode_minus_L
=yes
11872 hardcode_shlibpath_var
=no
11876 case $host_vendor in
11878 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11879 hardcode_direct
=yes # is this really true???
11882 ## LD is ld it makes a PLAMLIB
11883 ## CC just makes a GrossModule.
11884 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11885 reload_cmds
='$CC -r -o $output$reload_objs'
11889 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11890 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11893 runpath_var
='LD_RUN_PATH'
11894 hardcode_shlibpath_var
=no
11898 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11899 hardcode_shlibpath_var
=no
11900 export_dynamic_flag_spec
='-Bexport'
11904 if test -d /usr
/nec
; then
11905 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11906 hardcode_shlibpath_var
=no
11907 runpath_var
=LD_RUN_PATH
11908 hardcode_runpath_var
=yes
11913 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11914 no_undefined_flag
='${wl}-z,text'
11915 archive_cmds_need_lc
=no
11916 hardcode_shlibpath_var
=no
11917 runpath_var
='LD_RUN_PATH'
11919 if test "$GCC" = yes; then
11920 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11921 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11923 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11924 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11928 sysv5
* | sco3.2v5
* | sco5v6
*)
11929 # Note: We can NOT use -z defs as we might desire, because we do not
11930 # link with -lc, and that would cause any symbols used from libc to
11931 # always be unresolved, which means just about no library would
11932 # ever link correctly. If we're not using GNU ld we use -z text
11933 # though, which does catch some bad symbols but isn't as heavy-handed
11935 no_undefined_flag
='${wl}-z,text'
11936 allow_undefined_flag
='${wl}-z,nodefs'
11937 archive_cmds_need_lc
=no
11938 hardcode_shlibpath_var
=no
11939 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11940 hardcode_libdir_separator
=':'
11941 link_all_deplibs
=yes
11942 export_dynamic_flag_spec
='${wl}-Bexport'
11943 runpath_var
='LD_RUN_PATH'
11945 if test "$GCC" = yes; then
11946 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11947 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11949 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11950 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11955 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11956 hardcode_libdir_flag_spec
='-L$libdir'
11957 hardcode_shlibpath_var
=no
11965 if test x
$host_vendor = xsni
; then
11967 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11968 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11975 $as_echo "$ld_shlibs" >&6; }
11976 test "$ld_shlibs" = no
&& can_build_shared
=no
11978 with_gnu_ld
=$with_gnu_ld
11995 # Do we need to explicitly link libc?
11997 case "x$archive_cmds_need_lc" in
11999 # Assume -lc should be added
12000 archive_cmds_need_lc
=yes
12002 if test "$enable_shared" = yes && test "$GCC" = yes; then
12003 case $archive_cmds in
12005 # FIXME: we may have to deal with multi-command sequences.
12008 # Test whether the compiler implicitly links with -lc since on some
12009 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12010 # to ld, don't add -lc before -lgcc.
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12012 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12013 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
12014 $as_echo_n "(cached) " >&6
12017 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12019 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12020 (eval $ac_compile) 2>&5
12022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12023 test $ac_status = 0; } 2>conftest.err
; then
12026 libobjs
=conftest.
$ac_objext
12028 wl
=$lt_prog_compiler_wl
12029 pic_flag
=$lt_prog_compiler_pic
12035 lt_save_allow_undefined_flag
=$allow_undefined_flag
12036 allow_undefined_flag
=
12037 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12038 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12041 test $ac_status = 0; }
12043 lt_cv_archive_cmds_need_lc
=no
12045 lt_cv_archive_cmds_need_lc
=yes
12047 allow_undefined_flag
=$lt_save_allow_undefined_flag
12049 cat conftest.err
1>&5
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12055 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12056 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12222 if test "$GCC" = yes; then
12224 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12225 *) lt_awk_arg
="/^libraries:/" ;;
12228 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
12229 *) lt_sed_strip_eq
="s,=/,/,g" ;;
12231 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12232 case $lt_search_path_spec in
12234 # if the path contains ";" then we assume it to be the separator
12235 # otherwise default to the standard path separator (i.e. ":") - it is
12236 # assumed that no part of a normal pathname contains ";" but that should
12237 # okay in the real world where ";" in dirpaths is itself problematic.
12238 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12241 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12244 # Ok, now we have the path, separated by spaces, we can step through it
12245 # and add multilib dir if necessary.
12246 lt_tmp_lt_search_path_spec
=
12247 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12248 for lt_sys_path
in $lt_search_path_spec; do
12249 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12250 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12252 test -d "$lt_sys_path" && \
12253 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12256 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12257 BEGIN {RS=" "; FS="/|\n";} {
12260 for (lt_i = NF; lt_i > 0; lt_i--) {
12261 if ($lt_i != "" && $lt_i != ".") {
12262 if ($lt_i == "..") {
12265 if (lt_count == 0) {
12266 lt_foo="/" $lt_i lt_foo;
12273 if (lt_foo != "") { lt_freq[lt_foo]++; }
12274 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12276 # AWK program above erroneously prepends '/' to C:/dos/paths
12279 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12280 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12282 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12284 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12286 library_names_spec
=
12287 libname_spec
='lib$name'
12291 postuninstall_cmds
=
12295 shlibpath_overrides_runpath
=unknown
12297 dynamic_linker
="$host_os ld.so"
12298 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12299 need_lib_prefix
=unknown
12300 hardcode_into_libs
=no
12302 # when you set need_version to no, make sure it does not cause -set_version
12303 # flags to be left without arguments
12304 need_version
=unknown
12309 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12310 shlibpath_var
=LIBPATH
12312 # AIX 3 has no versioning support, so we append a major version to the name.
12313 soname_spec
='${libname}${release}${shared_ext}$major'
12320 hardcode_into_libs
=yes
12321 if test "$host_cpu" = ia64
; then
12322 # AIX 5 supports IA64
12323 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12324 shlibpath_var
=LD_LIBRARY_PATH
12326 # With GCC up to 2.95.x, collect2 would create an import file
12327 # for dependence libraries. The import file would start with
12328 # the line `#! .'. This would cause the generated library to
12329 # depend on `.', always an invalid library. This was fixed in
12330 # development snapshots of GCC prior to 3.0.
12332 aix4 | aix4.
[01] | aix4.
[01].
*)
12333 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12335 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12338 can_build_shared
=no
12342 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12343 # soname into executable. Probably we can add versioning support to
12344 # collect2, so additional links can be useful in future.
12345 if test "$aix_use_runtimelinking" = yes; then
12346 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12347 # instead of lib<name>.a to let people know that these are not
12348 # typical AIX shared libraries.
12349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12351 # We preserve .a as extension for shared libraries through AIX4.2
12352 # and later when we are not doing run time linking.
12353 library_names_spec
='${libname}${release}.a $libname.a'
12354 soname_spec
='${libname}${release}${shared_ext}$major'
12356 shlibpath_var
=LIBPATH
12363 # Since July 2007 AmigaOS4 officially supports .so libraries.
12364 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12368 library_names_spec
='$libname.ixlibrary $libname.a'
12369 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12370 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'
12376 library_names_spec
='${libname}${shared_ext}'
12377 dynamic_linker
="$host_os ld.so"
12378 shlibpath_var
=LIBRARY_PATH
12384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12385 soname_spec
='${libname}${release}${shared_ext}$major'
12386 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12387 shlibpath_var
=LD_LIBRARY_PATH
12388 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12389 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12390 # the default ld.so.conf also contains /usr/contrib/lib and
12391 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12392 # libtool to hard-code these into programs
12395 cygwin
* | mingw
* | pw32
* | cegcc
*)
12396 version_type
=windows
12401 case $GCC,$host_os in
12402 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
12403 library_names_spec
='$libname.dll.a'
12404 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12405 postinstall_cmds
='base_file=`basename \${file}`~
12406 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12407 dldir=$destdir/`dirname \$dlpath`~
12408 test -d \$dldir || mkdir -p \$dldir~
12409 $install_prog $dir/$dlname \$dldir/$dlname~
12410 chmod a+x \$dldir/$dlname~
12411 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12412 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12414 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12415 dlpath=$dir/\$dldll~
12417 shlibpath_overrides_runpath
=yes
12421 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12422 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12424 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12427 # MinGW DLLs use traditional 'lib' prefix
12428 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12431 # pw32 DLLs use 'pw' prefix rather than 'lib'
12432 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12438 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12441 dynamic_linker
='Win32 ld.exe'
12442 # FIXME: first we should search . and the directory the executable is in
12446 darwin
* | rhapsody
*)
12447 dynamic_linker
="$host_os dyld"
12448 version_type
=darwin
12451 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12452 soname_spec
='${libname}${release}${major}$shared_ext'
12453 shlibpath_overrides_runpath
=yes
12454 shlibpath_var
=DYLD_LIBRARY_PATH
12455 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12457 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12458 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12466 soname_spec
='${libname}${release}${shared_ext}$major'
12467 shlibpath_var
=LD_LIBRARY_PATH
12470 freebsd
* | dragonfly
*)
12471 # DragonFly does not have aout. When/if they implement a new
12472 # versioning mechanism, adjust this.
12473 if test -x /usr
/bin
/objformat
; then
12474 objformat
=`/usr/bin/objformat`
12477 freebsd
[123]*) objformat
=aout
;;
12478 *) objformat
=elf
;;
12481 version_type
=freebsd-
$objformat
12482 case $version_type in
12484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12489 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12493 shlibpath_var
=LD_LIBRARY_PATH
12496 shlibpath_overrides_runpath
=yes
12498 freebsd3.
[01]* | freebsdelf3.
[01]*)
12499 shlibpath_overrides_runpath
=yes
12500 hardcode_into_libs
=yes
12502 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12503 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12504 shlibpath_overrides_runpath
=no
12505 hardcode_into_libs
=yes
12507 *) # from 4.6 on, and DragonFly
12508 shlibpath_overrides_runpath
=yes
12509 hardcode_into_libs
=yes
12518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12519 soname_spec
='${libname}${release}${shared_ext}$major'
12520 shlibpath_var
=LD_LIBRARY_PATH
12521 hardcode_into_libs
=yes
12528 dynamic_linker
="$host_os runtime_loader"
12529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12530 soname_spec
='${libname}${release}${shared_ext}$major'
12531 shlibpath_var
=LIBRARY_PATH
12532 shlibpath_overrides_runpath
=yes
12533 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
12534 hardcode_into_libs
=yes
12537 hpux9
* | hpux10
* | hpux11
*)
12538 # Give a soname corresponding to the major version so that dld.sl refuses to
12539 # link against other versions.
12546 hardcode_into_libs
=yes
12547 dynamic_linker
="$host_os dld.so"
12548 shlibpath_var
=LD_LIBRARY_PATH
12549 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12551 soname_spec
='${libname}${release}${shared_ext}$major'
12552 if test "X$HPUX_IA64_MODE" = X32
; then
12553 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12555 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12557 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12561 hardcode_into_libs
=yes
12562 dynamic_linker
="$host_os dld.sl"
12563 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12564 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12566 soname_spec
='${libname}${release}${shared_ext}$major'
12567 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12568 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12572 dynamic_linker
="$host_os dld.sl"
12573 shlibpath_var
=SHLIB_PATH
12574 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12576 soname_spec
='${libname}${release}${shared_ext}$major'
12579 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12580 postinstall_cmds
='chmod 555 $lib'
12581 # or fails outright, so override atomically:
12582 install_override_mode
=555
12589 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12590 soname_spec
='${libname}${release}${shared_ext}$major'
12591 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12592 shlibpath_var
=LD_LIBRARY_PATH
12593 shlibpath_overrides_runpath
=no
12594 hardcode_into_libs
=yes
12597 irix5
* | irix6
* | nonstopux
*)
12599 nonstopux
*) version_type
=nonstopux
;;
12601 if test "$lt_cv_prog_gnu_ld" = yes; then
12609 soname_spec
='${libname}${release}${shared_ext}$major'
12610 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12612 irix5
* | nonstopux
*)
12613 libsuff
= shlibsuff
=
12616 case $LD in # libtool.m4 will add one of these switches to LD
12617 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12618 libsuff
= shlibsuff
= libmagic
=32-bit;;
12619 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12620 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12621 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12622 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12623 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12627 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12628 shlibpath_overrides_runpath
=no
12629 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12630 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12631 hardcode_into_libs
=yes
12634 # No shared lib support for Linux oldld, aout, or coff.
12635 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12639 # This must be Linux ELF.
12640 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12645 soname_spec
='${libname}${release}${shared_ext}$major'
12646 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12647 shlibpath_var
=LD_LIBRARY_PATH
12648 shlibpath_overrides_runpath
=no
12650 # Some binutils ld are patched to set DT_RUNPATH
12651 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
12652 $as_echo_n "(cached) " >&6
12654 lt_cv_shlibpath_overrides_runpath
=no
12655 save_LDFLAGS
=$LDFLAGS
12656 save_libdir
=$libdir
12657 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12658 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12659 if test x
$gcc_no_link = xyes
; then
12660 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12673 if ac_fn_c_try_link
"$LINENO"; then :
12674 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12675 lt_cv_shlibpath_overrides_runpath
=yes
12678 rm -f core conftest.err conftest.
$ac_objext \
12679 conftest
$ac_exeext conftest.
$ac_ext
12680 LDFLAGS
=$save_LDFLAGS
12681 libdir
=$save_libdir
12685 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12687 # This implies no fast_install, which is unacceptable.
12688 # Some rework will be needed to allow for fast_install
12689 # before this can be enabled.
12690 hardcode_into_libs
=yes
12692 # Append ld.so.conf contents to the search path
12693 if test -f /etc
/ld.so.conf
; then
12694 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' ' '`
12695 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12698 # We used to test for /lib/ld.so.1 and disable shared libraries on
12699 # powerpc, because MkLinux only supported shared libraries with the
12700 # GNU dynamic linker. Since this was broken with cross compilers,
12701 # most powerpc-linux boxes support dynamic linking these days and
12702 # people can always --disable-shared, the test was removed, and we
12703 # assume the GNU/Linux dynamic linker is in use.
12704 dynamic_linker
='GNU/Linux ld.so'
12711 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12713 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12714 dynamic_linker
='NetBSD (a.out) ld.so'
12716 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12717 soname_spec
='${libname}${release}${shared_ext}$major'
12718 dynamic_linker
='NetBSD ld.elf_so'
12720 shlibpath_var
=LD_LIBRARY_PATH
12721 shlibpath_overrides_runpath
=yes
12722 hardcode_into_libs
=yes
12727 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12728 shlibpath_var
=LD_LIBRARY_PATH
12729 shlibpath_overrides_runpath
=yes
12736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12737 soname_spec
='${libname}${release}${shared_ext}$major'
12738 shlibpath_var
=LD_LIBRARY_PATH
12739 shlibpath_overrides_runpath
=no
12740 hardcode_into_libs
=yes
12741 dynamic_linker
='ldqnx.so'
12746 sys_lib_dlsearch_path_spec
="/usr/lib"
12748 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12750 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12751 *) need_version
=no
;;
12753 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12754 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12755 shlibpath_var
=LD_LIBRARY_PATH
12756 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12758 openbsd2.
[89] | openbsd2.
[89].
*)
12759 shlibpath_overrides_runpath
=no
12762 shlibpath_overrides_runpath
=yes
12766 shlibpath_overrides_runpath
=yes
12771 libname_spec
='$name'
12774 library_names_spec
='$libname${shared_ext} $libname.a'
12775 dynamic_linker
='OS/2 ld.exe'
12776 shlibpath_var
=LIBPATH
12779 osf3
* | osf4
* | osf5
*)
12783 soname_spec
='${libname}${release}${shared_ext}$major'
12784 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12785 shlibpath_var
=LD_LIBRARY_PATH
12786 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12787 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12799 soname_spec
='${libname}${release}${shared_ext}$major'
12800 shlibpath_var
=LD_LIBRARY_PATH
12801 shlibpath_overrides_runpath
=yes
12802 hardcode_into_libs
=yes
12803 # ldd complains unless libraries are executable
12804 postinstall_cmds
='chmod +x $lib'
12809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12810 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12811 shlibpath_var
=LD_LIBRARY_PATH
12812 shlibpath_overrides_runpath
=yes
12813 if test "$with_gnu_ld" = yes; then
12821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12822 soname_spec
='${libname}${release}${shared_ext}$major'
12823 shlibpath_var
=LD_LIBRARY_PATH
12824 case $host_vendor in
12826 shlibpath_overrides_runpath
=no
12828 runpath_var
=LD_RUN_PATH
12836 shlibpath_overrides_runpath
=no
12837 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12843 if test -d /usr
/nec
;then
12845 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12846 soname_spec
='$libname${shared_ext}.$major'
12847 shlibpath_var
=LD_LIBRARY_PATH
12851 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12852 version_type
=freebsd-elf
12855 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12856 soname_spec
='${libname}${release}${shared_ext}$major'
12857 shlibpath_var
=LD_LIBRARY_PATH
12858 shlibpath_overrides_runpath
=yes
12859 hardcode_into_libs
=yes
12860 if test "$with_gnu_ld" = yes; then
12861 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12863 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12866 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12870 sys_lib_dlsearch_path_spec
='/usr/lib'
12874 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12878 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12879 shlibpath_var
=LD_LIBRARY_PATH
12880 shlibpath_overrides_runpath
=no
12881 hardcode_into_libs
=yes
12886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12887 soname_spec
='${libname}${release}${shared_ext}$major'
12888 shlibpath_var
=LD_LIBRARY_PATH
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12896 $as_echo "$dynamic_linker" >&6; }
12897 test "$dynamic_linker" = no
&& can_build_shared
=no
12899 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12900 if test "$GCC" = yes; then
12901 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12904 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12905 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12907 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12908 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13003 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13005 if test -n "$hardcode_libdir_flag_spec" ||
13006 test -n "$runpath_var" ||
13007 test "X$hardcode_automatic" = "Xyes" ; then
13009 # We can hardcode non-existent directories.
13010 if test "$hardcode_direct" != no
&&
13011 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13012 # have to relink, otherwise we might link with an installed library
13013 # when we should be linking with a yet-to-be-installed one
13014 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13015 test "$hardcode_minus_L" != no
; then
13016 # Linking always hardcodes the temporary library directory.
13017 hardcode_action
=relink
13019 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13020 hardcode_action
=immediate
13023 # We cannot hardcode anything, or else we can only hardcode existing
13025 hardcode_action
=unsupported
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13028 $as_echo "$hardcode_action" >&6; }
13030 if test "$hardcode_action" = relink ||
13031 test "$inherit_rpath" = yes; then
13032 # Fast installation is not supported
13033 enable_fast_install
=no
13034 elif test "$shlibpath_overrides_runpath" = yes ||
13035 test "$enable_shared" = no
; then
13036 # Fast installation is not necessary
13037 enable_fast_install
=needless
13045 if test "x$enable_dlopen" != xyes
; then
13046 enable_dlopen
=unknown
13047 enable_dlopen_self
=unknown
13048 enable_dlopen_self_static
=unknown
13055 lt_cv_dlopen
="load_add_on"
13057 lt_cv_dlopen_self
=yes
13060 mingw
* | pw32
* | cegcc
*)
13061 lt_cv_dlopen
="LoadLibrary"
13066 lt_cv_dlopen
="dlopen"
13071 # if libdl is installed we need to link against it
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13073 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13074 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13075 $as_echo_n "(cached) " >&6
13077 ac_check_lib_save_LIBS
=$LIBS
13079 if test x
$gcc_no_link = xyes
; then
13080 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 /* Override any GCC internal prototype to avoid an error.
13086 Use char because int might match the return type of a GCC
13087 builtin and then its argument prototype would still apply. */
13100 if ac_fn_c_try_link
"$LINENO"; then :
13101 ac_cv_lib_dl_dlopen
=yes
13103 ac_cv_lib_dl_dlopen
=no
13105 rm -f core conftest.err conftest.
$ac_objext \
13106 conftest
$ac_exeext conftest.
$ac_ext
13107 LIBS
=$ac_check_lib_save_LIBS
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13110 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13111 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13112 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13115 lt_cv_dlopen
="dyld"
13117 lt_cv_dlopen_self
=yes
13124 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13125 if test "x$ac_cv_func_shl_load" = x
""yes; then :
13126 lt_cv_dlopen
="shl_load"
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13129 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13130 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13131 $as_echo_n "(cached) " >&6
13133 ac_check_lib_save_LIBS
=$LIBS
13135 if test x
$gcc_no_link = xyes
; then
13136 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13139 /* end confdefs.h. */
13141 /* Override any GCC internal prototype to avoid an error.
13142 Use char because int might match the return type of a GCC
13143 builtin and then its argument prototype would still apply. */
13151 return shl_load ();
13156 if ac_fn_c_try_link
"$LINENO"; then :
13157 ac_cv_lib_dld_shl_load
=yes
13159 ac_cv_lib_dld_shl_load
=no
13161 rm -f core conftest.err conftest.
$ac_objext \
13162 conftest
$ac_exeext conftest.
$ac_ext
13163 LIBS
=$ac_check_lib_save_LIBS
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13166 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13167 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
13168 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13170 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13171 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13172 lt_cv_dlopen
="dlopen"
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13175 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13176 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13177 $as_echo_n "(cached) " >&6
13179 ac_check_lib_save_LIBS
=$LIBS
13181 if test x
$gcc_no_link = xyes
; then
13182 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13187 /* Override any GCC internal prototype to avoid an error.
13188 Use char because int might match the return type of a GCC
13189 builtin and then its argument prototype would still apply. */
13202 if ac_fn_c_try_link
"$LINENO"; then :
13203 ac_cv_lib_dl_dlopen
=yes
13205 ac_cv_lib_dl_dlopen
=no
13207 rm -f core conftest.err conftest.
$ac_objext \
13208 conftest
$ac_exeext conftest.
$ac_ext
13209 LIBS
=$ac_check_lib_save_LIBS
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13212 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13213 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13214 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13217 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13218 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13219 $as_echo_n "(cached) " >&6
13221 ac_check_lib_save_LIBS
=$LIBS
13222 LIBS
="-lsvld $LIBS"
13223 if test x
$gcc_no_link = xyes
; then
13224 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13229 /* Override any GCC internal prototype to avoid an error.
13230 Use char because int might match the return type of a GCC
13231 builtin and then its argument prototype would still apply. */
13244 if ac_fn_c_try_link
"$LINENO"; then :
13245 ac_cv_lib_svld_dlopen
=yes
13247 ac_cv_lib_svld_dlopen
=no
13249 rm -f core conftest.err conftest.
$ac_objext \
13250 conftest
$ac_exeext conftest.
$ac_ext
13251 LIBS
=$ac_check_lib_save_LIBS
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13254 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13255 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
13256 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13259 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13260 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13261 $as_echo_n "(cached) " >&6
13263 ac_check_lib_save_LIBS
=$LIBS
13265 if test x
$gcc_no_link = xyes
; then
13266 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h. */
13271 /* Override any GCC internal prototype to avoid an error.
13272 Use char because int might match the return type of a GCC
13273 builtin and then its argument prototype would still apply. */
13281 return dld_link ();
13286 if ac_fn_c_try_link
"$LINENO"; then :
13287 ac_cv_lib_dld_dld_link
=yes
13289 ac_cv_lib_dld_dld_link
=no
13291 rm -f core conftest.err conftest.
$ac_objext \
13292 conftest
$ac_exeext conftest.
$ac_ext
13293 LIBS
=$ac_check_lib_save_LIBS
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13296 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13297 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
13298 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13319 if test "x$lt_cv_dlopen" != xno
; then
13325 case $lt_cv_dlopen in
13327 save_CPPFLAGS
="$CPPFLAGS"
13328 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13330 save_LDFLAGS
="$LDFLAGS"
13331 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13334 LIBS
="$lt_cv_dlopen_libs $LIBS"
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13337 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13338 if test "${lt_cv_dlopen_self+set}" = set; then :
13339 $as_echo_n "(cached) " >&6
13341 if test "$cross_compiling" = yes; then :
13342 lt_cv_dlopen_self
=cross
13344 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13345 lt_status
=$lt_dlunknown
13346 cat > conftest.
$ac_ext <<_LT_EOF
13347 #line 13347 "configure"
13348 #include "confdefs.h"
13357 # define LT_DLGLOBAL RTLD_GLOBAL
13360 # define LT_DLGLOBAL DL_GLOBAL
13362 # define LT_DLGLOBAL 0
13366 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13367 find out it does not work in some platform. */
13368 #ifndef LT_DLLAZY_OR_NOW
13370 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13373 # define LT_DLLAZY_OR_NOW DL_LAZY
13376 # define LT_DLLAZY_OR_NOW RTLD_NOW
13379 # define LT_DLLAZY_OR_NOW DL_NOW
13381 # define LT_DLLAZY_OR_NOW 0
13388 /* When -fvisbility=hidden is used, assume the code has been annotated
13389 correspondingly for the symbols needed. */
13390 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13391 void fnord () __attribute__((visibility("default")));
13394 void fnord () { int i=42; }
13397 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13398 int status = $lt_dlunknown;
13402 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13405 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13406 else puts (dlerror ());
13408 /* dlclose (self); */
13416 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13417 (eval $ac_link) 2>&5
13419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13420 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13421 (.
/conftest
; exit; ) >&5 2>/dev
/null
13423 case x
$lt_status in
13424 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13425 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13426 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13429 # compilation failed
13430 lt_cv_dlopen_self
=no
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13438 $as_echo "$lt_cv_dlopen_self" >&6; }
13440 if test "x$lt_cv_dlopen_self" = xyes
; then
13441 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13443 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13444 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13445 $as_echo_n "(cached) " >&6
13447 if test "$cross_compiling" = yes; then :
13448 lt_cv_dlopen_self_static
=cross
13450 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13451 lt_status
=$lt_dlunknown
13452 cat > conftest.
$ac_ext <<_LT_EOF
13453 #line 13453 "configure"
13454 #include "confdefs.h"
13463 # define LT_DLGLOBAL RTLD_GLOBAL
13466 # define LT_DLGLOBAL DL_GLOBAL
13468 # define LT_DLGLOBAL 0
13472 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13473 find out it does not work in some platform. */
13474 #ifndef LT_DLLAZY_OR_NOW
13476 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13479 # define LT_DLLAZY_OR_NOW DL_LAZY
13482 # define LT_DLLAZY_OR_NOW RTLD_NOW
13485 # define LT_DLLAZY_OR_NOW DL_NOW
13487 # define LT_DLLAZY_OR_NOW 0
13494 /* When -fvisbility=hidden is used, assume the code has been annotated
13495 correspondingly for the symbols needed. */
13496 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13497 void fnord () __attribute__((visibility("default")));
13500 void fnord () { int i=42; }
13503 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13504 int status = $lt_dlunknown;
13508 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13511 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13512 else puts (dlerror ());
13514 /* dlclose (self); */
13522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13523 (eval $ac_link) 2>&5
13525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13526 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13527 (.
/conftest
; exit; ) >&5 2>/dev
/null
13529 case x
$lt_status in
13530 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13531 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13532 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13535 # compilation failed
13536 lt_cv_dlopen_self_static
=no
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13544 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13547 CPPFLAGS
="$save_CPPFLAGS"
13548 LDFLAGS
="$save_LDFLAGS"
13553 case $lt_cv_dlopen_self in
13554 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13555 *) enable_dlopen_self
=unknown
;;
13558 case $lt_cv_dlopen_self_static in
13559 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13560 *) enable_dlopen_self_static
=unknown
;;
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13583 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13584 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13585 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13586 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13588 $as_echo "yes" >&6; }
13590 # FIXME - insert some real tests, host_os isn't really good enough
13593 if test -n "$STRIP" ; then
13594 striplib
="$STRIP -x"
13595 old_striplib
="$STRIP -S"
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13597 $as_echo "yes" >&6; }
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13600 $as_echo "no" >&6; }
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13605 $as_echo "no" >&6; }
13621 # Report which library types will actually be built
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13623 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13625 $as_echo "$can_build_shared" >&6; }
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13628 $as_echo_n "checking whether to build shared libraries... " >&6; }
13629 test "$can_build_shared" = "no" && enable_shared
=no
13631 # On AIX, shared libraries and static libraries use the same namespace, and
13632 # are all built from PIC.
13635 test "$enable_shared" = yes && enable_static
=no
13636 if test -n "$RANLIB"; then
13637 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13638 postinstall_cmds
='$RANLIB $lib'
13643 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13644 test "$enable_shared" = yes && enable_static
=no
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13649 $as_echo "$enable_shared" >&6; }
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13652 $as_echo_n "checking whether to build static libraries... " >&6; }
13653 # Make sure either enable_shared or enable_static is yes.
13654 test "$enable_shared" = yes || enable_static
=yes
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13656 $as_echo "$enable_static" >&6; }
13663 ac_cpp
='$CPP $CPPFLAGS'
13664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13670 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13671 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13672 (test "X$CXX" != "Xg++"))) ; then
13674 ac_cpp
='$CXXCPP $CPPFLAGS'
13675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13679 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13680 if test -z "$CXXCPP"; then
13681 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13682 $as_echo_n "(cached) " >&6
13684 # Double quotes because CXXCPP needs to be expanded
13685 for CXXCPP
in "$CXX -E" "/lib/cpp"
13687 ac_preproc_ok
=false
13688 for ac_cxx_preproc_warn_flag
in '' yes
13690 # Use a header file that comes with gcc, so configuring glibc
13691 # with a fresh cross-compiler works.
13692 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13693 # <limits.h> exists even on freestanding compilers.
13694 # On the NeXT, cc -E runs the code through the compiler's parser,
13695 # not just through cpp. "Syntax error" is here to catch this case.
13696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13697 /* end confdefs.h. */
13699 # include <limits.h>
13701 # include <assert.h>
13705 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13708 # Broken: fails on valid input.
13711 rm -f conftest.err conftest.
$ac_ext
13713 # OK, works on sane cases. Now check whether nonexistent headers
13714 # can be detected and how.
13715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13717 #include <ac_nonexistent.h>
13719 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13720 # Broken: success on invalid input.
13723 # Passes both tests.
13727 rm -f conftest.err conftest.
$ac_ext
13730 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13731 rm -f conftest.err conftest.
$ac_ext
13732 if $ac_preproc_ok; then :
13737 ac_cv_prog_CXXCPP
=$CXXCPP
13740 CXXCPP
=$ac_cv_prog_CXXCPP
13742 ac_cv_prog_CXXCPP
=$CXXCPP
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13745 $as_echo "$CXXCPP" >&6; }
13746 ac_preproc_ok
=false
13747 for ac_cxx_preproc_warn_flag
in '' yes
13749 # Use a header file that comes with gcc, so configuring glibc
13750 # with a fresh cross-compiler works.
13751 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13752 # <limits.h> exists even on freestanding compilers.
13753 # On the NeXT, cc -E runs the code through the compiler's parser,
13754 # not just through cpp. "Syntax error" is here to catch this case.
13755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13756 /* end confdefs.h. */
13758 # include <limits.h>
13760 # include <assert.h>
13764 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13767 # Broken: fails on valid input.
13770 rm -f conftest.err conftest.
$ac_ext
13772 # OK, works on sane cases. Now check whether nonexistent headers
13773 # can be detected and how.
13774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13776 #include <ac_nonexistent.h>
13778 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13779 # Broken: success on invalid input.
13782 # Passes both tests.
13786 rm -f conftest.err conftest.
$ac_ext
13789 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13790 rm -f conftest.err conftest.
$ac_ext
13791 if $ac_preproc_ok; then :
13794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13795 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13796 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13797 See \`config.log' for more details." "$LINENO" 5; }
13801 ac_cpp
='$CPP $CPPFLAGS'
13802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13807 _lt_caught_CXX_error
=yes
13811 ac_cpp
='$CXXCPP $CPPFLAGS'
13812 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13813 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13814 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13816 archive_cmds_need_lc_CXX
=no
13817 allow_undefined_flag_CXX
=
13818 always_export_symbols_CXX
=no
13819 archive_expsym_cmds_CXX
=
13820 compiler_needs_object_CXX
=no
13821 export_dynamic_flag_spec_CXX
=
13822 hardcode_direct_CXX
=no
13823 hardcode_direct_absolute_CXX
=no
13824 hardcode_libdir_flag_spec_CXX
=
13825 hardcode_libdir_flag_spec_ld_CXX
=
13826 hardcode_libdir_separator_CXX
=
13827 hardcode_minus_L_CXX
=no
13828 hardcode_shlibpath_var_CXX
=unsupported
13829 hardcode_automatic_CXX
=no
13830 inherit_rpath_CXX
=no
13832 module_expsym_cmds_CXX
=
13833 link_all_deplibs_CXX
=unknown
13834 old_archive_cmds_CXX
=$old_archive_cmds
13835 reload_flag_CXX
=$reload_flag
13836 reload_cmds_CXX
=$reload_cmds
13837 no_undefined_flag_CXX
=
13838 whole_archive_flag_spec_CXX
=
13839 enable_shared_with_static_runtimes_CXX
=no
13841 # Source file extension for C++ test sources.
13844 # Object file extension for compiled C++ test sources.
13848 # No sense in running all these tests if we already determined that
13849 # the CXX compiler isn't working. Some variables (like enable_shared)
13850 # are currently assumed to apply to all compilers on this platform,
13851 # and will be corrupted by setting them based on a non-working compiler.
13852 if test "$_lt_caught_CXX_error" != yes; then
13853 # Code to be used in simple compile tests
13854 lt_simple_compile_test_code
="int some_variable = 0;"
13856 # Code to be used in simple link tests
13857 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13859 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13866 # If no C compiler was specified, use CC.
13869 # If no C compiler flags were specified, use CFLAGS.
13870 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13872 # Allow CC to be a program name with arguments.
13876 # save warnings/boilerplate of simple test code
13877 ac_outfile
=conftest.
$ac_objext
13878 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13879 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13880 _lt_compiler_boilerplate
=`cat conftest.err`
13883 ac_outfile
=conftest.
$ac_objext
13884 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13885 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13886 _lt_linker_boilerplate
=`cat conftest.err`
13890 # Allow CC to be a program name with arguments.
13895 lt_save_with_gnu_ld
=$with_gnu_ld
13896 lt_save_path_LD
=$lt_cv_path_LD
13897 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13898 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13900 $as_unset lt_cv_prog_gnu_ld
13902 if test -n "${lt_cv_path_LDCXX+set}"; then
13903 lt_cv_path_LD
=$lt_cv_path_LDCXX
13905 $as_unset lt_cv_path_LD
13907 test -z "${LDCXX+set}" || LD
=$LDCXX
13911 for cc_temp
in $compiler""; do
13913 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13914 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13919 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13922 if test -n "$compiler"; then
13923 # We don't want -fno-exception when compiling C++ code, so set the
13924 # no_builtin_flag separately
13925 if test "$GXX" = yes; then
13926 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13928 lt_prog_compiler_no_builtin_flag_CXX
=
13931 if test "$GXX" = yes; then
13932 # Set up default GNU C++ configuration
13936 # Check whether --with-gnu-ld was given.
13937 if test "${with_gnu_ld+set}" = set; then :
13938 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13944 if test "$GCC" = yes; then
13945 # Check if gcc -print-prog-name=ld gives a path.
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13947 $as_echo_n "checking for ld used by $CC... " >&6; }
13950 # gcc leaves a trailing carriage return which upsets mingw
13951 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13953 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13956 # Accept absolute paths.
13958 re_direlt
='/[^/][^/]*/\.\./'
13959 # Canonicalize the pathname of ld
13960 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13961 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13962 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13964 test -z "$LD" && LD
="$ac_prog"
13967 # If it fails, then pretend we aren't using GCC.
13971 # If it is relative, then search for the first ld in PATH.
13972 with_gnu_ld
=unknown
13975 elif test "$with_gnu_ld" = yes; then
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13977 $as_echo_n "checking for GNU ld... " >&6; }
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13980 $as_echo_n "checking for non-GNU ld... " >&6; }
13982 if test "${lt_cv_path_LD+set}" = set; then :
13983 $as_echo_n "(cached) " >&6
13985 if test -z "$LD"; then
13986 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13987 for ac_dir
in $PATH; do
13989 test -z "$ac_dir" && ac_dir
=.
13990 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13991 lt_cv_path_LD
="$ac_dir/$ac_prog"
13992 # Check to see if the program is GNU ld. I'd rather use --version,
13993 # but apparently some variants of GNU ld only accept -v.
13994 # Break only if it was the GNU/non-GNU ld that we prefer.
13995 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13996 *GNU
* |
*'with BFD'*)
13997 test "$with_gnu_ld" != no
&& break
14000 test "$with_gnu_ld" != yes && break
14007 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14011 LD
="$lt_cv_path_LD"
14012 if test -n "$LD"; then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14014 $as_echo "$LD" >&6; }
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14017 $as_echo "no" >&6; }
14019 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14021 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14022 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14023 $as_echo_n "(cached) " >&6
14025 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14026 case `$LD -v 2>&1 </dev/null` in
14027 *GNU
* |
*'with BFD'*)
14028 lt_cv_prog_gnu_ld
=yes
14031 lt_cv_prog_gnu_ld
=no
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14036 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14037 with_gnu_ld
=$lt_cv_prog_gnu_ld
14045 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14046 # archiving commands below assume that GNU ld is being used.
14047 if test "$with_gnu_ld" = yes; then
14048 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14049 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'
14051 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14052 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14054 # If archive_cmds runs LD, not CC, wlarc should be empty
14055 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14056 # investigate it a little bit more. (MM)
14059 # ancient GNU ld didn't support --whole-archive et. al.
14060 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14061 $GREP 'no-whole-archive' > /dev
/null
; then
14062 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14064 whole_archive_flag_spec_CXX
=
14070 # A generic and very simple default shared library creation
14071 # command for GNU C++ for the case where it uses the native
14072 # linker, instead of GNU ld. If possible, this setting should
14073 # overridden to take advantage of the native linker features on
14074 # the platform it is being used on.
14075 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14078 # Commands to make compiler produce verbose output that lists
14079 # what "hidden" libraries, object files and flags are used when
14080 # linking a shared library.
14081 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14089 # PORTME: fill in a description of your system's C++ link characteristics
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14091 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14095 # FIXME: insert proper C++ library support
14099 if test "$host_cpu" = ia64
; then
14100 # On IA64, the linker does run time linking by default, so we don't
14101 # have to do anything special.
14102 aix_use_runtimelinking
=no
14103 exp_sym_flag
='-Bexport'
14106 aix_use_runtimelinking
=no
14108 # Test if we are trying to use run time linking or normal
14109 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14110 # need to do runtime linking.
14111 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14112 for ld_flag
in $LDFLAGS; do
14115 aix_use_runtimelinking
=yes
14123 exp_sym_flag
='-bexport'
14124 no_entry_flag
='-bnoentry'
14127 # When large executables or shared objects are built, AIX ld can
14128 # have problems creating the table of contents. If linking a library
14129 # or program results in "error TOC overflow" add -mminimal-toc to
14130 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14131 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14133 archive_cmds_CXX
=''
14134 hardcode_direct_CXX
=yes
14135 hardcode_direct_absolute_CXX
=yes
14136 hardcode_libdir_separator_CXX
=':'
14137 link_all_deplibs_CXX
=yes
14138 file_list_spec_CXX
='${wl}-f,'
14140 if test "$GXX" = yes; then
14141 case $host_os in aix4.
[012]|aix4.
[012].
*)
14142 # We only want to do this on AIX 4.2 and lower, the check
14143 # below for broken collect2 doesn't work under 4.3+
14144 collect2name
=`${CC} -print-prog-name=collect2`
14145 if test -f "$collect2name" &&
14146 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14148 # We have reworked collect2
14151 # We have old collect2
14152 hardcode_direct_CXX
=unsupported
14153 # It fails to find uninstalled libraries when the uninstalled
14154 # path is not listed in the libpath. Setting hardcode_minus_L
14155 # to unsupported forces relinking
14156 hardcode_minus_L_CXX
=yes
14157 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14158 hardcode_libdir_separator_CXX
=
14161 shared_flag
='-shared'
14162 if test "$aix_use_runtimelinking" = yes; then
14163 shared_flag
="$shared_flag "'${wl}-G'
14167 if test "$host_cpu" = ia64
; then
14168 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14169 # chokes on -Wl,-G. The following line is correct:
14172 if test "$aix_use_runtimelinking" = yes; then
14173 shared_flag
='${wl}-G'
14175 shared_flag
='${wl}-bM:SRE'
14180 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14181 # It seems that -bexpall does not export symbols beginning with
14182 # underscore (_), so it is better to generate a list of symbols to
14184 always_export_symbols_CXX
=yes
14185 if test "$aix_use_runtimelinking" = yes; then
14186 # Warning - without using the other runtime loading flags (-brtl),
14187 # -berok will link without error, but may produce a broken library.
14188 allow_undefined_flag_CXX
='-berok'
14189 # Determine the default libpath from the value encoded in an empty
14191 if test x
$gcc_no_link = xyes
; then
14192 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14205 if ac_fn_cxx_try_link
"$LINENO"; then :
14207 lt_aix_libpath_sed
='
14208 /Import File Strings/,/^$/ {
14214 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14215 # Check for a 64-bit object if we didn't find anything.
14216 if test -z "$aix_libpath"; then
14217 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14220 rm -f core conftest.err conftest.
$ac_objext \
14221 conftest
$ac_exeext conftest.
$ac_ext
14222 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14224 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14226 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"
14228 if test "$host_cpu" = ia64
; then
14229 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14230 allow_undefined_flag_CXX
="-z nodefs"
14231 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"
14233 # Determine the default libpath from the value encoded in an
14234 # empty executable.
14235 if test x
$gcc_no_link = xyes
; then
14236 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14239 /* end confdefs.h. */
14249 if ac_fn_cxx_try_link
"$LINENO"; then :
14251 lt_aix_libpath_sed
='
14252 /Import File Strings/,/^$/ {
14258 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14259 # Check for a 64-bit object if we didn't find anything.
14260 if test -z "$aix_libpath"; then
14261 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14264 rm -f core conftest.err conftest.
$ac_objext \
14265 conftest
$ac_exeext conftest.
$ac_ext
14266 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14268 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14269 # Warning - without using the other run time loading flags,
14270 # -berok will link without error, but may produce a broken library.
14271 no_undefined_flag_CXX
=' ${wl}-bernotok'
14272 allow_undefined_flag_CXX
=' ${wl}-berok'
14273 if test "$with_gnu_ld" = yes; then
14274 # We only use this code for GNU lds that support --whole-archive.
14275 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14277 # Exported symbols can be pulled into shared objects from archives
14278 whole_archive_flag_spec_CXX
='$convenience'
14280 archive_cmds_need_lc_CXX
=yes
14281 # This is similar to how AIX traditionally builds its shared
14283 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'
14289 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14290 allow_undefined_flag_CXX
=unsupported
14291 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14292 # support --undefined. This deserves some investigation. FIXME
14293 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14300 case $cc_basename in
14302 # FIXME: insert proper C++ library support
14308 cygwin
* | mingw
* | pw32
* | cegcc
*)
14309 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14310 # as there is no search path for DLLs.
14311 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14312 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14313 allow_undefined_flag_CXX
=unsupported
14314 always_export_symbols_CXX
=no
14315 enable_shared_with_static_runtimes_CXX
=yes
14317 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14318 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'
14319 # If the export-symbols file already is a .def file (1st line
14320 # is EXPORTS), use it as is; otherwise, prepend...
14321 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14322 cp $export_symbols $output_objdir/$soname.def;
14324 echo EXPORTS > $output_objdir/$soname.def;
14325 cat $export_symbols >> $output_objdir/$soname.def;
14327 $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'
14332 darwin
* | rhapsody
*)
14335 archive_cmds_need_lc_CXX
=no
14336 hardcode_direct_CXX
=no
14337 hardcode_automatic_CXX
=yes
14338 hardcode_shlibpath_var_CXX
=unsupported
14339 if test "$lt_cv_ld_force_load" = "yes"; then
14340 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\"`'
14342 whole_archive_flag_spec_CXX
=''
14344 link_all_deplibs_CXX
=yes
14345 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14346 case $cc_basename in
14347 ifort
*) _lt_dar_can_shared
=yes ;;
14348 *) _lt_dar_can_shared
=$GCC ;;
14350 if test "$_lt_dar_can_shared" = "yes"; then
14351 output_verbose_link_cmd
=func_echo_all
14352 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}"
14353 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14354 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}"
14355 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}"
14356 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14357 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}"
14358 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}"
14368 case $cc_basename in
14370 # FIXME: insert proper C++ library support
14374 # Green Hills C++ Compiler
14375 # FIXME: insert proper C++ library support
14379 # FIXME: insert proper C++ library support
14386 # C++ shared libraries reported to be fairly broken before
14392 archive_cmds_need_lc_CXX
=no
14395 freebsd
* | dragonfly
*)
14396 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14405 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14406 link_all_deplibs_CXX
=yes
14410 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14411 hardcode_libdir_separator_CXX
=:
14412 export_dynamic_flag_spec_CXX
='${wl}-E'
14413 hardcode_direct_CXX
=yes
14414 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14415 # but as the default
14416 # location of the library.
14418 case $cc_basename in
14420 # FIXME: insert proper C++ library support
14424 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'
14425 # Commands to make compiler produce verbose output that lists
14426 # what "hidden" libraries, object files and flags are used when
14427 # linking a shared library.
14429 # There doesn't appear to be a way to prevent this compiler from
14430 # explicitly linking system object files so we need to strip them
14431 # from the output so that they don't get included in the library
14433 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"'
14436 if test "$GXX" = yes; then
14437 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'
14439 # FIXME: insert proper C++ library support
14447 if test $with_gnu_ld = no
; then
14448 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14449 hardcode_libdir_separator_CXX
=:
14455 export_dynamic_flag_spec_CXX
='${wl}-E'
14461 hardcode_direct_CXX
=no
14462 hardcode_shlibpath_var_CXX
=no
14465 hardcode_direct_CXX
=yes
14466 hardcode_direct_absolute_CXX
=yes
14467 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14468 # but as the default
14469 # location of the library.
14473 case $cc_basename in
14475 # FIXME: insert proper C++ library support
14481 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14484 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14487 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14490 # Commands to make compiler produce verbose output that lists
14491 # what "hidden" libraries, object files and flags are used when
14492 # linking a shared library.
14494 # There doesn't appear to be a way to prevent this compiler from
14495 # explicitly linking system object files so we need to strip them
14496 # from the output so that they don't get included in the library
14498 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"'
14501 if test "$GXX" = yes; then
14502 if test $with_gnu_ld = no
; then
14505 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14508 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14511 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'
14516 # FIXME: insert proper C++ library support
14524 hardcode_direct_CXX
=no
14525 hardcode_shlibpath_var_CXX
=no
14526 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14527 export_dynamic_flag_spec_CXX
='${wl}-E'
14528 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14529 # Instead, shared libraries are loaded at an image base (0x10000000 by
14530 # default) and relocated if they conflict, which is a slow very memory
14531 # consuming and fragmenting process. To avoid this, we pick a random,
14532 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14533 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14534 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'
14535 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'
14538 case $cc_basename in
14541 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'
14543 # Archives containing C++ object files must be created using
14544 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14545 # necessary to make sure instantiated templates are included
14547 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14550 if test "$GXX" = yes; then
14551 if test "$with_gnu_ld" = no
; then
14552 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'
14554 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'
14557 link_all_deplibs_CXX
=yes
14560 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14561 hardcode_libdir_separator_CXX
=:
14562 inherit_rpath_CXX
=yes
14565 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14566 case $cc_basename in
14568 # Kuck and Associates, Inc. (KAI) C++ Compiler
14570 # KCC will only create a shared library if the output file
14571 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14572 # to its proper name (with version) after linking.
14573 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'
14574 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'
14575 # Commands to make compiler produce verbose output that lists
14576 # what "hidden" libraries, object files and flags are used when
14577 # linking a shared library.
14579 # There doesn't appear to be a way to prevent this compiler from
14580 # explicitly linking system object files so we need to strip them
14581 # from the output so that they don't get included in the library
14583 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"'
14585 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14586 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14588 # Archives containing C++ object files must be created using
14589 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14590 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14595 # version 8.0 and above of icpc choke on multiply defined symbols
14596 # if we add $predep_objects and $postdep_objects, however 7.1 and
14597 # earlier do not add the objects themselves.
14598 case `$CC -V 2>&1` in
14600 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14601 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'
14603 *) # Version 8.0 or newer
14606 ia64
*) tmp_idyn
=' -i_dynamic';;
14608 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14609 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'
14612 archive_cmds_need_lc_CXX
=no
14613 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14614 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14615 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14618 # Portland Group C++ compiler
14620 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14621 prelink_cmds_CXX
='tpldir=Template.dir~
14623 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14624 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14625 old_archive_cmds_CXX
='tpldir=Template.dir~
14627 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14628 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14630 archive_cmds_CXX
='tpldir=Template.dir~
14632 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14633 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14634 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14636 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14637 $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'
14639 *) # Version 6 and above use weak symbols
14640 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14641 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'
14645 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14646 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14647 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'
14651 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14652 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'
14654 runpath_var
=LD_RUN_PATH
14655 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14656 hardcode_libdir_separator_CXX
=:
14658 # Commands to make compiler produce verbose output that lists
14659 # what "hidden" libraries, object files and flags are used when
14660 # linking a shared library.
14662 # There doesn't appear to be a way to prevent this compiler from
14663 # explicitly linking system object files so we need to strip them
14664 # from the output so that they don't get included in the library
14666 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'
14668 xl
* | mpixl
* | bgxl
*)
14669 # IBM XL 8.0 on PPC, with GNU ld
14670 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14671 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14672 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14673 if test "x$supports_anon_versioning" = xyes
; then
14674 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14675 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14676 echo "local: *; };" >> $output_objdir/$libname.ver~
14677 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14681 case `$CC -V 2>&1 | sed 5q` in
14684 no_undefined_flag_CXX
=' -zdefs'
14685 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14686 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'
14687 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14688 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'
14689 compiler_needs_object_CXX
=yes
14691 # Not sure whether something based on
14692 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14694 output_verbose_link_cmd
='func_echo_all'
14696 # Archives containing C++ object files must be created using
14697 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14698 # necessary to make sure instantiated templates are included
14700 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14708 # FIXME: insert proper C++ library support
14713 # FIXME: insert proper C++ library support
14718 case $cc_basename in
14720 # FIXME: insert proper C++ library support
14724 # FIXME: insert proper C++ library support
14731 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14732 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14734 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14735 hardcode_direct_CXX
=yes
14736 hardcode_shlibpath_var_CXX
=no
14738 # Workaround some broken pre-1.5 toolchains
14739 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14747 # C++ shared libraries are fairly broken
14752 if test -f /usr
/libexec
/ld.so
; then
14753 hardcode_direct_CXX
=yes
14754 hardcode_shlibpath_var_CXX
=no
14755 hardcode_direct_absolute_CXX
=yes
14756 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14757 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14758 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14759 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14760 export_dynamic_flag_spec_CXX
='${wl}-E'
14761 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14763 output_verbose_link_cmd
=func_echo_all
14769 osf3
* | osf4
* | osf5
*)
14770 case $cc_basename in
14772 # Kuck and Associates, Inc. (KAI) C++ Compiler
14774 # KCC will only create a shared library if the output file
14775 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14776 # to its proper name (with version) after linking.
14777 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'
14779 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14780 hardcode_libdir_separator_CXX
=:
14782 # Archives containing C++ object files must be created using
14783 # the KAI C++ compiler.
14785 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14786 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14790 # Rational C++ 2.4.1
14791 # FIXME: insert proper C++ library support
14797 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14798 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'
14799 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14802 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14803 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'
14804 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14805 echo "-hidden">> $lib.exp~
14806 $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~
14808 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14812 hardcode_libdir_separator_CXX
=:
14814 # Commands to make compiler produce verbose output that lists
14815 # what "hidden" libraries, object files and flags are used when
14816 # linking a shared library.
14818 # There doesn't appear to be a way to prevent this compiler from
14819 # explicitly linking system object files so we need to strip them
14820 # from the output so that they don't get included in the library
14822 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"'
14825 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14826 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14829 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'
14832 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'
14836 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14837 hardcode_libdir_separator_CXX
=:
14839 # Commands to make compiler produce verbose output that lists
14840 # what "hidden" libraries, object files and flags are used when
14841 # linking a shared library.
14842 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14845 # FIXME: insert proper C++ library support
14853 # FIXME: insert proper C++ library support
14858 case $cc_basename in
14861 # FIXME: insert proper C++ library support
14866 # FIXME: insert proper C++ library support
14870 # FIXME: insert proper C++ library support
14877 case $cc_basename in
14879 # Sun C++ 4.2, 5.x and Centerline C++
14880 archive_cmds_need_lc_CXX
=yes
14881 no_undefined_flag_CXX
=' -zdefs'
14882 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14883 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14884 $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'
14886 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14887 hardcode_shlibpath_var_CXX
=no
14889 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14891 # The compiler driver will combine and reorder linker options,
14892 # but understands `-z linker_flag'.
14893 # Supported since Solaris 2.6 (maybe 2.5.1?)
14894 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14897 link_all_deplibs_CXX
=yes
14899 output_verbose_link_cmd
='func_echo_all'
14901 # Archives containing C++ object files must be created using
14902 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14903 # necessary to make sure instantiated templates are included
14905 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14908 # Green Hills C++ Compiler
14909 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14911 # The C++ compiler must be used to create the archive.
14912 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14915 # GNU C++ compiler with Solaris linker
14916 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14917 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14918 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14919 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14920 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14921 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14923 # Commands to make compiler produce verbose output that lists
14924 # what "hidden" libraries, object files and flags are used when
14925 # linking a shared library.
14926 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14928 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14930 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14931 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14932 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14934 # Commands to make compiler produce verbose output that lists
14935 # what "hidden" libraries, object files and flags are used when
14936 # linking a shared library.
14937 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14940 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14942 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14944 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14952 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14953 no_undefined_flag_CXX
='${wl}-z,text'
14954 archive_cmds_need_lc_CXX
=no
14955 hardcode_shlibpath_var_CXX
=no
14956 runpath_var
='LD_RUN_PATH'
14958 case $cc_basename in
14960 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14961 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14964 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14965 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14970 sysv5
* | sco3.2v5
* | sco5v6
*)
14971 # Note: We can NOT use -z defs as we might desire, because we do not
14972 # link with -lc, and that would cause any symbols used from libc to
14973 # always be unresolved, which means just about no library would
14974 # ever link correctly. If we're not using GNU ld we use -z text
14975 # though, which does catch some bad symbols but isn't as heavy-handed
14977 no_undefined_flag_CXX
='${wl}-z,text'
14978 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14979 archive_cmds_need_lc_CXX
=no
14980 hardcode_shlibpath_var_CXX
=no
14981 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14982 hardcode_libdir_separator_CXX
=':'
14983 link_all_deplibs_CXX
=yes
14984 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14985 runpath_var
='LD_RUN_PATH'
14987 case $cc_basename in
14989 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14990 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14991 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14992 '"$old_archive_cmds_CXX"
14993 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14994 '"$reload_cmds_CXX"
14997 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14998 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15004 case $cc_basename in
15006 # NonStop-UX NCC 3.20
15007 # FIXME: insert proper C++ library support
15011 # FIXME: insert proper C++ library support
15018 # FIXME: insert proper C++ library support
15023 # FIXME: insert proper C++ library support
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15029 $as_echo "$ld_shlibs_CXX" >&6; }
15030 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15036 ## There is no encapsulation within the following macros, do not change
15037 ## the running order or otherwise move them around unless you know exactly
15038 ## what you are doing...
15039 # Dependencies to place before and after the object being linked:
15040 predep_objects_CXX
=
15041 postdep_objects_CXX
=
15044 compiler_lib_search_path_CXX
=
15046 cat > conftest.
$ac_ext <<_LT_EOF
15050 Foo (void) { a = 0; }
15056 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15057 (eval $ac_compile) 2>&5
15059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15060 test $ac_status = 0; }; then
15061 # Parse the compiler output and extract the necessary
15062 # objects, libraries and library flags.
15064 # Sentinel used to keep track of whether or not we are before
15065 # the conftest object file.
15066 pre_test_object_deps_done
=no
15068 for p
in `eval "$output_verbose_link_cmd"`; do
15072 # Some compilers place space between "-{L,R}" and the path.
15073 # Remove the space.
15074 if test $p = "-L" ||
15075 test $p = "-R"; then
15082 if test "$pre_test_object_deps_done" = no
; then
15085 # Internal compiler library paths should come after those
15086 # provided the user. The postdeps already come after the
15087 # user supplied libs so there is no need to process them.
15088 if test -z "$compiler_lib_search_path_CXX"; then
15089 compiler_lib_search_path_CXX
="${prev}${p}"
15091 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15094 # The "-l" case would never come before the object being
15095 # linked, so don't bother handling this case.
15098 if test -z "$postdeps_CXX"; then
15099 postdeps_CXX
="${prev}${p}"
15101 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15107 # This assumes that the test object file only shows up
15108 # once in the compiler output.
15109 if test "$p" = "conftest.$objext"; then
15110 pre_test_object_deps_done
=yes
15114 if test "$pre_test_object_deps_done" = no
; then
15115 if test -z "$predep_objects_CXX"; then
15116 predep_objects_CXX
="$p"
15118 predep_objects_CXX
="$predep_objects_CXX $p"
15121 if test -z "$postdep_objects_CXX"; then
15122 postdep_objects_CXX
="$p"
15124 postdep_objects_CXX
="$postdep_objects_CXX $p"
15129 *) ;; # Ignore the rest.
15137 echo "libtool.m4: error: problem compiling CXX test program"
15140 $RM -f confest.
$objext
15142 # PORTME: override above test on systems where it is broken
15145 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15146 # hack all around it, let's just trust "g++" to DTRT.
15147 predep_objects_CXX
=
15148 postdep_objects_CXX
=
15153 case `$CC -V 2>&1 | sed 5q` in
15157 # The more standards-conforming stlport4 library is
15158 # incompatible with the Cstd library. Avoid specifying
15159 # it if it's in CXXFLAGS. Ignore libCrun as
15160 # -library=stlport4 depends on it.
15161 case " $CXX $CXXFLAGS " in
15162 *" -library=stlport4 "*)
15163 solaris_use_stlport4
=yes
15167 if test "$solaris_use_stlport4" != yes; then
15168 postdeps_CXX
='-library=Cstd -library=Crun'
15175 case $cc_basename in
15177 # The more standards-conforming stlport4 library is
15178 # incompatible with the Cstd library. Avoid specifying
15179 # it if it's in CXXFLAGS. Ignore libCrun as
15180 # -library=stlport4 depends on it.
15181 case " $CXX $CXXFLAGS " in
15182 *" -library=stlport4 "*)
15183 solaris_use_stlport4
=yes
15187 # Adding this requires a known-good setup of shared libraries for
15188 # Sun compiler versions before 5.6, else PIC objects from an old
15189 # archive will be linked into the output, leading to subtle bugs.
15190 if test "$solaris_use_stlport4" != yes; then
15191 postdeps_CXX
='-library=Cstd -library=Crun'
15199 case " $postdeps_CXX " in
15200 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15202 compiler_lib_search_dirs_CXX
=
15203 if test -n "${compiler_lib_search_path_CXX}"; then
15204 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15237 lt_prog_compiler_wl_CXX
=
15238 lt_prog_compiler_pic_CXX
=
15239 lt_prog_compiler_static_CXX
=
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15242 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15244 # C++ specific cases for pic, static, wl, etc.
15245 if test "$GXX" = yes; then
15246 lt_prog_compiler_wl_CXX
='-Wl,'
15247 lt_prog_compiler_static_CXX
='-static'
15251 # All AIX code is PIC.
15252 if test "$host_cpu" = ia64
; then
15253 # AIX 5 now supports IA64 processor
15254 lt_prog_compiler_static_CXX
='-Bstatic'
15261 # see comment about AmigaOS4 .so support
15262 lt_prog_compiler_pic_CXX
='-fPIC'
15265 # FIXME: we need at least 68020 code to build shared libraries, but
15266 # adding the `-m68020' flag to GCC prevents building anything better,
15268 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15273 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15274 # PIC is the default for these OSes.
15276 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15277 # This hack is so that the source file can tell whether it is being
15278 # built for inclusion in a dll (and should export symbols for example).
15279 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15280 # (--disable-auto-import) libraries
15281 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15283 darwin
* | rhapsody
*)
15284 # PIC is the default on this platform
15285 # Common symbols not allowed in MH_DYLIB files
15286 lt_prog_compiler_pic_CXX
='-fno-common'
15289 # DJGPP does not support shared libraries at all
15290 lt_prog_compiler_pic_CXX
=
15293 # PIC is the default for Haiku.
15294 # The "-static" flag exists, but is broken.
15295 lt_prog_compiler_static_CXX
=
15298 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15299 # Instead, we relocate shared libraries at runtime.
15302 if test -d /usr
/nec
; then
15303 lt_prog_compiler_pic_CXX
=-Kconform_pic
15307 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15308 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15309 # sets the default TLS model and affects inlining.
15314 lt_prog_compiler_pic_CXX
='-fPIC'
15319 # QNX uses GNU C++, but need to define -shared option too, otherwise
15320 # it will coredump.
15321 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15324 lt_prog_compiler_pic_CXX
='-fPIC'
15330 # All AIX code is PIC.
15331 if test "$host_cpu" = ia64
; then
15332 # AIX 5 now supports IA64 processor
15333 lt_prog_compiler_static_CXX
='-Bstatic'
15335 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15339 case $cc_basename in
15341 # Green Hills C++ Compiler
15342 # _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"
15347 case $cc_basename in
15349 lt_prog_compiler_pic_CXX
='-KPIC'
15352 # Green Hills C++ Compiler
15353 lt_prog_compiler_pic_CXX
='-pic'
15359 freebsd
* | dragonfly
*)
15360 # FreeBSD uses GNU C++
15362 hpux9
* | hpux10
* | hpux11
*)
15363 case $cc_basename in
15365 lt_prog_compiler_wl_CXX
='-Wl,'
15366 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15367 if test "$host_cpu" != ia64
; then
15368 lt_prog_compiler_pic_CXX
='+Z'
15372 lt_prog_compiler_wl_CXX
='-Wl,'
15373 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15379 lt_prog_compiler_pic_CXX
='+Z'
15388 # This is c89, which is MS Visual C++ (no shared libs)
15389 # Anyone wants to do a port?
15391 irix5
* | irix6
* | nonstopux
*)
15392 case $cc_basename in
15394 lt_prog_compiler_wl_CXX
='-Wl,'
15395 lt_prog_compiler_static_CXX
='-non_shared'
15396 # CC pic flag -KPIC is the default.
15402 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15403 case $cc_basename in
15406 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15407 lt_prog_compiler_pic_CXX
='-fPIC'
15410 # old Intel C++ for x86_64 which still supported -KPIC.
15411 lt_prog_compiler_wl_CXX
='-Wl,'
15412 lt_prog_compiler_pic_CXX
='-KPIC'
15413 lt_prog_compiler_static_CXX
='-static'
15416 # Intel C++, used to be incompatible with GCC.
15417 # ICC 10 doesn't accept -KPIC any more.
15418 lt_prog_compiler_wl_CXX
='-Wl,'
15419 lt_prog_compiler_pic_CXX
='-fPIC'
15420 lt_prog_compiler_static_CXX
='-static'
15423 # Portland Group C++ compiler
15424 lt_prog_compiler_wl_CXX
='-Wl,'
15425 lt_prog_compiler_pic_CXX
='-fpic'
15426 lt_prog_compiler_static_CXX
='-Bstatic'
15430 # Make sure the PIC flag is empty. It appears that all Alpha
15431 # Linux and Compaq Tru64 Unix objects are PIC.
15432 lt_prog_compiler_pic_CXX
=
15433 lt_prog_compiler_static_CXX
='-non_shared'
15435 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15436 # IBM XL 8.0, 9.0 on PPC and BlueGene
15437 lt_prog_compiler_wl_CXX
='-Wl,'
15438 lt_prog_compiler_pic_CXX
='-qpic'
15439 lt_prog_compiler_static_CXX
='-qstaticlink'
15442 case `$CC -V 2>&1 | sed 5q` in
15445 lt_prog_compiler_pic_CXX
='-KPIC'
15446 lt_prog_compiler_static_CXX
='-Bstatic'
15447 lt_prog_compiler_wl_CXX
='-Qoption ld '
15458 case $cc_basename in
15460 lt_prog_compiler_pic_CXX
='-W c,exportall'
15469 # QNX uses GNU C++, but need to define -shared option too, otherwise
15470 # it will coredump.
15471 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15473 osf3
* | osf4
* | osf5
*)
15474 case $cc_basename in
15476 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15479 # Rational C++ 2.4.1
15480 lt_prog_compiler_pic_CXX
='-pic'
15483 # Digital/Compaq C++
15484 lt_prog_compiler_wl_CXX
='-Wl,'
15485 # Make sure the PIC flag is empty. It appears that all Alpha
15486 # Linux and Compaq Tru64 Unix objects are PIC.
15487 lt_prog_compiler_pic_CXX
=
15488 lt_prog_compiler_static_CXX
='-non_shared'
15497 case $cc_basename in
15499 # Sun C++ 4.2, 5.x and Centerline C++
15500 lt_prog_compiler_pic_CXX
='-KPIC'
15501 lt_prog_compiler_static_CXX
='-Bstatic'
15502 lt_prog_compiler_wl_CXX
='-Qoption ld '
15505 # Green Hills C++ Compiler
15506 lt_prog_compiler_pic_CXX
='-PIC'
15513 case $cc_basename in
15516 lt_prog_compiler_pic_CXX
='-pic'
15517 lt_prog_compiler_static_CXX
='-Bstatic'
15521 lt_prog_compiler_pic_CXX
='-pic'
15527 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15528 case $cc_basename in
15530 lt_prog_compiler_wl_CXX
='-Wl,'
15531 lt_prog_compiler_pic_CXX
='-KPIC'
15532 lt_prog_compiler_static_CXX
='-Bstatic'
15537 case $cc_basename in
15539 # NonStop-UX NCC 3.20
15540 lt_prog_compiler_pic_CXX
='-KPIC'
15549 lt_prog_compiler_can_build_shared_CXX
=no
15555 # For platforms which do not support PIC, -DPIC is meaningless:
15557 lt_prog_compiler_pic_CXX
=
15560 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15564 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15569 # Check to make sure the PIC flag actually works.
15571 if test -n "$lt_prog_compiler_pic_CXX"; then
15572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15573 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15574 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15575 $as_echo_n "(cached) " >&6
15577 lt_cv_prog_compiler_pic_works_CXX
=no
15578 ac_outfile
=conftest.
$ac_objext
15579 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15580 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15581 # Insert the option either (1) after the last *FLAGS variable, or
15582 # (2) before a word containing "conftest.", or (3) at the end.
15583 # Note that $ac_compile itself does not contain backslashes and begins
15584 # with a dollar sign (not a hyphen), so the echo should work correctly.
15585 # The option is referenced via a variable to avoid confusing sed.
15586 lt_compile
=`echo "$ac_compile" | $SED \
15587 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15588 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15589 -e 's:$: $lt_compiler_flag:'`
15590 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15591 (eval "$lt_compile" 2>conftest.err
)
15593 cat conftest.err
>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 if (exit $ac_status) && test -s "$ac_outfile"; then
15596 # The compiler can only warn and ignore the option if not recognized
15597 # So say no if there are warnings other than the usual output.
15598 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15599 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15600 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15601 lt_cv_prog_compiler_pic_works_CXX
=yes
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15608 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15610 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15611 case $lt_prog_compiler_pic_CXX in
15613 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15616 lt_prog_compiler_pic_CXX
=
15617 lt_prog_compiler_can_build_shared_CXX
=no
15625 # Check to make sure the static flag actually works.
15627 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15629 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15630 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15631 $as_echo_n "(cached) " >&6
15633 lt_cv_prog_compiler_static_works_CXX
=no
15634 save_LDFLAGS
="$LDFLAGS"
15635 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15636 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15637 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15638 # The linker can only warn and ignore the option if not recognized
15639 # So say no if there are warnings
15640 if test -s conftest.err
; then
15641 # Append any errors to the config.log.
15642 cat conftest.err
1>&5
15643 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15644 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15645 if diff conftest.exp conftest.er2
>/dev
/null
; then
15646 lt_cv_prog_compiler_static_works_CXX
=yes
15649 lt_cv_prog_compiler_static_works_CXX
=yes
15653 LDFLAGS
="$save_LDFLAGS"
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15657 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15659 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15662 lt_prog_compiler_static_CXX
=
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15669 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15670 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15671 $as_echo_n "(cached) " >&6
15673 lt_cv_prog_compiler_c_o_CXX
=no
15674 $RM -r conftest
2>/dev
/null
15678 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15680 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15681 # Insert the option either (1) after the last *FLAGS variable, or
15682 # (2) before a word containing "conftest.", or (3) at the end.
15683 # Note that $ac_compile itself does not contain backslashes and begins
15684 # with a dollar sign (not a hyphen), so the echo should work correctly.
15685 lt_compile
=`echo "$ac_compile" | $SED \
15686 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15687 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15688 -e 's:$: $lt_compiler_flag:'`
15689 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15690 (eval "$lt_compile" 2>out
/conftest.err
)
15692 cat out
/conftest.err
>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15696 # The compiler can only warn and ignore the option if not recognized
15697 # So say no if there are warnings
15698 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15699 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15700 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15701 lt_cv_prog_compiler_c_o_CXX
=yes
15706 # SGI C++ compiler will create directory out/ii_files/ for
15707 # template instantiation
15708 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15709 $RM out
/* && rmdir out
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15716 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15721 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15722 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15723 $as_echo_n "(cached) " >&6
15725 lt_cv_prog_compiler_c_o_CXX
=no
15726 $RM -r conftest
2>/dev
/null
15730 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15732 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15733 # Insert the option either (1) after the last *FLAGS variable, or
15734 # (2) before a word containing "conftest.", or (3) at the end.
15735 # Note that $ac_compile itself does not contain backslashes and begins
15736 # with a dollar sign (not a hyphen), so the echo should work correctly.
15737 lt_compile
=`echo "$ac_compile" | $SED \
15738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15740 -e 's:$: $lt_compiler_flag:'`
15741 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15742 (eval "$lt_compile" 2>out
/conftest.err
)
15744 cat out
/conftest.err
>&5
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15748 # The compiler can only warn and ignore the option if not recognized
15749 # So say no if there are warnings
15750 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15751 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15752 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15753 lt_cv_prog_compiler_c_o_CXX
=yes
15758 # SGI C++ compiler will create directory out/ii_files/ for
15759 # template instantiation
15760 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15761 $RM out
/* && rmdir out
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15768 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15773 hard_links
="nottested"
15774 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15775 # do not overwrite the value of need_locks provided by the user
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15777 $as_echo_n "checking if we can lock with hard links... " >&6; }
15780 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15782 ln conftest.a conftest.b
2>&5 || hard_links
=no
15783 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15785 $as_echo "$hard_links" >&6; }
15786 if test "$hard_links" = no
; then
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15788 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15798 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15800 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15803 # If we're using GNU nm, then we don't want the "-C" option.
15804 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15805 # Also, AIX nm treats weak defined symbols like other global defined
15806 # symbols, whereas GNU nm marks them as "W".
15807 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15808 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'
15810 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'
15814 export_symbols_cmds_CXX
="$ltdll_cmds"
15816 cygwin
* | mingw
* | cegcc
*)
15817 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'
15820 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15823 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15826 $as_echo "$ld_shlibs_CXX" >&6; }
15827 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15829 with_gnu_ld_CXX
=$with_gnu_ld
15837 # Do we need to explicitly link libc?
15839 case "x$archive_cmds_need_lc_CXX" in
15841 # Assume -lc should be added
15842 archive_cmds_need_lc_CXX
=yes
15844 if test "$enable_shared" = yes && test "$GCC" = yes; then
15845 case $archive_cmds_CXX in
15847 # FIXME: we may have to deal with multi-command sequences.
15850 # Test whether the compiler implicitly links with -lc since on some
15851 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15852 # to ld, don't add -lc before -lgcc.
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15854 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15855 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15856 $as_echo_n "(cached) " >&6
15859 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15861 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15862 (eval $ac_compile) 2>&5
15864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15865 test $ac_status = 0; } 2>conftest.err
; then
15868 libobjs
=conftest.
$ac_objext
15870 wl
=$lt_prog_compiler_wl_CXX
15871 pic_flag
=$lt_prog_compiler_pic_CXX
15877 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15878 allow_undefined_flag_CXX
=
15879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15880 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15883 test $ac_status = 0; }
15885 lt_cv_archive_cmds_need_lc_CXX
=no
15887 lt_cv_archive_cmds_need_lc_CXX
=yes
15889 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15891 cat conftest.err
1>&5
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15897 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15898 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15969 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15971 library_names_spec
=
15972 libname_spec
='lib$name'
15976 postuninstall_cmds
=
15980 shlibpath_overrides_runpath
=unknown
15982 dynamic_linker
="$host_os ld.so"
15983 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15984 need_lib_prefix
=unknown
15985 hardcode_into_libs
=no
15987 # when you set need_version to no, make sure it does not cause -set_version
15988 # flags to be left without arguments
15989 need_version
=unknown
15994 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15995 shlibpath_var
=LIBPATH
15997 # AIX 3 has no versioning support, so we append a major version to the name.
15998 soname_spec
='${libname}${release}${shared_ext}$major'
16005 hardcode_into_libs
=yes
16006 if test "$host_cpu" = ia64
; then
16007 # AIX 5 supports IA64
16008 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16009 shlibpath_var
=LD_LIBRARY_PATH
16011 # With GCC up to 2.95.x, collect2 would create an import file
16012 # for dependence libraries. The import file would start with
16013 # the line `#! .'. This would cause the generated library to
16014 # depend on `.', always an invalid library. This was fixed in
16015 # development snapshots of GCC prior to 3.0.
16017 aix4 | aix4.
[01] | aix4.
[01].
*)
16018 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16020 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
16023 can_build_shared
=no
16027 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16028 # soname into executable. Probably we can add versioning support to
16029 # collect2, so additional links can be useful in future.
16030 if test "$aix_use_runtimelinking" = yes; then
16031 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16032 # instead of lib<name>.a to let people know that these are not
16033 # typical AIX shared libraries.
16034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16036 # We preserve .a as extension for shared libraries through AIX4.2
16037 # and later when we are not doing run time linking.
16038 library_names_spec
='${libname}${release}.a $libname.a'
16039 soname_spec
='${libname}${release}${shared_ext}$major'
16041 shlibpath_var
=LIBPATH
16048 # Since July 2007 AmigaOS4 officially supports .so libraries.
16049 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16050 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16053 library_names_spec
='$libname.ixlibrary $libname.a'
16054 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16055 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'
16061 library_names_spec
='${libname}${shared_ext}'
16062 dynamic_linker
="$host_os ld.so"
16063 shlibpath_var
=LIBRARY_PATH
16069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16070 soname_spec
='${libname}${release}${shared_ext}$major'
16071 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16072 shlibpath_var
=LD_LIBRARY_PATH
16073 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16074 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16075 # the default ld.so.conf also contains /usr/contrib/lib and
16076 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16077 # libtool to hard-code these into programs
16080 cygwin
* | mingw
* | pw32
* | cegcc
*)
16081 version_type
=windows
16086 case $GCC,$host_os in
16087 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16088 library_names_spec
='$libname.dll.a'
16089 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16090 postinstall_cmds
='base_file=`basename \${file}`~
16091 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16092 dldir=$destdir/`dirname \$dlpath`~
16093 test -d \$dldir || mkdir -p \$dldir~
16094 $install_prog $dir/$dlname \$dldir/$dlname~
16095 chmod a+x \$dldir/$dlname~
16096 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16097 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16099 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16100 dlpath=$dir/\$dldll~
16102 shlibpath_overrides_runpath
=yes
16106 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16107 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16111 # MinGW DLLs use traditional 'lib' prefix
16112 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16115 # pw32 DLLs use 'pw' prefix rather than 'lib'
16116 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16122 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16125 dynamic_linker
='Win32 ld.exe'
16126 # FIXME: first we should search . and the directory the executable is in
16130 darwin
* | rhapsody
*)
16131 dynamic_linker
="$host_os dyld"
16132 version_type
=darwin
16135 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16136 soname_spec
='${libname}${release}${major}$shared_ext'
16137 shlibpath_overrides_runpath
=yes
16138 shlibpath_var
=DYLD_LIBRARY_PATH
16139 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16141 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16149 soname_spec
='${libname}${release}${shared_ext}$major'
16150 shlibpath_var
=LD_LIBRARY_PATH
16153 freebsd
* | dragonfly
*)
16154 # DragonFly does not have aout. When/if they implement a new
16155 # versioning mechanism, adjust this.
16156 if test -x /usr
/bin
/objformat
; then
16157 objformat
=`/usr/bin/objformat`
16160 freebsd
[123]*) objformat
=aout
;;
16161 *) objformat
=elf
;;
16164 version_type
=freebsd-
$objformat
16165 case $version_type in
16167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16172 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16176 shlibpath_var
=LD_LIBRARY_PATH
16179 shlibpath_overrides_runpath
=yes
16181 freebsd3.
[01]* | freebsdelf3.
[01]*)
16182 shlibpath_overrides_runpath
=yes
16183 hardcode_into_libs
=yes
16185 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16186 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16187 shlibpath_overrides_runpath
=no
16188 hardcode_into_libs
=yes
16190 *) # from 4.6 on, and DragonFly
16191 shlibpath_overrides_runpath
=yes
16192 hardcode_into_libs
=yes
16201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16202 soname_spec
='${libname}${release}${shared_ext}$major'
16203 shlibpath_var
=LD_LIBRARY_PATH
16204 hardcode_into_libs
=yes
16211 dynamic_linker
="$host_os runtime_loader"
16212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16213 soname_spec
='${libname}${release}${shared_ext}$major'
16214 shlibpath_var
=LIBRARY_PATH
16215 shlibpath_overrides_runpath
=yes
16216 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16217 hardcode_into_libs
=yes
16220 hpux9
* | hpux10
* | hpux11
*)
16221 # Give a soname corresponding to the major version so that dld.sl refuses to
16222 # link against other versions.
16229 hardcode_into_libs
=yes
16230 dynamic_linker
="$host_os dld.so"
16231 shlibpath_var
=LD_LIBRARY_PATH
16232 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16234 soname_spec
='${libname}${release}${shared_ext}$major'
16235 if test "X$HPUX_IA64_MODE" = X32
; then
16236 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16238 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16240 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16244 hardcode_into_libs
=yes
16245 dynamic_linker
="$host_os dld.sl"
16246 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16247 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16248 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16249 soname_spec
='${libname}${release}${shared_ext}$major'
16250 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16251 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16255 dynamic_linker
="$host_os dld.sl"
16256 shlibpath_var
=SHLIB_PATH
16257 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16259 soname_spec
='${libname}${release}${shared_ext}$major'
16262 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16263 postinstall_cmds
='chmod 555 $lib'
16264 # or fails outright, so override atomically:
16265 install_override_mode
=555
16272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16273 soname_spec
='${libname}${release}${shared_ext}$major'
16274 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16275 shlibpath_var
=LD_LIBRARY_PATH
16276 shlibpath_overrides_runpath
=no
16277 hardcode_into_libs
=yes
16280 irix5
* | irix6
* | nonstopux
*)
16282 nonstopux
*) version_type
=nonstopux
;;
16284 if test "$lt_cv_prog_gnu_ld" = yes; then
16292 soname_spec
='${libname}${release}${shared_ext}$major'
16293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16295 irix5
* | nonstopux
*)
16296 libsuff
= shlibsuff
=
16299 case $LD in # libtool.m4 will add one of these switches to LD
16300 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16301 libsuff
= shlibsuff
= libmagic
=32-bit;;
16302 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16303 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16304 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16305 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16306 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16310 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16311 shlibpath_overrides_runpath
=no
16312 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16313 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16314 hardcode_into_libs
=yes
16317 # No shared lib support for Linux oldld, aout, or coff.
16318 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16322 # This must be Linux ELF.
16323 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16328 soname_spec
='${libname}${release}${shared_ext}$major'
16329 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16330 shlibpath_var
=LD_LIBRARY_PATH
16331 shlibpath_overrides_runpath
=no
16333 # Some binutils ld are patched to set DT_RUNPATH
16334 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16335 $as_echo_n "(cached) " >&6
16337 lt_cv_shlibpath_overrides_runpath
=no
16338 save_LDFLAGS
=$LDFLAGS
16339 save_libdir
=$libdir
16340 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16341 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16342 if test x
$gcc_no_link = xyes
; then
16343 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16356 if ac_fn_cxx_try_link
"$LINENO"; then :
16357 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16358 lt_cv_shlibpath_overrides_runpath
=yes
16361 rm -f core conftest.err conftest.
$ac_objext \
16362 conftest
$ac_exeext conftest.
$ac_ext
16363 LDFLAGS
=$save_LDFLAGS
16364 libdir
=$save_libdir
16368 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16370 # This implies no fast_install, which is unacceptable.
16371 # Some rework will be needed to allow for fast_install
16372 # before this can be enabled.
16373 hardcode_into_libs
=yes
16375 # Append ld.so.conf contents to the search path
16376 if test -f /etc
/ld.so.conf
; then
16377 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' ' '`
16378 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16381 # We used to test for /lib/ld.so.1 and disable shared libraries on
16382 # powerpc, because MkLinux only supported shared libraries with the
16383 # GNU dynamic linker. Since this was broken with cross compilers,
16384 # most powerpc-linux boxes support dynamic linking these days and
16385 # people can always --disable-shared, the test was removed, and we
16386 # assume the GNU/Linux dynamic linker is in use.
16387 dynamic_linker
='GNU/Linux ld.so'
16394 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16396 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16397 dynamic_linker
='NetBSD (a.out) ld.so'
16399 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16400 soname_spec
='${libname}${release}${shared_ext}$major'
16401 dynamic_linker
='NetBSD ld.elf_so'
16403 shlibpath_var
=LD_LIBRARY_PATH
16404 shlibpath_overrides_runpath
=yes
16405 hardcode_into_libs
=yes
16410 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16411 shlibpath_var
=LD_LIBRARY_PATH
16412 shlibpath_overrides_runpath
=yes
16419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16420 soname_spec
='${libname}${release}${shared_ext}$major'
16421 shlibpath_var
=LD_LIBRARY_PATH
16422 shlibpath_overrides_runpath
=no
16423 hardcode_into_libs
=yes
16424 dynamic_linker
='ldqnx.so'
16429 sys_lib_dlsearch_path_spec
="/usr/lib"
16431 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16433 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16434 *) need_version
=no
;;
16436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16437 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16438 shlibpath_var
=LD_LIBRARY_PATH
16439 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16441 openbsd2.
[89] | openbsd2.
[89].
*)
16442 shlibpath_overrides_runpath
=no
16445 shlibpath_overrides_runpath
=yes
16449 shlibpath_overrides_runpath
=yes
16454 libname_spec
='$name'
16457 library_names_spec
='$libname${shared_ext} $libname.a'
16458 dynamic_linker
='OS/2 ld.exe'
16459 shlibpath_var
=LIBPATH
16462 osf3
* | osf4
* | osf5
*)
16466 soname_spec
='${libname}${release}${shared_ext}$major'
16467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16468 shlibpath_var
=LD_LIBRARY_PATH
16469 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16470 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16481 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16482 soname_spec
='${libname}${release}${shared_ext}$major'
16483 shlibpath_var
=LD_LIBRARY_PATH
16484 shlibpath_overrides_runpath
=yes
16485 hardcode_into_libs
=yes
16486 # ldd complains unless libraries are executable
16487 postinstall_cmds
='chmod +x $lib'
16492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16493 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16494 shlibpath_var
=LD_LIBRARY_PATH
16495 shlibpath_overrides_runpath
=yes
16496 if test "$with_gnu_ld" = yes; then
16504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16505 soname_spec
='${libname}${release}${shared_ext}$major'
16506 shlibpath_var
=LD_LIBRARY_PATH
16507 case $host_vendor in
16509 shlibpath_overrides_runpath
=no
16511 runpath_var
=LD_RUN_PATH
16519 shlibpath_overrides_runpath
=no
16520 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16526 if test -d /usr
/nec
;then
16528 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16529 soname_spec
='$libname${shared_ext}.$major'
16530 shlibpath_var
=LD_LIBRARY_PATH
16534 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16535 version_type
=freebsd-elf
16538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16539 soname_spec
='${libname}${release}${shared_ext}$major'
16540 shlibpath_var
=LD_LIBRARY_PATH
16541 shlibpath_overrides_runpath
=yes
16542 hardcode_into_libs
=yes
16543 if test "$with_gnu_ld" = yes; then
16544 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16546 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16549 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16553 sys_lib_dlsearch_path_spec
='/usr/lib'
16557 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16562 shlibpath_var
=LD_LIBRARY_PATH
16563 shlibpath_overrides_runpath
=no
16564 hardcode_into_libs
=yes
16569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16570 soname_spec
='${libname}${release}${shared_ext}$major'
16571 shlibpath_var
=LD_LIBRARY_PATH
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16579 $as_echo "$dynamic_linker" >&6; }
16580 test "$dynamic_linker" = no
&& can_build_shared
=no
16582 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16583 if test "$GCC" = yes; then
16584 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16587 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16588 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16590 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16591 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16632 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16633 hardcode_action_CXX
=
16634 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16635 test -n "$runpath_var_CXX" ||
16636 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16638 # We can hardcode non-existent directories.
16639 if test "$hardcode_direct_CXX" != no
&&
16640 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16641 # have to relink, otherwise we might link with an installed library
16642 # when we should be linking with a yet-to-be-installed one
16643 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16644 test "$hardcode_minus_L_CXX" != no
; then
16645 # Linking always hardcodes the temporary library directory.
16646 hardcode_action_CXX
=relink
16648 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16649 hardcode_action_CXX
=immediate
16652 # We cannot hardcode anything, or else we can only hardcode existing
16654 hardcode_action_CXX
=unsupported
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16657 $as_echo "$hardcode_action_CXX" >&6; }
16659 if test "$hardcode_action_CXX" = relink ||
16660 test "$inherit_rpath_CXX" = yes; then
16661 # Fast installation is not supported
16662 enable_fast_install
=no
16663 elif test "$shlibpath_overrides_runpath" = yes ||
16664 test "$enable_shared" = no
; then
16665 # Fast installation is not necessary
16666 enable_fast_install
=needless
16675 fi # test -n "$compiler"
16681 with_gnu_ld
=$lt_save_with_gnu_ld
16682 lt_cv_path_LDCXX
=$lt_cv_path_LD
16683 lt_cv_path_LD
=$lt_save_path_LD
16684 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16685 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16686 fi # test "$_lt_caught_CXX_error" != yes
16689 ac_cpp
='$CPP $CPPFLAGS'
16690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16706 ac_config_commands
="$ac_config_commands libtool"
16711 # Only expand once:
16718 *-cygwin* |
*-mingw*)
16719 # 'host' will be top-level target in the case of a target lib,
16720 # we must compare to with_cross_host to decide if this is a native
16721 # or cross-compiler and select where to install dlls appropriately.
16722 if test -n "$with_cross_host" &&
16723 test x
"$with_cross_host" != x
"no"; then
16724 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
16726 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
16737 if test -n "$ac_tool_prefix"; then
16740 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16741 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16743 $as_echo_n "checking for $ac_word... " >&6; }
16744 if test "${ac_cv_prog_GCJ+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16747 if test -n "$GCJ"; then
16748 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16751 for as_dir
in $PATH
16754 test -z "$as_dir" && as_dir
=.
16755 for ac_exec_ext
in '' $ac_executable_extensions; do
16756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16757 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
16758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16767 GCJ
=$ac_cv_prog_GCJ
16768 if test -n "$GCJ"; then
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16770 $as_echo "$GCJ" >&6; }
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16773 $as_echo "no" >&6; }
16777 test -n "$GCJ" && break
16780 if test -z "$GCJ"; then
16784 # Extract the first word of "$ac_prog", so it can be a program name with args.
16785 set dummy
$ac_prog; ac_word
=$2
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16787 $as_echo_n "checking for $ac_word... " >&6; }
16788 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
16789 $as_echo_n "(cached) " >&6
16791 if test -n "$ac_ct_GCJ"; then
16792 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
16794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16795 for as_dir
in $PATH
16798 test -z "$as_dir" && as_dir
=.
16799 for ac_exec_ext
in '' $ac_executable_extensions; do
16800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16801 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
16802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16811 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
16812 if test -n "$ac_ct_GCJ"; then
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
16814 $as_echo "$ac_ct_GCJ" >&6; }
16816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16817 $as_echo "no" >&6; }
16821 test -n "$ac_ct_GCJ" && break
16824 if test "x$ac_ct_GCJ" = x
; then
16827 case $cross_compiling:$ac_tool_warned in
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16831 ac_tool_warned
=yes ;;
16837 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
16838 if test "x${GCJFLAGS-unset}" = xunset
; then
16843 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16846 $as_echo_n "checking dependency style of $depcc... " >&6; }
16847 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
16848 $as_echo_n "(cached) " >&6
16850 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16851 # We make a subdir and do the tests there. Otherwise we can end up
16852 # making bogus files that we don't know about and never remove. For
16853 # instance it was reported that on HP-UX the gcc test will end up
16854 # making a dummy file named `D' -- because `-MD' means `put the output
16857 # Copy depcomp to subdir because otherwise we won't find it if we're
16858 # using a relative directory.
16859 cp "$am_depcomp" conftest.dir
16861 # We will build objects and dependencies in a subdirectory because
16862 # it helps to detect inapplicable dependency modes. For instance
16863 # both Tru64's cc and ICC support -MD to output dependencies as a
16864 # side effect of compilation, but ICC will put the dependencies in
16865 # the current directory while Tru64 will put them in the object
16869 am_cv_GCJ_dependencies_compiler_type
=none
16870 if test "$am_compiler_list" = ""; then
16871 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16873 am__universal
=false
16876 for depmode
in $am_compiler_list; do
16877 # Setup a source with many dependencies, because some compilers
16878 # like to wrap large dependency lists on column 80 (with \), and
16879 # we should not choose a depcomp mode which is confused by this.
16881 # We need to recreate these files for each test, as the compiler may
16882 # overwrite some of them when testing with obscure command lines.
16883 # This happens at least with the AIX C compiler.
16885 for i
in 1 2 3 4 5 6; do
16886 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16887 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16888 # Solaris 8's {/usr,}/bin/sh.
16889 touch sub
/conftst
$i.h
16891 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16893 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16894 # mode. It turns out that the SunPro C++ compiler does not properly
16895 # handle `-M -o', and we need to detect this. Also, some Intel
16896 # versions had trouble with output in subdirs
16897 am__obj
=sub
/conftest.
${OBJEXT-o}
16898 am__minus_obj
="-o $am__obj"
16901 # This depmode causes a compiler race in universal mode.
16902 test "$am__universal" = false ||
continue
16905 # after this tag, mechanisms are not by side-effect, so they'll
16906 # only be used when explicitly requested
16907 if test "x$enable_dependency_tracking" = xyes
; then
16913 msvisualcpp | msvcmsys
)
16914 # This compiler won't grok `-c -o', but also, the minuso test has
16915 # not run yet. These depmodes are late enough in the game, and
16916 # so weak that their functioning should not be impacted.
16917 am__obj
=conftest.
${OBJEXT-o}
16922 if depmode
=$depmode \
16923 source=sub
/conftest.c object
=$am__obj \
16924 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16925 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
16926 >/dev
/null
2>conftest.err
&&
16927 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16928 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16929 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
16930 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16931 # icc doesn't choke on unknown options, it will just issue warnings
16932 # or remarks (even with -Werror). So we grep stderr for any message
16933 # that says an option was ignored or not supported.
16934 # When given -MP, icc 7.0 and 7.1 complain thusly:
16935 # icc: Command line warning: ignoring option '-M'; no argument required
16936 # The diagnosis changed in icc 8.0:
16937 # icc: Command line remark: option '-MP' not supported
16938 if (grep 'ignoring option' conftest.err ||
16939 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16940 am_cv_GCJ_dependencies_compiler_type
=$depmode
16947 rm -rf conftest.dir
16949 am_cv_GCJ_dependencies_compiler_type
=none
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
16954 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
16955 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
16958 test "x$enable_dependency_tracking" != xno \
16959 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
16960 am__fastdepGCJ_TRUE
=
16961 am__fastdepGCJ_FALSE
='#'
16963 am__fastdepGCJ_TRUE
='#'
16964 am__fastdepGCJ_FALSE
=
16969 if test -n "$ac_tool_prefix"; then
16972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16973 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16975 $as_echo_n "checking for $ac_word... " >&6; }
16976 if test "${ac_cv_prog_GCJ+set}" = set; then :
16977 $as_echo_n "(cached) " >&6
16979 if test -n "$GCJ"; then
16980 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16983 for as_dir
in $PATH
16986 test -z "$as_dir" && as_dir
=.
16987 for ac_exec_ext
in '' $ac_executable_extensions; do
16988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16989 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
16990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16999 GCJ
=$ac_cv_prog_GCJ
17000 if test -n "$GCJ"; then
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
17002 $as_echo "$GCJ" >&6; }
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17005 $as_echo "no" >&6; }
17009 test -n "$GCJ" && break
17012 if test -z "$GCJ"; then
17016 # Extract the first word of "$ac_prog", so it can be a program name with args.
17017 set dummy
$ac_prog; ac_word
=$2
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17019 $as_echo_n "checking for $ac_word... " >&6; }
17020 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
17021 $as_echo_n "(cached) " >&6
17023 if test -n "$ac_ct_GCJ"; then
17024 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
17026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17027 for as_dir
in $PATH
17030 test -z "$as_dir" && as_dir
=.
17031 for ac_exec_ext
in '' $ac_executable_extensions; do
17032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17033 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
17034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17043 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
17044 if test -n "$ac_ct_GCJ"; then
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
17046 $as_echo "$ac_ct_GCJ" >&6; }
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17049 $as_echo "no" >&6; }
17053 test -n "$ac_ct_GCJ" && break
17056 if test "x$ac_ct_GCJ" = x
; then
17059 case $cross_compiling:$ac_tool_warned in
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17063 ac_tool_warned
=yes ;;
17069 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
17070 if test "x${GCJFLAGS-unset}" = xunset
; then
17075 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17078 $as_echo_n "checking dependency style of $depcc... " >&6; }
17079 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
17080 $as_echo_n "(cached) " >&6
17082 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17083 # We make a subdir and do the tests there. Otherwise we can end up
17084 # making bogus files that we don't know about and never remove. For
17085 # instance it was reported that on HP-UX the gcc test will end up
17086 # making a dummy file named `D' -- because `-MD' means `put the output
17089 # Copy depcomp to subdir because otherwise we won't find it if we're
17090 # using a relative directory.
17091 cp "$am_depcomp" conftest.dir
17093 # We will build objects and dependencies in a subdirectory because
17094 # it helps to detect inapplicable dependency modes. For instance
17095 # both Tru64's cc and ICC support -MD to output dependencies as a
17096 # side effect of compilation, but ICC will put the dependencies in
17097 # the current directory while Tru64 will put them in the object
17101 am_cv_GCJ_dependencies_compiler_type
=none
17102 if test "$am_compiler_list" = ""; then
17103 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17105 am__universal
=false
17108 for depmode
in $am_compiler_list; do
17109 # Setup a source with many dependencies, because some compilers
17110 # like to wrap large dependency lists on column 80 (with \), and
17111 # we should not choose a depcomp mode which is confused by this.
17113 # We need to recreate these files for each test, as the compiler may
17114 # overwrite some of them when testing with obscure command lines.
17115 # This happens at least with the AIX C compiler.
17117 for i
in 1 2 3 4 5 6; do
17118 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
17119 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17120 # Solaris 8's {/usr,}/bin/sh.
17121 touch sub
/conftst
$i.h
17123 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17125 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17126 # mode. It turns out that the SunPro C++ compiler does not properly
17127 # handle `-M -o', and we need to detect this. Also, some Intel
17128 # versions had trouble with output in subdirs
17129 am__obj
=sub
/conftest.
${OBJEXT-o}
17130 am__minus_obj
="-o $am__obj"
17133 # This depmode causes a compiler race in universal mode.
17134 test "$am__universal" = false ||
continue
17137 # after this tag, mechanisms are not by side-effect, so they'll
17138 # only be used when explicitly requested
17139 if test "x$enable_dependency_tracking" = xyes
; then
17145 msvisualcpp | msvcmsys
)
17146 # This compiler won't grok `-c -o', but also, the minuso test has
17147 # not run yet. These depmodes are late enough in the game, and
17148 # so weak that their functioning should not be impacted.
17149 am__obj
=conftest.
${OBJEXT-o}
17154 if depmode
=$depmode \
17155 source=sub
/conftest.c object
=$am__obj \
17156 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
17157 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
17158 >/dev
/null
2>conftest.err
&&
17159 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17160 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17161 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
17162 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
17163 # icc doesn't choke on unknown options, it will just issue warnings
17164 # or remarks (even with -Werror). So we grep stderr for any message
17165 # that says an option was ignored or not supported.
17166 # When given -MP, icc 7.0 and 7.1 complain thusly:
17167 # icc: Command line warning: ignoring option '-M'; no argument required
17168 # The diagnosis changed in icc 8.0:
17169 # icc: Command line remark: option '-MP' not supported
17170 if (grep 'ignoring option' conftest.err ||
17171 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
17172 am_cv_GCJ_dependencies_compiler_type
=$depmode
17179 rm -rf conftest.dir
17181 am_cv_GCJ_dependencies_compiler_type
=none
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
17186 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
17187 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
17190 test "x$enable_dependency_tracking" != xno \
17191 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
17192 am__fastdepGCJ_TRUE
=
17193 am__fastdepGCJ_FALSE
='#'
17195 am__fastdepGCJ_TRUE
='#'
17196 am__fastdepGCJ_FALSE
=
17203 # Source file extension for Java test sources.
17206 # Object file extension for compiled Java test sources.
17210 # Code to be used in simple compile tests
17211 lt_simple_compile_test_code
="int some_variable = 0;"
17213 # Code to be used in simple link tests
17214 lt_simple_link_test_code
='int main(){return(0);}'
17216 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17223 # If no C compiler was specified, use CC.
17226 # If no C compiler flags were specified, use CFLAGS.
17227 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17229 # Allow CC to be a program name with arguments.
17233 # save warnings/boilerplate of simple test code
17234 ac_outfile
=conftest.
$ac_objext
17235 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17236 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17237 _lt_compiler_boilerplate
=`cat conftest.err`
17240 ac_outfile
=conftest.
$ac_objext
17241 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17242 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17243 _lt_linker_boilerplate
=`cat conftest.err`
17247 # Allow CC to be a program name with arguments.
17251 for cc_temp
in $compiler""; do
17253 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17254 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17259 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17262 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17263 archive_cmds_need_lc_GCJ
=no
17265 old_archive_cmds_GCJ
=$old_archive_cmds
17268 ## There is no encapsulation within the following macros, do not change
17269 ## the running order or otherwise move them around unless you know exactly
17270 ## what you are doing...
17271 if test -n "$compiler"; then
17273 lt_prog_compiler_no_builtin_flag_GCJ
=
17275 if test "$GCC" = yes; then
17276 case $cc_basename in
17278 lt_prog_compiler_no_builtin_flag_GCJ
=' -Xcompiler -fno-builtin' ;;
17280 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin' ;;
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17284 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17285 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
17286 $as_echo_n "(cached) " >&6
17288 lt_cv_prog_compiler_rtti_exceptions
=no
17289 ac_outfile
=conftest.
$ac_objext
17290 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17291 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17292 # Insert the option either (1) after the last *FLAGS variable, or
17293 # (2) before a word containing "conftest.", or (3) at the end.
17294 # Note that $ac_compile itself does not contain backslashes and begins
17295 # with a dollar sign (not a hyphen), so the echo should work correctly.
17296 # The option is referenced via a variable to avoid confusing sed.
17297 lt_compile
=`echo "$ac_compile" | $SED \
17298 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17299 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17300 -e 's:$: $lt_compiler_flag:'`
17301 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17302 (eval "$lt_compile" 2>conftest.err
)
17304 cat conftest.err
>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 if (exit $ac_status) && test -s "$ac_outfile"; then
17307 # The compiler can only warn and ignore the option if not recognized
17308 # So say no if there are warnings other than the usual output.
17309 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17310 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17311 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17312 lt_cv_prog_compiler_rtti_exceptions
=yes
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17319 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17321 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17322 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17331 lt_prog_compiler_wl_GCJ
=
17332 lt_prog_compiler_pic_GCJ
=
17333 lt_prog_compiler_static_GCJ
=
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17336 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17338 if test "$GCC" = yes; then
17339 lt_prog_compiler_wl_GCJ
='-Wl,'
17340 lt_prog_compiler_static_GCJ
='-static'
17344 # All AIX code is PIC.
17345 if test "$host_cpu" = ia64
; then
17346 # AIX 5 now supports IA64 processor
17347 lt_prog_compiler_static_GCJ
='-Bstatic'
17354 # see comment about AmigaOS4 .so support
17355 lt_prog_compiler_pic_GCJ
='-fPIC'
17358 # FIXME: we need at least 68020 code to build shared libraries, but
17359 # adding the `-m68020' flag to GCC prevents building anything better,
17361 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17366 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17367 # PIC is the default for these OSes.
17370 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17371 # This hack is so that the source file can tell whether it is being
17372 # built for inclusion in a dll (and should export symbols for example).
17373 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17374 # (--disable-auto-import) libraries
17378 darwin
* | rhapsody
*)
17379 # PIC is the default on this platform
17380 # Common symbols not allowed in MH_DYLIB files
17381 lt_prog_compiler_pic_GCJ
='-fno-common'
17385 # PIC is the default for Haiku.
17386 # The "-static" flag exists, but is broken.
17387 lt_prog_compiler_static_GCJ
=
17391 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17392 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17393 # sets the default TLS model and affects inlining.
17399 lt_prog_compiler_pic_GCJ
='-fPIC'
17405 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17406 # Instead, we relocate shared libraries at runtime.
17410 # Just because we use GCC doesn't mean we suddenly get shared libraries
17411 # on systems that don't support them.
17412 lt_prog_compiler_can_build_shared_GCJ
=no
17417 # QNX uses GNU C++, but need to define -shared option too, otherwise
17418 # it will coredump.
17419 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17423 if test -d /usr
/nec
; then
17424 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17429 lt_prog_compiler_pic_GCJ
='-fPIC'
17433 case $cc_basename in
17434 nvcc
*) # Cuda Compiler Driver 2.2
17435 lt_prog_compiler_wl_GCJ
='-Xlinker '
17436 lt_prog_compiler_pic_GCJ
='-Xcompiler -fPIC'
17440 # PORTME Check for flag to pass linker flags through the system compiler.
17443 lt_prog_compiler_wl_GCJ
='-Wl,'
17444 if test "$host_cpu" = ia64
; then
17445 # AIX 5 now supports IA64 processor
17446 lt_prog_compiler_static_GCJ
='-Bstatic'
17448 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17452 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17453 # This hack is so that the source file can tell whether it is being
17454 # built for inclusion in a dll (and should export symbols for example).
17458 hpux9
* | hpux10
* | hpux11
*)
17459 lt_prog_compiler_wl_GCJ
='-Wl,'
17460 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17461 # not for PA HP-UX.
17467 lt_prog_compiler_pic_GCJ
='+Z'
17470 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17471 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17474 irix5
* | irix6
* | nonstopux
*)
17475 lt_prog_compiler_wl_GCJ
='-Wl,'
17476 # PIC (with -KPIC) is the default.
17477 lt_prog_compiler_static_GCJ
='-non_shared'
17480 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17481 case $cc_basename in
17482 # old Intel for x86_64 which still supported -KPIC.
17484 lt_prog_compiler_wl_GCJ
='-Wl,'
17485 lt_prog_compiler_pic_GCJ
='-KPIC'
17486 lt_prog_compiler_static_GCJ
='-static'
17488 # icc used to be incompatible with GCC.
17489 # ICC 10 doesn't accept -KPIC any more.
17491 lt_prog_compiler_wl_GCJ
='-Wl,'
17492 lt_prog_compiler_pic_GCJ
='-fPIC'
17493 lt_prog_compiler_static_GCJ
='-static'
17495 # Lahey Fortran 8.1.
17497 lt_prog_compiler_wl_GCJ
='-Wl,'
17498 lt_prog_compiler_pic_GCJ
='--shared'
17499 lt_prog_compiler_static_GCJ
='--static'
17501 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
17502 # Portland Group compilers (*not* the Pentium gcc compiler,
17503 # which looks to be a dead project)
17504 lt_prog_compiler_wl_GCJ
='-Wl,'
17505 lt_prog_compiler_pic_GCJ
='-fpic'
17506 lt_prog_compiler_static_GCJ
='-Bstatic'
17509 lt_prog_compiler_wl_GCJ
='-Wl,'
17510 # All Alpha code is PIC.
17511 lt_prog_compiler_static_GCJ
='-non_shared'
17513 xl
* | bgxl
* | bgf
* | mpixl
*)
17514 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
17515 lt_prog_compiler_wl_GCJ
='-Wl,'
17516 lt_prog_compiler_pic_GCJ
='-qpic'
17517 lt_prog_compiler_static_GCJ
='-qstaticlink'
17520 case `$CC -V 2>&1 | sed 5q` in
17521 *Sun\ F
* |
*Sun
*Fortran
*)
17522 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17523 lt_prog_compiler_pic_GCJ
='-KPIC'
17524 lt_prog_compiler_static_GCJ
='-Bstatic'
17525 lt_prog_compiler_wl_GCJ
=''
17529 lt_prog_compiler_pic_GCJ
='-KPIC'
17530 lt_prog_compiler_static_GCJ
='-Bstatic'
17531 lt_prog_compiler_wl_GCJ
='-Wl,'
17539 lt_prog_compiler_pic_GCJ
='-KPIC'
17540 lt_prog_compiler_static_GCJ
='-Bstatic'
17544 # QNX uses GNU C++, but need to define -shared option too, otherwise
17545 # it will coredump.
17546 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17549 osf3
* | osf4
* | osf5
*)
17550 lt_prog_compiler_wl_GCJ
='-Wl,'
17551 # All OSF/1 code is PIC.
17552 lt_prog_compiler_static_GCJ
='-non_shared'
17556 lt_prog_compiler_static_GCJ
='-non_shared'
17560 lt_prog_compiler_pic_GCJ
='-KPIC'
17561 lt_prog_compiler_static_GCJ
='-Bstatic'
17562 case $cc_basename in
17563 f77
* | f90
* | f95
*)
17564 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17566 lt_prog_compiler_wl_GCJ
='-Wl,';;
17571 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17572 lt_prog_compiler_pic_GCJ
='-PIC'
17573 lt_prog_compiler_static_GCJ
='-Bstatic'
17576 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17577 lt_prog_compiler_wl_GCJ
='-Wl,'
17578 lt_prog_compiler_pic_GCJ
='-KPIC'
17579 lt_prog_compiler_static_GCJ
='-Bstatic'
17583 if test -d /usr
/nec
;then
17584 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17585 lt_prog_compiler_static_GCJ
='-Bstatic'
17589 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17590 lt_prog_compiler_wl_GCJ
='-Wl,'
17591 lt_prog_compiler_pic_GCJ
='-KPIC'
17592 lt_prog_compiler_static_GCJ
='-Bstatic'
17596 lt_prog_compiler_wl_GCJ
='-Wl,'
17597 lt_prog_compiler_can_build_shared_GCJ
=no
17601 lt_prog_compiler_pic_GCJ
='-pic'
17602 lt_prog_compiler_static_GCJ
='-Bstatic'
17606 lt_prog_compiler_can_build_shared_GCJ
=no
17612 # For platforms which do not support PIC, -DPIC is meaningless:
17614 lt_prog_compiler_pic_GCJ
=
17617 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
17621 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17626 # Check to make sure the PIC flag actually works.
17628 if test -n "$lt_prog_compiler_pic_GCJ"; then
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17630 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17631 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then :
17632 $as_echo_n "(cached) " >&6
17634 lt_cv_prog_compiler_pic_works_GCJ
=no
17635 ac_outfile
=conftest.
$ac_objext
17636 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17637 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17638 # Insert the option either (1) after the last *FLAGS variable, or
17639 # (2) before a word containing "conftest.", or (3) at the end.
17640 # Note that $ac_compile itself does not contain backslashes and begins
17641 # with a dollar sign (not a hyphen), so the echo should work correctly.
17642 # The option is referenced via a variable to avoid confusing sed.
17643 lt_compile
=`echo "$ac_compile" | $SED \
17644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17646 -e 's:$: $lt_compiler_flag:'`
17647 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17648 (eval "$lt_compile" 2>conftest.err
)
17650 cat conftest.err
>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 if (exit $ac_status) && test -s "$ac_outfile"; then
17653 # The compiler can only warn and ignore the option if not recognized
17654 # So say no if there are warnings other than the usual output.
17655 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17656 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17657 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17658 lt_cv_prog_compiler_pic_works_GCJ
=yes
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17665 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17667 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17668 case $lt_prog_compiler_pic_GCJ in
17670 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17673 lt_prog_compiler_pic_GCJ
=
17674 lt_prog_compiler_can_build_shared_GCJ
=no
17682 # Check to make sure the static flag actually works.
17684 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17686 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17687 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then :
17688 $as_echo_n "(cached) " >&6
17690 lt_cv_prog_compiler_static_works_GCJ
=no
17691 save_LDFLAGS
="$LDFLAGS"
17692 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17693 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17694 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17695 # The linker can only warn and ignore the option if not recognized
17696 # So say no if there are warnings
17697 if test -s conftest.err
; then
17698 # Append any errors to the config.log.
17699 cat conftest.err
1>&5
17700 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
17701 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17702 if diff conftest.exp conftest.er2
>/dev
/null
; then
17703 lt_cv_prog_compiler_static_works_GCJ
=yes
17706 lt_cv_prog_compiler_static_works_GCJ
=yes
17710 LDFLAGS
="$save_LDFLAGS"
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17714 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17716 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17719 lt_prog_compiler_static_GCJ
=
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17726 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17727 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17728 $as_echo_n "(cached) " >&6
17730 lt_cv_prog_compiler_c_o_GCJ
=no
17731 $RM -r conftest
2>/dev
/null
17735 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17737 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17738 # Insert the option either (1) after the last *FLAGS variable, or
17739 # (2) before a word containing "conftest.", or (3) at the end.
17740 # Note that $ac_compile itself does not contain backslashes and begins
17741 # with a dollar sign (not a hyphen), so the echo should work correctly.
17742 lt_compile
=`echo "$ac_compile" | $SED \
17743 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17744 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17745 -e 's:$: $lt_compiler_flag:'`
17746 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17747 (eval "$lt_compile" 2>out
/conftest.err
)
17749 cat out
/conftest.err
>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17753 # The compiler can only warn and ignore the option if not recognized
17754 # So say no if there are warnings
17755 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17756 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17757 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17758 lt_cv_prog_compiler_c_o_GCJ
=yes
17763 # SGI C++ compiler will create directory out/ii_files/ for
17764 # template instantiation
17765 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17766 $RM out
/* && rmdir out
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17773 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17778 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17779 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17780 $as_echo_n "(cached) " >&6
17782 lt_cv_prog_compiler_c_o_GCJ
=no
17783 $RM -r conftest
2>/dev
/null
17787 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17789 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17790 # Insert the option either (1) after the last *FLAGS variable, or
17791 # (2) before a word containing "conftest.", or (3) at the end.
17792 # Note that $ac_compile itself does not contain backslashes and begins
17793 # with a dollar sign (not a hyphen), so the echo should work correctly.
17794 lt_compile
=`echo "$ac_compile" | $SED \
17795 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17796 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17797 -e 's:$: $lt_compiler_flag:'`
17798 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17799 (eval "$lt_compile" 2>out
/conftest.err
)
17801 cat out
/conftest.err
>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17805 # The compiler can only warn and ignore the option if not recognized
17806 # So say no if there are warnings
17807 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17808 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17809 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17810 lt_cv_prog_compiler_c_o_GCJ
=yes
17815 # SGI C++ compiler will create directory out/ii_files/ for
17816 # template instantiation
17817 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17818 $RM out
/* && rmdir out
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17825 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17830 hard_links
="nottested"
17831 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17832 # do not overwrite the value of need_locks provided by the user
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17834 $as_echo_n "checking if we can lock with hard links... " >&6; }
17837 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17839 ln conftest.a conftest.b
2>&5 || hard_links
=no
17840 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17842 $as_echo "$hard_links" >&6; }
17843 if test "$hard_links" = no
; then
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17845 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17855 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17858 allow_undefined_flag_GCJ
=
17859 always_export_symbols_GCJ
=no
17861 archive_expsym_cmds_GCJ
=
17862 compiler_needs_object_GCJ
=no
17863 enable_shared_with_static_runtimes_GCJ
=no
17864 export_dynamic_flag_spec_GCJ
=
17865 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17866 hardcode_automatic_GCJ
=no
17867 hardcode_direct_GCJ
=no
17868 hardcode_direct_absolute_GCJ
=no
17869 hardcode_libdir_flag_spec_GCJ
=
17870 hardcode_libdir_flag_spec_ld_GCJ
=
17871 hardcode_libdir_separator_GCJ
=
17872 hardcode_minus_L_GCJ
=no
17873 hardcode_shlibpath_var_GCJ
=unsupported
17874 inherit_rpath_GCJ
=no
17875 link_all_deplibs_GCJ
=unknown
17877 module_expsym_cmds_GCJ
=
17878 old_archive_from_new_cmds_GCJ
=
17879 old_archive_from_expsyms_cmds_GCJ
=
17880 thread_safe_flag_spec_GCJ
=
17881 whole_archive_flag_spec_GCJ
=
17882 # include_expsyms should be a list of space-separated symbols to be *always*
17883 # included in the symbol list
17884 include_expsyms_GCJ
=
17885 # exclude_expsyms can be an extended regexp of symbols to exclude
17886 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17887 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17888 # as well as any symbol that contains `d'.
17889 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17890 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17891 # platforms (ab)use it in PIC code, but their linkers get confused if
17892 # the symbol is explicitly referenced. Since portable code cannot
17893 # rely on this symbol name, it's probably fine to never include it in
17894 # preloaded symbol tables.
17895 # Exclude shared library initialization/finalization symbols.
17896 extract_expsyms_cmds
=
17899 cygwin
* | mingw
* | pw32
* | cegcc
*)
17900 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17901 # When not using gcc, we currently assume that we are using
17902 # Microsoft Visual C++.
17903 if test "$GCC" != yes; then
17908 # we just hope/assume this is gcc and not c89 (= MSVC++)
17918 # On some targets, GNU ld is compatible enough with the native linker
17919 # that we're better off using the native interface for both.
17920 lt_use_gnu_ld_interface
=no
17921 if test "$with_gnu_ld" = yes; then
17924 # The AIX port of GNU ld has always aspired to compatibility
17925 # with the native linker. However, as the warning in the GNU ld
17926 # block says, versions before 2.19.5* couldn't really create working
17927 # shared libraries, regardless of the interface used.
17928 case `$LD -v 2>&1` in
17929 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
17930 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
17931 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
17933 lt_use_gnu_ld_interface
=yes
17938 lt_use_gnu_ld_interface
=yes
17943 if test "$lt_use_gnu_ld_interface" = yes; then
17944 # If archive_cmds runs LD, not CC, wlarc should be empty
17947 # Set some defaults for GNU ld with shared library support. These
17948 # are reset later if shared libraries are not supported. Putting them
17949 # here allows them to be overridden if necessary.
17950 runpath_var
=LD_RUN_PATH
17951 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17952 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17953 # ancient GNU ld didn't support --whole-archive et. al.
17954 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
17955 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17957 whole_archive_flag_spec_GCJ
=
17959 supports_anon_versioning
=no
17960 case `$LD -v 2>&1` in
17961 *GNU\ gold
*) supports_anon_versioning
=yes ;;
17962 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17963 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17964 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17965 *\
2.11.
*) ;; # other 2.11 versions
17966 *) supports_anon_versioning
=yes ;;
17969 # See if GNU ld supports shared libraries.
17972 # On AIX/PPC, the GNU linker is very broken
17973 if test "$host_cpu" != ia64
; then
17977 *** Warning: the GNU linker, at least up to release 2.19, is reported
17978 *** to be unable to reliably create shared libraries on AIX.
17979 *** Therefore, libtool is disabling shared libraries support. If you
17980 *** really care for shared libraries, you may want to install binutils
17981 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
17982 *** You will then need to restart the configuration process.
17991 # see comment about AmigaOS4 .so support
17992 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17993 archive_expsym_cmds_GCJ
=''
17996 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)'
17997 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17998 hardcode_minus_L_GCJ
=yes
18004 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18005 allow_undefined_flag_GCJ
=unsupported
18006 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18007 # support --undefined. This deserves some investigation. FIXME
18008 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18014 cygwin
* | mingw
* | pw32
* | cegcc
*)
18015 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18016 # as there is no search path for DLLs.
18017 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18018 export_dynamic_flag_spec_GCJ
='${wl}--export-all-symbols'
18019 allow_undefined_flag_GCJ
=unsupported
18020 always_export_symbols_GCJ
=no
18021 enable_shared_with_static_runtimes_GCJ
=yes
18022 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18024 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
18025 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18026 # If the export-symbols file already is a .def file (1st line
18027 # is EXPORTS), use it as is; otherwise, prepend...
18028 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18029 cp $export_symbols $output_objdir/$soname.def;
18031 echo EXPORTS > $output_objdir/$soname.def;
18032 cat $export_symbols >> $output_objdir/$soname.def;
18034 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18041 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18042 link_all_deplibs_GCJ
=yes
18046 hardcode_direct_GCJ
=no
18047 hardcode_shlibpath_var_GCJ
=no
18048 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18049 export_dynamic_flag_spec_GCJ
='${wl}-E'
18050 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18051 # Instead, shared libraries are loaded at an image base (0x10000000 by
18052 # default) and relocated if they conflict, which is a slow very memory
18053 # consuming and fragmenting process. To avoid this, we pick a random,
18054 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18055 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18056 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'
18057 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'
18060 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
18062 if test "$host_os" = linux-dietlibc
; then
18063 case $cc_basename in
18064 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
18067 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
18068 && test "$tmp_diet" = no
18071 tmp_sharedflag
='-shared'
18072 case $cc_basename,$host_cpu in
18073 pgcc
*) # Portland Group C compiler
18074 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'
18075 tmp_addflag
=' $pic_flag'
18077 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
18078 # Portland Group f77 and f90 compilers
18079 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'
18080 tmp_addflag
=' $pic_flag -Mnomain' ;;
18081 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18082 tmp_addflag
=' -i_dynamic' ;;
18083 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18084 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18085 ifc
* | ifort
*) # Intel Fortran compiler
18086 tmp_addflag
=' -nofor_main' ;;
18087 lf95
*) # Lahey Fortran 8.1
18088 whole_archive_flag_spec_GCJ
=
18089 tmp_sharedflag
='--shared' ;;
18090 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
18091 tmp_sharedflag
='-qmkshrobj'
18093 nvcc
*) # Cuda Compiler Driver 2.2
18094 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
18095 compiler_needs_object_GCJ
=yes
18098 case `$CC -V 2>&1 | sed 5q` in
18099 *Sun\ C
*) # Sun C 5.9
18100 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'
18101 compiler_needs_object_GCJ
=yes
18102 tmp_sharedflag
='-G' ;;
18103 *Sun\ F
*) # Sun Fortran 8.3
18104 tmp_sharedflag
='-G' ;;
18106 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18108 if test "x$supports_anon_versioning" = xyes
; then
18109 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18110 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18111 echo "local: *; };" >> $output_objdir/$libname.ver~
18112 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18115 case $cc_basename in
18116 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
18117 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
18118 whole_archive_flag_spec_GCJ
='--whole-archive$convenience --no-whole-archive'
18119 hardcode_libdir_flag_spec_GCJ
=
18120 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18121 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
18122 if test "x$supports_anon_versioning" = xyes
; then
18123 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18124 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18125 echo "local: *; };" >> $output_objdir/$libname.ver~
18126 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
18136 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18137 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18140 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18141 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18146 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
18150 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18151 *** create shared libraries on Solaris systems. Therefore, libtool
18152 *** is disabling shared libraries support. We urge you to upgrade GNU
18153 *** binutils to release 2.9.1 or newer. Another option is to modify
18154 *** your PATH or compiler configuration so that the native linker is
18155 *** used, and then restart.
18158 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18159 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18160 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18166 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18167 case `$LD -v 2>&1` in
18168 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18172 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18173 *** reliably create shared libraries on SCO systems. Therefore, libtool
18174 *** is disabling shared libraries support. We urge you to upgrade GNU
18175 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18176 *** your PATH or compiler configuration so that the native linker is
18177 *** used, and then restart.
18182 # For security reasons, it is highly recommended that you always
18183 # use absolute paths for naming shared libraries, and exclude the
18184 # DT_RUNPATH tag from executables and libraries. But doing so
18185 # requires that you compile everything twice, which is a pain.
18186 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18187 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18188 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18189 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18198 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18200 hardcode_direct_GCJ
=yes
18201 hardcode_shlibpath_var_GCJ
=no
18205 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18206 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18207 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18214 if test "$ld_shlibs_GCJ" = no
; then
18216 hardcode_libdir_flag_spec_GCJ
=
18217 export_dynamic_flag_spec_GCJ
=
18218 whole_archive_flag_spec_GCJ
=
18221 # PORTME fill in a description of your system's linker (not GNU ld)
18224 allow_undefined_flag_GCJ
=unsupported
18225 always_export_symbols_GCJ
=yes
18226 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'
18227 # Note: this linker hardcodes the directories in LIBPATH if there
18228 # are no directories specified by -L.
18229 hardcode_minus_L_GCJ
=yes
18230 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18231 # Neither direct hardcoding nor static linking is supported with a
18233 hardcode_direct_GCJ
=unsupported
18238 if test "$host_cpu" = ia64
; then
18239 # On IA64, the linker does run time linking by default, so we don't
18240 # have to do anything special.
18241 aix_use_runtimelinking
=no
18242 exp_sym_flag
='-Bexport'
18245 # If we're using GNU nm, then we don't want the "-C" option.
18246 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18247 # Also, AIX nm treats weak defined symbols like other global
18248 # defined symbols, whereas GNU nm marks them as "W".
18249 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18250 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'
18252 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'
18254 aix_use_runtimelinking
=no
18256 # Test if we are trying to use run time linking or normal
18257 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18258 # need to do runtime linking.
18259 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18260 for ld_flag
in $LDFLAGS; do
18261 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18262 aix_use_runtimelinking
=yes
18269 exp_sym_flag
='-bexport'
18270 no_entry_flag
='-bnoentry'
18273 # When large executables or shared objects are built, AIX ld can
18274 # have problems creating the table of contents. If linking a library
18275 # or program results in "error TOC overflow" add -mminimal-toc to
18276 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18277 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18279 archive_cmds_GCJ
=''
18280 hardcode_direct_GCJ
=yes
18281 hardcode_direct_absolute_GCJ
=yes
18282 hardcode_libdir_separator_GCJ
=':'
18283 link_all_deplibs_GCJ
=yes
18284 file_list_spec_GCJ
='${wl}-f,'
18286 if test "$GCC" = yes; then
18287 case $host_os in aix4.
[012]|aix4.
[012].
*)
18288 # We only want to do this on AIX 4.2 and lower, the check
18289 # below for broken collect2 doesn't work under 4.3+
18290 collect2name
=`${CC} -print-prog-name=collect2`
18291 if test -f "$collect2name" &&
18292 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
18294 # We have reworked collect2
18297 # We have old collect2
18298 hardcode_direct_GCJ
=unsupported
18299 # It fails to find uninstalled libraries when the uninstalled
18300 # path is not listed in the libpath. Setting hardcode_minus_L
18301 # to unsupported forces relinking
18302 hardcode_minus_L_GCJ
=yes
18303 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18304 hardcode_libdir_separator_GCJ
=
18308 shared_flag
='-shared'
18309 if test "$aix_use_runtimelinking" = yes; then
18310 shared_flag
="$shared_flag "'${wl}-G'
18314 if test "$host_cpu" = ia64
; then
18315 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18316 # chokes on -Wl,-G. The following line is correct:
18319 if test "$aix_use_runtimelinking" = yes; then
18320 shared_flag
='${wl}-G'
18322 shared_flag
='${wl}-bM:SRE'
18327 export_dynamic_flag_spec_GCJ
='${wl}-bexpall'
18328 # It seems that -bexpall does not export symbols beginning with
18329 # underscore (_), so it is better to generate a list of symbols to export.
18330 always_export_symbols_GCJ
=yes
18331 if test "$aix_use_runtimelinking" = yes; then
18332 # Warning - without using the other runtime loading flags (-brtl),
18333 # -berok will link without error, but may produce a broken library.
18334 allow_undefined_flag_GCJ
='-berok'
18335 # Determine the default libpath from the value encoded in an
18336 # empty executable.
18337 if test x
$gcc_no_link = xyes
; then
18338 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h. */
18351 if ac_fn_c_try_link
"$LINENO"; then :
18353 lt_aix_libpath_sed
='
18354 /Import File Strings/,/^$/ {
18360 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18361 # Check for a 64-bit object if we didn't find anything.
18362 if test -z "$aix_libpath"; then
18363 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18366 rm -f core conftest.err conftest.
$ac_objext \
18367 conftest
$ac_exeext conftest.
$ac_ext
18368 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18370 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18371 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"
18373 if test "$host_cpu" = ia64
; then
18374 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
18375 allow_undefined_flag_GCJ
="-z nodefs"
18376 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"
18378 # Determine the default libpath from the value encoded in an
18379 # empty executable.
18380 if test x
$gcc_no_link = xyes
; then
18381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18394 if ac_fn_c_try_link
"$LINENO"; then :
18396 lt_aix_libpath_sed
='
18397 /Import File Strings/,/^$/ {
18403 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18404 # Check for a 64-bit object if we didn't find anything.
18405 if test -z "$aix_libpath"; then
18406 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18409 rm -f core conftest.err conftest.
$ac_objext \
18410 conftest
$ac_exeext conftest.
$ac_ext
18411 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18413 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18414 # Warning - without using the other run time loading flags,
18415 # -berok will link without error, but may produce a broken library.
18416 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18417 allow_undefined_flag_GCJ
=' ${wl}-berok'
18418 if test "$with_gnu_ld" = yes; then
18419 # We only use this code for GNU lds that support --whole-archive.
18420 whole_archive_flag_spec_GCJ
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18422 # Exported symbols can be pulled into shared objects from archives
18423 whole_archive_flag_spec_GCJ
='$convenience'
18425 archive_cmds_need_lc_GCJ
=yes
18426 # This is similar to how AIX traditionally builds its shared libraries.
18427 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'
18435 # see comment about AmigaOS4 .so support
18436 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18437 archive_expsym_cmds_GCJ
=''
18440 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)'
18441 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18442 hardcode_minus_L_GCJ
=yes
18448 export_dynamic_flag_spec_GCJ
=-rdynamic
18451 cygwin
* | mingw
* | pw32
* | cegcc
*)
18452 # When not using gcc, we currently assume that we are using
18453 # Microsoft Visual C++.
18454 # hardcode_libdir_flag_spec is actually meaningless, as there is
18455 # no search path for DLLs.
18456 hardcode_libdir_flag_spec_GCJ
=' '
18457 allow_undefined_flag_GCJ
=unsupported
18458 # Tell ltmain to make .lib files, not .a files.
18460 # Tell ltmain to make .dll files, not .so files.
18462 # FIXME: Setting linknames here is a bad hack.
18463 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
18464 # The linker will automatically build a .lib file if we build a DLL.
18465 old_archive_from_new_cmds_GCJ
='true'
18466 # FIXME: Should let the user specify the lib program.
18467 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18468 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18469 enable_shared_with_static_runtimes_GCJ
=yes
18472 darwin
* | rhapsody
*)
18475 archive_cmds_need_lc_GCJ
=no
18476 hardcode_direct_GCJ
=no
18477 hardcode_automatic_GCJ
=yes
18478 hardcode_shlibpath_var_GCJ
=unsupported
18479 if test "$lt_cv_ld_force_load" = "yes"; then
18480 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\"`'
18482 whole_archive_flag_spec_GCJ
=''
18484 link_all_deplibs_GCJ
=yes
18485 allow_undefined_flag_GCJ
="$_lt_dar_allow_undefined"
18486 case $cc_basename in
18487 ifort
*) _lt_dar_can_shared
=yes ;;
18488 *) _lt_dar_can_shared
=$GCC ;;
18490 if test "$_lt_dar_can_shared" = "yes"; then
18491 output_verbose_link_cmd
=func_echo_all
18492 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}"
18493 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18494 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}"
18495 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}"
18504 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18505 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18506 hardcode_shlibpath_var_GCJ
=no
18509 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18510 # support. Future versions do this automatically, but an explicit c++rt0.o
18511 # does not break anything, and helps significantly (at the cost of a little
18514 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18515 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18516 hardcode_direct_GCJ
=yes
18517 hardcode_shlibpath_var_GCJ
=no
18520 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18522 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18523 hardcode_direct_GCJ
=yes
18524 hardcode_minus_L_GCJ
=yes
18525 hardcode_shlibpath_var_GCJ
=no
18528 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18529 freebsd
* | dragonfly
*)
18530 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18531 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18532 hardcode_direct_GCJ
=yes
18533 hardcode_shlibpath_var_GCJ
=no
18537 if test "$GCC" = yes; then
18538 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'
18540 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'
18542 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18543 hardcode_libdir_separator_GCJ
=:
18544 hardcode_direct_GCJ
=yes
18546 # hardcode_minus_L: Not really in the search PATH,
18547 # but as the default location of the library.
18548 hardcode_minus_L_GCJ
=yes
18549 export_dynamic_flag_spec_GCJ
='${wl}-E'
18553 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18554 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18556 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18558 if test "$with_gnu_ld" = no
; then
18559 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18560 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18561 hardcode_libdir_separator_GCJ
=:
18562 hardcode_direct_GCJ
=yes
18563 hardcode_direct_absolute_GCJ
=yes
18564 export_dynamic_flag_spec_GCJ
='${wl}-E'
18565 # hardcode_minus_L: Not really in the search PATH,
18566 # but as the default location of the library.
18567 hardcode_minus_L_GCJ
=yes
18572 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18575 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18578 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18581 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18587 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18590 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18593 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18597 if test "$with_gnu_ld" = no
; then
18598 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18599 hardcode_libdir_separator_GCJ
=:
18603 hardcode_direct_GCJ
=no
18604 hardcode_shlibpath_var_GCJ
=no
18607 hardcode_direct_GCJ
=yes
18608 hardcode_direct_absolute_GCJ
=yes
18609 export_dynamic_flag_spec_GCJ
='${wl}-E'
18611 # hardcode_minus_L: Not really in the search PATH,
18612 # but as the default location of the library.
18613 hardcode_minus_L_GCJ
=yes
18619 irix5
* | irix6
* | nonstopux
*)
18620 if test "$GCC" = yes; then
18621 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'
18622 # Try to use the -exported_symbol ld option, if it does not
18623 # work, assume that -exports_file does not work either and
18624 # implicitly export all symbols.
18625 save_LDFLAGS
="$LDFLAGS"
18626 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18627 if test x
$gcc_no_link = xyes
; then
18628 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18631 /* end confdefs.h. */
18634 if ac_fn_c_try_link
"$LINENO"; then :
18635 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'
18638 rm -f core conftest.err conftest.
$ac_objext \
18639 conftest
$ac_exeext conftest.
$ac_ext
18640 LDFLAGS
="$save_LDFLAGS"
18642 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'
18643 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'
18645 archive_cmds_need_lc_GCJ
='no'
18646 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18647 hardcode_libdir_separator_GCJ
=:
18648 inherit_rpath_GCJ
=yes
18649 link_all_deplibs_GCJ
=yes
18653 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18654 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18656 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18658 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18659 hardcode_direct_GCJ
=yes
18660 hardcode_shlibpath_var_GCJ
=no
18664 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18665 hardcode_direct_GCJ
=yes
18666 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18667 hardcode_libdir_separator_GCJ
=:
18668 hardcode_shlibpath_var_GCJ
=no
18675 if test -f /usr
/libexec
/ld.so
; then
18676 hardcode_direct_GCJ
=yes
18677 hardcode_shlibpath_var_GCJ
=no
18678 hardcode_direct_absolute_GCJ
=yes
18679 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18680 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18681 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18682 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18683 export_dynamic_flag_spec_GCJ
='${wl}-E'
18686 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18687 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18688 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18691 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18692 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18702 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18703 hardcode_minus_L_GCJ
=yes
18704 allow_undefined_flag_GCJ
=unsupported
18705 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'
18706 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18710 if test "$GCC" = yes; then
18711 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18712 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'
18714 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18715 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'
18717 archive_cmds_need_lc_GCJ
='no'
18718 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18719 hardcode_libdir_separator_GCJ
=:
18722 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18723 if test "$GCC" = yes; then
18724 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18725 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'
18726 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18728 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18729 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'
18730 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~
18731 $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'
18733 # Both c and cxx compiler support -rpath directly
18734 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18736 archive_cmds_need_lc_GCJ
='no'
18737 hardcode_libdir_separator_GCJ
=:
18741 no_undefined_flag_GCJ
=' -z defs'
18742 if test "$GCC" = yes; then
18744 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18745 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18746 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18748 case `$CC -V 2>&1` in
18751 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18752 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18753 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18757 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18758 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18759 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18763 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18764 hardcode_shlibpath_var_GCJ
=no
18766 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18768 # The compiler driver will combine and reorder linker options,
18769 # but understands `-z linker_flag'. GCC discards it without `$wl',
18770 # but is careful enough not to reorder.
18771 # Supported since Solaris 2.6 (maybe 2.5.1?)
18772 if test "$GCC" = yes; then
18773 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18775 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18779 link_all_deplibs_GCJ
=yes
18783 if test "x$host_vendor" = xsequent
; then
18784 # Use $CC to link under sequent, because it throws in some extra .o
18785 # files that make .init and .fini sections work.
18786 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18788 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18790 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18791 hardcode_direct_GCJ
=yes
18792 hardcode_minus_L_GCJ
=yes
18793 hardcode_shlibpath_var_GCJ
=no
18797 case $host_vendor in
18799 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18800 hardcode_direct_GCJ
=yes # is this really true???
18803 ## LD is ld it makes a PLAMLIB
18804 ## CC just makes a GrossModule.
18805 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18806 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18807 hardcode_direct_GCJ
=no
18810 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18811 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18814 runpath_var
='LD_RUN_PATH'
18815 hardcode_shlibpath_var_GCJ
=no
18819 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18820 hardcode_shlibpath_var_GCJ
=no
18821 export_dynamic_flag_spec_GCJ
='-Bexport'
18825 if test -d /usr
/nec
; then
18826 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18827 hardcode_shlibpath_var_GCJ
=no
18828 runpath_var
=LD_RUN_PATH
18829 hardcode_runpath_var
=yes
18834 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18835 no_undefined_flag_GCJ
='${wl}-z,text'
18836 archive_cmds_need_lc_GCJ
=no
18837 hardcode_shlibpath_var_GCJ
=no
18838 runpath_var
='LD_RUN_PATH'
18840 if test "$GCC" = yes; then
18841 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18842 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18844 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18845 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18849 sysv5
* | sco3.2v5
* | sco5v6
*)
18850 # Note: We can NOT use -z defs as we might desire, because we do not
18851 # link with -lc, and that would cause any symbols used from libc to
18852 # always be unresolved, which means just about no library would
18853 # ever link correctly. If we're not using GNU ld we use -z text
18854 # though, which does catch some bad symbols but isn't as heavy-handed
18856 no_undefined_flag_GCJ
='${wl}-z,text'
18857 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18858 archive_cmds_need_lc_GCJ
=no
18859 hardcode_shlibpath_var_GCJ
=no
18860 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
18861 hardcode_libdir_separator_GCJ
=':'
18862 link_all_deplibs_GCJ
=yes
18863 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18864 runpath_var
='LD_RUN_PATH'
18866 if test "$GCC" = yes; then
18867 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18868 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18870 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18871 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18876 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18877 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18878 hardcode_shlibpath_var_GCJ
=no
18886 if test x
$host_vendor = xsni
; then
18888 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18889 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
18896 $as_echo "$ld_shlibs_GCJ" >&6; }
18897 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18899 with_gnu_ld_GCJ
=$with_gnu_ld
18907 # Do we need to explicitly link libc?
18909 case "x$archive_cmds_need_lc_GCJ" in
18911 # Assume -lc should be added
18912 archive_cmds_need_lc_GCJ
=yes
18914 if test "$enable_shared" = yes && test "$GCC" = yes; then
18915 case $archive_cmds_GCJ in
18917 # FIXME: we may have to deal with multi-command sequences.
18920 # Test whether the compiler implicitly links with -lc since on some
18921 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18922 # to ld, don't add -lc before -lgcc.
18923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18924 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18925 if test "${lt_cv_archive_cmds_need_lc_GCJ+set}" = set; then :
18926 $as_echo_n "(cached) " >&6
18929 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18931 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18932 (eval $ac_compile) 2>&5
18934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18935 test $ac_status = 0; } 2>conftest.err
; then
18938 libobjs
=conftest.
$ac_objext
18940 wl
=$lt_prog_compiler_wl_GCJ
18941 pic_flag
=$lt_prog_compiler_pic_GCJ
18947 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18948 allow_undefined_flag_GCJ
=
18949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18950 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18953 test $ac_status = 0; }
18955 lt_cv_archive_cmds_need_lc_GCJ
=no
18957 lt_cv_archive_cmds_need_lc_GCJ
=yes
18959 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18961 cat conftest.err
1>&5
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
18967 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
18968 archive_cmds_need_lc_GCJ
=$lt_cv_archive_cmds_need_lc_GCJ
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19039 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19040 hardcode_action_GCJ
=
19041 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
19042 test -n "$runpath_var_GCJ" ||
19043 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19045 # We can hardcode non-existent directories.
19046 if test "$hardcode_direct_GCJ" != no
&&
19047 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19048 # have to relink, otherwise we might link with an installed library
19049 # when we should be linking with a yet-to-be-installed one
19050 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19051 test "$hardcode_minus_L_GCJ" != no
; then
19052 # Linking always hardcodes the temporary library directory.
19053 hardcode_action_GCJ
=relink
19055 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19056 hardcode_action_GCJ
=immediate
19059 # We cannot hardcode anything, or else we can only hardcode existing
19061 hardcode_action_GCJ
=unsupported
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
19064 $as_echo "$hardcode_action_GCJ" >&6; }
19066 if test "$hardcode_action_GCJ" = relink ||
19067 test "$inherit_rpath_GCJ" = yes; then
19068 # Fast installation is not supported
19069 enable_fast_install
=no
19070 elif test "$shlibpath_overrides_runpath" = yes ||
19071 test "$enable_shared" = no
; then
19072 # Fast installation is not necessary
19073 enable_fast_install
=needless
19084 compiler_GCJ
=${GCJ-gcj}
19086 ac_cpp
='$CPP $CPPFLAGS'
19087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19092 if test "x$CC" != xcc
; then
19093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
19094 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
19097 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
19099 set dummy
$CC; ac_cc
=`$as_echo "$2" |
19100 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19101 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
19102 $as_echo_n "(cached) " >&6
19104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19105 /* end confdefs.h. */
19115 # Make sure it works both with $CC and with simple cc.
19116 # We do the test twice because some compilers refuse to overwrite an
19117 # existing .o file with -o, though they will create one.
19118 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19120 if { { case "(($ac_try" in
19121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19122 *) ac_try_echo=$ac_try;;
19124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19125 $as_echo "$ac_try_echo"; } >&5
19126 (eval "$ac_try") 2>&5
19128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19129 test $ac_status = 0; } &&
19130 test -f conftest2.$ac_objext && { { case "(($ac_try" in
19131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19132 *) ac_try_echo
=$ac_try;;
19134 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19135 $as_echo "$ac_try_echo"; } >&5
19136 (eval "$ac_try") 2>&5
19138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19139 test $ac_status = 0; };
19141 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
19142 if test "x$CC" != xcc
; then
19143 # Test first that cc exists at all.
19144 if { ac_try
='cc -c conftest.$ac_ext >&5'
19145 { { case "(($ac_try" in
19146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19147 *) ac_try_echo=$ac_try;;
19149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19150 $as_echo "$ac_try_echo"; } >&5
19151 (eval "$ac_try") 2>&5
19153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19154 test $ac_status = 0; }; }; then
19155 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19157 if { { case "(($ac_try" in
19158 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19159 *) ac_try_echo
=$ac_try;;
19161 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19162 $as_echo "$ac_try_echo"; } >&5
19163 (eval "$ac_try") 2>&5
19165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19166 test $ac_status = 0; } &&
19167 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
19168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19169 *) ac_try_echo=$ac_try;;
19171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19172 $as_echo "$ac_try_echo"; } >&5
19173 (eval "$ac_try") 2>&5
19175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19176 test $ac_status = 0; };
19181 # cc exists but doesn't like -o.
19182 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19187 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19189 rm -f core conftest*
19192 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19194 $as_echo "yes" >&6; }
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19197 $as_echo "no" >&6; }
19199 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
19203 # FIXME: we rely on the cache variable name because
19204 # there is no other way.
19206 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19207 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
19208 if test "$am_t" != yes; then
19209 # Losing compiler, so override with the script.
19210 # FIXME: It is wrong to rewrite CC.
19211 # But if we don't then we get into trouble of one sort or another.
19212 # A longer-term fix would be to have automake use am__CC in this case,
19213 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
19214 CC="$am_aux_dir/compile $CC"
19221 subdirs="$subdirs classpath libltdl"
19224 # The -no-testsuite modules omit the test subdir.
19225 if test -d $srcdir/testsuite; then
19227 TESTSUBDIR_FALSE='#'
19229 TESTSUBDIR_TRUE='#'
19234 # Should the runtime set system properties by examining the
19235 # environment variable GCJ_PROPERTIES?
19236 # Check whether --enable-getenv-properties was given.
19237 if test "${enable_getenv_properties+set}" = set; then :
19238 enableval=$enable_getenv_properties;
19242 # Whether GCJ_PROPERTIES is used depends on the target.
19243 if test -z "$enable_getenv_properties"; then
19244 enable_getenv_properties=${enable_getenv_properties_default-yes}
19246 if test "$enable_getenv_properties" = no; then
19248 $as_echo "#define DISABLE_GETENV_PROPERTIES 1" >>confdefs.h
19252 # Whether we should use arguments to main()
19253 if test -z "$enable_main_args"; then
19254 enable_main_args=${enable_main_args_default-yes}
19256 if test "$enable_main_args" = no; then
19258 $as_echo "#define DISABLE_MAIN_ARGS 1" >>confdefs.h
19263 # Should we use hashtable-based synchronization?
19264 # Currently works only for Linux X86/ia64
19265 # Typically faster and more space-efficient
19266 # Check whether --enable-hash-synchronization was given.
19267 if test "${enable_hash_synchronization+set}" = set; then :
19268 enableval=$enable_hash_synchronization;
19272 if test -z "$enable_hash_synchronization"; then
19273 enable_hash_synchronization=$enable_hash_synchronization_default
19281 # Check whether --with-ecj-jar was given.
19282 if test "${with_ecj_jar+set}" = set; then :
19283 withval=$with_ecj_jar; ECJ_JAR=$withval
19285 if test -f $multi_basedir/ecj.jar; then
19286 ECJ_BUILD_JAR=$multi_basedir/ecj.jar
19287 ECJ_JAR='$(jardir)/ecj.jar'
19288 install_ecj_jar=yes
19294 if test "$ECJ_JAR" != ""; then
19296 BUILD_ECJ1_FALSE='#'
19298 BUILD_ECJ1_TRUE='#'
19302 if test $install_ecj_jar = yes; then
19303 INSTALL_ECJ_JAR_TRUE=
19304 INSTALL_ECJ_JAR_FALSE='#'
19306 INSTALL_ECJ_JAR_TRUE='#'
19307 INSTALL_ECJ_JAR_FALSE=
19312 # Check whether --with-java-home was given.
19313 if test "${with_java_home+set}" = set; then :
19314 withval=$with_java_home; JAVA_HOME="${withval}"
19319 if test ! -z "$JAVA_HOME"; then
19320 JAVA_HOME_SET_TRUE=
19321 JAVA_HOME_SET_FALSE='#'
19323 JAVA_HOME_SET_TRUE='#'
19324 JAVA_HOME_SET_FALSE=
19329 suppress_libgcj_bc=no
19330 # Check whether --enable-libgcj-bc was given.
19331 if test "${enable_libgcj_bc+set}" = set; then :
19332 enableval=$enable_libgcj_bc; if test "$enable_libgcj_bc" = "no"; then
19333 suppress_libgcj_bc=yes
19337 if test "$suppress_libgcj_bc" = "yes"; then
19338 SUPPRESS_LIBGCJ_BC_TRUE=
19339 SUPPRESS_LIBGCJ_BC_FALSE='#'
19341 SUPPRESS_LIBGCJ_BC_TRUE='#'
19342 SUPPRESS_LIBGCJ_BC_FALSE=
19346 build_libgcj_reduced_reflection=no
19347 # Check whether --enable-reduced-reflection was given.
19348 if test "${enable_reduced_reflection+set}" = set; then :
19349 enableval=$enable_reduced_reflection; if test "$enable_reduced_reflection" = "yes"; then
19350 build_libgcj_reduced_reflection=yes
19354 if test "$build_libgcj_reduced_reflection" = "yes"; then
19355 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE=
19356 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE='#'
19358 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE='#'
19359 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE=
19363 # What is the native OS API for MinGW?
19365 # Check whether --with-win32-nlsapi was given.
19366 if test "${with_win32_nlsapi+set}" = set; then :
19367 withval=$with_win32_nlsapi; case "${withval}" in
19368 ansi) with_win32_nlsapi=ansi ;;
19369 unicows) with_win32_nlsapi=unicows ;;
19370 unicode) with_win32_nlsapi=unicode ;;
19371 *) as_fn_error "Bad value ${withval} for --with-win32-nlsapi." "$LINENO" 5 ;;
19374 with_win32_nlsapi=ansi
19378 case "${with_win32_nlsapi}" in
19381 $as_echo "#define MINGW_LIBGCJ_UNICODE 1" >>confdefs.h
19386 # configure.host sets slow_pthread_self if the synchronization code should
19387 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
19388 if test "${slow_pthread_self}" = "yes"; then
19390 $as_echo "#define SLOW_PTHREAD_SELF 1" >>confdefs.h
19394 # Check for gc debugging. This option is handled both here and in the GC.
19395 # Check whether --enable-gc-debug was given.
19396 if test "${enable_gc_debug+set}" = set; then :
19397 enableval=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
19399 $as_echo "#define LIBGCJ_GC_DEBUG 1" >>confdefs.h
19405 # See if the user has the interpreter included.
19406 # Check whether --enable-interpreter was given.
19407 if test "${enable_interpreter+set}" = set; then :
19408 enableval=$enable_interpreter; if test "$enable_interpreter" = yes; then
19409 # This can also be set in configure.host.
19410 libgcj_interpreter=yes
19411 elif test "$enable_interpreter" = no; then
19412 libgcj_interpreter=no
19417 if test "$libgcj_interpreter" = yes; then
19419 $as_echo "#define INTERPRETER 1" >>confdefs.h
19422 INTERPRETER="$libgcj_interpreter"
19424 if test "$libgcj_interpreter" = yes; then
19426 INTERPRETER_FALSE='#'
19428 INTERPRETER_TRUE='#'
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
19434 $as_echo_n "checking for exception model to use... " >&6; }
19436 ac_cpp='$CXXCPP $CPPFLAGS'
19437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19441 # Check whether --enable-sjlj-exceptions was given.
19442 if test "${enable_sjlj_exceptions+set}" = set; then :
19443 enableval=$enable_sjlj_exceptions; :
19445 cat > conftest.$ac_ext << EOF
19446 #line 19446 "configure"
19447 struct S { ~S(); };
19455 old_CXXFLAGS="$CXXFLAGS"
19457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19458 (eval $ac_compile) 2>&5
19460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19461 test $ac_status = 0; }; then
19462 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
19463 enable_sjlj_exceptions=yes
19464 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
19465 enable_sjlj_exceptions=no
19466 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
19468 enable_sjlj_exceptions=no
19471 CXXFLAGS="$old_CXXFLAGS"
19475 if test x$enable_sjlj_exceptions = xyes; then
19477 $as_echo "#define SJLJ_EXCEPTIONS 1" >>confdefs.h
19479 ac_exception_model_name=sjlj
19480 elif test x$enable_sjlj_exceptions = xno; then
19481 ac_exception_model_name="call frame"
19483 as_fn_error "unable to detect exception model" "$LINENO" 5
19486 ac_cpp='$CPP $CPPFLAGS'
19487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
19492 $as_echo "$ac_exception_model_name" >&6; }
19494 # If we are non using SJLJ exceptions, and this host does not have support
19495 # for unwinding from a signal handler, enable checked dereferences and divides.
19496 if test $can_unwind_signal = no && test $enable_sjlj_exceptions = no; then
19497 CHECKREFSPEC=-fcheck-references
19498 DIVIDESPEC=-fuse-divide-subroutine
19502 # See if the user wants to disable java.net. This is the mildly
19503 # ugly way that we admit that target-side configuration sucks.
19504 # Check whether --enable-java-net was given.
19505 if test "${enable_java_net+set}" = set; then :
19506 enableval=$enable_java_net;
19510 # Whether java.net is built by default can depend on the target.
19511 if test -z "$enable_java_net"; then
19512 enable_java_net=${enable_java_net_default-yes}
19514 if test "$enable_java_net" = no; then
19516 $as_echo "#define DISABLE_JAVA_NET 1" >>confdefs.h
19520 # See if the user wants to configure without libffi. Some
19521 # architectures don't support it, and default values are set in
19524 # Check whether --with-libffi was given.
19525 if test "${with_libffi+set}" = set; then :
19526 withval=$with_libffi; :
19528 with_libffi=${with_libffi_default-yes}
19534 if test "$with_libffi" != no; then
19536 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
19538 LIBFFI=../libffi/libffi_convenience.la
19539 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include'
19544 # See if the user wants to disable JVMPI support.
19545 # Check whether --enable-jvmpi was given.
19546 if test "${enable_jvmpi+set}" = set; then :
19547 enableval=$enable_jvmpi;
19551 if test "$enable_jvmpi" != no; then
19553 $as_echo "#define ENABLE_JVMPI 1" >>confdefs.h
19557 # If the target is an eCos system, use the appropriate eCos
19559 # FIXME: this should not be a local option but a global target
19560 # system; at present there is no eCos target.
19561 TARGET_ECOS=${PROCESS-"no"}
19563 # Check whether --with-ecos was given.
19564 if test "${with_ecos+set}" = set; then :
19565 withval=$with_ecos; TARGET_ECOS="$with_ecos"
19570 case "$TARGET_ECOS" in
19571 no) case "$host" in
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'ld' is at least 2.13" >&5
19578 $as_echo_n "checking whether 'ld' is at least 2.13... " >&6; }
19579 LD_PROG=`$CC --print-prog-name=ld
`
19580 LD_VERSION=`$LD_PROG --version`
19581 LD_VERSION_MAJOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 1 | cut
-d ' ' -f 4`
19582 LD_VERSION_MINOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 2`
19583 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
19586 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then
19590 if test "x$LD_OK" != x; then
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19592 $as_echo "yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19595 $as_echo "no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
19597 $as_echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
19599 $as_echo "#define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1" >>confdefs.h
19614 $as_echo "#define ECOS 1" >>confdefs.h
19620 ac_config_links="$ac_config_links include/platform.h:include/$PLATFORMH"
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625 #include <stdint.h>
19628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19629 $EGREP "uint32_t" >/dev/null 2>&1; then :
19631 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #include <inttypes.h>
19641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19642 $EGREP "uint32_t" >/dev/null 2>&1; then :
19644 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19651 #include <sys/types.h>
19654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19655 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19657 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 #include <sys/config.h>
19667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19668 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19670 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19676 if test "$PLATFORM" = Win32; then
19677 USING_WIN32_PLATFORM_TRUE=
19678 USING_WIN32_PLATFORM_FALSE='#'
19680 USING_WIN32_PLATFORM_TRUE='#'
19681 USING_WIN32_PLATFORM_FALSE=
19684 if test "$PLATFORM" = Posix || test "$PLATFORM" = Ecos; then
19685 USING_POSIX_PLATFORM_TRUE=
19686 USING_POSIX_PLATFORM_FALSE='#'
19688 USING_POSIX_PLATFORM_TRUE='#'
19689 USING_POSIX_PLATFORM_FALSE=
19694 *-darwin*) DARWIN_CRT=true ;;
19695 *) DARWIN_CRT=false ;;
19697 if $DARWIN_CRT; then
19698 USING_DARWIN_CRT_TRUE=
19699 USING_DARWIN_CRT_FALSE='#'
19701 USING_DARWIN_CRT_TRUE='#'
19702 USING_DARWIN_CRT_FALSE=
19706 # This may not be defined in a non-ANS conformant embedded system.
19707 # FIXME: Should these case a runtime exception in that case?
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19714 $EGREP "localtime" >/dev/null 2>&1; then :
19716 $as_echo "#define HAVE_LOCALTIME 1" >>confdefs.h
19722 # Create the subdirectory for natFile.cc, or the attempt
19723 # to create the link will fail.
19724 test -d java || mkdir java
19725 test -d java/io || mkdir java/io
19726 test -d gnu || mkdir gnu
19727 ac_config_links="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
19730 # Likewise for natConcreteProcess.cc.
19731 test -d java/lang || mkdir java/lang
19732 ac_config_links="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
19735 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
19736 test -d java/net || mkdir java/net
19737 ac_config_links="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
19739 ac_config_links="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
19742 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
19743 test -d gnu/java || mkdir gnu/java
19744 test -d gnu/java/net || mkdir gnu/java/net
19745 ac_config_links="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
19747 ac_config_links="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
19750 # Likewise for natVMPipe.cc and natVMSelector.cc.
19751 test -d gnu/java/nio || mkdir gnu/java/nio
19752 ac_config_links="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
19754 ac_config_links="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
19757 # Likewise for natFileChannelImpl.cc
19758 test -d gnu/java/nio/channels || mkdir gnu/java/nio/channels
19759 ac_config_links="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
19762 # Likewise for natVMSecureRandom.cc
19763 test -d gnu/java/security || mkdir gnu/java/security
19764 test -d gnu/java/security/jce || mkdir gnu/java/security/jce
19765 test -d gnu/java/security/jce/prng || mkdir gnu/java/security/jce/prng
19766 ac_config_links="$ac_config_links gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc"
19771 SYSTEMSPEC="-lgdi32 -lws2_32"
19772 if test "${with_win32_nlsapi}" = "unicows"; then
19773 SYSTEMSPEC="-lunicows $SYSTEMSPEC"
19777 SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
19786 # Check whether --with-system-zlib was given.
19787 if test "${with_system_zlib+set}" = set; then :
19788 withval=$with_system_zlib;
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19797 $as_echo_n "checking for X... " >&6; }
19800 # Check whether --with-x was given.
19801 if test "${with_x+set}" = set; then :
19805 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19806 if test "x$with_x" = xno; then
19807 # The user explicitly disabled X.
19810 case $x_includes,$x_libraries in #(
19811 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
19812 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19813 $as_echo_n "(cached) " >&6
19815 # One or both of the vars are not set, and there is no cached value.
19816 ac_x_includes=no ac_x_libraries=no
19817 rm -f -r conftest.dir
19818 if mkdir conftest.dir; then
19820 cat >Imakefile <<'_ACEOF'
19822 @echo incroot='${INCROOT}'
19824 @echo usrlibdir='${USRLIBDIR}'
19826 @echo libdir='${LIBDIR}'
19828 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19829 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19830 for ac_var in incroot usrlibdir libdir; do
19831 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
19833 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19834 for ac_extension in a so sl dylib la dll; do
19835 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19836 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19837 ac_im_usrlibdir=$ac_im_libdir; break
19840 # Screen out bogus values from the imake configuration. They are
19841 # bogus both because they are the default anyway, and because
19842 # using them would break gcc on systems where it needs fixed includes.
19843 case $ac_im_incroot in
19844 /usr/include) ac_x_includes= ;;
19845 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19847 case $ac_im_usrlibdir in
19848 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19849 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19853 rm -f -r conftest.dir
19856 # Standard set of common directories for X headers.
19857 # Check X11 before X11Rn because it is often a symlink to the current release.
19871 /usr/local/X11/include
19872 /usr/local/X11R7/include
19873 /usr/local/X11R6/include
19874 /usr/local/X11R5/include
19875 /usr/local/X11R4/include
19877 /usr/local/include/X11
19878 /usr/local/include/X11R7
19879 /usr/local/include/X11R6
19880 /usr/local/include/X11R5
19881 /usr/local/include/X11R4
19885 /usr/XFree86/include/X11
19889 /usr/unsupported/include
19890 /usr/athena/include
19891 /usr/local/x11r5/include
19892 /usr/lpp/Xamples/include
19894 /usr/openwin/include
19895 /usr/openwin/share/include'
19897 if test "$ac_x_includes" = no; then
19898 # Guess where to find include files, by looking for Xlib.h.
19899 # First, try using that file with no special directory specified.
19900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19901 /* end confdefs.h. */
19902 #include <X11/Xlib.h>
19904 if ac_fn_c_try_cpp "$LINENO"; then :
19905 # We can compile using X headers with no special include directory.
19908 for ac_dir in $ac_x_header_dirs; do
19909 if test -r "$ac_dir/X11/Xlib.h"; then
19910 ac_x_includes=$ac_dir
19915 rm -f conftest.err conftest.$ac_ext
19916 fi # $ac_x_includes = no
19918 if test "$ac_x_libraries" = no; then
19919 # Check for the libraries.
19920 # See if we find them without any special options.
19921 # Don't add to $LIBS permanently.
19924 if test x$gcc_no_link = xyes; then
19925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #include <X11/Xlib.h>
19938 if ac_fn_c_try_link "$LINENO"; then :
19940 # We can link X programs with no special library path.
19944 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
19946 # Don't even attempt the hair of trying to link an X program!
19947 for ac_extension in a so sl dylib la dll; do
19948 if test -r "$ac_dir/libX11.$ac_extension"; then
19949 ac_x_libraries=$ac_dir
19955 rm -f core conftest.err conftest.$ac_objext \
19956 conftest$ac_exeext conftest.$ac_ext
19957 fi # $ac_x_libraries = no
19959 case $ac_x_includes,$ac_x_libraries in #(
19960 no,* | *,no | *\'*)
19961 # Didn't find X, or a directory has "'" in its name.
19962 ac_cv_have_x="have_x=no";; #(
19964 # Record where we found X for the cache.
19965 ac_cv_have_x="have_x=yes\
19966 ac_x_includes='$ac_x_includes'\
19967 ac_x_libraries='$ac_x_libraries'"
19973 eval "$ac_cv_have_x"
19976 if test "$have_x" != yes; then
19977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19978 $as_echo "$have_x" >&6; }
19981 # If each of the values was on the command line, it overrides each guess.
19982 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19983 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19984 # Update the cache value to reflect the command line values.
19985 ac_cv_have_x="have_x=yes\
19986 ac_x_includes='$x_includes'\
19987 ac_x_libraries='$x_libraries'"
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19989 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19992 if test "$no_x" = yes; then
19993 # Not all programs may use this symbol, but it does not hurt to define it.
19995 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19997 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19999 if test -n "$x_includes"; then
20000 X_CFLAGS="$X_CFLAGS -I$x_includes"
20003 # It would also be nice to do this for all -L options, not just this one.
20004 if test -n "$x_libraries"; then
20005 X_LIBS="$X_LIBS -L$x_libraries"
20006 # For Solaris; some versions of Sun CC require a space after -R and
20007 # others require no space. Words are not sufficient . . . .
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20009 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
20010 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20011 ac_xsave_c_werror_flag=$ac_c_werror_flag
20012 ac_c_werror_flag=yes
20013 if test x$gcc_no_link = xyes; then
20014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20017 /* end confdefs.h. */
20027 if ac_fn_c_try_link "$LINENO"; then :
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20029 $as_echo "no" >&6; }
20030 X_LIBS="$X_LIBS -R$x_libraries"
20032 LIBS="$ac_xsave_LIBS -R $x_libraries"
20033 if test x$gcc_no_link = xyes; then
20034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h. */
20047 if ac_fn_c_try_link "$LINENO"; then :
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20049 $as_echo "yes" >&6; }
20050 X_LIBS="$X_LIBS -R $x_libraries"
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20053 $as_echo "neither works" >&6; }
20055 rm -f core conftest.err conftest.$ac_objext \
20056 conftest$ac_exeext conftest.$ac_ext
20058 rm -f core conftest.err conftest.$ac_objext \
20059 conftest$ac_exeext conftest.$ac_ext
20060 ac_c_werror_flag=$ac_xsave_c_werror_flag
20061 LIBS=$ac_xsave_LIBS
20064 # Check for system-dependent libraries X programs must link with.
20065 # Do this before checking for the system-independent R6 libraries
20066 # (-lICE), since we may need -lsocket or whatever for X linking.
20068 if test "$ISC" = yes; then
20069 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20071 # Martyn Johnson says this is needed for Ultrix, if the X
20072 # libraries were built with DECnet support. And Karl Berry says
20073 # the Alpha needs dnet_stub (dnet does not exist).
20074 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20075 if test x$gcc_no_link = xyes; then
20076 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20081 /* Override any GCC internal prototype to avoid an error.
20082 Use char because int might match the return type of a GCC
20083 builtin and then its argument prototype would still apply. */
20087 char XOpenDisplay ();
20091 return XOpenDisplay ();
20096 if ac_fn_c_try_link "$LINENO"; then :
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20100 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20101 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
20102 $as_echo_n "(cached) " >&6
20104 ac_check_lib_save_LIBS=$LIBS
20105 LIBS="-ldnet $LIBS"
20106 if test x$gcc_no_link = xyes; then
20107 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20110 /* end confdefs.h. */
20112 /* Override any GCC internal prototype to avoid an error.
20113 Use char because int might match the return type of a GCC
20114 builtin and then its argument prototype would still apply. */
20122 return dnet_ntoa ();
20127 if ac_fn_c_try_link "$LINENO"; then :
20128 ac_cv_lib_dnet_dnet_ntoa=yes
20130 ac_cv_lib_dnet_dnet_ntoa=no
20132 rm -f core conftest.err conftest.$ac_objext \
20133 conftest$ac_exeext conftest.$ac_ext
20134 LIBS=$ac_check_lib_save_LIBS
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20137 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20138 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
20139 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20142 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20144 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20145 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
20146 $as_echo_n "(cached) " >&6
20148 ac_check_lib_save_LIBS=$LIBS
20149 LIBS="-ldnet_stub $LIBS"
20150 if test x$gcc_no_link = xyes; then
20151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20154 /* end confdefs.h. */
20156 /* Override any GCC internal prototype to avoid an error.
20157 Use char because int might match the return type of a GCC
20158 builtin and then its argument prototype would still apply. */
20166 return dnet_ntoa ();
20171 if ac_fn_c_try_link "$LINENO"; then :
20172 ac_cv_lib_dnet_stub_dnet_ntoa=yes
20174 ac_cv_lib_dnet_stub_dnet_ntoa=no
20176 rm -f core conftest.err conftest.$ac_objext \
20177 conftest$ac_exeext conftest.$ac_ext
20178 LIBS=$ac_check_lib_save_LIBS
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20181 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20182 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
20183 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20188 rm -f core conftest.err conftest.$ac_objext \
20189 conftest$ac_exeext conftest.$ac_ext
20190 LIBS="$ac_xsave_LIBS"
20192 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20193 # to get the SysV transport functions.
20194 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20196 # The nsl library prevents programs from opening the X display
20197 # on Irix 5.2, according to T.E. Dickey.
20198 # The functions gethostbyname, getservbyname, and inet_addr are
20199 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20200 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20201 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
20205 if test $ac_cv_func_gethostbyname = no; then
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20207 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20208 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20209 $as_echo_n "(cached) " >&6
20211 ac_check_lib_save_LIBS=$LIBS
20213 if test x$gcc_no_link = xyes; then
20214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20219 /* Override any GCC internal prototype to avoid an error.
20220 Use char because int might match the return type of a GCC
20221 builtin and then its argument prototype would still apply. */
20225 char gethostbyname ();
20229 return gethostbyname ();
20234 if ac_fn_c_try_link "$LINENO"; then :
20235 ac_cv_lib_nsl_gethostbyname=yes
20237 ac_cv_lib_nsl_gethostbyname=no
20239 rm -f core conftest.err conftest.$ac_objext \
20240 conftest$ac_exeext conftest.$ac_ext
20241 LIBS=$ac_check_lib_save_LIBS
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20244 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20245 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20246 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20249 if test $ac_cv_lib_nsl_gethostbyname = no; then
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20251 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20252 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20253 $as_echo_n "(cached) " >&6
20255 ac_check_lib_save_LIBS=$LIBS
20257 if test x$gcc_no_link = xyes; then
20258 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20261 /* end confdefs.h. */
20263 /* Override any GCC internal prototype to avoid an error.
20264 Use char because int might match the return type of a GCC
20265 builtin and then its argument prototype would still apply. */
20269 char gethostbyname ();
20273 return gethostbyname ();
20278 if ac_fn_c_try_link "$LINENO"; then :
20279 ac_cv_lib_bsd_gethostbyname=yes
20281 ac_cv_lib_bsd_gethostbyname=no
20283 rm -f core conftest.err conftest.$ac_objext \
20284 conftest$ac_exeext conftest.$ac_ext
20285 LIBS=$ac_check_lib_save_LIBS
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20288 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20289 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20290 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20296 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20297 # socket/setsockopt and other routines are undefined under SCO ODT
20298 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20299 # on later versions), says Simon Leinen: it contains gethostby*
20300 # variants that don't use the name server (or something). -lsocket
20301 # must be given before -lnsl if both are needed. We assume that
20302 # if connect needs -lnsl, so does gethostbyname.
20303 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20304 if test "x$ac_cv_func_connect" = x""yes; then :
20308 if test $ac_cv_func_connect = no; then
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20310 $as_echo_n "checking for connect in -lsocket... " >&6; }
20311 if test "${ac_cv_lib_socket_connect+set}" = set; then :
20312 $as_echo_n "(cached) " >&6
20314 ac_check_lib_save_LIBS=$LIBS
20315 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20316 if test x$gcc_no_link = xyes; then
20317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h. */
20322 /* Override any GCC internal prototype to avoid an error.
20323 Use char because int might match the return type of a GCC
20324 builtin and then its argument prototype would still apply. */
20337 if ac_fn_c_try_link "$LINENO"; then :
20338 ac_cv_lib_socket_connect=yes
20340 ac_cv_lib_socket_connect=no
20342 rm -f core conftest.err conftest.$ac_objext \
20343 conftest$ac_exeext conftest.$ac_ext
20344 LIBS=$ac_check_lib_save_LIBS
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20347 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20348 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20349 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20354 # Guillermo Gomez says -lposix is necessary on A/UX.
20355 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20356 if test "x$ac_cv_func_remove" = x""yes; then :
20360 if test $ac_cv_func_remove = no; then
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20362 $as_echo_n "checking for remove in -lposix... " >&6; }
20363 if test "${ac_cv_lib_posix_remove+set}" = set; then :
20364 $as_echo_n "(cached) " >&6
20366 ac_check_lib_save_LIBS=$LIBS
20367 LIBS="-lposix $LIBS"
20368 if test x$gcc_no_link = xyes; then
20369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20372 /* end confdefs.h. */
20374 /* Override any GCC internal prototype to avoid an error.
20375 Use char because int might match the return type of a GCC
20376 builtin and then its argument prototype would still apply. */
20389 if ac_fn_c_try_link "$LINENO"; then :
20390 ac_cv_lib_posix_remove=yes
20392 ac_cv_lib_posix_remove=no
20394 rm -f core conftest.err conftest.$ac_objext \
20395 conftest$ac_exeext conftest.$ac_ext
20396 LIBS=$ac_check_lib_save_LIBS
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20399 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20400 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20401 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20406 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20407 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20408 if test "x$ac_cv_func_shmat" = x""yes; then :
20412 if test $ac_cv_func_shmat = no; then
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20414 $as_echo_n "checking for shmat in -lipc... " >&6; }
20415 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20416 $as_echo_n "(cached) " >&6
20418 ac_check_lib_save_LIBS=$LIBS
20420 if test x$gcc_no_link = xyes; then
20421 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h. */
20426 /* Override any GCC internal prototype to avoid an error.
20427 Use char because int might match the return type of a GCC
20428 builtin and then its argument prototype would still apply. */
20441 if ac_fn_c_try_link "$LINENO"; then :
20442 ac_cv_lib_ipc_shmat=yes
20444 ac_cv_lib_ipc_shmat=no
20446 rm -f core conftest.err conftest.$ac_objext \
20447 conftest$ac_exeext conftest.$ac_ext
20448 LIBS=$ac_check_lib_save_LIBS
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20451 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20452 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20453 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20459 # Check for libraries that X11R6 Xt/Xaw programs need.
20460 ac_save_LDFLAGS=$LDFLAGS
20461 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20462 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20463 # check for ICE first), but we must link in the order -lSM -lICE or
20464 # we get undefined symbols. So assume we have SM if we have ICE.
20465 # These have to be linked with before -lX11, unlike the other
20466 # libraries we check for below, so use a different variable.
20467 # John Interrante, Karl Berry
20468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20469 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20470 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20471 $as_echo_n "(cached) " >&6
20473 ac_check_lib_save_LIBS=$LIBS
20474 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20475 if test x$gcc_no_link = xyes; then
20476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20479 /* end confdefs.h. */
20481 /* Override any GCC internal prototype to avoid an error.
20482 Use char because int might match the return type of a GCC
20483 builtin and then its argument prototype would still apply. */
20487 char IceConnectionNumber ();
20491 return IceConnectionNumber ();
20496 if ac_fn_c_try_link "$LINENO"; then :
20497 ac_cv_lib_ICE_IceConnectionNumber=yes
20499 ac_cv_lib_ICE_IceConnectionNumber=no
20501 rm -f core conftest.err conftest.$ac_objext \
20502 conftest$ac_exeext conftest.$ac_ext
20503 LIBS=$ac_check_lib_save_LIBS
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20506 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20507 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20508 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20511 LDFLAGS=$ac_save_LDFLAGS
20516 # FIXME: this should be _libs on some hosts.
20519 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20522 # extra LD Flags which are required for targets
20525 # For now we have to disable it on darwin[8-9] because it slows down
20526 # the linking phase. A possible bug in ld?
20527 # on Darwin -single_module speeds up loading of the dynamic libraries.
20528 extra_ldflags_libjava=-Wl,-single_module
20531 # Some of the ARM unwinder code is actually in libstdc++. We
20532 # could in principle replicate it in libgcj, but it's better to
20533 # have a dependency on libstdc++.
20534 extra_ldflags='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20535 LIBSTDCXXSPEC=-lstdc++
20536 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20539 extra_ldflags_libjava=-liconv
20544 # extra LD Flags which are required for targets
20553 # Check for --no-merge-exidx-entries, an ARM-specific linker option.
20554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --no-merge-exidx-entries" >&5
20555 $as_echo_n "checking for --no-merge-exidx-entries... " >&6; }
20556 if test "${libgcj_cv_exidx+set}" = set; then :
20557 $as_echo_n "(cached) " >&6
20559 saved_ldflags="$LDFLAGS"
20560 LDFLAGS="${LDFLAGS} -Wl,--no-merge-exidx-entries"
20561 # The IRIX 6 ld doesn't recognize --no-merge-exidx-entries, but only
20562 # warns about unknown options, which breaks the testsuite. So enable
20563 # AC_LANG_WERROR, but there's currently (autoconf 2.64) no way to turn
20564 # it off again. As a workaround, save and restore werror flag like
20566 ac_xsave_c_werror_flag=$ac_c_werror_flag
20568 ac_c_werror_flag=yes
20569 if test x$gcc_no_link = xyes; then
20570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20573 /* end confdefs.h. */
20574 int main(void){ return 0;}
20576 if ac_fn_c_try_link "$LINENO"; then :
20577 eval "libgcj_cv_exidx=yes"
20579 eval "libgcj_cv_exidx=no"
20581 rm -f core conftest.err conftest.$ac_objext \
20582 conftest$ac_exeext conftest.$ac_ext
20583 ac_c_werror_flag=$ac_xsave_c_werror_flag
20584 LDFLAGS="${saved_ldflags}"
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcj_cv_exidx" >&5
20588 $as_echo "$libgcj_cv_exidx" >&6; }
20589 if test "${libgcj_cv_exidx}" = "yes"; then
20590 SYSTEMSPEC="${SYSTEMSPEC} --no-merge-exidx-entries"
20591 extra_ldflags="${extra_ldflags} -Wl,--no-merge-exidx-entries"
20601 # Allow the GC to be disabled. Can be useful when debugging.
20602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for garbage collector to use" >&5
20603 $as_echo_n "checking for garbage collector to use... " >&6; }
20604 # Check whether --enable-java-gc was given.
20605 if test "${enable_java_gc+set}" = set; then :
20606 enableval=$enable_java_gc; GC=$enableval
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: boehm" >&5
20620 $as_echo "boehm" >&6; }
20621 GCLIBS=../boehm-gc/libgcjgc_convenience.la
20622 JC1GCSPEC='-fuse-boehm-gc'
20623 GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20624 GCINCS='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20627 # The POSIX thread support needs to know this.
20629 $as_echo "#define HAVE_BOEHM_GC 1" >>confdefs.h
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
20634 $as_echo "none" >&6; }
20638 as_fn_error "unrecognized collector \"$GC\"" "$LINENO" 5
20647 ac_config_links="$ac_config_links include/java-gc.h:include/$GCHDR"
20649 if test "$GC" = boehm; then
20650 USING_BOEHMGC_TRUE=
20651 USING_BOEHMGC_FALSE='#'
20653 USING_BOEHMGC_TRUE='#'
20654 USING_BOEHMGC_FALSE=
20657 if test "$GC" = no; then
20659 USING_NOGC_FALSE='#'
20661 USING_NOGC_TRUE='#'
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
20668 $as_echo_n "checking for thread model used by GCC... " >&6; }
20669 THREADS=`$CC -v 2>&1 |
sed -n 's/^Thread model: //p'`
20670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
20671 $as_echo "$THREADS" >&6; }
20674 no | none | single)
20677 aix | posix | posix95 | pthreads)
20682 $as_echo "#define LINUX_THREADS 1" >>confdefs.h
20689 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
20690 as_fn_error "thread package $THREADS not yet supported" "$LINENO" 5
20693 as_fn_error "$THREADS is an unknown thread package" "$LINENO" 5
20704 THREADSTARTFILESPEC=
20709 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20711 *-*-freebsd[1234]*)
20712 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20713 # merely adds pthread_* functions) but it does have a -pthread switch
20714 # which is required at link-time to select -lc_r *instead* of -lc.
20715 THREADLDFLAGS=-pthread
20716 # Don't set THREADSPEC here as might be expected since -pthread is
20717 # not processed when found within a spec file, it must come from
20718 # the command line. For now, the user must provide the -pthread
20719 # switch to link code compiled with gcj. In future, consider adding
20720 # support for weak references to pthread_* functions ala gthr.h API.
20721 THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20724 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20725 # systems which support threads and -lpthread.
20726 THREADLDFLAGS=-pthread
20727 THREADSPEC=-lpthread
20729 alpha*-dec-osf* | hppa*-hp-hpux*)
20730 THREADCXXFLAGS=-pthread
20731 # boehm-gc needs some functions from librt, so link that too.
20732 THREADLIBS='-lpthread -lrt'
20733 THREADSPEC='-lpthread -lrt'
20736 # Always use alternate thread library on Solaris 8. Need libthread
20738 # Need -Wl,-R to get it through libtool ...
20739 THREADLIBS='-L/usr/lib/lwp$(MULTISUBDIR) -Wl,-R -Wl,/usr/lib/lwp$(MULTISUBDIR) -lpthread -lthread'
20740 # ... while ld only accepts -R.
20741 THREADSPEC='-L/usr/lib/lwp%{m64:/64} -R/usr/lib/lwp%{m64:/64} -lpthread -lthread'
20744 # As on Solaris 8, need libthread for TLS support.
20745 THREADLIBS='-lpthread -lthread'
20746 THREADSPEC='-lpthread -lthread'
20749 # Don't set THREADLIBS or THREADSPEC as Darwin already
20750 # provides pthread via libSystem.
20753 THREADLIBS=-lpthread
20754 THREADSPEC=-lpthread
20757 THREADH=posix-threads.h
20758 # MIT pthreads doesn't seem to have the mutexattr functions.
20759 # But for now we don't check for it. We just assume you aren't
20760 # using MIT pthreads.
20762 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20765 # If we're using the Boehm GC, then we happen to know that it
20766 # defines _REENTRANT, so we don't bother. Eww.
20767 if test "$GC" != boehm; then
20769 $as_echo "#define _REENTRANT 1" >>confdefs.h
20773 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
20778 THREADH=win32-threads.h
20779 THREADCXXFLAGS=-mthreads
20780 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20781 # But we do not want the executables created to be dependent on
20782 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20783 # exception handling contexts. The following kludge achieves this effect
20784 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20785 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20786 # A workaround is to explicitly use -mthreads while linking Java programs.
20787 # See PR libgcj/28263.
20789 # FIXME: In Java we are able to detect thread death at the end of
20790 # Thread.run() so we should be able to clean up the exception handling
20791 # contexts ourselves.
20792 THREADSTARTFILESPEC='crtmt%O%s'
20796 THREADH=no-threads.h
20799 ac_config_links="$ac_config_links include/java-threads.h:include/$THREADH"
20808 if test "$THREADS" = posix; then
20809 USING_POSIX_THREADS_TRUE=
20810 USING_POSIX_THREADS_FALSE='#'
20812 USING_POSIX_THREADS_TRUE='#'
20813 USING_POSIX_THREADS_FALSE=
20816 if test "$THREADS" = win32; then
20817 USING_WIN32_THREADS_TRUE=
20818 USING_WIN32_THREADS_FALSE='#'
20820 USING_WIN32_THREADS_TRUE='#'
20821 USING_WIN32_THREADS_FALSE=
20824 if test "$THREADS" = none; then
20825 USING_NO_THREADS_TRUE=
20826 USING_NO_THREADS_FALSE='#'
20828 USING_NO_THREADS_TRUE='#'
20829 USING_NO_THREADS_FALSE=
20832 if test "$enable_shared" != yes; then
20835 if test "$use_libgcj_bc" = yes; then
20836 USE_LIBGCJ_BC_TRUE=
20837 USE_LIBGCJ_BC_FALSE='#'
20839 USE_LIBGCJ_BC_TRUE='#'
20840 USE_LIBGCJ_BC_FALSE=
20844 if test -d sysdep; then true; else mkdir sysdep; fi
20845 ac_config_links="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20847 ac_config_links="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20849 ac_config_links="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20852 LIBGCJ_SPEC_LGCJ=-lgcj
20853 LIBGCJ_SPEC_LGCJ_BC=-lgcj_bc
20854 if test x"$libgcj_spec_lgcj_override" != x ; then
20855 LIBGCJ_SPEC_LGCJ=$libgcj_spec_lgcj_override
20857 if test x"$libgcj_spec_lgcj_bc_override" != x ; then
20858 LIBGCJ_SPEC_LGCJ_BC=$libgcj_spec_lgcj_bc_override
20860 LIBGCJ_SPEC="%{s-bc-abi:} $LIBGCJ_SPEC_LGCJ"
20861 if test "$use_libgcj_bc" = yes; then
20862 LIBGCJ_SPEC="%{static|static-libgcj|!s-bc-abi:$LIBGCJ_SPEC_LGCJ;:$LIBGCJ_SPEC_LGCJ_BC}"
20863 LIBGCJ_BC_SPEC="%{findirect-dispatch:-fPIC}"
20869 # Hash synchronization is only useful with posix threads right now.
20870 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20871 HASH_SYNC_SPEC=-fhash-synchronization
20873 $as_echo "#define JV_HASH_SYNCHRONIZATION 1" >>confdefs.h
20878 if test "$GCC" = yes; then
20880 USING_GCC_FALSE='#'
20887 # We're in the tree with gcc, and need to include some of its headers.
20888 GCC_UNWIND_INCLUDE='-I$(multi_basedir)/./libjava/../gcc'
20890 if test "x${with_newlib}" = "xyes"; then
20891 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20892 # may not work correctly, because the compiler may not be able to
20893 # link executables.
20895 # We assume newlib. This lets us hard-code the functions we know
20898 $as_echo "#define HAVE_MEMMOVE 1" >>confdefs.h
20901 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
20904 $as_echo "#define HAVE_TIME 1" >>confdefs.h
20907 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
20910 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
20913 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
20915 # This is only for POSIX threads.
20917 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20920 # Assume we do not have getuid and friends.
20922 $as_echo "#define NO_GETUID 1" >>confdefs.h
20926 for ac_func in strerror_r select fstat open fsync sleep opendir \
20927 localtime_r getpwuid_r getcwd \
20928 access stat lstat mkdir rename rmdir unlink utime chmod readlink \
20929 nl_langinfo setlocale \
20930 inet_pton uname inet_ntoa \
20931 getrlimit sigaction ftruncate mmap \
20934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20936 eval as_val=\$$as_ac_var
20937 if test "x$as_val" = x""yes; then :
20938 cat >>confdefs.h <<_ACEOF
20939 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20945 for ac_func in inet_aton inet_addr
20947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20949 eval as_val=\$$as_ac_var
20950 if test "x$as_val" = x""yes; then :
20951 cat >>confdefs.h <<_ACEOF
20952 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20958 for ac_header in unistd.h dlfcn.h sys/resource.h
20960 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20961 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20962 eval as_val=\$$as_ac_Header
20963 if test "x$as_val" = x""yes; then :
20964 cat >>confdefs.h <<_ACEOF
20965 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20972 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
20973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
20974 $as_echo_n "checking for dladdr in -ldl... " >&6; }
20975 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
20976 $as_echo_n "(cached) " >&6
20978 ac_check_lib_save_LIBS=$LIBS
20980 if test x$gcc_no_link = xyes; then
20981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20986 /* Override any GCC internal prototype to avoid an error.
20987 Use char because int might match the return type of a GCC
20988 builtin and then its argument prototype would still apply. */
21001 if ac_fn_c_try_link "$LINENO"; then :
21002 ac_cv_lib_dl_dladdr=yes
21004 ac_cv_lib_dl_dladdr=no
21006 rm -f core conftest.err conftest.$ac_objext \
21007 conftest$ac_exeext conftest.$ac_ext
21008 LIBS=$ac_check_lib_save_LIBS
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
21011 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
21012 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
21015 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldld" >&5
21020 $as_echo_n "checking for dladdr in -ldld... " >&6; }
21021 if test "${ac_cv_lib_dld_dladdr+set}" = set; then :
21022 $as_echo_n "(cached) " >&6
21024 ac_check_lib_save_LIBS=$LIBS
21026 if test x$gcc_no_link = xyes; then
21027 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21030 /* end confdefs.h. */
21032 /* Override any GCC internal prototype to avoid an error.
21033 Use char because int might match the return type of a GCC
21034 builtin and then its argument prototype would still apply. */
21047 if ac_fn_c_try_link "$LINENO"; then :
21048 ac_cv_lib_dld_dladdr=yes
21050 ac_cv_lib_dld_dladdr=no
21052 rm -f core conftest.err conftest.$ac_objext \
21053 conftest$ac_exeext conftest.$ac_ext
21054 LIBS=$ac_check_lib_save_LIBS
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dladdr" >&5
21057 $as_echo "$ac_cv_lib_dld_dladdr" >&6; }
21058 if test "x$ac_cv_lib_dld_dladdr" = x""yes; then :
21061 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
21068 if test x"$cross_compiling" = x"no"; then
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/exe" >&5
21070 $as_echo_n "checking for /proc/self/exe... " >&6; }
21071 if test "${ac_cv_file__proc_self_exe+set}" = set; then :
21072 $as_echo_n "(cached) " >&6
21074 test "$cross_compiling" = yes &&
21075 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21076 if test -r "/proc/self/exe"; then
21077 ac_cv_file__proc_self_exe=yes
21079 ac_cv_file__proc_self_exe=no
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_exe" >&5
21083 $as_echo "$ac_cv_file__proc_self_exe" >&6; }
21084 if test "x$ac_cv_file__proc_self_exe" = x""yes; then :
21086 cat >>confdefs.h <<_ACEOF
21087 #define HAVE__PROC_SELF_EXE 1
21091 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
21096 $as_echo_n "checking for /proc/self/maps... " >&6; }
21097 if test "${ac_cv_file__proc_self_maps+set}" = set; then :
21098 $as_echo_n "(cached) " >&6
21100 test "$cross_compiling" = yes &&
21101 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21102 if test -r "/proc/self/maps"; then
21103 ac_cv_file__proc_self_maps=yes
21105 ac_cv_file__proc_self_maps=no
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
21109 $as_echo "$ac_cv_file__proc_self_maps" >&6; }
21110 if test "x$ac_cv_file__proc_self_maps" = x""yes; then :
21112 cat >>confdefs.h <<_ACEOF
21113 #define HAVE__PROC_SELF_MAPS 1
21117 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21125 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21128 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21135 if test "X$prefix" = "XNONE"; then
21136 acl_final_prefix="$ac_default_prefix"
21138 acl_final_prefix="$prefix"
21140 if test "X$exec_prefix" = "XNONE"; then
21141 acl_final_exec_prefix='${prefix}'
21143 acl_final_exec_prefix="$exec_prefix"
21145 acl_save_prefix="$prefix"
21146 prefix="$acl_final_prefix"
21147 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
21148 prefix="$acl_save_prefix"
21151 # Check whether --with-gnu-ld was given.
21152 if test "${with_gnu_ld+set}" = set; then :
21153 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21158 # Prepare PATH_SEPARATOR.
21159 # The user is always right.
21160 if test "${PATH_SEPARATOR+set}" != set; then
21161 echo "#! /bin/sh" >conf$$.sh
21162 echo "exit 0" >>conf$$.sh
21164 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21172 if test "$GCC" = yes; then
21173 # Check if gcc -print-prog-name=ld gives a path.
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
21175 $as_echo_n "checking for ld used by GCC... " >&6; }
21178 # gcc leaves a trailing carriage return which upsets mingw
21179 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
21181 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
21184 # Accept absolute paths.
21185 [\\/]* | [A-Za-z]:[\\/]*)
21186 re_direlt='/[^/][^/]*/\.\./'
21187 # Canonicalize the path of ld
21188 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
21189 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
21190 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
21192 test -z "$LD" && LD="$ac_prog"
21195 # If it fails, then pretend we aren't using GCC.
21199 # If it is relative, then search for the first ld in PATH.
21200 with_gnu_ld=unknown
21203 elif test "$with_gnu_ld" = yes; then
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21205 $as_echo_n "checking for GNU ld... " >&6; }
21207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21208 $as_echo_n "checking for non-GNU ld... " >&6; }
21210 if test "${acl_cv_path_LD+set}" = set; then :
21211 $as_echo_n "(cached) " >&6
21213 if test -z "$LD"; then
21214 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21215 for ac_dir in $PATH; do
21216 test -z "$ac_dir" && ac_dir=.
21217 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21218 acl_cv_path_LD="$ac_dir/$ac_prog"
21219 # Check to see if the program is GNU ld. I'd rather use --version,
21220 # but apparently some GNU ld's only accept -v.
21221 # Break only if it was the GNU/non-GNU ld that we prefer.
21222 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
21223 test "$with_gnu_ld" != no && break
21225 test "$with_gnu_ld" != yes && break
21231 acl_cv_path_LD="$LD" # Let the user override the test with a path.
21235 LD="$acl_cv_path_LD"
21236 if test -n "$LD"; then
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21238 $as_echo "$LD" >&6; }
21240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21241 $as_echo "no" >&6; }
21243 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21245 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21246 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
21247 $as_echo_n "(cached) " >&6
21249 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21250 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
21251 acl_cv_prog_gnu_ld=yes
21253 acl_cv_prog_gnu_ld=no
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
21257 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
21258 with_gnu_ld=$acl_cv_prog_gnu_ld
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
21263 $as_echo_n "checking for shared library run path origin... " >&6; }
21264 if test "${acl_cv_rpath+set}" = set; then :
21265 $as_echo_n "(cached) " >&6
21268 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
21269 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21271 rm -f ./conftest.sh
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
21276 $as_echo "$acl_cv_rpath" >&6; }
21278 libext="$acl_cv_libext"
21279 shlibext="$acl_cv_shlibext"
21280 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
21281 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
21282 hardcode_direct="$acl_cv_hardcode_direct"
21283 hardcode_minus_L="$acl_cv_hardcode_minus_L"
21284 # Check whether --enable-rpath was given.
21285 if test "${enable_rpath+set}" = set; then :
21286 enableval=$enable_rpath; :
21300 acl_save_prefix="$prefix"
21301 prefix="$acl_final_prefix"
21302 acl_save_exec_prefix="$exec_prefix"
21303 exec_prefix="$acl_final_exec_prefix"
21305 eval additional_includedir=\"$includedir\"
21306 eval additional_libdir=\"$libdir\"
21308 exec_prefix="$acl_save_exec_prefix"
21309 prefix="$acl_save_prefix"
21312 # Check whether --with-libiconv-prefix was given.
21313 if test "${with_libiconv_prefix+set}" = set; then :
21314 withval=$with_libiconv_prefix;
21315 if test "X$withval" = "Xno"; then
21318 if test "X$withval" = "X"; then
21320 acl_save_prefix="$prefix"
21321 prefix="$acl_final_prefix"
21322 acl_save_exec_prefix="$exec_prefix"
21323 exec_prefix="$acl_final_exec_prefix"
21325 eval additional_includedir=\"$includedir\"
21326 eval additional_libdir=\"$libdir\"
21328 exec_prefix="$acl_save_exec_prefix"
21329 prefix="$acl_save_prefix"
21332 additional_includedir="$withval/include"
21333 additional_libdir="$withval/lib"
21344 names_already_handled=
21345 names_next_round='iconv '
21346 while test -n "$names_next_round"; do
21347 names_this_round="$names_next_round"
21349 for name in $names_this_round; do
21351 for n in $names_already_handled; do
21352 if test "$n" = "$name"; then
21353 already_handled=yes
21357 if test -z "$already_handled"; then
21358 names_already_handled="$names_already_handled $name"
21359 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21360 eval value=\"\$HAVE_LIB$uppername\"
21361 if test -n "$value"; then
21362 if test "$value" = yes; then
21363 eval value=\"\$LIB$uppername\"
21364 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
21365 eval value=\"\$LTLIB$uppername\"
21366 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
21375 if test $use_additional = yes; then
21376 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21377 found_dir="$additional_libdir"
21378 found_so="$additional_libdir/lib$name.$shlibext"
21379 if test -f "$additional_libdir/lib$name.la"; then
21380 found_la="$additional_libdir/lib$name.la"
21383 if test -f "$additional_libdir/lib$name.$libext"; then
21384 found_dir="$additional_libdir"
21385 found_a="$additional_libdir/lib$name.$libext"
21386 if test -f "$additional_libdir/lib$name.la"; then
21387 found_la="$additional_libdir/lib$name.la"
21392 if test "X$found_dir" = "X"; then
21393 for x in $LDFLAGS $LTLIBICONV; do
21395 acl_save_prefix="$prefix"
21396 prefix="$acl_final_prefix"
21397 acl_save_exec_prefix="$exec_prefix"
21398 exec_prefix="$acl_final_exec_prefix"
21400 exec_prefix="$acl_save_exec_prefix"
21401 prefix="$acl_save_prefix"
21405 dir=`echo "X$x" |
sed -e 's/^X-L//'`
21406 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21408 found_so="$dir/lib$name.$shlibext"
21409 if test -f "$dir/lib$name.la"; then
21410 found_la="$dir/lib$name.la"
21413 if test -f "$dir/lib$name.$libext"; then
21415 found_a="$dir/lib$name.$libext"
21416 if test -f "$dir/lib$name.la"; then
21417 found_la="$dir/lib$name.la"
21423 if test "X$found_dir" != "X"; then
21428 if test "X$found_dir" != "X"; then
21429 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21430 if test "X$found_so" != "X"; then
21431 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
21432 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21435 for x in $ltrpathdirs; do
21436 if test "X$x" = "X$found_dir"; then
21441 if test -z "$haveit"; then
21442 ltrpathdirs="$ltrpathdirs $found_dir"
21444 if test "$hardcode_direct" = yes; then
21445 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21447 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
21448 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21450 for x in $rpathdirs; do
21451 if test "X$x" = "X$found_dir"; then
21456 if test -z "$haveit"; then
21457 rpathdirs="$rpathdirs $found_dir"
21461 for x in $LDFLAGS $LIBICONV; do
21463 acl_save_prefix="$prefix"
21464 prefix="$acl_final_prefix"
21465 acl_save_exec_prefix="$exec_prefix"
21466 exec_prefix="$acl_final_exec_prefix"
21468 exec_prefix="$acl_save_exec_prefix"
21469 prefix="$acl_save_prefix"
21471 if test "X$x" = "X-L$found_dir"; then
21476 if test -z "$haveit"; then
21477 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21479 if test "$hardcode_minus_L" != no; then
21480 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21482 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21488 if test "X$found_a" != "X"; then
21489 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
21491 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21494 additional_includedir=
21495 case "$found_dir" in
21497 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e 's,/lib/*$,,'`
21498 additional_includedir="$basedir/include"
21501 if test "X$additional_includedir" != "X"; then
21502 if test "X$additional_includedir" != "X/usr/include"; then
21504 if test "X$additional_includedir" = "X/usr/local/include"; then
21505 if test -n "$GCC"; then
21507 linux*) haveit=yes;;
21511 if test -z "$haveit"; then
21512 for x in $CPPFLAGS $INCICONV; do
21514 acl_save_prefix="$prefix"
21515 prefix="$acl_final_prefix"
21516 acl_save_exec_prefix="$exec_prefix"
21517 exec_prefix="$acl_final_exec_prefix"
21519 exec_prefix="$acl_save_exec_prefix"
21520 prefix="$acl_save_prefix"
21522 if test "X$x" = "X-I$additional_includedir"; then
21527 if test -z "$haveit"; then
21528 if test -d "$additional_includedir"; then
21529 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21535 if test -n "$found_la"; then
21536 save_libdir="$libdir"
21537 case "$found_la" in
21538 */* | *\\*) . "$found_la" ;;
21539 *) . "./$found_la" ;;
21541 libdir="$save_libdir"
21542 for dep in $dependency_libs; do
21545 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
21546 if test "X$additional_libdir" != "X/usr/lib"; then
21548 if test "X$additional_libdir" = "X/usr/local/lib"; then
21549 if test -n "$GCC"; then
21551 linux*) haveit=yes;;
21555 if test -z "$haveit"; then
21557 for x in $LDFLAGS $LIBICONV; do
21559 acl_save_prefix="$prefix"
21560 prefix="$acl_final_prefix"
21561 acl_save_exec_prefix="$exec_prefix"
21562 exec_prefix="$acl_final_exec_prefix"
21564 exec_prefix="$acl_save_exec_prefix"
21565 prefix="$acl_save_prefix"
21567 if test "X$x" = "X-L$additional_libdir"; then
21572 if test -z "$haveit"; then
21573 if test -d "$additional_libdir"; then
21574 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21578 for x in $LDFLAGS $LTLIBICONV; do
21580 acl_save_prefix="$prefix"
21581 prefix="$acl_final_prefix"
21582 acl_save_exec_prefix="$exec_prefix"
21583 exec_prefix="$acl_final_exec_prefix"
21585 exec_prefix="$acl_save_exec_prefix"
21586 prefix="$acl_save_prefix"
21588 if test "X$x" = "X-L$additional_libdir"; then
21593 if test -z "$haveit"; then
21594 if test -d "$additional_libdir"; then
21595 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21602 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
21603 if test "$enable_rpath" != no; then
21605 for x in $rpathdirs; do
21606 if test "X$x" = "X$dir"; then
21611 if test -z "$haveit"; then
21612 rpathdirs="$rpathdirs $dir"
21615 for x in $ltrpathdirs; do
21616 if test "X$x" = "X$dir"; then
21621 if test -z "$haveit"; then
21622 ltrpathdirs="$ltrpathdirs $dir"
21627 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
21630 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21633 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
21634 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21640 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21641 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21647 if test "X$rpathdirs" != "X"; then
21648 if test -n "$hardcode_libdir_separator"; then
21650 for found_dir in $rpathdirs; do
21651 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21653 acl_save_libdir="$libdir"
21655 eval flag=\"$hardcode_libdir_flag_spec\"
21656 libdir="$acl_save_libdir"
21657 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21659 for found_dir in $rpathdirs; do
21660 acl_save_libdir="$libdir"
21661 libdir="$found_dir"
21662 eval flag=\"$hardcode_libdir_flag_spec\"
21663 libdir="$acl_save_libdir"
21664 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21668 if test "X$ltrpathdirs" != "X"; then
21669 for found_dir in $ltrpathdirs; do
21670 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21680 am_save_CPPFLAGS="$CPPFLAGS"
21682 for element in $INCICONV; do
21684 for x in $CPPFLAGS; do
21686 acl_save_prefix="$prefix"
21687 prefix="$acl_final_prefix"
21688 acl_save_exec_prefix="$exec_prefix"
21689 exec_prefix="$acl_final_exec_prefix"
21691 exec_prefix="$acl_save_exec_prefix"
21692 prefix="$acl_save_prefix"
21694 if test "X$x" = "X$element"; then
21699 if test -z "$haveit"; then
21700 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
21705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
21706 $as_echo_n "checking for iconv... " >&6; }
21707 if test "${am_cv_func_iconv+set}" = set; then :
21708 $as_echo_n "(cached) " >&6
21711 am_cv_func_iconv="no, consider installing GNU libiconv"
21713 if test x$gcc_no_link = xyes; then
21714 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21717 /* end confdefs.h. */
21718 #include <stdlib.h>
21723 iconv_t cd = iconv_open("","");
21724 iconv(cd,NULL,NULL,NULL,NULL);
21730 if ac_fn_c_try_link "$LINENO"; then :
21731 am_cv_func_iconv=yes
21733 rm -f core conftest.err conftest.$ac_objext \
21734 conftest$ac_exeext conftest.$ac_ext
21735 if test "$am_cv_func_iconv" != yes; then
21736 am_save_LIBS="$LIBS"
21737 LIBS="$LIBS $LIBICONV"
21738 if test x$gcc_no_link = xyes; then
21739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21742 /* end confdefs.h. */
21743 #include <stdlib.h>
21748 iconv_t cd = iconv_open("","");
21749 iconv(cd,NULL,NULL,NULL,NULL);
21755 if ac_fn_c_try_link "$LINENO"; then :
21756 am_cv_lib_iconv=yes
21757 am_cv_func_iconv=yes
21759 rm -f core conftest.err conftest.$ac_objext \
21760 conftest$ac_exeext conftest.$ac_ext
21761 LIBS="$am_save_LIBS"
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21766 $as_echo "$am_cv_func_iconv" >&6; }
21767 if test "$am_cv_func_iconv" = yes; then
21769 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21772 if test "$am_cv_lib_iconv" = yes; then
21773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21774 $as_echo_n "checking how to link with libiconv... " >&6; }
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21776 $as_echo "$LIBICONV" >&6; }
21778 CPPFLAGS="$am_save_CPPFLAGS"
21785 if test "$am_cv_func_iconv" = yes; then
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21787 $as_echo_n "checking for iconv declaration... " >&6; }
21788 if test "${am_cv_proto_iconv+set}" = set; then :
21789 $as_echo_n "(cached) " >&6
21792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21793 /* end confdefs.h. */
21795 #include <stdlib.h>
21801 #if defined(__STDC__) || defined(__cplusplus)
21802 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21815 if ac_fn_c_try_compile "$LINENO"; then :
21816 am_cv_proto_iconv_arg1=""
21818 am_cv_proto_iconv_arg1="const"
21820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21821 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);"
21824 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" |
tr -s ' ' |
sed -e 's/( /(/'`
21825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
21826 }$am_cv_proto_iconv" >&5
21828 }$am_cv_proto_iconv" >&6; }
21830 cat >>confdefs.h <<_ACEOF
21831 #define ICONV_CONST $am_cv_proto_iconv_arg1
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21838 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21839 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
21840 $as_echo_n "(cached) " >&6
21842 if test x$gcc_no_link = xyes; then
21843 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21846 /* end confdefs.h. */
21847 #include <locale.h>
21856 if ac_fn_c_try_link "$LINENO"; then :
21857 am_cv_val_LC_MESSAGES=yes
21859 am_cv_val_LC_MESSAGES=no
21861 rm -f core conftest.err conftest.$ac_objext \
21862 conftest$ac_exeext conftest.$ac_ext
21864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
21865 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21866 if test $am_cv_val_LC_MESSAGES = yes; then
21868 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21873 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21874 if test "${ac_cv_struct_tm+set}" = set; then :
21875 $as_echo_n "(cached) " >&6
21877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21879 #include <sys/types.h>
21886 int *p = &tm.tm_sec;
21892 if ac_fn_c_try_compile "$LINENO"; then :
21893 ac_cv_struct_tm=time.h
21895 ac_cv_struct_tm=sys/time.h
21897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21900 $as_echo "$ac_cv_struct_tm" >&6; }
21901 if test $ac_cv_struct_tm = sys/time.h; then
21903 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21907 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
21908 #include <$ac_cv_struct_tm>
21911 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
21913 cat >>confdefs.h <<_ACEOF
21914 #define HAVE_STRUCT_TM_TM_ZONE 1
21920 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
21922 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
21925 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
21927 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
21933 cat >>confdefs.h <<_ACEOF
21934 #define HAVE_DECL_TZNAME $ac_have_decl
21937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
21938 $as_echo_n "checking for tzname... " >&6; }
21939 if test "${ac_cv_var_tzname+set}" = set; then :
21940 $as_echo_n "(cached) " >&6
21942 if test x$gcc_no_link = xyes; then
21943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21946 /* end confdefs.h. */
21948 #if !HAVE_DECL_TZNAME
21949 extern char *tzname[];
21955 return tzname[0][0];
21960 if ac_fn_c_try_link "$LINENO"; then :
21961 ac_cv_var_tzname=yes
21963 ac_cv_var_tzname=no
21965 rm -f core conftest.err conftest.$ac_objext \
21966 conftest$ac_exeext conftest.$ac_ext
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
21969 $as_echo "$ac_cv_var_tzname" >&6; }
21970 if test $ac_cv_var_tzname = yes; then
21972 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21977 LDLIBICONV=`echo " $LIBICONV " |
sed "s/${acl_cv_wl--Wl,}/ /g; s/,/ /g"`
21980 for ac_func in gethostbyname_r
21982 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
21983 if test "x$ac_cv_func_gethostbyname_r" = x""yes; then :
21984 cat >>confdefs.h <<_ACEOF
21985 #define HAVE_GETHOSTBYNAME_R 1
21989 $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
21991 # There are two different kinds of gethostbyname_r.
21992 # We look for the one that returns `int
'.
21993 # Hopefully this check is robust enough.
21994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21995 /* end confdefs.h. */
21999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22000 $EGREP "int.*gethostbyname_r" >/dev/null 2>&1; then :
22003 $as_echo "#define GETHOSTBYNAME_R_RETURNS_INT 1" >>confdefs.h
22009 case " $GCINCS " in
22010 *" -D_REENTRANT "*) ;;
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22013 $as_echo_n "checking whether gethostbyname_r declaration requires -D_REENTRANT... " >&6; }
22014 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then :
22015 $as_echo_n "(cached) " >&6
22018 ac_cpp='$CXXCPP $CPPFLAGS'
22019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22020 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22024 /* end confdefs.h. */
22029 gethostbyname_r("", 0, 0);
22034 if ac_fn_cxx_try_compile "$LINENO"; then :
22035 libjava_cv_gethostbyname_r_needs_reentrant=no
22037 CPPFLAGS_SAVE="$CPPFLAGS"
22038 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
22039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22040 /* end confdefs.h. */
22045 gethostbyname_r("", 0, 0);
22050 if ac_fn_cxx_try_compile "$LINENO"; then :
22051 libjava_cv_gethostbyname_r_needs_reentrant=yes
22053 libjava_cv_gethostbyname_r_needs_reentrant=fail
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056 CPPFLAGS="$CPPFLAGS_SAVE"
22059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 ac_cpp='$CPP $CPPFLAGS'
22062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22063 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22069 $as_echo "$libjava_cv_gethostbyname_r_needs_reentrant" >&6; }
22070 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes; then
22072 $as_echo "#define _REENTRANT 1" >>confdefs.h
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct hostent_data" >&5
22079 $as_echo_n "checking for struct hostent_data... " >&6; }
22080 if test "${libjava_cv_struct_hostent_data+set}" = set; then :
22081 $as_echo_n "(cached) " >&6
22083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22084 /* end confdefs.h. */
22086 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22087 # define _REENTRANT 1
22093 struct hostent_data data;
22098 if ac_fn_c_try_compile "$LINENO"; then :
22099 libjava_cv_struct_hostent_data=yes
22101 libjava_cv_struct_hostent_data=no
22103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_struct_hostent_data" >&5
22106 $as_echo "$libjava_cv_struct_hostent_data" >&6; }
22107 if test "x$libjava_cv_struct_hostent_data" = xyes; then
22109 $as_echo "#define HAVE_STRUCT_HOSTENT_DATA 1" >>confdefs.h
22117 # FIXME: libjava source code expects to find a prototype for
22118 # gethostbyaddr_r in netdb.h. The outer check ensures that
22119 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22120 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22121 # linkage check is enough, yet C++ code requires proper prototypes.)
22122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22123 /* end confdefs.h. */
22127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22128 $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
22130 for ac_func in gethostbyaddr_r
22132 ac_fn_c_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r"
22133 if test "x$ac_cv_func_gethostbyaddr_r" = x""yes; then :
22134 cat >>confdefs.h <<_ACEOF
22135 #define HAVE_GETHOSTBYADDR_R 1
22139 $as_echo "#define HAVE_GETHOSTBYADDR_R 1" >>confdefs.h
22141 # There are two different kinds of gethostbyaddr_r.
22142 # We look for the one that returns `int'.
22143 # Hopefully this check is robust enough.
22144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22145 /* end confdefs.h. */
22149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22150 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then :
22153 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
22165 for ac_func
in gethostname
22167 ac_fn_c_check_func
"$LINENO" "gethostname" "ac_cv_func_gethostname"
22168 if test "x$ac_cv_func_gethostname" = x
""yes; then :
22169 cat >>confdefs.h
<<_ACEOF
22170 #define HAVE_GETHOSTNAME 1
22174 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
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 "gethostname" >/dev
/null
2>&1; then :
22185 $as_echo "#define HAVE_GETHOSTNAME_DECL 1" >>confdefs.h
22194 for ac_func
in usleep
22196 ac_fn_c_check_func
"$LINENO" "usleep" "ac_cv_func_usleep"
22197 if test "x$ac_cv_func_usleep" = x
""yes; then :
22198 cat >>confdefs.h
<<_ACEOF
22199 #define HAVE_USLEEP 1
22202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22203 /* end confdefs.h. */
22204 #include <unistd.h>
22207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22208 $EGREP "usleep" >/dev
/null
2>&1; then :
22211 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
22220 # Look for these functions in the thread library, but only bother
22221 # if using POSIX threads.
22222 if test "$THREADS" = posix
; then
22224 LIBS
="$LIBS $THREADLIBS"
22226 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
22227 # Solaris 7 the name librt is preferred.
22228 for ac_func
in sched_yield
22230 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
22231 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
22232 cat >>confdefs.h
<<_ACEOF
22233 #define HAVE_SCHED_YIELD 1
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
22239 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
22240 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
22241 $as_echo_n "(cached) " >&6
22243 ac_check_lib_save_LIBS
=$LIBS
22245 if test x
$gcc_no_link = xyes
; then
22246 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22249 /* end confdefs.h. */
22251 /* Override any GCC internal prototype to avoid an error.
22252 Use char because int might match the return type of a GCC
22253 builtin and then its argument prototype would still apply. */
22257 char sched_yield ();
22261 return sched_yield ();
22266 if ac_fn_c_try_link
"$LINENO"; then :
22267 ac_cv_lib_rt_sched_yield
=yes
22269 ac_cv_lib_rt_sched_yield
=no
22271 rm -f core conftest.err conftest.
$ac_objext \
22272 conftest
$ac_exeext conftest.
$ac_ext
22273 LIBS
=$ac_check_lib_save_LIBS
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
22276 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
22277 if test "x$ac_cv_lib_rt_sched_yield" = x
""yes; then :
22279 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22281 THREADLIBS
="$THREADLIBS -lrt"
22282 THREADSPEC
="$THREADSPEC -lrt"
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
22286 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
22287 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
22288 $as_echo_n "(cached) " >&6
22290 ac_check_lib_save_LIBS
=$LIBS
22291 LIBS
="-lposix4 $LIBS"
22292 if test x
$gcc_no_link = xyes
; then
22293 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h. */
22298 /* Override any GCC internal prototype to avoid an error.
22299 Use char because int might match the return type of a GCC
22300 builtin and then its argument prototype would still apply. */
22304 char sched_yield ();
22308 return sched_yield ();
22313 if ac_fn_c_try_link
"$LINENO"; then :
22314 ac_cv_lib_posix4_sched_yield
=yes
22316 ac_cv_lib_posix4_sched_yield
=no
22318 rm -f core conftest.err conftest.
$ac_objext \
22319 conftest
$ac_exeext conftest.
$ac_ext
22320 LIBS
=$ac_check_lib_save_LIBS
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
22323 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
22324 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
22326 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22328 THREADLIBS
="$THREADLIBS -lposix4"
22329 THREADSPEC
="$THREADSPEC -lposix4"
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22339 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22340 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22341 $as_echo_n "(cached) " >&6
22343 ac_check_lib_save_LIBS
=$LIBS
22345 if test x
$gcc_no_link = xyes
; then
22346 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h. */
22351 /* Override any GCC internal prototype to avoid an error.
22352 Use char because int might match the return type of a GCC
22353 builtin and then its argument prototype would still apply. */
22357 char clock_gettime ();
22361 return clock_gettime ();
22366 if ac_fn_c_try_link
"$LINENO"; then :
22367 ac_cv_lib_rt_clock_gettime
=yes
22369 ac_cv_lib_rt_clock_gettime
=no
22371 rm -f core conftest.err conftest.
$ac_objext \
22372 conftest
$ac_exeext conftest.
$ac_ext
22373 LIBS
=$ac_check_lib_save_LIBS
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22376 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22377 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
22380 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22382 case "$THREADSPEC" in
22385 THREADSPEC
="$THREADSPEC -lrt"
22386 THREADLIBS
="$THREADLIBS -lrt"
22394 # We can save a little space at runtime if the mutex has m_count
22395 # or __m_count. This is a nice hack for Linux.
22396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22397 /* end confdefs.h. */
22398 #include <pthread.h>
22403 extern pthread_mutex_t *mutex; int q = mutex->m_count;
22409 if ac_fn_c_try_compile
"$LINENO"; then :
22411 $as_echo "#define PTHREAD_MUTEX_HAVE_M_COUNT 1" >>confdefs.h
22415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h. */
22417 #include <pthread.h>
22422 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
22428 if ac_fn_c_try_compile
"$LINENO"; then :
22430 $as_echo "#define PTHREAD_MUTEX_HAVE___M_COUNT 1" >>confdefs.h
22433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22438 # We require a way to get the time.
22440 for ac_func
in gettimeofday
time ftime
22442 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22443 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22444 eval as_val
=\$
$as_ac_var
22445 if test "x$as_val" = x
""yes; then :
22446 cat >>confdefs.h
<<_ACEOF
22447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22453 if test "$time_found" = no
; then
22454 as_fn_error
"no function found to get the time" "$LINENO" 5
22457 for ac_func
in memmove
22459 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
22460 if test "x$ac_cv_func_memmove" = x
""yes; then :
22461 cat >>confdefs.h
<<_ACEOF
22462 #define HAVE_MEMMOVE 1
22469 # We require memcpy.
22471 for ac_func
in memcpy
22473 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
22474 if test "x$ac_cv_func_memcpy" = x
""yes; then :
22475 cat >>confdefs.h
<<_ACEOF
22476 #define HAVE_MEMCPY 1
22482 if test "$memcpy_found" = no
; then
22483 as_fn_error
"memcpy is required" "$LINENO" 5
22485 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
22487 $as_echo_n "checking for dlopen in -ldl... " >&6; }
22488 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
22489 $as_echo_n "(cached) " >&6
22491 ac_check_lib_save_LIBS
=$LIBS
22493 if test x
$gcc_no_link = xyes
; then
22494 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22497 /* end confdefs.h. */
22499 /* Override any GCC internal prototype to avoid an error.
22500 Use char because int might match the return type of a GCC
22501 builtin and then its argument prototype would still apply. */
22514 if ac_fn_c_try_link
"$LINENO"; then :
22515 ac_cv_lib_dl_dlopen
=yes
22517 ac_cv_lib_dl_dlopen
=no
22519 rm -f core conftest.err conftest.
$ac_objext \
22520 conftest
$ac_exeext conftest.
$ac_ext
22521 LIBS
=$ac_check_lib_save_LIBS
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
22524 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
22525 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
22528 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldld" >&5
22533 $as_echo_n "checking for dlopen in -ldld... " >&6; }
22534 if test "${ac_cv_lib_dld_dlopen+set}" = set; then :
22535 $as_echo_n "(cached) " >&6
22537 ac_check_lib_save_LIBS
=$LIBS
22539 if test x
$gcc_no_link = xyes
; then
22540 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22543 /* end confdefs.h. */
22545 /* Override any GCC internal prototype to avoid an error.
22546 Use char because int might match the return type of a GCC
22547 builtin and then its argument prototype would still apply. */
22560 if ac_fn_c_try_link
"$LINENO"; then :
22561 ac_cv_lib_dld_dlopen
=yes
22563 ac_cv_lib_dld_dlopen
=no
22565 rm -f core conftest.err conftest.
$ac_objext \
22566 conftest
$ac_exeext conftest.
$ac_ext
22567 LIBS
=$ac_check_lib_save_LIBS
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dlopen" >&5
22570 $as_echo "$ac_cv_lib_dld_dlopen" >&6; }
22571 if test "x$ac_cv_lib_dld_dlopen" = x
""yes; then :
22574 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22581 # Some library-finding code we stole from Tcl.
22582 #--------------------------------------------------------------------
22583 # Check for the existence of the -lsocket and -lnsl libraries.
22584 # The order here is important, so that they end up in the right
22585 # order in the command line generated by make. Here are some
22586 # special considerations:
22587 # 1. Use "connect" and "accept" to check for -lsocket, and
22588 # "gethostbyname" to check for -lnsl.
22589 # 2. Use each function name only once: can't redo a check because
22590 # autoconf caches the results of the last check and won't redo it.
22591 # 3. Use -lnsl and -lsocket only if they supply procedures that
22592 # aren't already present in the normal libraries. This is because
22593 # IRIX 5.2 has libraries, but they aren't needed and they're
22594 # bogus: they goof up name resolution if used.
22595 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
22596 # To get around this problem, check for both libraries together
22597 # if -lsocket doesn't work by itself.
22598 #--------------------------------------------------------------------
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
22601 $as_echo_n "checking for socket libraries... " >&6; }
22602 if test "${gcj_cv_lib_sockets+set}" = set; then :
22603 $as_echo_n "(cached) " >&6
22605 gcj_cv_lib_sockets
=
22607 unset ac_cv_func_connect
22608 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
22609 if test "x$ac_cv_func_connect" = x
""yes; then :
22615 if test "$gcj_checkSocket" = 1; then
22616 unset ac_cv_func_connect
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
22618 $as_echo_n "checking for main in -lsocket... " >&6; }
22619 if test "${ac_cv_lib_socket_main+set}" = set; then :
22620 $as_echo_n "(cached) " >&6
22622 ac_check_lib_save_LIBS
=$LIBS
22623 LIBS
="-lsocket $LIBS"
22624 if test x
$gcc_no_link = xyes
; then
22625 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22628 /* end confdefs.h. */
22639 if ac_fn_c_try_link
"$LINENO"; then :
22640 ac_cv_lib_socket_main
=yes
22642 ac_cv_lib_socket_main
=no
22644 rm -f core conftest.err conftest.
$ac_objext \
22645 conftest
$ac_exeext conftest.
$ac_ext
22646 LIBS
=$ac_check_lib_save_LIBS
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
22649 $as_echo "$ac_cv_lib_socket_main" >&6; }
22650 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
22651 gcj_cv_lib_sockets
="-lsocket"
22657 if test "$gcj_checkBoth" = 1; then
22659 LIBS
="$LIBS -lsocket -lnsl"
22660 unset ac_cv_func_accept
22661 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
22662 if test "x$ac_cv_func_accept" = x
""yes; then :
22664 gcj_cv_lib_sockets
="-lsocket -lnsl"
22667 unset ac_cv_func_accept
22670 unset ac_cv_func_gethostbyname
22672 LIBS
="$LIBS $gcj_cv_lib_sockets"
22673 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22674 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
22678 $as_echo_n "checking for main in -lnsl... " >&6; }
22679 if test "${ac_cv_lib_nsl_main+set}" = set; then :
22680 $as_echo_n "(cached) " >&6
22682 ac_check_lib_save_LIBS
=$LIBS
22684 if test x
$gcc_no_link = xyes
; then
22685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22688 /* end confdefs.h. */
22699 if ac_fn_c_try_link
"$LINENO"; then :
22700 ac_cv_lib_nsl_main
=yes
22702 ac_cv_lib_nsl_main
=no
22704 rm -f core conftest.err conftest.
$ac_objext \
22705 conftest
$ac_exeext conftest.
$ac_ext
22706 LIBS
=$ac_check_lib_save_LIBS
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
22709 $as_echo "$ac_cv_lib_nsl_main" >&6; }
22710 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
22711 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
22716 unset ac_cv_func_gethostbyname
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcj_cv_lib_sockets" >&5
22721 $as_echo "$gcj_cv_lib_sockets" >&6; }
22722 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
22724 if test "$with_system_zlib" = yes; then
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22726 $as_echo_n "checking for deflate in -lz... " >&6; }
22727 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22728 $as_echo_n "(cached) " >&6
22730 ac_check_lib_save_LIBS
=$LIBS
22732 if test x
$gcc_no_link = xyes
; then
22733 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22736 /* end confdefs.h. */
22738 /* Override any GCC internal prototype to avoid an error.
22739 Use char because int might match the return type of a GCC
22740 builtin and then its argument prototype would still apply. */
22753 if ac_fn_c_try_link
"$LINENO"; then :
22754 ac_cv_lib_z_deflate
=yes
22756 ac_cv_lib_z_deflate
=no
22758 rm -f core conftest.err conftest.
$ac_objext \
22759 conftest
$ac_exeext conftest.
$ac_ext
22760 LIBS
=$ac_check_lib_save_LIBS
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22763 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22764 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22772 # Test for Gtk stuff, if asked for.
22773 if test "$use_gtk_awt" = yes; then
22777 if test -z "$PKG_CONFIG"; then
22778 # Extract the first word of "pkg-config", so it can be a program name with args.
22779 set dummy pkg-config
; ac_word
=$2
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22781 $as_echo_n "checking for $ac_word... " >&6; }
22782 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22783 $as_echo_n "(cached) " >&6
22785 case $PKG_CONFIG in
22787 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22791 for as_dir
in $PATH
22794 test -z "$as_dir" && as_dir
=.
22795 for ac_exec_ext
in '' $ac_executable_extensions; do
22796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22797 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22805 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22809 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22810 if test -n "$PKG_CONFIG"; then
22811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22812 $as_echo "$PKG_CONFIG" >&6; }
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22815 $as_echo "no" >&6; }
22821 if test "$PKG_CONFIG" = "no" ; then
22822 echo "*** The pkg-config script could not be found. Make sure it is"
22823 echo "*** in your path, or set the PKG_CONFIG environment variable"
22824 echo "*** to the full path to pkg-config."
22825 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22827 PKG_CONFIG_MIN_VERSION
=0.9.0
22828 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4" >&5
22830 $as_echo_n "checking for gtk+-2.0 >= 2.4... " >&6; }
22832 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22834 $as_echo "yes" >&6; }
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
22838 $as_echo_n "checking GTK_CFLAGS... " >&6; }
22839 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
22841 $as_echo "$GTK_CFLAGS" >&6; }
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
22844 $as_echo_n "checking GTK_LIBS... " >&6; }
22845 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
22847 $as_echo "$GTK_LIBS" >&6; }
22851 ## If we have a custom action on failure, don't print errors, but
22852 ## do set a variable so people can do so.
22853 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
22854 echo $GTK_PKG_ERRORS
22860 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22861 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22865 if test $succeeded = yes; then
22868 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
22877 if test -z "$PKG_CONFIG"; then
22878 # Extract the first word of "pkg-config", so it can be a program name with args.
22879 set dummy pkg-config
; ac_word
=$2
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22881 $as_echo_n "checking for $ac_word... " >&6; }
22882 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22883 $as_echo_n "(cached) " >&6
22885 case $PKG_CONFIG in
22887 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22891 for as_dir
in $PATH
22894 test -z "$as_dir" && as_dir
=.
22895 for ac_exec_ext
in '' $ac_executable_extensions; do
22896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22897 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22905 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22909 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22910 if test -n "$PKG_CONFIG"; then
22911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22912 $as_echo "$PKG_CONFIG" >&6; }
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22915 $as_echo "no" >&6; }
22921 if test "$PKG_CONFIG" = "no" ; then
22922 echo "*** The pkg-config script could not be found. Make sure it is"
22923 echo "*** in your path, or set the PKG_CONFIG environment variable"
22924 echo "*** to the full path to pkg-config."
22925 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22927 PKG_CONFIG_MIN_VERSION
=0.9.0
22928 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
22930 $as_echo_n "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... " >&6; }
22932 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22934 $as_echo "yes" >&6; }
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
22938 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
22939 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
22941 $as_echo "$GLIB_CFLAGS" >&6; }
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
22944 $as_echo_n "checking GLIB_LIBS... " >&6; }
22945 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
22947 $as_echo "$GLIB_LIBS" >&6; }
22951 ## If we have a custom action on failure, don't print errors, but
22952 ## do set a variable so people can do so.
22953 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22954 echo $GLIB_PKG_ERRORS
22960 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22961 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22965 if test $succeeded = yes; then
22968 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
22977 if test -z "$PKG_CONFIG"; then
22978 # Extract the first word of "pkg-config", so it can be a program name with args.
22979 set dummy pkg-config
; ac_word
=$2
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22981 $as_echo_n "checking for $ac_word... " >&6; }
22982 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22983 $as_echo_n "(cached) " >&6
22985 case $PKG_CONFIG in
22987 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22991 for as_dir
in $PATH
22994 test -z "$as_dir" && as_dir
=.
22995 for ac_exec_ext
in '' $ac_executable_extensions; do
22996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22997 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23005 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23009 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23010 if test -n "$PKG_CONFIG"; then
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23012 $as_echo "$PKG_CONFIG" >&6; }
23014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23015 $as_echo "no" >&6; }
23021 if test "$PKG_CONFIG" = "no" ; then
23022 echo "*** The pkg-config script could not be found. Make sure it is"
23023 echo "*** in your path, or set the PKG_CONFIG environment variable"
23024 echo "*** to the full path to pkg-config."
23025 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23027 PKG_CONFIG_MIN_VERSION
=0.9.0
23028 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libart-2.0 >= 2.1" >&5
23030 $as_echo_n "checking for libart-2.0 >= 2.1... " >&6; }
23032 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23034 $as_echo "yes" >&6; }
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_CFLAGS" >&5
23038 $as_echo_n "checking LIBART_CFLAGS... " >&6; }
23039 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_CFLAGS" >&5
23041 $as_echo "$LIBART_CFLAGS" >&6; }
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_LIBS" >&5
23044 $as_echo_n "checking LIBART_LIBS... " >&6; }
23045 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
23046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_LIBS" >&5
23047 $as_echo "$LIBART_LIBS" >&6; }
23051 ## If we have a custom action on failure, don't print errors, but
23052 ## do set a variable so people can do so.
23053 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
23054 echo $LIBART_PKG_ERRORS
23060 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23061 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23065 if test $succeeded = yes; then
23068 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
23074 # We require the XTest Extension to support java.awt.Robot.
23075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
23076 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
23077 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
23078 $as_echo_n "(cached) " >&6
23080 ac_check_lib_save_LIBS
=$LIBS
23081 LIBS
="-lXtst ${X_LIBS} $LIBS"
23082 if test x
$gcc_no_link = xyes
; then
23083 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23086 /* end confdefs.h. */
23088 /* Override any GCC internal prototype to avoid an error.
23089 Use char because int might match the return type of a GCC
23090 builtin and then its argument prototype would still apply. */
23094 char XTestQueryExtension ();
23098 return XTestQueryExtension ();
23103 if ac_fn_c_try_link
"$LINENO"; then :
23104 ac_cv_lib_Xtst_XTestQueryExtension
=yes
23106 ac_cv_lib_Xtst_XTestQueryExtension
=no
23108 rm -f core conftest.err conftest.
$ac_objext \
23109 conftest
$ac_exeext conftest.
$ac_ext
23110 LIBS
=$ac_check_lib_save_LIBS
23112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
23113 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
23114 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
23117 as_fn_error
"libXtst not found, required by java.awt.Robot" "$LINENO" 5
23122 # On Solaris, and maybe other architectures, the Boehm collector
23124 if test "$GC" = boehm
; then
23127 # While IRIX 6 has libdl for the O32 and N32 ABIs, the N64 one is
23128 # missing. It's unnecessary anyway since dlopen lives in libc.
23133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
23134 $as_echo_n "checking for main in -ldl... " >&6; }
23135 if test "${ac_cv_lib_dl_main+set}" = set; then :
23136 $as_echo_n "(cached) " >&6
23138 ac_check_lib_save_LIBS
=$LIBS
23140 if test x
$gcc_no_link = xyes
; then
23141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23144 /* end confdefs.h. */
23155 if ac_fn_c_try_link
"$LINENO"; then :
23156 ac_cv_lib_dl_main
=yes
23158 ac_cv_lib_dl_main
=no
23160 rm -f core conftest.err conftest.
$ac_objext \
23161 conftest
$ac_exeext conftest.
$ac_ext
23162 LIBS
=$ac_check_lib_save_LIBS
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
23165 $as_echo "$ac_cv_lib_dl_main" >&6; }
23166 if test "x$ac_cv_lib_dl_main" = x
""yes; then :
23167 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
23175 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
23177 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
23178 *) CLASSPATH_SEPARATOR
=':' ;;
23182 # We must search the source tree for java.lang, since we still don't
23183 # have libgcj.jar nor java/lang/*.class
23184 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
23185 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
23187 # Since some classes depend on this one, we need its source available
23188 # before we can do any GCJ compilation test :-(
23189 if test ! -f gnu
/classpath
/Configuration.java
; then
23190 test -d gnu || mkdir gnu
23191 test -d gnu
/classpath || mkdir gnu
/classpath
23192 # Note that it is not crucial that all the values here be correct.
23193 sed -e "s,@prefix@,$expanded_prefix," \
23194 -e "s,@VERSION@,$VERSION," \
23195 -e "s,@LIBDEBUG@,false," \
23196 -e "s,@INIT_LOAD_LIBRARY@,false," \
23197 -e "s,@@,$LIBGCJDEBUG," \
23198 -e "s,@default_toolkit@,$TOOLKIT," \
23199 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
23200 -e "s,@GTK_CAIRO_ENABLED@,false," \
23201 -e "s,@ECJ_JAR@,," \
23202 -e "s,@WANT_NATIVE_BIG_INTEGER@,false," \
23203 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
23204 > gnu
/classpath
/Configuration.java
23205 # We do not want to redirect the output of the grep below to /dev/null,
23206 # but we add /dev/null to the input list so that grep will print the
23207 # filename of Configuration.java in case it finds any matches.
23208 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
23209 as_fn_error
"configure.ac is missing the substitutions above" "$LINENO" 5
23214 if test -n "$ac_tool_prefix"; then
23217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23218 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23220 $as_echo_n "checking for $ac_word... " >&6; }
23221 if test "${ac_cv_prog_GCJ+set}" = set; then :
23222 $as_echo_n "(cached) " >&6
23224 if test -n "$GCJ"; then
23225 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
23227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23228 for as_dir
in $PATH
23231 test -z "$as_dir" && as_dir
=.
23232 for ac_exec_ext
in '' $ac_executable_extensions; do
23233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23234 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
23235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23244 GCJ
=$ac_cv_prog_GCJ
23245 if test -n "$GCJ"; then
23246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
23247 $as_echo "$GCJ" >&6; }
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23250 $as_echo "no" >&6; }
23254 test -n "$GCJ" && break
23257 if test -z "$GCJ"; then
23261 # Extract the first word of "$ac_prog", so it can be a program name with args.
23262 set dummy
$ac_prog; ac_word
=$2
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23264 $as_echo_n "checking for $ac_word... " >&6; }
23265 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
23266 $as_echo_n "(cached) " >&6
23268 if test -n "$ac_ct_GCJ"; then
23269 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
23271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23272 for as_dir
in $PATH
23275 test -z "$as_dir" && as_dir
=.
23276 for ac_exec_ext
in '' $ac_executable_extensions; do
23277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23278 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
23279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23288 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
23289 if test -n "$ac_ct_GCJ"; then
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
23291 $as_echo "$ac_ct_GCJ" >&6; }
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23294 $as_echo "no" >&6; }
23298 test -n "$ac_ct_GCJ" && break
23301 if test "x$ac_ct_GCJ" = x
; then
23304 case $cross_compiling:$ac_tool_warned in
23306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23308 ac_tool_warned
=yes ;;
23314 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
23315 if test "x${GCJFLAGS-unset}" = xunset
; then
23320 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
23323 $as_echo_n "checking dependency style of $depcc... " >&6; }
23324 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
23325 $as_echo_n "(cached) " >&6
23327 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
23328 # We make a subdir and do the tests there. Otherwise we can end up
23329 # making bogus files that we don't know about and never remove. For
23330 # instance it was reported that on HP-UX the gcc test will end up
23331 # making a dummy file named `D' -- because `-MD' means `put the output
23334 # Copy depcomp to subdir because otherwise we won't find it if we're
23335 # using a relative directory.
23336 cp "$am_depcomp" conftest.dir
23338 # We will build objects and dependencies in a subdirectory because
23339 # it helps to detect inapplicable dependency modes. For instance
23340 # both Tru64's cc and ICC support -MD to output dependencies as a
23341 # side effect of compilation, but ICC will put the dependencies in
23342 # the current directory while Tru64 will put them in the object
23346 am_cv_GCJ_dependencies_compiler_type
=none
23347 if test "$am_compiler_list" = ""; then
23348 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
23350 am__universal
=false
23353 for depmode
in $am_compiler_list; do
23354 # Setup a source with many dependencies, because some compilers
23355 # like to wrap large dependency lists on column 80 (with \), and
23356 # we should not choose a depcomp mode which is confused by this.
23358 # We need to recreate these files for each test, as the compiler may
23359 # overwrite some of them when testing with obscure command lines.
23360 # This happens at least with the AIX C compiler.
23362 for i
in 1 2 3 4 5 6; do
23363 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
23364 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
23365 # Solaris 8's {/usr,}/bin/sh.
23366 touch sub
/conftst
$i.h
23368 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
23370 # We check with `-c' and `-o' for the sake of the "dashmstdout"
23371 # mode. It turns out that the SunPro C++ compiler does not properly
23372 # handle `-M -o', and we need to detect this. Also, some Intel
23373 # versions had trouble with output in subdirs
23374 am__obj
=sub
/conftest.
${OBJEXT-o}
23375 am__minus_obj
="-o $am__obj"
23378 # This depmode causes a compiler race in universal mode.
23379 test "$am__universal" = false ||
continue
23382 # after this tag, mechanisms are not by side-effect, so they'll
23383 # only be used when explicitly requested
23384 if test "x$enable_dependency_tracking" = xyes
; then
23390 msvisualcpp | msvcmsys
)
23391 # This compiler won't grok `-c -o', but also, the minuso test has
23392 # not run yet. These depmodes are late enough in the game, and
23393 # so weak that their functioning should not be impacted.
23394 am__obj
=conftest.
${OBJEXT-o}
23399 if depmode
=$depmode \
23400 source=sub
/conftest.c object
=$am__obj \
23401 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
23402 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
23403 >/dev
/null
2>conftest.err
&&
23404 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23405 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23406 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
23407 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
23408 # icc doesn't choke on unknown options, it will just issue warnings
23409 # or remarks (even with -Werror). So we grep stderr for any message
23410 # that says an option was ignored or not supported.
23411 # When given -MP, icc 7.0 and 7.1 complain thusly:
23412 # icc: Command line warning: ignoring option '-M'; no argument required
23413 # The diagnosis changed in icc 8.0:
23414 # icc: Command line remark: option '-MP' not supported
23415 if (grep 'ignoring option' conftest.err ||
23416 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
23417 am_cv_GCJ_dependencies_compiler_type
=$depmode
23424 rm -rf conftest.dir
23426 am_cv_GCJ_dependencies_compiler_type
=none
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
23431 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
23432 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
23435 test "x$enable_dependency_tracking" != xno \
23436 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
23437 am__fastdepGCJ_TRUE
=
23438 am__fastdepGCJ_FALSE
='#'
23440 am__fastdepGCJ_TRUE
='#'
23441 am__fastdepGCJ_FALSE
=
23448 rm -f gnu
/classpath
/Configuration.java
23450 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
23452 # The cast to long int works around a bug in the HP C Compiler
23453 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23454 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23455 # This bug is HP SR number 8606223364.
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
23457 $as_echo_n "checking size of void *... " >&6; }
23458 if test "${ac_cv_sizeof_void_p+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23461 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
23464 if test "$ac_cv_type_void_p" = yes; then
23465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23467 { as_fn_set_status
77
23468 as_fn_error
"cannot compute sizeof (void *)
23469 See \`config.log' for more details." "$LINENO" 5; }; }
23471 ac_cv_sizeof_void_p
=0
23476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
23477 $as_echo "$ac_cv_sizeof_void_p" >&6; }
23481 cat >>confdefs.h
<<_ACEOF
23482 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23488 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23489 if test "${ac_cv_c_bigendian+set}" = set; then :
23490 $as_echo_n "(cached) " >&6
23492 ac_cv_c_bigendian
=unknown
23493 # See if we're dealing with a universal compiler.
23494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23495 /* end confdefs.h. */
23496 #ifndef __APPLE_CC__
23497 not a universal capable compiler
23502 if ac_fn_c_try_compile
"$LINENO"; then :
23504 # Check for potential -arch flags. It is not universal unless
23505 # there are at least two -arch flags with different values.
23508 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
23509 if test -n "$ac_prev"; then
23511 i?
86 | x86_64 | ppc | ppc64
)
23512 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
23515 ac_cv_c_bigendian
=universal
23521 elif test "x$ac_word" = "x-arch"; then
23526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23527 if test $ac_cv_c_bigendian = unknown
; then
23528 # See if sys/param.h defines the BYTE_ORDER macro.
23529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23530 /* end confdefs.h. */
23531 #include <sys/types.h>
23532 #include <sys/param.h>
23537 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
23538 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
23540 bogus endian macros
23547 if ac_fn_c_try_compile
"$LINENO"; then :
23548 # It does; now see whether it defined to BIG_ENDIAN or not.
23549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23550 /* end confdefs.h. */
23551 #include <sys/types.h>
23552 #include <sys/param.h>
23557 #if BYTE_ORDER != BIG_ENDIAN
23565 if ac_fn_c_try_compile
"$LINENO"; then :
23566 ac_cv_c_bigendian
=yes
23568 ac_cv_c_bigendian
=no
23570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23574 if test $ac_cv_c_bigendian = unknown
; then
23575 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
23576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23577 /* end confdefs.h. */
23578 #include <limits.h>
23583 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
23584 bogus endian macros
23591 if ac_fn_c_try_compile
"$LINENO"; then :
23592 # It does; now see whether it defined to _BIG_ENDIAN or not.
23593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23594 /* end confdefs.h. */
23595 #include <limits.h>
23600 #ifndef _BIG_ENDIAN
23608 if ac_fn_c_try_compile
"$LINENO"; then :
23609 ac_cv_c_bigendian
=yes
23611 ac_cv_c_bigendian
=no
23613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23617 if test $ac_cv_c_bigendian = unknown
; then
23618 # Compile a test program.
23619 if test "$cross_compiling" = yes; then :
23620 # Try to guess by grepping values from an object file.
23621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23622 /* end confdefs.h. */
23623 short int ascii_mm[] =
23624 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23625 short int ascii_ii[] =
23626 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23627 int use_ascii (int i) {
23628 return ascii_mm[i] + ascii_ii[i];
23630 short int ebcdic_ii[] =
23631 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23632 short int ebcdic_mm[] =
23633 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23634 int use_ebcdic (int i) {
23635 return ebcdic_mm[i] + ebcdic_ii[i];
23642 return use_ascii (foo) == use_ebcdic (foo);
23647 if ac_fn_c_try_compile
"$LINENO"; then :
23648 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23649 ac_cv_c_bigendian
=yes
23651 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23652 if test "$ac_cv_c_bigendian" = unknown
; then
23653 ac_cv_c_bigendian
=no
23655 # finding both strings is unlikely to happen, but who knows?
23656 ac_cv_c_bigendian
=unknown
23660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23663 /* end confdefs.h. */
23664 $ac_includes_default
23669 /* Are we little or big endian? From Harbison&Steele. */
23673 char c[sizeof (long int)];
23676 return u.c[sizeof (long int) - 1] == 1;
23682 if ac_fn_c_try_run
"$LINENO"; then :
23683 ac_cv_c_bigendian
=no
23685 ac_cv_c_bigendian
=yes
23687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23688 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
23694 $as_echo "$ac_cv_c_bigendian" >&6; }
23695 case $ac_cv_c_bigendian in #(
23697 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
23703 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
23707 as_fn_error
"unknown endianness
23708 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
23716 if test -z "$ZLIBSPEC"; then
23717 # Use zlib from the GCC tree.
23718 ZINCS
='-I$(top_srcdir)/../zlib'
23719 ZLIBS
=..
/zlib
/libzgcj_convenience.la
23722 SYS_ZLIBS
="$ZLIBSPEC"
23734 if test "$NATIVE" = yes; then
23742 if test "$enable_shared" = yes; then
23743 ENABLE_SHARED_TRUE
=
23744 ENABLE_SHARED_FALSE
='#'
23746 ENABLE_SHARED_TRUE
='#'
23747 ENABLE_SHARED_FALSE
=
23750 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
23751 NEEDS_DATA_START_TRUE
=
23752 NEEDS_DATA_START_FALSE
='#'
23754 NEEDS_DATA_START_TRUE
='#'
23755 NEEDS_DATA_START_FALSE
=
23758 if test -z "${with_multisubdir}"; then
23759 INSTALL_BINARIES_TRUE
=
23760 INSTALL_BINARIES_FALSE
='#'
23762 INSTALL_BINARIES_TRUE
='#'
23763 INSTALL_BINARIES_FALSE
=
23768 # Process the option "--enable-version-specific-runtime-libs"
23769 # Calculate toolexeclibdir
23770 case ${version_specific_libs} in
23772 # Need the gcc compiler version to know where to install libraries
23773 # and header files if --enable-version-specific-runtime-libs option
23775 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
23776 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
23777 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
23778 toolexeclibdir
=$toolexecmainlibdir
23781 if test -n "$with_cross_host" &&
23782 test x
"$with_cross_host" != x
"no"; then
23783 # Install a library built with a cross compiler in tooldir, not libdir.
23784 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
23785 toolexecmainlibdir
='$(toolexecdir)/lib'
23787 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
23788 toolexecmainlibdir
='$(libdir)'
23790 multi_os_directory
=`$CC -print-multi-os-directory`
23791 case $multi_os_directory in
23792 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
23793 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
23801 # Determine gcj and libgcj version number.
23802 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
23803 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
23804 GCJVERSION
=$gcjversion
23807 cat >>confdefs.h
<<_ACEOF
23808 #define GCJVERSION "$GCJVERSION"
23812 # Determine where the standard .db file and GNU Classpath JNI
23813 # libraries are found.
23814 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
23815 multi_os_directory
=`$CC -print-multi-os-directory`
23816 case $multi_os_directory in
23818 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
23821 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
23828 $as_echo "#define JV_VERSION \"1.5.0\"" >>confdefs.h
23831 $as_echo "#define JV_API_VERSION \"1.5\"" >>confdefs.h
23835 case "${with_gxx_include_dir}" in
23837 as_fn_error
"--with-gxx-include-dir=[dir] requires a directory" "$LINENO" 5
23840 case "${enable_version_specific_runtime_libs}" in
23841 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
23843 libstdcxx_incdir
='c++/$(gcc_version)'
23844 gxx_include_dir
='include/$(libstdcxx_incdir)'
23845 if test -n "$with_cross_host" &&
23846 test x
"$with_cross_host" != x
"no"; then
23847 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
23849 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
23852 *) gxx_include_dir
=${with_gxx_include_dir} ;;
23858 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
23859 # On that system, sys/ioctl.h will not include sys/filio.h unless
23860 # BSD_COMP is defined; just including sys/filio.h is simpler.
23861 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
23862 # for now. If you change this, you also must update natFile.cc.
23863 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
23864 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
23865 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h \
23866 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
23867 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
23869 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23870 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23871 eval as_val
=\$
$as_ac_Header
23872 if test "x$as_val" = x
""yes; then :
23873 cat >>confdefs.h
<<_ACEOF
23874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23882 # sys/socket.h is a prerequisite for net/if.h on Solaris.
23883 for ac_header
in net
/if.h
23885 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
23886 #ifdef HAVE_SYS_SOCKET_H
23887 #include <sys/socket.h>
23891 if test "x$ac_cv_header_net_if_h" = x
""yes; then :
23892 cat >>confdefs.h
<<_ACEOF
23893 #define HAVE_NET_IF_H 1
23901 for ac_header
in inttypes.h
23903 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
23904 if test "x$ac_cv_header_inttypes_h" = x
""yes; then :
23905 cat >>confdefs.h
<<_ACEOF
23906 #define HAVE_INTTYPES_H 1
23910 $as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h
23913 $as_echo "#define JV_HAVE_INTTYPES_H 1" >>confdefs.h
23921 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
23922 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
23926 cat >>confdefs.h
<<_ACEOF
23927 #define ssize_t int
23932 ac_fn_c_check_type
"$LINENO" "magic_t" "ac_cv_type_magic_t" "
23933 #ifdef HAVE_MAGIC_H
23937 if test "x$ac_cv_type_magic_t" = x
""yes; then :
23940 $as_echo "#define HAVE_MAGIC_T 1" >>confdefs.h
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t" >&5
23946 $as_echo_n "checking for in_addr_t... " >&6; }
23947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23948 /* end confdefs.h. */
23949 #include <sys/types.h>
23951 #include <stdlib.h>
23952 #include <stddef.h>
23954 #if HAVE_NETINET_IN_H
23955 #include <netinet/in.h>
23965 if ac_fn_c_try_compile
"$LINENO"; then :
23967 $as_echo "#define HAVE_IN_ADDR_T 1" >>confdefs.h
23969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23970 $as_echo "yes" >&6; }
23972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23973 $as_echo "no" >&6; }
23975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ip_mreq is in netinet/in.h" >&5
23978 $as_echo_n "checking whether struct ip_mreq is in netinet/in.h... " >&6; }
23979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23980 /* end confdefs.h. */
23981 #include <netinet/in.h>
23985 struct ip_mreq mreq;
23990 if ac_fn_c_try_compile
"$LINENO"; then :
23992 $as_echo "#define HAVE_STRUCT_IP_MREQ 1" >>confdefs.h
23994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23995 $as_echo "yes" >&6; }
23997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23998 $as_echo "no" >&6; }
24000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ipv6_mreq is in netinet/in.h" >&5
24003 $as_echo_n "checking whether struct ipv6_mreq is in netinet/in.h... " >&6; }
24004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24005 /* end confdefs.h. */
24006 #include <netinet/in.h>
24010 struct ipv6_mreq mreq6;
24015 if ac_fn_c_try_compile
"$LINENO"; then :
24017 $as_echo "#define HAVE_STRUCT_IPV6_MREQ 1" >>confdefs.h
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24020 $as_echo "yes" >&6; }
24022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24023 $as_echo "no" >&6; }
24025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
24028 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
24029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24030 /* end confdefs.h. */
24031 #include <netinet/in.h>
24035 struct sockaddr_in6 addr6;
24040 if ac_fn_c_try_compile
"$LINENO"; then :
24042 $as_echo "#define HAVE_INET6 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 socklen_t in sys/socket.h" >&5
24053 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
24054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24055 /* end confdefs.h. */
24056 #define _POSIX_PII_SOCKET
24057 #include <sys/types.h>
24058 #include <sys/socket.h>
24067 if ac_fn_c_try_compile
"$LINENO"; then :
24069 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24072 $as_echo "yes" >&6; }
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24075 $as_echo "no" >&6; }
24077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
24080 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
24081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24082 /* end confdefs.h. */
24087 struct tm tim; tim.tm_gmtoff = 0;
24092 if ac_fn_c_try_compile
"$LINENO"; then :
24094 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24097 $as_echo "yes" >&6; }
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24100 $as_echo "no" >&6; }
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
24102 $as_echo_n "checking for global timezone variable... " >&6; }
24103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24104 /* end confdefs.h. */
24109 void i(){long z2 = 2*timezone;}
24114 if ac_fn_c_try_compile
"$LINENO"; then :
24116 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
24118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24119 $as_echo "yes" >&6; }
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24122 $as_echo "no" >&6; }
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
24124 $as_echo_n "checking for global _timezone variable... " >&6; }
24125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24126 /* end confdefs.h. */
24131 long z2 = _timezone;
24136 if ac_fn_c_try_compile
"$LINENO"; then :
24138 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
24140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24141 $as_echo "yes" >&6; }
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24144 $as_echo "no" >&6; }
24146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24152 for ac_prog
in perl
24154 # Extract the first word of "$ac_prog", so it can be a program name with args.
24155 set dummy
$ac_prog; ac_word
=$2
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24157 $as_echo_n "checking for $ac_word... " >&6; }
24158 if test "${ac_cv_prog_PERL+set}" = set; then :
24159 $as_echo_n "(cached) " >&6
24161 if test -n "$PERL"; then
24162 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
24164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24165 for as_dir
in $PATH
24168 test -z "$as_dir" && as_dir
=.
24169 for ac_exec_ext
in '' $ac_executable_extensions; do
24170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24171 ac_cv_prog_PERL
="$ac_prog"
24172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24181 PERL
=$ac_cv_prog_PERL
24182 if test -n "$PERL"; then
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
24184 $as_echo "$PERL" >&6; }
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24187 $as_echo "no" >&6; }
24191 test -n "$PERL" && break
24193 test -n "$PERL" || PERL
="false"
24197 SIGNAL_HANDLER_AUX
=
24201 SIGNAL_HANDLER
=include
/i386-signal.h
24204 SIGNAL_HANDLER
=include
/solaris-signal.h
24207 # SYSDEP_SOURCES=sysdep/ia64.c
24208 # test -d sysdep || mkdir sysdep
24211 SIGNAL_HANDLER
=include
/pa-signal.h
24214 SIGNAL_HANDLER
=include
/hppa-signal.h
24217 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24220 SIGNAL_HANDLER
=include
/powerpc-signal.h
24223 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24226 SIGNAL_HANDLER
=include
/s390-signal.h
24229 SIGNAL_HANDLER
=include
/x86_64-signal.h
24230 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
24233 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24236 SIGNAL_HANDLER
=include
/sh-signal.h
24239 SIGNAL_HANDLER
=include
/win32-signal.h
24242 SIGNAL_HANDLER
=include
/mips-signal.h
24245 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24247 powerpc
*-*-darwin* | i?
86-*-darwin[912]* | x86_64-
*-darwin[912]*)
24248 SIGNAL_HANDLER
=include
/darwin-signal.h
24251 SIGNAL_HANDLER
=include
/aix-signal.h
24254 SIGNAL_HANDLER
=include
/default-signal.h
24258 # If we're using sjlj exceptions, forget what we just learned.
24259 if test "$enable_sjlj_exceptions" = yes; then
24260 SIGNAL_HANDLER
=include
/default-signal.h
24261 SIGNAL_HANDLER_AUX
=
24266 if test -z "$SIGNAL_HANDLER_AUX"; then
24267 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
24270 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
24273 if test "${multilib}" = "yes"; then
24274 multilib_arg
="--enable-multilib"
24279 # See if we support thread-local storage.
24282 # Check whether --enable-tls was given.
24283 if test "${enable_tls+set}" = set; then :
24284 enableval
=$enable_tls;
24285 case "$enableval" in
24287 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
24296 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
24297 if test "${gcc_cv_have_tls+set}" = set; then :
24298 $as_echo_n "(cached) " >&6
24301 if test "$cross_compiling" = yes; then :
24302 if test x
$gcc_no_link = xyes
; then
24303 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24306 /* end confdefs.h. */
24307 __thread int a; int b; int main() { return a = b; }
24309 if ac_fn_c_try_link
"$LINENO"; then :
24310 chktls_save_LDFLAGS
="$LDFLAGS"
24313 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
24316 chktls_save_CFLAGS
="$CFLAGS"
24317 CFLAGS
="-fPIC $CFLAGS"
24318 if test x
$gcc_no_link = xyes
; then
24319 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24322 /* end confdefs.h. */
24323 int f() { return 0; }
24325 if ac_fn_c_try_link
"$LINENO"; then :
24326 if test x
$gcc_no_link = xyes
; then
24327 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24330 /* end confdefs.h. */
24331 __thread int a; int b; int f() { return a = b; }
24333 if ac_fn_c_try_link
"$LINENO"; then :
24334 gcc_cv_have_tls
=yes
24338 rm -f core conftest.err conftest.
$ac_objext \
24339 conftest
$ac_exeext conftest.
$ac_ext
24341 gcc_cv_have_tls
=yes
24343 rm -f core conftest.err conftest.
$ac_objext \
24344 conftest
$ac_exeext conftest.
$ac_ext
24345 CFLAGS
="$chktls_save_CFLAGS"
24346 LDFLAGS
="$chktls_save_LDFLAGS"
24350 rm -f core conftest.err conftest.
$ac_objext \
24351 conftest
$ac_exeext conftest.
$ac_ext
24355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24356 /* end confdefs.h. */
24357 __thread int a; int b; int main() { return a = b; }
24359 if ac_fn_c_try_run
"$LINENO"; then :
24360 chktls_save_LDFLAGS
="$LDFLAGS"
24361 LDFLAGS
="-static $LDFLAGS"
24362 if test x
$gcc_no_link = xyes
; then
24363 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24366 /* end confdefs.h. */
24367 int main() { return 0; }
24369 if ac_fn_c_try_link
"$LINENO"; then :
24370 if test "$cross_compiling" = yes; then :
24371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24373 as_fn_error
"cannot run test program while cross compiling
24374 See \`config.log' for more details." "$LINENO" 5; }
24376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24377 /* end confdefs.h. */
24378 __thread int a; int b; int main() { return a = b; }
24380 if ac_fn_c_try_run
"$LINENO"; then :
24381 gcc_cv_have_tls
=yes
24385 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24386 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24390 gcc_cv_have_tls
=yes
24392 rm -f core conftest.err conftest.
$ac_objext \
24393 conftest
$ac_exeext conftest.
$ac_ext
24394 LDFLAGS
="$chktls_save_LDFLAGS"
24395 if test $gcc_cv_have_tls = yes; then
24396 chktls_save_CFLAGS
="$CFLAGS"
24397 thread_CFLAGS
=failed
24398 for flag
in '' '-pthread' '-lpthread'; do
24399 CFLAGS
="$flag $chktls_save_CFLAGS"
24400 if test x
$gcc_no_link = xyes
; then
24401 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24404 /* end confdefs.h. */
24405 #include <pthread.h>
24406 void *g(void *d) { return NULL; }
24410 pthread_t t; pthread_create(&t,NULL,g,NULL);
24415 if ac_fn_c_try_link
"$LINENO"; then :
24416 thread_CFLAGS
="$flag"
24418 rm -f core conftest.err conftest.
$ac_objext \
24419 conftest
$ac_exeext conftest.
$ac_ext
24420 if test "X$thread_CFLAGS" != Xfailed
; then
24424 CFLAGS
="$chktls_save_CFLAGS"
24425 if test "X$thread_CFLAGS" != Xfailed
; then
24426 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
24427 if test "$cross_compiling" = yes; then :
24428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24430 as_fn_error
"cannot run test program while cross compiling
24431 See \`config.log' for more details." "$LINENO" 5; }
24433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24434 /* end confdefs.h. */
24435 #include <pthread.h>
24437 static int *volatile a_in_other_thread;
24439 thread_func (void *arg)
24441 a_in_other_thread = &a;
24448 void *thread_retval;
24449 int *volatile a_in_main_thread;
24450 a_in_main_thread = &a;
24451 if (pthread_create (&thread, (pthread_attr_t *)0,
24452 thread_func, (void *)0))
24454 if (pthread_join (thread, &thread_retval))
24456 return (a_in_other_thread == a_in_main_thread);
24461 if ac_fn_c_try_run
"$LINENO"; then :
24462 gcc_cv_have_tls
=yes
24466 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24467 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24470 CFLAGS
="$chktls_save_CFLAGS"
24476 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24477 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
24482 $as_echo "$gcc_cv_have_tls" >&6; }
24483 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
24485 $as_echo "#define HAVE_TLS 1" >>confdefs.h
24489 # For _Unwind_GetIPInfo.
24492 # Check whether --with-system-libunwind was given.
24493 if test "${with_system_libunwind+set}" = set; then :
24494 withval
=$with_system_libunwind;
24497 # If system-libunwind was not specifically set, pick a default setting.
24498 if test x
$with_system_libunwind = x
; then
24500 ia64-
*-hpux*) with_system_libunwind
=yes ;;
24501 *) with_system_libunwind
=no
;;
24504 # Based on system-libunwind and target, do we have ipinfo?
24505 if test x
$with_system_libunwind = xyes
; then
24507 ia64-
*-*) have_unwind_getipinfo
=no
;;
24508 *) have_unwind_getipinfo
=yes ;;
24511 # Darwin before version 9 does not have _Unwind_GetIPInfo.
24514 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
24515 *) have_unwind_getipinfo
=yes ;;
24520 if test x
$have_unwind_getipinfo = xyes
; then
24522 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
24527 # See if linker supports anonymous version scripts.
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous version scripts" >&5
24529 $as_echo_n "checking whether ld supports anonymous version scripts... " >&6; }
24530 if test "${libjava_cv_anon_version_script+set}" = set; then :
24531 $as_echo_n "(cached) " >&6
24533 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
24534 libjava_cv_anon_version_script
=no
24535 CFLAGS
="$CFLAGS -fPIC";
24536 LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
24537 echo '{ global: globalsymb*; local: *; };' > conftest.map
24538 if test x
$gcc_no_link = xyes
; then
24539 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24542 /* end confdefs.h. */
24543 void globalsymbol (void) {} void localsymbol (void) {}
24552 if ac_fn_c_try_link
"$LINENO"; then :
24553 libjava_cv_anon_version_script
=gnu
24555 rm -f core conftest.err conftest.
$ac_objext \
24556 conftest
$ac_exeext conftest.
$ac_ext
24557 if test x
$libjava_cv_anon_version_script = xno
; then
24558 case "$target_os" in
24560 LDFLAGS
="$save_LDFLAGS"
24561 LDFLAGS
="$LDFLAGS -shared -Wl,-M,conftest.map"
24562 # Sun ld doesn't understand wildcards here.
24563 echo '{ global: globalsymbol; local: *; };' > conftest.map
24564 if test x
$gcc_no_link = xyes
; then
24565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24568 /* end confdefs.h. */
24569 void globalsymbol (void) {} void localsymbol (void) {}
24578 if ac_fn_c_try_link
"$LINENO"; then :
24579 libjava_cv_anon_version_script
=sun
24581 rm -f core conftest.err conftest.
$ac_objext \
24582 conftest
$ac_exeext conftest.
$ac_ext
24586 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_anon_version_script" >&5
24590 $as_echo "$libjava_cv_anon_version_script" >&6; }
24591 if test "$libjava_cv_anon_version_script" != no
; then
24592 ANONVERSCRIPT_TRUE
=
24593 ANONVERSCRIPT_FALSE
='#'
24595 ANONVERSCRIPT_TRUE
='#'
24596 ANONVERSCRIPT_FALSE
=
24599 if test "$libjava_cv_anon_version_script" = gnu
; then
24600 ANONVERSCRIPT_GNU_TRUE
=
24601 ANONVERSCRIPT_GNU_FALSE
='#'
24603 ANONVERSCRIPT_GNU_TRUE
='#'
24604 ANONVERSCRIPT_GNU_FALSE
=
24607 if test "$libjava_cv_anon_version_script" = sun
; then
24608 ANONVERSCRIPT_SUN_TRUE
=
24609 ANONVERSCRIPT_SUN_FALSE
='#'
24611 ANONVERSCRIPT_SUN_TRUE
='#'
24612 ANONVERSCRIPT_SUN_FALSE
=
24616 # Check if linker supports static linking on a per library basis
24617 LD_START_STATIC_SPEC
=
24618 LD_FINISH_STATIC_SPEC
=
24619 if $LD --help 2>&1 |
grep -- -call_shared >/dev
/null
2>&1; then
24620 if $LD --help 2>&1 |
grep -- -non_shared >/dev
/null
2>&1; then
24621 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
24622 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
24628 here
=`${PWDCMD-pwd}`
24631 # We get this from the environment.
24634 default_python_dir
="/share/gcc-`cat ${srcdir}/../gcc/BASE-VER`/python/libjava"
24636 # Check whether --with-python-dir was given.
24637 if test "${with_python_dir+set}" = set; then :
24638 withval
=$with_python_dir; with_python_dir
=$withval
24640 with_python_dir
="${default_python_dir}"
24644 # Needed for installing Python modules during make install.
24645 python_mod_dir
="\${prefix}${with_python_dir}"
24647 # Needed for substituting into aot-compile*
24648 python_mod_dir_expanded
="${expanded_prefix}${with_python_dir}"
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Python modules dir: ${python_mod_dir_expanded}" >&5
24651 $as_echo "Python modules dir: ${python_mod_dir_expanded}" >&6; };
24655 # needed for aot-compile-rpm
24659 # Check whether --enable-aot-compile-rpm was given.
24660 if test "${enable_aot_compile_rpm+set}" = set; then :
24661 enableval
=$enable_aot_compile_rpm; case "${enableval}" in
24662 yes) AOT_RPM_ENABLED
=yes ;;
24663 no
) AOT_RPM_ENABLED
=no
;;
24664 *) as_fn_error
"Unknown argument to enable/disable aot-compile-rpm" "$LINENO" 5 ;;
24671 if test "x${AOT_RPM_ENABLED}" = xyes
; then
24672 INSTALL_AOT_RPM_TRUE
=
24673 INSTALL_AOT_RPM_FALSE
='#'
24675 INSTALL_AOT_RPM_TRUE
='#'
24676 INSTALL_AOT_RPM_FALSE
=
24680 # Check whether --enable-java-home was given.
24681 if test "${enable_java_home+set}" = set; then :
24682 enableval
=$enable_java_home; case "${enableval}" in
24683 yes) JAVA_HOME_ENABLED
=yes ;;
24684 no
) JAVA_HOME_ENABLED
=no
;;
24685 *) as_fn_error
"Unknown argument to enable/disable java-home" "$LINENO" 5 ;;
24688 JAVA_HOME_ENABLED
=no
24692 if test "x${JAVA_HOME_ENABLED}" = xyes
; then
24693 CREATE_JAVA_HOME_TRUE
=
24694 CREATE_JAVA_HOME_FALSE
='#'
24696 CREATE_JAVA_HOME_TRUE
='#'
24697 CREATE_JAVA_HOME_FALSE
=
24701 # Only do these checks if java-home above is enabled.
24702 if test "x${JAVA_HOME_ENABLED}" = xyes
24706 # Check whether --with-gcc-suffix was given.
24707 if test "${with_gcc_suffix+set}" = set; then :
24708 withval
=$with_gcc_suffix; gcc_suffix
=$withval
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCC suffix: ${gcc_suffix}" >&5
24714 $as_echo "GCC suffix: ${gcc_suffix}" >&6; }
24718 # Check whether --with-arch-directory was given.
24719 if test "${with_arch_directory+set}" = set; then :
24720 withval
=$with_arch_directory; host_cpu
=$withval
24727 # Check whether --with-os-directory was given.
24728 if test "${with_os_directory+set}" = set; then :
24729 withval
=$with_os_directory; host_os
=$withval
24736 # Check whether --with-origin-name was given.
24737 if test "${with_origin_name+set}" = set; then :
24738 withval
=$with_origin_name; origin_name
=$withval
24740 origin_name
=gcj
${gcc_suffix}
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JPackage origin name: ${origin_name}" >&5
24744 $as_echo "JPackage origin name: ${origin_name}" >&6; }
24747 # Check whether --with-arch-suffix was given.
24748 if test "${with_arch_suffix+set}" = set; then :
24749 withval
=$with_arch_suffix; arch_suffix
=$withval
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch suffix: ${arch_suffix}" >&5
24755 $as_echo "arch suffix: ${arch_suffix}" >&6; }
24758 # Check whether --with-jvm-root-dir was given.
24759 if test "${with_jvm_root_dir+set}" = set; then :
24760 withval
=$with_jvm_root_dir; jvm_root_dir
=$withval
24762 jvm_root_dir
="\${prefix}/lib/jvm"
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM root installation directory: ${jvm_root_dir}" >&5
24766 $as_echo "JVM root installation directory: ${jvm_root_dir}" >&6; }
24769 # Check whether --with-jvm-jar-dir was given.
24770 if test "${with_jvm_jar_dir+set}" = set; then :
24771 withval
=$with_jvm_jar_dir; jvm_jar_dir
=$withval
24773 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
24776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JAR root installation directory: ${jvm_jar_dir}" >&5
24777 $as_echo "JAR root installation directory: ${jvm_jar_dir}" >&6; }
24783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Java version: ${JAVA_VERSION}" >&5
24784 $as_echo "Java version: ${JAVA_VERSION}" >&6; }
24787 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
24788 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
24790 JVM_ROOT_DIR
=${jvm_root_dir}
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
24793 $as_echo "JVM ROOT directory: ${JVM_ROOT_DIR}" >&6; }
24795 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
24798 $as_echo "JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6; }
24800 JVM_JAR_DIR
=${jvm_jar_dir}
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
24803 $as_echo "JVM JAR directory: ${JVM_JAR_DIR}" >&6; }
24814 SDK_BIN_DIR
=${jvm_root_dir}/bin
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
24817 $as_echo "SDK tools directory: ${SDK_BIN_DIR}" >&6; }
24819 SDK_LIB_DIR
=${jvm_root_dir}/lib
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
24822 $as_echo "SDK jar directory: ${SDK_LIB_DIR}" >&6; }
24824 SDK_INCLUDE_DIR
=${jvm_root_dir}/include
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
24827 $as_echo "SDK include directory: ${SDK_INCLUDE_DIR}" >&6; }
24829 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
24831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
24832 $as_echo "JRE tools directory: ${JRE_BIN_DIR}" >&6; }
24834 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
24836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
24837 $as_echo "JRE lib directory: ${JRE_LIB_DIR}" >&6; }
24839 # Find gcj prefix using gcj found in PATH.
24840 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
24842 # Where do the gcj binaries live?
24843 # For jhbuild based builds, they all live in a sibling of bin called
24844 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
24845 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
24847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
24848 $as_echo "GCJ tools directory: ${GCJ_BIN_DIR}" >&6; }
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host is ${host}" >&5
24851 $as_echo "host is ${host}" >&6; }
24852 if test "x${host_cpu}" = "x"
24855 *-mingw* |
*-cygwin*)
24857 i486-
* | i586-
* | i686-
*)
24862 host_cpu
=${host_cpu};;
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch directory: ${host_cpu}" >&5
24866 $as_echo "arch directory: ${host_cpu}" >&6; }
24870 if test "x${host_os}" = "x"
24873 *-mingw* |
*-cygwin*)
24878 host_os
=${host_os};;
24881 echo os directory
: ${host_os}
24885 # make an expanded $libdir, for substituting into
24886 # scripts (and other non-Makefile things).
24888 if test "x${exec_prefix}" = "xNONE"
24890 lib_exec_prefix
=$expanded_prefix
24892 lib_exec_prefix
=$exec_prefix
24894 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
24898 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"
24901 if test ${multilib} = yes; then
24902 multilib_arg
="--enable-multilib"
24907 ac_config_files
="$ac_config_files scripts/jar"
24909 cat >confcache
<<\_ACEOF
24910 # This file is a shell script that caches the results of configure
24911 # tests run on this system so they can be shared between configure
24912 # scripts and configure runs, see configure's option --config-cache.
24913 # It is not useful on other systems. If it contains results you don't
24914 # want to keep, you may remove or edit it.
24916 # config.status only pays attention to the cache file if you give it
24917 # the --recheck option to rerun configure.
24919 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24920 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24921 # following values.
24925 # The following way of writing the cache mishandles newlines in values,
24926 # but we know of no workaround that is simple, portable, and efficient.
24927 # So, we kill variables containing newlines.
24928 # Ultrix sh set writes to stderr and can't be redirected directly,
24929 # and sets the high bit in the cache file unless we assign to the vars.
24931 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24932 eval ac_val
=\$
$ac_var
24936 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24937 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24940 _ | IFS | as_nl
) ;; #(
24941 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24942 *) { eval $ac_var=; unset $ac_var;} ;;
24948 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24949 *${as_nl}ac_space
=\
*)
24950 # `set' does not quote correctly, so add quotes: double-quote
24951 # substitution turns \\\\ into \\, and sed turns \\ into \.
24954 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24957 # `set' quotes correctly as required by POSIX, so do not add quotes.
24958 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24967 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24969 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24971 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24972 if test -w "$cache_file"; then
24973 test "x$cache_file" != "x/dev/null" &&
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24975 $as_echo "$as_me: updating cache $cache_file" >&6;}
24976 cat confcache
>$cache_file
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24979 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24984 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24985 # Let make expand exec_prefix.
24986 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24988 DEFS
=-DHAVE_CONFIG_H
24992 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24993 # 1. Remove the extension, and $U if already installed.
24994 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24995 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24996 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24997 # will be set to the directory where LIBOBJS objects are built.
24998 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24999 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25001 LIBOBJS
=$ac_libobjs
25003 LTLIBOBJS
=$ac_ltlibobjs
25006 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
25007 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
25008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25010 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
25011 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
25012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25014 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25015 as_fn_error
"conditional \"AMDEP\" was never defined.
25016 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25018 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25019 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
25020 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25022 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25023 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
25024 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25026 if test -n "$EXEEXT"; then
25028 am__EXEEXT_FALSE
='#'
25030 am__EXEEXT_TRUE
='#'
25034 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25035 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
25036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25038 if test -z "${BUILD_SUBLIBS_TRUE}" && test -z "${BUILD_SUBLIBS_FALSE}"; then
25039 as_fn_error
"conditional \"BUILD_SUBLIBS\" was never defined.
25040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25042 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
25043 as_fn_error
"conditional \"XLIB_AWT\" was never defined.
25044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25046 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
25047 as_fn_error
"conditional \"X_AWT\" was never defined.
25048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25050 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25051 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25054 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25055 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25058 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
25059 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
25060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25062 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
25063 as_fn_error
"conditional \"BUILD_ECJ1\" was never defined.
25064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25066 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
25067 as_fn_error
"conditional \"INSTALL_ECJ_JAR\" was never defined.
25068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25070 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
25071 as_fn_error
"conditional \"JAVA_HOME_SET\" was never defined.
25072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25074 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
25075 as_fn_error
"conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
25076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25078 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
25079 as_fn_error
"conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
25080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25082 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
25083 as_fn_error
"conditional \"INTERPRETER\" was never defined.
25084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25086 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
25087 as_fn_error
"conditional \"USING_WIN32_PLATFORM\" was never defined.
25088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25090 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
25091 as_fn_error
"conditional \"USING_POSIX_PLATFORM\" was never defined.
25092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25094 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
25095 as_fn_error
"conditional \"USING_DARWIN_CRT\" was never defined.
25096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25098 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
25099 as_fn_error
"conditional \"USING_BOEHMGC\" was never defined.
25100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25102 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
25103 as_fn_error
"conditional \"USING_NOGC\" was never defined.
25104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25106 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
25107 as_fn_error
"conditional \"USING_POSIX_THREADS\" was never defined.
25108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25110 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
25111 as_fn_error
"conditional \"USING_WIN32_THREADS\" was never defined.
25112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25114 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
25115 as_fn_error
"conditional \"USING_NO_THREADS\" was never defined.
25116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25118 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
25119 as_fn_error
"conditional \"USE_LIBGCJ_BC\" was never defined.
25120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25122 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
25123 as_fn_error
"conditional \"USING_GCC\" was never defined.
25124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25126 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25127 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25131 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
25132 as_fn_error
"conditional \"NATIVE\" was never defined.
25133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25135 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
25136 as_fn_error
"conditional \"ENABLE_SHARED\" was never defined.
25137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25139 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
25140 as_fn_error
"conditional \"NEEDS_DATA_START\" was never defined.
25141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25143 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25144 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
25145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25147 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
25148 as_fn_error
"conditional \"ANONVERSCRIPT\" was never defined.
25149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25151 if test -z "${ANONVERSCRIPT_GNU_TRUE}" && test -z "${ANONVERSCRIPT_GNU_FALSE}"; then
25152 as_fn_error
"conditional \"ANONVERSCRIPT_GNU\" was never defined.
25153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25155 if test -z "${ANONVERSCRIPT_SUN_TRUE}" && test -z "${ANONVERSCRIPT_SUN_FALSE}"; then
25156 as_fn_error
"conditional \"ANONVERSCRIPT_SUN\" was never defined.
25157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25159 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
25160 as_fn_error
"conditional \"INSTALL_AOT_RPM\" was never defined.
25161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25163 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
25164 as_fn_error
"conditional \"CREATE_JAVA_HOME\" was never defined.
25165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25168 : ${CONFIG_STATUS=./config.status}
25170 ac_clean_files_save
=$ac_clean_files
25171 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25173 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25175 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25177 # Generated by $as_me.
25178 # Run this file to recreate the current configuration.
25179 # Compiler output produced by configure, useful for debugging
25180 # configure, is in config.log if it exists.
25183 ac_cs_recheck=false
25186 SHELL=\${CONFIG_SHELL-$SHELL}
25189 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25190 ## -------------------- ##
25191 ## M4sh Initialization. ##
25192 ## -------------------- ##
25194 # Be more Bourne compatible
25195 DUALCASE
=1; export DUALCASE
# for MKS sh
25196 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25199 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25200 # is contrary to our usage. Disable this feature.
25201 alias -g '${1+"$@"}'='"$@"'
25202 setopt NO_GLOB_SUBST
25204 case `(set -o) 2>/dev/null` in #(
25216 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25217 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25218 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25219 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25220 # Prefer a ksh shell builtin over an external printf program on Solaris,
25221 # but without wasting forks for bash or zsh.
25222 if test -z "$BASH_VERSION$ZSH_VERSION" \
25223 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25224 as_echo='print
-r --'
25225 as_echo_n='print
-rn --'
25226 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25227 as_echo='printf %s
\n'
25228 as_echo_n='printf %s
'
25230 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25231 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25232 as_echo_n='/usr
/ucb
/echo -n'
25234 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25235 as_echo_n_body='eval
25239 expr "X$arg" : "X\\(.*\\)$as_nl";
25240 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25242 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25244 export as_echo_n_body
25245 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25247 export as_echo_body
25248 as_echo='sh
-c $as_echo_body as_echo
'
25251 # The user is always right.
25252 if test "${PATH_SEPARATOR+set}" != set; then
25254 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25255 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25262 # We need space, tab and new line, in precisely that order. Quoting is
25263 # there to prevent editors from complaining about space-tab.
25264 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25265 # splitting by setting IFS to empty value.)
25268 # Find who we are. Look in the path if we contain no directory separator.
25270 *[\\/]* ) as_myself=$0 ;;
25271 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25272 for as_dir in $PATH
25275 test -z "$as_dir" && as_dir=.
25276 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25282 # We did not find ourselves, most probably we were run as `sh COMMAND'
25283 # in which case we are not to be found in the path.
25284 if test "x$as_myself" = x
; then
25287 if test ! -f "$as_myself"; then
25288 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25292 # Unset variables that we do not need and which cause bugs (e.g. in
25293 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25294 # suppresses any "Segmentation fault" message there. '((' could
25295 # trigger a bug in pdksh 5.2.14.
25296 for as_var
in BASH_ENV ENV MAIL MAILPATH
25297 do eval test x\
${$as_var+set} = xset \
25298 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25311 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25314 # as_fn_error ERROR [LINENO LOG_FD]
25315 # ---------------------------------
25316 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25317 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25318 # script with status $?, using 1 if that was 0.
25321 as_status
=$?
; test $as_status -eq 0 && as_status
=1
25323 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25324 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25326 $as_echo "$as_me: error: $1" >&2
25327 as_fn_exit
$as_status
25331 # as_fn_set_status STATUS
25332 # -----------------------
25333 # Set $? to STATUS, without forking.
25334 as_fn_set_status
()
25337 } # as_fn_set_status
25339 # as_fn_exit STATUS
25340 # -----------------
25341 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25345 as_fn_set_status
$1
25351 # Portably unset VAR.
25354 { eval $1=; unset $1;}
25356 as_unset
=as_fn_unset
25357 # as_fn_append VAR VALUE
25358 # ----------------------
25359 # Append the text in VALUE to the end of the definition contained in VAR. Take
25360 # advantage of any shell optimizations that allow amortized linear growth over
25361 # repeated appends, instead of the typical quadratic growth present in naive
25363 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25364 eval 'as_fn_append ()
25375 # as_fn_arith ARG...
25376 # ------------------
25377 # Perform arithmetic evaluation on the ARGs, and store the result in the
25378 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25379 # must be portable across $(()) and expr.
25380 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25381 eval 'as_fn_arith ()
25388 as_val
=`expr "$@" || test $? -eq 1`
25393 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25394 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25400 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25401 as_basename
=basename
25406 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25412 as_me
=`$as_basename -- "$0" ||
25413 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25414 X"$0" : 'X\(//\)$' \| \
25415 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25417 sed '/^.*\/\([^/][^/]*\)\/*$/{
25431 # Avoid depending upon Character Ranges.
25432 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25433 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25434 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25435 as_cr_digits
='0123456789'
25436 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25438 ECHO_C
= ECHO_N
= ECHO_T
=
25439 case `echo -n x` in #(((((
25441 case `echo 'xy\c'` in
25442 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25444 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25451 rm -f conf$$ conf$$.exe conf$$.
file
25452 if test -d conf$$.dir
; then
25453 rm -f conf$$.dir
/conf$$.
file
25456 mkdir conf$$.dir
2>/dev
/null
25458 if (echo >conf$$.
file) 2>/dev
/null
; then
25459 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25461 # ... but there are two gotchas:
25462 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25463 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25464 # In both cases, we have to default to `cp -p'.
25465 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25467 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25475 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25476 rmdir conf$$.dir
2>/dev
/null
25481 # Create "$as_dir" as a directory, including parents if necessary.
25486 -*) as_dir
=.
/$as_dir;;
25488 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25492 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25493 *) as_qdir
=$as_dir;;
25495 as_dirs
="'$as_qdir' $as_dirs"
25496 as_dir
=`$as_dirname -- "$as_dir" ||
25497 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25498 X"$as_dir" : 'X\(//\)[^/]' \| \
25499 X"$as_dir" : 'X\(//\)$' \| \
25500 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25501 $as_echo X"$as_dir" |
25502 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25506 /^X\(\/\/\)[^/].*/{
25519 test -d "$as_dir" && break
25521 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25522 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25526 if mkdir
-p .
2>/dev
/null
; then
25527 as_mkdir_p
='mkdir -p "$as_dir"'
25529 test -d .
/-p && rmdir .
/-p
25533 if test -x / >/dev
/null
2>&1; then
25534 as_test_x
='test -x'
25536 if ls -dL / >/dev
/null
2>&1; then
25543 if test -d "$1"; then
25549 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25550 ???[sx]*):;;*)false;;esac;fi
25554 as_executable_p
=$as_test_x
25556 # Sed expression to map a string onto a valid CPP name.
25557 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25559 # Sed expression to map a string onto a valid variable name.
25560 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25564 ## ----------------------------------- ##
25565 ## Main body of $CONFIG_STATUS script. ##
25566 ## ----------------------------------- ##
25568 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25571 # Save the log message, to keep $0 and so on meaningful, and to
25572 # report actual input values of CONFIG_FILES etc. instead of their
25573 # values after options handling.
25575 This file was extended by libjava $as_me version-unused, which was
25576 generated by GNU Autoconf 2.64. Invocation command line was
25578 CONFIG_FILES = $CONFIG_FILES
25579 CONFIG_HEADERS = $CONFIG_HEADERS
25580 CONFIG_LINKS = $CONFIG_LINKS
25581 CONFIG_COMMANDS = $CONFIG_COMMANDS
25584 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25589 case $ac_config_files in *"
25590 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25593 case $ac_config_headers in *"
25594 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25598 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25599 # Files that config.status was made for.
25600 config_files="$ac_config_files"
25601 config_headers="$ac_config_headers"
25602 config_links="$ac_config_links"
25603 config_commands="$ac_config_commands"
25607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25609 \`$as_me' instantiates files and other configuration actions
25610 from templates according to the current configuration. Unless the files
25611 and actions are specified as TAGs, all are instantiated by default.
25613 Usage: $0 [OPTION]... [TAG]...
25615 -h, --help print this help, then exit
25616 -V, --version print version number and configuration settings, then exit
25617 -q, --quiet, --silent
25618 do not print progress messages
25619 -d, --debug don't remove temporary files
25620 --recheck update $as_me by reconfiguring in the same conditions
25621 --file=FILE[:TEMPLATE]
25622 instantiate the configuration file FILE
25623 --header=FILE[:TEMPLATE]
25624 instantiate the configuration header FILE
25626 Configuration files:
25629 Configuration headers:
25632 Configuration links:
25635 Configuration commands:
25638 Report bugs to the package provider."
25641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25643 libjava config.status version-unused
25644 configured by $0, generated by GNU Autoconf 2.64,
25645 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25647 Copyright (C) 2009 Free Software Foundation, Inc.
25648 This config.status script is free software; the Free Software Foundation
25649 gives unlimited permission to copy, distribute and modify it."
25656 test -n "\$AWK" || AWK=awk
25659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25660 # The default lists apply if the user does not specify any file.
25666 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25667 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25678 # Handling of the options.
25679 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25681 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25682 $as_echo "$ac_cs_version"; exit ;;
25683 --debug |
--debu |
--deb |
--de |
--d |
-d )
25685 --file |
--fil |
--fi |
--f )
25688 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25690 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25691 ac_need_defaults
=false
;;
25692 --header |
--heade |
--head |
--hea )
25695 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25697 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25698 ac_need_defaults
=false
;;
25700 # Conflict between --help and --header
25701 as_fn_error
"ambiguous option: \`$1'
25702 Try \`$0 --help' for more information.";;
25703 --help |
--hel |
-h )
25704 $as_echo "$ac_cs_usage"; exit ;;
25705 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25706 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25709 # This is an error.
25710 -*) as_fn_error
"unrecognized option: \`$1'
25711 Try \`$0 --help' for more information." ;;
25713 *) as_fn_append ac_config_targets
" $1"
25714 ac_need_defaults
=false
;;
25720 ac_configure_extra_args
=
25722 if $ac_cs_silent; then
25724 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25729 if \$ac_cs_recheck; then
25730 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25732 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25733 CONFIG_SHELL='$SHELL'
25734 export CONFIG_SHELL
25739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25743 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25744 ## Running $as_me. ##
25750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25758 with_multisubdir="$with_multisubdir"
25759 with_multisrctop="$with_multisrctop"
25760 with_target_subdir="$with_target_subdir"
25761 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25762 multi_basedir="$multi_basedir"
25763 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25766 GFORTRAN="$GFORTRAN"
25768 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25771 # The HP-UX ksh and POSIX shell print the target directory to stdout
25772 # if CDPATH is set.
25773 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25775 sed_quote_subst='$sed_quote_subst'
25776 double_quote_subst='$double_quote_subst'
25777 delay_variable_subst='$delay_variable_subst'
25778 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25779 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25780 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25781 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25782 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25783 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25784 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25785 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25786 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25787 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25788 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25789 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25790 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25791 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25792 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25793 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25794 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25795 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25796 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25797 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25798 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25799 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25800 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25801 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25802 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25803 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25804 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25805 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25806 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25807 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25808 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25809 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25810 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25811 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25812 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25813 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25814 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25815 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25816 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25817 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25818 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25819 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25820 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25821 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25822 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25823 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25824 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25825 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25826 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"`'
25827 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25828 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25829 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25830 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25831 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25832 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25833 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25834 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25835 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25836 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25837 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25838 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25839 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25840 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25841 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25842 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25843 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25844 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25845 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25846 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25847 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25848 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25849 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25850 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25851 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25852 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25853 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25854 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25855 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25856 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25857 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25858 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25859 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25860 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25861 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25862 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25863 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25864 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25865 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25866 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25867 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25868 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25869 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25870 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25871 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25872 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25873 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25874 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25875 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25876 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25877 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25878 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25879 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25880 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25881 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25882 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25883 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25884 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25885 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25886 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25887 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25888 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25889 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25890 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25891 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25892 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25893 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25894 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25895 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25896 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25897 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25898 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25899 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25900 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25901 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25902 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25903 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25904 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25905 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
25906 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25907 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25908 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25909 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25910 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25911 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25912 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25913 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
25914 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25915 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
25916 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25917 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25918 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25919 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
25920 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25921 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
25922 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25923 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
25924 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25925 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
25926 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25927 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
25928 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25929 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
25930 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25931 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25932 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25933 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25934 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25935 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
25936 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25937 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25938 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25939 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25940 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25941 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25942 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25943 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25944 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25945 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25946 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25947 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25948 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25949 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25950 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25951 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25952 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25953 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25954 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25955 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25956 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25957 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "$hardcode_libdir_flag_spec_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25958 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25959 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
25960 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25961 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
25962 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25963 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
25964 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25965 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
25966 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25967 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
25968 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25969 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
25970 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25971 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
25972 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25973 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
25974 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
25975 fix_srcfile_path_GCJ='`$ECHO "$fix_srcfile_path_GCJ" | $SED "$delay_single_quote_subst"`'
25976 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25977 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
25978 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25979 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25980 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25981 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
25982 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25983 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
25984 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25985 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25986 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25987 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25988 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25989 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
25990 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25991 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
25992 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25993 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
25994 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25995 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
25996 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25997 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
25998 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25999 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
26000 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26001 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
26004 LTCFLAGS='$LTCFLAGS'
26005 compiler='$compiler_DEFAULT'
26007 # A function that is used when there is no print builtin or printf.
26008 func_fallback_echo ()
26010 eval 'cat <<_LTECHO_EOF
26015 # Quote evaled strings.
26029 deplibs_check_method \
26038 lt_cv_sys_global_symbol_pipe \
26039 lt_cv_sys_global_symbol_to_cdecl \
26040 lt_cv_sys_global_symbol_to_c_name_address \
26041 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26042 lt_prog_compiler_no_builtin_flag \
26043 lt_prog_compiler_wl \
26044 lt_prog_compiler_pic \
26045 lt_prog_compiler_static \
26046 lt_cv_prog_compiler_c_o \
26054 export_dynamic_flag_spec \
26055 whole_archive_flag_spec \
26056 compiler_needs_object \
26058 allow_undefined_flag \
26059 no_undefined_flag \
26060 hardcode_libdir_flag_spec \
26061 hardcode_libdir_flag_spec_ld \
26062 hardcode_libdir_separator \
26067 variables_saved_for_relink \
26069 library_names_spec \
26071 install_override_mode \
26075 compiler_lib_search_dirs \
26080 compiler_lib_search_path \
26087 lt_prog_compiler_no_builtin_flag_CXX \
26088 lt_prog_compiler_no_builtin_flag_GCJ \
26089 lt_prog_compiler_wl_CXX \
26090 lt_prog_compiler_wl_GCJ \
26091 lt_prog_compiler_pic_CXX \
26092 lt_prog_compiler_pic_GCJ \
26093 lt_prog_compiler_static_CXX \
26094 lt_prog_compiler_static_GCJ \
26095 lt_cv_prog_compiler_c_o_CXX \
26096 lt_cv_prog_compiler_c_o_GCJ \
26097 export_dynamic_flag_spec_CXX \
26098 export_dynamic_flag_spec_GCJ \
26099 whole_archive_flag_spec_CXX \
26100 whole_archive_flag_spec_GCJ \
26101 compiler_needs_object_CXX \
26102 compiler_needs_object_GCJ \
26105 allow_undefined_flag_CXX \
26106 allow_undefined_flag_GCJ \
26107 no_undefined_flag_CXX \
26108 no_undefined_flag_GCJ \
26109 hardcode_libdir_flag_spec_CXX \
26110 hardcode_libdir_flag_spec_GCJ \
26111 hardcode_libdir_flag_spec_ld_CXX \
26112 hardcode_libdir_flag_spec_ld_GCJ \
26113 hardcode_libdir_separator_CXX \
26114 hardcode_libdir_separator_GCJ \
26115 fix_srcfile_path_CXX \
26116 fix_srcfile_path_GCJ \
26117 exclude_expsyms_CXX \
26118 exclude_expsyms_GCJ \
26119 include_expsyms_CXX \
26120 include_expsyms_GCJ \
26121 file_list_spec_CXX \
26122 file_list_spec_GCJ \
26123 compiler_lib_search_dirs_CXX \
26124 compiler_lib_search_dirs_GCJ \
26125 predep_objects_CXX \
26126 predep_objects_GCJ \
26127 postdep_objects_CXX \
26128 postdep_objects_GCJ \
26133 compiler_lib_search_path_CXX \
26134 compiler_lib_search_path_GCJ; do
26135 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26136 *[\\\\\\\`\\"\\\$]*)
26137 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26140 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26145 # Double-quote double-evaled strings.
26146 for var in reload_cmds \
26147 old_postinstall_cmds \
26148 old_postuninstall_cmds \
26150 extract_expsyms_cmds \
26151 old_archive_from_new_cmds \
26152 old_archive_from_expsyms_cmds \
26154 archive_expsym_cmds \
26156 module_expsym_cmds \
26157 export_symbols_cmds \
26160 postuninstall_cmds \
26162 sys_lib_search_path_spec \
26163 sys_lib_dlsearch_path_spec \
26166 old_archive_cmds_CXX \
26167 old_archive_cmds_GCJ \
26168 old_archive_from_new_cmds_CXX \
26169 old_archive_from_new_cmds_GCJ \
26170 old_archive_from_expsyms_cmds_CXX \
26171 old_archive_from_expsyms_cmds_GCJ \
26174 archive_expsym_cmds_CXX \
26175 archive_expsym_cmds_GCJ \
26178 module_expsym_cmds_CXX \
26179 module_expsym_cmds_GCJ \
26180 export_symbols_cmds_CXX \
26181 export_symbols_cmds_GCJ \
26183 prelink_cmds_GCJ; do
26184 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26185 *[\\\\\\\`\\"\\\$]*)
26186 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26189 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26194 ac_aux_dir='$ac_aux_dir'
26195 xsi_shell='$xsi_shell'
26196 lt_shell_append='$lt_shell_append'
26198 # See if we are running on zsh, and set the options which allow our
26199 # commands through without removal of \ escapes INIT.
26200 if test -n "\${ZSH_VERSION+set}" ; then
26201 setopt NO_GLOB_SUBST
26207 TIMESTAMP='$TIMESTAMP'
26220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26222 # Handling of arguments.
26223 for ac_config_target
in $ac_config_targets
26225 case $ac_config_target in
26226 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26227 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26228 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
26229 "gcj/libgcj-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
26230 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26231 "include/platform.h") CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
26232 "java/io/natFile.cc") CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
26233 "java/lang/natConcreteProcess.cc") CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
26234 "java/net/natVMInetAddress.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
26235 "java/net/natVMNetworkInterface.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
26236 "gnu/java/net/natPlainSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
26237 "gnu/java/net/natPlainDatagramSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
26238 "gnu/java/nio/natVMPipe.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
26239 "gnu/java/nio/natVMSelector.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
26240 "gnu/java/nio/channels/natFileChannelImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
26241 "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" ;;
26242 "include/java-gc.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
26243 "include/java-threads.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
26244 "sysdep/locks.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
26245 "sysdep/backtrace.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
26246 "sysdep/descriptor.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
26247 "include/java-signal.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
26248 "include/java-signal-aux.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
26249 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26250 "libgcj.pc") CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
26251 "libgcj.spec") CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
26252 "libgcj-test.spec") CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
26253 "gcj/Makefile") CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
26254 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
26255 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
26256 "contrib/aotcompile.py") CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
26257 "contrib/aot-compile") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
26258 "contrib/aot-compile-rpm") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
26259 "contrib/generate-cacerts.pl") CONFIG_FILES
="$CONFIG_FILES contrib/generate-cacerts.pl" ;;
26260 "contrib/rebuild-gcj-db") CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
26261 "scripts/jar") CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
26263 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26268 # If the user did not use the arguments to specify the items to instantiate,
26269 # then the envvar interface is used. Set only those that are not.
26270 # We use the long form for the default assignment because of an extremely
26271 # bizarre bug on SunOS 4.1.3.
26272 if $ac_need_defaults; then
26273 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26274 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26275 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26276 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26279 # Have a temporary directory for convenience. Make it in the build tree
26280 # simply because there is no reason against having it here, and in addition,
26281 # creating and moving files from /tmp can sometimes cause problems.
26282 # Hook for its removal unless debugging.
26283 # Note that there is a small window in which the directory will not be cleaned:
26284 # after its creation but before its name has been assigned to `$tmp'.
26288 trap 'exit_status=$?
26289 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26291 trap 'as_fn_exit 1' 1 2 13 15
26293 # Create a (secure) tmp directory for tmp files.
26296 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26297 test -n "$tmp" && test -d "$tmp"
26300 tmp
=.
/conf$$
-$RANDOM
26301 (umask 077 && mkdir
"$tmp")
26302 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
26304 # Set up the scripts for CONFIG_FILES section.
26305 # No need to generate them if there are no CONFIG_FILES.
26306 # This happens for instance with `./config.status config.h'.
26307 if test -n "$CONFIG_FILES"; then
26310 ac_cr
=`echo X | tr X '\015'`
26311 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26312 # But we know of no other shell where ac_cr would be empty at this
26313 # point, so we can use a bashism as a fallback.
26314 if test "x$ac_cr" = x
; then
26315 eval ac_cr
=\$
\'\\r
\'
26317 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26318 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26321 ac_cs_awk_cr
=$ac_cr
26324 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26329 echo "cat >conf$$subs.awk <<_ACEOF" &&
26330 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26332 } >conf$$subs.sh ||
26333 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26334 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26336 for ac_last_try in false false false false false :; do
26337 . ./conf$$subs.sh ||
26338 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26340 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26341 if test $ac_delim_n = $ac_delim_num; then
26343 elif $ac_last_try; then
26344 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26346 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26349 rm -f conf$$subs.sh
26351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26352 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26356 s/^/S["/; s
/!.
*/"]=/
26366 s/\(.\{148\}\).*/\1/
26368 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26373 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26380 s/\(.\{148\}\).*/\1/
26382 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26386 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26391 ' <conf$$subs.awk | sed '
26396 ' >>$CONFIG_STATUS || ac_write_fail=1
26397 rm -f conf$$subs.awk
26398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26400 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26401 for (key in S) S_is_set[key] = 1
26407 nfields = split(line, field, "@
")
26409 len = length(field[1])
26410 for (i = 2; i < nfields; i++) {
26412 keylen = length(key)
26413 if (S_is_set[key]) {
26415 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26416 len += length(value) + length(field[++i])
26427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26428 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26429 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26432 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26433 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26436 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26437 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26438 # trailing colons and then remove the whole line if VPATH becomes empty
26439 # (actually we leave an empty line to preserve line numbers).
26440 if test "x
$srcdir" = x.; then
26441 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26442 s/:*\$(srcdir):*/:/
26443 s/:*\${srcdir}:*/:/
26445 s/^\([^=]*=[ ]*\):*/\1/
26451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26452 fi # test -n "$CONFIG_FILES"
26454 # Set up the scripts for CONFIG_HEADERS section.
26455 # No need to generate them if there are no CONFIG_HEADERS.
26456 # This happens for instance with `./config.status Makefile'.
26457 if test -n "$CONFIG_HEADERS"; then
26458 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26462 # Transform confdefs.h into an awk script `defines.awk', embedded as
26463 # here-document in config.status, that substitutes the proper values into
26464 # config.h.in to produce config.h.
26466 # Create a delimiter string that does not exist in confdefs.h, to ease
26467 # handling of long lines.
26469 for ac_last_try in false false :; do
26470 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26471 if test -z "$ac_t"; then
26473 elif $ac_last_try; then
26474 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26476 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26480 # For the awk script, D is an array of macro values keyed by name,
26481 # likewise P contains macro parameters if any. Preserve backslash
26482 # newline sequences.
26484 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26486 s/.\{148\}/&'"$ac_delim"'/g
26489 s/^[ ]*#[ ]*define[ ][ ]*/ /
26496 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26498 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26502 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26503 D["\
1"]=" \
3\\\\\\n
"\\/p
26505 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26510 s/.\{148\}/&'"$ac_delim"'/g
26515 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26518 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26520 ' <confdefs.h | sed '
26521 s/'"$ac_delim"'/"\\\
26522 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26525 for (key in D) D_is_set[key] = 1
26528 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26530 split(line, arg, " ")
26531 if (arg[1] == "#") {
26535 defundef
= substr
(arg
[1], 2)
26538 split(mac1
, mac2
, "(") #)
26540 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26541 if (D_is_set
[macro
]) {
26542 # Preserve the white space surrounding the "#".
26543 print prefix
"define", macro P
[macro
] D
[macro
]
26546 # Replace #undef with comments. This is necessary, for example,
26547 # in the case of _POSIX_SOURCE, which is predefined and required
26548 # on some systems where configure will not decide to define it.
26549 if (defundef
== "undef") {
26550 print
"/*", prefix defundef
, macro
, "*/"
26558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26559 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26560 fi # test -n "$CONFIG_HEADERS"
26563 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26568 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26570 case $ac_mode$ac_tag in
26572 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26573 :[FH
]-) ac_tag
=-:-;;
26574 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26591 -) ac_f
="$tmp/stdin";;
26592 *) # Look for the file first in the build tree, then in the source tree
26593 # (if the path is not absolute). The absolute path cannot be DOS-style,
26594 # because $ac_f cannot contain `:'.
26598 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26600 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26602 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26603 as_fn_append ac_file_inputs
" '$ac_f'"
26606 # Let's still pretend it is `configure' which instantiates (i.e., don't
26607 # use $as_me), people would be surprised to read:
26608 # /* config.h. Generated by config.status. */
26609 configure_input
='Generated from '`
26610 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26612 if test x
"$ac_file" != x-
; then
26613 configure_input
="$ac_file. $configure_input"
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26615 $as_echo "$as_me: creating $ac_file" >&6;}
26617 # Neutralize special characters interpreted by sed in replacement strings.
26618 case $configure_input in #(
26619 *\
&* |
*\|
* |
*\\* )
26620 ac_sed_conf_input
=`$as_echo "$configure_input" |
26621 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26622 *) ac_sed_conf_input
=$configure_input;;
26626 *:-:* |
*:-) cat >"$tmp/stdin" \
26627 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26632 ac_dir
=`$as_dirname -- "$ac_file" ||
26633 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26634 X"$ac_file" : 'X\(//\)[^/]' \| \
26635 X"$ac_file" : 'X\(//\)$' \| \
26636 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26637 $as_echo X"$ac_file" |
26638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26642 /^X\(\/\/\)[^/].*/{
26655 as_dir
="$ac_dir"; as_fn_mkdir_p
26659 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26661 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26662 # A ".." for each directory in $ac_dir_suffix.
26663 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26664 case $ac_top_builddir_sub in
26665 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26666 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26669 ac_abs_top_builddir
=$ac_pwd
26670 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26671 # for backward compatibility:
26672 ac_top_builddir
=$ac_top_build_prefix
26675 .
) # We are building in place.
26677 ac_top_srcdir
=$ac_top_builddir_sub
26678 ac_abs_top_srcdir
=$ac_pwd ;;
26679 [\\/]* | ?
:[\\/]* ) # Absolute name.
26680 ac_srcdir
=$srcdir$ac_dir_suffix;
26681 ac_top_srcdir
=$srcdir
26682 ac_abs_top_srcdir
=$srcdir ;;
26683 *) # Relative name.
26684 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26685 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26686 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26688 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26698 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26699 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26701 ac_MKDIR_P
=$MKDIR_P
26703 [\\/$
]* | ?
:[\\/]* ) ;;
26704 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26709 # If the template does not know about datarootdir, expand it.
26710 # FIXME: This hack should be removed a few years after 2.60.
26711 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26722 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26723 *datarootdir
*) ac_datarootdir_seen
=yes;;
26724 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26726 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26729 ac_datarootdir_hack='
26730 s&@datadir@&$datadir&g
26731 s&@docdir@&$docdir&g
26732 s&@infodir@&$infodir&g
26733 s&@localedir@&$localedir&g
26734 s&@mandir@&$mandir&g
26735 s&\\\${datarootdir}&$datarootdir&g' ;;
26739 # Neutralize VPATH when `$srcdir' = `.'.
26740 # Shell code in configure.ac might set extrasub.
26741 # FIXME: do we really want to maintain this feature?
26742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26743 ac_sed_extra="$ac_vpsub
26746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26748 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26749 s|@configure_input@|
$ac_sed_conf_input|
;t t
26750 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26751 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26752 s
&@srcdir@
&$ac_srcdir&;t t
26753 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26754 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26755 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26756 s
&@builddir@
&$ac_builddir&;t t
26757 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26758 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26759 s
&@INSTALL@
&$ac_INSTALL&;t t
26760 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26761 $ac_datarootdir_hack
26763 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26764 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26766 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26767 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26768 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26770 which seems to be undefined. Please make sure it is defined." >&5
26771 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26772 which seems to be undefined. Please make sure it is defined." >&2;}
26776 -) cat "$tmp/out" && rm -f "$tmp/out";;
26777 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26779 || as_fn_error "could not create $ac_file" "$LINENO" 5
26785 if test x"$ac_file" != x-; then
26787 $as_echo "/* $configure_input */" \
26788 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26789 } >"$tmp/config.h" \
26790 || as_fn_error "could not create $ac_file" "$LINENO" 5
26791 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26792 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26793 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26796 mv "$tmp/config.h" "$ac_file" \
26797 || as_fn_error "could not create $ac_file" "$LINENO" 5
26800 $as_echo "/* $configure_input */" \
26801 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26802 || as_fn_error "could not create -" "$LINENO" 5
26804 # Compute "$ac_file"'s index
in $config_headers.
26807 for _am_header
in $config_headers :; do
26808 case $_am_header in
26809 $_am_arg |
$_am_arg:* )
26812 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26815 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26816 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26817 X"$_am_arg" : 'X\(//\)[^/]' \| \
26818 X"$_am_arg" : 'X\(//\)$' \| \
26819 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26820 $as_echo X"$_am_arg" |
26821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26825 /^X\(\/\/\)[^/].*/{
26837 s/.*/./; q'`/stamp-h
$_am_stamp_count
26844 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26847 # Prefer the file from the source tree if names are identical.
26848 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26849 ac_source
=$srcdir/$ac_source
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26853 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26855 if test ! -r "$ac_source"; then
26856 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26860 # Try a relative symlink, then a hard link, then a copy.
26862 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26863 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26865 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26866 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26867 cp -p "$ac_source" "$ac_file" ||
26868 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26871 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26872 $as_echo "$as_me: executing $ac_file commands" >&6;}
26877 case $ac_file$ac_mode in
26879 # Only add multilib support code if we just rebuilt the top-level
26881 case " $CONFIG_FILES " in
26883 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26886 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26887 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26888 # are listed without --file. Let's play safe and only enable the eval
26889 # if we detect the quoting.
26890 case $CONFIG_FILES in
26891 *\'*) eval set x
"$CONFIG_FILES" ;;
26892 *) set x
$CONFIG_FILES ;;
26897 # Strip MF so we end up with the name of the file.
26898 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26899 # Check whether this is an Automake generated Makefile or not.
26900 # We used to match only the files named `Makefile.in', but
26901 # some people rename them; so instead we look at the file content.
26902 # Grep'ing the first line is not enough: some people post-process
26903 # each Makefile.in and add a new line on top of each file to say so.
26904 # Grep'ing the whole file is not good either: AIX grep has a line
26905 # limit of 2048, but all sed's we know have understand at least 4000.
26906 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26907 dirpart
=`$as_dirname -- "$mf" ||
26908 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26909 X"$mf" : 'X\(//\)[^/]' \| \
26910 X"$mf" : 'X\(//\)$' \| \
26911 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26917 /^X\(\/\/\)[^/].*/{
26933 # Extract the definition of DEPDIR, am__include, and am__quote
26934 # from the Makefile without running `make'.
26935 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26936 test -z "$DEPDIR" && continue
26937 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26938 test -z "am__include" && continue
26939 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26940 # When using ansi2knr, U may be empty or an underscore; expand it
26941 U
=`sed -n 's/^U = //p' < "$mf"`
26942 # Find all dependency output files, they are included files with
26943 # $(DEPDIR) in their names. We invoke sed twice because it is the
26944 # simplest approach to changing $(DEPDIR) to its actual value in the
26946 for file in `sed -n "
26947 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26948 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26949 # Make sure the directory exists.
26950 test -f "$dirpart/$file" && continue
26951 fdir
=`$as_dirname -- "$file" ||
26952 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26953 X"$file" : 'X\(//\)[^/]' \| \
26954 X"$file" : 'X\(//\)$' \| \
26955 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26956 $as_echo X"$file" |
26957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26961 /^X\(\/\/\)[^/].*/{
26974 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26975 # echo "creating $dirpart/$file"
26976 echo '# dummy' > "$dirpart/$file"
26983 # See if we are running on zsh, and set the options which allow our
26984 # commands through without removal of \ escapes.
26985 if test -n "${ZSH_VERSION+set}" ; then
26986 setopt NO_GLOB_SUBST
26989 cfgfile
="${ofile}T"
26990 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26993 cat <<_LT_EOF >> "$cfgfile"
26996 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26997 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26998 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26999 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27001 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27002 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27003 # Written by Gordon Matzigkeit, 1996
27005 # This file is part of GNU Libtool.
27007 # GNU Libtool is free software; you can redistribute it and/or
27008 # modify it under the terms of the GNU General Public License as
27009 # published by the Free Software Foundation; either version 2 of
27010 # the License, or (at your option) any later version.
27012 # As a special exception to the GNU General Public License,
27013 # if you distribute this file as part of a program or library that
27014 # is built using GNU Libtool, you may include this file under the
27015 # same distribution terms that you use for the rest of that program.
27017 # GNU Libtool is distributed in the hope that it will be useful,
27018 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27019 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27020 # GNU General Public License for more details.
27022 # You should have received a copy of the GNU General Public License
27023 # along with GNU Libtool; see the file COPYING. If not, a copy
27024 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27025 # obtained by writing to the Free Software Foundation, Inc.,
27026 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27029 # The names of the tagged configurations supported by this script.
27030 available_tags="CXX GCJ "
27032 # ### BEGIN LIBTOOL CONFIG
27034 # Which release of libtool.m4 was used?
27035 macro_version=$macro_version
27036 macro_revision=$macro_revision
27038 # Whether or not to build shared libraries.
27039 build_libtool_libs=$enable_shared
27041 # Whether or not to build static libraries.
27042 build_old_libs=$enable_static
27044 # What type of objects to build.
27047 # Whether or not to optimize for fast installation.
27048 fast_install=$enable_fast_install
27050 # Shell to use when invoking shell scripts.
27053 # An echo program that protects backslashes.
27057 host_alias=$host_alias
27061 # The build system.
27062 build_alias=$build_alias
27066 # A sed program that does not truncate output.
27069 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27070 Xsed="\$SED -e 1s/^X//"
27072 # A grep program that handles long lines.
27078 # A literal string matcher.
27081 # A BSD- or MS-compatible name lister.
27084 # Whether we need soft or hard links.
27087 # What is the maximum length of a command?
27088 max_cmd_len=$max_cmd_len
27090 # Object file suffix (normally "o").
27093 # Executable file suffix (normally "").
27096 # whether the shell understands "unset".
27099 # turn spaces into newlines.
27102 # turn newlines into spaces.
27105 # An object symbol dumper.
27106 OBJDUMP=$lt_OBJDUMP
27108 # Method to check whether dependent libraries are shared objects.
27109 deplibs_check_method=$lt_deplibs_check_method
27111 # Command to use when deplibs_check_method == "file_magic".
27112 file_magic_cmd=$lt_file_magic_cmd
27116 AR_FLAGS=$lt_AR_FLAGS
27118 # A symbol stripping program.
27121 # Commands used to install an old-style archive.
27123 old_postinstall_cmds=$lt_old_postinstall_cmds
27124 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27126 # Whether to use a lock for old archive extraction.
27127 lock_old_archive_extraction=$lock_old_archive_extraction
27132 # LTCC compiler flags.
27133 LTCFLAGS=$lt_CFLAGS
27135 # Take the output of nm and produce a listing of raw symbols and C names.
27136 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27138 # Transform the output of nm in a proper C declaration.
27139 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27141 # Transform the output of nm in a C name address pair.
27142 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27144 # Transform the output of nm in a C name address pair when lib prefix is needed.
27145 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27147 # The name of the directory that contains temporary libtool files.
27150 # Used to examine libraries when file_magic_cmd begins with "file".
27151 MAGIC_CMD=$MAGIC_CMD
27153 # Must we lock files when doing compilation?
27154 need_locks=$lt_need_locks
27156 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27157 DSYMUTIL=$lt_DSYMUTIL
27159 # Tool to change global to local symbols on Mac OS X.
27162 # Tool to manipulate fat objects and archives on Mac OS X.
27165 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27168 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27169 OTOOL64=$lt_OTOOL64
27171 # Old archive suffix (normally "a").
27174 # Shared library suffix (normally ".so").
27175 shrext_cmds=$lt_shrext_cmds
27177 # The commands to extract the exported symbol list from a shared archive.
27178 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27180 # Variables whose values should be saved in libtool wrapper scripts and
27181 # restored at link time.
27182 variables_saved_for_relink=$lt_variables_saved_for_relink
27184 # Do we need the "lib" prefix for modules?
27185 need_lib_prefix=$need_lib_prefix
27187 # Do we need a version for libraries?
27188 need_version=$need_version
27190 # Library versioning type.
27191 version_type=$version_type
27193 # Shared library runtime path variable.
27194 runpath_var=$runpath_var
27196 # Shared library path variable.
27197 shlibpath_var=$shlibpath_var
27199 # Is shlibpath searched before the hard-coded library search path?
27200 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27202 # Format of library name prefix.
27203 libname_spec=$lt_libname_spec
27205 # List of archive names. First name is the real one, the rest are links.
27206 # The last name is the one that the linker finds with -lNAME
27207 library_names_spec=$lt_library_names_spec
27209 # The coded name of the library, if different from the real name.
27210 soname_spec=$lt_soname_spec
27212 # Permission mode override for installation of shared libraries.
27213 install_override_mode=$lt_install_override_mode
27215 # Command to use after installation of a shared archive.
27216 postinstall_cmds=$lt_postinstall_cmds
27218 # Command to use after uninstallation of a shared archive.
27219 postuninstall_cmds=$lt_postuninstall_cmds
27221 # Commands used to finish a libtool library installation in a directory.
27222 finish_cmds=$lt_finish_cmds
27224 # As "finish_cmds", except a single script fragment to be evaled but
27226 finish_eval=$lt_finish_eval
27228 # Whether we should hardcode library paths into libraries.
27229 hardcode_into_libs=$hardcode_into_libs
27231 # Compile-time system search path for libraries.
27232 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27234 # Run-time system search path for libraries.
27235 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27237 # Whether dlopen is supported.
27238 dlopen_support=$enable_dlopen
27240 # Whether dlopen of programs is supported.
27241 dlopen_self=$enable_dlopen_self
27243 # Whether dlopen of statically linked programs is supported.
27244 dlopen_self_static=$enable_dlopen_self_static
27246 # Commands to strip libraries.
27247 old_striplib=$lt_old_striplib
27248 striplib=$lt_striplib
27251 # The linker used to build libraries.
27254 # How to create reloadable object files.
27255 reload_flag=$lt_reload_flag
27256 reload_cmds=$lt_reload_cmds
27258 # Commands used to build an old-style archive.
27259 old_archive_cmds=$lt_old_archive_cmds
27261 # A language specific compiler.
27264 # Is the compiler the GNU compiler?
27267 # Compiler flag to turn off builtin functions.
27268 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27270 # How to pass a linker flag through the compiler.
27271 wl=$lt_lt_prog_compiler_wl
27273 # Additional compiler flags for building library objects.
27274 pic_flag=$lt_lt_prog_compiler_pic
27276 # Compiler flag to prevent dynamic linking.
27277 link_static_flag=$lt_lt_prog_compiler_static
27279 # Does compiler simultaneously support -c and -o options?
27280 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27282 # Whether or not to add -lc for building shared libraries.
27283 build_libtool_need_lc=$archive_cmds_need_lc
27285 # Whether or not to disallow shared libs when runtime libs are static.
27286 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27288 # Compiler flag to allow reflexive dlopens.
27289 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27291 # Compiler flag to generate shared objects directly from archives.
27292 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27294 # Whether the compiler copes with passing no objects directly.
27295 compiler_needs_object=$lt_compiler_needs_object
27297 # Create an old-style archive from a shared archive.
27298 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27300 # Create a temporary old-style archive to link instead of a shared archive.
27301 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27303 # Commands used to build a shared archive.
27304 archive_cmds=$lt_archive_cmds
27305 archive_expsym_cmds=$lt_archive_expsym_cmds
27307 # Commands used to build a loadable module if different from building
27308 # a shared archive.
27309 module_cmds=$lt_module_cmds
27310 module_expsym_cmds=$lt_module_expsym_cmds
27312 # Whether we are building with GNU ld or not.
27313 with_gnu_ld=$lt_with_gnu_ld
27315 # Flag that allows shared libraries with undefined symbols to be built.
27316 allow_undefined_flag=$lt_allow_undefined_flag
27318 # Flag that enforces no undefined symbols.
27319 no_undefined_flag=$lt_no_undefined_flag
27321 # Flag to hardcode \$libdir into a binary during linking.
27322 # This must work even if \$libdir does not exist
27323 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27325 # If ld is used when linking, flag to hardcode \$libdir into a binary
27326 # during linking. This must work even if \$libdir does not exist.
27327 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27329 # Whether we need a single "-rpath" flag with a separated argument.
27330 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27332 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27333 # DIR into the resulting binary.
27334 hardcode_direct=$hardcode_direct
27336 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27337 # DIR into the resulting binary and the resulting library dependency is
27338 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27339 # library is relocated.
27340 hardcode_direct_absolute=$hardcode_direct_absolute
27342 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27343 # into the resulting binary.
27344 hardcode_minus_L=$hardcode_minus_L
27346 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27347 # into the resulting binary.
27348 hardcode_shlibpath_var=$hardcode_shlibpath_var
27350 # Set to "yes" if building a shared library automatically hardcodes DIR
27351 # into the library and all subsequent libraries and executables linked
27353 hardcode_automatic=$hardcode_automatic
27355 # Set to yes if linker adds runtime paths of dependent libraries
27356 # to runtime path list.
27357 inherit_rpath=$inherit_rpath
27359 # Whether libtool must link a program against all its dependency libraries.
27360 link_all_deplibs=$link_all_deplibs
27362 # Fix the shell variable \$srcfile for the compiler.
27363 fix_srcfile_path=$lt_fix_srcfile_path
27365 # Set to "yes" if exported symbols are required.
27366 always_export_symbols=$always_export_symbols
27368 # The commands to list exported symbols.
27369 export_symbols_cmds=$lt_export_symbols_cmds
27371 # Symbols that should not be listed in the preloaded symbols.
27372 exclude_expsyms=$lt_exclude_expsyms
27374 # Symbols that must always be exported.
27375 include_expsyms=$lt_include_expsyms
27377 # Commands necessary for linking programs (against libraries) with templates.
27378 prelink_cmds=$lt_prelink_cmds
27380 # Specify filename containing input files.
27381 file_list_spec=$lt_file_list_spec
27383 # How to hardcode a shared library path into an executable.
27384 hardcode_action=$hardcode_action
27386 # The directories searched by this compiler when creating a shared library.
27387 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27389 # Dependencies to place before and after the objects being linked to
27390 # create a shared library.
27391 predep_objects=$lt_predep_objects
27392 postdep_objects=$lt_postdep_objects
27393 predeps=$lt_predeps
27394 postdeps=$lt_postdeps
27396 # The library search path used internally by the compiler when linking
27397 # a shared library.
27398 compiler_lib_search_path=$lt_compiler_lib_search_path
27400 # ### END LIBTOOL CONFIG
27406 cat <<\_LT_EOF
>> "$cfgfile"
27407 # AIX sometimes has problems with the GCC collect2 program. For some
27408 # reason, if we set the COLLECT_NAMES environment variable, the problems
27409 # vanish in a puff of smoke.
27410 if test "X${COLLECT_NAMES+set}" != Xset
; then
27412 export COLLECT_NAMES
27419 ltmain
="$ac_aux_dir/ltmain.sh"
27422 # We use sed instead of cat because bash on DJGPP gets confused if
27423 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27424 # text mode, it properly converts lines to CR/LF. This bash problem
27425 # is reportedly fixed, but why not run on old versions too?
27426 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27427 ||
(rm -f "$cfgfile"; exit 1)
27431 cat << \_LT_EOF
>> "$cfgfile"
27433 # func_dirname file append nondir_replacement
27434 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27435 # otherwise set result to NONDIR_REPLACEMENT.
27439 */*) func_dirname_result
="${1%/*}${2}" ;;
27440 * ) func_dirname_result
="${3}" ;;
27444 # func_basename file
27447 func_basename_result
="${1##*/}"
27450 # func_dirname_and_basename file append nondir_replacement
27451 # perform func_basename and func_dirname in a single function
27453 # dirname: Compute the dirname of FILE. If nonempty,
27454 # add APPEND to the result, otherwise set result
27455 # to NONDIR_REPLACEMENT.
27456 # value returned in "$func_dirname_result"
27457 # basename: Compute filename of FILE.
27458 # value retuned in "$func_basename_result"
27459 # Implementation must be kept synchronized with func_dirname
27460 # and func_basename. For efficiency, we do not delegate to
27461 # those functions but instead duplicate the functionality here.
27462 func_dirname_and_basename
()
27465 */*) func_dirname_result
="${1%/*}${2}" ;;
27466 * ) func_dirname_result
="${3}" ;;
27468 func_basename_result
="${1##*/}"
27471 # func_stripname prefix suffix name
27472 # strip PREFIX and SUFFIX off of NAME.
27473 # PREFIX and SUFFIX must not contain globbing or regex special
27474 # characters, hashes, percent signs, but SUFFIX may contain a leading
27475 # dot (in which case that matches only a dot).
27478 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27479 # positional parameters, so assign one to ordinary parameter first.
27480 func_stripname_result
=${3}
27481 func_stripname_result
=${func_stripname_result#"${1}"}
27482 func_stripname_result
=${func_stripname_result%"${2}"}
27488 func_opt_split_opt
=${1%%=*}
27489 func_opt_split_arg
=${1#*=}
27496 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27497 *) func_lo2o_result
=${1} ;;
27501 # func_xform libobj-or-source
27504 func_xform_result
=${1%.*}.lo
27507 # func_arith arithmetic-term...
27510 func_arith_result
=$
(( $
* ))
27514 # STRING may not start with a hyphen.
27517 func_len_result
=${#1}
27522 *) # Bourne compatible functions.
27523 cat << \_LT_EOF
>> "$cfgfile"
27525 # func_dirname file append nondir_replacement
27526 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27527 # otherwise set result to NONDIR_REPLACEMENT.
27530 # Extract subdirectory from the argument.
27531 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27532 if test "X$func_dirname_result" = "X${1}"; then
27533 func_dirname_result
="${3}"
27535 func_dirname_result
="$func_dirname_result${2}"
27539 # func_basename file
27542 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27546 # func_stripname prefix suffix name
27547 # strip PREFIX and SUFFIX off of NAME.
27548 # PREFIX and SUFFIX must not contain globbing or regex special
27549 # characters, hashes, percent signs, but SUFFIX may contain a leading
27550 # dot (in which case that matches only a dot).
27551 # func_strip_suffix prefix name
27555 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27556 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27561 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27562 my_sed_long_arg
='1s/^-[^=]*=//'
27567 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27568 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27574 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27577 # func_xform libobj-or-source
27580 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27583 # func_arith arithmetic-term...
27586 func_arith_result
=`expr "$@"`
27590 # STRING may not start with a hyphen.
27593 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27599 case $lt_shell_append in
27601 cat << \_LT_EOF
>> "$cfgfile"
27603 # func_append var value
27604 # Append VALUE to the end of shell variable VAR.
27612 cat << \_LT_EOF
>> "$cfgfile"
27614 # func_append var value
27615 # Append VALUE to the end of shell variable VAR.
27626 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27627 ||
(rm -f "$cfgfile"; exit 1)
27629 mv -f "$cfgfile" "$ofile" ||
27630 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27634 cat <<_LT_EOF >> "$ofile"
27636 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27638 # The linker used to build libraries.
27641 # How to create reloadable object files.
27642 reload_flag=$lt_reload_flag_CXX
27643 reload_cmds=$lt_reload_cmds_CXX
27645 # Commands used to build an old-style archive.
27646 old_archive_cmds=$lt_old_archive_cmds_CXX
27648 # A language specific compiler.
27649 CC=$lt_compiler_CXX
27651 # Is the compiler the GNU compiler?
27654 # Compiler flag to turn off builtin functions.
27655 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27657 # How to pass a linker flag through the compiler.
27658 wl=$lt_lt_prog_compiler_wl_CXX
27660 # Additional compiler flags for building library objects.
27661 pic_flag=$lt_lt_prog_compiler_pic_CXX
27663 # Compiler flag to prevent dynamic linking.
27664 link_static_flag=$lt_lt_prog_compiler_static_CXX
27666 # Does compiler simultaneously support -c and -o options?
27667 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27669 # Whether or not to add -lc for building shared libraries.
27670 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27672 # Whether or not to disallow shared libs when runtime libs are static.
27673 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27675 # Compiler flag to allow reflexive dlopens.
27676 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27678 # Compiler flag to generate shared objects directly from archives.
27679 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27681 # Whether the compiler copes with passing no objects directly.
27682 compiler_needs_object=$lt_compiler_needs_object_CXX
27684 # Create an old-style archive from a shared archive.
27685 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27687 # Create a temporary old-style archive to link instead of a shared archive.
27688 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27690 # Commands used to build a shared archive.
27691 archive_cmds=$lt_archive_cmds_CXX
27692 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27694 # Commands used to build a loadable module if different from building
27695 # a shared archive.
27696 module_cmds=$lt_module_cmds_CXX
27697 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27699 # Whether we are building with GNU ld or not.
27700 with_gnu_ld=$lt_with_gnu_ld_CXX
27702 # Flag that allows shared libraries with undefined symbols to be built.
27703 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27705 # Flag that enforces no undefined symbols.
27706 no_undefined_flag=$lt_no_undefined_flag_CXX
27708 # Flag to hardcode \$libdir into a binary during linking.
27709 # This must work even if \$libdir does not exist
27710 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27712 # If ld is used when linking, flag to hardcode \$libdir into a binary
27713 # during linking. This must work even if \$libdir does not exist.
27714 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27716 # Whether we need a single "-rpath" flag with a separated argument.
27717 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27719 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27720 # DIR into the resulting binary.
27721 hardcode_direct=$hardcode_direct_CXX
27723 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27724 # DIR into the resulting binary and the resulting library dependency is
27725 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27726 # library is relocated.
27727 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27729 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27730 # into the resulting binary.
27731 hardcode_minus_L=$hardcode_minus_L_CXX
27733 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27734 # into the resulting binary.
27735 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27737 # Set to "yes" if building a shared library automatically hardcodes DIR
27738 # into the library and all subsequent libraries and executables linked
27740 hardcode_automatic=$hardcode_automatic_CXX
27742 # Set to yes if linker adds runtime paths of dependent libraries
27743 # to runtime path list.
27744 inherit_rpath=$inherit_rpath_CXX
27746 # Whether libtool must link a program against all its dependency libraries.
27747 link_all_deplibs=$link_all_deplibs_CXX
27749 # Fix the shell variable \$srcfile for the compiler.
27750 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27752 # Set to "yes" if exported symbols are required.
27753 always_export_symbols=$always_export_symbols_CXX
27755 # The commands to list exported symbols.
27756 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27758 # Symbols that should not be listed in the preloaded symbols.
27759 exclude_expsyms=$lt_exclude_expsyms_CXX
27761 # Symbols that must always be exported.
27762 include_expsyms=$lt_include_expsyms_CXX
27764 # Commands necessary for linking programs (against libraries) with templates.
27765 prelink_cmds=$lt_prelink_cmds_CXX
27767 # Specify filename containing input files.
27768 file_list_spec=$lt_file_list_spec_CXX
27770 # How to hardcode a shared library path into an executable.
27771 hardcode_action=$hardcode_action_CXX
27773 # The directories searched by this compiler when creating a shared library.
27774 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27776 # Dependencies to place before and after the objects being linked to
27777 # create a shared library.
27778 predep_objects=$lt_predep_objects_CXX
27779 postdep_objects=$lt_postdep_objects_CXX
27780 predeps=$lt_predeps_CXX
27781 postdeps=$lt_postdeps_CXX
27783 # The library search path used internally by the compiler when linking
27784 # a shared library.
27785 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27787 # ### END LIBTOOL TAG CONFIG: CXX
27791 cat <<_LT_EOF >> "$ofile"
27793 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
27795 # The linker used to build libraries.
27798 # How to create reloadable object files.
27799 reload_flag=$lt_reload_flag_GCJ
27800 reload_cmds=$lt_reload_cmds_GCJ
27802 # Commands used to build an old-style archive.
27803 old_archive_cmds=$lt_old_archive_cmds_GCJ
27805 # A language specific compiler.
27806 CC=$lt_compiler_GCJ
27808 # Is the compiler the GNU compiler?
27811 # Compiler flag to turn off builtin functions.
27812 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
27814 # How to pass a linker flag through the compiler.
27815 wl=$lt_lt_prog_compiler_wl_GCJ
27817 # Additional compiler flags for building library objects.
27818 pic_flag=$lt_lt_prog_compiler_pic_GCJ
27820 # Compiler flag to prevent dynamic linking.
27821 link_static_flag=$lt_lt_prog_compiler_static_GCJ
27823 # Does compiler simultaneously support -c and -o options?
27824 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27826 # Whether or not to add -lc for building shared libraries.
27827 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
27829 # Whether or not to disallow shared libs when runtime libs are static.
27830 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
27832 # Compiler flag to allow reflexive dlopens.
27833 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
27835 # Compiler flag to generate shared objects directly from archives.
27836 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
27838 # Whether the compiler copes with passing no objects directly.
27839 compiler_needs_object=$lt_compiler_needs_object_GCJ
27841 # Create an old-style archive from a shared archive.
27842 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
27844 # Create a temporary old-style archive to link instead of a shared archive.
27845 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
27847 # Commands used to build a shared archive.
27848 archive_cmds=$lt_archive_cmds_GCJ
27849 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
27851 # Commands used to build a loadable module if different from building
27852 # a shared archive.
27853 module_cmds=$lt_module_cmds_GCJ
27854 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
27856 # Whether we are building with GNU ld or not.
27857 with_gnu_ld=$lt_with_gnu_ld_GCJ
27859 # Flag that allows shared libraries with undefined symbols to be built.
27860 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
27862 # Flag that enforces no undefined symbols.
27863 no_undefined_flag=$lt_no_undefined_flag_GCJ
27865 # Flag to hardcode \$libdir into a binary during linking.
27866 # This must work even if \$libdir does not exist
27867 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
27869 # If ld is used when linking, flag to hardcode \$libdir into a binary
27870 # during linking. This must work even if \$libdir does not exist.
27871 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
27873 # Whether we need a single "-rpath" flag with a separated argument.
27874 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
27876 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27877 # DIR into the resulting binary.
27878 hardcode_direct=$hardcode_direct_GCJ
27880 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27881 # DIR into the resulting binary and the resulting library dependency is
27882 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27883 # library is relocated.
27884 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
27886 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27887 # into the resulting binary.
27888 hardcode_minus_L=$hardcode_minus_L_GCJ
27890 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27891 # into the resulting binary.
27892 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27894 # Set to "yes" if building a shared library automatically hardcodes DIR
27895 # into the library and all subsequent libraries and executables linked
27897 hardcode_automatic=$hardcode_automatic_GCJ
27899 # Set to yes if linker adds runtime paths of dependent libraries
27900 # to runtime path list.
27901 inherit_rpath=$inherit_rpath_GCJ
27903 # Whether libtool must link a program against all its dependency libraries.
27904 link_all_deplibs=$link_all_deplibs_GCJ
27906 # Fix the shell variable \$srcfile for the compiler.
27907 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
27909 # Set to "yes" if exported symbols are required.
27910 always_export_symbols=$always_export_symbols_GCJ
27912 # The commands to list exported symbols.
27913 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27915 # Symbols that should not be listed in the preloaded symbols.
27916 exclude_expsyms=$lt_exclude_expsyms_GCJ
27918 # Symbols that must always be exported.
27919 include_expsyms=$lt_include_expsyms_GCJ
27921 # Commands necessary for linking programs (against libraries) with templates.
27922 prelink_cmds=$lt_prelink_cmds_GCJ
27924 # Specify filename containing input files.
27925 file_list_spec=$lt_file_list_spec_GCJ
27927 # How to hardcode a shared library path into an executable.
27928 hardcode_action=$hardcode_action_GCJ
27930 # The directories searched by this compiler when creating a shared library.
27931 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27933 # Dependencies to place before and after the objects being linked to
27934 # create a shared library.
27935 predep_objects=$lt_predep_objects_GCJ
27936 postdep_objects=$lt_postdep_objects_GCJ
27937 predeps=$lt_predeps_GCJ
27938 postdeps=$lt_postdeps_GCJ
27940 # The library search path used internally by the compiler when linking
27941 # a shared library.
27942 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27944 # ### END LIBTOOL TAG CONFIG: GCJ
27948 "scripts/jar":F
) chmod +x
scripts
/jar
;;
27956 ac_clean_files
=$ac_clean_files_save
27958 test $ac_write_fail = 0 ||
27959 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27962 # configure is writing to config.log, and then calls config.status.
27963 # config.status does its own redirection, appending to config.log.
27964 # Unfortunately, on DOS this fails, as config.log is still kept open
27965 # by configure, so config.status won't be able to write to it; its
27966 # output is simply discarded. So we exec the FD to /dev/null,
27967 # effectively closing config.log, so it can be properly (re)opened and
27968 # appended to by config.status. When coming back to configure, we
27969 # need to make the FD available again.
27970 if test "$no_create" != yes; then
27972 ac_config_status_args
=
27973 test "$silent" = yes &&
27974 ac_config_status_args
="$ac_config_status_args --quiet"
27976 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27978 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27979 # would make configure fail if this is the last instruction.
27980 $ac_cs_success || as_fn_exit $?
27984 # CONFIG_SUBDIRS section.
27986 if test "$no_recursion" != yes; then
27988 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
27989 # so they do not pile up.
27990 ac_sub_configure_args
=
27992 eval "set x $ac_configure_args"
27996 if test -n "$ac_prev"; then
28001 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
28002 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
28003 ac_prev
=cache_file
;;
28004 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
28005 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
28008 --config-cache |
-C)
28010 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
28012 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
28014 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
28016 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
28018 --disable-option-checking)
28022 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28024 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
28028 # Always prepend --prefix to ensure using the same prefix
28029 # in subdir configurations.
28030 ac_arg
="--prefix=$prefix"
28032 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28034 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
28037 if test "$silent" = yes; then
28038 ac_sub_configure_args
="--silent $ac_sub_configure_args"
28041 # Always prepend --disable-option-checking to silence warnings, since
28042 # different subdirs can have different --enable and --with options.
28043 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
28046 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
28048 # Do not complain, so a configure script can configure whichever
28049 # parts of a large source tree are present.
28050 test -d "$srcdir/$ac_dir" ||
continue
28052 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
28053 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
28054 $as_echo "$ac_msg" >&6
28055 as_dir
="$ac_dir"; as_fn_mkdir_p
28059 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28061 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28062 # A ".." for each directory in $ac_dir_suffix.
28063 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28064 case $ac_top_builddir_sub in
28065 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28066 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28069 ac_abs_top_builddir
=$ac_pwd
28070 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28071 # for backward compatibility:
28072 ac_top_builddir
=$ac_top_build_prefix
28075 .
) # We are building in place.
28077 ac_top_srcdir
=$ac_top_builddir_sub
28078 ac_abs_top_srcdir
=$ac_pwd ;;
28079 [\\/]* | ?
:[\\/]* ) # Absolute name.
28080 ac_srcdir
=$srcdir$ac_dir_suffix;
28081 ac_top_srcdir
=$srcdir
28082 ac_abs_top_srcdir
=$srcdir ;;
28083 *) # Relative name.
28084 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28085 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28086 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28088 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28093 # Check for guested configure; otherwise get Cygnus style configure.
28094 if test -f "$ac_srcdir/configure.gnu"; then
28095 ac_sub_configure
=$ac_srcdir/configure.gnu
28096 elif test -f "$ac_srcdir/configure"; then
28097 ac_sub_configure
=$ac_srcdir/configure
28098 elif test -f "$ac_srcdir/configure.in"; then
28099 # This should be Cygnus configure.
28100 ac_sub_configure
=$ac_aux_dir/configure
28102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
28103 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
28107 # The recursion is here.
28108 if test -n "$ac_sub_configure"; then
28109 # Make the cache file name correct relative to the subdirectory.
28110 case $cache_file in
28111 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
28112 *) # Relative name.
28113 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
28116 { $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
28117 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
28118 # The eval makes quoting arguments work.
28119 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
28120 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
28121 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
28127 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28129 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}