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
648 INSTALL_BINARIES_FALSE
649 INSTALL_BINARIES_TRUE
650 NEEDS_DATA_START_FALSE
651 NEEDS_DATA_START_TRUE
682 USING_NO_THREADS_FALSE
683 USING_NO_THREADS_TRUE
684 USING_WIN32_THREADS_FALSE
685 USING_WIN32_THREADS_TRUE
686 USING_POSIX_THREADS_FALSE
687 USING_POSIX_THREADS_TRUE
708 extra_ldflags_libjava
717 USING_DARWIN_CRT_FALSE
718 USING_DARWIN_CRT_TRUE
719 USING_POSIX_PLATFORM_FALSE
720 USING_POSIX_PLATFORM_TRUE
721 USING_WIN32_PLATFORM_FALSE
722 USING_WIN32_PLATFORM_TRUE
729 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
730 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
731 SUPPRESS_LIBGCJ_BC_FALSE
732 SUPPRESS_LIBGCJ_BC_TRUE
736 INSTALL_ECJ_JAR_FALSE
781 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
783 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
784 LIBGCJ_SUBLIB_LTFLAGS
789 MAINTAINER_MODE_FALSE
819 INSTALL_STRIP_PROGRAM
844 JAVA_MAINTAINER_MODE_FALSE
845 JAVA_MAINTAINER_MODE_TRUE
896 program_transform_name
909 enable_option_checking
915 enable_version_specific_runtime_libs
916 enable_browser_plugin
920 enable_java_maintainer_mode
921 enable_dependency_tracking
922 enable_maintainer_mode
923 enable_libgcj_sublibs
933 enable_getenv_properties
934 enable_hash_synchronization
938 enable_reduced_reflection
942 enable_sjlj_exceptions
953 with_system_libunwind
955 enable_aot_compile_rpm
965 ac_precious_vars
='build_alias
979 ac_subdirs_all
='classpath libltdl'
981 # Initialize some variables set by options.
983 ac_init_version
=false
984 ac_unrecognized_opts
=
986 # The variables have the same names as the options, with
987 # dashes changed to underlines.
995 program_transform_name
=s
,x
,x
,
1003 # Installation directory options.
1004 # These are left unexpanded so users can "make install exec_prefix=/foo"
1005 # and all the variables that are supposed to be based on exec_prefix
1006 # by default will actually change.
1007 # Use braces instead of parens because sh, perl, etc. also accept them.
1008 # (The list follows the same order as the GNU Coding Standards.)
1009 bindir
='${exec_prefix}/bin'
1010 sbindir
='${exec_prefix}/sbin'
1011 libexecdir
='${exec_prefix}/libexec'
1012 datarootdir
='${prefix}/share'
1013 datadir
='${datarootdir}'
1014 sysconfdir
='${prefix}/etc'
1015 sharedstatedir
='${prefix}/com'
1016 localstatedir
='${prefix}/var'
1017 includedir
='${prefix}/include'
1018 oldincludedir
='/usr/include'
1019 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1020 infodir
='${datarootdir}/info'
1025 libdir
='${exec_prefix}/lib'
1026 localedir
='${datarootdir}/locale'
1027 mandir
='${datarootdir}/man'
1033 # If the previous option needs an argument, assign it.
1034 if test -n "$ac_prev"; then
1035 eval $ac_prev=\
$ac_option
1041 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1045 # Accept the important Cygnus configure options, so we can diagnose typos.
1047 case $ac_dashdash$ac_option in
1051 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1053 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1054 bindir
=$ac_optarg ;;
1056 -build |
--build |
--buil |
--bui |
--bu)
1057 ac_prev
=build_alias
;;
1058 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1059 build_alias
=$ac_optarg ;;
1061 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1062 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1063 ac_prev
=cache_file
;;
1064 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1065 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1066 cache_file
=$ac_optarg ;;
1068 --config-cache |
-C)
1069 cache_file
=config.cache
;;
1071 -datadir |
--datadir |
--datadi |
--datad)
1073 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1074 datadir
=$ac_optarg ;;
1076 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1077 |
--dataroo |
--dataro |
--datar)
1078 ac_prev
=datarootdir
;;
1079 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1080 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1081 datarootdir
=$ac_optarg ;;
1083 -disable-* |
--disable-*)
1084 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1087 as_fn_error
"invalid feature name: $ac_useropt"
1088 ac_useropt_orig
=$ac_useropt
1089 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1092 "enable_
$ac_useropt"
1094 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1095 ac_unrecognized_sep
=', ';;
1097 eval enable_
$ac_useropt=no
;;
1099 -docdir |
--docdir |
--docdi |
--doc |
--do)
1101 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1102 docdir
=$ac_optarg ;;
1104 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1106 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1107 dvidir
=$ac_optarg ;;
1109 -enable-* |
--enable-*)
1110 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1111 # Reject names that are not valid shell variable names.
1112 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1113 as_fn_error
"invalid feature name: $ac_useropt"
1114 ac_useropt_orig
=$ac_useropt
1115 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1116 case $ac_user_opts in
1118 "enable_
$ac_useropt"
1120 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1121 ac_unrecognized_sep
=', ';;
1123 eval enable_
$ac_useropt=\
$ac_optarg ;;
1125 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1126 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1127 |
--exec |
--exe |
--ex)
1128 ac_prev
=exec_prefix
;;
1129 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1130 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1131 |
--exec=* |
--exe=* |
--ex=*)
1132 exec_prefix
=$ac_optarg ;;
1134 -gas |
--gas |
--ga |
--g)
1135 # Obsolete; use --with-gas.
1138 -help |
--help |
--hel |
--he |
-h)
1139 ac_init_help
=long
;;
1140 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1141 ac_init_help
=recursive
;;
1142 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1143 ac_init_help
=short
;;
1145 -host |
--host |
--hos |
--ho)
1146 ac_prev
=host_alias
;;
1147 -host=* |
--host=* |
--hos=* |
--ho=*)
1148 host_alias
=$ac_optarg ;;
1150 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1152 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1154 htmldir
=$ac_optarg ;;
1156 -includedir |
--includedir |
--includedi |
--included |
--include \
1157 |
--includ |
--inclu |
--incl |
--inc)
1158 ac_prev
=includedir
;;
1159 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1160 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1161 includedir
=$ac_optarg ;;
1163 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1165 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1166 infodir
=$ac_optarg ;;
1168 -libdir |
--libdir |
--libdi |
--libd)
1170 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1171 libdir
=$ac_optarg ;;
1173 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1174 |
--libexe |
--libex |
--libe)
1175 ac_prev
=libexecdir
;;
1176 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1177 |
--libexe=* |
--libex=* |
--libe=*)
1178 libexecdir
=$ac_optarg ;;
1180 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1181 ac_prev
=localedir
;;
1182 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1183 localedir
=$ac_optarg ;;
1185 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1186 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1187 ac_prev
=localstatedir
;;
1188 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1189 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1190 localstatedir
=$ac_optarg ;;
1192 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1194 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1195 mandir
=$ac_optarg ;;
1197 -nfp |
--nfp |
--nf)
1198 # Obsolete; use --without-fp.
1201 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1202 |
--no-cr |
--no-c |
-n)
1205 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1206 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1209 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1210 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1211 |
--oldin |
--oldi |
--old |
--ol |
--o)
1212 ac_prev
=oldincludedir
;;
1213 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1214 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1215 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1216 oldincludedir
=$ac_optarg ;;
1218 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1220 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1221 prefix
=$ac_optarg ;;
1223 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1224 |
--program-pre |
--program-pr |
--program-p)
1225 ac_prev
=program_prefix
;;
1226 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1227 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1228 program_prefix
=$ac_optarg ;;
1230 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1231 |
--program-suf |
--program-su |
--program-s)
1232 ac_prev
=program_suffix
;;
1233 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1234 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1235 program_suffix
=$ac_optarg ;;
1237 -program-transform-name |
--program-transform-name \
1238 |
--program-transform-nam |
--program-transform-na \
1239 |
--program-transform-n |
--program-transform- \
1240 |
--program-transform |
--program-transfor \
1241 |
--program-transfo |
--program-transf \
1242 |
--program-trans |
--program-tran \
1243 |
--progr-tra |
--program-tr |
--program-t)
1244 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1254 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1256 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1257 pdfdir
=$ac_optarg ;;
1259 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1261 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1265 |
-silent |
--silent |
--silen |
--sile |
--sil)
1268 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1270 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1272 sbindir
=$ac_optarg ;;
1274 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1275 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1276 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1278 ac_prev
=sharedstatedir
;;
1279 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1280 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1281 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1283 sharedstatedir
=$ac_optarg ;;
1285 -site |
--site |
--sit)
1287 -site=* |
--site=* |
--sit=*)
1290 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1292 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1293 srcdir
=$ac_optarg ;;
1295 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1296 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1297 ac_prev
=sysconfdir
;;
1298 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1299 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1300 sysconfdir
=$ac_optarg ;;
1302 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1303 ac_prev
=target_alias
;;
1304 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1305 target_alias
=$ac_optarg ;;
1307 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1310 -version |
--version |
--versio |
--versi |
--vers |
-V)
1311 ac_init_version
=: ;;
1314 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1315 # Reject names that are not valid shell variable names.
1316 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1317 as_fn_error
"invalid package name: $ac_useropt"
1318 ac_useropt_orig
=$ac_useropt
1319 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1320 case $ac_user_opts in
1324 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1325 ac_unrecognized_sep
=', ';;
1327 eval with_
$ac_useropt=\
$ac_optarg ;;
1329 -without-* |
--without-*)
1330 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1331 # Reject names that are not valid shell variable names.
1332 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1333 as_fn_error
"invalid package name: $ac_useropt"
1334 ac_useropt_orig
=$ac_useropt
1335 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1336 case $ac_user_opts in
1340 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1341 ac_unrecognized_sep
=', ';;
1343 eval with_
$ac_useropt=no
;;
1346 # Obsolete; use --with-x.
1349 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1350 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1351 ac_prev
=x_includes
;;
1352 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1353 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1354 x_includes
=$ac_optarg ;;
1356 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1357 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1358 ac_prev
=x_libraries
;;
1359 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1360 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1361 x_libraries
=$ac_optarg ;;
1363 -*) as_fn_error
"unrecognized option: \`$ac_option'
1364 Try \`$0 --help' for more information."
1368 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1369 # Reject names that are not valid shell variable names.
1370 case $ac_envvar in #(
1371 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1372 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1374 eval $ac_envvar=\
$ac_optarg
1375 export $ac_envvar ;;
1378 # FIXME: should be removed in autoconf 3.0.
1379 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1380 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1381 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1382 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1388 if test -n "$ac_prev"; then
1389 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1390 as_fn_error
"missing argument to $ac_option"
1393 if test -n "$ac_unrecognized_opts"; then
1394 case $enable_option_checking in
1396 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1397 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1401 # Check all directory arguments for consistency.
1402 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1403 datadir sysconfdir sharedstatedir localstatedir includedir \
1404 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1405 libdir localedir mandir
1407 eval ac_val
=\$
$ac_var
1408 # Remove trailing slashes.
1411 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1412 eval $ac_var=\
$ac_val;;
1414 # Be sure to have absolute directory names.
1416 [\\/$
]* | ?
:[\\/]* ) continue;;
1417 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1419 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1422 # There might be people who depend on the old broken behavior: `$host'
1423 # used to hold the argument of --host etc.
1424 # FIXME: To remove some day.
1427 target
=$target_alias
1429 # FIXME: To remove some day.
1430 if test "x$host_alias" != x
; then
1431 if test "x$build_alias" = x
; then
1432 cross_compiling
=maybe
1433 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1434 If a cross compiler is detected then cross compile mode will be used." >&2
1435 elif test "x$build_alias" != "x$host_alias"; then
1441 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1443 test "$silent" = yes && exec 6>/dev
/null
1446 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1447 ac_ls_di
=`ls -di .` &&
1448 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1449 as_fn_error
"working directory cannot be determined"
1450 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1451 as_fn_error
"pwd does not report name of working directory"
1454 # Find the source files, if location was not specified.
1455 if test -z "$srcdir"; then
1456 ac_srcdir_defaulted
=yes
1457 # Try the directory containing this script, then the parent directory.
1458 ac_confdir
=`$as_dirname -- "$as_myself" ||
1459 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1460 X"$as_myself" : 'X\(//\)[^/]' \| \
1461 X"$as_myself" : 'X\(//\)$' \| \
1462 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1463 $as_echo X"$as_myself" |
1464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1482 if test ! -r "$srcdir/$ac_unique_file"; then
1486 ac_srcdir_defaulted
=no
1488 if test ! -r "$srcdir/$ac_unique_file"; then
1489 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1490 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1492 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1494 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1496 # When building in place, set srcdir=.
1497 if test "$ac_abs_confdir" = "$ac_pwd"; then
1500 # Remove unnecessary trailing slashes from srcdir.
1501 # Double slashes in file names in object file debugging info
1502 # mess up M-x gdb in Emacs.
1504 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1506 for ac_var
in $ac_precious_vars; do
1507 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1508 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1509 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1510 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1514 # Report the --help message.
1516 if test "$ac_init_help" = "long"; then
1517 # Omit some internal or obsolete options to make the list less imposing.
1518 # This message is too long to be a string in the A/UX 3.1 sh.
1520 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1522 Usage: $0 [OPTION]... [VAR=VALUE]...
1524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1525 VAR=VALUE. See below for descriptions of some of the useful variables.
1527 Defaults for the options are specified in brackets.
1530 -h, --help display this help and exit
1531 --help=short display options specific to this package
1532 --help=recursive display the short help of all the included packages
1533 -V, --version display version information and exit
1534 -q, --quiet, --silent do not print \`checking...' messages
1535 --cache-file=FILE cache test results in FILE [disabled]
1536 -C, --config-cache alias for \`--cache-file=config.cache'
1537 -n, --no-create do not create output files
1538 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1540 Installation directories:
1541 --prefix=PREFIX install architecture-independent files in PREFIX
1542 [$ac_default_prefix]
1543 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1546 By default, \`make install' will install all the files in
1547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1549 for instance \`--prefix=\$HOME'.
1551 For better control, use the options below.
1553 Fine tuning of the installation directories:
1554 --bindir=DIR user executables [EPREFIX/bin]
1555 --sbindir=DIR system admin executables [EPREFIX/sbin]
1556 --libexecdir=DIR program executables [EPREFIX/libexec]
1557 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1558 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1559 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1560 --libdir=DIR object code libraries [EPREFIX/lib]
1561 --includedir=DIR C header files [PREFIX/include]
1562 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1563 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1564 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1565 --infodir=DIR info documentation [DATAROOTDIR/info]
1566 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1567 --mandir=DIR man documentation [DATAROOTDIR/man]
1568 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1569 --htmldir=DIR html documentation [DOCDIR]
1570 --dvidir=DIR dvi documentation [DOCDIR]
1571 --pdfdir=DIR pdf documentation [DOCDIR]
1572 --psdir=DIR ps documentation [DOCDIR]
1578 --program-prefix=PREFIX prepend PREFIX to installed program names
1579 --program-suffix=SUFFIX append SUFFIX to installed program names
1580 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1583 --x-includes=DIR X include files are
in DIR
1584 --x-libraries=DIR X library files are
in DIR
1587 --build=BUILD configure
for building on BUILD
[guessed
]
1588 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1589 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1593 if test -n "$ac_init_help"; then
1594 case $ac_init_help in
1595 short | recursive
) echo "Configuration of libjava version-unused:";;
1600 --disable-option-checking ignore unrecognized
--enable/--with options
1601 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1602 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1603 --enable-multilib build many library versions
(default
)
1604 --enable-version-specific-runtime-libs
1605 specify that runtime libraries should be installed
1606 in a compiler-specific directory
1607 --enable-browser-plugin build gcjwebplugin web browser plugin
1608 --enable-gconf-peer compile GConf native peers
for util.preferences
1609 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1611 --enable-java-maintainer-mode
1612 allow rebuilding of .class and .h files
1613 --disable-dependency-tracking speeds up one-time build
1614 --enable-dependency-tracking do not reject slow dependency extractors
1615 --enable-maintainer-mode enable make rules and dependencies not useful
1616 (and sometimes confusing
) to the casual installer
1617 --enable-libgcj-sublibs build libgcj as many sub-libraries
1618 --enable-libgcj-debug enable runtime debugging code
1619 --enable-java-awt list of AWT peer implementations to be built
1620 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1621 --enable-static[=PKGS
] build static libraries
[default
=yes]
1622 --enable-fast-install[=PKGS
]
1623 optimize
for fast installation
[default
=yes]
1624 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1625 --disable-getenv-properties
1626 don
't set system properties from GCJ_PROPERTIES
1627 --enable-hash-synchronization
1628 use global hash table for monitor locks
1629 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1631 --enable-reduced-reflection
1632 enable or disable(default) -freduced-reflection when
1633 building portions of libgcj
1634 --enable-gc-debug include full support for pointer backtracing etc.
1635 --enable-interpreter enable interpreter
1636 --enable-sjlj-exceptions
1637 force use of builtin_setjmp for exceptions
1638 --disable-java-net disable java.net
1639 --disable-jvmpi disable JVMPI support
1640 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1641 --disable-rpath do not hardcode runtime library paths
1642 --enable-tls Use thread-local storage [default=yes]
1643 --enable-aot-compile-rpm
1644 enable installation of aot-compile-rpm [default=no]
1645 --enable-java-home create a standard JDK-style directory layout in the
1646 install tree [default=no]
1649 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1650 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1651 --with-build-libsubdir=DIR Directory where to find libraries for build system
1652 --with-target-subdir=SUBDIR
1653 configure in a subdirectory
1654 --with-cross-host=HOST configure with a cross compiler from HOST
1655 --with-newlib configure with newlib
1656 --with-antlr-jar=file Use ANTLR from the specified jar file
1657 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1658 --with-pic try to use only PIC/non-PIC objects [default=use
1660 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1661 --with-ecj-jar=FILE use preinstalled ecj jar
1662 --with-java-home=DIRECTORY
1663 value of java.home system property
1664 --with-win32-nlsapi=ansi or unicows or unicode
1665 native MinGW libgcj Win32 OS API (default is ansi)
1666 --without-libffi don't use libffi
1667 --with-ecos enable runtime eCos target support
1668 --with-system-zlib use installed libz
1669 --with-x use the X Window System
1670 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1671 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1672 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1673 --with-system-libunwind use installed libunwind
1674 --with-python-dir the location to install Python modules. This path
1675 should NOT include the prefix.
1676 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1677 --with-arch-directory the arch directory under jre/lib (defaults to
1679 --with-os-directory the os directory under include (defaults to
1681 --with-origin-name the JPackage origin name of this package (default is
1683 --with-arch-suffix the arch directory suffix (default is the empty
1685 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1686 --with-jvm-jar-dir where to install jars (default is
1687 ${prefix}/lib/jvm-exports)
1689 Some influential environment variables:
1690 CC C compiler command
1691 CFLAGS C compiler flags
1692 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1693 nonstandard directory <lib dir>
1694 LIBS libraries to pass to the linker, e.g. -l<library>
1695 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1696 you have headers in a nonstandard directory <include dir>
1697 CXX C++ compiler command
1698 CXXFLAGS C++ compiler flags
1700 CXXCPP C++ preprocessor
1701 XMKMF Path to xmkmf, Makefile generator for X Window System
1703 Use these variables to override the choices made by `configure' or to
help
1704 it to
find libraries and programs with nonstandard names
/locations.
1706 Report bugs to the package provider.
1711 if test "$ac_init_help" = "recursive"; then
1712 # If there are subdirs, report their specific --help.
1713 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1714 test -d "$ac_dir" ||
1715 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1720 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1722 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1723 # A ".." for each directory in $ac_dir_suffix.
1724 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1725 case $ac_top_builddir_sub in
1726 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1727 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1730 ac_abs_top_builddir
=$ac_pwd
1731 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1732 # for backward compatibility:
1733 ac_top_builddir
=$ac_top_build_prefix
1736 .
) # We are building in place.
1738 ac_top_srcdir
=$ac_top_builddir_sub
1739 ac_abs_top_srcdir
=$ac_pwd ;;
1740 [\\/]* | ?
:[\\/]* ) # Absolute name.
1741 ac_srcdir
=$srcdir$ac_dir_suffix;
1742 ac_top_srcdir
=$srcdir
1743 ac_abs_top_srcdir
=$srcdir ;;
1745 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1746 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1747 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1749 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1751 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1752 # Check for guested configure.
1753 if test -f "$ac_srcdir/configure.gnu"; then
1755 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1756 elif test -f "$ac_srcdir/configure"; then
1758 $SHELL "$ac_srcdir/configure" --help=recursive
1760 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1762 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1766 test -n "$ac_init_help" && exit $ac_status
1767 if $ac_init_version; then
1769 libjava configure version-unused
1770 generated by GNU Autoconf
2.64
1772 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1773 This configure
script is free software
; the Free Software Foundation
1774 gives unlimited permission to copy
, distribute and modify it.
1779 ## ------------------------ ##
1780 ## Autoconf initialization. ##
1781 ## ------------------------ ##
1783 # ac_fn_c_try_compile LINENO
1784 # --------------------------
1785 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_c_try_compile
()
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 rm -f conftest.
$ac_objext
1790 if { { ac_try
="$ac_compile"
1792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_compile") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest.$ac_objext; then :
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1819 } # ac_fn_c_try_compile
1821 # ac_fn_cxx_try_compile LINENO
1822 # ----------------------------
1823 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1824 ac_fn_cxx_try_compile ()
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 rm -f conftest.$ac_objext
1828 if { { ac_try="$ac_compile"
1830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1831 *) ac_try_echo
=$ac_try;;
1833 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_compile") 2>conftest.err
1837 if test -s conftest.err
; then
1838 grep -v '^ *+' conftest.err
>conftest.er1
1839 cat conftest.er1
>&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_cxx_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest.
$ac_objext; then :
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.
$ac_ext >&5
1854 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1857 } # ac_fn_cxx_try_compile
1859 # ac_fn_c_try_link LINENO
1860 # -----------------------
1861 # Try to link conftest.$ac_ext, and return whether this succeeded.
1864 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1865 rm -f conftest.
$ac_objext conftest
$ac_exeext
1866 if { { ac_try
="$ac_link"
1868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_link") 2>conftest.err
1875 if test -s conftest.err; then
1876 grep -v '^ *+' conftest.err >conftest.er1
1877 cat conftest.er1 >&5
1878 mv -f conftest.er1 conftest.err
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && {
1882 test -z "$ac_c_werror_flag" ||
1883 test ! -s conftest.err
1884 } && test -s conftest$ac_exeext && {
1885 test "$cross_compiling" = yes ||
1886 $as_test_x conftest$ac_exeext
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.$ac_ext >&5
1895 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1896 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1897 # interfere with the next link command; also delete a directory that is
1898 # left behind by Apple's compiler. We do this before executing the actions.
1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 } # ac_fn_c_try_link
1905 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1906 # -------------------------------------------------------
1907 # Tests whether HEADER exists and can be compiled using the include files in
1908 # INCLUDES, setting the cache variable VAR accordingly.
1909 ac_fn_c_check_header_compile ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918 /* end confdefs.h. */
1922 if ac_fn_c_try_compile "$LINENO"; then :
1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931 $as_echo "$ac_res" >&6; }
1932 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1934 } # ac_fn_c_check_header_compile
1936 # ac_fn_c_try_cpp LINENO
1937 # ----------------------
1938 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 if { { ac_try="$ac_cpp conftest.$ac_ext"
1944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1945 *) ac_try_echo
=$ac_try;;
1947 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1948 $as_echo "$ac_try_echo"; } >&5
1949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1951 if test -s conftest.err
; then
1952 grep -v '^ *+' conftest.err
>conftest.er1
1953 cat conftest.er1
>&5
1954 mv -f conftest.er1 conftest.err
1956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1957 test $ac_status = 0; } >/dev
/null
&& {
1958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1959 test ! -s conftest.err
1963 $as_echo "$as_me: failed program was:" >&5
1964 sed 's/^/| /' conftest.
$ac_ext >&5
1968 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1973 # ac_fn_c_try_run LINENO
1974 # ----------------------
1975 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1976 # that executables *can* be run.
1979 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1980 if { { ac_try
="$ac_link"
1982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1983 *) ac_try_echo=$ac_try;;
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_link") 2>&5
1989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1990 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1991 { { case "(($ac_try" in
1992 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1993 *) ac_try_echo
=$ac_try;;
1995 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1996 $as_echo "$ac_try_echo"; } >&5
1997 (eval "$ac_try") 2>&5
1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000 test $ac_status = 0; }; }; then :
2003 $as_echo "$as_me: program exited with status $ac_status" >&5
2004 $as_echo "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.
$ac_ext >&5
2007 ac_retval
=$ac_status
2009 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2015 # ac_fn_c_check_func LINENO FUNC VAR
2016 # ----------------------------------
2017 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2018 ac_fn_c_check_func
()
2020 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022 $as_echo_n "checking for $2... " >&6; }
2023 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2024 $as_echo_n "(cached) " >&6
2026 if test x
$gcc_no_link = xyes
; then
2027 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2031 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2033 #define $2 innocuous_$2
2035 /* System header to define __stub macros and hopefully few prototypes,
2036 which can conflict with char $2 (); below.
2037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2038 <limits.h> exists even on freestanding compilers. */
2041 # include <limits.h>
2043 # include <assert.h>
2048 /* Override any GCC internal prototype to avoid an error.
2049 Use char because int might match the return type of a GCC
2050 builtin and then its argument prototype would still apply. */
2055 /* The GNU C library defines this for functions which it implements
2056 to always fail with ENOSYS. Some functions are actually named
2057 something starting with __ and the normal name is an alias. */
2058 #if defined __stub_$2 || defined __stub___$2
2070 if ac_fn_c_try_link
"$LINENO"; then :
2075 rm -f core conftest.err conftest.
$ac_objext \
2076 conftest
$ac_exeext conftest.
$ac_ext
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080 $as_echo "$ac_res" >&6; }
2081 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2083 } # ac_fn_c_check_func
2085 # ac_fn_cxx_try_cpp LINENO
2086 # ------------------------
2087 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2088 ac_fn_cxx_try_cpp
()
2090 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2091 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2094 *) ac_try_echo=$ac_try;;
2096 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2097 $as_echo "$ac_try_echo"; } >&5
2098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2100 if test -s conftest.err; then
2101 grep -v '^ *+' conftest.err >conftest.er1
2102 cat conftest.er1 >&5
2103 mv -f conftest.er1 conftest.err
2105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2106 test $ac_status = 0; } >/dev/null && {
2107 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2108 test ! -s conftest.err
2112 $as_echo "$as_me: failed program was:" >&5
2113 sed 's/^/| /' conftest.$ac_ext >&5
2117 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2120 } # ac_fn_cxx_try_cpp
2122 # ac_fn_cxx_try_link LINENO
2123 # -------------------------
2124 # Try to link conftest.$ac_ext, and return whether this succeeded.
2125 ac_fn_cxx_try_link ()
2127 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128 rm -f conftest.$ac_objext conftest$ac_exeext
2129 if { { ac_try="$ac_link"
2131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2132 *) ac_try_echo
=$ac_try;;
2134 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2135 $as_echo "$ac_try_echo"; } >&5
2136 (eval "$ac_link") 2>conftest.err
2138 if test -s conftest.err
; then
2139 grep -v '^ *+' conftest.err
>conftest.er1
2140 cat conftest.er1
>&5
2141 mv -f conftest.er1 conftest.err
2143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144 test $ac_status = 0; } && {
2145 test -z "$ac_cxx_werror_flag" ||
2146 test ! -s conftest.err
2147 } && test -s conftest
$ac_exeext && {
2148 test "$cross_compiling" = yes ||
2149 $as_test_x conftest
$ac_exeext
2153 $as_echo "$as_me: failed program was:" >&5
2154 sed 's/^/| /' conftest.
$ac_ext >&5
2158 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2159 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2160 # interfere with the next link command; also delete a directory that is
2161 # left behind by Apple's compiler. We do this before executing the actions.
2162 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2163 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2166 } # ac_fn_cxx_try_link
2168 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2169 # -------------------------------------------------------
2170 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2171 # the include files in INCLUDES and setting the cache variable VAR
2173 ac_fn_c_check_header_mongrel
()
2175 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2176 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2178 $as_echo_n "checking for $2... " >&6; }
2179 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2180 $as_echo_n "(cached) " >&6
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2184 $as_echo "$ac_res" >&6; }
2186 # Is the header compilable?
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2188 $as_echo_n "checking $2 usability... " >&6; }
2189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2190 /* end confdefs.h. */
2194 if ac_fn_c_try_compile
"$LINENO"; then :
2195 ac_header_compiler
=yes
2197 ac_header_compiler
=no
2199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2201 $as_echo "$ac_header_compiler" >&6; }
2203 # Is the header present?
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2205 $as_echo_n "checking $2 presence... " >&6; }
2206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2210 if ac_fn_c_try_cpp
"$LINENO"; then :
2211 ac_header_preproc
=yes
2213 ac_header_preproc
=no
2215 rm -f conftest.err conftest.
$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2217 $as_echo "$ac_header_preproc" >&6; }
2219 # So? What about this header?
2220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2223 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2229 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2231 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2233 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2235 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2237 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2241 $as_echo_n "checking for $2... " >&6; }
2242 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2243 $as_echo_n "(cached) " >&6
2245 eval "$3=\$ac_header_compiler"
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2249 $as_echo "$ac_res" >&6; }
2251 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2253 } # ac_fn_c_check_header_mongrel
2255 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2256 # ----------------------------------------------------
2257 # Tries to find if the field MEMBER exists in type AGGR, after including
2258 # INCLUDES, setting cache variable VAR accordingly.
2259 ac_fn_c_check_member
()
2261 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2263 $as_echo_n "checking for $2.$3... " >&6; }
2264 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2265 $as_echo_n "(cached) " >&6
2267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2280 if ac_fn_c_try_compile
"$LINENO"; then :
2283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2290 if (sizeof ac_aggr.$3)
2296 if ac_fn_c_try_compile
"$LINENO"; then :
2301 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2307 $as_echo "$ac_res" >&6; }
2308 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2310 } # ac_fn_c_check_member
2312 # ac_fn_c_check_decl LINENO SYMBOL VAR
2313 # ------------------------------------
2314 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2315 ac_fn_c_check_decl
()
2317 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2318 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2319 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2321 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2322 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2323 $as_echo_n "(cached) " >&6
2325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2331 #ifndef $as_decl_name
2333 (void) $as_decl_use;
2335 (void) $as_decl_name;
2343 if ac_fn_c_try_compile
"$LINENO"; then :
2348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2352 $as_echo "$ac_res" >&6; }
2353 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2355 } # ac_fn_c_check_decl
2357 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2358 # --------------------------------------------
2359 # Tries to find the compile-time value of EXPR in a program that includes
2360 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2362 ac_fn_c_compute_int
()
2364 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2365 if test "$cross_compiling" = yes; then
2366 # Depending upon the size, compute the lo and hi bounds.
2367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2373 static int test_array [1 - 2 * !(($2) >= 0)];
2380 if ac_fn_c_try_compile
"$LINENO"; then :
2383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2384 /* end confdefs.h. */
2389 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2396 if ac_fn_c_try_compile
"$LINENO"; then :
2397 ac_hi
=$ac_mid; break
2399 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2400 if test $ac_lo -le $ac_mid; then
2404 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2410 /* end confdefs.h. */
2415 static int test_array [1 - 2 * !(($2) < 0)];
2422 if ac_fn_c_try_compile
"$LINENO"; then :
2425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2431 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2438 if ac_fn_c_try_compile
"$LINENO"; then :
2439 ac_lo
=$ac_mid; break
2441 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2442 if test $ac_mid -le $ac_hi; then
2446 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2456 # Binary search between lo and hi bounds.
2457 while test "x$ac_lo" != "x$ac_hi"; do
2458 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2465 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2472 if ac_fn_c_try_compile
"$LINENO"; then :
2475 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2480 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2485 /* end confdefs.h. */
2487 static long int longval () { return $2; }
2488 static unsigned long int ulongval () { return $2; }
2495 FILE *f = fopen ("conftest.val", "w");
2500 long int i = longval ();
2503 fprintf (f, "%ld", i);
2507 unsigned long int i = ulongval ();
2510 fprintf (f, "%lu", i);
2512 /* Do not output a trailing newline, as this causes \r\n confusion
2513 on some platforms. */
2514 return ferror (f) || fclose (f) != 0;
2520 if ac_fn_c_try_run
"$LINENO"; then :
2521 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2525 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2526 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2530 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2533 } # ac_fn_c_compute_int
2535 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2536 # -------------------------------------------
2537 # Tests whether TYPE exists after having included INCLUDES, setting cache
2538 # variable VAR accordingly.
2539 ac_fn_c_check_type
()
2541 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2543 $as_echo_n "checking for $2... " >&6; }
2544 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2545 $as_echo_n "(cached) " >&6
2548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2549 /* end confdefs.h. */
2560 if ac_fn_c_try_compile
"$LINENO"; then :
2561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2562 /* end confdefs.h. */
2573 if ac_fn_c_try_compile
"$LINENO"; then :
2578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2584 $as_echo "$ac_res" >&6; }
2585 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2587 } # ac_fn_c_check_type
2588 cat >config.log
<<_ACEOF
2589 This file contains any messages produced by compilers while
2590 running configure, to aid debugging if configure makes a mistake.
2592 It was created by libjava $as_me version-unused, which was
2593 generated by GNU Autoconf 2.64. Invocation command line was
2605 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2606 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2607 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2608 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2609 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2611 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2612 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2614 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2615 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2616 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2617 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2618 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2619 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2620 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir
=.
2629 $as_echo "PATH: $as_dir"
2645 # Keep a trace of the command line.
2646 # Strip out --no-create and --no-recursion so they do not pile up.
2647 # Strip out --silent because we don't want to record it for future runs.
2648 # Also quote any args containing shell meta-characters.
2649 # Make two passes to allow for proper duplicate-argument suppression.
2653 ac_must_keep_next
=false
2659 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2660 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2661 |
-silent |
--silent |
--silen |
--sile |
--sil)
2664 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2667 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2669 as_fn_append ac_configure_args1
" '$ac_arg'"
2670 if test $ac_must_keep_next = true
; then
2671 ac_must_keep_next
=false
# Got value, back to normal.
2674 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2675 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2676 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2677 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2678 case "$ac_configure_args0 " in
2679 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2682 -* ) ac_must_keep_next
=true
;;
2685 as_fn_append ac_configure_args
" '$ac_arg'"
2690 { ac_configure_args0
=; unset ac_configure_args0
;}
2691 { ac_configure_args1
=; unset ac_configure_args1
;}
2693 # When interrupted or exit'd, cleanup temporary files, and complete
2694 # config.log. We remove comments because anyway the quotes in there
2695 # would cause problems or look ugly.
2696 # WARNING: Use '\'' to represent an apostrophe within the trap.
2697 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2698 trap 'exit_status=$?
2699 # Save into config.log some information that might help in debugging.
2704 ## ---------------- ##
2705 ## Cache variables. ##
2706 ## ---------------- ##
2709 # The following way of writing the cache mishandles newlines in values,
2711 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2712 eval ac_val=\$$ac_var
2716 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2717 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2720 _ | IFS | as_nl) ;; #(
2721 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2722 *) { eval $ac_var=; unset $ac_var;} ;;
2727 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2728 *${as_nl}ac_space=\ *)
2730 "s/'\''/'\''\\\\'\'''\''/g;
2731 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2734 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2742 ## ----------------- ##
2743 ## Output variables. ##
2744 ## ----------------- ##
2747 for ac_var in $ac_subst_vars
2749 eval ac_val=\$$ac_var
2751 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2753 $as_echo "$ac_var='\''$ac_val'\''"
2757 if test -n "$ac_subst_files"; then
2759 ## ------------------- ##
2760 ## File substitutions. ##
2761 ## ------------------- ##
2764 for ac_var
in $ac_subst_files
2766 eval ac_val
=\$
$ac_var
2768 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2770 $as_echo "$ac_var='\''$ac_val'\''"
2775 if test -s confdefs.h; then
2785 test "$ac_signal" != 0 &&
2786 $as_echo "$as_me: caught signal $ac_signal"
2787 $as_echo "$as_me: exit $exit_status"
2789 rm -f core *.core core.conftest.* &&
2790 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2793 for ac_signal
in 1 2 13 15; do
2794 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2798 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2799 rm -f -r conftest
* confdefs.h
2801 $as_echo "/* confdefs.h */" > confdefs.h
2803 # Predefined preprocessor variables.
2805 cat >>confdefs.h
<<_ACEOF
2806 #define PACKAGE_NAME "$PACKAGE_NAME"
2809 cat >>confdefs.h
<<_ACEOF
2810 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2813 cat >>confdefs.h
<<_ACEOF
2814 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2817 cat >>confdefs.h
<<_ACEOF
2818 #define PACKAGE_STRING "$PACKAGE_STRING"
2821 cat >>confdefs.h
<<_ACEOF
2822 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2825 cat >>confdefs.h
<<_ACEOF
2826 #define PACKAGE_URL "$PACKAGE_URL"
2830 # Let the site file select an alternate cache file if it wants to.
2831 # Prefer an explicitly selected file to automatically selected ones.
2834 if test -n "$CONFIG_SITE"; then
2835 ac_site_file1
=$CONFIG_SITE
2836 elif test "x$prefix" != xNONE
; then
2837 ac_site_file1
=$prefix/share
/config.site
2838 ac_site_file2
=$prefix/etc
/config.site
2840 ac_site_file1
=$ac_default_prefix/share
/config.site
2841 ac_site_file2
=$ac_default_prefix/etc
/config.site
2843 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2845 test "x$ac_site_file" = xNONE
&& continue
2846 if test -r "$ac_site_file"; then
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2848 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2849 sed 's/^/| /' "$ac_site_file" >&5
2854 if test -r "$cache_file"; then
2855 # Some versions of bash will fail to source /dev/null (special
2856 # files actually), so we avoid doing that.
2857 if test -f "$cache_file"; then
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2859 $as_echo "$as_me: loading cache $cache_file" >&6;}
2861 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2862 *) .
"./$cache_file";;
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2867 $as_echo "$as_me: creating cache $cache_file" >&6;}
2871 # Check that the precious variables saved in the cache have kept the same
2873 ac_cache_corrupted
=false
2874 for ac_var
in $ac_precious_vars; do
2875 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2876 eval ac_new_set
=\
$ac_env_${ac_var}_set
2877 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2878 eval ac_new_val
=\
$ac_env_${ac_var}_value
2879 case $ac_old_set,$ac_new_set in
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2882 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2883 ac_cache_corrupted
=: ;;
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2886 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2887 ac_cache_corrupted
=: ;;
2890 if test "x$ac_old_val" != "x$ac_new_val"; then
2891 # differences in whitespace do not lead to failure.
2892 ac_old_val_w
=`echo x $ac_old_val`
2893 ac_new_val_w
=`echo x $ac_new_val`
2894 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2896 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2897 ac_cache_corrupted
=:
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2900 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2901 eval $ac_var=\
$ac_old_val
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2904 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2906 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2909 # Pass precious variables to config.status.
2910 if test "$ac_new_set" = set; then
2912 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2913 *) ac_arg
=$ac_var=$ac_new_val ;;
2915 case " $ac_configure_args " in
2916 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2917 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2921 if $ac_cache_corrupted; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2925 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2926 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2928 ## -------------------- ##
2929 ## Main body of script. ##
2930 ## -------------------- ##
2933 ac_cpp
='$CPP $CPPFLAGS'
2934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2946 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2947 for ac_t
in install-sh
install.sh shtool
; do
2948 if test -f "$ac_dir/$ac_t"; then
2950 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2955 if test -z "$ac_aux_dir"; then
2956 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2959 # These three variables are undocumented and unsupported,
2960 # and are intended to be withdrawn in a future Autoconf release.
2961 # They can cause serious problems if a builder's source tree is in a directory
2962 # whose full name contains unusual characters.
2963 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2964 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2965 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2968 # Make sure we can run config.sub.
2969 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2970 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2973 $as_echo_n "checking build system type... " >&6; }
2974 if test "${ac_cv_build+set}" = set; then :
2975 $as_echo_n "(cached) " >&6
2977 ac_build_alias
=$build_alias
2978 test "x$ac_build_alias" = x
&&
2979 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2980 test "x$ac_build_alias" = x
&&
2981 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2982 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2983 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2987 $as_echo "$ac_cv_build" >&6; }
2988 case $ac_cv_build in
2990 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2993 ac_save_IFS
=$IFS; IFS
='-'
2999 # Remember, the first character of IFS is used to create $*,
3000 # except with old shells:
3003 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3006 case ${build_alias} in
3007 "") build_noncanonical
=${build} ;;
3008 *) build_noncanonical
=${build_alias} ;;
3011 case ${host_alias} in
3012 "") host_noncanonical
=${build_noncanonical} ;;
3013 *) host_noncanonical
=${host_alias} ;;
3016 case ${target_alias} in
3017 "") target_noncanonical
=${host_noncanonical} ;;
3018 *) target_noncanonical
=${target_alias} ;;
3022 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3023 # have matching libraries, they should use host libraries: Makefile.tpl
3024 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3025 # However, they still use the build modules, because the corresponding
3026 # host modules (e.g. bison) are only built for the host when bootstrap
3028 # - build_subdir is where we find build modules, and never changes.
3029 # - build_libsubdir is where we find build libraries, and can be overridden.
3031 # Prefix 'build-' so this never conflicts with target_subdir.
3032 build_subdir
="build-${build_noncanonical}"
3034 # Check whether --with-build-libsubdir was given.
3035 if test "${with_build_libsubdir+set}" = set; then :
3036 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3038 build_libsubdir
="$build_subdir"
3041 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3042 if ( test $srcdir = .
&& test -d gcc
) \
3043 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3044 host_subdir
="host-${host_noncanonical}"
3049 target_subdir
=${target_noncanonical}
3052 # We use these options to decide which functions to include.
3054 # Check whether --with-target-subdir was given.
3055 if test "${with_target_subdir+set}" = set; then :
3056 withval
=$with_target_subdir;
3060 # We may get other options which we don't document:
3061 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3063 # Find the rest of the source tree framework.
3064 # Default to --enable-multilib
3065 # Check whether --enable-multilib was given.
3066 if test "${enable_multilib+set}" = set; then :
3067 enableval
=$enable_multilib; case "$enableval" in
3068 yes) multilib
=yes ;;
3070 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3077 # We may get other options which we leave undocumented:
3078 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3079 # See config-ml.in if you want the gory details.
3081 if test "$srcdir" = "."; then
3082 if test "$with_target_subdir" != "."; then
3083 multi_basedir
="$srcdir/$with_multisrctop../.."
3085 multi_basedir
="$srcdir/$with_multisrctop.."
3088 multi_basedir
="$srcdir/.."
3092 # Even if the default multilib is not a cross compilation,
3093 # it may be that some of the other multilibs are.
3094 if test $cross_compiling = no
&& test $multilib = yes \
3095 && test "x${with_multisubdir}" != x
; then
3096 cross_compiling
=maybe
3099 ac_config_commands
="$ac_config_commands default-1"
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3103 $as_echo_n "checking host system type... " >&6; }
3104 if test "${ac_cv_host+set}" = set; then :
3105 $as_echo_n "(cached) " >&6
3107 if test "x$host_alias" = x
; then
3108 ac_cv_host
=$ac_cv_build
3110 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3111 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3116 $as_echo "$ac_cv_host" >&6; }
3119 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3122 ac_save_IFS
=$IFS; IFS
='-'
3128 # Remember, the first character of IFS is used to create $*,
3129 # except with old shells:
3132 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3136 $as_echo_n "checking target system type... " >&6; }
3137 if test "${ac_cv_target+set}" = set; then :
3138 $as_echo_n "(cached) " >&6
3140 if test "x$target_alias" = x
; then
3141 ac_cv_target
=$ac_cv_host
3143 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3144 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3149 $as_echo "$ac_cv_target" >&6; }
3150 case $ac_cv_target in
3152 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3154 target
=$ac_cv_target
3155 ac_save_IFS
=$IFS; IFS
='-'
3161 # Remember, the first character of IFS is used to create $*,
3162 # except with old shells:
3165 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3168 # The aliases save the names the user supplied, while $host etc.
3169 # will get canonicalized.
3170 test -n "$target_alias" &&
3171 test "$program_prefix$program_suffix$program_transform_name" = \
3173 program_prefix
=${target_alias}-
3175 case ${build_alias} in
3176 "") build_noncanonical
=${build} ;;
3177 *) build_noncanonical
=${build_alias} ;;
3180 case ${target_alias} in
3181 "") target_noncanonical
=${host_noncanonical} ;;
3182 *) target_noncanonical
=${target_alias} ;;
3188 # This works around the fact that libtool configuration may change LD
3189 # for this particular configuration, but some shells, instead of
3190 # keeping the changes in LD private, export them just because LD is
3192 ORIGINAL_LD_FOR_MULTILIBS
=$LD
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3195 $as_echo_n "checking whether ln -s works... " >&6; }
3197 if test "$LN_S" = "ln -s"; then
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3199 $as_echo "yes" >&6; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3202 $as_echo "no, using $LN_S" >&6; }
3206 # This works around an automake problem.
3207 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3211 # Check whether --with-cross-host was given.
3212 if test "${with_cross_host+set}" = set; then :
3213 withval
=$with_cross_host;
3218 # Check whether --with-newlib was given.
3219 if test "${with_newlib+set}" = set; then :
3220 withval
=$with_newlib;
3224 # Check whether --enable-version-specific-runtime-libs was given.
3225 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3226 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
3227 yes) version_specific_libs
=yes ;;
3228 no
) version_specific_libs
=no
;;
3229 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3232 version_specific_libs
=no
3237 # Check whether --enable-browser-plugin was given.
3238 if test "${enable_browser_plugin+set}" = set; then :
3239 enableval
=$enable_browser_plugin; case "$enableval" in
3240 yes) browser_plugin_enabled
=yes ;;
3241 no
) browser_plugin_enabled
=no
;;
3242 *) as_fn_error
"Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3245 browser_plugin_enabled
=no
3250 # Check whether --enable-gconf-peer was given.
3251 if test "${enable_gconf_peer+set}" = set; then :
3252 enableval
=$enable_gconf_peer; case "$enableval" in
3253 yes) gconf_enabled
=yes ;;
3254 no
) gconf_enabled
=no
;;
3255 *) as_fn_error
"Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3264 # Check whether --with-antlr-jar was given.
3265 if test "${with_antlr_jar+set}" = set; then :
3266 withval
=$with_antlr_jar;
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3277 $as_echo_n "checking for antlr.jar... " >&6; }
3278 if test "x$ANTLR_JAR" = x
; then
3279 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3280 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
3282 if test -f "$antlr_lib_home/antlr.jar"; then
3283 # FIXME: version check for antlr needed without using a VM
3284 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
3288 if test "x$ANTLR_JAR" = x
; then
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3290 $as_echo "not found" >&6; }
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3293 $as_echo "$ANTLR_JAR" >&6; }
3296 if test -f "${ANTLR_JAR}"; then
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3298 $as_echo "$ANTLR_JAR" >&6; }
3300 as_fn_error
"antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3305 # Check whether --enable-gjdoc was given.
3306 if test "${enable_gjdoc+set}" = set; then :
3307 enableval
=$enable_gjdoc; case "${enableval}" in
3308 yes) BUILD_GJDOC
=yes ;;
3309 no
) BUILD_GJDOC
=no
;;
3310 *) BUILD_GJDOC
=yes ;;
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3318 $as_echo_n "checking whether to build gjdoc... " >&6; }
3319 if test "x$BUILD_GJDOC" = xmaybe
; then
3320 if test -f "${ANTLR_JAR}"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3323 $as_echo "yes" >&6; }
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3327 $as_echo "no, antlr.jar not found" >&6; }
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3331 $as_echo "$BUILD_GJDOC" >&6; }
3333 if test "x${BUILD_GJDOC}" = xyes
; then
3335 CREATE_GJDOC_FALSE
='#'
3337 CREATE_GJDOC_TRUE
='#'
3342 # Check whether --enable-java-maintainer-mode was given.
3343 if test "${enable_java_maintainer_mode+set}" = set; then :
3344 enableval
=$enable_java_maintainer_mode;
3347 if test "$enable_java_maintainer_mode" = yes; then
3348 JAVA_MAINTAINER_MODE_TRUE
=
3349 JAVA_MAINTAINER_MODE_FALSE
='#'
3351 JAVA_MAINTAINER_MODE_TRUE
='#'
3352 JAVA_MAINTAINER_MODE_FALSE
=
3356 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3359 # For libstdc++-v3, -fno-builtin must be present here so that a
3360 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3361 # used in later tests. This may not be necessary in libjava; I don't know.
3362 save_CXXFLAGS
="$CXXFLAGS"
3363 CXXFLAGS
="$CXXFLAGS -fno-builtin"
3365 ac_cpp
='$CPP $CPPFLAGS'
3366 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3369 if test -n "$ac_tool_prefix"; then
3370 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3371 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if test "${ac_cv_prog_CC+set}" = set; then :
3375 $as_echo_n "(cached) " >&6
3377 if test -n "$CC"; then
3378 ac_cv_prog_CC
="$CC" # Let the user override the test.
3380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir
=.
3385 for ac_exec_ext
in '' $ac_executable_extensions; do
3386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3387 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 if test -n "$CC"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3400 $as_echo "$CC" >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3408 if test -z "$ac_cv_prog_CC"; then
3410 # Extract the first word of "gcc", so it can be a program name with args.
3411 set dummy gcc
; ac_word
=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3417 if test -n "$ac_ct_CC"; then
3418 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir
=.
3425 for ac_exec_ext
in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_ac_ct_CC
="gcc"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3437 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3438 if test -n "$ac_ct_CC"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3440 $as_echo "$ac_ct_CC" >&6; }
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3446 if test "x$ac_ct_CC" = x
; then
3449 case $cross_compiling:$ac_tool_warned in
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3453 ac_tool_warned
=yes ;;
3461 if test -z "$CC"; then
3462 if test -n "$ac_tool_prefix"; then
3463 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3464 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3466 $as_echo_n "checking for $ac_word... " >&6; }
3467 if test "${ac_cv_prog_CC+set}" = set; then :
3468 $as_echo_n "(cached) " >&6
3470 if test -n "$CC"; then
3471 ac_cv_prog_CC
="$CC" # Let the user override the test.
3473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3477 test -z "$as_dir" && as_dir
=.
3478 for ac_exec_ext
in '' $ac_executable_extensions; do
3479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3480 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491 if test -n "$CC"; then
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3493 $as_echo "$CC" >&6; }
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3496 $as_echo "no" >&6; }
3502 if test -z "$CC"; then
3503 # Extract the first word of "cc", so it can be a program name with args.
3504 set dummy cc
; ac_word
=$2
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506 $as_echo_n "checking for $ac_word... " >&6; }
3507 if test "${ac_cv_prog_CC+set}" = set; then :
3508 $as_echo_n "(cached) " >&6
3510 if test -n "$CC"; then
3511 ac_cv_prog_CC
="$CC" # Let the user override the test.
3514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3518 test -z "$as_dir" && as_dir
=.
3519 for ac_exec_ext
in '' $ac_executable_extensions; do
3520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3521 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3522 ac_prog_rejected
=yes
3526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 if test $ac_prog_rejected = yes; then
3534 # We found a bogon in the path, so make sure we never use it.
3535 set dummy
$ac_cv_prog_CC
3537 if test $# != 0; then
3538 # We chose a different compiler from the bogus one.
3539 # However, it has the same basename, so the bogon will be chosen
3540 # first if we set CC to just the basename; use the full file name.
3542 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3548 if test -n "$CC"; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3550 $as_echo "$CC" >&6; }
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3558 if test -z "$CC"; then
3559 if test -n "$ac_tool_prefix"; then
3560 for ac_prog
in cl.exe
3562 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3563 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if test "${ac_cv_prog_CC+set}" = set; then :
3567 $as_echo_n "(cached) " >&6
3569 if test -n "$CC"; then
3570 ac_cv_prog_CC
="$CC" # Let the user override the test.
3572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3576 test -z "$as_dir" && as_dir
=.
3577 for ac_exec_ext
in '' $ac_executable_extensions; do
3578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3579 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 if test -n "$CC"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3592 $as_echo "$CC" >&6; }
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3599 test -n "$CC" && break
3602 if test -z "$CC"; then
3604 for ac_prog
in cl.exe
3606 # Extract the first word of "$ac_prog", so it can be a program name with args.
3607 set dummy
$ac_prog; ac_word
=$2
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3609 $as_echo_n "checking for $ac_word... " >&6; }
3610 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3611 $as_echo_n "(cached) " >&6
3613 if test -n "$ac_ct_CC"; then
3614 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3620 test -z "$as_dir" && as_dir
=.
3621 for ac_exec_ext
in '' $ac_executable_extensions; do
3622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3623 ac_cv_prog_ac_ct_CC
="$ac_prog"
3624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3633 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3634 if test -n "$ac_ct_CC"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3636 $as_echo "$ac_ct_CC" >&6; }
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3639 $as_echo "no" >&6; }
3643 test -n "$ac_ct_CC" && break
3646 if test "x$ac_ct_CC" = x
; then
3649 case $cross_compiling:$ac_tool_warned in
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3653 ac_tool_warned
=yes ;;
3662 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3664 as_fn_error
"no acceptable C compiler found in \$PATH
3665 See \`config.log' for more details." "$LINENO" 5; }
3667 # Provide some information about the compiler.
3668 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3671 for ac_option
in --version -v -V -qversion; do
3672 { { ac_try
="$ac_compiler $ac_option >&5"
3674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 $as_echo "$ac_try_echo"; } >&5
3679 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3681 if test -s conftest.err; then
3683 ... rest of stderr output deleted ...
3684 10q' conftest.err >conftest.er1
3685 cat conftest.er1 >&5
3686 rm -f conftest.er1 conftest.err
3688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3689 test $ac_status = 0; }
3692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693 /* end confdefs.h. */
3704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3705 (eval $ac_link) 2>&5
3707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3708 test $ac_status = 0; }; then :
3713 if test x$gcc_no_link = xyes; then
3714 # Setting cross_compile will disable run tests; it will
3715 # also disable AC_CHECK_FILE but that's generally
3716 # correct if we can't link.
3720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h. */
3731 ac_clean_files_save=$ac_clean_files
3732 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3733 # Try to create an executable without -o first, disregard a.out.
3734 # It will help us diagnose broken compilers, and finding out an intuition
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3737 $as_echo_n "checking for C compiler default output file name... " >&6; }
3738 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3740 # The possible output files:
3741 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3744 for ac_file in $ac_files
3747 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3748 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3753 if { { ac_try="$ac_link_default"
3755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3756 *) ac_try_echo
=$ac_try;;
3758 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3759 $as_echo "$ac_try_echo"; } >&5
3760 (eval "$ac_link_default") 2>&5
3762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3763 test $ac_status = 0; }; then :
3764 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3765 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3766 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3767 # so that the user can short-circuit this test for compilers unknown to
3769 for ac_file
in $ac_files ''
3771 test -f "$ac_file" ||
continue
3773 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3776 # We found the default executable, but exeext='' is most
3780 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3782 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3784 # We set ac_cv_exeext here because the later test for it is not
3785 # safe: cross compilers may not add the suffix if given an `-o'
3786 # argument, so we may need to know it at that point already.
3787 # Even if this section looks crufty: it has the advantage of
3794 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3800 $as_echo "$ac_file" >&6; }
3801 if test -z "$ac_file"; then :
3802 $as_echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.
$ac_ext >&5
3805 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3806 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3807 { as_fn_set_status
77
3808 as_fn_error
"C compiler cannot create executables
3809 See \`config.log' for more details." "$LINENO" 5; }; }
3811 ac_exeext
=$ac_cv_exeext
3813 # Check that the compiler produces executables we can run. If not, either
3814 # the compiler is broken, or we cross compile.
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3816 $as_echo_n "checking whether the C compiler works... " >&6; }
3817 # If not cross compiling, check that we can run a simple program.
3818 if test "$cross_compiling" != yes; then
3819 if { ac_try
='./$ac_file'
3820 { { case "(($ac_try" in
3821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3822 *) ac_try_echo=$ac_try;;
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826 (eval "$ac_try") 2>&5
3828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829 test $ac_status = 0; }; }; then
3832 if test "$cross_compiling" = maybe; then
3835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3837 as_fn_error "cannot run C compiled programs.
3838 If you meant to cross compile
, use \
`--host'.
3839 See \`config.log
' for more details." "$LINENO" 5; }
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3844 $as_echo "yes" >&6; }
3846 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3847 ac_clean_files=$ac_clean_files_save
3848 # Check that the compiler produces executables we can run. If not, either
3849 # the compiler is broken, or we cross compile.
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3851 $as_echo_n "checking whether we are cross compiling... " >&6; }
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3853 $as_echo "$cross_compiling" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3856 $as_echo_n "checking for suffix of executables... " >&6; }
3857 if { { ac_try="$ac_link"
3859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864 (eval "$ac_link") 2>&5
3866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3867 test $ac_status = 0; }; then :
3868 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3869 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3870 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3872 for ac_file
in conftest.exe conftest conftest.
*; do
3873 test -f "$ac_file" ||
continue
3875 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3876 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3882 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3884 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3885 See \`config.log' for more details." "$LINENO" 5; }
3887 rm -f conftest
$ac_cv_exeext
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3889 $as_echo "$ac_cv_exeext" >&6; }
3891 rm -f conftest.
$ac_ext
3892 EXEEXT
=$ac_cv_exeext
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3896 $as_echo_n "checking for suffix of object files... " >&6; }
3897 if test "${ac_cv_objext+set}" = set; then :
3898 $as_echo_n "(cached) " >&6
3900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3911 rm -f conftest.o conftest.obj
3912 if { { ac_try
="$ac_compile"
3914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3915 *) ac_try_echo=$ac_try;;
3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3918 $as_echo "$ac_try_echo"; } >&5
3919 (eval "$ac_compile") 2>&5
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }; then :
3923 for ac_file in conftest.o conftest.obj conftest.*; do
3924 test -f "$ac_file" || continue;
3926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3927 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3932 $as_echo "$as_me: failed program was:" >&5
3933 sed 's/^/| /' conftest.$ac_ext >&5
3935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3937 as_fn_error "cannot compute suffix of object files
: cannot compile
3938 See \
`config.log' for more details." "$LINENO" 5; }
3940 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3943 $as_echo "$ac_cv_objext" >&6; }
3944 OBJEXT=$ac_cv_objext
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3947 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3948 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3949 $as_echo_n "(cached) " >&6
3951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3952 /* end confdefs.h. */
3965 if ac_fn_c_try_compile "$LINENO"; then :
3970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3975 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3976 if test $ac_compiler_gnu = yes; then
3981 ac_test_CFLAGS=${CFLAGS+set}
3982 ac_save_CFLAGS=$CFLAGS
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3984 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3985 if test "${ac_cv_prog_cc_g+set}" = set; then :
3986 $as_echo_n "(cached) " >&6
3988 ac_save_c_werror_flag=$ac_c_werror_flag
3989 ac_c_werror_flag=yes
3992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993 /* end confdefs.h. */
4003 if ac_fn_c_try_compile "$LINENO"; then :
4007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4008 /* end confdefs.h. */
4018 if ac_fn_c_try_compile "$LINENO"; then :
4021 ac_c_werror_flag=$ac_save_c_werror_flag
4023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024 /* end confdefs.h. */
4034 if ac_fn_c_try_compile "$LINENO"; then :
4037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042 ac_c_werror_flag=$ac_save_c_werror_flag
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4045 $as_echo "$ac_cv_prog_cc_g" >&6; }
4046 if test "$ac_test_CFLAGS" = set; then
4047 CFLAGS=$ac_save_CFLAGS
4048 elif test $ac_cv_prog_cc_g = yes; then
4049 if test "$GCC" = yes; then
4055 if test "$GCC" = yes; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4062 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4063 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4066 ac_cv_prog_cc_c89=no
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4072 #include <sys/types.h>
4073 #include <sys/stat.h>
4074 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4075 struct buf { int x; };
4076 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4077 static char *e (p, i)
4083 static char *f (char * (*g) (char **, int), char **p, ...)
4088 s = g (p, va_arg (v,int));
4093 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4094 function prototypes and stuff, but not '\xHH' hex character constants.
4095 These don't provoke an error unfortunately, instead are silently treated
4096 as 'x'. The following induces an error, until -std is added to get
4097 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4098 array size at least. It's necessary to write '\x00'==0 to get something
4099 that's true only with -std. */
4100 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4102 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4103 inside strings and character constants. */
4105 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4107 int test (int i, double x);
4108 struct s1 {int (*f) (int a);};
4109 struct s2 {int (*f) (double a);};
4110 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4116 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4121 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4122 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4124 CC="$ac_save_CC $ac_arg"
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 ac_cv_prog_cc_c89=$ac_arg
4128 rm -f core conftest.err conftest.$ac_objext
4129 test "x$ac_cv_prog_cc_c89" != "xno" && break
4131 rm -f conftest.$ac_ext
4136 case "x$ac_cv_prog_cc_c89" in
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4139 $as_echo "none needed" >&6; } ;;
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4142 $as_echo "unsupported" >&6; } ;;
4144 CC="$CC $ac_cv_prog_cc_c89"
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4146 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4148 if test "x$ac_cv_prog_cc_c89" != xno; then :
4153 ac_cpp='$CPP $CPPFLAGS'
4154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4159 ac_cpp='$CXXCPP $CPPFLAGS'
4160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4163 if test -z "$CXX"; then
4164 if test -n "$CCC"; then
4167 if test -n "$ac_tool_prefix"; then
4168 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4173 $as_echo_n "checking for $ac_word... " >&6; }
4174 if test "${ac_cv_prog_CXX+set}" = set; then :
4175 $as_echo_n "(cached) " >&6
4177 if test -n "$CXX"; then
4178 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir=.
4185 for ac_exec_ext in '' $ac_executable_extensions; do
4186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4187 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4198 if test -n "$CXX"; then
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4200 $as_echo "$CXX" >&6; }
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4203 $as_echo "no" >&6; }
4207 test -n "$CXX" && break
4210 if test -z "$CXX"; then
4212 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4214 # Extract the first word of "$ac_prog", so it can be a program name with args.
4215 set dummy $ac_prog; ac_word=$2
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4217 $as_echo_n "checking for $ac_word... " >&6; }
4218 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4219 $as_echo_n "(cached) " >&6
4221 if test -n "$ac_ct_CXX"; then
4222 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4228 test -z "$as_dir" && as_dir=.
4229 for ac_exec_ext in '' $ac_executable_extensions; do
4230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4231 ac_cv_prog_ac_ct_CXX="$ac_prog"
4232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4242 if test -n "$ac_ct_CXX"; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4244 $as_echo "$ac_ct_CXX" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4251 test -n "$ac_ct_CXX" && break
4254 if test "x$ac_ct_CXX" = x; then
4257 case $cross_compiling:$ac_tool_warned in
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4260 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4261 ac_tool_warned=yes ;;
4269 # Provide some information about the compiler.
4270 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4273 for ac_option in --version -v -V -qversion; do
4274 { { ac_try="$ac_compiler $ac_option >&5"
4276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4277 *) ac_try_echo
=$ac_try;;
4279 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 $as_echo "$ac_try_echo"; } >&5
4281 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4283 if test -s conftest.err
; then
4285 ... rest of stderr output deleted ...
4286 10q' conftest.err
>conftest.er1
4287 cat conftest.er1
>&5
4288 rm -f conftest.er1 conftest.err
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4295 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4296 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4297 $as_echo_n "(cached) " >&6
4299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4300 /* end confdefs.h. */
4313 if ac_fn_cxx_try_compile
"$LINENO"; then :
4318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4319 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4323 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4324 if test $ac_compiler_gnu = yes; then
4329 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4330 ac_save_CXXFLAGS
=$CXXFLAGS
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4332 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4333 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4334 $as_echo_n "(cached) " >&6
4336 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4337 ac_cxx_werror_flag
=yes
4340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4341 /* end confdefs.h. */
4351 if ac_fn_cxx_try_compile
"$LINENO"; then :
4352 ac_cv_prog_cxx_g
=yes
4355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4356 /* end confdefs.h. */
4366 if ac_fn_cxx_try_compile
"$LINENO"; then :
4369 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4372 /* end confdefs.h. */
4382 if ac_fn_cxx_try_compile
"$LINENO"; then :
4383 ac_cv_prog_cxx_g
=yes
4385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4390 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4393 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4394 if test "$ac_test_CXXFLAGS" = set; then
4395 CXXFLAGS
=$ac_save_CXXFLAGS
4396 elif test $ac_cv_prog_cxx_g = yes; then
4397 if test "$GXX" = yes; then
4403 if test "$GXX" = yes; then
4410 ac_cpp
='$CPP $CPPFLAGS'
4411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4415 CXXFLAGS
="$save_CXXFLAGS"
4417 am__api_version
='1.11'
4419 # Find a good install program. We prefer a C program (faster),
4420 # so one script is as good as another. But avoid the broken or
4421 # incompatible versions:
4422 # SysV /etc/install, /usr/sbin/install
4423 # SunOS /usr/etc/install
4424 # IRIX /sbin/install
4426 # AmigaOS /C/install, which installs bootblocks on floppy discs
4427 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4428 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4429 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4430 # OS/2's system install, which has a completely different semantic
4431 # ./install, which can be erroneously created by make from ./install.sh.
4432 # Reject install programs that cannot install multiple files.
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4434 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4435 if test -z "$INSTALL"; then
4436 if test "${ac_cv_path_install+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4443 test -z "$as_dir" && as_dir
=.
4444 # Account for people who put trailing slashes in PATH elements.
4445 case $as_dir/ in #((
4446 .
/ | .
// |
/[cC
]/* | \
4447 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4448 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4451 # OSF1 and SCO ODT 3.0 have their own names for install.
4452 # Don't use installbsd from OSF since it installs stuff as root
4454 for ac_prog
in ginstall scoinst
install; do
4455 for ac_exec_ext
in '' $ac_executable_extensions; do
4456 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4457 if test $ac_prog = install &&
4458 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4459 # AIX install. It has an incompatible calling convention.
4461 elif test $ac_prog = install &&
4462 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4463 # program-specific install script used by HP pwplus--don't use.
4466 rm -rf conftest.one conftest.two conftest.dir
4467 echo one
> conftest.one
4468 echo two
> conftest.two
4470 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4471 test -s conftest.one
&& test -s conftest.two
&&
4472 test -s conftest.dir
/conftest.one
&&
4473 test -s conftest.dir
/conftest.two
4475 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4488 rm -rf conftest.one conftest.two conftest.dir
4491 if test "${ac_cv_path_install+set}" = set; then
4492 INSTALL
=$ac_cv_path_install
4494 # As a last resort, use the slow shell script. Don't cache a
4495 # value for INSTALL within a source directory, because that will
4496 # break other packages using the cache if that directory is
4497 # removed, or if the value is a relative name.
4498 INSTALL
=$ac_install_sh
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4502 $as_echo "$INSTALL" >&6; }
4504 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4505 # It thinks the first close brace ends the variable substitution.
4506 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4508 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4510 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4513 $as_echo_n "checking whether build environment is sane... " >&6; }
4516 echo timestamp
> conftest.
file
4517 # Reject unsafe characters in $srcdir or the absolute working directory
4518 # name. Accept space and tab only in the latter.
4522 *[\\\"\
#\$\&\'\`$am_lf]*)
4523 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4526 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4527 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4530 # Do `set' in a subshell so we don't clobber the current shell's
4531 # arguments. Must try -L first in case configure is actually a
4532 # symlink; some systems play weird games with the mod time of symlinks
4533 # (eg FreeBSD returns the mod time of the symlink's containing
4536 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4537 if test "$*" = "X"; then
4539 set X
`ls -t "$srcdir/configure" conftest.file`
4542 if test "$*" != "X $srcdir/configure conftest.file" \
4543 && test "$*" != "X conftest.file $srcdir/configure"; then
4545 # If neither matched, then we have a broken ls. This can happen
4546 # if, for instance, CONFIG_SHELL is bash and it inherits a
4547 # broken ls alias from the environment. This has actually
4548 # happened. Such a system could not be considered "sane".
4549 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4550 alias in your environment" "$LINENO" 5
4553 test "$2" = conftest.
file
4559 as_fn_error
"newly created file is older than distributed files!
4560 Check your system clock" "$LINENO" 5
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4563 $as_echo "yes" >&6; }
4564 test "$program_prefix" != NONE
&&
4565 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4566 # Use a double $ so make ignores it.
4567 test "$program_suffix" != NONE
&&
4568 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4569 # Double any \ or $.
4570 # By default was `s,x,x', remove it if useless.
4571 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4572 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4574 # expand $ac_aux_dir to an absolute path
4575 am_aux_dir
=`cd $ac_aux_dir && pwd`
4577 if test x
"${MISSING+set}" != xset
; then
4580 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4582 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4585 # Use eval to expand $SHELL
4586 if eval "$MISSING --run true"; then
4587 am_missing_run
="$MISSING --run "
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4591 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4594 if test x
"${install_sh}" != xset
; then
4597 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4599 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4603 # Installed binaries are usually stripped using `strip' when the user
4604 # run `make install-strip'. However `strip' might not be the right
4605 # tool to use in cross-compilation environments, therefore Automake
4606 # will honor the `STRIP' environment variable to overrule this program.
4607 if test "$cross_compiling" != no
; then
4608 if test -n "$ac_tool_prefix"; then
4609 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4610 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if test "${ac_cv_prog_STRIP+set}" = set; then :
4614 $as_echo_n "(cached) " >&6
4616 if test -n "$STRIP"; then
4617 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4623 test -z "$as_dir" && as_dir
=.
4624 for ac_exec_ext
in '' $ac_executable_extensions; do
4625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 STRIP
=$ac_cv_prog_STRIP
4637 if test -n "$STRIP"; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4639 $as_echo "$STRIP" >&6; }
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4647 if test -z "$ac_cv_prog_STRIP"; then
4649 # Extract the first word of "strip", so it can be a program name with args.
4650 set dummy strip
; ac_word
=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -n "$ac_ct_STRIP"; then
4657 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666 ac_cv_prog_ac_ct_STRIP
="strip"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4677 if test -n "$ac_ct_STRIP"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4679 $as_echo "$ac_ct_STRIP" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4685 if test "x$ac_ct_STRIP" = x
; then
4688 case $cross_compiling:$ac_tool_warned in
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4692 ac_tool_warned
=yes ;;
4697 STRIP
="$ac_cv_prog_STRIP"
4701 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4704 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4705 if test -z "$MKDIR_P"; then
4706 if test "${ac_cv_path_mkdir+set}" = set; then :
4707 $as_echo_n "(cached) " >&6
4709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4710 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4713 test -z "$as_dir" && as_dir
=.
4714 for ac_prog
in mkdir gmkdir
; do
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4717 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4718 'mkdir (GNU coreutils) '* | \
4719 'mkdir (coreutils) '* | \
4720 'mkdir (fileutils) '4.1*)
4721 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4731 if test "${ac_cv_path_mkdir+set}" = set; then
4732 MKDIR_P
="$ac_cv_path_mkdir -p"
4734 # As a last resort, use the slow shell script. Don't cache a
4735 # value for MKDIR_P within a source directory, because that will
4736 # break other packages using the cache if that directory is
4737 # removed, or if the value is a relative name.
4738 test -d .
/--version && rmdir .
/--version
4739 MKDIR_P
="$ac_install_sh -d"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4743 $as_echo "$MKDIR_P" >&6; }
4747 [\\/$
]* | ?
:[\\/]*) ;;
4748 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4751 for ac_prog
in gawk mawk nawk
awk
4753 # Extract the first word of "$ac_prog", so it can be a program name with args.
4754 set dummy
$ac_prog; ac_word
=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if test "${ac_cv_prog_AWK+set}" = set; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$AWK"; then
4761 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir
=.
4768 for ac_exec_ext
in '' $ac_executable_extensions; do
4769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4770 ac_cv_prog_AWK
="$ac_prog"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 if test -n "$AWK"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4783 $as_echo "$AWK" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4790 test -n "$AWK" && break
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4794 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4796 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4797 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4798 $as_echo_n "(cached) " >&6
4800 cat >conftest.
make <<\_ACEOF
4803 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4805 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4806 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4808 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4810 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4814 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4816 $as_echo "yes" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4821 SET_MAKE
="MAKE=${MAKE-make}"
4824 rm -rf .tst
2>/dev
/null
4825 mkdir .tst
2>/dev
/null
4826 if test -d .tst
; then
4831 rmdir .tst
2>/dev
/null
4833 DEPDIR
="${am__leading_dot}deps"
4835 ac_config_commands
="$ac_config_commands depfiles"
4838 am_make
=${MAKE-make}
4839 cat > confinc
<< 'END'
4841 @
echo this is the am__doit target
4844 # If we don't find an include directive, just comment out the code.
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4846 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4850 # First try GNU make style include.
4851 echo "include confinc" > confmf
4852 # Ignore all kinds of additional output from `make'.
4853 case `$am_make -s -f confmf 2> /dev/null` in #(
4854 *the\ am__doit\ target
*)
4860 # Now try BSD make style include.
4861 if test "$am__include" = "#"; then
4862 echo '.include "confinc"' > confmf
4863 case `$am_make -s -f confmf 2> /dev/null` in #(
4864 *the\ am__doit\ target
*)
4865 am__include
=.include
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4874 $as_echo "$_am_result" >&6; }
4875 rm -f confinc confmf
4877 # Check whether --enable-dependency-tracking was given.
4878 if test "${enable_dependency_tracking+set}" = set; then :
4879 enableval
=$enable_dependency_tracking;
4882 if test "x$enable_dependency_tracking" != xno
; then
4883 am_depcomp
="$ac_aux_dir/depcomp"
4886 if test "x$enable_dependency_tracking" != xno; then
4895 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4896 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4897 # is not polluted with repeated "-I."
4898 am__isrc
=' -I$(srcdir)'
4899 # test to see if srcdir already configured
4900 if test -f $srcdir/config.status
; then
4901 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4905 # test whether we have cygpath
4906 if test -z "$CYGPATH_W"; then
4907 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4908 CYGPATH_W
='cygpath -w'
4915 # Define the identity of the package.
4917 VERSION
='version-unused'
4920 cat >>confdefs.h
<<_ACEOF
4921 #define PACKAGE "$PACKAGE"
4925 cat >>confdefs.h
<<_ACEOF
4926 #define VERSION "$VERSION"
4929 # Some tools Automake needs.
4931 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4934 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4937 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4940 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4943 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4945 # We need awk for the "check" target. The system "awk" is bad on
4947 # Always define AMTAR for backward compatibility.
4949 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4951 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4956 depcc
="$CC" am_compiler_list
=
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4959 $as_echo_n "checking dependency style of $depcc... " >&6; }
4960 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4964 # We make a subdir and do the tests there. Otherwise we can end up
4965 # making bogus files that we don't know about and never remove. For
4966 # instance it was reported that on HP-UX the gcc test will end up
4967 # making a dummy file named `D' -- because `-MD' means `put the output
4970 # Copy depcomp to subdir because otherwise we won't find it if we're
4971 # using a relative directory.
4972 cp "$am_depcomp" conftest.dir
4974 # We will build objects and dependencies in a subdirectory because
4975 # it helps to detect inapplicable dependency modes. For instance
4976 # both Tru64's cc and ICC support -MD to output dependencies as a
4977 # side effect of compilation, but ICC will put the dependencies in
4978 # the current directory while Tru64 will put them in the object
4982 am_cv_CC_dependencies_compiler_type
=none
4983 if test "$am_compiler_list" = ""; then
4984 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4987 case " $depcc " in #(
4988 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4991 for depmode
in $am_compiler_list; do
4992 # Setup a source with many dependencies, because some compilers
4993 # like to wrap large dependency lists on column 80 (with \), and
4994 # we should not choose a depcomp mode which is confused by this.
4996 # We need to recreate these files for each test, as the compiler may
4997 # overwrite some of them when testing with obscure command lines.
4998 # This happens at least with the AIX C compiler.
5000 for i
in 1 2 3 4 5 6; do
5001 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5002 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5003 # Solaris 8's {/usr,}/bin/sh.
5004 touch sub
/conftst
$i.h
5006 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5008 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5009 # mode. It turns out that the SunPro C++ compiler does not properly
5010 # handle `-M -o', and we need to detect this. Also, some Intel
5011 # versions had trouble with output in subdirs
5012 am__obj
=sub
/conftest.
${OBJEXT-o}
5013 am__minus_obj
="-o $am__obj"
5016 # This depmode causes a compiler race in universal mode.
5017 test "$am__universal" = false ||
continue
5020 # after this tag, mechanisms are not by side-effect, so they'll
5021 # only be used when explicitly requested
5022 if test "x$enable_dependency_tracking" = xyes
; then
5028 msvisualcpp | msvcmsys
)
5029 # This compiler won't grok `-c -o', but also, the minuso test has
5030 # not run yet. These depmodes are late enough in the game, and
5031 # so weak that their functioning should not be impacted.
5032 am__obj
=conftest.
${OBJEXT-o}
5037 if depmode
=$depmode \
5038 source=sub
/conftest.c object
=$am__obj \
5039 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5040 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5041 >/dev
/null
2>conftest.err
&&
5042 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5043 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5044 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5045 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5046 # icc doesn't choke on unknown options, it will just issue warnings
5047 # or remarks (even with -Werror). So we grep stderr for any message
5048 # that says an option was ignored or not supported.
5049 # When given -MP, icc 7.0 and 7.1 complain thusly:
5050 # icc: Command line warning: ignoring option '-M'; no argument required
5051 # The diagnosis changed in icc 8.0:
5052 # icc: Command line remark: option '-MP' not supported
5053 if (grep 'ignoring option' conftest.err ||
5054 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5055 am_cv_CC_dependencies_compiler_type
=$depmode
5064 am_cv_CC_dependencies_compiler_type
=none
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5069 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5070 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5073 test "x$enable_dependency_tracking" != xno \
5074 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5076 am__fastdepCC_FALSE
='#'
5078 am__fastdepCC_TRUE
='#'
5079 am__fastdepCC_FALSE
=
5083 depcc
="$CXX" am_compiler_list
=
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5086 $as_echo_n "checking dependency style of $depcc... " >&6; }
5087 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5088 $as_echo_n "(cached) " >&6
5090 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5091 # We make a subdir and do the tests there. Otherwise we can end up
5092 # making bogus files that we don't know about and never remove. For
5093 # instance it was reported that on HP-UX the gcc test will end up
5094 # making a dummy file named `D' -- because `-MD' means `put the output
5097 # Copy depcomp to subdir because otherwise we won't find it if we're
5098 # using a relative directory.
5099 cp "$am_depcomp" conftest.dir
5101 # We will build objects and dependencies in a subdirectory because
5102 # it helps to detect inapplicable dependency modes. For instance
5103 # both Tru64's cc and ICC support -MD to output dependencies as a
5104 # side effect of compilation, but ICC will put the dependencies in
5105 # the current directory while Tru64 will put them in the object
5109 am_cv_CXX_dependencies_compiler_type
=none
5110 if test "$am_compiler_list" = ""; then
5111 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5114 case " $depcc " in #(
5115 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5118 for depmode
in $am_compiler_list; do
5119 # Setup a source with many dependencies, because some compilers
5120 # like to wrap large dependency lists on column 80 (with \), and
5121 # we should not choose a depcomp mode which is confused by this.
5123 # We need to recreate these files for each test, as the compiler may
5124 # overwrite some of them when testing with obscure command lines.
5125 # This happens at least with the AIX C compiler.
5127 for i
in 1 2 3 4 5 6; do
5128 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5129 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5130 # Solaris 8's {/usr,}/bin/sh.
5131 touch sub
/conftst
$i.h
5133 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5135 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5136 # mode. It turns out that the SunPro C++ compiler does not properly
5137 # handle `-M -o', and we need to detect this. Also, some Intel
5138 # versions had trouble with output in subdirs
5139 am__obj
=sub
/conftest.
${OBJEXT-o}
5140 am__minus_obj
="-o $am__obj"
5143 # This depmode causes a compiler race in universal mode.
5144 test "$am__universal" = false ||
continue
5147 # after this tag, mechanisms are not by side-effect, so they'll
5148 # only be used when explicitly requested
5149 if test "x$enable_dependency_tracking" = xyes
; then
5155 msvisualcpp | msvcmsys
)
5156 # This compiler won't grok `-c -o', but also, the minuso test has
5157 # not run yet. These depmodes are late enough in the game, and
5158 # so weak that their functioning should not be impacted.
5159 am__obj
=conftest.
${OBJEXT-o}
5164 if depmode
=$depmode \
5165 source=sub
/conftest.c object
=$am__obj \
5166 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5167 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5168 >/dev
/null
2>conftest.err
&&
5169 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5170 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5171 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5172 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5173 # icc doesn't choke on unknown options, it will just issue warnings
5174 # or remarks (even with -Werror). So we grep stderr for any message
5175 # that says an option was ignored or not supported.
5176 # When given -MP, icc 7.0 and 7.1 complain thusly:
5177 # icc: Command line warning: ignoring option '-M'; no argument required
5178 # The diagnosis changed in icc 8.0:
5179 # icc: Command line remark: option '-MP' not supported
5180 if (grep 'ignoring option' conftest.err ||
5181 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5182 am_cv_CXX_dependencies_compiler_type
=$depmode
5191 am_cv_CXX_dependencies_compiler_type
=none
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5196 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5197 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5200 test "x$enable_dependency_tracking" != xno \
5201 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5202 am__fastdepCXX_TRUE
=
5203 am__fastdepCXX_FALSE
='#'
5205 am__fastdepCXX_TRUE
='#'
5206 am__fastdepCXX_FALSE
=
5212 if test -n "$ac_tool_prefix"; then
5213 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5214 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5216 $as_echo_n "checking for $ac_word... " >&6; }
5217 if test "${ac_cv_prog_AS+set}" = set; then :
5218 $as_echo_n "(cached) " >&6
5220 if test -n "$AS"; then
5221 ac_cv_prog_AS
="$AS" # Let the user override the test.
5223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5227 test -z "$as_dir" && as_dir
=.
5228 for ac_exec_ext
in '' $ac_executable_extensions; do
5229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5230 ac_cv_prog_AS
="${ac_tool_prefix}as"
5231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 if test -n "$AS"; then
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5243 $as_echo "$AS" >&6; }
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5246 $as_echo "no" >&6; }
5251 if test -z "$ac_cv_prog_AS"; then
5253 # Extract the first word of "as", so it can be a program name with args.
5254 set dummy as
; ac_word
=$2
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5256 $as_echo_n "checking for $ac_word... " >&6; }
5257 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5258 $as_echo_n "(cached) " >&6
5260 if test -n "$ac_ct_AS"; then
5261 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir
=.
5268 for ac_exec_ext
in '' $ac_executable_extensions; do
5269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5270 ac_cv_prog_ac_ct_AS
="as"
5271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5280 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5281 if test -n "$ac_ct_AS"; then
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5283 $as_echo "$ac_ct_AS" >&6; }
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5289 if test "x$ac_ct_AS" = x
; then
5292 case $cross_compiling:$ac_tool_warned in
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5296 ac_tool_warned
=yes ;;
5304 if test -n "$ac_tool_prefix"; then
5305 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5306 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if test "${ac_cv_prog_LD+set}" = set; then :
5310 $as_echo_n "(cached) " >&6
5312 if test -n "$LD"; then
5313 ac_cv_prog_LD
="$LD" # Let the user override the test.
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5322 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5333 if test -n "$LD"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5335 $as_echo "$LD" >&6; }
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5343 if test -z "$ac_cv_prog_LD"; then
5345 # Extract the first word of "ld", so it can be a program name with args.
5346 set dummy ld
; ac_word
=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348 $as_echo_n "checking for $ac_word... " >&6; }
5349 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
5350 $as_echo_n "(cached) " >&6
5352 if test -n "$ac_ct_LD"; then
5353 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir
=.
5360 for ac_exec_ext
in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_prog_ac_ct_LD
="ld"
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5372 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5373 if test -n "$ac_ct_LD"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5375 $as_echo "$ac_ct_LD" >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5381 if test "x$ac_ct_LD" = x
; then
5384 case $cross_compiling:$ac_tool_warned in
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5388 ac_tool_warned
=yes ;;
5396 if test -n "$ac_tool_prefix"; then
5397 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5398 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400 $as_echo_n "checking for $ac_word... " >&6; }
5401 if test "${ac_cv_prog_AR+set}" = set; then :
5402 $as_echo_n "(cached) " >&6
5404 if test -n "$AR"; then
5405 ac_cv_prog_AR
="$AR" # Let the user override the test.
5407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5411 test -z "$as_dir" && as_dir
=.
5412 for ac_exec_ext
in '' $ac_executable_extensions; do
5413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5414 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 if test -n "$AR"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5427 $as_echo "$AR" >&6; }
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }
5435 if test -z "$ac_cv_prog_AR"; then
5437 # Extract the first word of "ar", so it can be a program name with args.
5438 set dummy
ar; ac_word
=$2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440 $as_echo_n "checking for $ac_word... " >&6; }
5441 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5442 $as_echo_n "(cached) " >&6
5444 if test -n "$ac_ct_AR"; then
5445 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5451 test -z "$as_dir" && as_dir
=.
5452 for ac_exec_ext
in '' $ac_executable_extensions; do
5453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5454 ac_cv_prog_ac_ct_AR
="ar"
5455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5465 if test -n "$ac_ct_AR"; then
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5467 $as_echo "$ac_ct_AR" >&6; }
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470 $as_echo "no" >&6; }
5473 if test "x$ac_ct_AR" = x
; then
5476 case $cross_compiling:$ac_tool_warned in
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480 ac_tool_warned
=yes ;;
5488 if test -n "$ac_tool_prefix"; then
5489 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5490 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5494 $as_echo_n "(cached) " >&6
5496 if test -n "$RANLIB"; then
5497 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5503 test -z "$as_dir" && as_dir
=.
5504 for ac_exec_ext
in '' $ac_executable_extensions; do
5505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5506 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 RANLIB
=$ac_cv_prog_RANLIB
5517 if test -n "$RANLIB"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5519 $as_echo "$RANLIB" >&6; }
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5527 if test -z "$ac_cv_prog_RANLIB"; then
5528 ac_ct_RANLIB
=$RANLIB
5529 # Extract the first word of "ranlib", so it can be a program name with args.
5530 set dummy ranlib
; ac_word
=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5534 $as_echo_n "(cached) " >&6
5536 if test -n "$ac_ct_RANLIB"; then
5537 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5543 test -z "$as_dir" && as_dir
=.
5544 for ac_exec_ext
in '' $ac_executable_extensions; do
5545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5546 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5557 if test -n "$ac_ct_RANLIB"; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5559 $as_echo "$ac_ct_RANLIB" >&6; }
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5565 if test "x$ac_ct_RANLIB" = x
; then
5568 case $cross_compiling:$ac_tool_warned in
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5572 ac_tool_warned
=yes ;;
5574 RANLIB
=$ac_ct_RANLIB
5577 RANLIB
="$ac_cv_prog_RANLIB"
5580 if test -n "$ac_tool_prefix"; then
5581 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5582 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5584 $as_echo_n "checking for $ac_word... " >&6; }
5585 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5586 $as_echo_n "(cached) " >&6
5588 if test -n "$DLLTOOL"; then
5589 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5595 test -z "$as_dir" && as_dir
=.
5596 for ac_exec_ext
in '' $ac_executable_extensions; do
5597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5598 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 DLLTOOL
=$ac_cv_prog_DLLTOOL
5609 if test -n "$DLLTOOL"; then
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5611 $as_echo "$DLLTOOL" >&6; }
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5614 $as_echo "no" >&6; }
5619 if test -z "$ac_cv_prog_DLLTOOL"; then
5620 ac_ct_DLLTOOL
=$DLLTOOL
5621 # Extract the first word of "dlltool", so it can be a program name with args.
5622 set dummy dlltool
; ac_word
=$2
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5624 $as_echo_n "checking for $ac_word... " >&6; }
5625 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5626 $as_echo_n "(cached) " >&6
5628 if test -n "$ac_ct_DLLTOOL"; then
5629 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5635 test -z "$as_dir" && as_dir
=.
5636 for ac_exec_ext
in '' $ac_executable_extensions; do
5637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5638 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5649 if test -n "$ac_ct_DLLTOOL"; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5651 $as_echo "$ac_ct_DLLTOOL" >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }
5657 if test "x$ac_ct_DLLTOOL" = x
; then
5660 case $cross_compiling:$ac_tool_warned in
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5664 ac_tool_warned
=yes ;;
5666 DLLTOOL
=$ac_ct_DLLTOOL
5669 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5672 for ac_prog
in gawk mawk nawk
awk
5674 # Extract the first word of "$ac_prog", so it can be a program name with args.
5675 set dummy
$ac_prog; ac_word
=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if test "${ac_cv_prog_AWK+set}" = set; then :
5679 $as_echo_n "(cached) " >&6
5681 if test -n "$AWK"; then
5682 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir
=.
5689 for ac_exec_ext
in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_prog_AWK
="$ac_prog"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 if test -n "$AWK"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5704 $as_echo "$AWK" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5711 test -n "$AWK" && break
5714 for ac_prog
in jar fastjar gjar
5716 # Extract the first word of "$ac_prog", so it can be a program name with args.
5717 set dummy
$ac_prog; ac_word
=$2
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719 $as_echo_n "checking for $ac_word... " >&6; }
5720 if test "${ac_cv_prog_JAR+set}" = set; then :
5721 $as_echo_n "(cached) " >&6
5723 if test -n "$JAR"; then
5724 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
5726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir
=.
5731 for ac_exec_ext
in '' $ac_executable_extensions; do
5732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733 ac_cv_prog_JAR
="$ac_prog"
5734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 if test -n "$JAR"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5746 $as_echo "$JAR" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }
5753 test -n "$JAR" && break
5755 test -n "$JAR" || JAR
="no"
5757 # Extract the first word of "zip", so it can be a program name with args.
5758 set dummy
zip; ac_word
=$2
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5760 $as_echo_n "checking for $ac_word... " >&6; }
5761 if test "${ac_cv_path_ZIP+set}" = set; then :
5762 $as_echo_n "(cached) " >&6
5766 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
5769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir
=.
5774 for ac_exec_ext
in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5784 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
5789 if test -n "$ZIP"; then
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
5791 $as_echo "$ZIP" >&6; }
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5798 # Extract the first word of "unzip", so it can be a program name with args.
5799 set dummy
unzip; ac_word
=$2
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5801 $as_echo_n "checking for $ac_word... " >&6; }
5802 if test "${ac_cv_path_UNZIP+set}" = set; then :
5803 $as_echo_n "(cached) " >&6
5807 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
5810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5814 test -z "$as_dir" && as_dir
=.
5815 for ac_exec_ext
in '' $ac_executable_extensions; do
5816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5817 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
5818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
5829 UNZIP
=$ac_cv_path_UNZIP
5830 if test -n "$UNZIP"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5
5832 $as_echo "$UNZIP" >&6; }
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5835 $as_echo "no" >&6; }
5840 # We need a jar that supports -@. This is a GNU extension.
5841 if test "$JAR" != no
; then
5842 rm -f config-test.jar
5843 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
5844 if test -f config-test.jar
; then
5845 rm -f config-test.jar
5851 # Prefer the jar we found, but fall back to our jar script.
5852 if test "$JAR" = no
; then
5853 if test "$ZIP" = no
; then
5854 as_fn_error
"cannot find neither zip nor jar, cannot continue" "$LINENO" 5
5856 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
5857 JAR
=`pwd`/scripts
/jar
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5865 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5866 # Check whether --enable-maintainer-mode was given.
5867 if test "${enable_maintainer_mode+set}" = set; then :
5868 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5870 USE_MAINTAINER_MODE
=no
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5874 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5875 if test $USE_MAINTAINER_MODE = yes; then
5876 MAINTAINER_MODE_TRUE
=
5877 MAINTAINER_MODE_FALSE
='#'
5879 MAINTAINER_MODE_TRUE
='#'
5880 MAINTAINER_MODE_FALSE
=
5883 MAINT
=$MAINTAINER_MODE_TRUE
5889 # configure.host sets the following important variables
5890 # libgcj_cflags - host specific C compiler flags
5891 # libgcj_cxxflags - host specific C++ compiler flags
5892 # libgcj_javaflags - host specific Java compiler flags
5893 # libgcj_sublib_ltflags - host specific Libtool flags
5894 # libgcj_sublib_core_extra_deps - host specific extra
5895 # dependencies for core sublib
5896 # (these last two only used when building sublibs)
5897 # and a number of others; see the list at the start of the file.
5902 libgcj_sublib_ltflags
=
5903 libgcj_sublib_core_extra_deps
=
5905 .
${srcdir}/configure.
host
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5908 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5909 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5910 $as_echo_n "(cached) " >&6
5912 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5913 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5914 acl_cv_prog_gnu_ld
=yes
5916 acl_cv_prog_gnu_ld
=no
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5920 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5921 with_gnu_ld
=$acl_cv_prog_gnu_ld
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
5924 $as_echo_n "checking if the GNU linker ($LD) supports -Bsymbolic-functions... " >&6; }
5925 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then :
5926 $as_echo_n "(cached) " >&6
5929 acl_cv_prog_gnu_ld_symbolic
=no
5931 if test x
"$with_gnu_ld" = x
"yes"; then
5932 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
5933 acl_cv_prog_gnu_ld_symbolic
=yes
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld_symbolic" >&5
5938 $as_echo "$acl_cv_prog_gnu_ld_symbolic" >&6; }
5939 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
5940 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
5945 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
5946 if test -z "$libgcj_ld_symbolic"; then
5947 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
5950 LIBGCJ_CFLAGS
="${libgcj_cflags}"
5951 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
5952 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
5953 LIBGCJ_SUBLIB_LTFLAGS
="${libgcj_sublib_ltflags}"
5954 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
="${libgcj_sublib_core_extra_deps}"
5955 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
5956 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
5965 # Only use libltdl for non-newlib builds.
5966 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
5968 $as_echo_n "checking dynamic linker characteristics... " >&6; }
5970 libname_spec
='lib$name'
5978 shlibpath_overrides_runpath
=unknown
5980 dynamic_linker
="$host_os ld.so"
5981 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
5982 if test "$GCC" = yes; then
5983 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
5984 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
5985 # if the path contains ";" then we assume it to be the separator
5986 # otherwise default to the standard path separator (i.e. ":") - it is
5987 # assumed that no part of a normal pathname contains ";" but that should
5988 # okay in the real world where ";" in dirpaths is itself problematic.
5989 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
5991 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
5994 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
5996 need_lib_prefix
=unknown
5997 hardcode_into_libs
=no
5999 # when you set need_version to no, make sure it does not cause -set_version
6000 # flags to be left without arguments
6001 need_version
=unknown
6006 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
6007 shlibpath_var
=LIBPATH
6009 # AIX 3 has no versioning support, so we append a major version to the name.
6010 soname_spec
='${libname}${release}${shared_ext}$major'
6017 hardcode_into_libs
=yes
6018 if test "$host_cpu" = ia64
; then
6019 # AIX 5 supports IA64
6020 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6021 shlibpath_var
=LD_LIBRARY_PATH
6023 # With GCC up to 2.95.x, collect2 would create an import file
6024 # for dependence libraries. The import file would start with
6025 # the line `#! .'. This would cause the generated library to
6026 # depend on `.', always an invalid library. This was fixed in
6027 # development snapshots of GCC prior to 3.0.
6029 aix4 | aix4.
[01] | aix4.
[01].
*)
6030 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6032 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6039 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6040 # soname into executable. Probably we can add versioning support to
6041 # collect2, so additional links can be useful in future.
6042 if test "$aix_use_runtimelinking" = yes; then
6043 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6044 # instead of lib<name>.a to let people know that these are not
6045 # typical AIX shared libraries.
6046 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6048 # We preserve .a as extension for shared libraries through AIX4.2
6049 # and later when we are not doing run time linking.
6050 library_names_spec
='${libname}${release}.a $libname.a'
6051 soname_spec
='${libname}${release}${shared_ext}$major'
6053 shlibpath_var
=LIBPATH
6058 library_names_spec
='$libname.ixlibrary $libname.a'
6059 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6060 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'
6064 library_names_spec
='${libname}${shared_ext}'
6065 dynamic_linker
="$host_os ld.so"
6066 shlibpath_var
=LIBRARY_PATH
6072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6073 soname_spec
='${libname}${release}${shared_ext}$major'
6074 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
6075 shlibpath_var
=LD_LIBRARY_PATH
6076 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6077 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
6078 # the default ld.so.conf also contains /usr/contrib/lib and
6079 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6080 # libtool to hard-code these into programs
6083 cygwin
* | mingw
* | pw32
*)
6084 version_type
=windows
6089 case $GCC,$host_os in
6090 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
6091 library_names_spec
='$libname.dll.a'
6092 # DLL is installed to $(libdir)/../bin by postinstall_cmds
6093 postinstall_cmds
='base_file=`basename \${file}`~
6094 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6095 dldir=$destdir/`dirname \$dlpath`~
6096 test -d \$dldir || mkdir -p \$dldir~
6097 $install_prog $dir/$dlname \$dldir/$dlname'
6098 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6099 dlpath=$dir/\$dldll~
6101 shlibpath_overrides_runpath
=yes
6105 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6106 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6107 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
6110 # MinGW DLLs use traditional 'lib' prefix
6111 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6112 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6113 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
6114 # It is most probably a Windows format PATH printed by
6115 # mingw gcc, but we are running on Cygwin. Gcc prints its search
6116 # path with ; separators, and with drive letters. We can handle the
6117 # drive letters (cygwin fileutils understands them), so leave them,
6118 # especially as we might pass files found there to a mingw objdump,
6119 # which wouldn't understand a cygwinified path. Ahh.
6120 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6122 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6126 # pw32 DLLs use 'pw' prefix rather than 'lib'
6127 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
6133 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6136 dynamic_linker
='Win32 ld.exe'
6137 # FIXME: first we should search . and the directory the executable is in
6141 darwin
* | rhapsody
*)
6142 dynamic_linker
="$host_os dyld"
6146 # FIXME: Relying on posixy $() will cause problems for
6147 # cross-compilation, but unfortunately the echo tests do not
6148 # yet detect zsh echo's removal of \ escapes.
6149 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6150 soname_spec
='${libname}${release}${major}$shared_ext'
6151 shlibpath_overrides_runpath
=yes
6152 shlibpath_var
=DYLD_LIBRARY_PATH
6153 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
6154 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6155 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
6156 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"`
6158 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
6165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6166 soname_spec
='${libname}${release}${shared_ext}$major'
6167 shlibpath_var
=LD_LIBRARY_PATH
6175 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6176 version_type
=freebsd-
$objformat
6177 case $version_type in
6179 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6184 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6188 shlibpath_var
=LD_LIBRARY_PATH
6191 shlibpath_overrides_runpath
=yes
6193 freebsd3.01
* | freebsdelf3.01
*)
6194 shlibpath_overrides_runpath
=yes
6195 hardcode_into_libs
=yes
6198 shlibpath_overrides_runpath
=no
6199 hardcode_into_libs
=yes
6208 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6209 soname_spec
='${libname}${release}${shared_ext}$major'
6210 shlibpath_var
=LD_LIBRARY_PATH
6211 hardcode_into_libs
=yes
6214 hpux9
* | hpux10
* | hpux11
*)
6215 # Give a soname corresponding to the major version so that dld.sl refuses to
6216 # link against other versions.
6223 hardcode_into_libs
=yes
6224 dynamic_linker
="$host_os dld.so"
6225 shlibpath_var
=LD_LIBRARY_PATH
6226 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6227 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6228 soname_spec
='${libname}${release}${shared_ext}$major'
6229 if test "X$HPUX_IA64_MODE" = X32
; then
6230 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6232 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
6234 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6238 hardcode_into_libs
=yes
6239 dynamic_linker
="$host_os dld.sl"
6240 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
6241 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6243 soname_spec
='${libname}${release}${shared_ext}$major'
6244 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6245 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6249 dynamic_linker
="$host_os dld.sl"
6250 shlibpath_var
=SHLIB_PATH
6251 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
6252 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6253 soname_spec
='${libname}${release}${shared_ext}$major'
6256 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6257 postinstall_cmds
='chmod 555 $lib'
6260 irix5
* | irix6
* | nonstopux
*)
6262 nonstopux
*) version_type
=nonstopux
;;
6264 if test "$lt_cv_prog_gnu_ld" = yes; then
6272 soname_spec
='${libname}${release}${shared_ext}$major'
6273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6275 irix5
* | nonstopux
*)
6279 case $LD in # libtool.m4 will add one of these switches to LD
6280 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
6281 libsuff
= shlibsuff
= libmagic
=32-bit;;
6282 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
6283 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
6284 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
6285 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
6286 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
6290 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
6291 shlibpath_overrides_runpath
=no
6292 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6293 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
6294 hardcode_into_libs
=yes
6297 # No shared lib support for Linux oldld, aout, or coff.
6298 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
6302 # This must be Linux ELF.
6307 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6308 soname_spec
='${libname}${release}${shared_ext}$major'
6309 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6310 shlibpath_var
=LD_LIBRARY_PATH
6311 shlibpath_overrides_runpath
=no
6312 # This implies no fast_install, which is unacceptable.
6313 # Some rework will be needed to allow for fast_install
6314 # before this can be enabled.
6315 hardcode_into_libs
=yes
6317 # We used to test for /lib/ld.so.1 and disable shared libraries on
6318 # powerpc, because MkLinux only supported shared libraries with the
6319 # GNU dynamic linker. Since this was broken with cross compilers,
6320 # most powerpc-linux boxes support dynamic linking these days and
6321 # people can always --disable-shared, the test was removed, and we
6322 # assume the GNU/Linux dynamic linker is in use.
6323 dynamic_linker
='GNU/Linux ld.so'
6330 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6331 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6332 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6333 dynamic_linker
='NetBSD (a.out) ld.so'
6335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
6336 soname_spec
='${libname}${release}${shared_ext}$major'
6337 dynamic_linker
='NetBSD ld.elf_so'
6339 shlibpath_var
=LD_LIBRARY_PATH
6340 shlibpath_overrides_runpath
=yes
6341 hardcode_into_libs
=yes
6346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6347 shlibpath_var
=LD_LIBRARY_PATH
6348 shlibpath_overrides_runpath
=yes
6355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6356 soname_spec
='${libname}${release}${shared_ext}$major'
6357 shlibpath_var
=LD_LIBRARY_PATH
6358 shlibpath_overrides_runpath
=yes
6365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6366 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6367 shlibpath_var
=LD_LIBRARY_PATH
6368 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6370 openbsd2.
[89] | openbsd2.
[89].
*)
6371 shlibpath_overrides_runpath
=no
6374 shlibpath_overrides_runpath
=yes
6378 shlibpath_overrides_runpath
=yes
6383 libname_spec
='$name'
6386 library_names_spec
='$libname${shared_ext} $libname.a'
6387 dynamic_linker
='OS/2 ld.exe'
6388 shlibpath_var
=LIBPATH
6391 osf3
* | osf4
* | osf5
*)
6395 soname_spec
='${libname}${release}${shared_ext}$major'
6396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6397 shlibpath_var
=LD_LIBRARY_PATH
6398 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6399 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
6404 soname_spec
='${libname}${release}${shared_ext}$major'
6405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6406 shlibpath_var
=LD_LIBRARY_PATH
6413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6414 soname_spec
='${libname}${release}${shared_ext}$major'
6415 shlibpath_var
=LD_LIBRARY_PATH
6416 shlibpath_overrides_runpath
=yes
6417 hardcode_into_libs
=yes
6418 # ldd complains unless libraries are executable
6419 postinstall_cmds
='chmod +x $lib'
6424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6425 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6426 shlibpath_var
=LD_LIBRARY_PATH
6427 shlibpath_overrides_runpath
=yes
6428 if test "$with_gnu_ld" = yes; then
6434 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6437 soname_spec
='${libname}${release}${shared_ext}$major'
6438 shlibpath_var
=LD_LIBRARY_PATH
6439 case $host_vendor in
6441 shlibpath_overrides_runpath
=no
6443 export_dynamic_flag_spec
='${wl}-Blargedynsym'
6444 runpath_var
=LD_RUN_PATH
6452 shlibpath_overrides_runpath
=no
6453 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
6459 if test -d /usr
/nec
;then
6461 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6462 soname_spec
='$libname${shared_ext}.$major'
6463 shlibpath_var
=LD_LIBRARY_PATH
6469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6470 soname_spec
='${libname}${release}${shared_ext}$major'
6471 shlibpath_var
=LD_LIBRARY_PATH
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
6479 $as_echo "$dynamic_linker" >&6; }
6480 test "$dynamic_linker" = no
&& can_build_shared
=no
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time library path" >&5
6484 $as_echo_n "checking which variable specifies run-time library path... " >&6; }
6485 if test "${libltdl_cv_shlibpath_var+set}" = set; then :
6486 $as_echo_n "(cached) " >&6
6488 libltdl_cv_shlibpath_var
="$shlibpath_var"
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibpath_var" >&5
6491 $as_echo "$libltdl_cv_shlibpath_var" >&6; }
6492 if test -n "$libltdl_cv_shlibpath_var"; then
6494 cat >>confdefs.h
<<_ACEOF
6495 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
6502 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
6505 # Possibly build libgcj as many sub-libraries.
6506 # Check whether --enable-libgcj-sublibs was given.
6507 if test "${enable_libgcj_sublibs+set}" = set; then :
6508 enableval
=$enable_libgcj_sublibs;
6512 if test -z "$enable_libgcj_sublibs"; then
6513 enable_libgcj_sublibs
=$enable_libgcj_sublibs_default
6515 if test "$enable_libgcj_sublibs" = yes; then
6517 BUILD_SUBLIBS_FALSE
='#'
6519 BUILD_SUBLIBS_TRUE
='#'
6520 BUILD_SUBLIBS_FALSE
=
6523 if test "$enable_libgcj_sublibs" = yes ; then
6524 # In theory we could make do with only one override and simply
6525 # tag "_bc" onto the end of it when we use it to generate the
6526 # spec, but that's an ugly thing to do when there are multiple
6527 # words in the string and you're relying on the ordering to
6528 # append the correct one.
6529 libgcj_spec_lgcj_override
="-lgcj-noncore -lgcj"
6530 libgcj_spec_lgcj_bc_override
="-lgcj-noncore -lgcj_bc"
6534 # See if the user has requested runtime debugging.
6535 LIBGCJDEBUG
="disable"
6537 # Check whether --enable-libgcj-debug was given.
6538 if test "${enable_libgcj_debug+set}" = set; then :
6539 enableval
=$enable_libgcj_debug; if test "$enable_libgcj_debug" = yes; then
6541 $as_echo "#define __GCJ_DEBUG 1" >>confdefs.h
6543 LIBGCJDEBUG
="enable"
6549 # Check whether --with-escher was given.
6550 if test "${with_escher+set}" = set; then :
6551 withval
=$with_escher;
6554 case "$with_escher" in
6562 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
6569 # Determine which AWT peer libraries to build
6570 # Check whether --enable-java-awt was given.
6571 if test "${enable_java_awt+set}" = set; then :
6572 enableval
=$enable_java_awt;
6576 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
6581 # The default toolkit to use is the first one specified.
6585 for peer
in $peerlibs ; do
6588 if test "$no_x" = yes; then
6589 echo "*** xlib peers requested but no X library available" 1>&2
6593 if test -z "$TOOLKIT"; then
6594 TOOLKIT
=gnu.awt.xlib.XToolkit
6599 if test "$no_x" = yes; then
6600 echo "*** gtk peers requested but no X library available" 1>&2
6604 if test -z "$TOOLKIT"; then
6605 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
6610 if test "$no_x" = yes; then
6611 # Perhaps we should admit the possibility of embedded Qt.
6612 echo "*** Qt peers requested but no X library available" 1>&2
6616 if test -z "$TOOLKIT"; then
6617 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
6623 if test -z "$TOOLKIT"; then
6624 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
6635 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
6640 if test "$use_xlib_awt" = yes; then
6648 if test "$use_x_awt" = yes; then
6658 cat >>confdefs.h
<<_ACEOF
6659 #define AWT_TOOLKIT "$TOOLKIT"
6663 expanded_prefix
=$prefix
6664 if test "X$prefix" = XNONE
; then
6665 expanded_prefix
=${ac_default_prefix}
6669 cat >>confdefs.h
<<_ACEOF
6670 #define LIBGCJ_PREFIX "$expanded_prefix"
6674 # Create standard.omit based on decisions we just made.
6675 cp $srcdir/standard.omit.
in standard.omit
6676 if test "$use_xlib_awt" != yes; then
6677 echo gnu
/awt
/xlib
>> standard.omit
6678 echo gnu
/gcj
/xlib
>> standard.omit
6680 if test "$use_x_awt" != yes; then
6681 echo gnu
/java
/awt
/peer
/x
>> standard.omit
6684 # Tools that need to be compiled against classpath's tools classes
6685 : > vm-tools-packages
6686 for package
in gnu
/gcj
/tools
/gc_analyze
; do
6687 echo $package >> standard.omit
6688 echo $package >> vm-tools-packages
6691 if test -z "${with_multisubdir}"; then
6694 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
6699 # Which gcj and host gcj (for ecjx) do we use?
6701 host_exeext
=${ac_exeext}
6703 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
6704 if test -n "${with_cross_host}"; then
6705 # We are being configured with a cross compiler. We can't
6706 # use ac_exeext, because that is for the target platform.
6709 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
6710 case "${with_cross_host}" in
6712 cross_host_exeext
=.exe
6715 host_exeext
=${cross_host_exeext}
6716 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
6717 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
6718 # Ordinary cross (host!=target and host=build)
6721 # Canadian cross (host!=target and host!=build)
6728 # We are being configured with a native or crossed-native compiler
6729 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
6730 if test x
"$build" = x
"$host"; then
6731 # True native build (host=target and host=build)
6734 # Crossed-native build (host=target and host!=build)
6741 libgcjdir
=`${PWDCMD-pwd}`
6744 # Just in case there is a comma in the build dir, quote it for the
6745 # sed command below.
6747 *[,\\]*) qlibgcjdir
=`echo "$libgcjdir" | sed 's:[,\\]:\\&:g'`;;
6748 *) qlibgcjdir
=$libgcjdir;;
6750 GCJ
=`echo "$GCJ" | sed "s, -B, -B$qlibgcjdir/&,"`
6753 GCJ
=$GCJ" -B$libgcjdir/"
6756 case "${which_gcj}" in
6758 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
6761 if test "x${with_newlib}" = "xyes"; then
6762 # FIXME (comment): Why is this needed?
6765 GCJH
='$(target_noncanonical)-gcjh'
6778 # Create it, so that compile/link tests don't fail
6779 test -f libgcj.spec ||
touch libgcj.spec
6783 # Set up to configure Classpath.
6784 # FIXME: no supported way to pass args in autoconf.
6785 # Disable tool wrappers to avoid ltdl.h configure check.
6786 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
6787 ac_configure_args
="$ac_configure_args --disable-load-library"
6788 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
6789 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
6790 dir1
=`cd $srcdir && pwd`
6792 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
6793 ac_configure_args
="$ac_configure_args --disable-core-jni"
6794 ac_configure_args
="$ac_configure_args --disable-examples"
6795 ac_configure_args
="$ac_configure_args --with-glibj=build"
6796 if test "$browser_plugin_enabled" != yes; then
6797 ac_configure_args
="$ac_configure_args --disable-plugin"
6799 ac_configure_args
="$ac_configure_args --enable-plugin"
6801 if test "$gconf_enabled" != yes; then
6802 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
6803 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
6805 if test "$use_gtk_awt" != yes; then
6806 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
6808 if test "$use_qt_awt" != yes; then
6809 ac_configure_args
="$ac_configure_args --disable-qt-peer"
6811 # We need this as qt is disabled by default in classpath.
6812 ac_configure_args
="$ac_configure_args --enable-qt-peer"
6814 if test "$use_x_awt" != yes; then
6815 ac_configure_args
="$ac_configure_args --without-escher"
6817 # We need this as escher is disabled by default in classpath.
6818 if test "$use_escher" != true
; then
6819 as_fn_error
"Please supply an absolute path to the Escher library" "$LINENO" 5
6821 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
6824 if test "x$BUILD_GJDOC" = xno
; then
6825 ac_configure_args
="$ac_configure_args --disable-gjdoc"
6827 # -Werror causes unavoidable problems in code using alsa.
6828 ac_configure_args
="$ac_configure_args --disable-regen-headers"
6829 ac_configure_args
="$ac_configure_args --disable-Werror"
6831 # Only use libltdl for non-newlib builds.
6832 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
6833 case $enable_ltdl_convenience in
6834 no
) as_fn_error
"this package needs a convenience libltdl" "$LINENO" 5 ;;
6835 "") enable_ltdl_convenience
=yes
6836 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
6838 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
6839 LTDLINCL
='-I${top_srcdir}/''libltdl'
6840 # For backwards non-gettext consistent compatibility...
6849 $as_echo "#define USE_LTDL 1" >>confdefs.h
6851 # Sigh. Libtool's macro doesn't do the right thing.
6852 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
6853 # FIXME: this is a hack.
6854 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
6855 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6863 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6868 macro_version
='2.2.7a'
6869 macro_revision
='1.3134'
6883 ltmain
="$ac_aux_dir/ltmain.sh"
6885 # Backslashify metacharacters that are still active within
6886 # double-quoted strings.
6887 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6889 # Same as above, but do not quote variable references.
6890 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6892 # Sed substitution to delay expansion of an escaped shell variable in a
6893 # double_quote_subst'ed string.
6894 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6896 # Sed substitution to delay expansion of an escaped single quote.
6897 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6899 # Sed substitution to avoid accidental globbing in evaled expressions
6900 no_glob_subst
='s/\*/\\\*/g'
6902 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6903 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6904 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6907 $as_echo_n "checking how to print strings... " >&6; }
6908 # Test print first, because it will be a builtin if present.
6909 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6910 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6912 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6915 # Use this function as a fallback that always works.
6916 func_fallback_echo ()
6918 eval 'cat <<_LTECHO_EOF
6922 ECHO='func_fallback_echo
'
6925 # func_echo_all arg...
6926 # Invoke $ECHO with all args, space-separated.
6933 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6934 $as_echo "printf" >&6; } ;;
6935 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6936 $as_echo "print -r" >&6; } ;;
6937 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6938 $as_echo "cat" >&6; } ;;
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6955 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6956 if test "${ac_cv_path_SED+set}" = set; then :
6957 $as_echo_n "(cached) " >&6
6959 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6960 for ac_i in 1 2 3 4 5 6 7; do
6961 ac_script="$ac_script$as_nl$ac_script"
6963 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6964 { ac_script=; unset ac_script;}
6965 if test -z "$SED"; then
6966 ac_path_SED_found=false
6967 # Loop through the user's path and
test for each of PROGNAME-LIST
6968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6972 test -z "$as_dir" && as_dir
=.
6973 for ac_prog
in sed gsed
; do
6974 for ac_exec_ext
in '' $ac_executable_extensions; do
6975 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6976 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6977 # Check for GNU ac_path_SED and select it if it is found.
6978 # Check for GNU $ac_path_SED
6979 case `"$ac_path_SED" --version 2>&1` in
6981 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6984 $as_echo_n 0123456789 >"conftest.in"
6987 cat "conftest.in" "conftest.in" >"conftest.tmp"
6988 mv "conftest.tmp" "conftest.in"
6989 cp "conftest.in" "conftest.nl"
6990 $as_echo '' >> "conftest.nl"
6991 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6992 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6993 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6994 if test $ac_count -gt ${ac_path_SED_max-0}; then
6995 # Best one so far, save it but keep looking for a better one
6996 ac_cv_path_SED
="$ac_path_SED"
6997 ac_path_SED_max
=$ac_count
6999 # 10*(2^10) chars as input seems more than enough
7000 test $ac_count -gt 10 && break
7002 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7005 $ac_path_SED_found && break 3
7010 if test -z "$ac_cv_path_SED"; then
7011 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7019 $as_echo "$ac_cv_path_SED" >&6; }
7020 SED
="$ac_cv_path_SED"
7023 test -z "$SED" && SED
=sed
7024 Xsed
="$SED -e 1s/^X//"
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7037 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7038 if test "${ac_cv_path_GREP+set}" = set; then :
7039 $as_echo_n "(cached) " >&6
7041 if test -z "$GREP"; then
7042 ac_path_GREP_found
=false
7043 # Loop through the user's path and test for each of PROGNAME-LIST
7044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7045 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7048 test -z "$as_dir" && as_dir
=.
7049 for ac_prog
in grep ggrep
; do
7050 for ac_exec_ext
in '' $ac_executable_extensions; do
7051 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7052 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7053 # Check for GNU ac_path_GREP and select it if it is found.
7054 # Check for GNU $ac_path_GREP
7055 case `"$ac_path_GREP" --version 2>&1` in
7057 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7060 $as_echo_n 0123456789 >"conftest.in"
7063 cat "conftest.in" "conftest.in" >"conftest.tmp"
7064 mv "conftest.tmp" "conftest.in"
7065 cp "conftest.in" "conftest.nl"
7066 $as_echo 'GREP' >> "conftest.nl"
7067 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7068 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7069 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7070 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7071 # Best one so far, save it but keep looking for a better one
7072 ac_cv_path_GREP
="$ac_path_GREP"
7073 ac_path_GREP_max
=$ac_count
7075 # 10*(2^10) chars as input seems more than enough
7076 test $ac_count -gt 10 && break
7078 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7081 $ac_path_GREP_found && break 3
7086 if test -z "$ac_cv_path_GREP"; then
7087 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7090 ac_cv_path_GREP
=$GREP
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7095 $as_echo "$ac_cv_path_GREP" >&6; }
7096 GREP
="$ac_cv_path_GREP"
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7100 $as_echo_n "checking for egrep... " >&6; }
7101 if test "${ac_cv_path_EGREP+set}" = set; then :
7102 $as_echo_n "(cached) " >&6
7104 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7105 then ac_cv_path_EGREP
="$GREP -E"
7107 if test -z "$EGREP"; then
7108 ac_path_EGREP_found
=false
7109 # Loop through the user's path and test for each of PROGNAME-LIST
7110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7111 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7114 test -z "$as_dir" && as_dir
=.
7115 for ac_prog
in egrep; do
7116 for ac_exec_ext
in '' $ac_executable_extensions; do
7117 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7118 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7119 # Check for GNU ac_path_EGREP and select it if it is found.
7120 # Check for GNU $ac_path_EGREP
7121 case `"$ac_path_EGREP" --version 2>&1` in
7123 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7126 $as_echo_n 0123456789 >"conftest.in"
7129 cat "conftest.in" "conftest.in" >"conftest.tmp"
7130 mv "conftest.tmp" "conftest.in"
7131 cp "conftest.in" "conftest.nl"
7132 $as_echo 'EGREP' >> "conftest.nl"
7133 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7134 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7135 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7136 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7137 # Best one so far, save it but keep looking for a better one
7138 ac_cv_path_EGREP
="$ac_path_EGREP"
7139 ac_path_EGREP_max
=$ac_count
7141 # 10*(2^10) chars as input seems more than enough
7142 test $ac_count -gt 10 && break
7144 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7147 $ac_path_EGREP_found && break 3
7152 if test -z "$ac_cv_path_EGREP"; then
7153 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7156 ac_cv_path_EGREP
=$EGREP
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7162 $as_echo "$ac_cv_path_EGREP" >&6; }
7163 EGREP
="$ac_cv_path_EGREP"
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7167 $as_echo_n "checking for fgrep... " >&6; }
7168 if test "${ac_cv_path_FGREP+set}" = set; then :
7169 $as_echo_n "(cached) " >&6
7171 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
7172 then ac_cv_path_FGREP
="$GREP -F"
7174 if test -z "$FGREP"; then
7175 ac_path_FGREP_found
=false
7176 # Loop through the user's path and test for each of PROGNAME-LIST
7177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7178 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7181 test -z "$as_dir" && as_dir
=.
7182 for ac_prog
in fgrep
; do
7183 for ac_exec_ext
in '' $ac_executable_extensions; do
7184 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7185 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
7186 # Check for GNU ac_path_FGREP and select it if it is found.
7187 # Check for GNU $ac_path_FGREP
7188 case `"$ac_path_FGREP" --version 2>&1` in
7190 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7193 $as_echo_n 0123456789 >"conftest.in"
7196 cat "conftest.in" "conftest.in" >"conftest.tmp"
7197 mv "conftest.tmp" "conftest.in"
7198 cp "conftest.in" "conftest.nl"
7199 $as_echo 'FGREP' >> "conftest.nl"
7200 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7201 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7202 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7203 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7204 # Best one so far, save it but keep looking for a better one
7205 ac_cv_path_FGREP
="$ac_path_FGREP"
7206 ac_path_FGREP_max
=$ac_count
7208 # 10*(2^10) chars as input seems more than enough
7209 test $ac_count -gt 10 && break
7211 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7214 $ac_path_FGREP_found && break 3
7219 if test -z "$ac_cv_path_FGREP"; then
7220 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7223 ac_cv_path_FGREP
=$FGREP
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7229 $as_echo "$ac_cv_path_FGREP" >&6; }
7230 FGREP
="$ac_cv_path_FGREP"
7233 test -z "$GREP" && GREP
=grep
7253 # Check whether --with-gnu-ld was given.
7254 if test "${with_gnu_ld+set}" = set; then :
7255 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7261 if test "$GCC" = yes; then
7262 # Check if gcc -print-prog-name=ld gives a path.
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7264 $as_echo_n "checking for ld used by $CC... " >&6; }
7267 # gcc leaves a trailing carriage return which upsets mingw
7268 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7270 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7273 # Accept absolute paths.
7275 re_direlt
='/[^/][^/]*/\.\./'
7276 # Canonicalize the pathname of ld
7277 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7278 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7279 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7281 test -z "$LD" && LD
="$ac_prog"
7284 # If it fails, then pretend we aren't using GCC.
7288 # If it is relative, then search for the first ld in PATH.
7292 elif test "$with_gnu_ld" = yes; then
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7294 $as_echo_n "checking for GNU ld... " >&6; }
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7297 $as_echo_n "checking for non-GNU ld... " >&6; }
7299 if test "${lt_cv_path_LD+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7302 if test -z "$LD"; then
7303 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7304 for ac_dir
in $PATH; do
7306 test -z "$ac_dir" && ac_dir
=.
7307 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7308 lt_cv_path_LD
="$ac_dir/$ac_prog"
7309 # Check to see if the program is GNU ld. I'd rather use --version,
7310 # but apparently some variants of GNU ld only accept -v.
7311 # Break only if it was the GNU/non-GNU ld that we prefer.
7312 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7313 *GNU
* |
*'with BFD'*)
7314 test "$with_gnu_ld" != no
&& break
7317 test "$with_gnu_ld" != yes && break
7324 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7329 if test -n "$LD"; then
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7331 $as_echo "$LD" >&6; }
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7334 $as_echo "no" >&6; }
7336 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7338 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7339 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7340 $as_echo_n "(cached) " >&6
7342 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7343 case `$LD -v 2>&1 </dev/null` in
7344 *GNU
* |
*'with BFD'*)
7345 lt_cv_prog_gnu_ld
=yes
7348 lt_cv_prog_gnu_ld
=no
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7353 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7354 with_gnu_ld
=$lt_cv_prog_gnu_ld
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7365 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7366 if test "${lt_cv_path_NM+set}" = set; then :
7367 $as_echo_n "(cached) " >&6
7369 if test -n "$NM"; then
7370 # Let the user override the test.
7373 lt_nm_to_check
="${ac_tool_prefix}nm"
7374 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7375 lt_nm_to_check
="$lt_nm_to_check nm"
7377 for lt_tmp_nm
in $lt_nm_to_check; do
7378 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7379 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7381 test -z "$ac_dir" && ac_dir
=.
7382 tmp_nm
="$ac_dir/$lt_tmp_nm"
7383 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7384 # Check to see if the nm accepts a BSD-compat flag.
7385 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7386 # nm: unknown option "B" ignored
7387 # Tru64's nm complains that /dev/null is an invalid object file
7388 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7389 */dev
/null
* |
*'Invalid file or object type'*)
7390 lt_cv_path_NM
="$tmp_nm -B"
7394 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7396 lt_cv_path_NM
="$tmp_nm -p"
7400 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7401 continue # so that we can try to find one that supports BSD flags
7410 : ${lt_cv_path_NM=no}
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7414 $as_echo "$lt_cv_path_NM" >&6; }
7415 if test "$lt_cv_path_NM" != "no"; then
7418 # Didn't find any BSD compatible name lister, look for dumpbin.
7419 if test -n "$DUMPBIN"; then :
7420 # Let the user override the test.
7422 if test -n "$ac_tool_prefix"; then
7423 for ac_prog
in dumpbin
"link -dump"
7425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7426 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7428 $as_echo_n "checking for $ac_word... " >&6; }
7429 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7430 $as_echo_n "(cached) " >&6
7432 if test -n "$DUMPBIN"; then
7433 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7439 test -z "$as_dir" && as_dir
=.
7440 for ac_exec_ext
in '' $ac_executable_extensions; do
7441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7442 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7452 DUMPBIN
=$ac_cv_prog_DUMPBIN
7453 if test -n "$DUMPBIN"; then
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7455 $as_echo "$DUMPBIN" >&6; }
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7458 $as_echo "no" >&6; }
7462 test -n "$DUMPBIN" && break
7465 if test -z "$DUMPBIN"; then
7466 ac_ct_DUMPBIN
=$DUMPBIN
7467 for ac_prog
in dumpbin
"link -dump"
7469 # Extract the first word of "$ac_prog", so it can be a program name with args.
7470 set dummy
$ac_prog; ac_word
=$2
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7472 $as_echo_n "checking for $ac_word... " >&6; }
7473 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7474 $as_echo_n "(cached) " >&6
7476 if test -n "$ac_ct_DUMPBIN"; then
7477 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7483 test -z "$as_dir" && as_dir
=.
7484 for ac_exec_ext
in '' $ac_executable_extensions; do
7485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7486 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7497 if test -n "$ac_ct_DUMPBIN"; then
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7499 $as_echo "$ac_ct_DUMPBIN" >&6; }
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7502 $as_echo "no" >&6; }
7506 test -n "$ac_ct_DUMPBIN" && break
7509 if test "x$ac_ct_DUMPBIN" = x
; then
7512 case $cross_compiling:$ac_tool_warned in
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7516 ac_tool_warned
=yes ;;
7518 DUMPBIN
=$ac_ct_DUMPBIN
7522 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7524 DUMPBIN
="$DUMPBIN -symbols"
7532 if test "$DUMPBIN" != ":"; then
7536 test -z "$NM" && NM
=nm
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7544 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7545 if test "${lt_cv_nm_interface+set}" = set; then :
7546 $as_echo_n "(cached) " >&6
7548 lt_cv_nm_interface
="BSD nm"
7549 echo "int some_variable = 0;" > conftest.
$ac_ext
7550 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7551 (eval "$ac_compile" 2>conftest.err
)
7552 cat conftest.err
>&5
7553 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7554 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7555 cat conftest.err
>&5
7556 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7557 cat conftest.out
>&5
7558 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7559 lt_cv_nm_interface
="MS dumpbin"
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7564 $as_echo "$lt_cv_nm_interface" >&6; }
7566 # find the maximum length of command line arguments
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7568 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7569 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7570 $as_echo_n "(cached) " >&6
7577 # On DJGPP, this test can blow up pretty badly due to problems in libc
7578 # (any single argument exceeding 2000 bytes causes a buffer overrun
7579 # during glob expansion). Even if it were fixed, the result of this
7580 # check would be larger than it should be.
7581 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7585 # Under GNU Hurd, this test is not required because there is
7586 # no limit to the length of command line arguments.
7587 # Libtool will interpret -1 as no limit whatsoever
7588 lt_cv_sys_max_cmd_len
=-1;
7591 cygwin
* | mingw
* | cegcc
*)
7592 # On Win9x/ME, this test blows up -- it succeeds, but takes
7593 # about 5 minutes as the teststring grows exponentially.
7594 # Worse, since 9x/ME are not pre-emptively multitasking,
7595 # you end up with a "frozen" computer, even though with patience
7596 # the test eventually succeeds (with a max line length of 256k).
7597 # Instead, let's just punt: use the minimum linelength reported by
7598 # all of the supported platforms: 8192 (on NT/2K/XP).
7599 lt_cv_sys_max_cmd_len
=8192;
7603 # On MiNT this can take a long time and run out of memory.
7604 lt_cv_sys_max_cmd_len
=8192;
7608 # On AmigaOS with pdksh, this test takes hours, literally.
7609 # So we just punt and use a minimum line length of 8192.
7610 lt_cv_sys_max_cmd_len
=8192;
7613 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7614 # This has been around since 386BSD, at least. Likely further.
7615 if test -x /sbin
/sysctl
; then
7616 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7617 elif test -x /usr
/sbin
/sysctl
; then
7618 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7620 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7622 # And add a safety zone
7623 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7624 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7628 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7629 lt_cv_sys_max_cmd_len
=196608
7633 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7634 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7635 # nice to cause kernel panics so lets avoid the loop below.
7636 # First set a reasonable default.
7637 lt_cv_sys_max_cmd_len
=16384
7639 if test -x /sbin
/sysconfig
; then
7640 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7641 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7646 lt_cv_sys_max_cmd_len
=102400
7648 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7649 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7650 if test -n "$kargmax"; then
7651 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7653 lt_cv_sys_max_cmd_len
=32768
7657 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7658 if test -n "$lt_cv_sys_max_cmd_len"; then
7659 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7660 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7662 # Make teststring a little bigger before we do anything with it.
7663 # a 1K string should be a reasonable start.
7664 for i
in 1 2 3 4 5 6 7 8 ; do
7665 teststring
=$teststring$teststring
7667 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7668 # If test is not a shell built-in, we'll probably end up computing a
7669 # maximum length that is only half of the actual maximum length, but
7671 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7672 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7673 test $i != 17 # 1/2 MB should be enough
7676 teststring
=$teststring$teststring
7678 # Only check the string length outside the loop.
7679 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7681 # Add a significant safety factor because C++ compilers can tack on
7682 # massive amounts of additional arguments before passing them to the
7683 # linker. It appears as though 1/2 is a usable value.
7684 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7691 if test -n $lt_cv_sys_max_cmd_len ; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7693 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7696 $as_echo "none" >&6; }
7698 max_cmd_len
=$lt_cv_sys_max_cmd_len
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7710 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7711 # Try some XSI features
7714 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7716 && eval 'test $(( 1 + 1 )) -eq 2 \
7717 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7720 $as_echo "$xsi_shell" >&6; }
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7724 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7726 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7728 && lt_shell_append=yes
7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7730 $as_echo "$lt_shell_append" >&6; }
7733 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7743 # test EBCDIC or ASCII
7744 case `echo X|tr X '\101'` in
7745 A) # ASCII based system
7746 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7747 lt_SP2NL='tr \040 \012'
7748 lt_NL2SP='tr \015\012 \040\040'
7750 *) # EBCDIC based system
7751 lt_SP2NL='tr \100 \n'
7752 lt_NL2SP='tr \r\n \100\100'
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7765 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7766 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7767 $as_echo_n "(cached
) " >&6
7769 lt_cv_ld_reload_flag='-r'
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7772 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7773 reload_flag=$lt_cv_ld_reload_flag
7774 case $reload_flag in
7776 *) reload_flag=" $reload_flag" ;;
7778 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7781 if test "$GCC" = yes; then
7782 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7784 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7797 if test -n "$ac_tool_prefix"; then
7798 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7799 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7801 $as_echo_n "checking
for $ac_word...
" >&6; }
7802 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7803 $as_echo_n "(cached
) " >&6
7805 if test -n "$OBJDUMP"; then
7806 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7812 test -z "$as_dir" && as_dir=.
7813 for ac_exec_ext in '' $ac_executable_extensions; do
7814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7815 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7825 OBJDUMP=$ac_cv_prog_OBJDUMP
7826 if test -n "$OBJDUMP"; then
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7828 $as_echo "$OBJDUMP" >&6; }
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7831 $as_echo "no
" >&6; }
7836 if test -z "$ac_cv_prog_OBJDUMP"; then
7837 ac_ct_OBJDUMP=$OBJDUMP
7838 # Extract the first word of "objdump
", so it can be a program name with args.
7839 set dummy objdump; ac_word=$2
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7841 $as_echo_n "checking
for $ac_word...
" >&6; }
7842 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7843 $as_echo_n "(cached
) " >&6
7845 if test -n "$ac_ct_OBJDUMP"; then
7846 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7855 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7856 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7865 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7866 if test -n "$ac_ct_OBJDUMP"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7868 $as_echo "$ac_ct_OBJDUMP" >&6; }
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7871 $as_echo "no
" >&6; }
7874 if test "x
$ac_ct_OBJDUMP" = x; then
7877 case $cross_compiling:$ac_tool_warned in
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7880 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7881 ac_tool_warned=yes ;;
7883 OBJDUMP=$ac_ct_OBJDUMP
7886 OBJDUMP="$ac_cv_prog_OBJDUMP"
7889 test -z "$OBJDUMP" && OBJDUMP=objdump
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7900 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7901 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7902 $as_echo_n "(cached
) " >&6
7904 lt_cv_file_magic_cmd='$MAGIC_CMD'
7905 lt_cv_file_magic_test_file=
7906 lt_cv_deplibs_check_method='unknown'
7907 # Need to set the preceding variable on all platforms that support
7908 # interlibrary dependencies.
7909 # 'none' -- dependencies not supported.
7910 # `unknown' -- same as none, but documents that we really don't know.
7911 # 'pass_all' -- all dependencies passed with no checks.
7912 # 'test_compile' -- check by making test program.
7913 # 'file_magic [[regex]]' -- check by looking for files in library path
7914 # which responds to the $file_magic_cmd with a given extended regex.
7915 # If you have `file' or equivalent on your system and you're not sure
7916 # whether `pass_all' will *always* work, you probably want this one.
7920 lt_cv_deplibs_check_method=pass_all
7924 lt_cv_deplibs_check_method=pass_all
7928 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7929 lt_cv_file_magic_cmd='/usr/bin/file -L'
7930 lt_cv_file_magic_test_file=/shlib/libc.so
7934 # func_win32_libid is a shell function defined in ltmain.sh
7935 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7936 lt_cv_file_magic_cmd='func_win32_libid'
7940 # Base MSYS/MinGW do not provide the 'file' command needed by
7941 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7942 # unless we find 'file', for example because we are cross-compiling.
7943 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7944 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7945 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7946 lt_cv_file_magic_cmd='func_win32_libid'
7948 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7949 lt_cv_file_magic_cmd='$OBJDUMP -f'
7954 # use the weaker test based on 'objdump'. See mingw*.
7955 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7956 lt_cv_file_magic_cmd='$OBJDUMP -f'
7959 darwin* | rhapsody*)
7960 lt_cv_deplibs_check_method=pass_all
7963 freebsd* | dragonfly*)
7964 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7967 # Not sure whether the presence of OpenBSD here was a mistake.
7968 # Let's accept both of them until this is cleared up.
7969 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7970 lt_cv_file_magic_cmd=/usr/bin/file
7971 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7975 lt_cv_deplibs_check_method=pass_all
7980 lt_cv_deplibs_check_method=pass_all
7984 lt_cv_deplibs_check_method=pass_all
7987 hpux10.20* | hpux11*)
7988 lt_cv_file_magic_cmd=/usr/bin/file
7991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7992 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7995 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]'
7996 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7999 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8000 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8006 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8007 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8010 irix5* | irix6* | nonstopux*)
8012 *-32|*"-32 ") libmagic=32-bit;;
8013 *-n32|*"-n32 ") libmagic=N32;;
8014 *-64|*"-64 ") libmagic=64-bit;;
8015 *) libmagic=never-match;;
8017 lt_cv_deplibs_check_method=pass_all
8020 # This must be Linux ELF.
8021 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8022 lt_cv_deplibs_check_method=pass_all
8026 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8027 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8029 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8034 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8035 lt_cv_file_magic_cmd=/usr/bin/file
8036 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8040 lt_cv_deplibs_check_method=pass_all
8044 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
8045 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8047 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8051 osf3* | osf4* | osf5*)
8052 lt_cv_deplibs_check_method=pass_all
8056 lt_cv_deplibs_check_method=pass_all
8060 lt_cv_deplibs_check_method=pass_all
8063 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8064 lt_cv_deplibs_check_method=pass_all
8068 case $host_vendor in
8070 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]'
8071 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8074 lt_cv_deplibs_check_method=pass_all
8077 lt_cv_file_magic_cmd='/bin/file'
8078 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8081 lt_cv_file_magic_cmd='/bin/file'
8082 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
8083 lt_cv_file_magic_test_file=/lib/libc.so
8086 lt_cv_deplibs_check_method=pass_all
8089 lt_cv_deplibs_check_method=pass_all
8095 lt_cv_deplibs_check_method=pass_all
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
8101 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8102 file_magic_cmd=$lt_cv_file_magic_cmd
8103 deplibs_check_method=$lt_cv_deplibs_check_method
8104 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8117 if test -n "$ac_tool_prefix"; then
8118 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8119 set dummy ${ac_tool_prefix}ar; ac_word=$2
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8121 $as_echo_n "checking
for $ac_word...
" >&6; }
8122 if test "${ac_cv_prog_AR+set}" = set; then :
8123 $as_echo_n "(cached
) " >&6
8125 if test -n "$AR"; then
8126 ac_cv_prog_AR="$AR" # Let the user override the test.
8128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 test -z "$as_dir" && as_dir=.
8133 for ac_exec_ext in '' $ac_executable_extensions; do
8134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8135 ac_cv_prog_AR="${ac_tool_prefix}ar"
8136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8146 if test -n "$AR"; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8148 $as_echo "$AR" >&6; }
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8151 $as_echo "no
" >&6; }
8156 if test -z "$ac_cv_prog_AR"; then
8158 # Extract the first word of "ar", so it can be a program name with args.
8159 set dummy ar; ac_word=$2
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8161 $as_echo_n "checking
for $ac_word...
" >&6; }
8162 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8163 $as_echo_n "(cached
) " >&6
8165 if test -n "$ac_ct_AR"; then
8166 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 test -z "$as_dir" && as_dir=.
8173 for ac_exec_ext in '' $ac_executable_extensions; do
8174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8175 ac_cv_prog_ac_ct_AR="ar"
8176 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8185 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8186 if test -n "$ac_ct_AR"; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
8188 $as_echo "$ac_ct_AR" >&6; }
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8191 $as_echo "no
" >&6; }
8194 if test "x
$ac_ct_AR" = x; then
8197 case $cross_compiling:$ac_tool_warned in
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8200 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8201 ac_tool_warned=yes ;;
8209 test -z "$AR" && AR=ar
8210 test -z "$AR_FLAGS" && AR_FLAGS=cru
8222 if test -n "$ac_tool_prefix"; then
8223 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
8224 set dummy ${ac_tool_prefix}strip; ac_word=$2
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8226 $as_echo_n "checking
for $ac_word...
" >&6; }
8227 if test "${ac_cv_prog_STRIP+set}" = set; then :
8228 $as_echo_n "(cached
) " >&6
8230 if test -n "$STRIP"; then
8231 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 test -z "$as_dir" && as_dir=.
8238 for ac_exec_ext in '' $ac_executable_extensions; do
8239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8240 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
8241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8250 STRIP=$ac_cv_prog_STRIP
8251 if test -n "$STRIP"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8253 $as_echo "$STRIP" >&6; }
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8256 $as_echo "no
" >&6; }
8261 if test -z "$ac_cv_prog_STRIP"; then
8263 # Extract the first word of "strip
", so it can be a program name with args.
8264 set dummy strip; ac_word=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8266 $as_echo_n "checking
for $ac_word...
" >&6; }
8267 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8268 $as_echo_n "(cached
) " >&6
8270 if test -n "$ac_ct_STRIP"; then
8271 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 test -z "$as_dir" && as_dir=.
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280 ac_cv_prog_ac_ct_STRIP="strip
"
8281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8290 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8291 if test -n "$ac_ct_STRIP"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8293 $as_echo "$ac_ct_STRIP" >&6; }
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8296 $as_echo "no
" >&6; }
8299 if test "x
$ac_ct_STRIP" = x; then
8302 case $cross_compiling:$ac_tool_warned in
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8305 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8306 ac_tool_warned=yes ;;
8311 STRIP="$ac_cv_prog_STRIP"
8314 test -z "$STRIP" && STRIP=:
8321 if test -n "$ac_tool_prefix"; then
8322 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8323 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8325 $as_echo_n "checking
for $ac_word...
" >&6; }
8326 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8327 $as_echo_n "(cached
) " >&6
8329 if test -n "$RANLIB"; then
8330 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8339 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8349 RANLIB=$ac_cv_prog_RANLIB
8350 if test -n "$RANLIB"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8352 $as_echo "$RANLIB" >&6; }
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8355 $as_echo "no
" >&6; }
8360 if test -z "$ac_cv_prog_RANLIB"; then
8361 ac_ct_RANLIB=$RANLIB
8362 # Extract the first word of "ranlib
", so it can be a program name with args.
8363 set dummy ranlib; ac_word=$2
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8365 $as_echo_n "checking
for $ac_word...
" >&6; }
8366 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8367 $as_echo_n "(cached
) " >&6
8369 if test -n "$ac_ct_RANLIB"; then
8370 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 test -z "$as_dir" && as_dir=.
8377 for ac_exec_ext in '' $ac_executable_extensions; do
8378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8379 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8389 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8390 if test -n "$ac_ct_RANLIB"; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8392 $as_echo "$ac_ct_RANLIB" >&6; }
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8395 $as_echo "no
" >&6; }
8398 if test "x
$ac_ct_RANLIB" = x; then
8401 case $cross_compiling:$ac_tool_warned in
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8404 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8405 ac_tool_warned=yes ;;
8407 RANLIB=$ac_ct_RANLIB
8410 RANLIB="$ac_cv_prog_RANLIB"
8413 test -z "$RANLIB" && RANLIB=:
8420 # Determine commands to create old-style static archives.
8421 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8422 old_postinstall_cmds='chmod 644 $oldlib'
8423 old_postuninstall_cmds=
8425 if test -n "$RANLIB"; then
8428 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8431 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8434 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8439 lock_old_archive_extraction=yes ;;
8441 lock_old_archive_extraction=no ;;
8482 # If no C compiler was specified, use CC.
8485 # If no C compiler flags were specified, use CFLAGS.
8486 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8488 # Allow CC to be a program name with arguments.
8492 # Check for command to grab the raw symbol name followed by C symbol from nm.
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8494 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8495 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8496 $as_echo_n "(cached
) " >&6
8499 # These are sane defaults that work on at least a few old systems.
8500 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8502 # Character class describing NM global symbol codes.
8503 symcode='[BCDEGRST]'
8505 # Regexp to match symbols that can be accessed directly from C.
8506 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8508 # Define system-specific variables.
8513 cygwin* | mingw* | pw32* | cegcc*)
8514 symcode='[ABCDGISTW]'
8517 if test "$host_cpu" = ia64; then
8518 symcode='[ABCDEGRST]'
8522 symcode='[BCDEGRST]'
8525 symcode='[BCDEGQRST]'
8536 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8544 # If we're using GNU nm, then use its standard symbol codes.
8545 case `$NM -V 2>&1` in
8546 *GNU* | *'with BFD'*)
8547 symcode='[ABCDGIRSTW]' ;;
8550 # Transform an extracted symbol line into a proper C declaration.
8551 # Some systems (esp. on ia64) link data and code symbols differently,
8552 # so use this general approach.
8553 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8555 # Transform an extracted symbol line into symbol name and symbol address
8556 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8557 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'"
8559 # Handle CRLF in mingw tool chain
8563 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8567 # Try without a prefix underscore, then with it.
8568 for ac_symprfx in "" "_
"; do
8570 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8571 symxfrm="\\1 $ac_symprfx\\2 \\2"
8573 # Write the raw and C identifiers.
8574 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8575 # Fake it for dumpbin and say T for any non-static function
8576 # and D for any global variable.
8577 # Also find C++ and __fastcall symbols from MSVC++,
8578 # which start with @ or ?.
8579 lt_cv_sys_global_symbol_pipe="$AWK '"\
8580 " {last_section=section; section=\$ 3};"\
8581 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8582 " \$ 0!~/External *\|/{next};"\
8583 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8584 " {if(hide[section]) next};"\
8585 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8586 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8587 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8588 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8589 " ' prfx
=^
$ac_symprfx"
8591 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8594 # Check to see that the pipe works correctly.
8598 cat > conftest.$ac_ext <<_LT_EOF
8603 void nm_test_func(void);
8604 void nm_test_func(void){}
8608 int main(){nm_test_var='a';nm_test_func();return(0);}
8611 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8612 (eval $ac_compile) 2>&5
8614 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8615 test $ac_status = 0; }; then
8616 # Now try to grab the symbols.
8618 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8619 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8621 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8622 test $ac_status = 0; } && test -s "$nlist"; then
8623 # Try sorting and uniquifying the output.
8624 if sort "$nlist" | uniq > "$nlist"T; then
8625 mv -f "$nlist"T "$nlist"
8630 # Make sure that we snagged all the symbols we need.
8631 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8632 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8633 cat <<_LT_EOF > conftest.$ac_ext
8639 # Now generate the symbol file.
8640 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8642 cat <<_LT_EOF >> conftest.$ac_ext
8644 /* The mapping between symbol names and symbols. */
8649 lt__PROGRAM__LTX_preloaded_symbols[] =
8651 { "@PROGRAM@
", (void *) 0 },
8653 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8654 cat <<\_LT_EOF >> conftest.$ac_ext
8658 /* This works around a problem in FreeBSD linker */
8659 #ifdef FREEBSD_WORKAROUND
8660 static const void *lt_preloaded_setup() {
8661 return lt__PROGRAM__LTX_preloaded_symbols;
8669 # Now try linking the two files.
8670 mv conftest.$ac_objext conftstm.$ac_objext
8671 lt_save_LIBS="$LIBS"
8672 lt_save_CFLAGS="$CFLAGS"
8673 LIBS="conftstm.
$ac_objext"
8674 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8675 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8676 (eval $ac_link) 2>&5
8678 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8679 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8682 LIBS="$lt_save_LIBS"
8683 CFLAGS="$lt_save_CFLAGS"
8685 echo "cannot
find nm_test_func
in $nlist" >&5
8688 echo "cannot
find nm_test_var
in $nlist" >&5
8691 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8694 echo "$progname: failed program was
:" >&5
8695 cat conftest.$ac_ext >&5
8697 rm -rf conftest* conftst*
8699 # Do not use the global_symbol_pipe unless it works.
8700 if test "$pipe_works" = yes; then
8703 lt_cv_sys_global_symbol_pipe=
8709 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8710 lt_cv_sys_global_symbol_to_cdecl=
8712 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8714 $as_echo "failed
" >&6; }
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8717 $as_echo "ok
" >&6; }
8742 # Check whether --enable-libtool-lock was given.
8743 if test "${enable_libtool_lock+set}" = set; then :
8744 enableval=$enable_libtool_lock;
8747 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8749 # Some flags need to be propagated to the compiler or linker for good
8753 # Find out which ABI we are using.
8754 echo 'int i;' > conftest.$ac_ext
8755 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8756 (eval $ac_compile) 2>&5
8758 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8759 test $ac_status = 0; }; then
8760 case `/usr/bin/file conftest.$ac_objext` in
8772 # Find out which ABI we are using.
8773 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8774 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8775 (eval $ac_compile) 2>&5
8777 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8778 test $ac_status = 0; }; then
8779 if test "$lt_cv_prog_gnu_ld" = yes; then
8780 case `/usr/bin/file conftest.$ac_objext` in
8782 LD="${LD-ld} -melf32bsmip"
8785 LD="${LD-ld} -melf32bmipn32"
8788 LD="${LD-ld} -melf64bmip"
8792 case `/usr/bin/file conftest.$ac_objext` in
8808 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8809 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8810 # Find out which ABI we are using.
8811 echo 'int i;' > conftest.$ac_ext
8812 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8813 (eval $ac_compile) 2>&5
8815 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8816 test $ac_status = 0; }; then
8817 case `/usr/bin/file conftest.o` in
8820 x86_64-*kfreebsd*-gnu)
8821 LD="${LD-ld} -m elf_i386_fbsd
"
8824 LD="${LD-ld} -m elf_i386
"
8826 ppc64-*linux*|powerpc64-*linux*)
8827 LD="${LD-ld} -m elf32ppclinux
"
8830 LD="${LD-ld} -m elf_s390
"
8833 LD="${LD-ld} -m elf32_sparc
"
8839 x86_64-*kfreebsd*-gnu)
8840 LD="${LD-ld} -m elf_x86_64_fbsd
"
8843 LD="${LD-ld} -m elf_x86_64
"
8845 ppc*-*linux*|powerpc*-*linux*)
8846 LD="${LD-ld} -m elf64ppc
"
8848 s390*-*linux*|s390*-*tpf*)
8849 LD="${LD-ld} -m elf64_s390
"
8852 LD="${LD-ld} -m elf64_sparc
"
8862 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8863 SAVE_CFLAGS="$CFLAGS"
8864 CFLAGS="$CFLAGS -belf"
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8866 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8867 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8868 $as_echo_n "(cached
) " >&6
8871 ac_cpp='$CPP $CPPFLAGS'
8872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8876 if test x$gcc_no_link = xyes; then
8877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8890 if ac_fn_c_try_link "$LINENO"; then :
8891 lt_cv_cc_needs_belf=yes
8893 lt_cv_cc_needs_belf=no
8895 rm -f core conftest.err conftest.$ac_objext \
8896 conftest$ac_exeext conftest.$ac_ext
8898 ac_cpp='$CPP $CPPFLAGS'
8899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8905 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8906 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8907 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8908 CFLAGS="$SAVE_CFLAGS"
8912 # Find out which ABI we are using.
8913 echo 'int i;' > conftest.$ac_ext
8914 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8915 (eval $ac_compile) 2>&5
8917 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8918 test $ac_status = 0; }; then
8919 case `/usr/bin/file conftest.o` in
8921 case $lt_cv_prog_gnu_ld in
8922 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8924 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8936 need_locks="$enable_libtool_lock"
8940 rhapsody* | darwin*)
8941 if test -n "$ac_tool_prefix"; then
8942 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8943 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8945 $as_echo_n "checking
for $ac_word...
" >&6; }
8946 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8947 $as_echo_n "(cached
) " >&6
8949 if test -n "$DSYMUTIL"; then
8950 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8956 test -z "$as_dir" && as_dir=.
8957 for ac_exec_ext in '' $ac_executable_extensions; do
8958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8959 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8969 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8970 if test -n "$DSYMUTIL"; then
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8972 $as_echo "$DSYMUTIL" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8975 $as_echo "no
" >&6; }
8980 if test -z "$ac_cv_prog_DSYMUTIL"; then
8981 ac_ct_DSYMUTIL=$DSYMUTIL
8982 # Extract the first word of "dsymutil
", so it can be a program name with args.
8983 set dummy dsymutil; ac_word=$2
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8985 $as_echo_n "checking
for $ac_word...
" >&6; }
8986 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8987 $as_echo_n "(cached
) " >&6
8989 if test -n "$ac_ct_DSYMUTIL"; then
8990 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8996 test -z "$as_dir" && as_dir=.
8997 for ac_exec_ext in '' $ac_executable_extensions; do
8998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8999 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
9000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9009 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9010 if test -n "$ac_ct_DSYMUTIL"; then
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
9012 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9015 $as_echo "no
" >&6; }
9018 if test "x
$ac_ct_DSYMUTIL" = x; then
9021 case $cross_compiling:$ac_tool_warned in
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9024 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9025 ac_tool_warned=yes ;;
9027 DSYMUTIL=$ac_ct_DSYMUTIL
9030 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9033 if test -n "$ac_tool_prefix"; then
9034 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
9035 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9037 $as_echo_n "checking
for $ac_word...
" >&6; }
9038 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
9039 $as_echo_n "(cached
) " >&6
9041 if test -n "$NMEDIT"; then
9042 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9048 test -z "$as_dir" && as_dir=.
9049 for ac_exec_ext in '' $ac_executable_extensions; do
9050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9051 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
9052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9061 NMEDIT=$ac_cv_prog_NMEDIT
9062 if test -n "$NMEDIT"; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
9064 $as_echo "$NMEDIT" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9067 $as_echo "no
" >&6; }
9072 if test -z "$ac_cv_prog_NMEDIT"; then
9073 ac_ct_NMEDIT=$NMEDIT
9074 # Extract the first word of "nmedit
", so it can be a program name with args.
9075 set dummy nmedit; ac_word=$2
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9077 $as_echo_n "checking
for $ac_word...
" >&6; }
9078 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9079 $as_echo_n "(cached
) " >&6
9081 if test -n "$ac_ct_NMEDIT"; then
9082 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9088 test -z "$as_dir" && as_dir=.
9089 for ac_exec_ext in '' $ac_executable_extensions; do
9090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9091 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
9092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9101 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9102 if test -n "$ac_ct_NMEDIT"; then
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
9104 $as_echo "$ac_ct_NMEDIT" >&6; }
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9107 $as_echo "no
" >&6; }
9110 if test "x
$ac_ct_NMEDIT" = x; then
9113 case $cross_compiling:$ac_tool_warned in
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9116 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9117 ac_tool_warned=yes ;;
9119 NMEDIT=$ac_ct_NMEDIT
9122 NMEDIT="$ac_cv_prog_NMEDIT"
9125 if test -n "$ac_tool_prefix"; then
9126 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9127 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9129 $as_echo_n "checking
for $ac_word...
" >&6; }
9130 if test "${ac_cv_prog_LIPO+set}" = set; then :
9131 $as_echo_n "(cached
) " >&6
9133 if test -n "$LIPO"; then
9134 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9140 test -z "$as_dir" && as_dir=.
9141 for ac_exec_ext in '' $ac_executable_extensions; do
9142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9143 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9153 LIPO=$ac_cv_prog_LIPO
9154 if test -n "$LIPO"; then
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9156 $as_echo "$LIPO" >&6; }
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9159 $as_echo "no
" >&6; }
9164 if test -z "$ac_cv_prog_LIPO"; then
9166 # Extract the first word of "lipo
", so it can be a program name with args.
9167 set dummy lipo; ac_word=$2
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9169 $as_echo_n "checking
for $ac_word...
" >&6; }
9170 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9171 $as_echo_n "(cached
) " >&6
9173 if test -n "$ac_ct_LIPO"; then
9174 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9180 test -z "$as_dir" && as_dir=.
9181 for ac_exec_ext in '' $ac_executable_extensions; do
9182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9183 ac_cv_prog_ac_ct_LIPO="lipo
"
9184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9193 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9194 if test -n "$ac_ct_LIPO"; then
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9196 $as_echo "$ac_ct_LIPO" >&6; }
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9199 $as_echo "no
" >&6; }
9202 if test "x
$ac_ct_LIPO" = x; then
9205 case $cross_compiling:$ac_tool_warned in
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9208 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9209 ac_tool_warned=yes ;;
9214 LIPO="$ac_cv_prog_LIPO"
9217 if test -n "$ac_tool_prefix"; then
9218 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9219 set dummy ${ac_tool_prefix}otool; ac_word=$2
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9221 $as_echo_n "checking
for $ac_word...
" >&6; }
9222 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9223 $as_echo_n "(cached
) " >&6
9225 if test -n "$OTOOL"; then
9226 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232 test -z "$as_dir" && as_dir=.
9233 for ac_exec_ext in '' $ac_executable_extensions; do
9234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9235 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9236 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9245 OTOOL=$ac_cv_prog_OTOOL
9246 if test -n "$OTOOL"; then
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9248 $as_echo "$OTOOL" >&6; }
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9251 $as_echo "no
" >&6; }
9256 if test -z "$ac_cv_prog_OTOOL"; then
9258 # Extract the first word of "otool
", so it can be a program name with args.
9259 set dummy otool; ac_word=$2
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9261 $as_echo_n "checking
for $ac_word...
" >&6; }
9262 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9263 $as_echo_n "(cached
) " >&6
9265 if test -n "$ac_ct_OTOOL"; then
9266 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9272 test -z "$as_dir" && as_dir=.
9273 for ac_exec_ext in '' $ac_executable_extensions; do
9274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9275 ac_cv_prog_ac_ct_OTOOL="otool
"
9276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9285 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9286 if test -n "$ac_ct_OTOOL"; then
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9288 $as_echo "$ac_ct_OTOOL" >&6; }
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9291 $as_echo "no
" >&6; }
9294 if test "x
$ac_ct_OTOOL" = x; then
9297 case $cross_compiling:$ac_tool_warned in
9299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9300 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9301 ac_tool_warned=yes ;;
9306 OTOOL="$ac_cv_prog_OTOOL"
9309 if test -n "$ac_tool_prefix"; then
9310 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9311 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9313 $as_echo_n "checking
for $ac_word...
" >&6; }
9314 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9315 $as_echo_n "(cached
) " >&6
9317 if test -n "$OTOOL64"; then
9318 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9324 test -z "$as_dir" && as_dir=.
9325 for ac_exec_ext in '' $ac_executable_extensions; do
9326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9327 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9337 OTOOL64=$ac_cv_prog_OTOOL64
9338 if test -n "$OTOOL64"; then
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9340 $as_echo "$OTOOL64" >&6; }
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9343 $as_echo "no
" >&6; }
9348 if test -z "$ac_cv_prog_OTOOL64"; then
9349 ac_ct_OTOOL64=$OTOOL64
9350 # Extract the first word of "otool64
", so it can be a program name with args.
9351 set dummy otool64; ac_word=$2
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9353 $as_echo_n "checking
for $ac_word...
" >&6; }
9354 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9355 $as_echo_n "(cached
) " >&6
9357 if test -n "$ac_ct_OTOOL64"; then
9358 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9364 test -z "$as_dir" && as_dir=.
9365 for ac_exec_ext in '' $ac_executable_extensions; do
9366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9367 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9377 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9378 if test -n "$ac_ct_OTOOL64"; then
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9380 $as_echo "$ac_ct_OTOOL64" >&6; }
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9383 $as_echo "no
" >&6; }
9386 if test "x
$ac_ct_OTOOL64" = x; then
9389 case $cross_compiling:$ac_tool_warned in
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9392 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9393 ac_tool_warned=yes ;;
9395 OTOOL64=$ac_ct_OTOOL64
9398 OTOOL64="$ac_cv_prog_OTOOL64"
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9428 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9429 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9430 $as_echo_n "(cached
) " >&6
9432 lt_cv_apple_cc_single_mod=no
9433 if test -z "${LT_MULTI_MODULE}"; then
9434 # By default we will add the -single_module flag. You can override
9435 # by either setting the environment variable LT_MULTI_MODULE
9436 # non-empty at configure time, or by adding -multi_module to the
9438 rm -rf libconftest.dylib*
9439 echo "int foo
(void
){return 1;}" > conftest.c
9440 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9441 -dynamiclib -Wl,-single_module conftest.c
" >&5
9442 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9443 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9445 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9446 lt_cv_apple_cc_single_mod=yes
9448 cat conftest.err >&5
9450 rm -rf libconftest.dylib*
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9455 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9457 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9458 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9459 $as_echo_n "(cached
) " >&6
9461 lt_cv_ld_exported_symbols_list=no
9462 save_LDFLAGS=$LDFLAGS
9463 echo "_main
" > conftest.sym
9464 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9465 if test x$gcc_no_link = xyes; then
9466 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 lt_cv_ld_exported_symbols_list=yes
9482 lt_cv_ld_exported_symbols_list=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LDFLAGS="$save_LDFLAGS"
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9490 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9492 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9493 if test "${lt_cv_ld_force_load+set}" = set; then :
9494 $as_echo_n "(cached
) " >&6
9496 lt_cv_ld_force_load=no
9497 cat > conftest.c << _LT_EOF
9498 int forced_loaded() { return 2;}
9500 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9501 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9502 echo "$AR cru libconftest.a conftest.o
" >&5
9503 $AR cru libconftest.a conftest.o 2>&5
9504 cat > conftest.c << _LT_EOF
9505 int main() { return 0;}
9507 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9508 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9510 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9511 lt_cv_ld_force_load=yes
9513 cat conftest.err >&5
9515 rm -f conftest.err libconftest.a conftest conftest.c
9516 rm -rf conftest.dSYM
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9520 $as_echo "$lt_cv_ld_force_load" >&6; }
9522 rhapsody* | darwin1.[012])
9523 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9525 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9526 darwin*) # darwin 5.x on
9527 # if running on 10.5 or later, the deployment target defaults
9528 # to the OS version, if on x86, and 10.4, the deployment
9529 # target defaults to 10.4. Don't you love it?
9530 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9531 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9532 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9534 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9536 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9540 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9541 _lt_dar_single_mod='$single_module'
9543 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9544 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9546 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9548 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9549 _lt_dsymutil='~$DSYMUTIL $lib || :'
9557 ac_cpp='$CPP $CPPFLAGS'
9558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
9562 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
9563 # On Suns, sometimes $CPP names a directory.
9564 if test -n "$CPP" && test -d "$CPP"; then
9567 if test -z "$CPP"; then
9568 if test "${ac_cv_prog_CPP+set}" = set; then :
9569 $as_echo_n "(cached
) " >&6
9571 # Double quotes because CPP needs to be expanded
9572 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
9575 for ac_c_preproc_warn_flag in '' yes
9577 # Use a header file that comes with gcc, so configuring glibc
9578 # with a fresh cross-compiler works.
9579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9580 # <limits.h> exists even on freestanding compilers.
9581 # On the NeXT, cc -E runs the code through the compiler's parser,
9582 # not just through cpp. "Syntax error
" is here to catch this case.
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9586 # include <limits.h>
9588 # include <assert.h>
9592 if ac_fn_c_try_cpp "$LINENO"; then :
9595 # Broken: fails on valid input.
9598 rm -f conftest.err conftest.$ac_ext
9600 # OK, works on sane cases. Now check whether nonexistent headers
9601 # can be detected and how.
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9604 #include <ac_nonexistent.h>
9606 if ac_fn_c_try_cpp "$LINENO"; then :
9607 # Broken: success on invalid input.
9610 # Passes both tests.
9614 rm -f conftest.err conftest.$ac_ext
9617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9618 rm -f conftest.err conftest.$ac_ext
9619 if $ac_preproc_ok; then :
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
9632 $as_echo "$CPP" >&6; }
9634 for ac_c_preproc_warn_flag in '' yes
9636 # Use a header file that comes with gcc, so configuring glibc
9637 # with a fresh cross-compiler works.
9638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9639 # <limits.h> exists even on freestanding compilers.
9640 # On the NeXT, cc -E runs the code through the compiler's parser,
9641 # not just through cpp. "Syntax error
" is here to catch this case.
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 # include <limits.h>
9647 # include <assert.h>
9651 if ac_fn_c_try_cpp "$LINENO"; then :
9654 # Broken: fails on valid input.
9657 rm -f conftest.err conftest.$ac_ext
9659 # OK, works on sane cases. Now check whether nonexistent headers
9660 # can be detected and how.
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9663 #include <ac_nonexistent.h>
9665 if ac_fn_c_try_cpp "$LINENO"; then :
9666 # Broken: success on invalid input.
9669 # Passes both tests.
9673 rm -f conftest.err conftest.$ac_ext
9676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9677 rm -f conftest.err conftest.$ac_ext
9678 if $ac_preproc_ok; then :
9681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
9682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9683 as_fn_error "C preprocessor \"$CPP\" fails sanity check
9684 See \`config.log' for more details.
" "$LINENO" 5; }
9688 ac_cpp='$CPP $CPPFLAGS'
9689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
9695 $as_echo_n "checking
for ANSI C header files...
" >&6; }
9696 if test "${ac_cv_header_stdc+set}" = set; then :
9697 $as_echo_n "(cached
) " >&6
9699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9700 /* end confdefs.h. */
9714 if ac_fn_c_try_compile "$LINENO"; then :
9715 ac_cv_header_stdc=yes
9717 ac_cv_header_stdc=no
9719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9721 if test $ac_cv_header_stdc = yes; then
9722 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9728 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9729 $EGREP "memchr
" >/dev/null 2>&1; then :
9732 ac_cv_header_stdc=no
9738 if test $ac_cv_header_stdc = yes; then
9739 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9741 /* end confdefs.h. */
9745 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9746 $EGREP "free
" >/dev/null 2>&1; then :
9749 ac_cv_header_stdc=no
9755 if test $ac_cv_header_stdc = yes; then
9756 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9757 if test "$cross_compiling" = yes; then :
9760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9761 /* end confdefs.h. */
9764 #if ((' ' & 0x0FF) == 0x020)
9765 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9766 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9768 # define ISLOWER(c) \
9769 (('a' <= (c) && (c) <= 'i') \
9770 || ('j' <= (c) && (c) <= 'r') \
9771 || ('s' <= (c) && (c) <= 'z'))
9772 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9775 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9780 for (i = 0; i < 256; i++)
9781 if (XOR (islower (i), ISLOWER (i))
9782 || toupper (i) != TOUPPER (i))
9787 if ac_fn_c_try_run "$LINENO"; then :
9790 ac_cv_header_stdc=no
9792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9793 conftest.$ac_objext conftest.beam conftest.$ac_ext
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
9799 $as_echo "$ac_cv_header_stdc" >&6; }
9800 if test $ac_cv_header_stdc = yes; then
9802 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9806 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9807 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9808 inttypes.h stdint.h unistd.h
9810 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9811 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9813 eval as_val
=\$
$as_ac_Header
9814 if test "x$as_val" = x
""yes; then :
9815 cat >>confdefs.h
<<_ACEOF
9816 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9824 for ac_header
in dlfcn.h
9826 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9828 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
9829 cat >>confdefs.h
<<_ACEOF
9830 #define HAVE_DLFCN_H 1
9850 # Check whether --enable-shared was given.
9851 if test "${enable_shared+set}" = set; then :
9852 enableval
=$enable_shared; p
=${PACKAGE-default}
9854 yes) enable_shared
=yes ;;
9855 no
) enable_shared
=no
;;
9858 # Look at the argument we got. We use all the common list separators.
9859 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9860 for pkg
in $enableval; do
9862 if test "X$pkg" = "X$p"; then
9881 # Check whether --enable-static was given.
9882 if test "${enable_static+set}" = set; then :
9883 enableval
=$enable_static; p
=${PACKAGE-default}
9885 yes) enable_static
=yes ;;
9886 no
) enable_static
=no
;;
9889 # Look at the argument we got. We use all the common list separators.
9890 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9891 for pkg
in $enableval; do
9893 if test "X$pkg" = "X$p"; then
9913 # Check whether --with-pic was given.
9914 if test "${with_pic+set}" = set; then :
9915 withval
=$with_pic; pic_mode
="$withval"
9921 test -z "$pic_mode" && pic_mode
=default
9929 # Check whether --enable-fast-install was given.
9930 if test "${enable_fast_install+set}" = set; then :
9931 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9933 yes) enable_fast_install
=yes ;;
9934 no
) enable_fast_install
=no
;;
9936 enable_fast_install
=no
9937 # Look at the argument we got. We use all the common list separators.
9938 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9939 for pkg
in $enableval; do
9941 if test "X$pkg" = "X$p"; then
9942 enable_fast_install
=yes
9949 enable_fast_install
=yes
9962 # This can be used to rebuild libtool when needed
9963 LIBTOOL_DEPS
="$ltmain"
9965 # Always use our own libtool.
9966 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9993 test -z "$LN_S" && LN_S
="ln -s"
10008 if test -n "${ZSH_VERSION+set}" ; then
10009 setopt NO_GLOB_SUBST
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10013 $as_echo_n "checking for objdir... " >&6; }
10014 if test "${lt_cv_objdir+set}" = set; then :
10015 $as_echo_n "(cached) " >&6
10017 rm -f .libs
2>/dev
/null
10018 mkdir .libs
2>/dev
/null
10019 if test -d .libs
; then
10022 # MS-DOS does not allow filenames that begin with a dot.
10025 rmdir .libs
2>/dev
/null
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10028 $as_echo "$lt_cv_objdir" >&6; }
10029 objdir
=$lt_cv_objdir
10035 cat >>confdefs.h
<<_ACEOF
10036 #define LT_OBJDIR "$lt_cv_objdir/"
10044 # AIX sometimes has problems with the GCC collect2 program. For some
10045 # reason, if we set the COLLECT_NAMES environment variable, the problems
10046 # vanish in a puff of smoke.
10047 if test "X${COLLECT_NAMES+set}" != Xset
; then
10049 export COLLECT_NAMES
10054 # Global variables:
10056 can_build_shared
=yes
10058 # All known linkers require a `.a' archive for static linking (except MSVC,
10059 # which needs '.lib').
10062 with_gnu_ld
="$lt_cv_prog_gnu_ld"
10065 old_CFLAGS
="$CFLAGS"
10067 # Set sane defaults for various variables
10068 test -z "$CC" && CC
=cc
10069 test -z "$LTCC" && LTCC
=$CC
10070 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10071 test -z "$LD" && LD
=ld
10072 test -z "$ac_objext" && ac_objext
=o
10074 for cc_temp
in $compiler""; do
10076 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10077 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10082 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10085 # Only perform the check for file, if the check method requires it
10086 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10087 case $deplibs_check_method in
10089 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10091 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10092 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10093 $as_echo_n "(cached) " >&6
10097 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10100 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10101 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10102 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10103 for ac_dir
in $ac_dummy; do
10105 test -z "$ac_dir" && ac_dir
=.
10106 if test -f $ac_dir/${ac_tool_prefix}file; then
10107 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
10108 if test -n "$file_magic_test_file"; then
10109 case $deplibs_check_method in
10111 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10112 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10113 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10114 $EGREP "$file_magic_regex" > /dev
/null
; then
10119 *** Warning: the command libtool uses to detect shared libraries,
10120 *** $file_magic_cmd, produces output that libtool cannot recognize.
10121 *** The result is that libtool may fail to recognize shared libraries
10122 *** as such. This will affect the creation of libtool libraries that
10123 *** depend on shared libraries, but programs linked with such libtool
10124 *** libraries will work regardless of this problem. Nevertheless, you
10125 *** may want to report the problem to your system manager and/or to
10126 *** bug-libtool@gnu.org
10136 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10141 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10142 if test -n "$MAGIC_CMD"; then
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10144 $as_echo "$MAGIC_CMD" >&6; }
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10147 $as_echo "no" >&6; }
10154 if test -z "$lt_cv_path_MAGIC_CMD"; then
10155 if test -n "$ac_tool_prefix"; then
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10157 $as_echo_n "checking for file... " >&6; }
10158 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10159 $as_echo_n "(cached) " >&6
10163 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10166 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10167 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10168 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10169 for ac_dir
in $ac_dummy; do
10171 test -z "$ac_dir" && ac_dir
=.
10172 if test -f $ac_dir/file; then
10173 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
10174 if test -n "$file_magic_test_file"; then
10175 case $deplibs_check_method in
10177 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10178 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10179 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10180 $EGREP "$file_magic_regex" > /dev
/null
; then
10185 *** Warning: the command libtool uses to detect shared libraries,
10186 *** $file_magic_cmd, produces output that libtool cannot recognize.
10187 *** The result is that libtool may fail to recognize shared libraries
10188 *** as such. This will affect the creation of libtool libraries that
10189 *** depend on shared libraries, but programs linked with such libtool
10190 *** libraries will work regardless of this problem. Nevertheless, you
10191 *** may want to report the problem to your system manager and/or to
10192 *** bug-libtool@gnu.org
10202 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10207 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10208 if test -n "$MAGIC_CMD"; then
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10210 $as_echo "$MAGIC_CMD" >&6; }
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10213 $as_echo "no" >&6; }
10226 # Use C for the default configuration in the libtool script
10230 ac_cpp
='$CPP $CPPFLAGS'
10231 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10232 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10233 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10236 # Source file extension for C test sources.
10239 # Object file extension for compiled C test sources.
10243 # Code to be used in simple compile tests
10244 lt_simple_compile_test_code
="int some_variable = 0;"
10246 # Code to be used in simple link tests
10247 lt_simple_link_test_code
='int main(){return(0);}'
10255 # If no C compiler was specified, use CC.
10258 # If no C compiler flags were specified, use CFLAGS.
10259 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10261 # Allow CC to be a program name with arguments.
10264 # Save the default compiler, since it gets overwritten when the other
10265 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10266 compiler_DEFAULT
=$CC
10268 # save warnings/boilerplate of simple test code
10269 ac_outfile
=conftest.
$ac_objext
10270 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10271 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10272 _lt_compiler_boilerplate
=`cat conftest.err`
10275 ac_outfile
=conftest.
$ac_objext
10276 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10277 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10278 _lt_linker_boilerplate
=`cat conftest.err`
10283 ## There is no encapsulation within the following macros, do not change
10284 ## the running order or otherwise move them around unless you know exactly
10285 ## what you are doing...
10286 if test -n "$compiler"; then
10288 lt_prog_compiler_no_builtin_flag
=
10290 if test "$GCC" = yes; then
10291 case $cc_basename in
10293 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10295 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10299 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10300 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10301 $as_echo_n "(cached) " >&6
10303 lt_cv_prog_compiler_rtti_exceptions
=no
10304 ac_outfile
=conftest.
$ac_objext
10305 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10306 lt_compiler_flag
="-fno-rtti -fno-exceptions"
10307 # Insert the option either (1) after the last *FLAGS variable, or
10308 # (2) before a word containing "conftest.", or (3) at the end.
10309 # Note that $ac_compile itself does not contain backslashes and begins
10310 # with a dollar sign (not a hyphen), so the echo should work correctly.
10311 # The option is referenced via a variable to avoid confusing sed.
10312 lt_compile
=`echo "$ac_compile" | $SED \
10313 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10314 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10315 -e 's:$: $lt_compiler_flag:'`
10316 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10317 (eval "$lt_compile" 2>conftest.err
)
10319 cat conftest.err
>&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 if (exit $ac_status) && test -s "$ac_outfile"; then
10322 # The compiler can only warn and ignore the option if not recognized
10323 # So say no if there are warnings other than the usual output.
10324 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10325 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10326 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10327 lt_cv_prog_compiler_rtti_exceptions
=yes
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10334 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10336 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
10337 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10349 lt_prog_compiler_wl
=
10350 lt_prog_compiler_pic
=
10351 lt_prog_compiler_static
=
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10354 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10356 if test "$GCC" = yes; then
10357 lt_prog_compiler_wl
='-Wl,'
10358 lt_prog_compiler_static
='-static'
10362 # All AIX code is PIC.
10363 if test "$host_cpu" = ia64
; then
10364 # AIX 5 now supports IA64 processor
10365 lt_prog_compiler_static
='-Bstatic'
10372 # see comment about AmigaOS4 .so support
10373 lt_prog_compiler_pic
='-fPIC'
10376 # FIXME: we need at least 68020 code to build shared libraries, but
10377 # adding the `-m68020' flag to GCC prevents building anything better,
10379 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10384 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10385 # PIC is the default for these OSes.
10388 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10389 # This hack is so that the source file can tell whether it is being
10390 # built for inclusion in a dll (and should export symbols for example).
10391 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10392 # (--disable-auto-import) libraries
10393 lt_prog_compiler_pic
='-DDLL_EXPORT'
10396 darwin
* | rhapsody
*)
10397 # PIC is the default on this platform
10398 # Common symbols not allowed in MH_DYLIB files
10399 lt_prog_compiler_pic
='-fno-common'
10403 # PIC is the default for Haiku.
10404 # The "-static" flag exists, but is broken.
10405 lt_prog_compiler_static
=
10409 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10410 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10411 # sets the default TLS model and affects inlining.
10417 lt_prog_compiler_pic
='-fPIC'
10423 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10424 # Instead, we relocate shared libraries at runtime.
10428 # Just because we use GCC doesn't mean we suddenly get shared libraries
10429 # on systems that don't support them.
10430 lt_prog_compiler_can_build_shared
=no
10435 # QNX uses GNU C++, but need to define -shared option too, otherwise
10436 # it will coredump.
10437 lt_prog_compiler_pic
='-fPIC -shared'
10441 if test -d /usr
/nec
; then
10442 lt_prog_compiler_pic
=-Kconform_pic
10447 lt_prog_compiler_pic
='-fPIC'
10451 case $cc_basename in
10452 nvcc
*) # Cuda Compiler Driver 2.2
10453 lt_prog_compiler_wl
='-Xlinker '
10454 lt_prog_compiler_pic
='-Xcompiler -fPIC'
10458 # PORTME Check for flag to pass linker flags through the system compiler.
10461 lt_prog_compiler_wl
='-Wl,'
10462 if test "$host_cpu" = ia64
; then
10463 # AIX 5 now supports IA64 processor
10464 lt_prog_compiler_static
='-Bstatic'
10466 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10470 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10471 # This hack is so that the source file can tell whether it is being
10472 # built for inclusion in a dll (and should export symbols for example).
10473 lt_prog_compiler_pic
='-DDLL_EXPORT'
10476 hpux9
* | hpux10
* | hpux11
*)
10477 lt_prog_compiler_wl
='-Wl,'
10478 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10479 # not for PA HP-UX.
10485 lt_prog_compiler_pic
='+Z'
10488 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10489 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10492 irix5
* | irix6
* | nonstopux
*)
10493 lt_prog_compiler_wl
='-Wl,'
10494 # PIC (with -KPIC) is the default.
10495 lt_prog_compiler_static
='-non_shared'
10498 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10499 case $cc_basename in
10500 # old Intel for x86_64 which still supported -KPIC.
10502 lt_prog_compiler_wl
='-Wl,'
10503 lt_prog_compiler_pic
='-KPIC'
10504 lt_prog_compiler_static
='-static'
10506 # icc used to be incompatible with GCC.
10507 # ICC 10 doesn't accept -KPIC any more.
10509 lt_prog_compiler_wl
='-Wl,'
10510 lt_prog_compiler_pic
='-fPIC'
10511 lt_prog_compiler_static
='-static'
10513 # Lahey Fortran 8.1.
10515 lt_prog_compiler_wl
='-Wl,'
10516 lt_prog_compiler_pic
='--shared'
10517 lt_prog_compiler_static
='--static'
10519 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10520 # Portland Group compilers (*not* the Pentium gcc compiler,
10521 # which looks to be a dead project)
10522 lt_prog_compiler_wl
='-Wl,'
10523 lt_prog_compiler_pic
='-fpic'
10524 lt_prog_compiler_static
='-Bstatic'
10527 lt_prog_compiler_wl
='-Wl,'
10528 # All Alpha code is PIC.
10529 lt_prog_compiler_static
='-non_shared'
10531 xl
* | bgxl
* | bgf
* | mpixl
*)
10532 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10533 lt_prog_compiler_wl
='-Wl,'
10534 lt_prog_compiler_pic
='-qpic'
10535 lt_prog_compiler_static
='-qstaticlink'
10538 case `$CC -V 2>&1 | sed 5q` in
10539 *Sun\ F
* |
*Sun
*Fortran
*)
10540 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10541 lt_prog_compiler_pic
='-KPIC'
10542 lt_prog_compiler_static
='-Bstatic'
10543 lt_prog_compiler_wl
=''
10547 lt_prog_compiler_pic
='-KPIC'
10548 lt_prog_compiler_static
='-Bstatic'
10549 lt_prog_compiler_wl
='-Wl,'
10557 lt_prog_compiler_pic
='-KPIC'
10558 lt_prog_compiler_static
='-Bstatic'
10562 # QNX uses GNU C++, but need to define -shared option too, otherwise
10563 # it will coredump.
10564 lt_prog_compiler_pic
='-fPIC -shared'
10567 osf3
* | osf4
* | osf5
*)
10568 lt_prog_compiler_wl
='-Wl,'
10569 # All OSF/1 code is PIC.
10570 lt_prog_compiler_static
='-non_shared'
10574 lt_prog_compiler_static
='-non_shared'
10578 lt_prog_compiler_pic
='-KPIC'
10579 lt_prog_compiler_static
='-Bstatic'
10580 case $cc_basename in
10581 f77
* | f90
* | f95
*)
10582 lt_prog_compiler_wl
='-Qoption ld ';;
10584 lt_prog_compiler_wl
='-Wl,';;
10589 lt_prog_compiler_wl
='-Qoption ld '
10590 lt_prog_compiler_pic
='-PIC'
10591 lt_prog_compiler_static
='-Bstatic'
10594 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10595 lt_prog_compiler_wl
='-Wl,'
10596 lt_prog_compiler_pic
='-KPIC'
10597 lt_prog_compiler_static
='-Bstatic'
10601 if test -d /usr
/nec
;then
10602 lt_prog_compiler_pic
='-Kconform_pic'
10603 lt_prog_compiler_static
='-Bstatic'
10607 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10608 lt_prog_compiler_wl
='-Wl,'
10609 lt_prog_compiler_pic
='-KPIC'
10610 lt_prog_compiler_static
='-Bstatic'
10614 lt_prog_compiler_wl
='-Wl,'
10615 lt_prog_compiler_can_build_shared
=no
10619 lt_prog_compiler_pic
='-pic'
10620 lt_prog_compiler_static
='-Bstatic'
10624 lt_prog_compiler_can_build_shared
=no
10630 # For platforms which do not support PIC, -DPIC is meaningless:
10632 lt_prog_compiler_pic
=
10635 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10639 $as_echo "$lt_prog_compiler_pic" >&6; }
10647 # Check to make sure the PIC flag actually works.
10649 if test -n "$lt_prog_compiler_pic"; then
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10651 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10652 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10653 $as_echo_n "(cached) " >&6
10655 lt_cv_prog_compiler_pic_works
=no
10656 ac_outfile
=conftest.
$ac_objext
10657 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10658 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10659 # Insert the option either (1) after the last *FLAGS variable, or
10660 # (2) before a word containing "conftest.", or (3) at the end.
10661 # Note that $ac_compile itself does not contain backslashes and begins
10662 # with a dollar sign (not a hyphen), so the echo should work correctly.
10663 # The option is referenced via a variable to avoid confusing sed.
10664 lt_compile
=`echo "$ac_compile" | $SED \
10665 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10666 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10667 -e 's:$: $lt_compiler_flag:'`
10668 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10669 (eval "$lt_compile" 2>conftest.err
)
10671 cat conftest.err
>&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 if (exit $ac_status) && test -s "$ac_outfile"; then
10674 # The compiler can only warn and ignore the option if not recognized
10675 # So say no if there are warnings other than the usual output.
10676 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10677 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10678 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10679 lt_cv_prog_compiler_pic_works
=yes
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10686 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10688 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10689 case $lt_prog_compiler_pic in
10691 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10694 lt_prog_compiler_pic
=
10695 lt_prog_compiler_can_build_shared
=no
10706 # Check to make sure the static flag actually works.
10708 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10710 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10711 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10712 $as_echo_n "(cached) " >&6
10714 lt_cv_prog_compiler_static_works
=no
10715 save_LDFLAGS
="$LDFLAGS"
10716 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10717 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10718 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10719 # The linker can only warn and ignore the option if not recognized
10720 # So say no if there are warnings
10721 if test -s conftest.err
; then
10722 # Append any errors to the config.log.
10723 cat conftest.err
1>&5
10724 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10725 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10726 if diff conftest.exp conftest.er2
>/dev
/null
; then
10727 lt_cv_prog_compiler_static_works
=yes
10730 lt_cv_prog_compiler_static_works
=yes
10734 LDFLAGS
="$save_LDFLAGS"
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10738 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10740 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10743 lt_prog_compiler_static
=
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10753 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10754 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10755 $as_echo_n "(cached) " >&6
10757 lt_cv_prog_compiler_c_o
=no
10758 $RM -r conftest
2>/dev
/null
10762 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10764 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10765 # Insert the option either (1) after the last *FLAGS variable, or
10766 # (2) before a word containing "conftest.", or (3) at the end.
10767 # Note that $ac_compile itself does not contain backslashes and begins
10768 # with a dollar sign (not a hyphen), so the echo should work correctly.
10769 lt_compile
=`echo "$ac_compile" | $SED \
10770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10772 -e 's:$: $lt_compiler_flag:'`
10773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10774 (eval "$lt_compile" 2>out
/conftest.err
)
10776 cat out
/conftest.err
>&5
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10780 # The compiler can only warn and ignore the option if not recognized
10781 # So say no if there are warnings
10782 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10783 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10784 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10785 lt_cv_prog_compiler_c_o
=yes
10790 # SGI C++ compiler will create directory out/ii_files/ for
10791 # template instantiation
10792 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10793 $RM out
/* && rmdir out
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10800 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10808 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10809 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10810 $as_echo_n "(cached) " >&6
10812 lt_cv_prog_compiler_c_o
=no
10813 $RM -r conftest
2>/dev
/null
10817 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10819 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10820 # Insert the option either (1) after the last *FLAGS variable, or
10821 # (2) before a word containing "conftest.", or (3) at the end.
10822 # Note that $ac_compile itself does not contain backslashes and begins
10823 # with a dollar sign (not a hyphen), so the echo should work correctly.
10824 lt_compile
=`echo "$ac_compile" | $SED \
10825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10827 -e 's:$: $lt_compiler_flag:'`
10828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10829 (eval "$lt_compile" 2>out
/conftest.err
)
10831 cat out
/conftest.err
>&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10835 # The compiler can only warn and ignore the option if not recognized
10836 # So say no if there are warnings
10837 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10838 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10839 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10840 lt_cv_prog_compiler_c_o
=yes
10845 # SGI C++ compiler will create directory out/ii_files/ for
10846 # template instantiation
10847 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10848 $RM out
/* && rmdir out
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10855 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10860 hard_links
="nottested"
10861 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10862 # do not overwrite the value of need_locks provided by the user
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10864 $as_echo_n "checking if we can lock with hard links... " >&6; }
10867 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10869 ln conftest.a conftest.b
2>&5 || hard_links
=no
10870 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10872 $as_echo "$hard_links" >&6; }
10873 if test "$hard_links" = no
; then
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10875 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10888 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10891 allow_undefined_flag
=
10892 always_export_symbols
=no
10894 archive_expsym_cmds
=
10895 compiler_needs_object
=no
10896 enable_shared_with_static_runtimes
=no
10897 export_dynamic_flag_spec
=
10898 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10899 hardcode_automatic
=no
10901 hardcode_direct_absolute
=no
10902 hardcode_libdir_flag_spec
=
10903 hardcode_libdir_flag_spec_ld
=
10904 hardcode_libdir_separator
=
10905 hardcode_minus_L
=no
10906 hardcode_shlibpath_var
=unsupported
10908 link_all_deplibs
=unknown
10910 module_expsym_cmds
=
10911 old_archive_from_new_cmds
=
10912 old_archive_from_expsyms_cmds
=
10913 thread_safe_flag_spec
=
10914 whole_archive_flag_spec
=
10915 # include_expsyms should be a list of space-separated symbols to be *always*
10916 # included in the symbol list
10918 # exclude_expsyms can be an extended regexp of symbols to exclude
10919 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10920 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10921 # as well as any symbol that contains `d'.
10922 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10923 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10924 # platforms (ab)use it in PIC code, but their linkers get confused if
10925 # the symbol is explicitly referenced. Since portable code cannot
10926 # rely on this symbol name, it's probably fine to never include it in
10927 # preloaded symbol tables.
10928 # Exclude shared library initialization/finalization symbols.
10929 extract_expsyms_cmds
=
10932 cygwin
* | mingw
* | pw32
* | cegcc
*)
10933 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10934 # When not using gcc, we currently assume that we are using
10935 # Microsoft Visual C++.
10936 if test "$GCC" != yes; then
10941 # we just hope/assume this is gcc and not c89 (= MSVC++)
10951 # On some targets, GNU ld is compatible enough with the native linker
10952 # that we're better off using the native interface for both.
10953 lt_use_gnu_ld_interface
=no
10954 if test "$with_gnu_ld" = yes; then
10957 # The AIX port of GNU ld has always aspired to compatibility
10958 # with the native linker. However, as the warning in the GNU ld
10959 # block says, versions before 2.19.5* couldn't really create working
10960 # shared libraries, regardless of the interface used.
10961 case `$LD -v 2>&1` in
10962 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10963 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10964 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10966 lt_use_gnu_ld_interface
=yes
10971 lt_use_gnu_ld_interface
=yes
10976 if test "$lt_use_gnu_ld_interface" = yes; then
10977 # If archive_cmds runs LD, not CC, wlarc should be empty
10980 # Set some defaults for GNU ld with shared library support. These
10981 # are reset later if shared libraries are not supported. Putting them
10982 # here allows them to be overridden if necessary.
10983 runpath_var
=LD_RUN_PATH
10984 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10985 export_dynamic_flag_spec
='${wl}--export-dynamic'
10986 # ancient GNU ld didn't support --whole-archive et. al.
10987 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10988 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10990 whole_archive_flag_spec
=
10992 supports_anon_versioning
=no
10993 case `$LD -v 2>&1` in
10994 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10995 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10996 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10997 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10998 *\
2.11.
*) ;; # other 2.11 versions
10999 *) supports_anon_versioning
=yes ;;
11002 # See if GNU ld supports shared libraries.
11005 # On AIX/PPC, the GNU linker is very broken
11006 if test "$host_cpu" != ia64
; then
11010 *** Warning: the GNU linker, at least up to release 2.19, is reported
11011 *** to be unable to reliably create shared libraries on AIX.
11012 *** Therefore, libtool is disabling shared libraries support. If you
11013 *** really care for shared libraries, you may want to install binutils
11014 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11015 *** You will then need to restart the configuration process.
11024 # see comment about AmigaOS4 .so support
11025 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11026 archive_expsym_cmds
=''
11029 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)'
11030 hardcode_libdir_flag_spec
='-L$libdir'
11031 hardcode_minus_L
=yes
11037 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11038 allow_undefined_flag
=unsupported
11039 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11040 # support --undefined. This deserves some investigation. FIXME
11041 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11047 cygwin
* | mingw
* | pw32
* | cegcc
*)
11048 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11049 # as there is no search path for DLLs.
11050 hardcode_libdir_flag_spec
='-L$libdir'
11051 export_dynamic_flag_spec
='${wl}--export-all-symbols'
11052 allow_undefined_flag
=unsupported
11053 always_export_symbols
=no
11054 enable_shared_with_static_runtimes
=yes
11055 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11057 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11058 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11059 # If the export-symbols file already is a .def file (1st line
11060 # is EXPORTS), use it as is; otherwise, prepend...
11061 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11062 cp $export_symbols $output_objdir/$soname.def;
11064 echo EXPORTS > $output_objdir/$soname.def;
11065 cat $export_symbols >> $output_objdir/$soname.def;
11067 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11074 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11075 link_all_deplibs
=yes
11080 hardcode_shlibpath_var
=no
11081 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11082 export_dynamic_flag_spec
='${wl}-E'
11083 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11084 # Instead, shared libraries are loaded at an image base (0x10000000 by
11085 # default) and relocated if they conflict, which is a slow very memory
11086 # consuming and fragmenting process. To avoid this, we pick a random,
11087 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11088 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11089 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11090 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'
11093 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11095 if test "$host_os" = linux-dietlibc
; then
11096 case $cc_basename in
11097 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11100 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11101 && test "$tmp_diet" = no
11104 tmp_sharedflag
='-shared'
11105 case $cc_basename,$host_cpu in
11106 pgcc
*) # Portland Group C compiler
11107 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'
11108 tmp_addflag
=' $pic_flag'
11110 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11111 # Portland Group f77 and f90 compilers
11112 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'
11113 tmp_addflag
=' $pic_flag -Mnomain' ;;
11114 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11115 tmp_addflag
=' -i_dynamic' ;;
11116 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11117 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11118 ifc
* | ifort
*) # Intel Fortran compiler
11119 tmp_addflag
=' -nofor_main' ;;
11120 lf95
*) # Lahey Fortran 8.1
11121 whole_archive_flag_spec
=
11122 tmp_sharedflag
='--shared' ;;
11123 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11124 tmp_sharedflag
='-qmkshrobj'
11126 nvcc
*) # Cuda Compiler Driver 2.2
11127 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'
11128 compiler_needs_object
=yes
11131 case `$CC -V 2>&1 | sed 5q` in
11132 *Sun\ C
*) # Sun C 5.9
11133 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'
11134 compiler_needs_object
=yes
11135 tmp_sharedflag
='-G' ;;
11136 *Sun\ F
*) # Sun Fortran 8.3
11137 tmp_sharedflag
='-G' ;;
11139 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11141 if test "x$supports_anon_versioning" = xyes
; then
11142 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11143 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11144 echo "local: *; };" >> $output_objdir/$libname.ver~
11145 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11148 case $cc_basename in
11149 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11150 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11151 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11152 hardcode_libdir_flag_spec
=
11153 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11154 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11155 if test "x$supports_anon_versioning" = xyes
; then
11156 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11157 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11158 echo "local: *; };" >> $output_objdir/$libname.ver~
11159 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11169 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11170 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11174 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11179 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11183 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11184 *** create shared libraries on Solaris systems. Therefore, libtool
11185 *** is disabling shared libraries support. We urge you to upgrade GNU
11186 *** binutils to release 2.9.1 or newer. Another option is to modify
11187 *** your PATH or compiler configuration so that the native linker is
11188 *** used, and then restart.
11191 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11192 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11193 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11199 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11200 case `$LD -v 2>&1` in
11201 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11205 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11206 *** reliably create shared libraries on SCO systems. Therefore, libtool
11207 *** is disabling shared libraries support. We urge you to upgrade GNU
11208 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11209 *** your PATH or compiler configuration so that the native linker is
11210 *** used, and then restart.
11215 # For security reasons, it is highly recommended that you always
11216 # use absolute paths for naming shared libraries, and exclude the
11217 # DT_RUNPATH tag from executables and libraries. But doing so
11218 # requires that you compile everything twice, which is a pain.
11219 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11220 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11221 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11222 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11231 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11233 hardcode_direct
=yes
11234 hardcode_shlibpath_var
=no
11238 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11239 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11240 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11247 if test "$ld_shlibs" = no
; then
11249 hardcode_libdir_flag_spec
=
11250 export_dynamic_flag_spec
=
11251 whole_archive_flag_spec
=
11254 # PORTME fill in a description of your system's linker (not GNU ld)
11257 allow_undefined_flag
=unsupported
11258 always_export_symbols
=yes
11259 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'
11260 # Note: this linker hardcodes the directories in LIBPATH if there
11261 # are no directories specified by -L.
11262 hardcode_minus_L
=yes
11263 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11264 # Neither direct hardcoding nor static linking is supported with a
11266 hardcode_direct
=unsupported
11271 if test "$host_cpu" = ia64
; then
11272 # On IA64, the linker does run time linking by default, so we don't
11273 # have to do anything special.
11274 aix_use_runtimelinking
=no
11275 exp_sym_flag
='-Bexport'
11278 # If we're using GNU nm, then we don't want the "-C" option.
11279 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11280 # Also, AIX nm treats weak defined symbols like other global
11281 # defined symbols, whereas GNU nm marks them as "W".
11282 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11283 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'
11285 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'
11287 aix_use_runtimelinking
=no
11289 # Test if we are trying to use run time linking or normal
11290 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11291 # need to do runtime linking.
11292 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11293 for ld_flag
in $LDFLAGS; do
11294 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11295 aix_use_runtimelinking
=yes
11302 exp_sym_flag
='-bexport'
11303 no_entry_flag
='-bnoentry'
11306 # When large executables or shared objects are built, AIX ld can
11307 # have problems creating the table of contents. If linking a library
11308 # or program results in "error TOC overflow" add -mminimal-toc to
11309 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11310 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11313 hardcode_direct
=yes
11314 hardcode_direct_absolute
=yes
11315 hardcode_libdir_separator
=':'
11316 link_all_deplibs
=yes
11317 file_list_spec
='${wl}-f,'
11319 if test "$GCC" = yes; then
11320 case $host_os in aix4.
[012]|aix4.
[012].
*)
11321 # We only want to do this on AIX 4.2 and lower, the check
11322 # below for broken collect2 doesn't work under 4.3+
11323 collect2name
=`${CC} -print-prog-name=collect2`
11324 if test -f "$collect2name" &&
11325 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11327 # We have reworked collect2
11330 # We have old collect2
11331 hardcode_direct
=unsupported
11332 # It fails to find uninstalled libraries when the uninstalled
11333 # path is not listed in the libpath. Setting hardcode_minus_L
11334 # to unsupported forces relinking
11335 hardcode_minus_L
=yes
11336 hardcode_libdir_flag_spec
='-L$libdir'
11337 hardcode_libdir_separator
=
11341 shared_flag
='-shared'
11342 if test "$aix_use_runtimelinking" = yes; then
11343 shared_flag
="$shared_flag "'${wl}-G'
11347 if test "$host_cpu" = ia64
; then
11348 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11349 # chokes on -Wl,-G. The following line is correct:
11352 if test "$aix_use_runtimelinking" = yes; then
11353 shared_flag
='${wl}-G'
11355 shared_flag
='${wl}-bM:SRE'
11360 export_dynamic_flag_spec
='${wl}-bexpall'
11361 # It seems that -bexpall does not export symbols beginning with
11362 # underscore (_), so it is better to generate a list of symbols to export.
11363 always_export_symbols
=yes
11364 if test "$aix_use_runtimelinking" = yes; then
11365 # Warning - without using the other runtime loading flags (-brtl),
11366 # -berok will link without error, but may produce a broken library.
11367 allow_undefined_flag
='-berok'
11368 # Determine the default libpath from the value encoded in an
11369 # empty executable.
11370 if test x
$gcc_no_link = xyes
; then
11371 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11374 /* end confdefs.h. */
11384 if ac_fn_c_try_link
"$LINENO"; then :
11386 lt_aix_libpath_sed
='
11387 /Import File Strings/,/^$/ {
11393 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11394 # Check for a 64-bit object if we didn't find anything.
11395 if test -z "$aix_libpath"; then
11396 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11399 rm -f core conftest.err conftest.
$ac_objext \
11400 conftest
$ac_exeext conftest.
$ac_ext
11401 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11403 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11404 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"
11406 if test "$host_cpu" = ia64
; then
11407 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11408 allow_undefined_flag
="-z nodefs"
11409 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"
11411 # Determine the default libpath from the value encoded in an
11412 # empty executable.
11413 if test x
$gcc_no_link = xyes
; then
11414 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11427 if ac_fn_c_try_link
"$LINENO"; then :
11429 lt_aix_libpath_sed
='
11430 /Import File Strings/,/^$/ {
11436 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11437 # Check for a 64-bit object if we didn't find anything.
11438 if test -z "$aix_libpath"; then
11439 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11442 rm -f core conftest.err conftest.
$ac_objext \
11443 conftest
$ac_exeext conftest.
$ac_ext
11444 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11446 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11447 # Warning - without using the other run time loading flags,
11448 # -berok will link without error, but may produce a broken library.
11449 no_undefined_flag
=' ${wl}-bernotok'
11450 allow_undefined_flag
=' ${wl}-berok'
11451 if test "$with_gnu_ld" = yes; then
11452 # We only use this code for GNU lds that support --whole-archive.
11453 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11455 # Exported symbols can be pulled into shared objects from archives
11456 whole_archive_flag_spec
='$convenience'
11458 archive_cmds_need_lc
=yes
11459 # This is similar to how AIX traditionally builds its shared libraries.
11460 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'
11468 # see comment about AmigaOS4 .so support
11469 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11470 archive_expsym_cmds
=''
11473 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)'
11474 hardcode_libdir_flag_spec
='-L$libdir'
11475 hardcode_minus_L
=yes
11481 export_dynamic_flag_spec
=-rdynamic
11484 cygwin
* | mingw
* | pw32
* | cegcc
*)
11485 # When not using gcc, we currently assume that we are using
11486 # Microsoft Visual C++.
11487 # hardcode_libdir_flag_spec is actually meaningless, as there is
11488 # no search path for DLLs.
11489 hardcode_libdir_flag_spec
=' '
11490 allow_undefined_flag
=unsupported
11491 # Tell ltmain to make .lib files, not .a files.
11493 # Tell ltmain to make .dll files, not .so files.
11495 # FIXME: Setting linknames here is a bad hack.
11496 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11497 # The linker will automatically build a .lib file if we build a DLL.
11498 old_archive_from_new_cmds
='true'
11499 # FIXME: Should let the user specify the lib program.
11500 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11501 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11502 enable_shared_with_static_runtimes
=yes
11505 darwin
* | rhapsody
*)
11508 archive_cmds_need_lc
=no
11510 hardcode_automatic
=yes
11511 hardcode_shlibpath_var
=unsupported
11512 if test "$lt_cv_ld_force_load" = "yes"; then
11513 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\"`'
11515 whole_archive_flag_spec
=''
11517 link_all_deplibs
=yes
11518 allow_undefined_flag
="$_lt_dar_allow_undefined"
11519 case $cc_basename in
11520 ifort
*) _lt_dar_can_shared
=yes ;;
11521 *) _lt_dar_can_shared
=$GCC ;;
11523 if test "$_lt_dar_can_shared" = "yes"; then
11524 output_verbose_link_cmd
=func_echo_all
11525 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11526 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11527 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}"
11528 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}"
11537 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11538 hardcode_libdir_flag_spec
='-L$libdir'
11539 hardcode_shlibpath_var
=no
11546 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11547 # support. Future versions do this automatically, but an explicit c++rt0.o
11548 # does not break anything, and helps significantly (at the cost of a little
11551 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11552 hardcode_libdir_flag_spec
='-R$libdir'
11553 hardcode_direct
=yes
11554 hardcode_shlibpath_var
=no
11557 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11559 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11560 hardcode_direct
=yes
11561 hardcode_minus_L
=yes
11562 hardcode_shlibpath_var
=no
11565 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11566 freebsd
* | dragonfly
*)
11567 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11568 hardcode_libdir_flag_spec
='-R$libdir'
11569 hardcode_direct
=yes
11570 hardcode_shlibpath_var
=no
11574 if test "$GCC" = yes; then
11575 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'
11577 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'
11579 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11580 hardcode_libdir_separator
=:
11581 hardcode_direct
=yes
11583 # hardcode_minus_L: Not really in the search PATH,
11584 # but as the default location of the library.
11585 hardcode_minus_L
=yes
11586 export_dynamic_flag_spec
='${wl}-E'
11590 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11591 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11593 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11595 if test "$with_gnu_ld" = no
; then
11596 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11597 hardcode_libdir_flag_spec_ld
='+b $libdir'
11598 hardcode_libdir_separator
=:
11599 hardcode_direct
=yes
11600 hardcode_direct_absolute
=yes
11601 export_dynamic_flag_spec
='${wl}-E'
11602 # hardcode_minus_L: Not really in the search PATH,
11603 # but as the default location of the library.
11604 hardcode_minus_L
=yes
11609 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11612 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11615 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11618 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11624 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11627 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11631 # Older versions of the 11.00 compiler do not understand -b yet
11632 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11634 $as_echo_n "checking if $CC understands -b... " >&6; }
11635 if test "${lt_cv_prog_compiler__b+set}" = set; then :
11636 $as_echo_n "(cached) " >&6
11638 lt_cv_prog_compiler__b
=no
11639 save_LDFLAGS
="$LDFLAGS"
11640 LDFLAGS
="$LDFLAGS -b"
11641 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11642 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11643 # The linker can only warn and ignore the option if not recognized
11644 # So say no if there are warnings
11645 if test -s conftest.err
; then
11646 # Append any errors to the config.log.
11647 cat conftest.err
1>&5
11648 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11649 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11650 if diff conftest.exp conftest.er2
>/dev
/null
; then
11651 lt_cv_prog_compiler__b
=yes
11654 lt_cv_prog_compiler__b
=yes
11658 LDFLAGS
="$save_LDFLAGS"
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11662 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11664 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11665 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11667 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11673 if test "$with_gnu_ld" = no
; then
11674 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11675 hardcode_libdir_separator
=:
11680 hardcode_shlibpath_var
=no
11683 hardcode_direct
=yes
11684 hardcode_direct_absolute
=yes
11685 export_dynamic_flag_spec
='${wl}-E'
11687 # hardcode_minus_L: Not really in the search PATH,
11688 # but as the default location of the library.
11689 hardcode_minus_L
=yes
11695 irix5
* | irix6
* | nonstopux
*)
11696 if test "$GCC" = yes; then
11697 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'
11698 # Try to use the -exported_symbol ld option, if it does not
11699 # work, assume that -exports_file does not work either and
11700 # implicitly export all symbols.
11701 save_LDFLAGS
="$LDFLAGS"
11702 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11703 if test x
$gcc_no_link = xyes
; then
11704 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11710 if ac_fn_c_try_link
"$LINENO"; then :
11711 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'
11714 rm -f core conftest.err conftest.
$ac_objext \
11715 conftest
$ac_exeext conftest.
$ac_ext
11716 LDFLAGS
="$save_LDFLAGS"
11718 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'
11719 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'
11721 archive_cmds_need_lc
='no'
11722 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11723 hardcode_libdir_separator
=:
11725 link_all_deplibs
=yes
11729 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11730 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11732 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11734 hardcode_libdir_flag_spec
='-R$libdir'
11735 hardcode_direct
=yes
11736 hardcode_shlibpath_var
=no
11740 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11741 hardcode_direct
=yes
11742 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11743 hardcode_libdir_separator
=:
11744 hardcode_shlibpath_var
=no
11751 if test -f /usr
/libexec
/ld.so
; then
11752 hardcode_direct
=yes
11753 hardcode_shlibpath_var
=no
11754 hardcode_direct_absolute
=yes
11755 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11756 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11757 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11758 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11759 export_dynamic_flag_spec
='${wl}-E'
11762 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11763 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11764 hardcode_libdir_flag_spec
='-R$libdir'
11767 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11768 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11778 hardcode_libdir_flag_spec
='-L$libdir'
11779 hardcode_minus_L
=yes
11780 allow_undefined_flag
=unsupported
11781 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'
11782 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11786 if test "$GCC" = yes; then
11787 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11788 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'
11790 allow_undefined_flag
=' -expect_unresolved \*'
11791 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'
11793 archive_cmds_need_lc
='no'
11794 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11795 hardcode_libdir_separator
=:
11798 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11799 if test "$GCC" = yes; then
11800 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11801 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'
11802 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11804 allow_undefined_flag
=' -expect_unresolved \*'
11805 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'
11806 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~
11807 $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'
11809 # Both c and cxx compiler support -rpath directly
11810 hardcode_libdir_flag_spec
='-rpath $libdir'
11812 archive_cmds_need_lc
='no'
11813 hardcode_libdir_separator
=:
11817 no_undefined_flag
=' -z defs'
11818 if test "$GCC" = yes; then
11820 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11821 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11822 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11824 case `$CC -V 2>&1` in
11827 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11828 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11829 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11833 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11834 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11835 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11839 hardcode_libdir_flag_spec
='-R$libdir'
11840 hardcode_shlibpath_var
=no
11842 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11844 # The compiler driver will combine and reorder linker options,
11845 # but understands `-z linker_flag'. GCC discards it without `$wl',
11846 # but is careful enough not to reorder.
11847 # Supported since Solaris 2.6 (maybe 2.5.1?)
11848 if test "$GCC" = yes; then
11849 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11851 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11855 link_all_deplibs
=yes
11859 if test "x$host_vendor" = xsequent
; then
11860 # Use $CC to link under sequent, because it throws in some extra .o
11861 # files that make .init and .fini sections work.
11862 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11864 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11866 hardcode_libdir_flag_spec
='-L$libdir'
11867 hardcode_direct
=yes
11868 hardcode_minus_L
=yes
11869 hardcode_shlibpath_var
=no
11873 case $host_vendor in
11875 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11876 hardcode_direct
=yes # is this really true???
11879 ## LD is ld it makes a PLAMLIB
11880 ## CC just makes a GrossModule.
11881 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11882 reload_cmds
='$CC -r -o $output$reload_objs'
11886 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11887 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11890 runpath_var
='LD_RUN_PATH'
11891 hardcode_shlibpath_var
=no
11895 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11896 hardcode_shlibpath_var
=no
11897 export_dynamic_flag_spec
='-Bexport'
11901 if test -d /usr
/nec
; then
11902 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11903 hardcode_shlibpath_var
=no
11904 runpath_var
=LD_RUN_PATH
11905 hardcode_runpath_var
=yes
11910 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11911 no_undefined_flag
='${wl}-z,text'
11912 archive_cmds_need_lc
=no
11913 hardcode_shlibpath_var
=no
11914 runpath_var
='LD_RUN_PATH'
11916 if test "$GCC" = yes; then
11917 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11918 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11920 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11921 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11925 sysv5
* | sco3.2v5
* | sco5v6
*)
11926 # Note: We can NOT use -z defs as we might desire, because we do not
11927 # link with -lc, and that would cause any symbols used from libc to
11928 # always be unresolved, which means just about no library would
11929 # ever link correctly. If we're not using GNU ld we use -z text
11930 # though, which does catch some bad symbols but isn't as heavy-handed
11932 no_undefined_flag
='${wl}-z,text'
11933 allow_undefined_flag
='${wl}-z,nodefs'
11934 archive_cmds_need_lc
=no
11935 hardcode_shlibpath_var
=no
11936 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11937 hardcode_libdir_separator
=':'
11938 link_all_deplibs
=yes
11939 export_dynamic_flag_spec
='${wl}-Bexport'
11940 runpath_var
='LD_RUN_PATH'
11942 if test "$GCC" = yes; then
11943 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11944 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11946 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11947 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11952 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11953 hardcode_libdir_flag_spec
='-L$libdir'
11954 hardcode_shlibpath_var
=no
11962 if test x
$host_vendor = xsni
; then
11964 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11965 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11972 $as_echo "$ld_shlibs" >&6; }
11973 test "$ld_shlibs" = no
&& can_build_shared
=no
11975 with_gnu_ld
=$with_gnu_ld
11992 # Do we need to explicitly link libc?
11994 case "x$archive_cmds_need_lc" in
11996 # Assume -lc should be added
11997 archive_cmds_need_lc
=yes
11999 if test "$enable_shared" = yes && test "$GCC" = yes; then
12000 case $archive_cmds in
12002 # FIXME: we may have to deal with multi-command sequences.
12005 # Test whether the compiler implicitly links with -lc since on some
12006 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12007 # to ld, don't add -lc before -lgcc.
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12009 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12010 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
12011 $as_echo_n "(cached) " >&6
12014 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12017 (eval $ac_compile) 2>&5
12019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12020 test $ac_status = 0; } 2>conftest.err
; then
12023 libobjs
=conftest.
$ac_objext
12025 wl
=$lt_prog_compiler_wl
12026 pic_flag
=$lt_prog_compiler_pic
12032 lt_save_allow_undefined_flag
=$allow_undefined_flag
12033 allow_undefined_flag
=
12034 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12035 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12038 test $ac_status = 0; }
12040 lt_cv_archive_cmds_need_lc
=no
12042 lt_cv_archive_cmds_need_lc
=yes
12044 allow_undefined_flag
=$lt_save_allow_undefined_flag
12046 cat conftest.err
1>&5
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12052 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12053 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12217 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12219 if test "$GCC" = yes; then
12221 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12222 *) lt_awk_arg
="/^libraries:/" ;;
12225 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
12226 *) lt_sed_strip_eq
="s,=/,/,g" ;;
12228 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12229 case $lt_search_path_spec in
12231 # if the path contains ";" then we assume it to be the separator
12232 # otherwise default to the standard path separator (i.e. ":") - it is
12233 # assumed that no part of a normal pathname contains ";" but that should
12234 # okay in the real world where ";" in dirpaths is itself problematic.
12235 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12238 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12241 # Ok, now we have the path, separated by spaces, we can step through it
12242 # and add multilib dir if necessary.
12243 lt_tmp_lt_search_path_spec
=
12244 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12245 for lt_sys_path
in $lt_search_path_spec; do
12246 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12247 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12249 test -d "$lt_sys_path" && \
12250 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12253 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12254 BEGIN {RS=" "; FS="/|\n";} {
12257 for (lt_i = NF; lt_i > 0; lt_i--) {
12258 if ($lt_i != "" && $lt_i != ".") {
12259 if ($lt_i == "..") {
12262 if (lt_count == 0) {
12263 lt_foo="/" $lt_i lt_foo;
12270 if (lt_foo != "") { lt_freq[lt_foo]++; }
12271 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12273 # AWK program above erroneously prepends '/' to C:/dos/paths
12276 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12277 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12279 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12281 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12283 library_names_spec
=
12284 libname_spec
='lib$name'
12288 postuninstall_cmds
=
12292 shlibpath_overrides_runpath
=unknown
12294 dynamic_linker
="$host_os ld.so"
12295 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12296 need_lib_prefix
=unknown
12297 hardcode_into_libs
=no
12299 # when you set need_version to no, make sure it does not cause -set_version
12300 # flags to be left without arguments
12301 need_version
=unknown
12306 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12307 shlibpath_var
=LIBPATH
12309 # AIX 3 has no versioning support, so we append a major version to the name.
12310 soname_spec
='${libname}${release}${shared_ext}$major'
12317 hardcode_into_libs
=yes
12318 if test "$host_cpu" = ia64
; then
12319 # AIX 5 supports IA64
12320 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12321 shlibpath_var
=LD_LIBRARY_PATH
12323 # With GCC up to 2.95.x, collect2 would create an import file
12324 # for dependence libraries. The import file would start with
12325 # the line `#! .'. This would cause the generated library to
12326 # depend on `.', always an invalid library. This was fixed in
12327 # development snapshots of GCC prior to 3.0.
12329 aix4 | aix4.
[01] | aix4.
[01].
*)
12330 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12332 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12335 can_build_shared
=no
12339 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12340 # soname into executable. Probably we can add versioning support to
12341 # collect2, so additional links can be useful in future.
12342 if test "$aix_use_runtimelinking" = yes; then
12343 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12344 # instead of lib<name>.a to let people know that these are not
12345 # typical AIX shared libraries.
12346 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12348 # We preserve .a as extension for shared libraries through AIX4.2
12349 # and later when we are not doing run time linking.
12350 library_names_spec
='${libname}${release}.a $libname.a'
12351 soname_spec
='${libname}${release}${shared_ext}$major'
12353 shlibpath_var
=LIBPATH
12360 # Since July 2007 AmigaOS4 officially supports .so libraries.
12361 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12365 library_names_spec
='$libname.ixlibrary $libname.a'
12366 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12367 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'
12373 library_names_spec
='${libname}${shared_ext}'
12374 dynamic_linker
="$host_os ld.so"
12375 shlibpath_var
=LIBRARY_PATH
12381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12382 soname_spec
='${libname}${release}${shared_ext}$major'
12383 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12384 shlibpath_var
=LD_LIBRARY_PATH
12385 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12386 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12387 # the default ld.so.conf also contains /usr/contrib/lib and
12388 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12389 # libtool to hard-code these into programs
12392 cygwin
* | mingw
* | pw32
* | cegcc
*)
12393 version_type
=windows
12398 case $GCC,$host_os in
12399 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
12400 library_names_spec
='$libname.dll.a'
12401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12402 postinstall_cmds
='base_file=`basename \${file}`~
12403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12404 dldir=$destdir/`dirname \$dlpath`~
12405 test -d \$dldir || mkdir -p \$dldir~
12406 $install_prog $dir/$dlname \$dldir/$dlname~
12407 chmod a+x \$dldir/$dlname~
12408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12411 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12412 dlpath=$dir/\$dldll~
12414 shlibpath_overrides_runpath
=yes
12418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12419 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12421 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12424 # MinGW DLLs use traditional 'lib' prefix
12425 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12428 # pw32 DLLs use 'pw' prefix rather than 'lib'
12429 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12435 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12438 dynamic_linker
='Win32 ld.exe'
12439 # FIXME: first we should search . and the directory the executable is in
12443 darwin
* | rhapsody
*)
12444 dynamic_linker
="$host_os dyld"
12445 version_type
=darwin
12448 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12449 soname_spec
='${libname}${release}${major}$shared_ext'
12450 shlibpath_overrides_runpath
=yes
12451 shlibpath_var
=DYLD_LIBRARY_PATH
12452 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12454 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12455 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12463 soname_spec
='${libname}${release}${shared_ext}$major'
12464 shlibpath_var
=LD_LIBRARY_PATH
12471 freebsd
* | dragonfly
*)
12472 # DragonFly does not have aout. When/if they implement a new
12473 # versioning mechanism, adjust this.
12474 if test -x /usr
/bin
/objformat
; then
12475 objformat
=`/usr/bin/objformat`
12478 freebsd
[123]*) objformat
=aout
;;
12479 *) objformat
=elf
;;
12482 version_type
=freebsd-
$objformat
12483 case $version_type in
12485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12490 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12494 shlibpath_var
=LD_LIBRARY_PATH
12497 shlibpath_overrides_runpath
=yes
12499 freebsd3.
[01]* | freebsdelf3.
[01]*)
12500 shlibpath_overrides_runpath
=yes
12501 hardcode_into_libs
=yes
12503 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12504 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12505 shlibpath_overrides_runpath
=no
12506 hardcode_into_libs
=yes
12508 *) # from 4.6 on, and DragonFly
12509 shlibpath_overrides_runpath
=yes
12510 hardcode_into_libs
=yes
12519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12520 soname_spec
='${libname}${release}${shared_ext}$major'
12521 shlibpath_var
=LD_LIBRARY_PATH
12522 hardcode_into_libs
=yes
12529 dynamic_linker
="$host_os runtime_loader"
12530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12531 soname_spec
='${libname}${release}${shared_ext}$major'
12532 shlibpath_var
=LIBRARY_PATH
12533 shlibpath_overrides_runpath
=yes
12534 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
12535 hardcode_into_libs
=yes
12538 hpux9
* | hpux10
* | hpux11
*)
12539 # Give a soname corresponding to the major version so that dld.sl refuses to
12540 # link against other versions.
12547 hardcode_into_libs
=yes
12548 dynamic_linker
="$host_os dld.so"
12549 shlibpath_var
=LD_LIBRARY_PATH
12550 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12552 soname_spec
='${libname}${release}${shared_ext}$major'
12553 if test "X$HPUX_IA64_MODE" = X32
; then
12554 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12556 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12558 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12562 hardcode_into_libs
=yes
12563 dynamic_linker
="$host_os dld.sl"
12564 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12565 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12567 soname_spec
='${libname}${release}${shared_ext}$major'
12568 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12569 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12573 dynamic_linker
="$host_os dld.sl"
12574 shlibpath_var
=SHLIB_PATH
12575 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12577 soname_spec
='${libname}${release}${shared_ext}$major'
12580 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12581 postinstall_cmds
='chmod 555 $lib'
12582 # or fails outright, so override atomically:
12583 install_override_mode
=555
12590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12591 soname_spec
='${libname}${release}${shared_ext}$major'
12592 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12593 shlibpath_var
=LD_LIBRARY_PATH
12594 shlibpath_overrides_runpath
=no
12595 hardcode_into_libs
=yes
12598 irix5
* | irix6
* | nonstopux
*)
12600 nonstopux
*) version_type
=nonstopux
;;
12602 if test "$lt_cv_prog_gnu_ld" = yes; then
12610 soname_spec
='${libname}${release}${shared_ext}$major'
12611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12613 irix5
* | nonstopux
*)
12614 libsuff
= shlibsuff
=
12617 case $LD in # libtool.m4 will add one of these switches to LD
12618 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12619 libsuff
= shlibsuff
= libmagic
=32-bit;;
12620 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12621 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12622 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12623 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12624 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12628 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12629 shlibpath_overrides_runpath
=no
12630 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12631 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12632 hardcode_into_libs
=yes
12635 # No shared lib support for Linux oldld, aout, or coff.
12636 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12640 # This must be Linux ELF.
12641 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12645 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12646 soname_spec
='${libname}${release}${shared_ext}$major'
12647 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12648 shlibpath_var
=LD_LIBRARY_PATH
12649 shlibpath_overrides_runpath
=no
12651 # Some binutils ld are patched to set DT_RUNPATH
12652 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
12653 $as_echo_n "(cached) " >&6
12655 lt_cv_shlibpath_overrides_runpath
=no
12656 save_LDFLAGS
=$LDFLAGS
12657 save_libdir
=$libdir
12658 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12659 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12660 if test x
$gcc_no_link = xyes
; then
12661 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12664 /* end confdefs.h. */
12674 if ac_fn_c_try_link
"$LINENO"; then :
12675 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12676 lt_cv_shlibpath_overrides_runpath
=yes
12679 rm -f core conftest.err conftest.
$ac_objext \
12680 conftest
$ac_exeext conftest.
$ac_ext
12681 LDFLAGS
=$save_LDFLAGS
12682 libdir
=$save_libdir
12686 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12688 # This implies no fast_install, which is unacceptable.
12689 # Some rework will be needed to allow for fast_install
12690 # before this can be enabled.
12691 hardcode_into_libs
=yes
12693 # Append ld.so.conf contents to the search path
12694 if test -f /etc
/ld.so.conf
; then
12695 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' ' '`
12696 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12699 # We used to test for /lib/ld.so.1 and disable shared libraries on
12700 # powerpc, because MkLinux only supported shared libraries with the
12701 # GNU dynamic linker. Since this was broken with cross compilers,
12702 # most powerpc-linux boxes support dynamic linking these days and
12703 # people can always --disable-shared, the test was removed, and we
12704 # assume the GNU/Linux dynamic linker is in use.
12705 dynamic_linker
='GNU/Linux ld.so'
12712 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12714 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12715 dynamic_linker
='NetBSD (a.out) ld.so'
12717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12718 soname_spec
='${libname}${release}${shared_ext}$major'
12719 dynamic_linker
='NetBSD ld.elf_so'
12721 shlibpath_var
=LD_LIBRARY_PATH
12722 shlibpath_overrides_runpath
=yes
12723 hardcode_into_libs
=yes
12728 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12729 shlibpath_var
=LD_LIBRARY_PATH
12730 shlibpath_overrides_runpath
=yes
12737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12738 soname_spec
='${libname}${release}${shared_ext}$major'
12739 shlibpath_var
=LD_LIBRARY_PATH
12740 shlibpath_overrides_runpath
=no
12741 hardcode_into_libs
=yes
12742 dynamic_linker
='ldqnx.so'
12747 sys_lib_dlsearch_path_spec
="/usr/lib"
12749 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12751 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12752 *) need_version
=no
;;
12754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12755 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12756 shlibpath_var
=LD_LIBRARY_PATH
12757 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12759 openbsd2.
[89] | openbsd2.
[89].
*)
12760 shlibpath_overrides_runpath
=no
12763 shlibpath_overrides_runpath
=yes
12767 shlibpath_overrides_runpath
=yes
12772 libname_spec
='$name'
12775 library_names_spec
='$libname${shared_ext} $libname.a'
12776 dynamic_linker
='OS/2 ld.exe'
12777 shlibpath_var
=LIBPATH
12780 osf3
* | osf4
* | osf5
*)
12784 soname_spec
='${libname}${release}${shared_ext}$major'
12785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12786 shlibpath_var
=LD_LIBRARY_PATH
12787 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12788 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12800 soname_spec
='${libname}${release}${shared_ext}$major'
12801 shlibpath_var
=LD_LIBRARY_PATH
12802 shlibpath_overrides_runpath
=yes
12803 hardcode_into_libs
=yes
12804 # ldd complains unless libraries are executable
12805 postinstall_cmds
='chmod +x $lib'
12810 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12811 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12812 shlibpath_var
=LD_LIBRARY_PATH
12813 shlibpath_overrides_runpath
=yes
12814 if test "$with_gnu_ld" = yes; then
12822 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12823 soname_spec
='${libname}${release}${shared_ext}$major'
12824 shlibpath_var
=LD_LIBRARY_PATH
12825 case $host_vendor in
12827 shlibpath_overrides_runpath
=no
12829 runpath_var
=LD_RUN_PATH
12837 shlibpath_overrides_runpath
=no
12838 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12844 if test -d /usr
/nec
;then
12846 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12847 soname_spec
='$libname${shared_ext}.$major'
12848 shlibpath_var
=LD_LIBRARY_PATH
12852 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12853 version_type
=freebsd-elf
12856 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12857 soname_spec
='${libname}${release}${shared_ext}$major'
12858 shlibpath_var
=LD_LIBRARY_PATH
12859 shlibpath_overrides_runpath
=yes
12860 hardcode_into_libs
=yes
12861 if test "$with_gnu_ld" = yes; then
12862 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12864 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12867 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12871 sys_lib_dlsearch_path_spec
='/usr/lib'
12875 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12879 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12880 shlibpath_var
=LD_LIBRARY_PATH
12881 shlibpath_overrides_runpath
=no
12882 hardcode_into_libs
=yes
12887 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12888 soname_spec
='${libname}${release}${shared_ext}$major'
12889 shlibpath_var
=LD_LIBRARY_PATH
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12897 $as_echo "$dynamic_linker" >&6; }
12898 test "$dynamic_linker" = no
&& can_build_shared
=no
12900 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12901 if test "$GCC" = yes; then
12902 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12905 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12906 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12908 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12909 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13004 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13006 if test -n "$hardcode_libdir_flag_spec" ||
13007 test -n "$runpath_var" ||
13008 test "X$hardcode_automatic" = "Xyes" ; then
13010 # We can hardcode non-existent directories.
13011 if test "$hardcode_direct" != no
&&
13012 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13013 # have to relink, otherwise we might link with an installed library
13014 # when we should be linking with a yet-to-be-installed one
13015 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13016 test "$hardcode_minus_L" != no
; then
13017 # Linking always hardcodes the temporary library directory.
13018 hardcode_action
=relink
13020 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13021 hardcode_action
=immediate
13024 # We cannot hardcode anything, or else we can only hardcode existing
13026 hardcode_action
=unsupported
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13029 $as_echo "$hardcode_action" >&6; }
13031 if test "$hardcode_action" = relink ||
13032 test "$inherit_rpath" = yes; then
13033 # Fast installation is not supported
13034 enable_fast_install
=no
13035 elif test "$shlibpath_overrides_runpath" = yes ||
13036 test "$enable_shared" = no
; then
13037 # Fast installation is not necessary
13038 enable_fast_install
=needless
13046 if test "x$enable_dlopen" != xyes
; then
13047 enable_dlopen
=unknown
13048 enable_dlopen_self
=unknown
13049 enable_dlopen_self_static
=unknown
13056 lt_cv_dlopen
="load_add_on"
13058 lt_cv_dlopen_self
=yes
13061 mingw
* | pw32
* | cegcc
*)
13062 lt_cv_dlopen
="LoadLibrary"
13067 lt_cv_dlopen
="dlopen"
13072 # if libdl is installed we need to link against it
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13074 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13075 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13076 $as_echo_n "(cached) " >&6
13078 ac_check_lib_save_LIBS
=$LIBS
13080 if test x
$gcc_no_link = xyes
; then
13081 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13086 /* Override any GCC internal prototype to avoid an error.
13087 Use char because int might match the return type of a GCC
13088 builtin and then its argument prototype would still apply. */
13101 if ac_fn_c_try_link
"$LINENO"; then :
13102 ac_cv_lib_dl_dlopen
=yes
13104 ac_cv_lib_dl_dlopen
=no
13106 rm -f core conftest.err conftest.
$ac_objext \
13107 conftest
$ac_exeext conftest.
$ac_ext
13108 LIBS
=$ac_check_lib_save_LIBS
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13111 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13112 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13113 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13116 lt_cv_dlopen
="dyld"
13118 lt_cv_dlopen_self
=yes
13125 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13126 if test "x$ac_cv_func_shl_load" = x
""yes; then :
13127 lt_cv_dlopen
="shl_load"
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13130 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13131 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13132 $as_echo_n "(cached) " >&6
13134 ac_check_lib_save_LIBS
=$LIBS
13136 if test x
$gcc_no_link = xyes
; then
13137 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13140 /* end confdefs.h. */
13142 /* Override any GCC internal prototype to avoid an error.
13143 Use char because int might match the return type of a GCC
13144 builtin and then its argument prototype would still apply. */
13152 return shl_load ();
13157 if ac_fn_c_try_link
"$LINENO"; then :
13158 ac_cv_lib_dld_shl_load
=yes
13160 ac_cv_lib_dld_shl_load
=no
13162 rm -f core conftest.err conftest.
$ac_objext \
13163 conftest
$ac_exeext conftest.
$ac_ext
13164 LIBS
=$ac_check_lib_save_LIBS
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13167 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13168 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
13169 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13171 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13172 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13173 lt_cv_dlopen
="dlopen"
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13176 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13177 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13178 $as_echo_n "(cached) " >&6
13180 ac_check_lib_save_LIBS
=$LIBS
13182 if test x
$gcc_no_link = xyes
; then
13183 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13188 /* Override any GCC internal prototype to avoid an error.
13189 Use char because int might match the return type of a GCC
13190 builtin and then its argument prototype would still apply. */
13203 if ac_fn_c_try_link
"$LINENO"; then :
13204 ac_cv_lib_dl_dlopen
=yes
13206 ac_cv_lib_dl_dlopen
=no
13208 rm -f core conftest.err conftest.
$ac_objext \
13209 conftest
$ac_exeext conftest.
$ac_ext
13210 LIBS
=$ac_check_lib_save_LIBS
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13213 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13214 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13215 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13218 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13219 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13220 $as_echo_n "(cached) " >&6
13222 ac_check_lib_save_LIBS
=$LIBS
13223 LIBS
="-lsvld $LIBS"
13224 if test x
$gcc_no_link = xyes
; then
13225 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13228 /* end confdefs.h. */
13230 /* Override any GCC internal prototype to avoid an error.
13231 Use char because int might match the return type of a GCC
13232 builtin and then its argument prototype would still apply. */
13245 if ac_fn_c_try_link
"$LINENO"; then :
13246 ac_cv_lib_svld_dlopen
=yes
13248 ac_cv_lib_svld_dlopen
=no
13250 rm -f core conftest.err conftest.
$ac_objext \
13251 conftest
$ac_exeext conftest.
$ac_ext
13252 LIBS
=$ac_check_lib_save_LIBS
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13255 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13256 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
13257 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13260 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13261 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13262 $as_echo_n "(cached) " >&6
13264 ac_check_lib_save_LIBS
=$LIBS
13266 if test x
$gcc_no_link = xyes
; then
13267 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 /* Override any GCC internal prototype to avoid an error.
13273 Use char because int might match the return type of a GCC
13274 builtin and then its argument prototype would still apply. */
13282 return dld_link ();
13287 if ac_fn_c_try_link
"$LINENO"; then :
13288 ac_cv_lib_dld_dld_link
=yes
13290 ac_cv_lib_dld_dld_link
=no
13292 rm -f core conftest.err conftest.
$ac_objext \
13293 conftest
$ac_exeext conftest.
$ac_ext
13294 LIBS
=$ac_check_lib_save_LIBS
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13297 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13298 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
13299 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13320 if test "x$lt_cv_dlopen" != xno
; then
13326 case $lt_cv_dlopen in
13328 save_CPPFLAGS
="$CPPFLAGS"
13329 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13331 save_LDFLAGS
="$LDFLAGS"
13332 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13335 LIBS
="$lt_cv_dlopen_libs $LIBS"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13338 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13339 if test "${lt_cv_dlopen_self+set}" = set; then :
13340 $as_echo_n "(cached) " >&6
13342 if test "$cross_compiling" = yes; then :
13343 lt_cv_dlopen_self
=cross
13345 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13346 lt_status
=$lt_dlunknown
13347 cat > conftest.
$ac_ext <<_LT_EOF
13348 #line 13348 "configure"
13349 #include "confdefs.h"
13358 # define LT_DLGLOBAL RTLD_GLOBAL
13361 # define LT_DLGLOBAL DL_GLOBAL
13363 # define LT_DLGLOBAL 0
13367 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13368 find out it does not work in some platform. */
13369 #ifndef LT_DLLAZY_OR_NOW
13371 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13374 # define LT_DLLAZY_OR_NOW DL_LAZY
13377 # define LT_DLLAZY_OR_NOW RTLD_NOW
13380 # define LT_DLLAZY_OR_NOW DL_NOW
13382 # define LT_DLLAZY_OR_NOW 0
13389 /* When -fvisbility=hidden is used, assume the code has been annotated
13390 correspondingly for the symbols needed. */
13391 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13392 void fnord () __attribute__((visibility("default")));
13395 void fnord () { int i=42; }
13398 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13399 int status = $lt_dlunknown;
13403 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13406 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13407 else puts (dlerror ());
13409 /* dlclose (self); */
13417 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13418 (eval $ac_link) 2>&5
13420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13421 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13422 (.
/conftest
; exit; ) >&5 2>/dev
/null
13424 case x
$lt_status in
13425 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13426 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13427 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13430 # compilation failed
13431 lt_cv_dlopen_self
=no
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13439 $as_echo "$lt_cv_dlopen_self" >&6; }
13441 if test "x$lt_cv_dlopen_self" = xyes
; then
13442 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13444 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13445 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13446 $as_echo_n "(cached) " >&6
13448 if test "$cross_compiling" = yes; then :
13449 lt_cv_dlopen_self_static
=cross
13451 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13452 lt_status
=$lt_dlunknown
13453 cat > conftest.
$ac_ext <<_LT_EOF
13454 #line 13454 "configure"
13455 #include "confdefs.h"
13464 # define LT_DLGLOBAL RTLD_GLOBAL
13467 # define LT_DLGLOBAL DL_GLOBAL
13469 # define LT_DLGLOBAL 0
13473 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13474 find out it does not work in some platform. */
13475 #ifndef LT_DLLAZY_OR_NOW
13477 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13480 # define LT_DLLAZY_OR_NOW DL_LAZY
13483 # define LT_DLLAZY_OR_NOW RTLD_NOW
13486 # define LT_DLLAZY_OR_NOW DL_NOW
13488 # define LT_DLLAZY_OR_NOW 0
13495 /* When -fvisbility=hidden is used, assume the code has been annotated
13496 correspondingly for the symbols needed. */
13497 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13498 void fnord () __attribute__((visibility("default")));
13501 void fnord () { int i=42; }
13504 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13505 int status = $lt_dlunknown;
13509 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13512 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13513 else puts (dlerror ());
13515 /* dlclose (self); */
13523 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13524 (eval $ac_link) 2>&5
13526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13527 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13528 (.
/conftest
; exit; ) >&5 2>/dev
/null
13530 case x
$lt_status in
13531 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13532 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13533 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13536 # compilation failed
13537 lt_cv_dlopen_self_static
=no
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13545 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13548 CPPFLAGS
="$save_CPPFLAGS"
13549 LDFLAGS
="$save_LDFLAGS"
13554 case $lt_cv_dlopen_self in
13555 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13556 *) enable_dlopen_self
=unknown
;;
13559 case $lt_cv_dlopen_self_static in
13560 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13561 *) enable_dlopen_self_static
=unknown
;;
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13584 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13585 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13586 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13587 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13589 $as_echo "yes" >&6; }
13591 # FIXME - insert some real tests, host_os isn't really good enough
13594 if test -n "$STRIP" ; then
13595 striplib
="$STRIP -x"
13596 old_striplib
="$STRIP -S"
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13598 $as_echo "yes" >&6; }
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13601 $as_echo "no" >&6; }
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13606 $as_echo "no" >&6; }
13622 # Report which library types will actually be built
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13624 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13626 $as_echo "$can_build_shared" >&6; }
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13629 $as_echo_n "checking whether to build shared libraries... " >&6; }
13630 test "$can_build_shared" = "no" && enable_shared
=no
13632 # On AIX, shared libraries and static libraries use the same namespace, and
13633 # are all built from PIC.
13636 test "$enable_shared" = yes && enable_static
=no
13637 if test -n "$RANLIB"; then
13638 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13639 postinstall_cmds
='$RANLIB $lib'
13644 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13645 test "$enable_shared" = yes && enable_static
=no
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13650 $as_echo "$enable_shared" >&6; }
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13653 $as_echo_n "checking whether to build static libraries... " >&6; }
13654 # Make sure either enable_shared or enable_static is yes.
13655 test "$enable_shared" = yes || enable_static
=yes
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13657 $as_echo "$enable_static" >&6; }
13664 ac_cpp
='$CPP $CPPFLAGS'
13665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13671 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13672 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13673 (test "X$CXX" != "Xg++"))) ; then
13675 ac_cpp
='$CXXCPP $CPPFLAGS'
13676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13680 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13681 if test -z "$CXXCPP"; then
13682 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13683 $as_echo_n "(cached) " >&6
13685 # Double quotes because CXXCPP needs to be expanded
13686 for CXXCPP
in "$CXX -E" "/lib/cpp"
13688 ac_preproc_ok
=false
13689 for ac_cxx_preproc_warn_flag
in '' yes
13691 # Use a header file that comes with gcc, so configuring glibc
13692 # with a fresh cross-compiler works.
13693 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13694 # <limits.h> exists even on freestanding compilers.
13695 # On the NeXT, cc -E runs the code through the compiler's parser,
13696 # not just through cpp. "Syntax error" is here to catch this case.
13697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 # include <limits.h>
13702 # include <assert.h>
13706 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13709 # Broken: fails on valid input.
13712 rm -f conftest.err conftest.
$ac_ext
13714 # OK, works on sane cases. Now check whether nonexistent headers
13715 # can be detected and how.
13716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13717 /* end confdefs.h. */
13718 #include <ac_nonexistent.h>
13720 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13721 # Broken: success on invalid input.
13724 # Passes both tests.
13728 rm -f conftest.err conftest.
$ac_ext
13731 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13732 rm -f conftest.err conftest.
$ac_ext
13733 if $ac_preproc_ok; then :
13738 ac_cv_prog_CXXCPP
=$CXXCPP
13741 CXXCPP
=$ac_cv_prog_CXXCPP
13743 ac_cv_prog_CXXCPP
=$CXXCPP
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13746 $as_echo "$CXXCPP" >&6; }
13747 ac_preproc_ok
=false
13748 for ac_cxx_preproc_warn_flag
in '' yes
13750 # Use a header file that comes with gcc, so configuring glibc
13751 # with a fresh cross-compiler works.
13752 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13753 # <limits.h> exists even on freestanding compilers.
13754 # On the NeXT, cc -E runs the code through the compiler's parser,
13755 # not just through cpp. "Syntax error" is here to catch this case.
13756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13757 /* end confdefs.h. */
13759 # include <limits.h>
13761 # include <assert.h>
13765 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13768 # Broken: fails on valid input.
13771 rm -f conftest.err conftest.
$ac_ext
13773 # OK, works on sane cases. Now check whether nonexistent headers
13774 # can be detected and how.
13775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13777 #include <ac_nonexistent.h>
13779 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13780 # Broken: success on invalid input.
13783 # Passes both tests.
13787 rm -f conftest.err conftest.
$ac_ext
13790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13791 rm -f conftest.err conftest.
$ac_ext
13792 if $ac_preproc_ok; then :
13795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13797 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13798 See \`config.log' for more details." "$LINENO" 5; }
13802 ac_cpp
='$CPP $CPPFLAGS'
13803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13808 _lt_caught_CXX_error
=yes
13812 ac_cpp
='$CXXCPP $CPPFLAGS'
13813 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13814 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13815 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13817 archive_cmds_need_lc_CXX
=no
13818 allow_undefined_flag_CXX
=
13819 always_export_symbols_CXX
=no
13820 archive_expsym_cmds_CXX
=
13821 compiler_needs_object_CXX
=no
13822 export_dynamic_flag_spec_CXX
=
13823 hardcode_direct_CXX
=no
13824 hardcode_direct_absolute_CXX
=no
13825 hardcode_libdir_flag_spec_CXX
=
13826 hardcode_libdir_flag_spec_ld_CXX
=
13827 hardcode_libdir_separator_CXX
=
13828 hardcode_minus_L_CXX
=no
13829 hardcode_shlibpath_var_CXX
=unsupported
13830 hardcode_automatic_CXX
=no
13831 inherit_rpath_CXX
=no
13833 module_expsym_cmds_CXX
=
13834 link_all_deplibs_CXX
=unknown
13835 old_archive_cmds_CXX
=$old_archive_cmds
13836 reload_flag_CXX
=$reload_flag
13837 reload_cmds_CXX
=$reload_cmds
13838 no_undefined_flag_CXX
=
13839 whole_archive_flag_spec_CXX
=
13840 enable_shared_with_static_runtimes_CXX
=no
13842 # Source file extension for C++ test sources.
13845 # Object file extension for compiled C++ test sources.
13849 # No sense in running all these tests if we already determined that
13850 # the CXX compiler isn't working. Some variables (like enable_shared)
13851 # are currently assumed to apply to all compilers on this platform,
13852 # and will be corrupted by setting them based on a non-working compiler.
13853 if test "$_lt_caught_CXX_error" != yes; then
13854 # Code to be used in simple compile tests
13855 lt_simple_compile_test_code
="int some_variable = 0;"
13857 # Code to be used in simple link tests
13858 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13860 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13867 # If no C compiler was specified, use CC.
13870 # If no C compiler flags were specified, use CFLAGS.
13871 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13873 # Allow CC to be a program name with arguments.
13877 # save warnings/boilerplate of simple test code
13878 ac_outfile
=conftest.
$ac_objext
13879 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13880 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13881 _lt_compiler_boilerplate
=`cat conftest.err`
13884 ac_outfile
=conftest.
$ac_objext
13885 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13886 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13887 _lt_linker_boilerplate
=`cat conftest.err`
13891 # Allow CC to be a program name with arguments.
13896 lt_save_with_gnu_ld
=$with_gnu_ld
13897 lt_save_path_LD
=$lt_cv_path_LD
13898 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13899 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13901 $as_unset lt_cv_prog_gnu_ld
13903 if test -n "${lt_cv_path_LDCXX+set}"; then
13904 lt_cv_path_LD
=$lt_cv_path_LDCXX
13906 $as_unset lt_cv_path_LD
13908 test -z "${LDCXX+set}" || LD
=$LDCXX
13912 for cc_temp
in $compiler""; do
13914 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13915 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13920 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13923 if test -n "$compiler"; then
13924 # We don't want -fno-exception when compiling C++ code, so set the
13925 # no_builtin_flag separately
13926 if test "$GXX" = yes; then
13927 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13929 lt_prog_compiler_no_builtin_flag_CXX
=
13932 if test "$GXX" = yes; then
13933 # Set up default GNU C++ configuration
13937 # Check whether --with-gnu-ld was given.
13938 if test "${with_gnu_ld+set}" = set; then :
13939 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13945 if test "$GCC" = yes; then
13946 # Check if gcc -print-prog-name=ld gives a path.
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13948 $as_echo_n "checking for ld used by $CC... " >&6; }
13951 # gcc leaves a trailing carriage return which upsets mingw
13952 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13954 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13957 # Accept absolute paths.
13959 re_direlt
='/[^/][^/]*/\.\./'
13960 # Canonicalize the pathname of ld
13961 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13962 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13963 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13965 test -z "$LD" && LD
="$ac_prog"
13968 # If it fails, then pretend we aren't using GCC.
13972 # If it is relative, then search for the first ld in PATH.
13973 with_gnu_ld
=unknown
13976 elif test "$with_gnu_ld" = yes; then
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13978 $as_echo_n "checking for GNU ld... " >&6; }
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13981 $as_echo_n "checking for non-GNU ld... " >&6; }
13983 if test "${lt_cv_path_LD+set}" = set; then :
13984 $as_echo_n "(cached) " >&6
13986 if test -z "$LD"; then
13987 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13988 for ac_dir
in $PATH; do
13990 test -z "$ac_dir" && ac_dir
=.
13991 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13992 lt_cv_path_LD
="$ac_dir/$ac_prog"
13993 # Check to see if the program is GNU ld. I'd rather use --version,
13994 # but apparently some variants of GNU ld only accept -v.
13995 # Break only if it was the GNU/non-GNU ld that we prefer.
13996 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13997 *GNU
* |
*'with BFD'*)
13998 test "$with_gnu_ld" != no
&& break
14001 test "$with_gnu_ld" != yes && break
14008 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14012 LD
="$lt_cv_path_LD"
14013 if test -n "$LD"; then
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14015 $as_echo "$LD" >&6; }
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14018 $as_echo "no" >&6; }
14020 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14022 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14023 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14024 $as_echo_n "(cached) " >&6
14026 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14027 case `$LD -v 2>&1 </dev/null` in
14028 *GNU
* |
*'with BFD'*)
14029 lt_cv_prog_gnu_ld
=yes
14032 lt_cv_prog_gnu_ld
=no
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14037 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14038 with_gnu_ld
=$lt_cv_prog_gnu_ld
14046 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14047 # archiving commands below assume that GNU ld is being used.
14048 if test "$with_gnu_ld" = yes; then
14049 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14050 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'
14052 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14053 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14055 # If archive_cmds runs LD, not CC, wlarc should be empty
14056 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14057 # investigate it a little bit more. (MM)
14060 # ancient GNU ld didn't support --whole-archive et. al.
14061 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14062 $GREP 'no-whole-archive' > /dev
/null
; then
14063 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14065 whole_archive_flag_spec_CXX
=
14071 # A generic and very simple default shared library creation
14072 # command for GNU C++ for the case where it uses the native
14073 # linker, instead of GNU ld. If possible, this setting should
14074 # overridden to take advantage of the native linker features on
14075 # the platform it is being used on.
14076 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14079 # Commands to make compiler produce verbose output that lists
14080 # what "hidden" libraries, object files and flags are used when
14081 # linking a shared library.
14082 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14090 # PORTME: fill in a description of your system's C++ link characteristics
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14092 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14096 # FIXME: insert proper C++ library support
14100 if test "$host_cpu" = ia64
; then
14101 # On IA64, the linker does run time linking by default, so we don't
14102 # have to do anything special.
14103 aix_use_runtimelinking
=no
14104 exp_sym_flag
='-Bexport'
14107 aix_use_runtimelinking
=no
14109 # Test if we are trying to use run time linking or normal
14110 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14111 # need to do runtime linking.
14112 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14113 for ld_flag
in $LDFLAGS; do
14116 aix_use_runtimelinking
=yes
14124 exp_sym_flag
='-bexport'
14125 no_entry_flag
='-bnoentry'
14128 # When large executables or shared objects are built, AIX ld can
14129 # have problems creating the table of contents. If linking a library
14130 # or program results in "error TOC overflow" add -mminimal-toc to
14131 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14132 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14134 archive_cmds_CXX
=''
14135 hardcode_direct_CXX
=yes
14136 hardcode_direct_absolute_CXX
=yes
14137 hardcode_libdir_separator_CXX
=':'
14138 link_all_deplibs_CXX
=yes
14139 file_list_spec_CXX
='${wl}-f,'
14141 if test "$GXX" = yes; then
14142 case $host_os in aix4.
[012]|aix4.
[012].
*)
14143 # We only want to do this on AIX 4.2 and lower, the check
14144 # below for broken collect2 doesn't work under 4.3+
14145 collect2name
=`${CC} -print-prog-name=collect2`
14146 if test -f "$collect2name" &&
14147 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14149 # We have reworked collect2
14152 # We have old collect2
14153 hardcode_direct_CXX
=unsupported
14154 # It fails to find uninstalled libraries when the uninstalled
14155 # path is not listed in the libpath. Setting hardcode_minus_L
14156 # to unsupported forces relinking
14157 hardcode_minus_L_CXX
=yes
14158 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14159 hardcode_libdir_separator_CXX
=
14162 shared_flag
='-shared'
14163 if test "$aix_use_runtimelinking" = yes; then
14164 shared_flag
="$shared_flag "'${wl}-G'
14168 if test "$host_cpu" = ia64
; then
14169 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14170 # chokes on -Wl,-G. The following line is correct:
14173 if test "$aix_use_runtimelinking" = yes; then
14174 shared_flag
='${wl}-G'
14176 shared_flag
='${wl}-bM:SRE'
14181 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14182 # It seems that -bexpall does not export symbols beginning with
14183 # underscore (_), so it is better to generate a list of symbols to
14185 always_export_symbols_CXX
=yes
14186 if test "$aix_use_runtimelinking" = yes; then
14187 # Warning - without using the other runtime loading flags (-brtl),
14188 # -berok will link without error, but may produce a broken library.
14189 allow_undefined_flag_CXX
='-berok'
14190 # Determine the default libpath from the value encoded in an empty
14192 if test x
$gcc_no_link = xyes
; then
14193 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14206 if ac_fn_cxx_try_link
"$LINENO"; then :
14208 lt_aix_libpath_sed
='
14209 /Import File Strings/,/^$/ {
14215 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14216 # Check for a 64-bit object if we didn't find anything.
14217 if test -z "$aix_libpath"; then
14218 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14221 rm -f core conftest.err conftest.
$ac_objext \
14222 conftest
$ac_exeext conftest.
$ac_ext
14223 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14225 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14227 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"
14229 if test "$host_cpu" = ia64
; then
14230 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14231 allow_undefined_flag_CXX
="-z nodefs"
14232 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"
14234 # Determine the default libpath from the value encoded in an
14235 # empty executable.
14236 if test x
$gcc_no_link = xyes
; then
14237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14240 /* end confdefs.h. */
14250 if ac_fn_cxx_try_link
"$LINENO"; then :
14252 lt_aix_libpath_sed
='
14253 /Import File Strings/,/^$/ {
14259 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14260 # Check for a 64-bit object if we didn't find anything.
14261 if test -z "$aix_libpath"; then
14262 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14265 rm -f core conftest.err conftest.
$ac_objext \
14266 conftest
$ac_exeext conftest.
$ac_ext
14267 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14269 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14270 # Warning - without using the other run time loading flags,
14271 # -berok will link without error, but may produce a broken library.
14272 no_undefined_flag_CXX
=' ${wl}-bernotok'
14273 allow_undefined_flag_CXX
=' ${wl}-berok'
14274 if test "$with_gnu_ld" = yes; then
14275 # We only use this code for GNU lds that support --whole-archive.
14276 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14278 # Exported symbols can be pulled into shared objects from archives
14279 whole_archive_flag_spec_CXX
='$convenience'
14281 archive_cmds_need_lc_CXX
=yes
14282 # This is similar to how AIX traditionally builds its shared
14284 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'
14290 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14291 allow_undefined_flag_CXX
=unsupported
14292 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14293 # support --undefined. This deserves some investigation. FIXME
14294 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14301 case $cc_basename in
14303 # FIXME: insert proper C++ library support
14309 cygwin
* | mingw
* | pw32
* | cegcc
*)
14310 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14311 # as there is no search path for DLLs.
14312 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14313 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14314 allow_undefined_flag_CXX
=unsupported
14315 always_export_symbols_CXX
=no
14316 enable_shared_with_static_runtimes_CXX
=yes
14318 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14319 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'
14320 # If the export-symbols file already is a .def file (1st line
14321 # is EXPORTS), use it as is; otherwise, prepend...
14322 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14323 cp $export_symbols $output_objdir/$soname.def;
14325 echo EXPORTS > $output_objdir/$soname.def;
14326 cat $export_symbols >> $output_objdir/$soname.def;
14328 $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'
14333 darwin
* | rhapsody
*)
14336 archive_cmds_need_lc_CXX
=no
14337 hardcode_direct_CXX
=no
14338 hardcode_automatic_CXX
=yes
14339 hardcode_shlibpath_var_CXX
=unsupported
14340 if test "$lt_cv_ld_force_load" = "yes"; then
14341 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\"`'
14343 whole_archive_flag_spec_CXX
=''
14345 link_all_deplibs_CXX
=yes
14346 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14347 case $cc_basename in
14348 ifort
*) _lt_dar_can_shared
=yes ;;
14349 *) _lt_dar_can_shared
=$GCC ;;
14351 if test "$_lt_dar_can_shared" = "yes"; then
14352 output_verbose_link_cmd
=func_echo_all
14353 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}"
14354 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14355 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}"
14356 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}"
14357 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14358 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}"
14359 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}"
14369 case $cc_basename in
14371 # FIXME: insert proper C++ library support
14375 # Green Hills C++ Compiler
14376 # FIXME: insert proper C++ library support
14380 # FIXME: insert proper C++ library support
14387 # C++ shared libraries reported to be fairly broken before
14393 archive_cmds_need_lc_CXX
=no
14396 freebsd
* | dragonfly
*)
14397 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14406 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14407 link_all_deplibs_CXX
=yes
14411 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14412 hardcode_libdir_separator_CXX
=:
14413 export_dynamic_flag_spec_CXX
='${wl}-E'
14414 hardcode_direct_CXX
=yes
14415 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14416 # but as the default
14417 # location of the library.
14419 case $cc_basename in
14421 # FIXME: insert proper C++ library support
14425 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'
14426 # Commands to make compiler produce verbose output that lists
14427 # what "hidden" libraries, object files and flags are used when
14428 # linking a shared library.
14430 # There doesn't appear to be a way to prevent this compiler from
14431 # explicitly linking system object files so we need to strip them
14432 # from the output so that they don't get included in the library
14434 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"'
14437 if test "$GXX" = yes; then
14438 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'
14440 # FIXME: insert proper C++ library support
14448 if test $with_gnu_ld = no
; then
14449 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14450 hardcode_libdir_separator_CXX
=:
14456 export_dynamic_flag_spec_CXX
='${wl}-E'
14462 hardcode_direct_CXX
=no
14463 hardcode_shlibpath_var_CXX
=no
14466 hardcode_direct_CXX
=yes
14467 hardcode_direct_absolute_CXX
=yes
14468 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14469 # but as the default
14470 # location of the library.
14474 case $cc_basename in
14476 # FIXME: insert proper C++ library support
14482 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14485 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14488 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14491 # Commands to make compiler produce verbose output that lists
14492 # what "hidden" libraries, object files and flags are used when
14493 # linking a shared library.
14495 # There doesn't appear to be a way to prevent this compiler from
14496 # explicitly linking system object files so we need to strip them
14497 # from the output so that they don't get included in the library
14499 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"'
14502 if test "$GXX" = yes; then
14503 if test $with_gnu_ld = no
; then
14506 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14509 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14512 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'
14517 # FIXME: insert proper C++ library support
14525 hardcode_direct_CXX
=no
14526 hardcode_shlibpath_var_CXX
=no
14527 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14528 export_dynamic_flag_spec_CXX
='${wl}-E'
14529 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14530 # Instead, shared libraries are loaded at an image base (0x10000000 by
14531 # default) and relocated if they conflict, which is a slow very memory
14532 # consuming and fragmenting process. To avoid this, we pick a random,
14533 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14534 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14535 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'
14536 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'
14539 case $cc_basename in
14542 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'
14544 # Archives containing C++ object files must be created using
14545 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14546 # necessary to make sure instantiated templates are included
14548 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14551 if test "$GXX" = yes; then
14552 if test "$with_gnu_ld" = no
; then
14553 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'
14555 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'
14558 link_all_deplibs_CXX
=yes
14561 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14562 hardcode_libdir_separator_CXX
=:
14563 inherit_rpath_CXX
=yes
14566 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14567 case $cc_basename in
14569 # Kuck and Associates, Inc. (KAI) C++ Compiler
14571 # KCC will only create a shared library if the output file
14572 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14573 # to its proper name (with version) after linking.
14574 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'
14575 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'
14576 # Commands to make compiler produce verbose output that lists
14577 # what "hidden" libraries, object files and flags are used when
14578 # linking a shared library.
14580 # There doesn't appear to be a way to prevent this compiler from
14581 # explicitly linking system object files so we need to strip them
14582 # from the output so that they don't get included in the library
14584 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"'
14586 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14587 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14589 # Archives containing C++ object files must be created using
14590 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14591 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14596 # version 8.0 and above of icpc choke on multiply defined symbols
14597 # if we add $predep_objects and $postdep_objects, however 7.1 and
14598 # earlier do not add the objects themselves.
14599 case `$CC -V 2>&1` in
14601 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14602 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'
14604 *) # Version 8.0 or newer
14607 ia64
*) tmp_idyn
=' -i_dynamic';;
14609 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14610 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'
14613 archive_cmds_need_lc_CXX
=no
14614 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14615 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14616 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14619 # Portland Group C++ compiler
14621 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14622 prelink_cmds_CXX
='tpldir=Template.dir~
14624 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14625 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14626 old_archive_cmds_CXX
='tpldir=Template.dir~
14628 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14629 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14631 archive_cmds_CXX
='tpldir=Template.dir~
14633 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14634 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14635 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14637 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14638 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
14640 *) # Version 6 and above use weak symbols
14641 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14642 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'
14646 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14647 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14648 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'
14652 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14653 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'
14655 runpath_var
=LD_RUN_PATH
14656 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14657 hardcode_libdir_separator_CXX
=:
14659 # Commands to make compiler produce verbose output that lists
14660 # what "hidden" libraries, object files and flags are used when
14661 # linking a shared library.
14663 # There doesn't appear to be a way to prevent this compiler from
14664 # explicitly linking system object files so we need to strip them
14665 # from the output so that they don't get included in the library
14667 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'
14669 xl
* | mpixl
* | bgxl
*)
14670 # IBM XL 8.0 on PPC, with GNU ld
14671 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14672 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14673 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14674 if test "x$supports_anon_versioning" = xyes
; then
14675 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14676 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14677 echo "local: *; };" >> $output_objdir/$libname.ver~
14678 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14682 case `$CC -V 2>&1 | sed 5q` in
14685 no_undefined_flag_CXX
=' -zdefs'
14686 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14687 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'
14688 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14689 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'
14690 compiler_needs_object_CXX
=yes
14692 # Not sure whether something based on
14693 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14695 output_verbose_link_cmd
='func_echo_all'
14697 # Archives containing C++ object files must be created using
14698 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14699 # necessary to make sure instantiated templates are included
14701 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14709 # FIXME: insert proper C++ library support
14714 # FIXME: insert proper C++ library support
14719 case $cc_basename in
14721 # FIXME: insert proper C++ library support
14725 # FIXME: insert proper C++ library support
14732 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14733 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14735 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14736 hardcode_direct_CXX
=yes
14737 hardcode_shlibpath_var_CXX
=no
14739 # Workaround some broken pre-1.5 toolchains
14740 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14748 # C++ shared libraries are fairly broken
14753 if test -f /usr
/libexec
/ld.so
; then
14754 hardcode_direct_CXX
=yes
14755 hardcode_shlibpath_var_CXX
=no
14756 hardcode_direct_absolute_CXX
=yes
14757 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14758 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14759 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14760 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14761 export_dynamic_flag_spec_CXX
='${wl}-E'
14762 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14764 output_verbose_link_cmd
=func_echo_all
14770 osf3
* | osf4
* | osf5
*)
14771 case $cc_basename in
14773 # Kuck and Associates, Inc. (KAI) C++ Compiler
14775 # KCC will only create a shared library if the output file
14776 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14777 # to its proper name (with version) after linking.
14778 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'
14780 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14781 hardcode_libdir_separator_CXX
=:
14783 # Archives containing C++ object files must be created using
14784 # the KAI C++ compiler.
14786 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14787 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14791 # Rational C++ 2.4.1
14792 # FIXME: insert proper C++ library support
14798 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14799 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'
14800 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14803 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14804 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'
14805 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14806 echo "-hidden">> $lib.exp~
14807 $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~
14809 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14813 hardcode_libdir_separator_CXX
=:
14815 # Commands to make compiler produce verbose output that lists
14816 # what "hidden" libraries, object files and flags are used when
14817 # linking a shared library.
14819 # There doesn't appear to be a way to prevent this compiler from
14820 # explicitly linking system object files so we need to strip them
14821 # from the output so that they don't get included in the library
14823 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"'
14826 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14827 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14830 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'
14833 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'
14837 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14838 hardcode_libdir_separator_CXX
=:
14840 # Commands to make compiler produce verbose output that lists
14841 # what "hidden" libraries, object files and flags are used when
14842 # linking a shared library.
14843 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14846 # FIXME: insert proper C++ library support
14854 # FIXME: insert proper C++ library support
14859 case $cc_basename in
14862 # FIXME: insert proper C++ library support
14867 # FIXME: insert proper C++ library support
14871 # FIXME: insert proper C++ library support
14878 case $cc_basename in
14880 # Sun C++ 4.2, 5.x and Centerline C++
14881 archive_cmds_need_lc_CXX
=yes
14882 no_undefined_flag_CXX
=' -zdefs'
14883 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14884 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14885 $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'
14887 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14888 hardcode_shlibpath_var_CXX
=no
14890 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14892 # The compiler driver will combine and reorder linker options,
14893 # but understands `-z linker_flag'.
14894 # Supported since Solaris 2.6 (maybe 2.5.1?)
14895 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14898 link_all_deplibs_CXX
=yes
14900 output_verbose_link_cmd
='func_echo_all'
14902 # Archives containing C++ object files must be created using
14903 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14904 # necessary to make sure instantiated templates are included
14906 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14909 # Green Hills C++ Compiler
14910 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14912 # The C++ compiler must be used to create the archive.
14913 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14916 # GNU C++ compiler with Solaris linker
14917 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14918 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14919 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14920 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14921 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14922 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14924 # Commands to make compiler produce verbose output that lists
14925 # what "hidden" libraries, object files and flags are used when
14926 # linking a shared library.
14927 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14929 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14931 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14932 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14933 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14935 # Commands to make compiler produce verbose output that lists
14936 # what "hidden" libraries, object files and flags are used when
14937 # linking a shared library.
14938 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14941 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14943 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14945 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14953 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14954 no_undefined_flag_CXX
='${wl}-z,text'
14955 archive_cmds_need_lc_CXX
=no
14956 hardcode_shlibpath_var_CXX
=no
14957 runpath_var
='LD_RUN_PATH'
14959 case $cc_basename in
14961 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14962 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14965 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14966 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14971 sysv5
* | sco3.2v5
* | sco5v6
*)
14972 # Note: We can NOT use -z defs as we might desire, because we do not
14973 # link with -lc, and that would cause any symbols used from libc to
14974 # always be unresolved, which means just about no library would
14975 # ever link correctly. If we're not using GNU ld we use -z text
14976 # though, which does catch some bad symbols but isn't as heavy-handed
14978 no_undefined_flag_CXX
='${wl}-z,text'
14979 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14980 archive_cmds_need_lc_CXX
=no
14981 hardcode_shlibpath_var_CXX
=no
14982 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14983 hardcode_libdir_separator_CXX
=':'
14984 link_all_deplibs_CXX
=yes
14985 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14986 runpath_var
='LD_RUN_PATH'
14988 case $cc_basename in
14990 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14991 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14992 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
14993 '"$old_archive_cmds_CXX"
14994 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
14995 '"$reload_cmds_CXX"
14998 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14999 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15005 case $cc_basename in
15007 # NonStop-UX NCC 3.20
15008 # FIXME: insert proper C++ library support
15012 # FIXME: insert proper C++ library support
15019 # FIXME: insert proper C++ library support
15024 # FIXME: insert proper C++ library support
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15030 $as_echo "$ld_shlibs_CXX" >&6; }
15031 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15037 ## There is no encapsulation within the following macros, do not change
15038 ## the running order or otherwise move them around unless you know exactly
15039 ## what you are doing...
15040 # Dependencies to place before and after the object being linked:
15041 predep_objects_CXX
=
15042 postdep_objects_CXX
=
15045 compiler_lib_search_path_CXX
=
15047 cat > conftest.
$ac_ext <<_LT_EOF
15051 Foo (void) { a = 0; }
15057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15058 (eval $ac_compile) 2>&5
15060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15061 test $ac_status = 0; }; then
15062 # Parse the compiler output and extract the necessary
15063 # objects, libraries and library flags.
15065 # Sentinel used to keep track of whether or not we are before
15066 # the conftest object file.
15067 pre_test_object_deps_done
=no
15069 for p
in `eval "$output_verbose_link_cmd"`; do
15073 # Some compilers place space between "-{L,R}" and the path.
15074 # Remove the space.
15075 if test $p = "-L" ||
15076 test $p = "-R"; then
15083 if test "$pre_test_object_deps_done" = no
; then
15086 # Internal compiler library paths should come after those
15087 # provided the user. The postdeps already come after the
15088 # user supplied libs so there is no need to process them.
15089 if test -z "$compiler_lib_search_path_CXX"; then
15090 compiler_lib_search_path_CXX
="${prev}${p}"
15092 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15095 # The "-l" case would never come before the object being
15096 # linked, so don't bother handling this case.
15099 if test -z "$postdeps_CXX"; then
15100 postdeps_CXX
="${prev}${p}"
15102 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15108 # This assumes that the test object file only shows up
15109 # once in the compiler output.
15110 if test "$p" = "conftest.$objext"; then
15111 pre_test_object_deps_done
=yes
15115 if test "$pre_test_object_deps_done" = no
; then
15116 if test -z "$predep_objects_CXX"; then
15117 predep_objects_CXX
="$p"
15119 predep_objects_CXX
="$predep_objects_CXX $p"
15122 if test -z "$postdep_objects_CXX"; then
15123 postdep_objects_CXX
="$p"
15125 postdep_objects_CXX
="$postdep_objects_CXX $p"
15130 *) ;; # Ignore the rest.
15138 echo "libtool.m4: error: problem compiling CXX test program"
15141 $RM -f confest.
$objext
15143 # PORTME: override above test on systems where it is broken
15146 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15147 # hack all around it, let's just trust "g++" to DTRT.
15148 predep_objects_CXX
=
15149 postdep_objects_CXX
=
15154 case `$CC -V 2>&1 | sed 5q` in
15158 # The more standards-conforming stlport4 library is
15159 # incompatible with the Cstd library. Avoid specifying
15160 # it if it's in CXXFLAGS. Ignore libCrun as
15161 # -library=stlport4 depends on it.
15162 case " $CXX $CXXFLAGS " in
15163 *" -library=stlport4 "*)
15164 solaris_use_stlport4
=yes
15168 if test "$solaris_use_stlport4" != yes; then
15169 postdeps_CXX
='-library=Cstd -library=Crun'
15176 case $cc_basename in
15178 # The more standards-conforming stlport4 library is
15179 # incompatible with the Cstd library. Avoid specifying
15180 # it if it's in CXXFLAGS. Ignore libCrun as
15181 # -library=stlport4 depends on it.
15182 case " $CXX $CXXFLAGS " in
15183 *" -library=stlport4 "*)
15184 solaris_use_stlport4
=yes
15188 # Adding this requires a known-good setup of shared libraries for
15189 # Sun compiler versions before 5.6, else PIC objects from an old
15190 # archive will be linked into the output, leading to subtle bugs.
15191 if test "$solaris_use_stlport4" != yes; then
15192 postdeps_CXX
='-library=Cstd -library=Crun'
15200 case " $postdeps_CXX " in
15201 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15203 compiler_lib_search_dirs_CXX
=
15204 if test -n "${compiler_lib_search_path_CXX}"; then
15205 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15238 lt_prog_compiler_wl_CXX
=
15239 lt_prog_compiler_pic_CXX
=
15240 lt_prog_compiler_static_CXX
=
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15243 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15245 # C++ specific cases for pic, static, wl, etc.
15246 if test "$GXX" = yes; then
15247 lt_prog_compiler_wl_CXX
='-Wl,'
15248 lt_prog_compiler_static_CXX
='-static'
15252 # All AIX code is PIC.
15253 if test "$host_cpu" = ia64
; then
15254 # AIX 5 now supports IA64 processor
15255 lt_prog_compiler_static_CXX
='-Bstatic'
15262 # see comment about AmigaOS4 .so support
15263 lt_prog_compiler_pic_CXX
='-fPIC'
15266 # FIXME: we need at least 68020 code to build shared libraries, but
15267 # adding the `-m68020' flag to GCC prevents building anything better,
15269 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15274 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15275 # PIC is the default for these OSes.
15277 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15278 # This hack is so that the source file can tell whether it is being
15279 # built for inclusion in a dll (and should export symbols for example).
15280 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15281 # (--disable-auto-import) libraries
15282 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15284 darwin
* | rhapsody
*)
15285 # PIC is the default on this platform
15286 # Common symbols not allowed in MH_DYLIB files
15287 lt_prog_compiler_pic_CXX
='-fno-common'
15290 # DJGPP does not support shared libraries at all
15291 lt_prog_compiler_pic_CXX
=
15294 # PIC is the default for Haiku.
15295 # The "-static" flag exists, but is broken.
15296 lt_prog_compiler_static_CXX
=
15299 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15300 # Instead, we relocate shared libraries at runtime.
15303 if test -d /usr
/nec
; then
15304 lt_prog_compiler_pic_CXX
=-Kconform_pic
15308 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15309 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15310 # sets the default TLS model and affects inlining.
15315 lt_prog_compiler_pic_CXX
='-fPIC'
15320 # QNX uses GNU C++, but need to define -shared option too, otherwise
15321 # it will coredump.
15322 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15325 lt_prog_compiler_pic_CXX
='-fPIC'
15331 # All AIX code is PIC.
15332 if test "$host_cpu" = ia64
; then
15333 # AIX 5 now supports IA64 processor
15334 lt_prog_compiler_static_CXX
='-Bstatic'
15336 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15340 case $cc_basename in
15342 # Green Hills C++ Compiler
15343 # _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"
15348 case $cc_basename in
15350 lt_prog_compiler_pic_CXX
='-KPIC'
15353 # Green Hills C++ Compiler
15354 lt_prog_compiler_pic_CXX
='-pic'
15360 freebsd
* | dragonfly
*)
15361 # FreeBSD uses GNU C++
15363 hpux9
* | hpux10
* | hpux11
*)
15364 case $cc_basename in
15366 lt_prog_compiler_wl_CXX
='-Wl,'
15367 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15368 if test "$host_cpu" != ia64
; then
15369 lt_prog_compiler_pic_CXX
='+Z'
15373 lt_prog_compiler_wl_CXX
='-Wl,'
15374 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15380 lt_prog_compiler_pic_CXX
='+Z'
15389 # This is c89, which is MS Visual C++ (no shared libs)
15390 # Anyone wants to do a port?
15392 irix5
* | irix6
* | nonstopux
*)
15393 case $cc_basename in
15395 lt_prog_compiler_wl_CXX
='-Wl,'
15396 lt_prog_compiler_static_CXX
='-non_shared'
15397 # CC pic flag -KPIC is the default.
15403 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15404 case $cc_basename in
15407 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15408 lt_prog_compiler_pic_CXX
='-fPIC'
15411 # old Intel C++ for x86_64 which still supported -KPIC.
15412 lt_prog_compiler_wl_CXX
='-Wl,'
15413 lt_prog_compiler_pic_CXX
='-KPIC'
15414 lt_prog_compiler_static_CXX
='-static'
15417 # Intel C++, used to be incompatible with GCC.
15418 # ICC 10 doesn't accept -KPIC any more.
15419 lt_prog_compiler_wl_CXX
='-Wl,'
15420 lt_prog_compiler_pic_CXX
='-fPIC'
15421 lt_prog_compiler_static_CXX
='-static'
15424 # Portland Group C++ compiler
15425 lt_prog_compiler_wl_CXX
='-Wl,'
15426 lt_prog_compiler_pic_CXX
='-fpic'
15427 lt_prog_compiler_static_CXX
='-Bstatic'
15431 # Make sure the PIC flag is empty. It appears that all Alpha
15432 # Linux and Compaq Tru64 Unix objects are PIC.
15433 lt_prog_compiler_pic_CXX
=
15434 lt_prog_compiler_static_CXX
='-non_shared'
15436 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15437 # IBM XL 8.0, 9.0 on PPC and BlueGene
15438 lt_prog_compiler_wl_CXX
='-Wl,'
15439 lt_prog_compiler_pic_CXX
='-qpic'
15440 lt_prog_compiler_static_CXX
='-qstaticlink'
15443 case `$CC -V 2>&1 | sed 5q` in
15446 lt_prog_compiler_pic_CXX
='-KPIC'
15447 lt_prog_compiler_static_CXX
='-Bstatic'
15448 lt_prog_compiler_wl_CXX
='-Qoption ld '
15459 case $cc_basename in
15461 lt_prog_compiler_pic_CXX
='-W c,exportall'
15470 # QNX uses GNU C++, but need to define -shared option too, otherwise
15471 # it will coredump.
15472 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15474 osf3
* | osf4
* | osf5
*)
15475 case $cc_basename in
15477 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15480 # Rational C++ 2.4.1
15481 lt_prog_compiler_pic_CXX
='-pic'
15484 # Digital/Compaq C++
15485 lt_prog_compiler_wl_CXX
='-Wl,'
15486 # Make sure the PIC flag is empty. It appears that all Alpha
15487 # Linux and Compaq Tru64 Unix objects are PIC.
15488 lt_prog_compiler_pic_CXX
=
15489 lt_prog_compiler_static_CXX
='-non_shared'
15498 case $cc_basename in
15500 # Sun C++ 4.2, 5.x and Centerline C++
15501 lt_prog_compiler_pic_CXX
='-KPIC'
15502 lt_prog_compiler_static_CXX
='-Bstatic'
15503 lt_prog_compiler_wl_CXX
='-Qoption ld '
15506 # Green Hills C++ Compiler
15507 lt_prog_compiler_pic_CXX
='-PIC'
15514 case $cc_basename in
15517 lt_prog_compiler_pic_CXX
='-pic'
15518 lt_prog_compiler_static_CXX
='-Bstatic'
15522 lt_prog_compiler_pic_CXX
='-pic'
15528 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15529 case $cc_basename in
15531 lt_prog_compiler_wl_CXX
='-Wl,'
15532 lt_prog_compiler_pic_CXX
='-KPIC'
15533 lt_prog_compiler_static_CXX
='-Bstatic'
15538 case $cc_basename in
15540 # NonStop-UX NCC 3.20
15541 lt_prog_compiler_pic_CXX
='-KPIC'
15550 lt_prog_compiler_can_build_shared_CXX
=no
15556 # For platforms which do not support PIC, -DPIC is meaningless:
15558 lt_prog_compiler_pic_CXX
=
15561 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15565 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15570 # Check to make sure the PIC flag actually works.
15572 if test -n "$lt_prog_compiler_pic_CXX"; then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15574 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15575 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15576 $as_echo_n "(cached) " >&6
15578 lt_cv_prog_compiler_pic_works_CXX
=no
15579 ac_outfile
=conftest.
$ac_objext
15580 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15581 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15582 # Insert the option either (1) after the last *FLAGS variable, or
15583 # (2) before a word containing "conftest.", or (3) at the end.
15584 # Note that $ac_compile itself does not contain backslashes and begins
15585 # with a dollar sign (not a hyphen), so the echo should work correctly.
15586 # The option is referenced via a variable to avoid confusing sed.
15587 lt_compile
=`echo "$ac_compile" | $SED \
15588 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15589 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15590 -e 's:$: $lt_compiler_flag:'`
15591 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15592 (eval "$lt_compile" 2>conftest.err
)
15594 cat conftest.err
>&5
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 if (exit $ac_status) && test -s "$ac_outfile"; then
15597 # The compiler can only warn and ignore the option if not recognized
15598 # So say no if there are warnings other than the usual output.
15599 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15600 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15601 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15602 lt_cv_prog_compiler_pic_works_CXX
=yes
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15609 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15611 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15612 case $lt_prog_compiler_pic_CXX in
15614 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15617 lt_prog_compiler_pic_CXX
=
15618 lt_prog_compiler_can_build_shared_CXX
=no
15626 # Check to make sure the static flag actually works.
15628 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15630 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15631 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15632 $as_echo_n "(cached) " >&6
15634 lt_cv_prog_compiler_static_works_CXX
=no
15635 save_LDFLAGS
="$LDFLAGS"
15636 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15637 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15638 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15639 # The linker can only warn and ignore the option if not recognized
15640 # So say no if there are warnings
15641 if test -s conftest.err
; then
15642 # Append any errors to the config.log.
15643 cat conftest.err
1>&5
15644 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15645 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15646 if diff conftest.exp conftest.er2
>/dev
/null
; then
15647 lt_cv_prog_compiler_static_works_CXX
=yes
15650 lt_cv_prog_compiler_static_works_CXX
=yes
15654 LDFLAGS
="$save_LDFLAGS"
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15658 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15660 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15663 lt_prog_compiler_static_CXX
=
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15670 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15671 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15672 $as_echo_n "(cached) " >&6
15674 lt_cv_prog_compiler_c_o_CXX
=no
15675 $RM -r conftest
2>/dev
/null
15679 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15681 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15682 # Insert the option either (1) after the last *FLAGS variable, or
15683 # (2) before a word containing "conftest.", or (3) at the end.
15684 # Note that $ac_compile itself does not contain backslashes and begins
15685 # with a dollar sign (not a hyphen), so the echo should work correctly.
15686 lt_compile
=`echo "$ac_compile" | $SED \
15687 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15688 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15689 -e 's:$: $lt_compiler_flag:'`
15690 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15691 (eval "$lt_compile" 2>out
/conftest.err
)
15693 cat out
/conftest.err
>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15697 # The compiler can only warn and ignore the option if not recognized
15698 # So say no if there are warnings
15699 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15700 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15701 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15702 lt_cv_prog_compiler_c_o_CXX
=yes
15707 # SGI C++ compiler will create directory out/ii_files/ for
15708 # template instantiation
15709 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15710 $RM out
/* && rmdir out
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15717 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15722 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15723 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15724 $as_echo_n "(cached) " >&6
15726 lt_cv_prog_compiler_c_o_CXX
=no
15727 $RM -r conftest
2>/dev
/null
15731 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15733 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15734 # Insert the option either (1) after the last *FLAGS variable, or
15735 # (2) before a word containing "conftest.", or (3) at the end.
15736 # Note that $ac_compile itself does not contain backslashes and begins
15737 # with a dollar sign (not a hyphen), so the echo should work correctly.
15738 lt_compile
=`echo "$ac_compile" | $SED \
15739 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15740 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15741 -e 's:$: $lt_compiler_flag:'`
15742 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15743 (eval "$lt_compile" 2>out
/conftest.err
)
15745 cat out
/conftest.err
>&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15749 # The compiler can only warn and ignore the option if not recognized
15750 # So say no if there are warnings
15751 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15752 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15753 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15754 lt_cv_prog_compiler_c_o_CXX
=yes
15759 # SGI C++ compiler will create directory out/ii_files/ for
15760 # template instantiation
15761 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15762 $RM out
/* && rmdir out
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15769 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15774 hard_links
="nottested"
15775 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15776 # do not overwrite the value of need_locks provided by the user
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15778 $as_echo_n "checking if we can lock with hard links... " >&6; }
15781 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15783 ln conftest.a conftest.b
2>&5 || hard_links
=no
15784 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15786 $as_echo "$hard_links" >&6; }
15787 if test "$hard_links" = no
; then
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15789 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15799 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15801 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15804 # If we're using GNU nm, then we don't want the "-C" option.
15805 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15806 # Also, AIX nm treats weak defined symbols like other global defined
15807 # symbols, whereas GNU nm marks them as "W".
15808 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15809 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'
15811 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'
15815 export_symbols_cmds_CXX
="$ltdll_cmds"
15817 cygwin
* | mingw
* | cegcc
*)
15818 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'
15821 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15824 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15827 $as_echo "$ld_shlibs_CXX" >&6; }
15828 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15830 with_gnu_ld_CXX
=$with_gnu_ld
15838 # Do we need to explicitly link libc?
15840 case "x$archive_cmds_need_lc_CXX" in
15842 # Assume -lc should be added
15843 archive_cmds_need_lc_CXX
=yes
15845 if test "$enable_shared" = yes && test "$GCC" = yes; then
15846 case $archive_cmds_CXX in
15848 # FIXME: we may have to deal with multi-command sequences.
15851 # Test whether the compiler implicitly links with -lc since on some
15852 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15853 # to ld, don't add -lc before -lgcc.
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15855 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15856 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15857 $as_echo_n "(cached) " >&6
15860 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15862 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15863 (eval $ac_compile) 2>&5
15865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15866 test $ac_status = 0; } 2>conftest.err
; then
15869 libobjs
=conftest.
$ac_objext
15871 wl
=$lt_prog_compiler_wl_CXX
15872 pic_flag
=$lt_prog_compiler_pic_CXX
15878 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15879 allow_undefined_flag_CXX
=
15880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15881 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15884 test $ac_status = 0; }
15886 lt_cv_archive_cmds_need_lc_CXX
=no
15888 lt_cv_archive_cmds_need_lc_CXX
=yes
15890 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15892 cat conftest.err
1>&5
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15898 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15899 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15970 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15972 library_names_spec
=
15973 libname_spec
='lib$name'
15977 postuninstall_cmds
=
15981 shlibpath_overrides_runpath
=unknown
15983 dynamic_linker
="$host_os ld.so"
15984 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15985 need_lib_prefix
=unknown
15986 hardcode_into_libs
=no
15988 # when you set need_version to no, make sure it does not cause -set_version
15989 # flags to be left without arguments
15990 need_version
=unknown
15995 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15996 shlibpath_var
=LIBPATH
15998 # AIX 3 has no versioning support, so we append a major version to the name.
15999 soname_spec
='${libname}${release}${shared_ext}$major'
16006 hardcode_into_libs
=yes
16007 if test "$host_cpu" = ia64
; then
16008 # AIX 5 supports IA64
16009 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16010 shlibpath_var
=LD_LIBRARY_PATH
16012 # With GCC up to 2.95.x, collect2 would create an import file
16013 # for dependence libraries. The import file would start with
16014 # the line `#! .'. This would cause the generated library to
16015 # depend on `.', always an invalid library. This was fixed in
16016 # development snapshots of GCC prior to 3.0.
16018 aix4 | aix4.
[01] | aix4.
[01].
*)
16019 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16021 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
16024 can_build_shared
=no
16028 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16029 # soname into executable. Probably we can add versioning support to
16030 # collect2, so additional links can be useful in future.
16031 if test "$aix_use_runtimelinking" = yes; then
16032 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16033 # instead of lib<name>.a to let people know that these are not
16034 # typical AIX shared libraries.
16035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16037 # We preserve .a as extension for shared libraries through AIX4.2
16038 # and later when we are not doing run time linking.
16039 library_names_spec
='${libname}${release}.a $libname.a'
16040 soname_spec
='${libname}${release}${shared_ext}$major'
16042 shlibpath_var
=LIBPATH
16049 # Since July 2007 AmigaOS4 officially supports .so libraries.
16050 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16051 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16054 library_names_spec
='$libname.ixlibrary $libname.a'
16055 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16056 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'
16062 library_names_spec
='${libname}${shared_ext}'
16063 dynamic_linker
="$host_os ld.so"
16064 shlibpath_var
=LIBRARY_PATH
16070 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16071 soname_spec
='${libname}${release}${shared_ext}$major'
16072 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16073 shlibpath_var
=LD_LIBRARY_PATH
16074 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16075 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16076 # the default ld.so.conf also contains /usr/contrib/lib and
16077 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16078 # libtool to hard-code these into programs
16081 cygwin
* | mingw
* | pw32
* | cegcc
*)
16082 version_type
=windows
16087 case $GCC,$host_os in
16088 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16089 library_names_spec
='$libname.dll.a'
16090 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16091 postinstall_cmds
='base_file=`basename \${file}`~
16092 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16093 dldir=$destdir/`dirname \$dlpath`~
16094 test -d \$dldir || mkdir -p \$dldir~
16095 $install_prog $dir/$dlname \$dldir/$dlname~
16096 chmod a+x \$dldir/$dlname~
16097 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16098 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16100 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16101 dlpath=$dir/\$dldll~
16103 shlibpath_overrides_runpath
=yes
16107 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16108 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16112 # MinGW DLLs use traditional 'lib' prefix
16113 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16116 # pw32 DLLs use 'pw' prefix rather than 'lib'
16117 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16123 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16126 dynamic_linker
='Win32 ld.exe'
16127 # FIXME: first we should search . and the directory the executable is in
16131 darwin
* | rhapsody
*)
16132 dynamic_linker
="$host_os dyld"
16133 version_type
=darwin
16136 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16137 soname_spec
='${libname}${release}${major}$shared_ext'
16138 shlibpath_overrides_runpath
=yes
16139 shlibpath_var
=DYLD_LIBRARY_PATH
16140 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16142 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16149 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16150 soname_spec
='${libname}${release}${shared_ext}$major'
16151 shlibpath_var
=LD_LIBRARY_PATH
16158 freebsd
* | dragonfly
*)
16159 # DragonFly does not have aout. When/if they implement a new
16160 # versioning mechanism, adjust this.
16161 if test -x /usr
/bin
/objformat
; then
16162 objformat
=`/usr/bin/objformat`
16165 freebsd
[123]*) objformat
=aout
;;
16166 *) objformat
=elf
;;
16169 version_type
=freebsd-
$objformat
16170 case $version_type in
16172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16177 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16181 shlibpath_var
=LD_LIBRARY_PATH
16184 shlibpath_overrides_runpath
=yes
16186 freebsd3.
[01]* | freebsdelf3.
[01]*)
16187 shlibpath_overrides_runpath
=yes
16188 hardcode_into_libs
=yes
16190 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16191 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16192 shlibpath_overrides_runpath
=no
16193 hardcode_into_libs
=yes
16195 *) # from 4.6 on, and DragonFly
16196 shlibpath_overrides_runpath
=yes
16197 hardcode_into_libs
=yes
16206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16207 soname_spec
='${libname}${release}${shared_ext}$major'
16208 shlibpath_var
=LD_LIBRARY_PATH
16209 hardcode_into_libs
=yes
16216 dynamic_linker
="$host_os runtime_loader"
16217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16218 soname_spec
='${libname}${release}${shared_ext}$major'
16219 shlibpath_var
=LIBRARY_PATH
16220 shlibpath_overrides_runpath
=yes
16221 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16222 hardcode_into_libs
=yes
16225 hpux9
* | hpux10
* | hpux11
*)
16226 # Give a soname corresponding to the major version so that dld.sl refuses to
16227 # link against other versions.
16234 hardcode_into_libs
=yes
16235 dynamic_linker
="$host_os dld.so"
16236 shlibpath_var
=LD_LIBRARY_PATH
16237 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16239 soname_spec
='${libname}${release}${shared_ext}$major'
16240 if test "X$HPUX_IA64_MODE" = X32
; then
16241 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16243 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16245 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16249 hardcode_into_libs
=yes
16250 dynamic_linker
="$host_os dld.sl"
16251 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16252 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16254 soname_spec
='${libname}${release}${shared_ext}$major'
16255 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16256 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16260 dynamic_linker
="$host_os dld.sl"
16261 shlibpath_var
=SHLIB_PATH
16262 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16263 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16264 soname_spec
='${libname}${release}${shared_ext}$major'
16267 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16268 postinstall_cmds
='chmod 555 $lib'
16269 # or fails outright, so override atomically:
16270 install_override_mode
=555
16277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16278 soname_spec
='${libname}${release}${shared_ext}$major'
16279 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16280 shlibpath_var
=LD_LIBRARY_PATH
16281 shlibpath_overrides_runpath
=no
16282 hardcode_into_libs
=yes
16285 irix5
* | irix6
* | nonstopux
*)
16287 nonstopux
*) version_type
=nonstopux
;;
16289 if test "$lt_cv_prog_gnu_ld" = yes; then
16297 soname_spec
='${libname}${release}${shared_ext}$major'
16298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16300 irix5
* | nonstopux
*)
16301 libsuff
= shlibsuff
=
16304 case $LD in # libtool.m4 will add one of these switches to LD
16305 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16306 libsuff
= shlibsuff
= libmagic
=32-bit;;
16307 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16308 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16309 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16310 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16311 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16315 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16316 shlibpath_overrides_runpath
=no
16317 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16318 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16319 hardcode_into_libs
=yes
16322 # No shared lib support for Linux oldld, aout, or coff.
16323 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16327 # This must be Linux ELF.
16328 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16332 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16333 soname_spec
='${libname}${release}${shared_ext}$major'
16334 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16335 shlibpath_var
=LD_LIBRARY_PATH
16336 shlibpath_overrides_runpath
=no
16338 # Some binutils ld are patched to set DT_RUNPATH
16339 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16340 $as_echo_n "(cached) " >&6
16342 lt_cv_shlibpath_overrides_runpath
=no
16343 save_LDFLAGS
=$LDFLAGS
16344 save_libdir
=$libdir
16345 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16346 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16347 if test x
$gcc_no_link = xyes
; then
16348 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16351 /* end confdefs.h. */
16361 if ac_fn_cxx_try_link
"$LINENO"; then :
16362 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16363 lt_cv_shlibpath_overrides_runpath
=yes
16366 rm -f core conftest.err conftest.
$ac_objext \
16367 conftest
$ac_exeext conftest.
$ac_ext
16368 LDFLAGS
=$save_LDFLAGS
16369 libdir
=$save_libdir
16373 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16375 # This implies no fast_install, which is unacceptable.
16376 # Some rework will be needed to allow for fast_install
16377 # before this can be enabled.
16378 hardcode_into_libs
=yes
16380 # Append ld.so.conf contents to the search path
16381 if test -f /etc
/ld.so.conf
; then
16382 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' ' '`
16383 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16386 # We used to test for /lib/ld.so.1 and disable shared libraries on
16387 # powerpc, because MkLinux only supported shared libraries with the
16388 # GNU dynamic linker. Since this was broken with cross compilers,
16389 # most powerpc-linux boxes support dynamic linking these days and
16390 # people can always --disable-shared, the test was removed, and we
16391 # assume the GNU/Linux dynamic linker is in use.
16392 dynamic_linker
='GNU/Linux ld.so'
16399 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16400 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16401 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16402 dynamic_linker
='NetBSD (a.out) ld.so'
16404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16405 soname_spec
='${libname}${release}${shared_ext}$major'
16406 dynamic_linker
='NetBSD ld.elf_so'
16408 shlibpath_var
=LD_LIBRARY_PATH
16409 shlibpath_overrides_runpath
=yes
16410 hardcode_into_libs
=yes
16415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16416 shlibpath_var
=LD_LIBRARY_PATH
16417 shlibpath_overrides_runpath
=yes
16424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16425 soname_spec
='${libname}${release}${shared_ext}$major'
16426 shlibpath_var
=LD_LIBRARY_PATH
16427 shlibpath_overrides_runpath
=no
16428 hardcode_into_libs
=yes
16429 dynamic_linker
='ldqnx.so'
16434 sys_lib_dlsearch_path_spec
="/usr/lib"
16436 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16438 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16439 *) need_version
=no
;;
16441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16442 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16443 shlibpath_var
=LD_LIBRARY_PATH
16444 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16446 openbsd2.
[89] | openbsd2.
[89].
*)
16447 shlibpath_overrides_runpath
=no
16450 shlibpath_overrides_runpath
=yes
16454 shlibpath_overrides_runpath
=yes
16459 libname_spec
='$name'
16462 library_names_spec
='$libname${shared_ext} $libname.a'
16463 dynamic_linker
='OS/2 ld.exe'
16464 shlibpath_var
=LIBPATH
16467 osf3
* | osf4
* | osf5
*)
16471 soname_spec
='${libname}${release}${shared_ext}$major'
16472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16473 shlibpath_var
=LD_LIBRARY_PATH
16474 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16475 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16487 soname_spec
='${libname}${release}${shared_ext}$major'
16488 shlibpath_var
=LD_LIBRARY_PATH
16489 shlibpath_overrides_runpath
=yes
16490 hardcode_into_libs
=yes
16491 # ldd complains unless libraries are executable
16492 postinstall_cmds
='chmod +x $lib'
16497 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16498 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16499 shlibpath_var
=LD_LIBRARY_PATH
16500 shlibpath_overrides_runpath
=yes
16501 if test "$with_gnu_ld" = yes; then
16509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16510 soname_spec
='${libname}${release}${shared_ext}$major'
16511 shlibpath_var
=LD_LIBRARY_PATH
16512 case $host_vendor in
16514 shlibpath_overrides_runpath
=no
16516 runpath_var
=LD_RUN_PATH
16524 shlibpath_overrides_runpath
=no
16525 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16531 if test -d /usr
/nec
;then
16533 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16534 soname_spec
='$libname${shared_ext}.$major'
16535 shlibpath_var
=LD_LIBRARY_PATH
16539 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16540 version_type
=freebsd-elf
16543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16544 soname_spec
='${libname}${release}${shared_ext}$major'
16545 shlibpath_var
=LD_LIBRARY_PATH
16546 shlibpath_overrides_runpath
=yes
16547 hardcode_into_libs
=yes
16548 if test "$with_gnu_ld" = yes; then
16549 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16551 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16554 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16558 sys_lib_dlsearch_path_spec
='/usr/lib'
16562 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16566 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16567 shlibpath_var
=LD_LIBRARY_PATH
16568 shlibpath_overrides_runpath
=no
16569 hardcode_into_libs
=yes
16574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16575 soname_spec
='${libname}${release}${shared_ext}$major'
16576 shlibpath_var
=LD_LIBRARY_PATH
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16584 $as_echo "$dynamic_linker" >&6; }
16585 test "$dynamic_linker" = no
&& can_build_shared
=no
16587 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16588 if test "$GCC" = yes; then
16589 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16592 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16593 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16595 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16596 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16637 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16638 hardcode_action_CXX
=
16639 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16640 test -n "$runpath_var_CXX" ||
16641 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16643 # We can hardcode non-existent directories.
16644 if test "$hardcode_direct_CXX" != no
&&
16645 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16646 # have to relink, otherwise we might link with an installed library
16647 # when we should be linking with a yet-to-be-installed one
16648 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16649 test "$hardcode_minus_L_CXX" != no
; then
16650 # Linking always hardcodes the temporary library directory.
16651 hardcode_action_CXX
=relink
16653 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16654 hardcode_action_CXX
=immediate
16657 # We cannot hardcode anything, or else we can only hardcode existing
16659 hardcode_action_CXX
=unsupported
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16662 $as_echo "$hardcode_action_CXX" >&6; }
16664 if test "$hardcode_action_CXX" = relink ||
16665 test "$inherit_rpath_CXX" = yes; then
16666 # Fast installation is not supported
16667 enable_fast_install
=no
16668 elif test "$shlibpath_overrides_runpath" = yes ||
16669 test "$enable_shared" = no
; then
16670 # Fast installation is not necessary
16671 enable_fast_install
=needless
16680 fi # test -n "$compiler"
16686 with_gnu_ld
=$lt_save_with_gnu_ld
16687 lt_cv_path_LDCXX
=$lt_cv_path_LD
16688 lt_cv_path_LD
=$lt_save_path_LD
16689 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16690 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16691 fi # test "$_lt_caught_CXX_error" != yes
16694 ac_cpp
='$CPP $CPPFLAGS'
16695 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16696 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16697 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16711 ac_config_commands
="$ac_config_commands libtool"
16716 # Only expand once:
16720 if test -n "$ac_tool_prefix"; then
16723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16724 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16726 $as_echo_n "checking for $ac_word... " >&6; }
16727 if test "${ac_cv_prog_GCJ+set}" = set; then :
16728 $as_echo_n "(cached) " >&6
16730 if test -n "$GCJ"; then
16731 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16734 for as_dir
in $PATH
16737 test -z "$as_dir" && as_dir
=.
16738 for ac_exec_ext
in '' $ac_executable_extensions; do
16739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16740 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
16741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16750 GCJ
=$ac_cv_prog_GCJ
16751 if test -n "$GCJ"; then
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16753 $as_echo "$GCJ" >&6; }
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16756 $as_echo "no" >&6; }
16760 test -n "$GCJ" && break
16763 if test -z "$GCJ"; then
16767 # Extract the first word of "$ac_prog", so it can be a program name with args.
16768 set dummy
$ac_prog; ac_word
=$2
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16770 $as_echo_n "checking for $ac_word... " >&6; }
16771 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
16772 $as_echo_n "(cached) " >&6
16774 if test -n "$ac_ct_GCJ"; then
16775 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
16777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16778 for as_dir
in $PATH
16781 test -z "$as_dir" && as_dir
=.
16782 for ac_exec_ext
in '' $ac_executable_extensions; do
16783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16784 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
16785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16794 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
16795 if test -n "$ac_ct_GCJ"; then
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
16797 $as_echo "$ac_ct_GCJ" >&6; }
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16800 $as_echo "no" >&6; }
16804 test -n "$ac_ct_GCJ" && break
16807 if test "x$ac_ct_GCJ" = x
; then
16810 case $cross_compiling:$ac_tool_warned in
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16814 ac_tool_warned
=yes ;;
16820 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
16821 if test "x${GCJFLAGS-unset}" = xunset
; then
16826 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16829 $as_echo_n "checking dependency style of $depcc... " >&6; }
16830 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
16831 $as_echo_n "(cached) " >&6
16833 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16834 # We make a subdir and do the tests there. Otherwise we can end up
16835 # making bogus files that we don't know about and never remove. For
16836 # instance it was reported that on HP-UX the gcc test will end up
16837 # making a dummy file named `D' -- because `-MD' means `put the output
16840 # Copy depcomp to subdir because otherwise we won't find it if we're
16841 # using a relative directory.
16842 cp "$am_depcomp" conftest.dir
16844 # We will build objects and dependencies in a subdirectory because
16845 # it helps to detect inapplicable dependency modes. For instance
16846 # both Tru64's cc and ICC support -MD to output dependencies as a
16847 # side effect of compilation, but ICC will put the dependencies in
16848 # the current directory while Tru64 will put them in the object
16852 am_cv_GCJ_dependencies_compiler_type
=none
16853 if test "$am_compiler_list" = ""; then
16854 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16856 am__universal
=false
16859 for depmode
in $am_compiler_list; do
16860 # Setup a source with many dependencies, because some compilers
16861 # like to wrap large dependency lists on column 80 (with \), and
16862 # we should not choose a depcomp mode which is confused by this.
16864 # We need to recreate these files for each test, as the compiler may
16865 # overwrite some of them when testing with obscure command lines.
16866 # This happens at least with the AIX C compiler.
16868 for i
in 1 2 3 4 5 6; do
16869 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16870 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16871 # Solaris 8's {/usr,}/bin/sh.
16872 touch sub
/conftst
$i.h
16874 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16876 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16877 # mode. It turns out that the SunPro C++ compiler does not properly
16878 # handle `-M -o', and we need to detect this. Also, some Intel
16879 # versions had trouble with output in subdirs
16880 am__obj
=sub
/conftest.
${OBJEXT-o}
16881 am__minus_obj
="-o $am__obj"
16884 # This depmode causes a compiler race in universal mode.
16885 test "$am__universal" = false ||
continue
16888 # after this tag, mechanisms are not by side-effect, so they'll
16889 # only be used when explicitly requested
16890 if test "x$enable_dependency_tracking" = xyes
; then
16896 msvisualcpp | msvcmsys
)
16897 # This compiler won't grok `-c -o', but also, the minuso test has
16898 # not run yet. These depmodes are late enough in the game, and
16899 # so weak that their functioning should not be impacted.
16900 am__obj
=conftest.
${OBJEXT-o}
16905 if depmode
=$depmode \
16906 source=sub
/conftest.c object
=$am__obj \
16907 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16908 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
16909 >/dev
/null
2>conftest.err
&&
16910 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16911 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16912 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
16913 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16914 # icc doesn't choke on unknown options, it will just issue warnings
16915 # or remarks (even with -Werror). So we grep stderr for any message
16916 # that says an option was ignored or not supported.
16917 # When given -MP, icc 7.0 and 7.1 complain thusly:
16918 # icc: Command line warning: ignoring option '-M'; no argument required
16919 # The diagnosis changed in icc 8.0:
16920 # icc: Command line remark: option '-MP' not supported
16921 if (grep 'ignoring option' conftest.err ||
16922 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16923 am_cv_GCJ_dependencies_compiler_type
=$depmode
16930 rm -rf conftest.dir
16932 am_cv_GCJ_dependencies_compiler_type
=none
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
16937 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
16938 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
16941 test "x$enable_dependency_tracking" != xno \
16942 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
16943 am__fastdepGCJ_TRUE
=
16944 am__fastdepGCJ_FALSE
='#'
16946 am__fastdepGCJ_TRUE
='#'
16947 am__fastdepGCJ_FALSE
=
16952 if test -n "$ac_tool_prefix"; then
16955 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16956 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16958 $as_echo_n "checking for $ac_word... " >&6; }
16959 if test "${ac_cv_prog_GCJ+set}" = set; then :
16960 $as_echo_n "(cached) " >&6
16962 if test -n "$GCJ"; then
16963 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16966 for as_dir
in $PATH
16969 test -z "$as_dir" && as_dir
=.
16970 for ac_exec_ext
in '' $ac_executable_extensions; do
16971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16972 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
16973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16982 GCJ
=$ac_cv_prog_GCJ
16983 if test -n "$GCJ"; then
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16985 $as_echo "$GCJ" >&6; }
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16988 $as_echo "no" >&6; }
16992 test -n "$GCJ" && break
16995 if test -z "$GCJ"; then
16999 # Extract the first word of "$ac_prog", so it can be a program name with args.
17000 set dummy
$ac_prog; ac_word
=$2
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17002 $as_echo_n "checking for $ac_word... " >&6; }
17003 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
17004 $as_echo_n "(cached) " >&6
17006 if test -n "$ac_ct_GCJ"; then
17007 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
17009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17010 for as_dir
in $PATH
17013 test -z "$as_dir" && as_dir
=.
17014 for ac_exec_ext
in '' $ac_executable_extensions; do
17015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17016 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
17017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17026 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
17027 if test -n "$ac_ct_GCJ"; then
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
17029 $as_echo "$ac_ct_GCJ" >&6; }
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17032 $as_echo "no" >&6; }
17036 test -n "$ac_ct_GCJ" && break
17039 if test "x$ac_ct_GCJ" = x
; then
17042 case $cross_compiling:$ac_tool_warned in
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17046 ac_tool_warned
=yes ;;
17052 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
17053 if test "x${GCJFLAGS-unset}" = xunset
; then
17058 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17061 $as_echo_n "checking dependency style of $depcc... " >&6; }
17062 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
17063 $as_echo_n "(cached) " >&6
17065 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17066 # We make a subdir and do the tests there. Otherwise we can end up
17067 # making bogus files that we don't know about and never remove. For
17068 # instance it was reported that on HP-UX the gcc test will end up
17069 # making a dummy file named `D' -- because `-MD' means `put the output
17072 # Copy depcomp to subdir because otherwise we won't find it if we're
17073 # using a relative directory.
17074 cp "$am_depcomp" conftest.dir
17076 # We will build objects and dependencies in a subdirectory because
17077 # it helps to detect inapplicable dependency modes. For instance
17078 # both Tru64's cc and ICC support -MD to output dependencies as a
17079 # side effect of compilation, but ICC will put the dependencies in
17080 # the current directory while Tru64 will put them in the object
17084 am_cv_GCJ_dependencies_compiler_type
=none
17085 if test "$am_compiler_list" = ""; then
17086 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17088 am__universal
=false
17091 for depmode
in $am_compiler_list; do
17092 # Setup a source with many dependencies, because some compilers
17093 # like to wrap large dependency lists on column 80 (with \), and
17094 # we should not choose a depcomp mode which is confused by this.
17096 # We need to recreate these files for each test, as the compiler may
17097 # overwrite some of them when testing with obscure command lines.
17098 # This happens at least with the AIX C compiler.
17100 for i
in 1 2 3 4 5 6; do
17101 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
17102 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17103 # Solaris 8's {/usr,}/bin/sh.
17104 touch sub
/conftst
$i.h
17106 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17108 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17109 # mode. It turns out that the SunPro C++ compiler does not properly
17110 # handle `-M -o', and we need to detect this. Also, some Intel
17111 # versions had trouble with output in subdirs
17112 am__obj
=sub
/conftest.
${OBJEXT-o}
17113 am__minus_obj
="-o $am__obj"
17116 # This depmode causes a compiler race in universal mode.
17117 test "$am__universal" = false ||
continue
17120 # after this tag, mechanisms are not by side-effect, so they'll
17121 # only be used when explicitly requested
17122 if test "x$enable_dependency_tracking" = xyes
; then
17128 msvisualcpp | msvcmsys
)
17129 # This compiler won't grok `-c -o', but also, the minuso test has
17130 # not run yet. These depmodes are late enough in the game, and
17131 # so weak that their functioning should not be impacted.
17132 am__obj
=conftest.
${OBJEXT-o}
17137 if depmode
=$depmode \
17138 source=sub
/conftest.c object
=$am__obj \
17139 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
17140 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
17141 >/dev
/null
2>conftest.err
&&
17142 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17143 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17144 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
17145 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
17146 # icc doesn't choke on unknown options, it will just issue warnings
17147 # or remarks (even with -Werror). So we grep stderr for any message
17148 # that says an option was ignored or not supported.
17149 # When given -MP, icc 7.0 and 7.1 complain thusly:
17150 # icc: Command line warning: ignoring option '-M'; no argument required
17151 # The diagnosis changed in icc 8.0:
17152 # icc: Command line remark: option '-MP' not supported
17153 if (grep 'ignoring option' conftest.err ||
17154 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
17155 am_cv_GCJ_dependencies_compiler_type
=$depmode
17162 rm -rf conftest.dir
17164 am_cv_GCJ_dependencies_compiler_type
=none
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
17169 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
17170 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
17173 test "x$enable_dependency_tracking" != xno \
17174 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
17175 am__fastdepGCJ_TRUE
=
17176 am__fastdepGCJ_FALSE
='#'
17178 am__fastdepGCJ_TRUE
='#'
17179 am__fastdepGCJ_FALSE
=
17186 # Source file extension for Java test sources.
17189 # Object file extension for compiled Java test sources.
17193 # Code to be used in simple compile tests
17194 lt_simple_compile_test_code
="int some_variable = 0;"
17196 # Code to be used in simple link tests
17197 lt_simple_link_test_code
='int main(){return(0);}'
17199 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17206 # If no C compiler was specified, use CC.
17209 # If no C compiler flags were specified, use CFLAGS.
17210 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17212 # Allow CC to be a program name with arguments.
17216 # save warnings/boilerplate of simple test code
17217 ac_outfile
=conftest.
$ac_objext
17218 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17219 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17220 _lt_compiler_boilerplate
=`cat conftest.err`
17223 ac_outfile
=conftest.
$ac_objext
17224 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17225 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17226 _lt_linker_boilerplate
=`cat conftest.err`
17230 # Allow CC to be a program name with arguments.
17234 for cc_temp
in $compiler""; do
17236 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17237 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17242 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17245 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17246 archive_cmds_need_lc_GCJ
=no
17248 old_archive_cmds_GCJ
=$old_archive_cmds
17251 ## There is no encapsulation within the following macros, do not change
17252 ## the running order or otherwise move them around unless you know exactly
17253 ## what you are doing...
17254 if test -n "$compiler"; then
17256 lt_prog_compiler_no_builtin_flag_GCJ
=
17258 if test "$GCC" = yes; then
17259 case $cc_basename in
17261 lt_prog_compiler_no_builtin_flag_GCJ
=' -Xcompiler -fno-builtin' ;;
17263 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin' ;;
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17267 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17268 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
17269 $as_echo_n "(cached) " >&6
17271 lt_cv_prog_compiler_rtti_exceptions
=no
17272 ac_outfile
=conftest.
$ac_objext
17273 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17274 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17275 # Insert the option either (1) after the last *FLAGS variable, or
17276 # (2) before a word containing "conftest.", or (3) at the end.
17277 # Note that $ac_compile itself does not contain backslashes and begins
17278 # with a dollar sign (not a hyphen), so the echo should work correctly.
17279 # The option is referenced via a variable to avoid confusing sed.
17280 lt_compile
=`echo "$ac_compile" | $SED \
17281 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17282 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17283 -e 's:$: $lt_compiler_flag:'`
17284 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17285 (eval "$lt_compile" 2>conftest.err
)
17287 cat conftest.err
>&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 if (exit $ac_status) && test -s "$ac_outfile"; then
17290 # The compiler can only warn and ignore the option if not recognized
17291 # So say no if there are warnings other than the usual output.
17292 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17293 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17294 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17295 lt_cv_prog_compiler_rtti_exceptions
=yes
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17302 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17304 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17305 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17314 lt_prog_compiler_wl_GCJ
=
17315 lt_prog_compiler_pic_GCJ
=
17316 lt_prog_compiler_static_GCJ
=
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17319 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17321 if test "$GCC" = yes; then
17322 lt_prog_compiler_wl_GCJ
='-Wl,'
17323 lt_prog_compiler_static_GCJ
='-static'
17327 # All AIX code is PIC.
17328 if test "$host_cpu" = ia64
; then
17329 # AIX 5 now supports IA64 processor
17330 lt_prog_compiler_static_GCJ
='-Bstatic'
17337 # see comment about AmigaOS4 .so support
17338 lt_prog_compiler_pic_GCJ
='-fPIC'
17341 # FIXME: we need at least 68020 code to build shared libraries, but
17342 # adding the `-m68020' flag to GCC prevents building anything better,
17344 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17349 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17350 # PIC is the default for these OSes.
17353 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17354 # This hack is so that the source file can tell whether it is being
17355 # built for inclusion in a dll (and should export symbols for example).
17356 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17357 # (--disable-auto-import) libraries
17361 darwin
* | rhapsody
*)
17362 # PIC is the default on this platform
17363 # Common symbols not allowed in MH_DYLIB files
17364 lt_prog_compiler_pic_GCJ
='-fno-common'
17368 # PIC is the default for Haiku.
17369 # The "-static" flag exists, but is broken.
17370 lt_prog_compiler_static_GCJ
=
17374 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17375 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17376 # sets the default TLS model and affects inlining.
17382 lt_prog_compiler_pic_GCJ
='-fPIC'
17388 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17389 # Instead, we relocate shared libraries at runtime.
17393 # Just because we use GCC doesn't mean we suddenly get shared libraries
17394 # on systems that don't support them.
17395 lt_prog_compiler_can_build_shared_GCJ
=no
17400 # QNX uses GNU C++, but need to define -shared option too, otherwise
17401 # it will coredump.
17402 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17406 if test -d /usr
/nec
; then
17407 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17412 lt_prog_compiler_pic_GCJ
='-fPIC'
17416 case $cc_basename in
17417 nvcc
*) # Cuda Compiler Driver 2.2
17418 lt_prog_compiler_wl_GCJ
='-Xlinker '
17419 lt_prog_compiler_pic_GCJ
='-Xcompiler -fPIC'
17423 # PORTME Check for flag to pass linker flags through the system compiler.
17426 lt_prog_compiler_wl_GCJ
='-Wl,'
17427 if test "$host_cpu" = ia64
; then
17428 # AIX 5 now supports IA64 processor
17429 lt_prog_compiler_static_GCJ
='-Bstatic'
17431 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17435 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17436 # This hack is so that the source file can tell whether it is being
17437 # built for inclusion in a dll (and should export symbols for example).
17441 hpux9
* | hpux10
* | hpux11
*)
17442 lt_prog_compiler_wl_GCJ
='-Wl,'
17443 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17444 # not for PA HP-UX.
17450 lt_prog_compiler_pic_GCJ
='+Z'
17453 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17454 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17457 irix5
* | irix6
* | nonstopux
*)
17458 lt_prog_compiler_wl_GCJ
='-Wl,'
17459 # PIC (with -KPIC) is the default.
17460 lt_prog_compiler_static_GCJ
='-non_shared'
17463 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17464 case $cc_basename in
17465 # old Intel for x86_64 which still supported -KPIC.
17467 lt_prog_compiler_wl_GCJ
='-Wl,'
17468 lt_prog_compiler_pic_GCJ
='-KPIC'
17469 lt_prog_compiler_static_GCJ
='-static'
17471 # icc used to be incompatible with GCC.
17472 # ICC 10 doesn't accept -KPIC any more.
17474 lt_prog_compiler_wl_GCJ
='-Wl,'
17475 lt_prog_compiler_pic_GCJ
='-fPIC'
17476 lt_prog_compiler_static_GCJ
='-static'
17478 # Lahey Fortran 8.1.
17480 lt_prog_compiler_wl_GCJ
='-Wl,'
17481 lt_prog_compiler_pic_GCJ
='--shared'
17482 lt_prog_compiler_static_GCJ
='--static'
17484 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
17485 # Portland Group compilers (*not* the Pentium gcc compiler,
17486 # which looks to be a dead project)
17487 lt_prog_compiler_wl_GCJ
='-Wl,'
17488 lt_prog_compiler_pic_GCJ
='-fpic'
17489 lt_prog_compiler_static_GCJ
='-Bstatic'
17492 lt_prog_compiler_wl_GCJ
='-Wl,'
17493 # All Alpha code is PIC.
17494 lt_prog_compiler_static_GCJ
='-non_shared'
17496 xl
* | bgxl
* | bgf
* | mpixl
*)
17497 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
17498 lt_prog_compiler_wl_GCJ
='-Wl,'
17499 lt_prog_compiler_pic_GCJ
='-qpic'
17500 lt_prog_compiler_static_GCJ
='-qstaticlink'
17503 case `$CC -V 2>&1 | sed 5q` in
17504 *Sun\ F
* |
*Sun
*Fortran
*)
17505 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17506 lt_prog_compiler_pic_GCJ
='-KPIC'
17507 lt_prog_compiler_static_GCJ
='-Bstatic'
17508 lt_prog_compiler_wl_GCJ
=''
17512 lt_prog_compiler_pic_GCJ
='-KPIC'
17513 lt_prog_compiler_static_GCJ
='-Bstatic'
17514 lt_prog_compiler_wl_GCJ
='-Wl,'
17522 lt_prog_compiler_pic_GCJ
='-KPIC'
17523 lt_prog_compiler_static_GCJ
='-Bstatic'
17527 # QNX uses GNU C++, but need to define -shared option too, otherwise
17528 # it will coredump.
17529 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17532 osf3
* | osf4
* | osf5
*)
17533 lt_prog_compiler_wl_GCJ
='-Wl,'
17534 # All OSF/1 code is PIC.
17535 lt_prog_compiler_static_GCJ
='-non_shared'
17539 lt_prog_compiler_static_GCJ
='-non_shared'
17543 lt_prog_compiler_pic_GCJ
='-KPIC'
17544 lt_prog_compiler_static_GCJ
='-Bstatic'
17545 case $cc_basename in
17546 f77
* | f90
* | f95
*)
17547 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17549 lt_prog_compiler_wl_GCJ
='-Wl,';;
17554 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17555 lt_prog_compiler_pic_GCJ
='-PIC'
17556 lt_prog_compiler_static_GCJ
='-Bstatic'
17559 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17560 lt_prog_compiler_wl_GCJ
='-Wl,'
17561 lt_prog_compiler_pic_GCJ
='-KPIC'
17562 lt_prog_compiler_static_GCJ
='-Bstatic'
17566 if test -d /usr
/nec
;then
17567 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17568 lt_prog_compiler_static_GCJ
='-Bstatic'
17572 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17573 lt_prog_compiler_wl_GCJ
='-Wl,'
17574 lt_prog_compiler_pic_GCJ
='-KPIC'
17575 lt_prog_compiler_static_GCJ
='-Bstatic'
17579 lt_prog_compiler_wl_GCJ
='-Wl,'
17580 lt_prog_compiler_can_build_shared_GCJ
=no
17584 lt_prog_compiler_pic_GCJ
='-pic'
17585 lt_prog_compiler_static_GCJ
='-Bstatic'
17589 lt_prog_compiler_can_build_shared_GCJ
=no
17595 # For platforms which do not support PIC, -DPIC is meaningless:
17597 lt_prog_compiler_pic_GCJ
=
17600 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
17604 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17609 # Check to make sure the PIC flag actually works.
17611 if test -n "$lt_prog_compiler_pic_GCJ"; then
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17613 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17614 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then :
17615 $as_echo_n "(cached) " >&6
17617 lt_cv_prog_compiler_pic_works_GCJ
=no
17618 ac_outfile
=conftest.
$ac_objext
17619 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17620 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17621 # Insert the option either (1) after the last *FLAGS variable, or
17622 # (2) before a word containing "conftest.", or (3) at the end.
17623 # Note that $ac_compile itself does not contain backslashes and begins
17624 # with a dollar sign (not a hyphen), so the echo should work correctly.
17625 # The option is referenced via a variable to avoid confusing sed.
17626 lt_compile
=`echo "$ac_compile" | $SED \
17627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17629 -e 's:$: $lt_compiler_flag:'`
17630 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17631 (eval "$lt_compile" 2>conftest.err
)
17633 cat conftest.err
>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 if (exit $ac_status) && test -s "$ac_outfile"; then
17636 # The compiler can only warn and ignore the option if not recognized
17637 # So say no if there are warnings other than the usual output.
17638 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17639 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17640 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17641 lt_cv_prog_compiler_pic_works_GCJ
=yes
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17648 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17650 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17651 case $lt_prog_compiler_pic_GCJ in
17653 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17656 lt_prog_compiler_pic_GCJ
=
17657 lt_prog_compiler_can_build_shared_GCJ
=no
17665 # Check to make sure the static flag actually works.
17667 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17669 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17670 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then :
17671 $as_echo_n "(cached) " >&6
17673 lt_cv_prog_compiler_static_works_GCJ
=no
17674 save_LDFLAGS
="$LDFLAGS"
17675 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17676 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17677 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17678 # The linker can only warn and ignore the option if not recognized
17679 # So say no if there are warnings
17680 if test -s conftest.err
; then
17681 # Append any errors to the config.log.
17682 cat conftest.err
1>&5
17683 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
17684 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17685 if diff conftest.exp conftest.er2
>/dev
/null
; then
17686 lt_cv_prog_compiler_static_works_GCJ
=yes
17689 lt_cv_prog_compiler_static_works_GCJ
=yes
17693 LDFLAGS
="$save_LDFLAGS"
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17697 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17699 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17702 lt_prog_compiler_static_GCJ
=
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17709 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17710 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17711 $as_echo_n "(cached) " >&6
17713 lt_cv_prog_compiler_c_o_GCJ
=no
17714 $RM -r conftest
2>/dev
/null
17718 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17720 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17721 # Insert the option either (1) after the last *FLAGS variable, or
17722 # (2) before a word containing "conftest.", or (3) at the end.
17723 # Note that $ac_compile itself does not contain backslashes and begins
17724 # with a dollar sign (not a hyphen), so the echo should work correctly.
17725 lt_compile
=`echo "$ac_compile" | $SED \
17726 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17727 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17728 -e 's:$: $lt_compiler_flag:'`
17729 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17730 (eval "$lt_compile" 2>out
/conftest.err
)
17732 cat out
/conftest.err
>&5
17733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17736 # The compiler can only warn and ignore the option if not recognized
17737 # So say no if there are warnings
17738 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17739 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17740 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17741 lt_cv_prog_compiler_c_o_GCJ
=yes
17746 # SGI C++ compiler will create directory out/ii_files/ for
17747 # template instantiation
17748 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17749 $RM out
/* && rmdir out
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17756 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17761 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17762 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17763 $as_echo_n "(cached) " >&6
17765 lt_cv_prog_compiler_c_o_GCJ
=no
17766 $RM -r conftest
2>/dev
/null
17770 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17772 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17773 # Insert the option either (1) after the last *FLAGS variable, or
17774 # (2) before a word containing "conftest.", or (3) at the end.
17775 # Note that $ac_compile itself does not contain backslashes and begins
17776 # with a dollar sign (not a hyphen), so the echo should work correctly.
17777 lt_compile
=`echo "$ac_compile" | $SED \
17778 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17779 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17780 -e 's:$: $lt_compiler_flag:'`
17781 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17782 (eval "$lt_compile" 2>out
/conftest.err
)
17784 cat out
/conftest.err
>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17788 # The compiler can only warn and ignore the option if not recognized
17789 # So say no if there are warnings
17790 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17791 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17792 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17793 lt_cv_prog_compiler_c_o_GCJ
=yes
17798 # SGI C++ compiler will create directory out/ii_files/ for
17799 # template instantiation
17800 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17801 $RM out
/* && rmdir out
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17808 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17813 hard_links
="nottested"
17814 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17815 # do not overwrite the value of need_locks provided by the user
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17817 $as_echo_n "checking if we can lock with hard links... " >&6; }
17820 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17822 ln conftest.a conftest.b
2>&5 || hard_links
=no
17823 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17825 $as_echo "$hard_links" >&6; }
17826 if test "$hard_links" = no
; then
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17828 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17838 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17841 allow_undefined_flag_GCJ
=
17842 always_export_symbols_GCJ
=no
17844 archive_expsym_cmds_GCJ
=
17845 compiler_needs_object_GCJ
=no
17846 enable_shared_with_static_runtimes_GCJ
=no
17847 export_dynamic_flag_spec_GCJ
=
17848 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17849 hardcode_automatic_GCJ
=no
17850 hardcode_direct_GCJ
=no
17851 hardcode_direct_absolute_GCJ
=no
17852 hardcode_libdir_flag_spec_GCJ
=
17853 hardcode_libdir_flag_spec_ld_GCJ
=
17854 hardcode_libdir_separator_GCJ
=
17855 hardcode_minus_L_GCJ
=no
17856 hardcode_shlibpath_var_GCJ
=unsupported
17857 inherit_rpath_GCJ
=no
17858 link_all_deplibs_GCJ
=unknown
17860 module_expsym_cmds_GCJ
=
17861 old_archive_from_new_cmds_GCJ
=
17862 old_archive_from_expsyms_cmds_GCJ
=
17863 thread_safe_flag_spec_GCJ
=
17864 whole_archive_flag_spec_GCJ
=
17865 # include_expsyms should be a list of space-separated symbols to be *always*
17866 # included in the symbol list
17867 include_expsyms_GCJ
=
17868 # exclude_expsyms can be an extended regexp of symbols to exclude
17869 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17870 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17871 # as well as any symbol that contains `d'.
17872 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17873 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17874 # platforms (ab)use it in PIC code, but their linkers get confused if
17875 # the symbol is explicitly referenced. Since portable code cannot
17876 # rely on this symbol name, it's probably fine to never include it in
17877 # preloaded symbol tables.
17878 # Exclude shared library initialization/finalization symbols.
17879 extract_expsyms_cmds
=
17882 cygwin
* | mingw
* | pw32
* | cegcc
*)
17883 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17884 # When not using gcc, we currently assume that we are using
17885 # Microsoft Visual C++.
17886 if test "$GCC" != yes; then
17891 # we just hope/assume this is gcc and not c89 (= MSVC++)
17901 # On some targets, GNU ld is compatible enough with the native linker
17902 # that we're better off using the native interface for both.
17903 lt_use_gnu_ld_interface
=no
17904 if test "$with_gnu_ld" = yes; then
17907 # The AIX port of GNU ld has always aspired to compatibility
17908 # with the native linker. However, as the warning in the GNU ld
17909 # block says, versions before 2.19.5* couldn't really create working
17910 # shared libraries, regardless of the interface used.
17911 case `$LD -v 2>&1` in
17912 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
17913 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
17914 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
17916 lt_use_gnu_ld_interface
=yes
17921 lt_use_gnu_ld_interface
=yes
17926 if test "$lt_use_gnu_ld_interface" = yes; then
17927 # If archive_cmds runs LD, not CC, wlarc should be empty
17930 # Set some defaults for GNU ld with shared library support. These
17931 # are reset later if shared libraries are not supported. Putting them
17932 # here allows them to be overridden if necessary.
17933 runpath_var
=LD_RUN_PATH
17934 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17935 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17936 # ancient GNU ld didn't support --whole-archive et. al.
17937 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
17938 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17940 whole_archive_flag_spec_GCJ
=
17942 supports_anon_versioning
=no
17943 case `$LD -v 2>&1` in
17944 *GNU\ gold
*) supports_anon_versioning
=yes ;;
17945 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17946 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17947 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17948 *\
2.11.
*) ;; # other 2.11 versions
17949 *) supports_anon_versioning
=yes ;;
17952 # See if GNU ld supports shared libraries.
17955 # On AIX/PPC, the GNU linker is very broken
17956 if test "$host_cpu" != ia64
; then
17960 *** Warning: the GNU linker, at least up to release 2.19, is reported
17961 *** to be unable to reliably create shared libraries on AIX.
17962 *** Therefore, libtool is disabling shared libraries support. If you
17963 *** really care for shared libraries, you may want to install binutils
17964 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
17965 *** You will then need to restart the configuration process.
17974 # see comment about AmigaOS4 .so support
17975 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17976 archive_expsym_cmds_GCJ
=''
17979 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)'
17980 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17981 hardcode_minus_L_GCJ
=yes
17987 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
17988 allow_undefined_flag_GCJ
=unsupported
17989 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17990 # support --undefined. This deserves some investigation. FIXME
17991 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17997 cygwin
* | mingw
* | pw32
* | cegcc
*)
17998 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17999 # as there is no search path for DLLs.
18000 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18001 export_dynamic_flag_spec_GCJ
='${wl}--export-all-symbols'
18002 allow_undefined_flag_GCJ
=unsupported
18003 always_export_symbols_GCJ
=no
18004 enable_shared_with_static_runtimes_GCJ
=yes
18005 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18007 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
18008 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18009 # If the export-symbols file already is a .def file (1st line
18010 # is EXPORTS), use it as is; otherwise, prepend...
18011 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18012 cp $export_symbols $output_objdir/$soname.def;
18014 echo EXPORTS > $output_objdir/$soname.def;
18015 cat $export_symbols >> $output_objdir/$soname.def;
18017 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18024 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18025 link_all_deplibs_GCJ
=yes
18029 hardcode_direct_GCJ
=no
18030 hardcode_shlibpath_var_GCJ
=no
18031 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18032 export_dynamic_flag_spec_GCJ
='${wl}-E'
18033 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18034 # Instead, shared libraries are loaded at an image base (0x10000000 by
18035 # default) and relocated if they conflict, which is a slow very memory
18036 # consuming and fragmenting process. To avoid this, we pick a random,
18037 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18038 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18039 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'
18040 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'
18043 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
18045 if test "$host_os" = linux-dietlibc
; then
18046 case $cc_basename in
18047 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
18050 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
18051 && test "$tmp_diet" = no
18054 tmp_sharedflag
='-shared'
18055 case $cc_basename,$host_cpu in
18056 pgcc
*) # Portland Group C compiler
18057 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'
18058 tmp_addflag
=' $pic_flag'
18060 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
18061 # Portland Group f77 and f90 compilers
18062 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'
18063 tmp_addflag
=' $pic_flag -Mnomain' ;;
18064 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18065 tmp_addflag
=' -i_dynamic' ;;
18066 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18067 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18068 ifc
* | ifort
*) # Intel Fortran compiler
18069 tmp_addflag
=' -nofor_main' ;;
18070 lf95
*) # Lahey Fortran 8.1
18071 whole_archive_flag_spec_GCJ
=
18072 tmp_sharedflag
='--shared' ;;
18073 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
18074 tmp_sharedflag
='-qmkshrobj'
18076 nvcc
*) # Cuda Compiler Driver 2.2
18077 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'
18078 compiler_needs_object_GCJ
=yes
18081 case `$CC -V 2>&1 | sed 5q` in
18082 *Sun\ C
*) # Sun C 5.9
18083 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'
18084 compiler_needs_object_GCJ
=yes
18085 tmp_sharedflag
='-G' ;;
18086 *Sun\ F
*) # Sun Fortran 8.3
18087 tmp_sharedflag
='-G' ;;
18089 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18091 if test "x$supports_anon_versioning" = xyes
; then
18092 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18093 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18094 echo "local: *; };" >> $output_objdir/$libname.ver~
18095 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18098 case $cc_basename in
18099 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
18100 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
18101 whole_archive_flag_spec_GCJ
='--whole-archive$convenience --no-whole-archive'
18102 hardcode_libdir_flag_spec_GCJ
=
18103 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18104 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
18105 if test "x$supports_anon_versioning" = xyes
; then
18106 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18107 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18108 echo "local: *; };" >> $output_objdir/$libname.ver~
18109 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
18119 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18120 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18123 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18124 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18129 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
18133 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18134 *** create shared libraries on Solaris systems. Therefore, libtool
18135 *** is disabling shared libraries support. We urge you to upgrade GNU
18136 *** binutils to release 2.9.1 or newer. Another option is to modify
18137 *** your PATH or compiler configuration so that the native linker is
18138 *** used, and then restart.
18141 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18142 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18143 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18149 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18150 case `$LD -v 2>&1` in
18151 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18155 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18156 *** reliably create shared libraries on SCO systems. Therefore, libtool
18157 *** is disabling shared libraries support. We urge you to upgrade GNU
18158 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18159 *** your PATH or compiler configuration so that the native linker is
18160 *** used, and then restart.
18165 # For security reasons, it is highly recommended that you always
18166 # use absolute paths for naming shared libraries, and exclude the
18167 # DT_RUNPATH tag from executables and libraries. But doing so
18168 # requires that you compile everything twice, which is a pain.
18169 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18170 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18171 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18172 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18181 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18183 hardcode_direct_GCJ
=yes
18184 hardcode_shlibpath_var_GCJ
=no
18188 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18189 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18190 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18197 if test "$ld_shlibs_GCJ" = no
; then
18199 hardcode_libdir_flag_spec_GCJ
=
18200 export_dynamic_flag_spec_GCJ
=
18201 whole_archive_flag_spec_GCJ
=
18204 # PORTME fill in a description of your system's linker (not GNU ld)
18207 allow_undefined_flag_GCJ
=unsupported
18208 always_export_symbols_GCJ
=yes
18209 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'
18210 # Note: this linker hardcodes the directories in LIBPATH if there
18211 # are no directories specified by -L.
18212 hardcode_minus_L_GCJ
=yes
18213 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18214 # Neither direct hardcoding nor static linking is supported with a
18216 hardcode_direct_GCJ
=unsupported
18221 if test "$host_cpu" = ia64
; then
18222 # On IA64, the linker does run time linking by default, so we don't
18223 # have to do anything special.
18224 aix_use_runtimelinking
=no
18225 exp_sym_flag
='-Bexport'
18228 # If we're using GNU nm, then we don't want the "-C" option.
18229 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18230 # Also, AIX nm treats weak defined symbols like other global
18231 # defined symbols, whereas GNU nm marks them as "W".
18232 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18233 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'
18235 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'
18237 aix_use_runtimelinking
=no
18239 # Test if we are trying to use run time linking or normal
18240 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18241 # need to do runtime linking.
18242 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18243 for ld_flag
in $LDFLAGS; do
18244 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18245 aix_use_runtimelinking
=yes
18252 exp_sym_flag
='-bexport'
18253 no_entry_flag
='-bnoentry'
18256 # When large executables or shared objects are built, AIX ld can
18257 # have problems creating the table of contents. If linking a library
18258 # or program results in "error TOC overflow" add -mminimal-toc to
18259 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18260 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18262 archive_cmds_GCJ
=''
18263 hardcode_direct_GCJ
=yes
18264 hardcode_direct_absolute_GCJ
=yes
18265 hardcode_libdir_separator_GCJ
=':'
18266 link_all_deplibs_GCJ
=yes
18267 file_list_spec_GCJ
='${wl}-f,'
18269 if test "$GCC" = yes; then
18270 case $host_os in aix4.
[012]|aix4.
[012].
*)
18271 # We only want to do this on AIX 4.2 and lower, the check
18272 # below for broken collect2 doesn't work under 4.3+
18273 collect2name
=`${CC} -print-prog-name=collect2`
18274 if test -f "$collect2name" &&
18275 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
18277 # We have reworked collect2
18280 # We have old collect2
18281 hardcode_direct_GCJ
=unsupported
18282 # It fails to find uninstalled libraries when the uninstalled
18283 # path is not listed in the libpath. Setting hardcode_minus_L
18284 # to unsupported forces relinking
18285 hardcode_minus_L_GCJ
=yes
18286 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18287 hardcode_libdir_separator_GCJ
=
18291 shared_flag
='-shared'
18292 if test "$aix_use_runtimelinking" = yes; then
18293 shared_flag
="$shared_flag "'${wl}-G'
18297 if test "$host_cpu" = ia64
; then
18298 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18299 # chokes on -Wl,-G. The following line is correct:
18302 if test "$aix_use_runtimelinking" = yes; then
18303 shared_flag
='${wl}-G'
18305 shared_flag
='${wl}-bM:SRE'
18310 export_dynamic_flag_spec_GCJ
='${wl}-bexpall'
18311 # It seems that -bexpall does not export symbols beginning with
18312 # underscore (_), so it is better to generate a list of symbols to export.
18313 always_export_symbols_GCJ
=yes
18314 if test "$aix_use_runtimelinking" = yes; then
18315 # Warning - without using the other runtime loading flags (-brtl),
18316 # -berok will link without error, but may produce a broken library.
18317 allow_undefined_flag_GCJ
='-berok'
18318 # Determine the default libpath from the value encoded in an
18319 # empty executable.
18320 if test x
$gcc_no_link = xyes
; then
18321 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18334 if ac_fn_c_try_link
"$LINENO"; then :
18336 lt_aix_libpath_sed
='
18337 /Import File Strings/,/^$/ {
18343 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18344 # Check for a 64-bit object if we didn't find anything.
18345 if test -z "$aix_libpath"; then
18346 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18349 rm -f core conftest.err conftest.
$ac_objext \
18350 conftest
$ac_exeext conftest.
$ac_ext
18351 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18353 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18354 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"
18356 if test "$host_cpu" = ia64
; then
18357 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
18358 allow_undefined_flag_GCJ
="-z nodefs"
18359 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"
18361 # Determine the default libpath from the value encoded in an
18362 # empty executable.
18363 if test x
$gcc_no_link = xyes
; then
18364 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18367 /* end confdefs.h. */
18377 if ac_fn_c_try_link
"$LINENO"; then :
18379 lt_aix_libpath_sed
='
18380 /Import File Strings/,/^$/ {
18386 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18387 # Check for a 64-bit object if we didn't find anything.
18388 if test -z "$aix_libpath"; then
18389 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18392 rm -f core conftest.err conftest.
$ac_objext \
18393 conftest
$ac_exeext conftest.
$ac_ext
18394 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18396 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18397 # Warning - without using the other run time loading flags,
18398 # -berok will link without error, but may produce a broken library.
18399 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18400 allow_undefined_flag_GCJ
=' ${wl}-berok'
18401 if test "$with_gnu_ld" = yes; then
18402 # We only use this code for GNU lds that support --whole-archive.
18403 whole_archive_flag_spec_GCJ
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18405 # Exported symbols can be pulled into shared objects from archives
18406 whole_archive_flag_spec_GCJ
='$convenience'
18408 archive_cmds_need_lc_GCJ
=yes
18409 # This is similar to how AIX traditionally builds its shared libraries.
18410 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'
18418 # see comment about AmigaOS4 .so support
18419 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18420 archive_expsym_cmds_GCJ
=''
18423 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)'
18424 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18425 hardcode_minus_L_GCJ
=yes
18431 export_dynamic_flag_spec_GCJ
=-rdynamic
18434 cygwin
* | mingw
* | pw32
* | cegcc
*)
18435 # When not using gcc, we currently assume that we are using
18436 # Microsoft Visual C++.
18437 # hardcode_libdir_flag_spec is actually meaningless, as there is
18438 # no search path for DLLs.
18439 hardcode_libdir_flag_spec_GCJ
=' '
18440 allow_undefined_flag_GCJ
=unsupported
18441 # Tell ltmain to make .lib files, not .a files.
18443 # Tell ltmain to make .dll files, not .so files.
18445 # FIXME: Setting linknames here is a bad hack.
18446 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
18447 # The linker will automatically build a .lib file if we build a DLL.
18448 old_archive_from_new_cmds_GCJ
='true'
18449 # FIXME: Should let the user specify the lib program.
18450 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18451 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18452 enable_shared_with_static_runtimes_GCJ
=yes
18455 darwin
* | rhapsody
*)
18458 archive_cmds_need_lc_GCJ
=no
18459 hardcode_direct_GCJ
=no
18460 hardcode_automatic_GCJ
=yes
18461 hardcode_shlibpath_var_GCJ
=unsupported
18462 if test "$lt_cv_ld_force_load" = "yes"; then
18463 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\"`'
18465 whole_archive_flag_spec_GCJ
=''
18467 link_all_deplibs_GCJ
=yes
18468 allow_undefined_flag_GCJ
="$_lt_dar_allow_undefined"
18469 case $cc_basename in
18470 ifort
*) _lt_dar_can_shared
=yes ;;
18471 *) _lt_dar_can_shared
=$GCC ;;
18473 if test "$_lt_dar_can_shared" = "yes"; then
18474 output_verbose_link_cmd
=func_echo_all
18475 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}"
18476 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18477 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}"
18478 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}"
18487 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18488 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18489 hardcode_shlibpath_var_GCJ
=no
18496 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18497 # support. Future versions do this automatically, but an explicit c++rt0.o
18498 # does not break anything, and helps significantly (at the cost of a little
18501 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18502 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18503 hardcode_direct_GCJ
=yes
18504 hardcode_shlibpath_var_GCJ
=no
18507 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18509 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18510 hardcode_direct_GCJ
=yes
18511 hardcode_minus_L_GCJ
=yes
18512 hardcode_shlibpath_var_GCJ
=no
18515 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18516 freebsd
* | dragonfly
*)
18517 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18518 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18519 hardcode_direct_GCJ
=yes
18520 hardcode_shlibpath_var_GCJ
=no
18524 if test "$GCC" = yes; then
18525 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'
18527 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'
18529 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18530 hardcode_libdir_separator_GCJ
=:
18531 hardcode_direct_GCJ
=yes
18533 # hardcode_minus_L: Not really in the search PATH,
18534 # but as the default location of the library.
18535 hardcode_minus_L_GCJ
=yes
18536 export_dynamic_flag_spec_GCJ
='${wl}-E'
18540 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18541 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18543 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18545 if test "$with_gnu_ld" = no
; then
18546 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18547 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18548 hardcode_libdir_separator_GCJ
=:
18549 hardcode_direct_GCJ
=yes
18550 hardcode_direct_absolute_GCJ
=yes
18551 export_dynamic_flag_spec_GCJ
='${wl}-E'
18552 # hardcode_minus_L: Not really in the search PATH,
18553 # but as the default location of the library.
18554 hardcode_minus_L_GCJ
=yes
18559 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18562 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18565 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18568 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18574 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18577 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18580 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18584 if test "$with_gnu_ld" = no
; then
18585 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18586 hardcode_libdir_separator_GCJ
=:
18590 hardcode_direct_GCJ
=no
18591 hardcode_shlibpath_var_GCJ
=no
18594 hardcode_direct_GCJ
=yes
18595 hardcode_direct_absolute_GCJ
=yes
18596 export_dynamic_flag_spec_GCJ
='${wl}-E'
18598 # hardcode_minus_L: Not really in the search PATH,
18599 # but as the default location of the library.
18600 hardcode_minus_L_GCJ
=yes
18606 irix5
* | irix6
* | nonstopux
*)
18607 if test "$GCC" = yes; then
18608 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'
18609 # Try to use the -exported_symbol ld option, if it does not
18610 # work, assume that -exports_file does not work either and
18611 # implicitly export all symbols.
18612 save_LDFLAGS
="$LDFLAGS"
18613 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18614 if test x
$gcc_no_link = xyes
; then
18615 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18618 /* end confdefs.h. */
18621 if ac_fn_c_try_link
"$LINENO"; then :
18622 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'
18625 rm -f core conftest.err conftest.
$ac_objext \
18626 conftest
$ac_exeext conftest.
$ac_ext
18627 LDFLAGS
="$save_LDFLAGS"
18629 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'
18630 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'
18632 archive_cmds_need_lc_GCJ
='no'
18633 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18634 hardcode_libdir_separator_GCJ
=:
18635 inherit_rpath_GCJ
=yes
18636 link_all_deplibs_GCJ
=yes
18640 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18641 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18643 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18645 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18646 hardcode_direct_GCJ
=yes
18647 hardcode_shlibpath_var_GCJ
=no
18651 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18652 hardcode_direct_GCJ
=yes
18653 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18654 hardcode_libdir_separator_GCJ
=:
18655 hardcode_shlibpath_var_GCJ
=no
18662 if test -f /usr
/libexec
/ld.so
; then
18663 hardcode_direct_GCJ
=yes
18664 hardcode_shlibpath_var_GCJ
=no
18665 hardcode_direct_absolute_GCJ
=yes
18666 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18667 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18668 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18669 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18670 export_dynamic_flag_spec_GCJ
='${wl}-E'
18673 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18674 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18675 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18678 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18679 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18689 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18690 hardcode_minus_L_GCJ
=yes
18691 allow_undefined_flag_GCJ
=unsupported
18692 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'
18693 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18697 if test "$GCC" = yes; then
18698 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18699 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'
18701 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18702 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'
18704 archive_cmds_need_lc_GCJ
='no'
18705 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18706 hardcode_libdir_separator_GCJ
=:
18709 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
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}-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'
18713 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18715 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18716 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'
18717 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~
18718 $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'
18720 # Both c and cxx compiler support -rpath directly
18721 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18723 archive_cmds_need_lc_GCJ
='no'
18724 hardcode_libdir_separator_GCJ
=:
18728 no_undefined_flag_GCJ
=' -z defs'
18729 if test "$GCC" = yes; then
18731 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18732 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18733 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18735 case `$CC -V 2>&1` in
18738 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18739 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18740 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18744 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $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 -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18750 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18751 hardcode_shlibpath_var_GCJ
=no
18753 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18755 # The compiler driver will combine and reorder linker options,
18756 # but understands `-z linker_flag'. GCC discards it without `$wl',
18757 # but is careful enough not to reorder.
18758 # Supported since Solaris 2.6 (maybe 2.5.1?)
18759 if test "$GCC" = yes; then
18760 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18762 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18766 link_all_deplibs_GCJ
=yes
18770 if test "x$host_vendor" = xsequent
; then
18771 # Use $CC to link under sequent, because it throws in some extra .o
18772 # files that make .init and .fini sections work.
18773 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18775 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18777 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18778 hardcode_direct_GCJ
=yes
18779 hardcode_minus_L_GCJ
=yes
18780 hardcode_shlibpath_var_GCJ
=no
18784 case $host_vendor in
18786 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18787 hardcode_direct_GCJ
=yes # is this really true???
18790 ## LD is ld it makes a PLAMLIB
18791 ## CC just makes a GrossModule.
18792 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18793 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18794 hardcode_direct_GCJ
=no
18797 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18798 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18801 runpath_var
='LD_RUN_PATH'
18802 hardcode_shlibpath_var_GCJ
=no
18806 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18807 hardcode_shlibpath_var_GCJ
=no
18808 export_dynamic_flag_spec_GCJ
='-Bexport'
18812 if test -d /usr
/nec
; then
18813 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18814 hardcode_shlibpath_var_GCJ
=no
18815 runpath_var
=LD_RUN_PATH
18816 hardcode_runpath_var
=yes
18821 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18822 no_undefined_flag_GCJ
='${wl}-z,text'
18823 archive_cmds_need_lc_GCJ
=no
18824 hardcode_shlibpath_var_GCJ
=no
18825 runpath_var
='LD_RUN_PATH'
18827 if test "$GCC" = yes; then
18828 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18829 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18831 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18832 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18836 sysv5
* | sco3.2v5
* | sco5v6
*)
18837 # Note: We can NOT use -z defs as we might desire, because we do not
18838 # link with -lc, and that would cause any symbols used from libc to
18839 # always be unresolved, which means just about no library would
18840 # ever link correctly. If we're not using GNU ld we use -z text
18841 # though, which does catch some bad symbols but isn't as heavy-handed
18843 no_undefined_flag_GCJ
='${wl}-z,text'
18844 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18845 archive_cmds_need_lc_GCJ
=no
18846 hardcode_shlibpath_var_GCJ
=no
18847 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
18848 hardcode_libdir_separator_GCJ
=':'
18849 link_all_deplibs_GCJ
=yes
18850 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18851 runpath_var
='LD_RUN_PATH'
18853 if test "$GCC" = yes; then
18854 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18855 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18857 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18858 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18863 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18864 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18865 hardcode_shlibpath_var_GCJ
=no
18873 if test x
$host_vendor = xsni
; then
18875 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18876 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
18883 $as_echo "$ld_shlibs_GCJ" >&6; }
18884 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18886 with_gnu_ld_GCJ
=$with_gnu_ld
18894 # Do we need to explicitly link libc?
18896 case "x$archive_cmds_need_lc_GCJ" in
18898 # Assume -lc should be added
18899 archive_cmds_need_lc_GCJ
=yes
18901 if test "$enable_shared" = yes && test "$GCC" = yes; then
18902 case $archive_cmds_GCJ in
18904 # FIXME: we may have to deal with multi-command sequences.
18907 # Test whether the compiler implicitly links with -lc since on some
18908 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18909 # to ld, don't add -lc before -lgcc.
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18911 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18912 if test "${lt_cv_archive_cmds_need_lc_GCJ+set}" = set; then :
18913 $as_echo_n "(cached) " >&6
18916 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18919 (eval $ac_compile) 2>&5
18921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18922 test $ac_status = 0; } 2>conftest.err
; then
18925 libobjs
=conftest.
$ac_objext
18927 wl
=$lt_prog_compiler_wl_GCJ
18928 pic_flag
=$lt_prog_compiler_pic_GCJ
18934 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18935 allow_undefined_flag_GCJ
=
18936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18937 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18940 test $ac_status = 0; }
18942 lt_cv_archive_cmds_need_lc_GCJ
=no
18944 lt_cv_archive_cmds_need_lc_GCJ
=yes
18946 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18948 cat conftest.err
1>&5
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
18954 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
18955 archive_cmds_need_lc_GCJ
=$lt_cv_archive_cmds_need_lc_GCJ
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19026 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19027 hardcode_action_GCJ
=
19028 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
19029 test -n "$runpath_var_GCJ" ||
19030 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19032 # We can hardcode non-existent directories.
19033 if test "$hardcode_direct_GCJ" != no
&&
19034 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19035 # have to relink, otherwise we might link with an installed library
19036 # when we should be linking with a yet-to-be-installed one
19037 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19038 test "$hardcode_minus_L_GCJ" != no
; then
19039 # Linking always hardcodes the temporary library directory.
19040 hardcode_action_GCJ
=relink
19042 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19043 hardcode_action_GCJ
=immediate
19046 # We cannot hardcode anything, or else we can only hardcode existing
19048 hardcode_action_GCJ
=unsupported
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
19051 $as_echo "$hardcode_action_GCJ" >&6; }
19053 if test "$hardcode_action_GCJ" = relink ||
19054 test "$inherit_rpath_GCJ" = yes; then
19055 # Fast installation is not supported
19056 enable_fast_install
=no
19057 elif test "$shlibpath_overrides_runpath" = yes ||
19058 test "$enable_shared" = no
; then
19059 # Fast installation is not necessary
19060 enable_fast_install
=needless
19071 compiler_GCJ
=${GCJ-gcj}
19073 ac_cpp
='$CPP $CPPFLAGS'
19074 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19075 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19076 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19079 if test "x$CC" != xcc
; then
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
19081 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
19084 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
19086 set dummy
$CC; ac_cc
=`$as_echo "$2" |
19087 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19088 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
19089 $as_echo_n "(cached) " >&6
19091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19102 # Make sure it works both with $CC and with simple cc.
19103 # We do the test twice because some compilers refuse to overwrite an
19104 # existing .o file with -o, though they will create one.
19105 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19107 if { { case "(($ac_try" in
19108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19109 *) ac_try_echo=$ac_try;;
19111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19112 $as_echo "$ac_try_echo"; } >&5
19113 (eval "$ac_try") 2>&5
19115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19116 test $ac_status = 0; } &&
19117 test -f conftest2.$ac_objext && { { case "(($ac_try" in
19118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19119 *) ac_try_echo
=$ac_try;;
19121 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19122 $as_echo "$ac_try_echo"; } >&5
19123 (eval "$ac_try") 2>&5
19125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19126 test $ac_status = 0; };
19128 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
19129 if test "x$CC" != xcc
; then
19130 # Test first that cc exists at all.
19131 if { ac_try
='cc -c conftest.$ac_ext >&5'
19132 { { case "(($ac_try" in
19133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19134 *) ac_try_echo=$ac_try;;
19136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19137 $as_echo "$ac_try_echo"; } >&5
19138 (eval "$ac_try") 2>&5
19140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19141 test $ac_status = 0; }; }; then
19142 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19144 if { { case "(($ac_try" in
19145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19146 *) ac_try_echo
=$ac_try;;
19148 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19149 $as_echo "$ac_try_echo"; } >&5
19150 (eval "$ac_try") 2>&5
19152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19153 test $ac_status = 0; } &&
19154 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
19155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19159 $as_echo "$ac_try_echo"; } >&5
19160 (eval "$ac_try") 2>&5
19162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19163 test $ac_status = 0; };
19168 # cc exists but doesn't like -o.
19169 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19174 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19176 rm -f core conftest*
19179 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19181 $as_echo "yes" >&6; }
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19184 $as_echo "no" >&6; }
19186 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
19190 # FIXME: we rely on the cache variable name because
19191 # there is no other way.
19193 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19194 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
19195 if test "$am_t" != yes; then
19196 # Losing compiler, so override with the script.
19197 # FIXME: It is wrong to rewrite CC.
19198 # But if we don't then we get into trouble of one sort or another.
19199 # A longer-term fix would be to have automake use am__CC in this case,
19200 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
19201 CC="$am_aux_dir/compile $CC"
19208 subdirs="$subdirs classpath libltdl"
19211 # The -no-testsuite modules omit the test subdir.
19212 if test -d $srcdir/testsuite; then
19214 TESTSUBDIR_FALSE='#'
19216 TESTSUBDIR_TRUE='#'
19221 # Should the runtime set system properties by examining the
19222 # environment variable GCJ_PROPERTIES?
19223 # Check whether --enable-getenv-properties was given.
19224 if test "${enable_getenv_properties+set}" = set; then :
19225 enableval=$enable_getenv_properties;
19229 # Whether GCJ_PROPERTIES is used depends on the target.
19230 if test -z "$enable_getenv_properties"; then
19231 enable_getenv_properties=${enable_getenv_properties_default-yes}
19233 if test "$enable_getenv_properties" = no; then
19235 $as_echo "#define DISABLE_GETENV_PROPERTIES 1" >>confdefs.h
19239 # Whether we should use arguments to main()
19240 if test -z "$enable_main_args"; then
19241 enable_main_args=${enable_main_args_default-yes}
19243 if test "$enable_main_args" = no; then
19245 $as_echo "#define DISABLE_MAIN_ARGS 1" >>confdefs.h
19250 # Should we use hashtable-based synchronization?
19251 # Currently works only for Linux X86/ia64
19252 # Typically faster and more space-efficient
19253 # Check whether --enable-hash-synchronization was given.
19254 if test "${enable_hash_synchronization+set}" = set; then :
19255 enableval=$enable_hash_synchronization;
19259 if test -z "$enable_hash_synchronization"; then
19260 enable_hash_synchronization=$enable_hash_synchronization_default
19268 # Check whether --with-ecj-jar was given.
19269 if test "${with_ecj_jar+set}" = set; then :
19270 withval=$with_ecj_jar; ECJ_JAR=$withval
19272 if test -f $multi_basedir/ecj.jar; then
19273 ECJ_BUILD_JAR=$multi_basedir/ecj.jar
19274 ECJ_JAR='$(jardir)/ecj.jar'
19275 install_ecj_jar=yes
19281 if test "$ECJ_JAR" != ""; then
19283 BUILD_ECJ1_FALSE='#'
19285 BUILD_ECJ1_TRUE='#'
19289 if test $install_ecj_jar = yes; then
19290 INSTALL_ECJ_JAR_TRUE=
19291 INSTALL_ECJ_JAR_FALSE='#'
19293 INSTALL_ECJ_JAR_TRUE='#'
19294 INSTALL_ECJ_JAR_FALSE=
19299 # Check whether --with-java-home was given.
19300 if test "${with_java_home+set}" = set; then :
19301 withval=$with_java_home; JAVA_HOME="${withval}"
19306 if test ! -z "$JAVA_HOME"; then
19307 JAVA_HOME_SET_TRUE=
19308 JAVA_HOME_SET_FALSE='#'
19310 JAVA_HOME_SET_TRUE='#'
19311 JAVA_HOME_SET_FALSE=
19316 suppress_libgcj_bc=no
19317 # Check whether --enable-libgcj-bc was given.
19318 if test "${enable_libgcj_bc+set}" = set; then :
19319 enableval=$enable_libgcj_bc; if test "$enable_libgcj_bc" = "no"; then
19320 suppress_libgcj_bc=yes
19324 if test "$suppress_libgcj_bc" = "yes"; then
19325 SUPPRESS_LIBGCJ_BC_TRUE=
19326 SUPPRESS_LIBGCJ_BC_FALSE='#'
19328 SUPPRESS_LIBGCJ_BC_TRUE='#'
19329 SUPPRESS_LIBGCJ_BC_FALSE=
19333 build_libgcj_reduced_reflection=no
19334 # Check whether --enable-reduced-reflection was given.
19335 if test "${enable_reduced_reflection+set}" = set; then :
19336 enableval=$enable_reduced_reflection; if test "$enable_reduced_reflection" = "yes"; then
19337 build_libgcj_reduced_reflection=yes
19341 if test "$build_libgcj_reduced_reflection" = "yes"; then
19342 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE=
19343 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE='#'
19345 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE='#'
19346 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE=
19350 # What is the native OS API for MinGW?
19352 # Check whether --with-win32-nlsapi was given.
19353 if test "${with_win32_nlsapi+set}" = set; then :
19354 withval=$with_win32_nlsapi; case "${withval}" in
19355 ansi) with_win32_nlsapi=ansi ;;
19356 unicows) with_win32_nlsapi=unicows ;;
19357 unicode) with_win32_nlsapi=unicode ;;
19358 *) as_fn_error "Bad value ${withval} for --with-win32-nlsapi." "$LINENO" 5 ;;
19361 with_win32_nlsapi=ansi
19365 case "${with_win32_nlsapi}" in
19368 $as_echo "#define MINGW_LIBGCJ_UNICODE 1" >>confdefs.h
19373 # configure.host sets slow_pthread_self if the synchronization code should
19374 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
19375 if test "${slow_pthread_self}" = "yes"; then
19377 $as_echo "#define SLOW_PTHREAD_SELF 1" >>confdefs.h
19381 # Check for gc debugging. This option is handled both here and in the GC.
19382 # Check whether --enable-gc-debug was given.
19383 if test "${enable_gc_debug+set}" = set; then :
19384 enableval=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
19386 $as_echo "#define LIBGCJ_GC_DEBUG 1" >>confdefs.h
19392 # See if the user has the interpreter included.
19393 # Check whether --enable-interpreter was given.
19394 if test "${enable_interpreter+set}" = set; then :
19395 enableval=$enable_interpreter; if test "$enable_interpreter" = yes; then
19396 # This can also be set in configure.host.
19397 libgcj_interpreter=yes
19398 elif test "$enable_interpreter" = no; then
19399 libgcj_interpreter=no
19404 if test "$libgcj_interpreter" = yes; then
19406 $as_echo "#define INTERPRETER 1" >>confdefs.h
19409 INTERPRETER="$libgcj_interpreter"
19411 if test "$libgcj_interpreter" = yes; then
19413 INTERPRETER_FALSE='#'
19415 INTERPRETER_TRUE='#'
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
19421 $as_echo_n "checking for exception model to use... " >&6; }
19423 ac_cpp='$CXXCPP $CPPFLAGS'
19424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19428 # Check whether --enable-sjlj-exceptions was given.
19429 if test "${enable_sjlj_exceptions+set}" = set; then :
19430 enableval=$enable_sjlj_exceptions; :
19432 cat > conftest.$ac_ext << EOF
19433 #line 19433 "configure"
19434 struct S { ~S(); };
19442 old_CXXFLAGS="$CXXFLAGS"
19444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19445 (eval $ac_compile) 2>&5
19447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19448 test $ac_status = 0; }; then
19449 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
19450 enable_sjlj_exceptions=yes
19451 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
19452 enable_sjlj_exceptions=no
19453 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
19455 enable_sjlj_exceptions=no
19458 CXXFLAGS="$old_CXXFLAGS"
19462 if test x$enable_sjlj_exceptions = xyes; then
19464 $as_echo "#define SJLJ_EXCEPTIONS 1" >>confdefs.h
19466 ac_exception_model_name=sjlj
19467 elif test x$enable_sjlj_exceptions = xno; then
19468 ac_exception_model_name="call frame"
19470 as_fn_error "unable to detect exception model" "$LINENO" 5
19473 ac_cpp='$CPP $CPPFLAGS'
19474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
19479 $as_echo "$ac_exception_model_name" >&6; }
19481 # If we are non using SJLJ exceptions, and this host does not have support
19482 # for unwinding from a signal handler, enable checked dereferences and divides.
19483 if test $can_unwind_signal = no && test $enable_sjlj_exceptions = no; then
19484 CHECKREFSPEC=-fcheck-references
19485 DIVIDESPEC=-fuse-divide-subroutine
19489 # See if the user wants to disable java.net. This is the mildly
19490 # ugly way that we admit that target-side configuration sucks.
19491 # Check whether --enable-java-net was given.
19492 if test "${enable_java_net+set}" = set; then :
19493 enableval=$enable_java_net;
19497 # Whether java.net is built by default can depend on the target.
19498 if test -z "$enable_java_net"; then
19499 enable_java_net=${enable_java_net_default-yes}
19501 if test "$enable_java_net" = no; then
19503 $as_echo "#define DISABLE_JAVA_NET 1" >>confdefs.h
19507 # See if the user wants to configure without libffi. Some
19508 # architectures don't support it, and default values are set in
19511 # Check whether --with-libffi was given.
19512 if test "${with_libffi+set}" = set; then :
19513 withval=$with_libffi; :
19515 with_libffi=${with_libffi_default-yes}
19521 if test "$with_libffi" != no; then
19523 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
19525 LIBFFI=../libffi/libffi_convenience.la
19526 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include'
19531 # See if the user wants to disable JVMPI support.
19532 # Check whether --enable-jvmpi was given.
19533 if test "${enable_jvmpi+set}" = set; then :
19534 enableval=$enable_jvmpi;
19538 if test "$enable_jvmpi" != no; then
19540 $as_echo "#define ENABLE_JVMPI 1" >>confdefs.h
19544 # If the target is an eCos system, use the appropriate eCos
19546 # FIXME: this should not be a local option but a global target
19547 # system; at present there is no eCos target.
19548 TARGET_ECOS=${PROCESS-"no"}
19550 # Check whether --with-ecos was given.
19551 if test "${with_ecos+set}" = set; then :
19552 withval=$with_ecos; TARGET_ECOS="$with_ecos"
19557 case "$TARGET_ECOS" in
19558 no) case "$host" in
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'ld' is at least 2.13" >&5
19565 $as_echo_n "checking whether 'ld' is at least 2.13... " >&6; }
19566 LD_PROG=`$CC --print-prog-name=ld
`
19567 LD_VERSION=`$LD_PROG --version`
19568 LD_VERSION_MAJOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 1 | cut
-d ' ' -f 4`
19569 LD_VERSION_MINOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 2`
19570 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
19573 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then
19577 if test "x$LD_OK" != x; then
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19579 $as_echo "yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19582 $as_echo "no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
19584 $as_echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
19586 $as_echo "#define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1" >>confdefs.h
19601 $as_echo "#define ECOS 1" >>confdefs.h
19607 ac_config_links="$ac_config_links include/platform.h:include/$PLATFORMH"
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19612 #include <stdint.h>
19615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19616 $EGREP "uint32_t" >/dev/null 2>&1; then :
19618 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625 #include <inttypes.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 <sys/types.h>
19641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19642 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19644 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19650 /* end confdefs.h. */
19651 #include <sys/config.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
19663 if test "$PLATFORM" = Win32; then
19664 USING_WIN32_PLATFORM_TRUE=
19665 USING_WIN32_PLATFORM_FALSE='#'
19667 USING_WIN32_PLATFORM_TRUE='#'
19668 USING_WIN32_PLATFORM_FALSE=
19671 if test "$PLATFORM" = Posix || test "$PLATFORM" = Ecos; then
19672 USING_POSIX_PLATFORM_TRUE=
19673 USING_POSIX_PLATFORM_FALSE='#'
19675 USING_POSIX_PLATFORM_TRUE='#'
19676 USING_POSIX_PLATFORM_FALSE=
19681 *-darwin*) DARWIN_CRT=true ;;
19682 *) DARWIN_CRT=false ;;
19684 if $DARWIN_CRT; then
19685 USING_DARWIN_CRT_TRUE=
19686 USING_DARWIN_CRT_FALSE='#'
19688 USING_DARWIN_CRT_TRUE='#'
19689 USING_DARWIN_CRT_FALSE=
19693 # This may not be defined in a non-ANS conformant embedded system.
19694 # FIXME: Should these case a runtime exception in that case?
19695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h. */
19700 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19701 $EGREP "localtime" >/dev/null 2>&1; then :
19703 $as_echo "#define HAVE_LOCALTIME 1" >>confdefs.h
19709 # Create the subdirectory for natFile.cc, or the attempt
19710 # to create the link will fail.
19711 test -d java || mkdir java
19712 test -d java/io || mkdir java/io
19713 test -d gnu || mkdir gnu
19714 ac_config_links="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
19717 # Likewise for natConcreteProcess.cc.
19718 test -d java/lang || mkdir java/lang
19719 ac_config_links="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
19722 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
19723 test -d java/net || mkdir java/net
19724 ac_config_links="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
19726 ac_config_links="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
19729 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
19730 test -d gnu/java || mkdir gnu/java
19731 test -d gnu/java/net || mkdir gnu/java/net
19732 ac_config_links="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
19734 ac_config_links="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
19737 # Likewise for natVMPipe.cc and natVMSelector.cc.
19738 test -d gnu/java/nio || mkdir gnu/java/nio
19739 ac_config_links="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
19741 ac_config_links="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
19744 # Likewise for natFileChannelImpl.cc
19745 test -d gnu/java/nio/channels || mkdir gnu/java/nio/channels
19746 ac_config_links="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
19749 # Likewise for natVMSecureRandom.cc
19750 test -d gnu/java/security || mkdir gnu/java/security
19751 test -d gnu/java/security/jce || mkdir gnu/java/security/jce
19752 test -d gnu/java/security/jce/prng || mkdir gnu/java/security/jce/prng
19753 ac_config_links="$ac_config_links gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc"
19758 SYSTEMSPEC="-lgdi32 -lws2_32"
19759 if test "${with_win32_nlsapi}" = "unicows"; then
19760 SYSTEMSPEC="-lunicows $SYSTEMSPEC"
19764 SYSTEMSPEC="-allow_stack_execute"
19773 # Check whether --with-system-zlib was given.
19774 if test "${with_system_zlib+set}" = set; then :
19775 withval=$with_system_zlib;
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19784 $as_echo_n "checking for X... " >&6; }
19787 # Check whether --with-x was given.
19788 if test "${with_x+set}" = set; then :
19792 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19793 if test "x$with_x" = xno; then
19794 # The user explicitly disabled X.
19797 case $x_includes,$x_libraries in #(
19798 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
19799 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19800 $as_echo_n "(cached) " >&6
19802 # One or both of the vars are not set, and there is no cached value.
19803 ac_x_includes=no ac_x_libraries=no
19804 rm -f -r conftest.dir
19805 if mkdir conftest.dir; then
19807 cat >Imakefile <<'_ACEOF'
19809 @echo incroot='${INCROOT}'
19811 @echo usrlibdir='${USRLIBDIR}'
19813 @echo libdir='${LIBDIR}'
19815 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19816 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19817 for ac_var in incroot usrlibdir libdir; do
19818 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
19820 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19821 for ac_extension in a so sl dylib la dll; do
19822 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19823 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19824 ac_im_usrlibdir=$ac_im_libdir; break
19827 # Screen out bogus values from the imake configuration. They are
19828 # bogus both because they are the default anyway, and because
19829 # using them would break gcc on systems where it needs fixed includes.
19830 case $ac_im_incroot in
19831 /usr/include) ac_x_includes= ;;
19832 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19834 case $ac_im_usrlibdir in
19835 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19836 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19840 rm -f -r conftest.dir
19843 # Standard set of common directories for X headers.
19844 # Check X11 before X11Rn because it is often a symlink to the current release.
19858 /usr/local/X11/include
19859 /usr/local/X11R7/include
19860 /usr/local/X11R6/include
19861 /usr/local/X11R5/include
19862 /usr/local/X11R4/include
19864 /usr/local/include/X11
19865 /usr/local/include/X11R7
19866 /usr/local/include/X11R6
19867 /usr/local/include/X11R5
19868 /usr/local/include/X11R4
19872 /usr/XFree86/include/X11
19876 /usr/unsupported/include
19877 /usr/athena/include
19878 /usr/local/x11r5/include
19879 /usr/lpp/Xamples/include
19881 /usr/openwin/include
19882 /usr/openwin/share/include'
19884 if test "$ac_x_includes" = no; then
19885 # Guess where to find include files, by looking for Xlib.h.
19886 # First, try using that file with no special directory specified.
19887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19888 /* end confdefs.h. */
19889 #include <X11/Xlib.h>
19891 if ac_fn_c_try_cpp "$LINENO"; then :
19892 # We can compile using X headers with no special include directory.
19895 for ac_dir in $ac_x_header_dirs; do
19896 if test -r "$ac_dir/X11/Xlib.h"; then
19897 ac_x_includes=$ac_dir
19902 rm -f conftest.err conftest.$ac_ext
19903 fi # $ac_x_includes = no
19905 if test "$ac_x_libraries" = no; then
19906 # Check for the libraries.
19907 # See if we find them without any special options.
19908 # Don't add to $LIBS permanently.
19911 if test x$gcc_no_link = xyes; then
19912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19915 /* end confdefs.h. */
19916 #include <X11/Xlib.h>
19925 if ac_fn_c_try_link "$LINENO"; then :
19927 # We can link X programs with no special library path.
19931 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
19933 # Don't even attempt the hair of trying to link an X program!
19934 for ac_extension in a so sl dylib la dll; do
19935 if test -r "$ac_dir/libX11.$ac_extension"; then
19936 ac_x_libraries=$ac_dir
19942 rm -f core conftest.err conftest.$ac_objext \
19943 conftest$ac_exeext conftest.$ac_ext
19944 fi # $ac_x_libraries = no
19946 case $ac_x_includes,$ac_x_libraries in #(
19947 no,* | *,no | *\'*)
19948 # Didn't find X, or a directory has "'" in its name.
19949 ac_cv_have_x="have_x=no";; #(
19951 # Record where we found X for the cache.
19952 ac_cv_have_x="have_x=yes\
19953 ac_x_includes='$ac_x_includes'\
19954 ac_x_libraries='$ac_x_libraries'"
19960 eval "$ac_cv_have_x"
19963 if test "$have_x" != yes; then
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
19965 $as_echo "$have_x" >&6; }
19968 # If each of the values was on the command line, it overrides each guess.
19969 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
19970 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
19971 # Update the cache value to reflect the command line values.
19972 ac_cv_have_x="have_x=yes\
19973 ac_x_includes='$x_includes'\
19974 ac_x_libraries='$x_libraries'"
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
19976 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
19979 if test "$no_x" = yes; then
19980 # Not all programs may use this symbol, but it does not hurt to define it.
19982 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
19984 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
19986 if test -n "$x_includes"; then
19987 X_CFLAGS="$X_CFLAGS -I$x_includes"
19990 # It would also be nice to do this for all -L options, not just this one.
19991 if test -n "$x_libraries"; then
19992 X_LIBS="$X_LIBS -L$x_libraries"
19993 # For Solaris; some versions of Sun CC require a space after -R and
19994 # others require no space. Words are not sufficient . . . .
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
19996 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
19997 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
19998 ac_xsave_c_werror_flag=$ac_c_werror_flag
19999 ac_c_werror_flag=yes
20000 if test x$gcc_no_link = xyes; then
20001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20014 if ac_fn_c_try_link "$LINENO"; then :
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20016 $as_echo "no" >&6; }
20017 X_LIBS="$X_LIBS -R$x_libraries"
20019 LIBS="$ac_xsave_LIBS -R $x_libraries"
20020 if test x$gcc_no_link = xyes; then
20021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20034 if ac_fn_c_try_link "$LINENO"; then :
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20036 $as_echo "yes" >&6; }
20037 X_LIBS="$X_LIBS -R $x_libraries"
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20040 $as_echo "neither works" >&6; }
20042 rm -f core conftest.err conftest.$ac_objext \
20043 conftest$ac_exeext conftest.$ac_ext
20045 rm -f core conftest.err conftest.$ac_objext \
20046 conftest$ac_exeext conftest.$ac_ext
20047 ac_c_werror_flag=$ac_xsave_c_werror_flag
20048 LIBS=$ac_xsave_LIBS
20051 # Check for system-dependent libraries X programs must link with.
20052 # Do this before checking for the system-independent R6 libraries
20053 # (-lICE), since we may need -lsocket or whatever for X linking.
20055 if test "$ISC" = yes; then
20056 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20058 # Martyn Johnson says this is needed for Ultrix, if the X
20059 # libraries were built with DECnet support. And Karl Berry says
20060 # the Alpha needs dnet_stub (dnet does not exist).
20061 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20062 if test x$gcc_no_link = xyes; then
20063 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20066 /* end confdefs.h. */
20068 /* Override any GCC internal prototype to avoid an error.
20069 Use char because int might match the return type of a GCC
20070 builtin and then its argument prototype would still apply. */
20074 char XOpenDisplay ();
20078 return XOpenDisplay ();
20083 if ac_fn_c_try_link "$LINENO"; then :
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20087 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20088 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
20089 $as_echo_n "(cached) " >&6
20091 ac_check_lib_save_LIBS=$LIBS
20092 LIBS="-ldnet $LIBS"
20093 if test x$gcc_no_link = xyes; then
20094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20097 /* end confdefs.h. */
20099 /* Override any GCC internal prototype to avoid an error.
20100 Use char because int might match the return type of a GCC
20101 builtin and then its argument prototype would still apply. */
20109 return dnet_ntoa ();
20114 if ac_fn_c_try_link "$LINENO"; then :
20115 ac_cv_lib_dnet_dnet_ntoa=yes
20117 ac_cv_lib_dnet_dnet_ntoa=no
20119 rm -f core conftest.err conftest.$ac_objext \
20120 conftest$ac_exeext conftest.$ac_ext
20121 LIBS=$ac_check_lib_save_LIBS
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20124 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20125 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
20126 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20129 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20131 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20132 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
20133 $as_echo_n "(cached) " >&6
20135 ac_check_lib_save_LIBS=$LIBS
20136 LIBS="-ldnet_stub $LIBS"
20137 if test x$gcc_no_link = xyes; then
20138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h. */
20143 /* Override any GCC internal prototype to avoid an error.
20144 Use char because int might match the return type of a GCC
20145 builtin and then its argument prototype would still apply. */
20153 return dnet_ntoa ();
20158 if ac_fn_c_try_link "$LINENO"; then :
20159 ac_cv_lib_dnet_stub_dnet_ntoa=yes
20161 ac_cv_lib_dnet_stub_dnet_ntoa=no
20163 rm -f core conftest.err conftest.$ac_objext \
20164 conftest$ac_exeext conftest.$ac_ext
20165 LIBS=$ac_check_lib_save_LIBS
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20168 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20169 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
20170 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20175 rm -f core conftest.err conftest.$ac_objext \
20176 conftest$ac_exeext conftest.$ac_ext
20177 LIBS="$ac_xsave_LIBS"
20179 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20180 # to get the SysV transport functions.
20181 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20183 # The nsl library prevents programs from opening the X display
20184 # on Irix 5.2, according to T.E. Dickey.
20185 # The functions gethostbyname, getservbyname, and inet_addr are
20186 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20187 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20188 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
20192 if test $ac_cv_func_gethostbyname = no; then
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20194 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20195 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20196 $as_echo_n "(cached) " >&6
20198 ac_check_lib_save_LIBS=$LIBS
20200 if test x$gcc_no_link = xyes; then
20201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20206 /* Override any GCC internal prototype to avoid an error.
20207 Use char because int might match the return type of a GCC
20208 builtin and then its argument prototype would still apply. */
20212 char gethostbyname ();
20216 return gethostbyname ();
20221 if ac_fn_c_try_link "$LINENO"; then :
20222 ac_cv_lib_nsl_gethostbyname=yes
20224 ac_cv_lib_nsl_gethostbyname=no
20226 rm -f core conftest.err conftest.$ac_objext \
20227 conftest$ac_exeext conftest.$ac_ext
20228 LIBS=$ac_check_lib_save_LIBS
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20231 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20232 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20236 if test $ac_cv_lib_nsl_gethostbyname = no; then
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20238 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20239 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20240 $as_echo_n "(cached) " >&6
20242 ac_check_lib_save_LIBS=$LIBS
20244 if test x$gcc_no_link = xyes; then
20245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20248 /* end confdefs.h. */
20250 /* Override any GCC internal prototype to avoid an error.
20251 Use char because int might match the return type of a GCC
20252 builtin and then its argument prototype would still apply. */
20256 char gethostbyname ();
20260 return gethostbyname ();
20265 if ac_fn_c_try_link "$LINENO"; then :
20266 ac_cv_lib_bsd_gethostbyname=yes
20268 ac_cv_lib_bsd_gethostbyname=no
20270 rm -f core conftest.err conftest.$ac_objext \
20271 conftest$ac_exeext conftest.$ac_ext
20272 LIBS=$ac_check_lib_save_LIBS
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20275 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20276 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20277 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20283 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20284 # socket/setsockopt and other routines are undefined under SCO ODT
20285 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20286 # on later versions), says Simon Leinen: it contains gethostby*
20287 # variants that don't use the name server (or something). -lsocket
20288 # must be given before -lnsl if both are needed. We assume that
20289 # if connect needs -lnsl, so does gethostbyname.
20290 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20291 if test "x$ac_cv_func_connect" = x""yes; then :
20295 if test $ac_cv_func_connect = no; then
20296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20297 $as_echo_n "checking for connect in -lsocket... " >&6; }
20298 if test "${ac_cv_lib_socket_connect+set}" = set; then :
20299 $as_echo_n "(cached) " >&6
20301 ac_check_lib_save_LIBS=$LIBS
20302 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20303 if test x$gcc_no_link = xyes; then
20304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20307 /* end confdefs.h. */
20309 /* Override any GCC internal prototype to avoid an error.
20310 Use char because int might match the return type of a GCC
20311 builtin and then its argument prototype would still apply. */
20324 if ac_fn_c_try_link "$LINENO"; then :
20325 ac_cv_lib_socket_connect=yes
20327 ac_cv_lib_socket_connect=no
20329 rm -f core conftest.err conftest.$ac_objext \
20330 conftest$ac_exeext conftest.$ac_ext
20331 LIBS=$ac_check_lib_save_LIBS
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20334 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20335 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20336 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20341 # Guillermo Gomez says -lposix is necessary on A/UX.
20342 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20343 if test "x$ac_cv_func_remove" = x""yes; then :
20347 if test $ac_cv_func_remove = no; then
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20349 $as_echo_n "checking for remove in -lposix... " >&6; }
20350 if test "${ac_cv_lib_posix_remove+set}" = set; then :
20351 $as_echo_n "(cached) " >&6
20353 ac_check_lib_save_LIBS=$LIBS
20354 LIBS="-lposix $LIBS"
20355 if test x$gcc_no_link = xyes; then
20356 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20359 /* end confdefs.h. */
20361 /* Override any GCC internal prototype to avoid an error.
20362 Use char because int might match the return type of a GCC
20363 builtin and then its argument prototype would still apply. */
20376 if ac_fn_c_try_link "$LINENO"; then :
20377 ac_cv_lib_posix_remove=yes
20379 ac_cv_lib_posix_remove=no
20381 rm -f core conftest.err conftest.$ac_objext \
20382 conftest$ac_exeext conftest.$ac_ext
20383 LIBS=$ac_check_lib_save_LIBS
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20386 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20387 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20393 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20394 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20395 if test "x$ac_cv_func_shmat" = x""yes; then :
20399 if test $ac_cv_func_shmat = no; then
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20401 $as_echo_n "checking for shmat in -lipc... " >&6; }
20402 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20403 $as_echo_n "(cached) " >&6
20405 ac_check_lib_save_LIBS=$LIBS
20407 if test x$gcc_no_link = xyes; then
20408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20411 /* end confdefs.h. */
20413 /* Override any GCC internal prototype to avoid an error.
20414 Use char because int might match the return type of a GCC
20415 builtin and then its argument prototype would still apply. */
20428 if ac_fn_c_try_link "$LINENO"; then :
20429 ac_cv_lib_ipc_shmat=yes
20431 ac_cv_lib_ipc_shmat=no
20433 rm -f core conftest.err conftest.$ac_objext \
20434 conftest$ac_exeext conftest.$ac_ext
20435 LIBS=$ac_check_lib_save_LIBS
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20438 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20439 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20440 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20446 # Check for libraries that X11R6 Xt/Xaw programs need.
20447 ac_save_LDFLAGS=$LDFLAGS
20448 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20449 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20450 # check for ICE first), but we must link in the order -lSM -lICE or
20451 # we get undefined symbols. So assume we have SM if we have ICE.
20452 # These have to be linked with before -lX11, unlike the other
20453 # libraries we check for below, so use a different variable.
20454 # John Interrante, Karl Berry
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20456 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20457 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20458 $as_echo_n "(cached) " >&6
20460 ac_check_lib_save_LIBS=$LIBS
20461 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20462 if test x$gcc_no_link = xyes; then
20463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20466 /* end confdefs.h. */
20468 /* Override any GCC internal prototype to avoid an error.
20469 Use char because int might match the return type of a GCC
20470 builtin and then its argument prototype would still apply. */
20474 char IceConnectionNumber ();
20478 return IceConnectionNumber ();
20483 if ac_fn_c_try_link "$LINENO"; then :
20484 ac_cv_lib_ICE_IceConnectionNumber=yes
20486 ac_cv_lib_ICE_IceConnectionNumber=no
20488 rm -f core conftest.err conftest.$ac_objext \
20489 conftest$ac_exeext conftest.$ac_ext
20490 LIBS=$ac_check_lib_save_LIBS
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20493 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20494 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20495 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20498 LDFLAGS=$ac_save_LDFLAGS
20503 # FIXME: this should be _libs on some hosts.
20506 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20509 # extra LD Flags which are required for targets
20512 # For now we have to disable it on darwin[8-9] because it slows down
20513 # the linking phase. A possible bug in ld?
20514 # on Darwin -single_module speeds up loading of the dynamic libraries.
20515 extra_ldflags_libjava=-Wl,-single_module
20518 # Some of the ARM unwinder code is actually in libstdc++. We
20519 # could in principle replicate it in libgcj, but it's better to
20520 # have a dependency on libstdc++.
20521 extra_ldflags='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20522 LIBSTDCXXSPEC=-lstdc++
20523 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20526 extra_ldflags_libjava=-liconv
20530 # Check for --no-merge-exidx-entries, an ARM-specific linker option.
20531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --no-merge-exidx-entries" >&5
20532 $as_echo_n "checking for --no-merge-exidx-entries... " >&6; }
20533 if test "${libgcj_cv_exidx+set}" = set; then :
20534 $as_echo_n "(cached) " >&6
20536 saved_ldflags="$LDFLAGS"
20537 LDFLAGS="${LDFLAGS} -Wl,--no-merge-exidx-entries"
20538 # The IRIX 6 ld doesn't recognize --no-merge-exidx-entries, but only
20539 # warns about unknown options, which breaks the testsuite. So enable
20540 # AC_LANG_WERROR, but there's currently (autoconf 2.64) no way to turn
20541 # it off again. As a workaround, save and restore werror flag like
20543 ac_xsave_c_werror_flag=$ac_c_werror_flag
20545 ac_c_werror_flag=yes
20546 if test x$gcc_no_link = xyes; then
20547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20550 /* end confdefs.h. */
20551 int main(void){ return 0;}
20553 if ac_fn_c_try_link "$LINENO"; then :
20554 eval "libgcj_cv_exidx=yes"
20556 eval "libgcj_cv_exidx=no"
20558 rm -f core conftest.err conftest.$ac_objext \
20559 conftest$ac_exeext conftest.$ac_ext
20560 ac_c_werror_flag=$ac_xsave_c_werror_flag
20561 LDFLAGS="${saved_ldflags}"
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcj_cv_exidx" >&5
20565 $as_echo "$libgcj_cv_exidx" >&6; }
20566 if test "${libgcj_cv_exidx}" = "yes"; then
20567 SYSTEMSPEC="${SYSTEMSPEC} --no-merge-exidx-entries"
20568 extra_ldflags="${extra_ldflags} -Wl,--no-merge-exidx-entries"
20577 # Allow the GC to be disabled. Can be useful when debugging.
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for garbage collector to use" >&5
20579 $as_echo_n "checking for garbage collector to use... " >&6; }
20580 # Check whether --enable-java-gc was given.
20581 if test "${enable_java_gc+set}" = set; then :
20582 enableval=$enable_java_gc; GC=$enableval
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: boehm" >&5
20596 $as_echo "boehm" >&6; }
20597 GCLIBS=../boehm-gc/libgcjgc_convenience.la
20598 JC1GCSPEC='-fuse-boehm-gc'
20599 GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20600 GCINCS='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20603 # The POSIX thread support needs to know this.
20605 $as_echo "#define HAVE_BOEHM_GC 1" >>confdefs.h
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
20610 $as_echo "none" >&6; }
20614 as_fn_error "unrecognized collector \"$GC\"" "$LINENO" 5
20623 ac_config_links="$ac_config_links include/java-gc.h:include/$GCHDR"
20625 if test "$GC" = boehm; then
20626 USING_BOEHMGC_TRUE=
20627 USING_BOEHMGC_FALSE='#'
20629 USING_BOEHMGC_TRUE='#'
20630 USING_BOEHMGC_FALSE=
20633 if test "$GC" = no; then
20635 USING_NOGC_FALSE='#'
20637 USING_NOGC_TRUE='#'
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
20644 $as_echo_n "checking for thread model used by GCC... " >&6; }
20645 THREADS=`$CC -v 2>&1 |
sed -n 's/^Thread model: //p'`
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
20647 $as_echo "$THREADS" >&6; }
20650 no | none | single)
20653 aix | posix | posix95 | pthreads)
20658 $as_echo "#define LINUX_THREADS 1" >>confdefs.h
20665 decosf1 | irix | mach | os2 | solaris | dce | vxworks)
20666 as_fn_error "thread package $THREADS not yet supported" "$LINENO" 5
20669 as_fn_error "$THREADS is an unknown thread package" "$LINENO" 5
20680 THREADSTARTFILESPEC=
20685 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20687 *-*-freebsd[1234]*)
20688 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20689 # merely adds pthread_* functions) but it does have a -pthread switch
20690 # which is required at link-time to select -lc_r *instead* of -lc.
20691 THREADLDFLAGS=-pthread
20692 # Don't set THREADSPEC here as might be expected since -pthread is
20693 # not processed when found within a spec file, it must come from
20694 # the command line. For now, the user must provide the -pthread
20695 # switch to link code compiled with gcj. In future, consider adding
20696 # support for weak references to pthread_* functions ala gthr.h API.
20697 THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20700 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20701 # systems which support threads and -lpthread.
20702 THREADLDFLAGS=-pthread
20703 THREADSPEC=-lpthread
20705 alpha*-dec-osf* | hppa*-hp-hpux*)
20706 THREADCXXFLAGS=-pthread
20707 # boehm-gc needs some functions from librt, so link that too.
20708 THREADLIBS='-lpthread -lrt'
20709 THREADSPEC='-lpthread -lrt'
20712 THREADLIBS=-lpthread
20713 THREADSPEC=-lpthread
20716 THREADH=posix-threads.h
20717 # MIT pthreads doesn't seem to have the mutexattr functions.
20718 # But for now we don't check for it. We just assume you aren't
20719 # using MIT pthreads.
20721 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20724 # If we're using the Boehm GC, then we happen to know that it
20725 # defines _REENTRANT, so we don't bother. Eww.
20726 if test "$GC" != boehm; then
20728 $as_echo "#define _REENTRANT 1" >>confdefs.h
20732 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
20737 THREADH=win32-threads.h
20738 THREADCXXFLAGS=-mthreads
20739 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20740 # But we do not want the executables created to be dependent on
20741 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20742 # exception handling contexts. The following kludge achieves this effect
20743 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20744 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20745 # A workaround is to explicitly use -mthreads while linking Java programs.
20746 # See PR libgcj/28263.
20748 # FIXME: In Java we are able to detect thread death at the end of
20749 # Thread.run() so we should be able to clean up the exception handling
20750 # contexts ourselves.
20751 THREADSTARTFILESPEC='crtmt%O%s'
20755 THREADH=no-threads.h
20758 ac_config_links="$ac_config_links include/java-threads.h:include/$THREADH"
20767 if test "$THREADS" = posix; then
20768 USING_POSIX_THREADS_TRUE=
20769 USING_POSIX_THREADS_FALSE='#'
20771 USING_POSIX_THREADS_TRUE='#'
20772 USING_POSIX_THREADS_FALSE=
20775 if test "$THREADS" = win32; then
20776 USING_WIN32_THREADS_TRUE=
20777 USING_WIN32_THREADS_FALSE='#'
20779 USING_WIN32_THREADS_TRUE='#'
20780 USING_WIN32_THREADS_FALSE=
20783 if test "$THREADS" = none; then
20784 USING_NO_THREADS_TRUE=
20785 USING_NO_THREADS_FALSE='#'
20787 USING_NO_THREADS_TRUE='#'
20788 USING_NO_THREADS_FALSE=
20791 if test "$enable_shared" != yes; then
20794 if test "$use_libgcj_bc" = yes; then
20795 USE_LIBGCJ_BC_TRUE=
20796 USE_LIBGCJ_BC_FALSE='#'
20798 USE_LIBGCJ_BC_TRUE='#'
20799 USE_LIBGCJ_BC_FALSE=
20803 if test -d sysdep; then true; else mkdir sysdep; fi
20804 ac_config_links="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20806 ac_config_links="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20808 ac_config_links="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20811 LIBGCJ_SPEC_LGCJ=-lgcj
20812 LIBGCJ_SPEC_LGCJ_BC=-lgcj_bc
20813 if test x"$libgcj_spec_lgcj_override" != x ; then
20814 LIBGCJ_SPEC_LGCJ=$libgcj_spec_lgcj_override
20816 if test x"$libgcj_spec_lgcj_bc_override" != x ; then
20817 LIBGCJ_SPEC_LGCJ_BC=$libgcj_spec_lgcj_bc_override
20819 LIBGCJ_SPEC="%{s-bc-abi:} $LIBGCJ_SPEC_LGCJ"
20820 if test "$use_libgcj_bc" = yes; then
20821 LIBGCJ_SPEC="%{static|static-libgcj|!s-bc-abi:$LIBGCJ_SPEC_LGCJ;:$LIBGCJ_SPEC_LGCJ_BC}"
20822 LIBGCJ_BC_SPEC="%{findirect-dispatch:-fPIC}"
20828 # Hash synchronization is only useful with posix threads right now.
20829 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20830 HASH_SYNC_SPEC=-fhash-synchronization
20832 $as_echo "#define JV_HASH_SYNCHRONIZATION 1" >>confdefs.h
20837 if test "$GCC" = yes; then
20839 USING_GCC_FALSE='#'
20846 # We're in the tree with gcc, and need to include some of its headers.
20847 GCC_UNWIND_INCLUDE='-I$(multi_basedir)/./libjava/../gcc'
20849 if test "x${with_newlib}" = "xyes"; then
20850 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20851 # may not work correctly, because the compiler may not be able to
20852 # link executables.
20854 # We assume newlib. This lets us hard-code the functions we know
20857 $as_echo "#define HAVE_MEMMOVE 1" >>confdefs.h
20860 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
20863 $as_echo "#define HAVE_TIME 1" >>confdefs.h
20866 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
20869 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
20872 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
20874 # This is only for POSIX threads.
20876 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20879 # Assume we do not have getuid and friends.
20881 $as_echo "#define NO_GETUID 1" >>confdefs.h
20885 for ac_func in strerror_r select fstat open fsync sleep opendir \
20886 localtime_r getpwuid_r getcwd \
20887 access stat lstat mkdir rename rmdir unlink utime chmod readlink \
20888 nl_langinfo setlocale \
20889 inet_pton uname inet_ntoa \
20890 getrlimit sigaction ftruncate mmap \
20893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20895 eval as_val=\$$as_ac_var
20896 if test "x$as_val" = x""yes; then :
20897 cat >>confdefs.h <<_ACEOF
20898 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20904 for ac_func in inet_aton inet_addr
20906 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20908 eval as_val=\$$as_ac_var
20909 if test "x$as_val" = x""yes; then :
20910 cat >>confdefs.h <<_ACEOF
20911 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20917 for ac_header in unistd.h dlfcn.h sys/resource.h
20919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20920 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20921 eval as_val=\$$as_ac_Header
20922 if test "x$as_val" = x""yes; then :
20923 cat >>confdefs.h <<_ACEOF
20924 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20931 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
20932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
20933 $as_echo_n "checking for dladdr in -ldl... " >&6; }
20934 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
20935 $as_echo_n "(cached) " >&6
20937 ac_check_lib_save_LIBS=$LIBS
20939 if test x$gcc_no_link = xyes; then
20940 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20945 /* Override any GCC internal prototype to avoid an error.
20946 Use char because int might match the return type of a GCC
20947 builtin and then its argument prototype would still apply. */
20960 if ac_fn_c_try_link "$LINENO"; then :
20961 ac_cv_lib_dl_dladdr=yes
20963 ac_cv_lib_dl_dladdr=no
20965 rm -f core conftest.err conftest.$ac_objext \
20966 conftest$ac_exeext conftest.$ac_ext
20967 LIBS=$ac_check_lib_save_LIBS
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
20970 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
20971 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
20974 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldld" >&5
20979 $as_echo_n "checking for dladdr in -ldld... " >&6; }
20980 if test "${ac_cv_lib_dld_dladdr+set}" = set; then :
20981 $as_echo_n "(cached) " >&6
20983 ac_check_lib_save_LIBS=$LIBS
20985 if test x$gcc_no_link = xyes; then
20986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20991 /* Override any GCC internal prototype to avoid an error.
20992 Use char because int might match the return type of a GCC
20993 builtin and then its argument prototype would still apply. */
21006 if ac_fn_c_try_link "$LINENO"; then :
21007 ac_cv_lib_dld_dladdr=yes
21009 ac_cv_lib_dld_dladdr=no
21011 rm -f core conftest.err conftest.$ac_objext \
21012 conftest$ac_exeext conftest.$ac_ext
21013 LIBS=$ac_check_lib_save_LIBS
21015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dladdr" >&5
21016 $as_echo "$ac_cv_lib_dld_dladdr" >&6; }
21017 if test "x$ac_cv_lib_dld_dladdr" = x""yes; then :
21020 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
21027 if test x"$cross_compiling" = x"no"; then
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/exe" >&5
21029 $as_echo_n "checking for /proc/self/exe... " >&6; }
21030 if test "${ac_cv_file__proc_self_exe+set}" = set; then :
21031 $as_echo_n "(cached) " >&6
21033 test "$cross_compiling" = yes &&
21034 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21035 if test -r "/proc/self/exe"; then
21036 ac_cv_file__proc_self_exe=yes
21038 ac_cv_file__proc_self_exe=no
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_exe" >&5
21042 $as_echo "$ac_cv_file__proc_self_exe" >&6; }
21043 if test "x$ac_cv_file__proc_self_exe" = x""yes; then :
21045 cat >>confdefs.h <<_ACEOF
21046 #define HAVE__PROC_SELF_EXE 1
21050 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
21055 $as_echo_n "checking for /proc/self/maps... " >&6; }
21056 if test "${ac_cv_file__proc_self_maps+set}" = set; then :
21057 $as_echo_n "(cached) " >&6
21059 test "$cross_compiling" = yes &&
21060 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21061 if test -r "/proc/self/maps"; then
21062 ac_cv_file__proc_self_maps=yes
21064 ac_cv_file__proc_self_maps=no
21067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
21068 $as_echo "$ac_cv_file__proc_self_maps" >&6; }
21069 if test "x$ac_cv_file__proc_self_maps" = x""yes; then :
21071 cat >>confdefs.h <<_ACEOF
21072 #define HAVE__PROC_SELF_MAPS 1
21076 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21084 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21087 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21094 if test "X$prefix" = "XNONE"; then
21095 acl_final_prefix="$ac_default_prefix"
21097 acl_final_prefix="$prefix"
21099 if test "X$exec_prefix" = "XNONE"; then
21100 acl_final_exec_prefix='${prefix}'
21102 acl_final_exec_prefix="$exec_prefix"
21104 acl_save_prefix="$prefix"
21105 prefix="$acl_final_prefix"
21106 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
21107 prefix="$acl_save_prefix"
21110 # Check whether --with-gnu-ld was given.
21111 if test "${with_gnu_ld+set}" = set; then :
21112 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21117 # Prepare PATH_SEPARATOR.
21118 # The user is always right.
21119 if test "${PATH_SEPARATOR+set}" != set; then
21120 echo "#! /bin/sh" >conf$$.sh
21121 echo "exit 0" >>conf$$.sh
21123 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21131 if test "$GCC" = yes; then
21132 # Check if gcc -print-prog-name=ld gives a path.
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
21134 $as_echo_n "checking for ld used by GCC... " >&6; }
21137 # gcc leaves a trailing carriage return which upsets mingw
21138 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
21140 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
21143 # Accept absolute paths.
21144 [\\/]* | [A-Za-z]:[\\/]*)
21145 re_direlt='/[^/][^/]*/\.\./'
21146 # Canonicalize the path of ld
21147 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
21148 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
21149 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
21151 test -z "$LD" && LD="$ac_prog"
21154 # If it fails, then pretend we aren't using GCC.
21158 # If it is relative, then search for the first ld in PATH.
21159 with_gnu_ld=unknown
21162 elif test "$with_gnu_ld" = yes; then
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21164 $as_echo_n "checking for GNU ld... " >&6; }
21166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21167 $as_echo_n "checking for non-GNU ld... " >&6; }
21169 if test "${acl_cv_path_LD+set}" = set; then :
21170 $as_echo_n "(cached) " >&6
21172 if test -z "$LD"; then
21173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21174 for ac_dir in $PATH; do
21175 test -z "$ac_dir" && ac_dir=.
21176 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21177 acl_cv_path_LD="$ac_dir/$ac_prog"
21178 # Check to see if the program is GNU ld. I'd rather use --version,
21179 # but apparently some GNU ld's only accept -v.
21180 # Break only if it was the GNU/non-GNU ld that we prefer.
21181 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
21182 test "$with_gnu_ld" != no && break
21184 test "$with_gnu_ld" != yes && break
21190 acl_cv_path_LD="$LD" # Let the user override the test with a path.
21194 LD="$acl_cv_path_LD"
21195 if test -n "$LD"; then
21196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21197 $as_echo "$LD" >&6; }
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21200 $as_echo "no" >&6; }
21202 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21204 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21205 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
21206 $as_echo_n "(cached) " >&6
21208 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21209 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
21210 acl_cv_prog_gnu_ld=yes
21212 acl_cv_prog_gnu_ld=no
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
21216 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
21217 with_gnu_ld=$acl_cv_prog_gnu_ld
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
21222 $as_echo_n "checking for shared library run path origin... " >&6; }
21223 if test "${acl_cv_rpath+set}" = set; then :
21224 $as_echo_n "(cached) " >&6
21227 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
21228 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21230 rm -f ./conftest.sh
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
21235 $as_echo "$acl_cv_rpath" >&6; }
21237 libext="$acl_cv_libext"
21238 shlibext="$acl_cv_shlibext"
21239 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
21240 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
21241 hardcode_direct="$acl_cv_hardcode_direct"
21242 hardcode_minus_L="$acl_cv_hardcode_minus_L"
21243 # Check whether --enable-rpath was given.
21244 if test "${enable_rpath+set}" = set; then :
21245 enableval=$enable_rpath; :
21259 acl_save_prefix="$prefix"
21260 prefix="$acl_final_prefix"
21261 acl_save_exec_prefix="$exec_prefix"
21262 exec_prefix="$acl_final_exec_prefix"
21264 eval additional_includedir=\"$includedir\"
21265 eval additional_libdir=\"$libdir\"
21267 exec_prefix="$acl_save_exec_prefix"
21268 prefix="$acl_save_prefix"
21271 # Check whether --with-libiconv-prefix was given.
21272 if test "${with_libiconv_prefix+set}" = set; then :
21273 withval=$with_libiconv_prefix;
21274 if test "X$withval" = "Xno"; then
21277 if test "X$withval" = "X"; then
21279 acl_save_prefix="$prefix"
21280 prefix="$acl_final_prefix"
21281 acl_save_exec_prefix="$exec_prefix"
21282 exec_prefix="$acl_final_exec_prefix"
21284 eval additional_includedir=\"$includedir\"
21285 eval additional_libdir=\"$libdir\"
21287 exec_prefix="$acl_save_exec_prefix"
21288 prefix="$acl_save_prefix"
21291 additional_includedir="$withval/include"
21292 additional_libdir="$withval/lib"
21303 names_already_handled=
21304 names_next_round='iconv '
21305 while test -n "$names_next_round"; do
21306 names_this_round="$names_next_round"
21308 for name in $names_this_round; do
21310 for n in $names_already_handled; do
21311 if test "$n" = "$name"; then
21312 already_handled=yes
21316 if test -z "$already_handled"; then
21317 names_already_handled="$names_already_handled $name"
21318 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21319 eval value=\"\$HAVE_LIB$uppername\"
21320 if test -n "$value"; then
21321 if test "$value" = yes; then
21322 eval value=\"\$LIB$uppername\"
21323 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
21324 eval value=\"\$LTLIB$uppername\"
21325 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
21334 if test $use_additional = yes; then
21335 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21336 found_dir="$additional_libdir"
21337 found_so="$additional_libdir/lib$name.$shlibext"
21338 if test -f "$additional_libdir/lib$name.la"; then
21339 found_la="$additional_libdir/lib$name.la"
21342 if test -f "$additional_libdir/lib$name.$libext"; then
21343 found_dir="$additional_libdir"
21344 found_a="$additional_libdir/lib$name.$libext"
21345 if test -f "$additional_libdir/lib$name.la"; then
21346 found_la="$additional_libdir/lib$name.la"
21351 if test "X$found_dir" = "X"; then
21352 for x in $LDFLAGS $LTLIBICONV; do
21354 acl_save_prefix="$prefix"
21355 prefix="$acl_final_prefix"
21356 acl_save_exec_prefix="$exec_prefix"
21357 exec_prefix="$acl_final_exec_prefix"
21359 exec_prefix="$acl_save_exec_prefix"
21360 prefix="$acl_save_prefix"
21364 dir=`echo "X$x" |
sed -e 's/^X-L//'`
21365 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21367 found_so="$dir/lib$name.$shlibext"
21368 if test -f "$dir/lib$name.la"; then
21369 found_la="$dir/lib$name.la"
21372 if test -f "$dir/lib$name.$libext"; then
21374 found_a="$dir/lib$name.$libext"
21375 if test -f "$dir/lib$name.la"; then
21376 found_la="$dir/lib$name.la"
21382 if test "X$found_dir" != "X"; then
21387 if test "X$found_dir" != "X"; then
21388 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21389 if test "X$found_so" != "X"; then
21390 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
21391 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21394 for x in $ltrpathdirs; do
21395 if test "X$x" = "X$found_dir"; then
21400 if test -z "$haveit"; then
21401 ltrpathdirs="$ltrpathdirs $found_dir"
21403 if test "$hardcode_direct" = yes; then
21404 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21406 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
21407 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21409 for x in $rpathdirs; do
21410 if test "X$x" = "X$found_dir"; then
21415 if test -z "$haveit"; then
21416 rpathdirs="$rpathdirs $found_dir"
21420 for x in $LDFLAGS $LIBICONV; do
21422 acl_save_prefix="$prefix"
21423 prefix="$acl_final_prefix"
21424 acl_save_exec_prefix="$exec_prefix"
21425 exec_prefix="$acl_final_exec_prefix"
21427 exec_prefix="$acl_save_exec_prefix"
21428 prefix="$acl_save_prefix"
21430 if test "X$x" = "X-L$found_dir"; then
21435 if test -z "$haveit"; then
21436 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21438 if test "$hardcode_minus_L" != no; then
21439 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21441 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21447 if test "X$found_a" != "X"; then
21448 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
21450 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21453 additional_includedir=
21454 case "$found_dir" in
21456 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e 's,/lib/*$,,'`
21457 additional_includedir="$basedir/include"
21460 if test "X$additional_includedir" != "X"; then
21461 if test "X$additional_includedir" != "X/usr/include"; then
21463 if test "X$additional_includedir" = "X/usr/local/include"; then
21464 if test -n "$GCC"; then
21466 linux*) haveit=yes;;
21470 if test -z "$haveit"; then
21471 for x in $CPPFLAGS $INCICONV; do
21473 acl_save_prefix="$prefix"
21474 prefix="$acl_final_prefix"
21475 acl_save_exec_prefix="$exec_prefix"
21476 exec_prefix="$acl_final_exec_prefix"
21478 exec_prefix="$acl_save_exec_prefix"
21479 prefix="$acl_save_prefix"
21481 if test "X$x" = "X-I$additional_includedir"; then
21486 if test -z "$haveit"; then
21487 if test -d "$additional_includedir"; then
21488 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21494 if test -n "$found_la"; then
21495 save_libdir="$libdir"
21496 case "$found_la" in
21497 */* | *\\*) . "$found_la" ;;
21498 *) . "./$found_la" ;;
21500 libdir="$save_libdir"
21501 for dep in $dependency_libs; do
21504 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
21505 if test "X$additional_libdir" != "X/usr/lib"; then
21507 if test "X$additional_libdir" = "X/usr/local/lib"; then
21508 if test -n "$GCC"; then
21510 linux*) haveit=yes;;
21514 if test -z "$haveit"; then
21516 for x in $LDFLAGS $LIBICONV; do
21518 acl_save_prefix="$prefix"
21519 prefix="$acl_final_prefix"
21520 acl_save_exec_prefix="$exec_prefix"
21521 exec_prefix="$acl_final_exec_prefix"
21523 exec_prefix="$acl_save_exec_prefix"
21524 prefix="$acl_save_prefix"
21526 if test "X$x" = "X-L$additional_libdir"; then
21531 if test -z "$haveit"; then
21532 if test -d "$additional_libdir"; then
21533 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21537 for x in $LDFLAGS $LTLIBICONV; do
21539 acl_save_prefix="$prefix"
21540 prefix="$acl_final_prefix"
21541 acl_save_exec_prefix="$exec_prefix"
21542 exec_prefix="$acl_final_exec_prefix"
21544 exec_prefix="$acl_save_exec_prefix"
21545 prefix="$acl_save_prefix"
21547 if test "X$x" = "X-L$additional_libdir"; then
21552 if test -z "$haveit"; then
21553 if test -d "$additional_libdir"; then
21554 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21561 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
21562 if test "$enable_rpath" != no; then
21564 for x in $rpathdirs; do
21565 if test "X$x" = "X$dir"; then
21570 if test -z "$haveit"; then
21571 rpathdirs="$rpathdirs $dir"
21574 for x in $ltrpathdirs; do
21575 if test "X$x" = "X$dir"; then
21580 if test -z "$haveit"; then
21581 ltrpathdirs="$ltrpathdirs $dir"
21586 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
21589 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21592 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
21593 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21599 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21600 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21606 if test "X$rpathdirs" != "X"; then
21607 if test -n "$hardcode_libdir_separator"; then
21609 for found_dir in $rpathdirs; do
21610 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21612 acl_save_libdir="$libdir"
21614 eval flag=\"$hardcode_libdir_flag_spec\"
21615 libdir="$acl_save_libdir"
21616 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21618 for found_dir in $rpathdirs; do
21619 acl_save_libdir="$libdir"
21620 libdir="$found_dir"
21621 eval flag=\"$hardcode_libdir_flag_spec\"
21622 libdir="$acl_save_libdir"
21623 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21627 if test "X$ltrpathdirs" != "X"; then
21628 for found_dir in $ltrpathdirs; do
21629 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21639 am_save_CPPFLAGS="$CPPFLAGS"
21641 for element in $INCICONV; do
21643 for x in $CPPFLAGS; do
21645 acl_save_prefix="$prefix"
21646 prefix="$acl_final_prefix"
21647 acl_save_exec_prefix="$exec_prefix"
21648 exec_prefix="$acl_final_exec_prefix"
21650 exec_prefix="$acl_save_exec_prefix"
21651 prefix="$acl_save_prefix"
21653 if test "X$x" = "X$element"; then
21658 if test -z "$haveit"; then
21659 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
21665 $as_echo_n "checking for iconv... " >&6; }
21666 if test "${am_cv_func_iconv+set}" = set; then :
21667 $as_echo_n "(cached) " >&6
21670 am_cv_func_iconv="no, consider installing GNU libiconv"
21672 if test x$gcc_no_link = xyes; then
21673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21676 /* end confdefs.h. */
21677 #include <stdlib.h>
21682 iconv_t cd = iconv_open("","");
21683 iconv(cd,NULL,NULL,NULL,NULL);
21689 if ac_fn_c_try_link "$LINENO"; then :
21690 am_cv_func_iconv=yes
21692 rm -f core conftest.err conftest.$ac_objext \
21693 conftest$ac_exeext conftest.$ac_ext
21694 if test "$am_cv_func_iconv" != yes; then
21695 am_save_LIBS="$LIBS"
21696 LIBS="$LIBS $LIBICONV"
21697 if test x$gcc_no_link = xyes; then
21698 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21701 /* end confdefs.h. */
21702 #include <stdlib.h>
21707 iconv_t cd = iconv_open("","");
21708 iconv(cd,NULL,NULL,NULL,NULL);
21714 if ac_fn_c_try_link "$LINENO"; then :
21715 am_cv_lib_iconv=yes
21716 am_cv_func_iconv=yes
21718 rm -f core conftest.err conftest.$ac_objext \
21719 conftest$ac_exeext conftest.$ac_ext
21720 LIBS="$am_save_LIBS"
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21725 $as_echo "$am_cv_func_iconv" >&6; }
21726 if test "$am_cv_func_iconv" = yes; then
21728 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21731 if test "$am_cv_lib_iconv" = yes; then
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21733 $as_echo_n "checking how to link with libiconv... " >&6; }
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21735 $as_echo "$LIBICONV" >&6; }
21737 CPPFLAGS="$am_save_CPPFLAGS"
21744 if test "$am_cv_func_iconv" = yes; then
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21746 $as_echo_n "checking for iconv declaration... " >&6; }
21747 if test "${am_cv_proto_iconv+set}" = set; then :
21748 $as_echo_n "(cached) " >&6
21751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21754 #include <stdlib.h>
21760 #if defined(__STDC__) || defined(__cplusplus)
21761 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21774 if ac_fn_c_try_compile "$LINENO"; then :
21775 am_cv_proto_iconv_arg1=""
21777 am_cv_proto_iconv_arg1="const"
21779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21780 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);"
21783 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" |
tr -s ' ' |
sed -e 's/( /(/'`
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
21785 }$am_cv_proto_iconv" >&5
21787 }$am_cv_proto_iconv" >&6; }
21789 cat >>confdefs.h <<_ACEOF
21790 #define ICONV_CONST $am_cv_proto_iconv_arg1
21796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21797 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21798 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
21799 $as_echo_n "(cached) " >&6
21801 if test x$gcc_no_link = xyes; then
21802 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21805 /* end confdefs.h. */
21806 #include <locale.h>
21815 if ac_fn_c_try_link "$LINENO"; then :
21816 am_cv_val_LC_MESSAGES=yes
21818 am_cv_val_LC_MESSAGES=no
21820 rm -f core conftest.err conftest.$ac_objext \
21821 conftest$ac_exeext conftest.$ac_ext
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
21824 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21825 if test $am_cv_val_LC_MESSAGES = yes; then
21827 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21832 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21833 if test "${ac_cv_struct_tm+set}" = set; then :
21834 $as_echo_n "(cached) " >&6
21836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21837 /* end confdefs.h. */
21838 #include <sys/types.h>
21845 int *p = &tm.tm_sec;
21851 if ac_fn_c_try_compile "$LINENO"; then :
21852 ac_cv_struct_tm=time.h
21854 ac_cv_struct_tm=sys/time.h
21856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21859 $as_echo "$ac_cv_struct_tm" >&6; }
21860 if test $ac_cv_struct_tm = sys/time.h; then
21862 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21866 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
21867 #include <$ac_cv_struct_tm>
21870 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
21872 cat >>confdefs.h <<_ACEOF
21873 #define HAVE_STRUCT_TM_TM_ZONE 1
21879 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
21881 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
21884 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
21886 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
21892 cat >>confdefs.h <<_ACEOF
21893 #define HAVE_DECL_TZNAME $ac_have_decl
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
21897 $as_echo_n "checking for tzname... " >&6; }
21898 if test "${ac_cv_var_tzname+set}" = set; then :
21899 $as_echo_n "(cached) " >&6
21901 if test x$gcc_no_link = xyes; then
21902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21905 /* end confdefs.h. */
21907 #if !HAVE_DECL_TZNAME
21908 extern char *tzname[];
21914 return tzname[0][0];
21919 if ac_fn_c_try_link "$LINENO"; then :
21920 ac_cv_var_tzname=yes
21922 ac_cv_var_tzname=no
21924 rm -f core conftest.err conftest.$ac_objext \
21925 conftest$ac_exeext conftest.$ac_ext
21927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
21928 $as_echo "$ac_cv_var_tzname" >&6; }
21929 if test $ac_cv_var_tzname = yes; then
21931 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21937 for ac_func in gethostbyname_r
21939 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
21940 if test "x$ac_cv_func_gethostbyname_r" = x""yes; then :
21941 cat >>confdefs.h <<_ACEOF
21942 #define HAVE_GETHOSTBYNAME_R 1
21946 $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
21948 # There are two different kinds of gethostbyname_r.
21949 # We look for the one that returns `int
'.
21950 # Hopefully this check is robust enough.
21951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21952 /* end confdefs.h. */
21956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21957 $EGREP "int.*gethostbyname_r" >/dev/null 2>&1; then :
21960 $as_echo "#define GETHOSTBYNAME_R_RETURNS_INT 1" >>confdefs.h
21966 case " $GCINCS " in
21967 *" -D_REENTRANT "*) ;;
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
21970 $as_echo_n "checking whether gethostbyname_r declaration requires -D_REENTRANT... " >&6; }
21971 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then :
21972 $as_echo_n "(cached) " >&6
21975 ac_cpp='$CXXCPP $CPPFLAGS'
21976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
21977 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
21978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h. */
21986 gethostbyname_r("", 0, 0);
21991 if ac_fn_cxx_try_compile "$LINENO"; then :
21992 libjava_cv_gethostbyname_r_needs_reentrant=no
21994 CPPFLAGS_SAVE="$CPPFLAGS"
21995 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
21996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21997 /* end confdefs.h. */
22002 gethostbyname_r("", 0, 0);
22007 if ac_fn_cxx_try_compile "$LINENO"; then :
22008 libjava_cv_gethostbyname_r_needs_reentrant=yes
22010 libjava_cv_gethostbyname_r_needs_reentrant=fail
22012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22013 CPPFLAGS="$CPPFLAGS_SAVE"
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22018 ac_cpp='$CPP $CPPFLAGS'
22019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22020 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22026 $as_echo "$libjava_cv_gethostbyname_r_needs_reentrant" >&6; }
22027 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes; then
22029 $as_echo "#define _REENTRANT 1" >>confdefs.h
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct hostent_data" >&5
22036 $as_echo_n "checking for struct hostent_data... " >&6; }
22037 if test "${libjava_cv_struct_hostent_data+set}" = set; then :
22038 $as_echo_n "(cached) " >&6
22040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22041 /* end confdefs.h. */
22043 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22044 # define _REENTRANT 1
22050 struct hostent_data data;
22055 if ac_fn_c_try_compile "$LINENO"; then :
22056 libjava_cv_struct_hostent_data=yes
22058 libjava_cv_struct_hostent_data=no
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_struct_hostent_data" >&5
22063 $as_echo "$libjava_cv_struct_hostent_data" >&6; }
22064 if test "x$libjava_cv_struct_hostent_data" = xyes; then
22066 $as_echo "#define HAVE_STRUCT_HOSTENT_DATA 1" >>confdefs.h
22074 # FIXME: libjava source code expects to find a prototype for
22075 # gethostbyaddr_r in netdb.h. The outer check ensures that
22076 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22077 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22078 # linkage check is enough, yet C++ code requires proper prototypes.)
22079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22080 /* end confdefs.h. */
22084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22085 $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
22087 for ac_func in gethostbyaddr_r
22089 ac_fn_c_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r"
22090 if test "x$ac_cv_func_gethostbyaddr_r" = x""yes; then :
22091 cat >>confdefs.h <<_ACEOF
22092 #define HAVE_GETHOSTBYADDR_R 1
22096 $as_echo "#define HAVE_GETHOSTBYADDR_R 1" >>confdefs.h
22098 # There are two different kinds of gethostbyaddr_r.
22099 # We look for the one that returns `int'.
22100 # Hopefully this check is robust enough.
22101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22102 /* end confdefs.h. */
22106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22107 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then :
22110 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
22122 for ac_func
in gethostname
22124 ac_fn_c_check_func
"$LINENO" "gethostname" "ac_cv_func_gethostname"
22125 if test "x$ac_cv_func_gethostname" = x
""yes; then :
22126 cat >>confdefs.h
<<_ACEOF
22127 #define HAVE_GETHOSTNAME 1
22131 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
22133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22134 /* end confdefs.h. */
22135 #include <unistd.h>
22138 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22139 $EGREP "gethostname" >/dev
/null
2>&1; then :
22142 $as_echo "#define HAVE_GETHOSTNAME_DECL 1" >>confdefs.h
22151 for ac_func
in usleep
22153 ac_fn_c_check_func
"$LINENO" "usleep" "ac_cv_func_usleep"
22154 if test "x$ac_cv_func_usleep" = x
""yes; then :
22155 cat >>confdefs.h
<<_ACEOF
22156 #define HAVE_USLEEP 1
22159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22160 /* end confdefs.h. */
22161 #include <unistd.h>
22164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22165 $EGREP "usleep" >/dev
/null
2>&1; then :
22168 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
22177 # Look for these functions in the thread library, but only bother
22178 # if using POSIX threads.
22179 if test "$THREADS" = posix
; then
22181 LIBS
="$LIBS $THREADLIBS"
22183 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
22184 # Solaris 7 the name librt is preferred.
22185 for ac_func
in sched_yield
22187 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
22188 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
22189 cat >>confdefs.h
<<_ACEOF
22190 #define HAVE_SCHED_YIELD 1
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
22196 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
22197 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
22198 $as_echo_n "(cached) " >&6
22200 ac_check_lib_save_LIBS
=$LIBS
22202 if test x
$gcc_no_link = xyes
; then
22203 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22206 /* end confdefs.h. */
22208 /* Override any GCC internal prototype to avoid an error.
22209 Use char because int might match the return type of a GCC
22210 builtin and then its argument prototype would still apply. */
22214 char sched_yield ();
22218 return sched_yield ();
22223 if ac_fn_c_try_link
"$LINENO"; then :
22224 ac_cv_lib_rt_sched_yield
=yes
22226 ac_cv_lib_rt_sched_yield
=no
22228 rm -f core conftest.err conftest.
$ac_objext \
22229 conftest
$ac_exeext conftest.
$ac_ext
22230 LIBS
=$ac_check_lib_save_LIBS
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
22233 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
22234 if test "x$ac_cv_lib_rt_sched_yield" = x
""yes; then :
22236 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22238 THREADLIBS
="$THREADLIBS -lrt"
22239 THREADSPEC
="$THREADSPEC -lrt"
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
22243 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
22244 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
22245 $as_echo_n "(cached) " >&6
22247 ac_check_lib_save_LIBS
=$LIBS
22248 LIBS
="-lposix4 $LIBS"
22249 if test x
$gcc_no_link = xyes
; then
22250 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22253 /* end confdefs.h. */
22255 /* Override any GCC internal prototype to avoid an error.
22256 Use char because int might match the return type of a GCC
22257 builtin and then its argument prototype would still apply. */
22261 char sched_yield ();
22265 return sched_yield ();
22270 if ac_fn_c_try_link
"$LINENO"; then :
22271 ac_cv_lib_posix4_sched_yield
=yes
22273 ac_cv_lib_posix4_sched_yield
=no
22275 rm -f core conftest.err conftest.
$ac_objext \
22276 conftest
$ac_exeext conftest.
$ac_ext
22277 LIBS
=$ac_check_lib_save_LIBS
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
22280 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
22281 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
22283 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22285 THREADLIBS
="$THREADLIBS -lposix4"
22286 THREADSPEC
="$THREADSPEC -lposix4"
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22296 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22297 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22298 $as_echo_n "(cached) " >&6
22300 ac_check_lib_save_LIBS
=$LIBS
22302 if test x
$gcc_no_link = xyes
; then
22303 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22308 /* Override any GCC internal prototype to avoid an error.
22309 Use char because int might match the return type of a GCC
22310 builtin and then its argument prototype would still apply. */
22314 char clock_gettime ();
22318 return clock_gettime ();
22323 if ac_fn_c_try_link
"$LINENO"; then :
22324 ac_cv_lib_rt_clock_gettime
=yes
22326 ac_cv_lib_rt_clock_gettime
=no
22328 rm -f core conftest.err conftest.
$ac_objext \
22329 conftest
$ac_exeext conftest.
$ac_ext
22330 LIBS
=$ac_check_lib_save_LIBS
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22333 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22334 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
22337 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22339 case "$THREADSPEC" in
22342 THREADSPEC
="$THREADSPEC -lrt"
22343 THREADLIBS
="$THREADLIBS -lrt"
22351 # We can save a little space at runtime if the mutex has m_count
22352 # or __m_count. This is a nice hack for Linux.
22353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22354 /* end confdefs.h. */
22355 #include <pthread.h>
22360 extern pthread_mutex_t *mutex; int q = mutex->m_count;
22366 if ac_fn_c_try_compile
"$LINENO"; then :
22368 $as_echo "#define PTHREAD_MUTEX_HAVE_M_COUNT 1" >>confdefs.h
22372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22373 /* end confdefs.h. */
22374 #include <pthread.h>
22379 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
22385 if ac_fn_c_try_compile
"$LINENO"; then :
22387 $as_echo "#define PTHREAD_MUTEX_HAVE___M_COUNT 1" >>confdefs.h
22390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22395 # We require a way to get the time.
22397 for ac_func
in gettimeofday
time ftime
22399 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22400 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22401 eval as_val
=\$
$as_ac_var
22402 if test "x$as_val" = x
""yes; then :
22403 cat >>confdefs.h
<<_ACEOF
22404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22410 if test "$time_found" = no
; then
22411 as_fn_error
"no function found to get the time" "$LINENO" 5
22414 for ac_func
in memmove
22416 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
22417 if test "x$ac_cv_func_memmove" = x
""yes; then :
22418 cat >>confdefs.h
<<_ACEOF
22419 #define HAVE_MEMMOVE 1
22426 # We require memcpy.
22428 for ac_func
in memcpy
22430 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
22431 if test "x$ac_cv_func_memcpy" = x
""yes; then :
22432 cat >>confdefs.h
<<_ACEOF
22433 #define HAVE_MEMCPY 1
22439 if test "$memcpy_found" = no
; then
22440 as_fn_error
"memcpy is required" "$LINENO" 5
22442 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
22444 $as_echo_n "checking for dlopen in -ldl... " >&6; }
22445 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
22446 $as_echo_n "(cached) " >&6
22448 ac_check_lib_save_LIBS
=$LIBS
22450 if test x
$gcc_no_link = xyes
; then
22451 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22454 /* end confdefs.h. */
22456 /* Override any GCC internal prototype to avoid an error.
22457 Use char because int might match the return type of a GCC
22458 builtin and then its argument prototype would still apply. */
22471 if ac_fn_c_try_link
"$LINENO"; then :
22472 ac_cv_lib_dl_dlopen
=yes
22474 ac_cv_lib_dl_dlopen
=no
22476 rm -f core conftest.err conftest.
$ac_objext \
22477 conftest
$ac_exeext conftest.
$ac_ext
22478 LIBS
=$ac_check_lib_save_LIBS
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
22481 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
22482 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
22485 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldld" >&5
22490 $as_echo_n "checking for dlopen in -ldld... " >&6; }
22491 if test "${ac_cv_lib_dld_dlopen+set}" = set; then :
22492 $as_echo_n "(cached) " >&6
22494 ac_check_lib_save_LIBS
=$LIBS
22496 if test x
$gcc_no_link = xyes
; then
22497 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22500 /* end confdefs.h. */
22502 /* Override any GCC internal prototype to avoid an error.
22503 Use char because int might match the return type of a GCC
22504 builtin and then its argument prototype would still apply. */
22517 if ac_fn_c_try_link
"$LINENO"; then :
22518 ac_cv_lib_dld_dlopen
=yes
22520 ac_cv_lib_dld_dlopen
=no
22522 rm -f core conftest.err conftest.
$ac_objext \
22523 conftest
$ac_exeext conftest.
$ac_ext
22524 LIBS
=$ac_check_lib_save_LIBS
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dlopen" >&5
22527 $as_echo "$ac_cv_lib_dld_dlopen" >&6; }
22528 if test "x$ac_cv_lib_dld_dlopen" = x
""yes; then :
22531 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22538 # Some library-finding code we stole from Tcl.
22539 #--------------------------------------------------------------------
22540 # Check for the existence of the -lsocket and -lnsl libraries.
22541 # The order here is important, so that they end up in the right
22542 # order in the command line generated by make. Here are some
22543 # special considerations:
22544 # 1. Use "connect" and "accept" to check for -lsocket, and
22545 # "gethostbyname" to check for -lnsl.
22546 # 2. Use each function name only once: can't redo a check because
22547 # autoconf caches the results of the last check and won't redo it.
22548 # 3. Use -lnsl and -lsocket only if they supply procedures that
22549 # aren't already present in the normal libraries. This is because
22550 # IRIX 5.2 has libraries, but they aren't needed and they're
22551 # bogus: they goof up name resolution if used.
22552 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
22553 # To get around this problem, check for both libraries together
22554 # if -lsocket doesn't work by itself.
22555 #--------------------------------------------------------------------
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
22558 $as_echo_n "checking for socket libraries... " >&6; }
22559 if test "${gcj_cv_lib_sockets+set}" = set; then :
22560 $as_echo_n "(cached) " >&6
22562 gcj_cv_lib_sockets
=
22564 unset ac_cv_func_connect
22565 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
22566 if test "x$ac_cv_func_connect" = x
""yes; then :
22572 if test "$gcj_checkSocket" = 1; then
22573 unset ac_cv_func_connect
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
22575 $as_echo_n "checking for main in -lsocket... " >&6; }
22576 if test "${ac_cv_lib_socket_main+set}" = set; then :
22577 $as_echo_n "(cached) " >&6
22579 ac_check_lib_save_LIBS
=$LIBS
22580 LIBS
="-lsocket $LIBS"
22581 if test x
$gcc_no_link = xyes
; then
22582 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22585 /* end confdefs.h. */
22596 if ac_fn_c_try_link
"$LINENO"; then :
22597 ac_cv_lib_socket_main
=yes
22599 ac_cv_lib_socket_main
=no
22601 rm -f core conftest.err conftest.
$ac_objext \
22602 conftest
$ac_exeext conftest.
$ac_ext
22603 LIBS
=$ac_check_lib_save_LIBS
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
22606 $as_echo "$ac_cv_lib_socket_main" >&6; }
22607 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
22608 gcj_cv_lib_sockets
="-lsocket"
22614 if test "$gcj_checkBoth" = 1; then
22616 LIBS
="$LIBS -lsocket -lnsl"
22617 unset ac_cv_func_accept
22618 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
22619 if test "x$ac_cv_func_accept" = x
""yes; then :
22621 gcj_cv_lib_sockets
="-lsocket -lnsl"
22624 unset ac_cv_func_accept
22627 unset ac_cv_func_gethostbyname
22629 LIBS
="$LIBS $gcj_cv_lib_sockets"
22630 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22631 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
22635 $as_echo_n "checking for main in -lnsl... " >&6; }
22636 if test "${ac_cv_lib_nsl_main+set}" = set; then :
22637 $as_echo_n "(cached) " >&6
22639 ac_check_lib_save_LIBS
=$LIBS
22641 if test x
$gcc_no_link = xyes
; then
22642 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22645 /* end confdefs.h. */
22656 if ac_fn_c_try_link
"$LINENO"; then :
22657 ac_cv_lib_nsl_main
=yes
22659 ac_cv_lib_nsl_main
=no
22661 rm -f core conftest.err conftest.
$ac_objext \
22662 conftest
$ac_exeext conftest.
$ac_ext
22663 LIBS
=$ac_check_lib_save_LIBS
22665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
22666 $as_echo "$ac_cv_lib_nsl_main" >&6; }
22667 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
22668 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
22673 unset ac_cv_func_gethostbyname
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcj_cv_lib_sockets" >&5
22678 $as_echo "$gcj_cv_lib_sockets" >&6; }
22679 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
22681 if test "$with_system_zlib" = yes; then
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22683 $as_echo_n "checking for deflate in -lz... " >&6; }
22684 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22685 $as_echo_n "(cached) " >&6
22687 ac_check_lib_save_LIBS
=$LIBS
22689 if test x
$gcc_no_link = xyes
; then
22690 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22693 /* end confdefs.h. */
22695 /* Override any GCC internal prototype to avoid an error.
22696 Use char because int might match the return type of a GCC
22697 builtin and then its argument prototype would still apply. */
22710 if ac_fn_c_try_link
"$LINENO"; then :
22711 ac_cv_lib_z_deflate
=yes
22713 ac_cv_lib_z_deflate
=no
22715 rm -f core conftest.err conftest.
$ac_objext \
22716 conftest
$ac_exeext conftest.
$ac_ext
22717 LIBS
=$ac_check_lib_save_LIBS
22719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22720 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22721 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22729 # Test for Gtk stuff, if asked for.
22730 if test "$use_gtk_awt" = yes; then
22734 if test -z "$PKG_CONFIG"; then
22735 # Extract the first word of "pkg-config", so it can be a program name with args.
22736 set dummy pkg-config
; ac_word
=$2
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22738 $as_echo_n "checking for $ac_word... " >&6; }
22739 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22740 $as_echo_n "(cached) " >&6
22742 case $PKG_CONFIG in
22744 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22748 for as_dir
in $PATH
22751 test -z "$as_dir" && as_dir
=.
22752 for ac_exec_ext
in '' $ac_executable_extensions; do
22753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22754 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22762 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22766 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22767 if test -n "$PKG_CONFIG"; then
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22769 $as_echo "$PKG_CONFIG" >&6; }
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22772 $as_echo "no" >&6; }
22778 if test "$PKG_CONFIG" = "no" ; then
22779 echo "*** The pkg-config script could not be found. Make sure it is"
22780 echo "*** in your path, or set the PKG_CONFIG environment variable"
22781 echo "*** to the full path to pkg-config."
22782 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22784 PKG_CONFIG_MIN_VERSION
=0.9.0
22785 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4" >&5
22787 $as_echo_n "checking for gtk+-2.0 >= 2.4... " >&6; }
22789 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22791 $as_echo "yes" >&6; }
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
22795 $as_echo_n "checking GTK_CFLAGS... " >&6; }
22796 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
22798 $as_echo "$GTK_CFLAGS" >&6; }
22800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
22801 $as_echo_n "checking GTK_LIBS... " >&6; }
22802 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
22804 $as_echo "$GTK_LIBS" >&6; }
22808 ## If we have a custom action on failure, don't print errors, but
22809 ## do set a variable so people can do so.
22810 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
22811 echo $GTK_PKG_ERRORS
22817 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22818 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22822 if test $succeeded = yes; then
22825 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
22834 if test -z "$PKG_CONFIG"; then
22835 # Extract the first word of "pkg-config", so it can be a program name with args.
22836 set dummy pkg-config
; ac_word
=$2
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22838 $as_echo_n "checking for $ac_word... " >&6; }
22839 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22840 $as_echo_n "(cached) " >&6
22842 case $PKG_CONFIG in
22844 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22848 for as_dir
in $PATH
22851 test -z "$as_dir" && as_dir
=.
22852 for ac_exec_ext
in '' $ac_executable_extensions; do
22853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22854 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22862 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22866 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22867 if test -n "$PKG_CONFIG"; then
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22869 $as_echo "$PKG_CONFIG" >&6; }
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22872 $as_echo "no" >&6; }
22878 if test "$PKG_CONFIG" = "no" ; then
22879 echo "*** The pkg-config script could not be found. Make sure it is"
22880 echo "*** in your path, or set the PKG_CONFIG environment variable"
22881 echo "*** to the full path to pkg-config."
22882 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22884 PKG_CONFIG_MIN_VERSION
=0.9.0
22885 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
22887 $as_echo_n "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... " >&6; }
22889 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22891 $as_echo "yes" >&6; }
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
22895 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
22896 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
22898 $as_echo "$GLIB_CFLAGS" >&6; }
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
22901 $as_echo_n "checking GLIB_LIBS... " >&6; }
22902 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
22904 $as_echo "$GLIB_LIBS" >&6; }
22908 ## If we have a custom action on failure, don't print errors, but
22909 ## do set a variable so people can do so.
22910 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22911 echo $GLIB_PKG_ERRORS
22917 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22918 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22922 if test $succeeded = yes; then
22925 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
22934 if test -z "$PKG_CONFIG"; then
22935 # Extract the first word of "pkg-config", so it can be a program name with args.
22936 set dummy pkg-config
; ac_word
=$2
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22938 $as_echo_n "checking for $ac_word... " >&6; }
22939 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22940 $as_echo_n "(cached) " >&6
22942 case $PKG_CONFIG in
22944 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22948 for as_dir
in $PATH
22951 test -z "$as_dir" && as_dir
=.
22952 for ac_exec_ext
in '' $ac_executable_extensions; do
22953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22954 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22962 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22966 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22967 if test -n "$PKG_CONFIG"; then
22968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22969 $as_echo "$PKG_CONFIG" >&6; }
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22972 $as_echo "no" >&6; }
22978 if test "$PKG_CONFIG" = "no" ; then
22979 echo "*** The pkg-config script could not be found. Make sure it is"
22980 echo "*** in your path, or set the PKG_CONFIG environment variable"
22981 echo "*** to the full path to pkg-config."
22982 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22984 PKG_CONFIG_MIN_VERSION
=0.9.0
22985 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libart-2.0 >= 2.1" >&5
22987 $as_echo_n "checking for libart-2.0 >= 2.1... " >&6; }
22989 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22991 $as_echo "yes" >&6; }
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_CFLAGS" >&5
22995 $as_echo_n "checking LIBART_CFLAGS... " >&6; }
22996 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_CFLAGS" >&5
22998 $as_echo "$LIBART_CFLAGS" >&6; }
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_LIBS" >&5
23001 $as_echo_n "checking LIBART_LIBS... " >&6; }
23002 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
23003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_LIBS" >&5
23004 $as_echo "$LIBART_LIBS" >&6; }
23008 ## If we have a custom action on failure, don't print errors, but
23009 ## do set a variable so people can do so.
23010 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
23011 echo $LIBART_PKG_ERRORS
23017 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23018 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23022 if test $succeeded = yes; then
23025 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
23031 # We require the XTest Extension to support java.awt.Robot.
23032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
23033 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
23034 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
23035 $as_echo_n "(cached) " >&6
23037 ac_check_lib_save_LIBS
=$LIBS
23038 LIBS
="-lXtst ${X_LIBS} $LIBS"
23039 if test x
$gcc_no_link = xyes
; then
23040 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23043 /* end confdefs.h. */
23045 /* Override any GCC internal prototype to avoid an error.
23046 Use char because int might match the return type of a GCC
23047 builtin and then its argument prototype would still apply. */
23051 char XTestQueryExtension ();
23055 return XTestQueryExtension ();
23060 if ac_fn_c_try_link
"$LINENO"; then :
23061 ac_cv_lib_Xtst_XTestQueryExtension
=yes
23063 ac_cv_lib_Xtst_XTestQueryExtension
=no
23065 rm -f core conftest.err conftest.
$ac_objext \
23066 conftest
$ac_exeext conftest.
$ac_ext
23067 LIBS
=$ac_check_lib_save_LIBS
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
23070 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
23071 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
23074 as_fn_error
"libXtst not found, required by java.awt.Robot" "$LINENO" 5
23079 # On Solaris, and maybe other architectures, the Boehm collector
23081 if test "$GC" = boehm
; then
23084 # IRIX 6 lacks a N64 libdl.so, but only the N32 (default multilib)
23085 # libgcj.spec is used, so override here
23086 SYSTEMSPEC
="$SYSTEMSPEC %{!mabi=64:-ldl}"
23089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
23090 $as_echo_n "checking for main in -ldl... " >&6; }
23091 if test "${ac_cv_lib_dl_main+set}" = set; then :
23092 $as_echo_n "(cached) " >&6
23094 ac_check_lib_save_LIBS
=$LIBS
23096 if test x
$gcc_no_link = xyes
; then
23097 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h. */
23111 if ac_fn_c_try_link
"$LINENO"; then :
23112 ac_cv_lib_dl_main
=yes
23114 ac_cv_lib_dl_main
=no
23116 rm -f core conftest.err conftest.
$ac_objext \
23117 conftest
$ac_exeext conftest.
$ac_ext
23118 LIBS
=$ac_check_lib_save_LIBS
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
23121 $as_echo "$ac_cv_lib_dl_main" >&6; }
23122 if test "x$ac_cv_lib_dl_main" = x
""yes; then :
23123 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
23131 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
23133 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
23134 *) CLASSPATH_SEPARATOR
=':' ;;
23138 # We must search the source tree for java.lang, since we still don't
23139 # have libgcj.jar nor java/lang/*.class
23140 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
23141 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
23143 # Since some classes depend on this one, we need its source available
23144 # before we can do any GCJ compilation test :-(
23145 if test ! -f gnu
/classpath
/Configuration.java
; then
23146 test -d gnu || mkdir gnu
23147 test -d gnu
/classpath || mkdir gnu
/classpath
23148 # Note that it is not crucial that all the values here be correct.
23149 sed -e "s,@prefix@,$expanded_prefix," \
23150 -e "s,@VERSION@,$VERSION," \
23151 -e "s,@LIBDEBUG@,false," \
23152 -e "s,@INIT_LOAD_LIBRARY@,false," \
23153 -e "s,@@,$LIBGCJDEBUG," \
23154 -e "s,@default_toolkit@,$TOOLKIT," \
23155 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
23156 -e "s,@GTK_CAIRO_ENABLED@,false," \
23157 -e "s,@ECJ_JAR@,," \
23158 -e "s,@WANT_NATIVE_BIG_INTEGER@,false," \
23159 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
23160 > gnu
/classpath
/Configuration.java
23161 # We do not want to redirect the output of the grep below to /dev/null,
23162 # but we add /dev/null to the input list so that grep will print the
23163 # filename of Configuration.java in case it finds any matches.
23164 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
23165 as_fn_error
"configure.ac is missing the substitutions above" "$LINENO" 5
23170 if test -n "$ac_tool_prefix"; then
23173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23174 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23176 $as_echo_n "checking for $ac_word... " >&6; }
23177 if test "${ac_cv_prog_GCJ+set}" = set; then :
23178 $as_echo_n "(cached) " >&6
23180 if test -n "$GCJ"; then
23181 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
23183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23184 for as_dir
in $PATH
23187 test -z "$as_dir" && as_dir
=.
23188 for ac_exec_ext
in '' $ac_executable_extensions; do
23189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23190 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
23191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23200 GCJ
=$ac_cv_prog_GCJ
23201 if test -n "$GCJ"; then
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
23203 $as_echo "$GCJ" >&6; }
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23206 $as_echo "no" >&6; }
23210 test -n "$GCJ" && break
23213 if test -z "$GCJ"; then
23217 # Extract the first word of "$ac_prog", so it can be a program name with args.
23218 set dummy
$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_ac_ct_GCJ+set}" = set; then :
23222 $as_echo_n "(cached) " >&6
23224 if test -n "$ac_ct_GCJ"; then
23225 ac_cv_prog_ac_ct_GCJ
="$ac_ct_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_ac_ct_GCJ
="$ac_prog"
23235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23244 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
23245 if test -n "$ac_ct_GCJ"; then
23246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
23247 $as_echo "$ac_ct_GCJ" >&6; }
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23250 $as_echo "no" >&6; }
23254 test -n "$ac_ct_GCJ" && break
23257 if test "x$ac_ct_GCJ" = x
; then
23260 case $cross_compiling:$ac_tool_warned in
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23264 ac_tool_warned
=yes ;;
23270 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
23271 if test "x${GCJFLAGS-unset}" = xunset
; then
23276 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
23279 $as_echo_n "checking dependency style of $depcc... " >&6; }
23280 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
23281 $as_echo_n "(cached) " >&6
23283 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
23284 # We make a subdir and do the tests there. Otherwise we can end up
23285 # making bogus files that we don't know about and never remove. For
23286 # instance it was reported that on HP-UX the gcc test will end up
23287 # making a dummy file named `D' -- because `-MD' means `put the output
23290 # Copy depcomp to subdir because otherwise we won't find it if we're
23291 # using a relative directory.
23292 cp "$am_depcomp" conftest.dir
23294 # We will build objects and dependencies in a subdirectory because
23295 # it helps to detect inapplicable dependency modes. For instance
23296 # both Tru64's cc and ICC support -MD to output dependencies as a
23297 # side effect of compilation, but ICC will put the dependencies in
23298 # the current directory while Tru64 will put them in the object
23302 am_cv_GCJ_dependencies_compiler_type
=none
23303 if test "$am_compiler_list" = ""; then
23304 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
23306 am__universal
=false
23309 for depmode
in $am_compiler_list; do
23310 # Setup a source with many dependencies, because some compilers
23311 # like to wrap large dependency lists on column 80 (with \), and
23312 # we should not choose a depcomp mode which is confused by this.
23314 # We need to recreate these files for each test, as the compiler may
23315 # overwrite some of them when testing with obscure command lines.
23316 # This happens at least with the AIX C compiler.
23318 for i
in 1 2 3 4 5 6; do
23319 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
23320 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
23321 # Solaris 8's {/usr,}/bin/sh.
23322 touch sub
/conftst
$i.h
23324 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
23326 # We check with `-c' and `-o' for the sake of the "dashmstdout"
23327 # mode. It turns out that the SunPro C++ compiler does not properly
23328 # handle `-M -o', and we need to detect this. Also, some Intel
23329 # versions had trouble with output in subdirs
23330 am__obj
=sub
/conftest.
${OBJEXT-o}
23331 am__minus_obj
="-o $am__obj"
23334 # This depmode causes a compiler race in universal mode.
23335 test "$am__universal" = false ||
continue
23338 # after this tag, mechanisms are not by side-effect, so they'll
23339 # only be used when explicitly requested
23340 if test "x$enable_dependency_tracking" = xyes
; then
23346 msvisualcpp | msvcmsys
)
23347 # This compiler won't grok `-c -o', but also, the minuso test has
23348 # not run yet. These depmodes are late enough in the game, and
23349 # so weak that their functioning should not be impacted.
23350 am__obj
=conftest.
${OBJEXT-o}
23355 if depmode
=$depmode \
23356 source=sub
/conftest.c object
=$am__obj \
23357 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
23358 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
23359 >/dev
/null
2>conftest.err
&&
23360 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23361 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23362 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
23363 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
23364 # icc doesn't choke on unknown options, it will just issue warnings
23365 # or remarks (even with -Werror). So we grep stderr for any message
23366 # that says an option was ignored or not supported.
23367 # When given -MP, icc 7.0 and 7.1 complain thusly:
23368 # icc: Command line warning: ignoring option '-M'; no argument required
23369 # The diagnosis changed in icc 8.0:
23370 # icc: Command line remark: option '-MP' not supported
23371 if (grep 'ignoring option' conftest.err ||
23372 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
23373 am_cv_GCJ_dependencies_compiler_type
=$depmode
23380 rm -rf conftest.dir
23382 am_cv_GCJ_dependencies_compiler_type
=none
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
23387 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
23388 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
23391 test "x$enable_dependency_tracking" != xno \
23392 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
23393 am__fastdepGCJ_TRUE
=
23394 am__fastdepGCJ_FALSE
='#'
23396 am__fastdepGCJ_TRUE
='#'
23397 am__fastdepGCJ_FALSE
=
23404 rm -f gnu
/classpath
/Configuration.java
23406 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
23408 # The cast to long int works around a bug in the HP C Compiler
23409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23411 # This bug is HP SR number 8606223364.
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
23413 $as_echo_n "checking size of void *... " >&6; }
23414 if test "${ac_cv_sizeof_void_p+set}" = set; then :
23415 $as_echo_n "(cached) " >&6
23417 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
23420 if test "$ac_cv_type_void_p" = yes; then
23421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23423 { as_fn_set_status
77
23424 as_fn_error
"cannot compute sizeof (void *)
23425 See \`config.log' for more details." "$LINENO" 5; }; }
23427 ac_cv_sizeof_void_p
=0
23432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
23433 $as_echo "$ac_cv_sizeof_void_p" >&6; }
23437 cat >>confdefs.h
<<_ACEOF
23438 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23444 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23445 if test "${ac_cv_c_bigendian+set}" = set; then :
23446 $as_echo_n "(cached) " >&6
23448 ac_cv_c_bigendian
=unknown
23449 # See if we're dealing with a universal compiler.
23450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23451 /* end confdefs.h. */
23452 #ifndef __APPLE_CC__
23453 not a universal capable compiler
23458 if ac_fn_c_try_compile
"$LINENO"; then :
23460 # Check for potential -arch flags. It is not universal unless
23461 # there are at least two -arch flags with different values.
23464 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
23465 if test -n "$ac_prev"; then
23467 i?
86 | x86_64 | ppc | ppc64
)
23468 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
23471 ac_cv_c_bigendian
=universal
23477 elif test "x$ac_word" = "x-arch"; then
23482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23483 if test $ac_cv_c_bigendian = unknown
; then
23484 # See if sys/param.h defines the BYTE_ORDER macro.
23485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23486 /* end confdefs.h. */
23487 #include <sys/types.h>
23488 #include <sys/param.h>
23493 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
23494 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
23496 bogus endian macros
23503 if ac_fn_c_try_compile
"$LINENO"; then :
23504 # It does; now see whether it defined to BIG_ENDIAN or not.
23505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23506 /* end confdefs.h. */
23507 #include <sys/types.h>
23508 #include <sys/param.h>
23513 #if BYTE_ORDER != BIG_ENDIAN
23521 if ac_fn_c_try_compile
"$LINENO"; then :
23522 ac_cv_c_bigendian
=yes
23524 ac_cv_c_bigendian
=no
23526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23530 if test $ac_cv_c_bigendian = unknown
; then
23531 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
23532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23533 /* end confdefs.h. */
23534 #include <limits.h>
23539 #if ! (defined _LITTLE_ENDIAN || defined _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 <limits.h>
23556 #ifndef _BIG_ENDIAN
23564 if ac_fn_c_try_compile
"$LINENO"; then :
23565 ac_cv_c_bigendian
=yes
23567 ac_cv_c_bigendian
=no
23569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23573 if test $ac_cv_c_bigendian = unknown
; then
23574 # Compile a test program.
23575 if test "$cross_compiling" = yes; then :
23576 # Try to guess by grepping values from an object file.
23577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23578 /* end confdefs.h. */
23579 short int ascii_mm[] =
23580 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23581 short int ascii_ii[] =
23582 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23583 int use_ascii (int i) {
23584 return ascii_mm[i] + ascii_ii[i];
23586 short int ebcdic_ii[] =
23587 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23588 short int ebcdic_mm[] =
23589 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23590 int use_ebcdic (int i) {
23591 return ebcdic_mm[i] + ebcdic_ii[i];
23598 return use_ascii (foo) == use_ebcdic (foo);
23603 if ac_fn_c_try_compile
"$LINENO"; then :
23604 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23605 ac_cv_c_bigendian
=yes
23607 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23608 if test "$ac_cv_c_bigendian" = unknown
; then
23609 ac_cv_c_bigendian
=no
23611 # finding both strings is unlikely to happen, but who knows?
23612 ac_cv_c_bigendian
=unknown
23616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23619 /* end confdefs.h. */
23620 $ac_includes_default
23625 /* Are we little or big endian? From Harbison&Steele. */
23629 char c[sizeof (long int)];
23632 return u.c[sizeof (long int) - 1] == 1;
23638 if ac_fn_c_try_run
"$LINENO"; then :
23639 ac_cv_c_bigendian
=no
23641 ac_cv_c_bigendian
=yes
23643 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23644 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
23650 $as_echo "$ac_cv_c_bigendian" >&6; }
23651 case $ac_cv_c_bigendian in #(
23653 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
23659 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
23663 as_fn_error
"unknown endianness
23664 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
23672 if test -z "$ZLIBSPEC"; then
23673 # Use zlib from the GCC tree.
23674 ZINCS
='-I$(top_srcdir)/../zlib'
23675 ZLIBS
=..
/zlib
/libzgcj_convenience.la
23678 SYS_ZLIBS
="$ZLIBSPEC"
23690 if test "$NATIVE" = yes; then
23698 if test "$enable_shared" = yes; then
23699 ENABLE_SHARED_TRUE
=
23700 ENABLE_SHARED_FALSE
='#'
23702 ENABLE_SHARED_TRUE
='#'
23703 ENABLE_SHARED_FALSE
=
23706 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
23707 NEEDS_DATA_START_TRUE
=
23708 NEEDS_DATA_START_FALSE
='#'
23710 NEEDS_DATA_START_TRUE
='#'
23711 NEEDS_DATA_START_FALSE
=
23714 if test -z "${with_multisubdir}"; then
23715 INSTALL_BINARIES_TRUE
=
23716 INSTALL_BINARIES_FALSE
='#'
23718 INSTALL_BINARIES_TRUE
='#'
23719 INSTALL_BINARIES_FALSE
=
23724 # Process the option "--enable-version-specific-runtime-libs"
23725 # Calculate toolexeclibdir
23726 case ${version_specific_libs} in
23728 # Need the gcc compiler version to know where to install libraries
23729 # and header files if --enable-version-specific-runtime-libs option
23731 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
23732 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
23733 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
23734 toolexeclibdir
=$toolexecmainlibdir
23737 if test -n "$with_cross_host" &&
23738 test x
"$with_cross_host" != x
"no"; then
23739 # Install a library built with a cross compiler in tooldir, not libdir.
23740 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
23741 toolexecmainlibdir
='$(toolexecdir)/lib'
23743 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
23744 toolexecmainlibdir
='$(libdir)'
23746 multi_os_directory
=`$CC -print-multi-os-directory`
23747 case $multi_os_directory in
23748 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
23749 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
23757 # Determine gcj and libgcj version number.
23758 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
23759 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
23760 GCJVERSION
=$gcjversion
23763 cat >>confdefs.h
<<_ACEOF
23764 #define GCJVERSION "$GCJVERSION"
23768 # Determine where the standard .db file and GNU Classpath JNI
23769 # libraries are found.
23770 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
23771 multi_os_directory
=`$CC -print-multi-os-directory`
23772 case $multi_os_directory in
23774 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
23777 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
23784 $as_echo "#define JV_VERSION \"1.5.0\"" >>confdefs.h
23787 $as_echo "#define JV_API_VERSION \"1.5\"" >>confdefs.h
23791 case "${with_gxx_include_dir}" in
23793 as_fn_error
"--with-gxx-include-dir=[dir] requires a directory" "$LINENO" 5
23796 case "${enable_version_specific_runtime_libs}" in
23797 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
23799 libstdcxx_incdir
='c++/$(gcc_version)'
23800 gxx_include_dir
='include/$(libstdcxx_incdir)'
23801 if test -n "$with_cross_host" &&
23802 test x
"$with_cross_host" != x
"no"; then
23803 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
23805 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
23808 *) gxx_include_dir
=${with_gxx_include_dir} ;;
23814 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
23815 # On that system, sys/ioctl.h will not include sys/filio.h unless
23816 # BSD_COMP is defined; just including sys/filio.h is simpler.
23817 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
23818 # for now. If you change this, you also must update natFile.cc.
23819 for ac_header
in unistd.h bstring.h sys
/time.h sys
/types.h fcntl.h \
23820 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
23821 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h \
23822 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
23823 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
23825 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23826 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23827 eval as_val
=\$
$as_ac_Header
23828 if test "x$as_val" = x
""yes; then :
23829 cat >>confdefs.h
<<_ACEOF
23830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23838 # sys/socket.h is a prerequisite for net/if.h on Solaris.
23839 for ac_header
in net
/if.h
23841 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
23842 #ifdef HAVE_SYS_SOCKET_H
23843 #include <sys/socket.h>
23847 if test "x$ac_cv_header_net_if_h" = x
""yes; then :
23848 cat >>confdefs.h
<<_ACEOF
23849 #define HAVE_NET_IF_H 1
23857 for ac_header
in inttypes.h
23859 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
23860 if test "x$ac_cv_header_inttypes_h" = x
""yes; then :
23861 cat >>confdefs.h
<<_ACEOF
23862 #define HAVE_INTTYPES_H 1
23866 $as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h
23869 $as_echo "#define JV_HAVE_INTTYPES_H 1" >>confdefs.h
23877 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
23878 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
23882 cat >>confdefs.h
<<_ACEOF
23883 #define ssize_t int
23888 ac_fn_c_check_type
"$LINENO" "magic_t" "ac_cv_type_magic_t" "
23889 #ifdef HAVE_MAGIC_H
23893 if test "x$ac_cv_type_magic_t" = x
""yes; then :
23896 $as_echo "#define HAVE_MAGIC_T 1" >>confdefs.h
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t" >&5
23902 $as_echo_n "checking for in_addr_t... " >&6; }
23903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23904 /* end confdefs.h. */
23905 #include <sys/types.h>
23907 #include <stdlib.h>
23908 #include <stddef.h>
23910 #if HAVE_NETINET_IN_H
23911 #include <netinet/in.h>
23921 if ac_fn_c_try_compile
"$LINENO"; then :
23923 $as_echo "#define HAVE_IN_ADDR_T 1" >>confdefs.h
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23926 $as_echo "yes" >&6; }
23928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23929 $as_echo "no" >&6; }
23931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ip_mreq is in netinet/in.h" >&5
23934 $as_echo_n "checking whether struct ip_mreq is in netinet/in.h... " >&6; }
23935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23936 /* end confdefs.h. */
23937 #include <netinet/in.h>
23941 struct ip_mreq mreq;
23946 if ac_fn_c_try_compile
"$LINENO"; then :
23948 $as_echo "#define HAVE_STRUCT_IP_MREQ 1" >>confdefs.h
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23951 $as_echo "yes" >&6; }
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23954 $as_echo "no" >&6; }
23956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ipv6_mreq is in netinet/in.h" >&5
23959 $as_echo_n "checking whether struct ipv6_mreq is in netinet/in.h... " >&6; }
23960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23961 /* end confdefs.h. */
23962 #include <netinet/in.h>
23966 struct ipv6_mreq mreq6;
23971 if ac_fn_c_try_compile
"$LINENO"; then :
23973 $as_echo "#define HAVE_STRUCT_IPV6_MREQ 1" >>confdefs.h
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23976 $as_echo "yes" >&6; }
23978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23979 $as_echo "no" >&6; }
23981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
23984 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
23985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23987 #include <netinet/in.h>
23991 struct sockaddr_in6 addr6;
23996 if ac_fn_c_try_compile
"$LINENO"; then :
23998 $as_echo "#define HAVE_INET6 1" >>confdefs.h
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24001 $as_echo "yes" >&6; }
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24004 $as_echo "no" >&6; }
24006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
24009 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
24010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24011 /* end confdefs.h. */
24012 #define _POSIX_PII_SOCKET
24013 #include <sys/types.h>
24014 #include <sys/socket.h>
24023 if ac_fn_c_try_compile
"$LINENO"; then :
24025 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
24027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24028 $as_echo "yes" >&6; }
24030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24031 $as_echo "no" >&6; }
24033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
24036 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
24037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h. */
24043 struct tm tim; tim.tm_gmtoff = 0;
24048 if ac_fn_c_try_compile
"$LINENO"; then :
24050 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24053 $as_echo "yes" >&6; }
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24056 $as_echo "no" >&6; }
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
24058 $as_echo_n "checking for global timezone variable... " >&6; }
24059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24060 /* end confdefs.h. */
24065 void i(){long z2 = 2*timezone;}
24070 if ac_fn_c_try_compile
"$LINENO"; then :
24072 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24075 $as_echo "yes" >&6; }
24077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24078 $as_echo "no" >&6; }
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
24080 $as_echo_n "checking for global _timezone variable... " >&6; }
24081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24082 /* end confdefs.h. */
24087 long z2 = _timezone;
24092 if ac_fn_c_try_compile
"$LINENO"; then :
24094 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 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; }
24102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24108 for ac_prog
in perl
24110 # Extract the first word of "$ac_prog", so it can be a program name with args.
24111 set dummy
$ac_prog; ac_word
=$2
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24113 $as_echo_n "checking for $ac_word... " >&6; }
24114 if test "${ac_cv_prog_PERL+set}" = set; then :
24115 $as_echo_n "(cached) " >&6
24117 if test -n "$PERL"; then
24118 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
24120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24121 for as_dir
in $PATH
24124 test -z "$as_dir" && as_dir
=.
24125 for ac_exec_ext
in '' $ac_executable_extensions; do
24126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24127 ac_cv_prog_PERL
="$ac_prog"
24128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24137 PERL
=$ac_cv_prog_PERL
24138 if test -n "$PERL"; then
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
24140 $as_echo "$PERL" >&6; }
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24143 $as_echo "no" >&6; }
24147 test -n "$PERL" && break
24149 test -n "$PERL" || PERL
="false"
24153 SIGNAL_HANDLER_AUX
=
24157 SIGNAL_HANDLER
=include
/i386-signal.h
24159 sparc
*-sun-solaris*)
24160 SIGNAL_HANDLER
=include
/sparc-signal.h
24163 # SYSDEP_SOURCES=sysdep/ia64.c
24164 # test -d sysdep || mkdir sysdep
24167 SIGNAL_HANDLER
=include
/pa-signal.h
24170 SIGNAL_HANDLER
=include
/hppa-signal.h
24173 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24176 SIGNAL_HANDLER
=include
/powerpc-signal.h
24179 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24182 SIGNAL_HANDLER
=include
/s390-signal.h
24185 SIGNAL_HANDLER
=include
/x86_64-signal.h
24186 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
24189 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24192 SIGNAL_HANDLER
=include
/sh-signal.h
24195 SIGNAL_HANDLER
=include
/win32-signal.h
24198 SIGNAL_HANDLER
=include
/mips-signal.h
24201 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24203 powerpc
*-*-darwin* | i?
86-*-darwin[912]* | x86_64-
*-darwin[912]*)
24204 SIGNAL_HANDLER
=include
/darwin-signal.h
24207 SIGNAL_HANDLER
=include
/aix-signal.h
24210 SIGNAL_HANDLER
=include
/default-signal.h
24214 # If we're using sjlj exceptions, forget what we just learned.
24215 if test "$enable_sjlj_exceptions" = yes; then
24216 SIGNAL_HANDLER
=include
/default-signal.h
24217 SIGNAL_HANDLER_AUX
=
24222 if test -z "$SIGNAL_HANDLER_AUX"; then
24223 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
24226 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
24229 if test "${multilib}" = "yes"; then
24230 multilib_arg
="--enable-multilib"
24235 # See if we support thread-local storage.
24238 # Check whether --enable-tls was given.
24239 if test "${enable_tls+set}" = set; then :
24240 enableval
=$enable_tls;
24241 case "$enableval" in
24243 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
24252 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
24253 if test "${gcc_cv_have_tls+set}" = set; then :
24254 $as_echo_n "(cached) " >&6
24257 if test "$cross_compiling" = yes; then :
24258 if test x
$gcc_no_link = xyes
; then
24259 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24262 /* end confdefs.h. */
24263 __thread int a; int b; int main() { return a = b; }
24265 if ac_fn_c_try_link
"$LINENO"; then :
24266 chktls_save_LDFLAGS
="$LDFLAGS"
24269 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
24272 chktls_save_CFLAGS
="$CFLAGS"
24273 CFLAGS
="-fPIC $CFLAGS"
24274 if test x
$gcc_no_link = xyes
; then
24275 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279 int f() { return 0; }
24281 if ac_fn_c_try_link
"$LINENO"; then :
24282 if test x
$gcc_no_link = xyes
; then
24283 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24286 /* end confdefs.h. */
24287 __thread int a; int b; int f() { return a = b; }
24289 if ac_fn_c_try_link
"$LINENO"; then :
24290 gcc_cv_have_tls
=yes
24294 rm -f core conftest.err conftest.
$ac_objext \
24295 conftest
$ac_exeext conftest.
$ac_ext
24297 gcc_cv_have_tls
=yes
24299 rm -f core conftest.err conftest.
$ac_objext \
24300 conftest
$ac_exeext conftest.
$ac_ext
24301 CFLAGS
="$chktls_save_CFLAGS"
24302 LDFLAGS
="$chktls_save_LDFLAGS"
24306 rm -f core conftest.err conftest.
$ac_objext \
24307 conftest
$ac_exeext conftest.
$ac_ext
24311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h. */
24313 __thread int a; int b; int main() { return a = b; }
24315 if ac_fn_c_try_run
"$LINENO"; then :
24316 chktls_save_LDFLAGS
="$LDFLAGS"
24317 LDFLAGS
="-static $LDFLAGS"
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 main() { return 0; }
24325 if ac_fn_c_try_link
"$LINENO"; then :
24326 if test "$cross_compiling" = yes; then :
24327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24329 as_fn_error
"cannot run test program while cross compiling
24330 See \`config.log' for more details." "$LINENO" 5; }
24332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24333 /* end confdefs.h. */
24334 __thread int a; int b; int main() { return a = b; }
24336 if ac_fn_c_try_run
"$LINENO"; then :
24337 gcc_cv_have_tls
=yes
24341 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24342 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24346 gcc_cv_have_tls
=yes
24348 rm -f core conftest.err conftest.
$ac_objext \
24349 conftest
$ac_exeext conftest.
$ac_ext
24350 LDFLAGS
="$chktls_save_LDFLAGS"
24351 if test $gcc_cv_have_tls = yes; then
24352 chktls_save_CFLAGS
="$CFLAGS"
24353 thread_CFLAGS
=failed
24354 for flag
in '' '-pthread' '-lpthread'; do
24355 CFLAGS
="$flag $chktls_save_CFLAGS"
24356 if test x
$gcc_no_link = xyes
; then
24357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24360 /* end confdefs.h. */
24361 #include <pthread.h>
24362 void *g(void *d) { return NULL; }
24366 pthread_t t; pthread_create(&t,NULL,g,NULL);
24371 if ac_fn_c_try_link
"$LINENO"; then :
24372 thread_CFLAGS
="$flag"
24374 rm -f core conftest.err conftest.
$ac_objext \
24375 conftest
$ac_exeext conftest.
$ac_ext
24376 if test "X$thread_CFLAGS" != Xfailed
; then
24380 CFLAGS
="$chktls_save_CFLAGS"
24381 if test "X$thread_CFLAGS" != Xfailed
; then
24382 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
24383 if test "$cross_compiling" = yes; then :
24384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24386 as_fn_error
"cannot run test program while cross compiling
24387 See \`config.log' for more details." "$LINENO" 5; }
24389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h. */
24391 #include <pthread.h>
24393 static int *a_in_other_thread;
24395 thread_func (void *arg)
24397 a_in_other_thread = &a;
24404 void *thread_retval;
24405 int *a_in_main_thread;
24406 if (pthread_create (&thread, (pthread_attr_t *)0,
24407 thread_func, (void *)0))
24409 a_in_main_thread = &a;
24410 if (pthread_join (thread, &thread_retval))
24412 return (a_in_other_thread == a_in_main_thread);
24417 if ac_fn_c_try_run
"$LINENO"; then :
24418 gcc_cv_have_tls
=yes
24422 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24423 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24426 CFLAGS
="$chktls_save_CFLAGS"
24432 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24433 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
24438 $as_echo "$gcc_cv_have_tls" >&6; }
24439 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
24441 $as_echo "#define HAVE_TLS 1" >>confdefs.h
24445 # For _Unwind_GetIPInfo.
24448 # Check whether --with-system-libunwind was given.
24449 if test "${with_system_libunwind+set}" = set; then :
24450 withval
=$with_system_libunwind;
24453 # If system-libunwind was not specifically set, pick a default setting.
24454 if test x
$with_system_libunwind = x
; then
24456 ia64-
*-hpux*) with_system_libunwind
=yes ;;
24457 *) with_system_libunwind
=no
;;
24460 # Based on system-libunwind and target, do we have ipinfo?
24461 if test x
$with_system_libunwind = xyes
; then
24463 ia64-
*-*) have_unwind_getipinfo
=no
;;
24464 *) have_unwind_getipinfo
=yes ;;
24467 # Darwin before version 9 does not have _Unwind_GetIPInfo.
24470 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
24471 *) have_unwind_getipinfo
=yes ;;
24476 if test x
$have_unwind_getipinfo = xyes
; then
24478 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
24483 # See if linker supports anonymous version scripts.
24484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous version scripts" >&5
24485 $as_echo_n "checking whether ld supports anonymous version scripts... " >&6; }
24486 if test "${libjava_cv_anon_version_script+set}" = set; then :
24487 $as_echo_n "(cached) " >&6
24489 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
24490 libjava_cv_anon_version_script
=no
24491 CFLAGS
="$CFLAGS -fPIC"; LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
24492 echo '{ global: globalsymb*; local: *; };' > conftest.map
24493 if test x
$gcc_no_link = xyes
; then
24494 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24497 /* end confdefs.h. */
24498 void globalsymbol (void) {} void localsymbol (void) {}
24507 if ac_fn_c_try_link
"$LINENO"; then :
24508 libjava_cv_anon_version_script
=yes
24510 rm -f core conftest.err conftest.
$ac_objext \
24511 conftest
$ac_exeext conftest.
$ac_ext
24512 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_anon_version_script" >&5
24516 $as_echo "$libjava_cv_anon_version_script" >&6; }
24517 if test "$libjava_cv_anon_version_script" = yes; then
24518 ANONVERSCRIPT_TRUE
=
24519 ANONVERSCRIPT_FALSE
='#'
24521 ANONVERSCRIPT_TRUE
='#'
24522 ANONVERSCRIPT_FALSE
=
24526 # Check if linker supports static linking on a per library basis
24527 LD_START_STATIC_SPEC
=
24528 LD_FINISH_STATIC_SPEC
=
24529 if $LD --help 2>&1 |
grep -- -call_shared >/dev
/null
2>&1; then
24530 if $LD --help 2>&1 |
grep -- -non_shared >/dev
/null
2>&1; then
24531 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
24532 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
24538 here
=`${PWDCMD-pwd}`
24541 # We get this from the environment.
24545 # Check whether --with-python-dir was given.
24546 if test "${with_python_dir+set}" = set; then :
24547 withval
=$with_python_dir; with_python_dir
=$withval
24553 if test "x${with_python_dir}" = "x"
24555 # Needed for installing Python modules during make install.
24556 python_mod_dir
="\${prefix}/share/python"
24557 # Needed for substituting into aot-compile*
24558 python_mod_dir_expanded
="${expanded_prefix}/share/python"
24560 python_mod_dir
="\${prefix}${with_python_dir}"
24561 python_mod_dir_expanded
="${expanded_prefix}${with_python_dir}"
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Python modules dir: ${python_mod_dir_expanded}" >&5
24564 $as_echo "Python modules dir: ${python_mod_dir_expanded}" >&6; };
24568 # needed for aot-compile-rpm
24572 # Check whether --enable-aot-compile-rpm was given.
24573 if test "${enable_aot_compile_rpm+set}" = set; then :
24574 enableval
=$enable_aot_compile_rpm; case "${enableval}" in
24575 yes) AOT_RPM_ENABLED
=yes ;;
24576 no
) AOT_RPM_ENABLED
=no
;;
24577 *) as_fn_error
"Unknown argument to enable/disable aot-compile-rpm" "$LINENO" 5 ;;
24584 if test "x${AOT_RPM_ENABLED}" = xyes
; then
24585 INSTALL_AOT_RPM_TRUE
=
24586 INSTALL_AOT_RPM_FALSE
='#'
24588 INSTALL_AOT_RPM_TRUE
='#'
24589 INSTALL_AOT_RPM_FALSE
=
24593 # Check whether --enable-java-home was given.
24594 if test "${enable_java_home+set}" = set; then :
24595 enableval
=$enable_java_home; case "${enableval}" in
24596 yes) JAVA_HOME_ENABLED
=yes ;;
24597 no
) JAVA_HOME_ENABLED
=no
;;
24598 *) as_fn_error
"Unknown argument to enable/disable java-home" "$LINENO" 5 ;;
24601 JAVA_HOME_ENABLED
=no
24605 if test "x${JAVA_HOME_ENABLED}" = xyes
; then
24606 CREATE_JAVA_HOME_TRUE
=
24607 CREATE_JAVA_HOME_FALSE
='#'
24609 CREATE_JAVA_HOME_TRUE
='#'
24610 CREATE_JAVA_HOME_FALSE
=
24614 # Only do these checks if java-home above is enabled.
24615 if test "x${JAVA_HOME_ENABLED}" = xyes
24619 # Check whether --with-gcc-suffix was given.
24620 if test "${with_gcc_suffix+set}" = set; then :
24621 withval
=$with_gcc_suffix; gcc_suffix
=$withval
24626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCC suffix: ${gcc_suffix}" >&5
24627 $as_echo "GCC suffix: ${gcc_suffix}" >&6; }
24631 # Check whether --with-arch-directory was given.
24632 if test "${with_arch_directory+set}" = set; then :
24633 withval
=$with_arch_directory; host_cpu
=$withval
24640 # Check whether --with-os-directory was given.
24641 if test "${with_os_directory+set}" = set; then :
24642 withval
=$with_os_directory; host_os
=$withval
24649 # Check whether --with-origin-name was given.
24650 if test "${with_origin_name+set}" = set; then :
24651 withval
=$with_origin_name; origin_name
=$withval
24653 origin_name
=gcj
${gcc_suffix}
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JPackage origin name: ${origin_name}" >&5
24657 $as_echo "JPackage origin name: ${origin_name}" >&6; }
24660 # Check whether --with-arch-suffix was given.
24661 if test "${with_arch_suffix+set}" = set; then :
24662 withval
=$with_arch_suffix; arch_suffix
=$withval
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch suffix: ${arch_suffix}" >&5
24668 $as_echo "arch suffix: ${arch_suffix}" >&6; }
24671 # Check whether --with-jvm-root-dir was given.
24672 if test "${with_jvm_root_dir+set}" = set; then :
24673 withval
=$with_jvm_root_dir; jvm_root_dir
=$withval
24675 jvm_root_dir
="\${prefix}/lib/jvm"
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM root installation directory: ${jvm_root_dir}" >&5
24679 $as_echo "JVM root installation directory: ${jvm_root_dir}" >&6; }
24682 # Check whether --with-jvm-jar-dir was given.
24683 if test "${with_jvm_jar_dir+set}" = set; then :
24684 withval
=$with_jvm_jar_dir; jvm_jar_dir
=$withval
24686 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JAR root installation directory: ${jvm_jar_dir}" >&5
24690 $as_echo "JAR root installation directory: ${jvm_jar_dir}" >&6; }
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Java version: ${JAVA_VERSION}" >&5
24697 $as_echo "Java version: ${JAVA_VERSION}" >&6; }
24700 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
24701 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
24703 JVM_ROOT_DIR
=${jvm_root_dir}
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
24706 $as_echo "JVM ROOT directory: ${JVM_ROOT_DIR}" >&6; }
24708 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
24710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
24711 $as_echo "JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6; }
24713 JVM_JAR_DIR
=${jvm_jar_dir}
24715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
24716 $as_echo "JVM JAR directory: ${JVM_JAR_DIR}" >&6; }
24727 SDK_BIN_DIR
=${jvm_root_dir}/bin
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
24730 $as_echo "SDK tools directory: ${SDK_BIN_DIR}" >&6; }
24732 SDK_LIB_DIR
=${jvm_root_dir}/lib
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
24735 $as_echo "SDK jar directory: ${SDK_LIB_DIR}" >&6; }
24737 SDK_INCLUDE_DIR
=${jvm_root_dir}/include
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
24740 $as_echo "SDK include directory: ${SDK_INCLUDE_DIR}" >&6; }
24742 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
24745 $as_echo "JRE tools directory: ${JRE_BIN_DIR}" >&6; }
24747 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
24750 $as_echo "JRE lib directory: ${JRE_LIB_DIR}" >&6; }
24752 # Find gcj prefix using gcj found in PATH.
24753 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
24755 # Where do the gcj binaries live?
24756 # For jhbuild based builds, they all live in a sibling of bin called
24757 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
24758 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
24761 $as_echo "GCJ tools directory: ${GCJ_BIN_DIR}" >&6; }
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host is ${host}" >&5
24764 $as_echo "host is ${host}" >&6; }
24765 if test "x${host_cpu}" = "x"
24768 *-mingw* |
*-cygwin*)
24770 i486-
* | i586-
* | i686-
*)
24775 host_cpu
=${host_cpu};;
24778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch directory: ${host_cpu}" >&5
24779 $as_echo "arch directory: ${host_cpu}" >&6; }
24783 if test "x${host_os}" = "x"
24786 *-mingw* |
*-cygwin*)
24791 host_os
=${host_os};;
24794 echo os directory
: ${host_os}
24798 # make an expanded $libdir, for substituting into
24799 # scripts (and other non-Makefile things).
24801 if test "x${exec_prefix}" = "xNONE"
24803 lib_exec_prefix
=$expanded_prefix
24805 lib_exec_prefix
=$exec_prefix
24807 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
24811 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"
24814 if test ${multilib} = yes; then
24815 multilib_arg
="--enable-multilib"
24820 ac_config_files
="$ac_config_files scripts/jar"
24822 cat >confcache
<<\_ACEOF
24823 # This file is a shell script that caches the results of configure
24824 # tests run on this system so they can be shared between configure
24825 # scripts and configure runs, see configure's option --config-cache.
24826 # It is not useful on other systems. If it contains results you don't
24827 # want to keep, you may remove or edit it.
24829 # config.status only pays attention to the cache file if you give it
24830 # the --recheck option to rerun configure.
24832 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24833 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24834 # following values.
24838 # The following way of writing the cache mishandles newlines in values,
24839 # but we know of no workaround that is simple, portable, and efficient.
24840 # So, we kill variables containing newlines.
24841 # Ultrix sh set writes to stderr and can't be redirected directly,
24842 # and sets the high bit in the cache file unless we assign to the vars.
24844 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24845 eval ac_val
=\$
$ac_var
24849 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24850 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24853 _ | IFS | as_nl
) ;; #(
24854 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24855 *) { eval $ac_var=; unset $ac_var;} ;;
24861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24862 *${as_nl}ac_space
=\
*)
24863 # `set' does not quote correctly, so add quotes: double-quote
24864 # substitution turns \\\\ into \\, and sed turns \\ into \.
24867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24870 # `set' quotes correctly as required by POSIX, so do not add quotes.
24871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24884 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24885 if test -w "$cache_file"; then
24886 test "x$cache_file" != "x/dev/null" &&
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24888 $as_echo "$as_me: updating cache $cache_file" >&6;}
24889 cat confcache
>$cache_file
24891 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24892 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24897 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24898 # Let make expand exec_prefix.
24899 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24901 DEFS
=-DHAVE_CONFIG_H
24905 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24906 # 1. Remove the extension, and $U if already installed.
24907 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24908 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24909 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24910 # will be set to the directory where LIBOBJS objects are built.
24911 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24912 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
24914 LIBOBJS
=$ac_libobjs
24916 LTLIBOBJS
=$ac_ltlibobjs
24919 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
24920 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
24921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24923 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
24924 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
24925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24927 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24928 as_fn_error
"conditional \"AMDEP\" was never defined.
24929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24931 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24932 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
24933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24935 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24936 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
24937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24939 if test -n "$EXEEXT"; then
24941 am__EXEEXT_FALSE
='#'
24943 am__EXEEXT_TRUE
='#'
24947 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24948 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
24949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24951 if test -z "${BUILD_SUBLIBS_TRUE}" && test -z "${BUILD_SUBLIBS_FALSE}"; then
24952 as_fn_error
"conditional \"BUILD_SUBLIBS\" was never defined.
24953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24955 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
24956 as_fn_error
"conditional \"XLIB_AWT\" was never defined.
24957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24959 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
24960 as_fn_error
"conditional \"X_AWT\" was never defined.
24961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24963 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
24964 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
24965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24967 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
24968 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
24969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24971 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
24972 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
24973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24975 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
24976 as_fn_error
"conditional \"BUILD_ECJ1\" was never defined.
24977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24979 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
24980 as_fn_error
"conditional \"INSTALL_ECJ_JAR\" was never defined.
24981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24983 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
24984 as_fn_error
"conditional \"JAVA_HOME_SET\" was never defined.
24985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24987 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
24988 as_fn_error
"conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
24989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24991 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
24992 as_fn_error
"conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
24993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24995 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
24996 as_fn_error
"conditional \"INTERPRETER\" was never defined.
24997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
24999 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
25000 as_fn_error
"conditional \"USING_WIN32_PLATFORM\" was never defined.
25001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25003 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
25004 as_fn_error
"conditional \"USING_POSIX_PLATFORM\" was never defined.
25005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25007 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
25008 as_fn_error
"conditional \"USING_DARWIN_CRT\" was never defined.
25009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25011 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
25012 as_fn_error
"conditional \"USING_BOEHMGC\" was never defined.
25013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25015 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
25016 as_fn_error
"conditional \"USING_NOGC\" was never defined.
25017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25019 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
25020 as_fn_error
"conditional \"USING_POSIX_THREADS\" was never defined.
25021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25023 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
25024 as_fn_error
"conditional \"USING_WIN32_THREADS\" was never defined.
25025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25027 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
25028 as_fn_error
"conditional \"USING_NO_THREADS\" was never defined.
25029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25031 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
25032 as_fn_error
"conditional \"USE_LIBGCJ_BC\" was never defined.
25033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25035 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
25036 as_fn_error
"conditional \"USING_GCC\" was never defined.
25037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25039 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25040 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25044 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
25045 as_fn_error
"conditional \"NATIVE\" was never defined.
25046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25048 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
25049 as_fn_error
"conditional \"ENABLE_SHARED\" was never defined.
25050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25052 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
25053 as_fn_error
"conditional \"NEEDS_DATA_START\" was never defined.
25054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25056 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25057 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
25058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25060 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
25061 as_fn_error
"conditional \"ANONVERSCRIPT\" was never defined.
25062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25064 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
25065 as_fn_error
"conditional \"INSTALL_AOT_RPM\" was never defined.
25066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25068 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
25069 as_fn_error
"conditional \"CREATE_JAVA_HOME\" was never defined.
25070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25073 : ${CONFIG_STATUS=./config.status}
25075 ac_clean_files_save
=$ac_clean_files
25076 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25078 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25080 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25082 # Generated by $as_me.
25083 # Run this file to recreate the current configuration.
25084 # Compiler output produced by configure, useful for debugging
25085 # configure, is in config.log if it exists.
25088 ac_cs_recheck=false
25091 SHELL=\${CONFIG_SHELL-$SHELL}
25094 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25095 ## -------------------- ##
25096 ## M4sh Initialization. ##
25097 ## -------------------- ##
25099 # Be more Bourne compatible
25100 DUALCASE
=1; export DUALCASE
# for MKS sh
25101 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25104 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25105 # is contrary to our usage. Disable this feature.
25106 alias -g '${1+"$@"}'='"$@"'
25107 setopt NO_GLOB_SUBST
25109 case `(set -o) 2>/dev/null` in #(
25121 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25122 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25123 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25124 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25125 # Prefer a ksh shell builtin over an external printf program on Solaris,
25126 # but without wasting forks for bash or zsh.
25127 if test -z "$BASH_VERSION$ZSH_VERSION" \
25128 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25129 as_echo='print
-r --'
25130 as_echo_n='print
-rn --'
25131 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25132 as_echo='printf %s
\n'
25133 as_echo_n='printf %s
'
25135 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25136 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25137 as_echo_n='/usr
/ucb
/echo -n'
25139 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25140 as_echo_n_body='eval
25144 expr "X$arg" : "X\\(.*\\)$as_nl";
25145 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25147 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25149 export as_echo_n_body
25150 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25152 export as_echo_body
25153 as_echo='sh
-c $as_echo_body as_echo
'
25156 # The user is always right.
25157 if test "${PATH_SEPARATOR+set}" != set; then
25159 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25160 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25167 # We need space, tab and new line, in precisely that order. Quoting is
25168 # there to prevent editors from complaining about space-tab.
25169 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25170 # splitting by setting IFS to empty value.)
25173 # Find who we are. Look in the path if we contain no directory separator.
25175 *[\\/]* ) as_myself=$0 ;;
25176 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25177 for as_dir in $PATH
25180 test -z "$as_dir" && as_dir=.
25181 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25187 # We did not find ourselves, most probably we were run as `sh COMMAND'
25188 # in which case we are not to be found in the path.
25189 if test "x$as_myself" = x
; then
25192 if test ! -f "$as_myself"; then
25193 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25197 # Unset variables that we do not need and which cause bugs (e.g. in
25198 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25199 # suppresses any "Segmentation fault" message there. '((' could
25200 # trigger a bug in pdksh 5.2.14.
25201 for as_var
in BASH_ENV ENV MAIL MAILPATH
25202 do eval test x\
${$as_var+set} = xset \
25203 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25216 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25219 # as_fn_error ERROR [LINENO LOG_FD]
25220 # ---------------------------------
25221 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25222 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25223 # script with status $?, using 1 if that was 0.
25226 as_status
=$?
; test $as_status -eq 0 && as_status
=1
25228 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25229 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25231 $as_echo "$as_me: error: $1" >&2
25232 as_fn_exit
$as_status
25236 # as_fn_set_status STATUS
25237 # -----------------------
25238 # Set $? to STATUS, without forking.
25239 as_fn_set_status
()
25242 } # as_fn_set_status
25244 # as_fn_exit STATUS
25245 # -----------------
25246 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25250 as_fn_set_status
$1
25256 # Portably unset VAR.
25259 { eval $1=; unset $1;}
25261 as_unset
=as_fn_unset
25262 # as_fn_append VAR VALUE
25263 # ----------------------
25264 # Append the text in VALUE to the end of the definition contained in VAR. Take
25265 # advantage of any shell optimizations that allow amortized linear growth over
25266 # repeated appends, instead of the typical quadratic growth present in naive
25268 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25269 eval 'as_fn_append ()
25280 # as_fn_arith ARG...
25281 # ------------------
25282 # Perform arithmetic evaluation on the ARGs, and store the result in the
25283 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25284 # must be portable across $(()) and expr.
25285 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25286 eval 'as_fn_arith ()
25293 as_val
=`expr "$@" || test $? -eq 1`
25298 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25299 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25305 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25306 as_basename
=basename
25311 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25317 as_me
=`$as_basename -- "$0" ||
25318 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25319 X"$0" : 'X\(//\)$' \| \
25320 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25322 sed '/^.*\/\([^/][^/]*\)\/*$/{
25336 # Avoid depending upon Character Ranges.
25337 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25338 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25339 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25340 as_cr_digits
='0123456789'
25341 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25343 ECHO_C
= ECHO_N
= ECHO_T
=
25344 case `echo -n x` in #(((((
25346 case `echo 'xy\c'` in
25347 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25349 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25356 rm -f conf$$ conf$$.exe conf$$.
file
25357 if test -d conf$$.dir
; then
25358 rm -f conf$$.dir
/conf$$.
file
25361 mkdir conf$$.dir
2>/dev
/null
25363 if (echo >conf$$.
file) 2>/dev
/null
; then
25364 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25366 # ... but there are two gotchas:
25367 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25368 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25369 # In both cases, we have to default to `cp -p'.
25370 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25372 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25380 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25381 rmdir conf$$.dir
2>/dev
/null
25386 # Create "$as_dir" as a directory, including parents if necessary.
25391 -*) as_dir
=.
/$as_dir;;
25393 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25397 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25398 *) as_qdir
=$as_dir;;
25400 as_dirs
="'$as_qdir' $as_dirs"
25401 as_dir
=`$as_dirname -- "$as_dir" ||
25402 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25403 X"$as_dir" : 'X\(//\)[^/]' \| \
25404 X"$as_dir" : 'X\(//\)$' \| \
25405 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25406 $as_echo X"$as_dir" |
25407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25411 /^X\(\/\/\)[^/].*/{
25424 test -d "$as_dir" && break
25426 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25427 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25431 if mkdir
-p .
2>/dev
/null
; then
25432 as_mkdir_p
='mkdir -p "$as_dir"'
25434 test -d .
/-p && rmdir .
/-p
25438 if test -x / >/dev
/null
2>&1; then
25439 as_test_x
='test -x'
25441 if ls -dL / >/dev
/null
2>&1; then
25448 if test -d "$1"; then
25454 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25455 ???[sx]*):;;*)false;;esac;fi
25459 as_executable_p
=$as_test_x
25461 # Sed expression to map a string onto a valid CPP name.
25462 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25464 # Sed expression to map a string onto a valid variable name.
25465 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25469 ## ----------------------------------- ##
25470 ## Main body of $CONFIG_STATUS script. ##
25471 ## ----------------------------------- ##
25473 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25476 # Save the log message, to keep $0 and so on meaningful, and to
25477 # report actual input values of CONFIG_FILES etc. instead of their
25478 # values after options handling.
25480 This file was extended by libjava $as_me version-unused, which was
25481 generated by GNU Autoconf 2.64. Invocation command line was
25483 CONFIG_FILES = $CONFIG_FILES
25484 CONFIG_HEADERS = $CONFIG_HEADERS
25485 CONFIG_LINKS = $CONFIG_LINKS
25486 CONFIG_COMMANDS = $CONFIG_COMMANDS
25489 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25494 case $ac_config_files in *"
25495 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25498 case $ac_config_headers in *"
25499 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25504 # Files that config.status was made for.
25505 config_files="$ac_config_files"
25506 config_headers="$ac_config_headers"
25507 config_links="$ac_config_links"
25508 config_commands="$ac_config_commands"
25512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25514 \`$as_me' instantiates files and other configuration actions
25515 from templates according to the current configuration. Unless the files
25516 and actions are specified as TAGs, all are instantiated by default.
25518 Usage: $0 [OPTION]... [TAG]...
25520 -h, --help print this help, then exit
25521 -V, --version print version number and configuration settings, then exit
25522 -q, --quiet, --silent
25523 do not print progress messages
25524 -d, --debug don't remove temporary files
25525 --recheck update $as_me by reconfiguring in the same conditions
25526 --file=FILE[:TEMPLATE]
25527 instantiate the configuration file FILE
25528 --header=FILE[:TEMPLATE]
25529 instantiate the configuration header FILE
25531 Configuration files:
25534 Configuration headers:
25537 Configuration links:
25540 Configuration commands:
25543 Report bugs to the package provider."
25546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25548 libjava config.status version-unused
25549 configured by $0, generated by GNU Autoconf 2.64,
25550 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25552 Copyright (C) 2009 Free Software Foundation, Inc.
25553 This config.status script is free software; the Free Software Foundation
25554 gives unlimited permission to copy, distribute and modify it."
25561 test -n "\$AWK" || AWK=awk
25564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25565 # The default lists apply if the user does not specify any file.
25571 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25572 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25583 # Handling of the options.
25584 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25586 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25587 $as_echo "$ac_cs_version"; exit ;;
25588 --debug |
--debu |
--deb |
--de |
--d |
-d )
25590 --file |
--fil |
--fi |
--f )
25593 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25595 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25596 ac_need_defaults
=false
;;
25597 --header |
--heade |
--head |
--hea )
25600 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25602 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25603 ac_need_defaults
=false
;;
25605 # Conflict between --help and --header
25606 as_fn_error
"ambiguous option: \`$1'
25607 Try \`$0 --help' for more information.";;
25608 --help |
--hel |
-h )
25609 $as_echo "$ac_cs_usage"; exit ;;
25610 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25611 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25614 # This is an error.
25615 -*) as_fn_error
"unrecognized option: \`$1'
25616 Try \`$0 --help' for more information." ;;
25618 *) as_fn_append ac_config_targets
" $1"
25619 ac_need_defaults
=false
;;
25625 ac_configure_extra_args
=
25627 if $ac_cs_silent; then
25629 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25634 if \$ac_cs_recheck; then
25635 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25637 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25638 CONFIG_SHELL='$SHELL'
25639 export CONFIG_SHELL
25644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25648 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25649 ## Running $as_me. ##
25655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25663 with_multisubdir="$with_multisubdir"
25664 with_multisrctop="$with_multisrctop"
25665 with_target_subdir="$with_target_subdir"
25666 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25667 multi_basedir="$multi_basedir"
25668 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25671 GFORTRAN="$GFORTRAN"
25673 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25676 # The HP-UX ksh and POSIX shell print the target directory to stdout
25677 # if CDPATH is set.
25678 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25680 sed_quote_subst='$sed_quote_subst'
25681 double_quote_subst='$double_quote_subst'
25682 delay_variable_subst='$delay_variable_subst'
25683 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25684 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25685 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25686 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25687 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25688 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25689 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25690 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25691 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25692 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25693 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25694 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25695 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25696 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25697 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25698 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25699 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25700 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25701 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25702 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25703 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25704 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25705 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25706 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25707 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25708 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25709 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25710 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25711 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25712 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25713 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25714 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25715 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25716 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25717 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25718 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25719 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25720 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25721 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25722 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25723 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25724 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25725 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25726 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25727 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25728 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25729 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25730 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25731 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"`'
25732 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25733 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25734 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25735 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25736 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25737 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25738 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25739 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25740 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25741 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25742 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25743 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25744 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25745 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25746 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25747 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25748 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25749 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25750 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25751 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25752 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25753 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25754 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25755 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25756 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25757 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25758 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25759 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25760 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25761 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25762 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25763 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25764 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25765 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25766 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25767 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25768 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25769 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25770 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25771 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25772 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25773 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25774 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25775 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25776 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25777 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25778 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25779 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25780 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25781 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25782 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25783 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25784 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25785 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25786 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25787 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25788 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25789 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25790 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25791 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25792 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25793 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25794 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25795 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25796 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25797 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25798 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25799 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25800 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25801 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25802 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25803 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25804 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25805 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25806 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25807 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25808 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25809 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25810 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
25811 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25812 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25813 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25814 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25815 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25816 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25817 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25818 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
25819 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25820 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
25821 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25822 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25823 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25824 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
25825 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25826 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
25827 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25828 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
25829 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25830 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
25831 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25832 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
25833 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25834 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
25835 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25836 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25837 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25838 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25839 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25840 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
25841 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25842 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25843 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25844 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25845 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25846 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25847 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25848 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25849 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25850 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25851 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25852 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25853 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25854 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25855 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25856 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25857 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25858 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25859 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25860 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25861 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25862 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "$hardcode_libdir_flag_spec_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25863 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25864 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
25865 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25866 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
25867 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25868 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
25869 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25870 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
25871 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25872 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
25873 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25874 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
25875 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25876 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
25877 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
25878 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
25879 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
25880 fix_srcfile_path_GCJ='`$ECHO "$fix_srcfile_path_GCJ" | $SED "$delay_single_quote_subst"`'
25881 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
25882 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
25883 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25884 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25885 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25886 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
25887 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
25888 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
25889 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25890 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25891 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
25892 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25893 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
25894 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
25895 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
25896 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
25897 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25898 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
25899 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
25900 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
25901 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
25902 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
25903 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
25904 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
25905 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
25906 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
25909 LTCFLAGS='$LTCFLAGS'
25910 compiler='$compiler_DEFAULT'
25912 # A function that is used when there is no print builtin or printf.
25913 func_fallback_echo ()
25915 eval 'cat <<_LTECHO_EOF
25920 # Quote evaled strings.
25934 deplibs_check_method \
25943 lt_cv_sys_global_symbol_pipe \
25944 lt_cv_sys_global_symbol_to_cdecl \
25945 lt_cv_sys_global_symbol_to_c_name_address \
25946 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25947 lt_prog_compiler_no_builtin_flag \
25948 lt_prog_compiler_wl \
25949 lt_prog_compiler_pic \
25950 lt_prog_compiler_static \
25951 lt_cv_prog_compiler_c_o \
25959 export_dynamic_flag_spec \
25960 whole_archive_flag_spec \
25961 compiler_needs_object \
25963 allow_undefined_flag \
25964 no_undefined_flag \
25965 hardcode_libdir_flag_spec \
25966 hardcode_libdir_flag_spec_ld \
25967 hardcode_libdir_separator \
25972 variables_saved_for_relink \
25974 library_names_spec \
25976 install_override_mode \
25980 compiler_lib_search_dirs \
25985 compiler_lib_search_path \
25992 lt_prog_compiler_no_builtin_flag_CXX \
25993 lt_prog_compiler_no_builtin_flag_GCJ \
25994 lt_prog_compiler_wl_CXX \
25995 lt_prog_compiler_wl_GCJ \
25996 lt_prog_compiler_pic_CXX \
25997 lt_prog_compiler_pic_GCJ \
25998 lt_prog_compiler_static_CXX \
25999 lt_prog_compiler_static_GCJ \
26000 lt_cv_prog_compiler_c_o_CXX \
26001 lt_cv_prog_compiler_c_o_GCJ \
26002 export_dynamic_flag_spec_CXX \
26003 export_dynamic_flag_spec_GCJ \
26004 whole_archive_flag_spec_CXX \
26005 whole_archive_flag_spec_GCJ \
26006 compiler_needs_object_CXX \
26007 compiler_needs_object_GCJ \
26010 allow_undefined_flag_CXX \
26011 allow_undefined_flag_GCJ \
26012 no_undefined_flag_CXX \
26013 no_undefined_flag_GCJ \
26014 hardcode_libdir_flag_spec_CXX \
26015 hardcode_libdir_flag_spec_GCJ \
26016 hardcode_libdir_flag_spec_ld_CXX \
26017 hardcode_libdir_flag_spec_ld_GCJ \
26018 hardcode_libdir_separator_CXX \
26019 hardcode_libdir_separator_GCJ \
26020 fix_srcfile_path_CXX \
26021 fix_srcfile_path_GCJ \
26022 exclude_expsyms_CXX \
26023 exclude_expsyms_GCJ \
26024 include_expsyms_CXX \
26025 include_expsyms_GCJ \
26026 file_list_spec_CXX \
26027 file_list_spec_GCJ \
26028 compiler_lib_search_dirs_CXX \
26029 compiler_lib_search_dirs_GCJ \
26030 predep_objects_CXX \
26031 predep_objects_GCJ \
26032 postdep_objects_CXX \
26033 postdep_objects_GCJ \
26038 compiler_lib_search_path_CXX \
26039 compiler_lib_search_path_GCJ; do
26040 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26041 *[\\\\\\\`\\"\\\$]*)
26042 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26045 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26050 # Double-quote double-evaled strings.
26051 for var in reload_cmds \
26052 old_postinstall_cmds \
26053 old_postuninstall_cmds \
26055 extract_expsyms_cmds \
26056 old_archive_from_new_cmds \
26057 old_archive_from_expsyms_cmds \
26059 archive_expsym_cmds \
26061 module_expsym_cmds \
26062 export_symbols_cmds \
26065 postuninstall_cmds \
26067 sys_lib_search_path_spec \
26068 sys_lib_dlsearch_path_spec \
26071 old_archive_cmds_CXX \
26072 old_archive_cmds_GCJ \
26073 old_archive_from_new_cmds_CXX \
26074 old_archive_from_new_cmds_GCJ \
26075 old_archive_from_expsyms_cmds_CXX \
26076 old_archive_from_expsyms_cmds_GCJ \
26079 archive_expsym_cmds_CXX \
26080 archive_expsym_cmds_GCJ \
26083 module_expsym_cmds_CXX \
26084 module_expsym_cmds_GCJ \
26085 export_symbols_cmds_CXX \
26086 export_symbols_cmds_GCJ \
26088 prelink_cmds_GCJ; do
26089 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26090 *[\\\\\\\`\\"\\\$]*)
26091 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26094 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26099 ac_aux_dir='$ac_aux_dir'
26100 xsi_shell='$xsi_shell'
26101 lt_shell_append='$lt_shell_append'
26103 # See if we are running on zsh, and set the options which allow our
26104 # commands through without removal of \ escapes INIT.
26105 if test -n "\${ZSH_VERSION+set}" ; then
26106 setopt NO_GLOB_SUBST
26112 TIMESTAMP='$TIMESTAMP'
26125 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26127 # Handling of arguments.
26128 for ac_config_target
in $ac_config_targets
26130 case $ac_config_target in
26131 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26132 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26133 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
26134 "gcj/libgcj-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
26135 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26136 "include/platform.h") CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
26137 "java/io/natFile.cc") CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
26138 "java/lang/natConcreteProcess.cc") CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
26139 "java/net/natVMInetAddress.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
26140 "java/net/natVMNetworkInterface.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
26141 "gnu/java/net/natPlainSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
26142 "gnu/java/net/natPlainDatagramSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
26143 "gnu/java/nio/natVMPipe.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
26144 "gnu/java/nio/natVMSelector.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
26145 "gnu/java/nio/channels/natFileChannelImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
26146 "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" ;;
26147 "include/java-gc.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
26148 "include/java-threads.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
26149 "sysdep/locks.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
26150 "sysdep/backtrace.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
26151 "sysdep/descriptor.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
26152 "include/java-signal.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
26153 "include/java-signal-aux.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
26154 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26155 "libgcj.pc") CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
26156 "libgcj.spec") CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
26157 "libgcj-test.spec") CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
26158 "gcj/Makefile") CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
26159 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
26160 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
26161 "contrib/aotcompile.py") CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
26162 "contrib/aot-compile") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
26163 "contrib/aot-compile-rpm") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
26164 "contrib/generate-cacerts.pl") CONFIG_FILES
="$CONFIG_FILES contrib/generate-cacerts.pl" ;;
26165 "contrib/rebuild-gcj-db") CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
26166 "scripts/jar") CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
26168 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26173 # If the user did not use the arguments to specify the items to instantiate,
26174 # then the envvar interface is used. Set only those that are not.
26175 # We use the long form for the default assignment because of an extremely
26176 # bizarre bug on SunOS 4.1.3.
26177 if $ac_need_defaults; then
26178 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26179 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26180 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26181 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26184 # Have a temporary directory for convenience. Make it in the build tree
26185 # simply because there is no reason against having it here, and in addition,
26186 # creating and moving files from /tmp can sometimes cause problems.
26187 # Hook for its removal unless debugging.
26188 # Note that there is a small window in which the directory will not be cleaned:
26189 # after its creation but before its name has been assigned to `$tmp'.
26193 trap 'exit_status=$?
26194 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26196 trap 'as_fn_exit 1' 1 2 13 15
26198 # Create a (secure) tmp directory for tmp files.
26201 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26202 test -n "$tmp" && test -d "$tmp"
26205 tmp
=.
/conf$$
-$RANDOM
26206 (umask 077 && mkdir
"$tmp")
26207 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
26209 # Set up the scripts for CONFIG_FILES section.
26210 # No need to generate them if there are no CONFIG_FILES.
26211 # This happens for instance with `./config.status config.h'.
26212 if test -n "$CONFIG_FILES"; then
26215 ac_cr
=`echo X | tr X '\015'`
26216 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26217 # But we know of no other shell where ac_cr would be empty at this
26218 # point, so we can use a bashism as a fallback.
26219 if test "x$ac_cr" = x
; then
26220 eval ac_cr
=\$
\'\\r
\'
26222 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26223 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26226 ac_cs_awk_cr
=$ac_cr
26229 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26234 echo "cat >conf$$subs.awk <<_ACEOF" &&
26235 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26237 } >conf$$subs.sh ||
26238 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26239 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26241 for ac_last_try in false false false false false :; do
26242 . ./conf$$subs.sh ||
26243 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26245 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26246 if test $ac_delim_n = $ac_delim_num; then
26248 elif $ac_last_try; then
26249 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26251 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26254 rm -f conf$$subs.sh
26256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26257 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26261 s/^/S["/; s
/!.
*/"]=/
26271 s/\(.\{148\}\).*/\1/
26273 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26278 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26285 s/\(.\{148\}\).*/\1/
26287 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26291 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26296 ' <conf$$subs.awk | sed '
26301 ' >>$CONFIG_STATUS || ac_write_fail=1
26302 rm -f conf$$subs.awk
26303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26305 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26306 for (key in S) S_is_set[key] = 1
26312 nfields = split(line, field, "@
")
26314 len = length(field[1])
26315 for (i = 2; i < nfields; i++) {
26317 keylen = length(key)
26318 if (S_is_set[key]) {
26320 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26321 len += length(value) + length(field[++i])
26332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26333 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26334 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26337 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26338 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26341 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26342 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26343 # trailing colons and then remove the whole line if VPATH becomes empty
26344 # (actually we leave an empty line to preserve line numbers).
26345 if test "x
$srcdir" = x.; then
26346 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26347 s/:*\$(srcdir):*/:/
26348 s/:*\${srcdir}:*/:/
26350 s/^\([^=]*=[ ]*\):*/\1/
26356 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26357 fi # test -n "$CONFIG_FILES"
26359 # Set up the scripts for CONFIG_HEADERS section.
26360 # No need to generate them if there are no CONFIG_HEADERS.
26361 # This happens for instance with `./config.status Makefile'.
26362 if test -n "$CONFIG_HEADERS"; then
26363 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26367 # Transform confdefs.h into an awk script `defines.awk', embedded as
26368 # here-document in config.status, that substitutes the proper values into
26369 # config.h.in to produce config.h.
26371 # Create a delimiter string that does not exist in confdefs.h, to ease
26372 # handling of long lines.
26374 for ac_last_try in false false :; do
26375 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26376 if test -z "$ac_t"; then
26378 elif $ac_last_try; then
26379 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26381 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26385 # For the awk script, D is an array of macro values keyed by name,
26386 # likewise P contains macro parameters if any. Preserve backslash
26387 # newline sequences.
26389 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26391 s/.\{148\}/&'"$ac_delim"'/g
26394 s/^[ ]*#[ ]*define[ ][ ]*/ /
26401 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26403 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26407 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26408 D["\
1"]=" \
3\\\\\\n
"\\/p
26410 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26415 s/.\{148\}/&'"$ac_delim"'/g
26420 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26423 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26425 ' <confdefs.h | sed '
26426 s/'"$ac_delim"'/"\\\
26427 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26430 for (key in D) D_is_set[key] = 1
26433 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26435 split(line, arg, " ")
26436 if (arg[1] == "#") {
26440 defundef
= substr
(arg
[1], 2)
26443 split(mac1
, mac2
, "(") #)
26445 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26446 if (D_is_set
[macro
]) {
26447 # Preserve the white space surrounding the "#".
26448 print prefix
"define", macro P
[macro
] D
[macro
]
26451 # Replace #undef with comments. This is necessary, for example,
26452 # in the case of _POSIX_SOURCE, which is predefined and required
26453 # on some systems where configure will not decide to define it.
26454 if (defundef
== "undef") {
26455 print
"/*", prefix defundef
, macro
, "*/"
26463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26464 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26465 fi # test -n "$CONFIG_HEADERS"
26468 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26473 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26475 case $ac_mode$ac_tag in
26477 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26478 :[FH
]-) ac_tag
=-:-;;
26479 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26496 -) ac_f
="$tmp/stdin";;
26497 *) # Look for the file first in the build tree, then in the source tree
26498 # (if the path is not absolute). The absolute path cannot be DOS-style,
26499 # because $ac_f cannot contain `:'.
26503 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26505 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26507 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26508 as_fn_append ac_file_inputs
" '$ac_f'"
26511 # Let's still pretend it is `configure' which instantiates (i.e., don't
26512 # use $as_me), people would be surprised to read:
26513 # /* config.h. Generated by config.status. */
26514 configure_input
='Generated from '`
26515 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26517 if test x
"$ac_file" != x-
; then
26518 configure_input
="$ac_file. $configure_input"
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26520 $as_echo "$as_me: creating $ac_file" >&6;}
26522 # Neutralize special characters interpreted by sed in replacement strings.
26523 case $configure_input in #(
26524 *\
&* |
*\|
* |
*\\* )
26525 ac_sed_conf_input
=`$as_echo "$configure_input" |
26526 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26527 *) ac_sed_conf_input
=$configure_input;;
26531 *:-:* |
*:-) cat >"$tmp/stdin" \
26532 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26537 ac_dir
=`$as_dirname -- "$ac_file" ||
26538 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26539 X"$ac_file" : 'X\(//\)[^/]' \| \
26540 X"$ac_file" : 'X\(//\)$' \| \
26541 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26542 $as_echo X"$ac_file" |
26543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26547 /^X\(\/\/\)[^/].*/{
26560 as_dir
="$ac_dir"; as_fn_mkdir_p
26564 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26566 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26567 # A ".." for each directory in $ac_dir_suffix.
26568 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26569 case $ac_top_builddir_sub in
26570 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26571 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26574 ac_abs_top_builddir
=$ac_pwd
26575 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26576 # for backward compatibility:
26577 ac_top_builddir
=$ac_top_build_prefix
26580 .
) # We are building in place.
26582 ac_top_srcdir
=$ac_top_builddir_sub
26583 ac_abs_top_srcdir
=$ac_pwd ;;
26584 [\\/]* | ?
:[\\/]* ) # Absolute name.
26585 ac_srcdir
=$srcdir$ac_dir_suffix;
26586 ac_top_srcdir
=$srcdir
26587 ac_abs_top_srcdir
=$srcdir ;;
26588 *) # Relative name.
26589 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26590 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26591 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26593 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26603 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26604 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26606 ac_MKDIR_P
=$MKDIR_P
26608 [\\/$
]* | ?
:[\\/]* ) ;;
26609 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26613 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26614 # If the template does not know about datarootdir, expand it.
26615 # FIXME: This hack should be removed a few years after 2.60.
26616 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26627 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26628 *datarootdir
*) ac_datarootdir_seen
=yes;;
26629 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26631 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26634 ac_datarootdir_hack='
26635 s&@datadir@&$datadir&g
26636 s&@docdir@&$docdir&g
26637 s&@infodir@&$infodir&g
26638 s&@localedir@&$localedir&g
26639 s&@mandir@&$mandir&g
26640 s&\\\${datarootdir}&$datarootdir&g' ;;
26644 # Neutralize VPATH when `$srcdir' = `.'.
26645 # Shell code in configure.ac might set extrasub.
26646 # FIXME: do we really want to maintain this feature?
26647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26648 ac_sed_extra="$ac_vpsub
26651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26653 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26654 s|@configure_input@|
$ac_sed_conf_input|
;t t
26655 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26656 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26657 s
&@srcdir@
&$ac_srcdir&;t t
26658 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26659 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26660 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26661 s
&@builddir@
&$ac_builddir&;t t
26662 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26663 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26664 s
&@INSTALL@
&$ac_INSTALL&;t t
26665 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26666 $ac_datarootdir_hack
26668 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26669 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26671 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26672 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26673 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26675 which seems to be undefined. Please make sure it is defined." >&5
26676 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26677 which seems to be undefined. Please make sure it is defined." >&2;}
26681 -) cat "$tmp/out" && rm -f "$tmp/out";;
26682 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26684 || as_fn_error "could not create $ac_file" "$LINENO" 5
26690 if test x"$ac_file" != x-; then
26692 $as_echo "/* $configure_input */" \
26693 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26694 } >"$tmp/config.h" \
26695 || as_fn_error "could not create $ac_file" "$LINENO" 5
26696 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26697 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26698 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26701 mv "$tmp/config.h" "$ac_file" \
26702 || as_fn_error "could not create $ac_file" "$LINENO" 5
26705 $as_echo "/* $configure_input */" \
26706 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26707 || as_fn_error "could not create -" "$LINENO" 5
26709 # Compute "$ac_file"'s index
in $config_headers.
26712 for _am_header
in $config_headers :; do
26713 case $_am_header in
26714 $_am_arg |
$_am_arg:* )
26717 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26720 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26721 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26722 X"$_am_arg" : 'X\(//\)[^/]' \| \
26723 X"$_am_arg" : 'X\(//\)$' \| \
26724 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26725 $as_echo X"$_am_arg" |
26726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26730 /^X\(\/\/\)[^/].*/{
26742 s/.*/./; q'`/stamp-h
$_am_stamp_count
26749 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26752 # Prefer the file from the source tree if names are identical.
26753 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26754 ac_source
=$srcdir/$ac_source
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26758 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26760 if test ! -r "$ac_source"; then
26761 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26765 # Try a relative symlink, then a hard link, then a copy.
26767 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26768 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26770 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26771 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26772 cp -p "$ac_source" "$ac_file" ||
26773 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26776 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26777 $as_echo "$as_me: executing $ac_file commands" >&6;}
26782 case $ac_file$ac_mode in
26784 # Only add multilib support code if we just rebuilt the top-level
26786 case " $CONFIG_FILES " in
26788 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26791 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26792 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26793 # are listed without --file. Let's play safe and only enable the eval
26794 # if we detect the quoting.
26795 case $CONFIG_FILES in
26796 *\'*) eval set x
"$CONFIG_FILES" ;;
26797 *) set x
$CONFIG_FILES ;;
26802 # Strip MF so we end up with the name of the file.
26803 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26804 # Check whether this is an Automake generated Makefile or not.
26805 # We used to match only the files named `Makefile.in', but
26806 # some people rename them; so instead we look at the file content.
26807 # Grep'ing the first line is not enough: some people post-process
26808 # each Makefile.in and add a new line on top of each file to say so.
26809 # Grep'ing the whole file is not good either: AIX grep has a line
26810 # limit of 2048, but all sed's we know have understand at least 4000.
26811 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26812 dirpart
=`$as_dirname -- "$mf" ||
26813 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26814 X"$mf" : 'X\(//\)[^/]' \| \
26815 X"$mf" : 'X\(//\)$' \| \
26816 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26822 /^X\(\/\/\)[^/].*/{
26838 # Extract the definition of DEPDIR, am__include, and am__quote
26839 # from the Makefile without running `make'.
26840 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26841 test -z "$DEPDIR" && continue
26842 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26843 test -z "am__include" && continue
26844 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26845 # When using ansi2knr, U may be empty or an underscore; expand it
26846 U
=`sed -n 's/^U = //p' < "$mf"`
26847 # Find all dependency output files, they are included files with
26848 # $(DEPDIR) in their names. We invoke sed twice because it is the
26849 # simplest approach to changing $(DEPDIR) to its actual value in the
26851 for file in `sed -n "
26852 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26853 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26854 # Make sure the directory exists.
26855 test -f "$dirpart/$file" && continue
26856 fdir
=`$as_dirname -- "$file" ||
26857 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26858 X"$file" : 'X\(//\)[^/]' \| \
26859 X"$file" : 'X\(//\)$' \| \
26860 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26861 $as_echo X"$file" |
26862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26866 /^X\(\/\/\)[^/].*/{
26879 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
26880 # echo "creating $dirpart/$file"
26881 echo '# dummy' > "$dirpart/$file"
26888 # See if we are running on zsh, and set the options which allow our
26889 # commands through without removal of \ escapes.
26890 if test -n "${ZSH_VERSION+set}" ; then
26891 setopt NO_GLOB_SUBST
26894 cfgfile
="${ofile}T"
26895 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26898 cat <<_LT_EOF >> "$cfgfile"
26901 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26902 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26903 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26904 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26906 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26907 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26908 # Written by Gordon Matzigkeit, 1996
26910 # This file is part of GNU Libtool.
26912 # GNU Libtool is free software; you can redistribute it and/or
26913 # modify it under the terms of the GNU General Public License as
26914 # published by the Free Software Foundation; either version 2 of
26915 # the License, or (at your option) any later version.
26917 # As a special exception to the GNU General Public License,
26918 # if you distribute this file as part of a program or library that
26919 # is built using GNU Libtool, you may include this file under the
26920 # same distribution terms that you use for the rest of that program.
26922 # GNU Libtool is distributed in the hope that it will be useful,
26923 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26924 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26925 # GNU General Public License for more details.
26927 # You should have received a copy of the GNU General Public License
26928 # along with GNU Libtool; see the file COPYING. If not, a copy
26929 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26930 # obtained by writing to the Free Software Foundation, Inc.,
26931 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26934 # The names of the tagged configurations supported by this script.
26935 available_tags="CXX GCJ "
26937 # ### BEGIN LIBTOOL CONFIG
26939 # Which release of libtool.m4 was used?
26940 macro_version=$macro_version
26941 macro_revision=$macro_revision
26943 # Whether or not to build shared libraries.
26944 build_libtool_libs=$enable_shared
26946 # Whether or not to build static libraries.
26947 build_old_libs=$enable_static
26949 # What type of objects to build.
26952 # Whether or not to optimize for fast installation.
26953 fast_install=$enable_fast_install
26955 # Shell to use when invoking shell scripts.
26958 # An echo program that protects backslashes.
26962 host_alias=$host_alias
26966 # The build system.
26967 build_alias=$build_alias
26971 # A sed program that does not truncate output.
26974 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26975 Xsed="\$SED -e 1s/^X//"
26977 # A grep program that handles long lines.
26983 # A literal string matcher.
26986 # A BSD- or MS-compatible name lister.
26989 # Whether we need soft or hard links.
26992 # What is the maximum length of a command?
26993 max_cmd_len=$max_cmd_len
26995 # Object file suffix (normally "o").
26998 # Executable file suffix (normally "").
27001 # whether the shell understands "unset".
27004 # turn spaces into newlines.
27007 # turn newlines into spaces.
27010 # An object symbol dumper.
27011 OBJDUMP=$lt_OBJDUMP
27013 # Method to check whether dependent libraries are shared objects.
27014 deplibs_check_method=$lt_deplibs_check_method
27016 # Command to use when deplibs_check_method == "file_magic".
27017 file_magic_cmd=$lt_file_magic_cmd
27021 AR_FLAGS=$lt_AR_FLAGS
27023 # A symbol stripping program.
27026 # Commands used to install an old-style archive.
27028 old_postinstall_cmds=$lt_old_postinstall_cmds
27029 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27031 # Whether to use a lock for old archive extraction.
27032 lock_old_archive_extraction=$lock_old_archive_extraction
27037 # LTCC compiler flags.
27038 LTCFLAGS=$lt_CFLAGS
27040 # Take the output of nm and produce a listing of raw symbols and C names.
27041 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27043 # Transform the output of nm in a proper C declaration.
27044 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27046 # Transform the output of nm in a C name address pair.
27047 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27049 # Transform the output of nm in a C name address pair when lib prefix is needed.
27050 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27052 # The name of the directory that contains temporary libtool files.
27055 # Used to examine libraries when file_magic_cmd begins with "file".
27056 MAGIC_CMD=$MAGIC_CMD
27058 # Must we lock files when doing compilation?
27059 need_locks=$lt_need_locks
27061 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27062 DSYMUTIL=$lt_DSYMUTIL
27064 # Tool to change global to local symbols on Mac OS X.
27067 # Tool to manipulate fat objects and archives on Mac OS X.
27070 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27073 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27074 OTOOL64=$lt_OTOOL64
27076 # Old archive suffix (normally "a").
27079 # Shared library suffix (normally ".so").
27080 shrext_cmds=$lt_shrext_cmds
27082 # The commands to extract the exported symbol list from a shared archive.
27083 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27085 # Variables whose values should be saved in libtool wrapper scripts and
27086 # restored at link time.
27087 variables_saved_for_relink=$lt_variables_saved_for_relink
27089 # Do we need the "lib" prefix for modules?
27090 need_lib_prefix=$need_lib_prefix
27092 # Do we need a version for libraries?
27093 need_version=$need_version
27095 # Library versioning type.
27096 version_type=$version_type
27098 # Shared library runtime path variable.
27099 runpath_var=$runpath_var
27101 # Shared library path variable.
27102 shlibpath_var=$shlibpath_var
27104 # Is shlibpath searched before the hard-coded library search path?
27105 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27107 # Format of library name prefix.
27108 libname_spec=$lt_libname_spec
27110 # List of archive names. First name is the real one, the rest are links.
27111 # The last name is the one that the linker finds with -lNAME
27112 library_names_spec=$lt_library_names_spec
27114 # The coded name of the library, if different from the real name.
27115 soname_spec=$lt_soname_spec
27117 # Permission mode override for installation of shared libraries.
27118 install_override_mode=$lt_install_override_mode
27120 # Command to use after installation of a shared archive.
27121 postinstall_cmds=$lt_postinstall_cmds
27123 # Command to use after uninstallation of a shared archive.
27124 postuninstall_cmds=$lt_postuninstall_cmds
27126 # Commands used to finish a libtool library installation in a directory.
27127 finish_cmds=$lt_finish_cmds
27129 # As "finish_cmds", except a single script fragment to be evaled but
27131 finish_eval=$lt_finish_eval
27133 # Whether we should hardcode library paths into libraries.
27134 hardcode_into_libs=$hardcode_into_libs
27136 # Compile-time system search path for libraries.
27137 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27139 # Run-time system search path for libraries.
27140 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27142 # Whether dlopen is supported.
27143 dlopen_support=$enable_dlopen
27145 # Whether dlopen of programs is supported.
27146 dlopen_self=$enable_dlopen_self
27148 # Whether dlopen of statically linked programs is supported.
27149 dlopen_self_static=$enable_dlopen_self_static
27151 # Commands to strip libraries.
27152 old_striplib=$lt_old_striplib
27153 striplib=$lt_striplib
27156 # The linker used to build libraries.
27159 # How to create reloadable object files.
27160 reload_flag=$lt_reload_flag
27161 reload_cmds=$lt_reload_cmds
27163 # Commands used to build an old-style archive.
27164 old_archive_cmds=$lt_old_archive_cmds
27166 # A language specific compiler.
27169 # Is the compiler the GNU compiler?
27172 # Compiler flag to turn off builtin functions.
27173 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27175 # How to pass a linker flag through the compiler.
27176 wl=$lt_lt_prog_compiler_wl
27178 # Additional compiler flags for building library objects.
27179 pic_flag=$lt_lt_prog_compiler_pic
27181 # Compiler flag to prevent dynamic linking.
27182 link_static_flag=$lt_lt_prog_compiler_static
27184 # Does compiler simultaneously support -c and -o options?
27185 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27187 # Whether or not to add -lc for building shared libraries.
27188 build_libtool_need_lc=$archive_cmds_need_lc
27190 # Whether or not to disallow shared libs when runtime libs are static.
27191 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27193 # Compiler flag to allow reflexive dlopens.
27194 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27196 # Compiler flag to generate shared objects directly from archives.
27197 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27199 # Whether the compiler copes with passing no objects directly.
27200 compiler_needs_object=$lt_compiler_needs_object
27202 # Create an old-style archive from a shared archive.
27203 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27205 # Create a temporary old-style archive to link instead of a shared archive.
27206 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27208 # Commands used to build a shared archive.
27209 archive_cmds=$lt_archive_cmds
27210 archive_expsym_cmds=$lt_archive_expsym_cmds
27212 # Commands used to build a loadable module if different from building
27213 # a shared archive.
27214 module_cmds=$lt_module_cmds
27215 module_expsym_cmds=$lt_module_expsym_cmds
27217 # Whether we are building with GNU ld or not.
27218 with_gnu_ld=$lt_with_gnu_ld
27220 # Flag that allows shared libraries with undefined symbols to be built.
27221 allow_undefined_flag=$lt_allow_undefined_flag
27223 # Flag that enforces no undefined symbols.
27224 no_undefined_flag=$lt_no_undefined_flag
27226 # Flag to hardcode \$libdir into a binary during linking.
27227 # This must work even if \$libdir does not exist
27228 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27230 # If ld is used when linking, flag to hardcode \$libdir into a binary
27231 # during linking. This must work even if \$libdir does not exist.
27232 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27234 # Whether we need a single "-rpath" flag with a separated argument.
27235 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27237 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27238 # DIR into the resulting binary.
27239 hardcode_direct=$hardcode_direct
27241 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27242 # DIR into the resulting binary and the resulting library dependency is
27243 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27244 # library is relocated.
27245 hardcode_direct_absolute=$hardcode_direct_absolute
27247 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27248 # into the resulting binary.
27249 hardcode_minus_L=$hardcode_minus_L
27251 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27252 # into the resulting binary.
27253 hardcode_shlibpath_var=$hardcode_shlibpath_var
27255 # Set to "yes" if building a shared library automatically hardcodes DIR
27256 # into the library and all subsequent libraries and executables linked
27258 hardcode_automatic=$hardcode_automatic
27260 # Set to yes if linker adds runtime paths of dependent libraries
27261 # to runtime path list.
27262 inherit_rpath=$inherit_rpath
27264 # Whether libtool must link a program against all its dependency libraries.
27265 link_all_deplibs=$link_all_deplibs
27267 # Fix the shell variable \$srcfile for the compiler.
27268 fix_srcfile_path=$lt_fix_srcfile_path
27270 # Set to "yes" if exported symbols are required.
27271 always_export_symbols=$always_export_symbols
27273 # The commands to list exported symbols.
27274 export_symbols_cmds=$lt_export_symbols_cmds
27276 # Symbols that should not be listed in the preloaded symbols.
27277 exclude_expsyms=$lt_exclude_expsyms
27279 # Symbols that must always be exported.
27280 include_expsyms=$lt_include_expsyms
27282 # Commands necessary for linking programs (against libraries) with templates.
27283 prelink_cmds=$lt_prelink_cmds
27285 # Specify filename containing input files.
27286 file_list_spec=$lt_file_list_spec
27288 # How to hardcode a shared library path into an executable.
27289 hardcode_action=$hardcode_action
27291 # The directories searched by this compiler when creating a shared library.
27292 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27294 # Dependencies to place before and after the objects being linked to
27295 # create a shared library.
27296 predep_objects=$lt_predep_objects
27297 postdep_objects=$lt_postdep_objects
27298 predeps=$lt_predeps
27299 postdeps=$lt_postdeps
27301 # The library search path used internally by the compiler when linking
27302 # a shared library.
27303 compiler_lib_search_path=$lt_compiler_lib_search_path
27305 # ### END LIBTOOL CONFIG
27311 cat <<\_LT_EOF
>> "$cfgfile"
27312 # AIX sometimes has problems with the GCC collect2 program. For some
27313 # reason, if we set the COLLECT_NAMES environment variable, the problems
27314 # vanish in a puff of smoke.
27315 if test "X${COLLECT_NAMES+set}" != Xset
; then
27317 export COLLECT_NAMES
27324 ltmain
="$ac_aux_dir/ltmain.sh"
27327 # We use sed instead of cat because bash on DJGPP gets confused if
27328 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27329 # text mode, it properly converts lines to CR/LF. This bash problem
27330 # is reportedly fixed, but why not run on old versions too?
27331 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27332 ||
(rm -f "$cfgfile"; exit 1)
27336 cat << \_LT_EOF
>> "$cfgfile"
27338 # func_dirname file append nondir_replacement
27339 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27340 # otherwise set result to NONDIR_REPLACEMENT.
27344 */*) func_dirname_result
="${1%/*}${2}" ;;
27345 * ) func_dirname_result
="${3}" ;;
27349 # func_basename file
27352 func_basename_result
="${1##*/}"
27355 # func_dirname_and_basename file append nondir_replacement
27356 # perform func_basename and func_dirname in a single function
27358 # dirname: Compute the dirname of FILE. If nonempty,
27359 # add APPEND to the result, otherwise set result
27360 # to NONDIR_REPLACEMENT.
27361 # value returned in "$func_dirname_result"
27362 # basename: Compute filename of FILE.
27363 # value retuned in "$func_basename_result"
27364 # Implementation must be kept synchronized with func_dirname
27365 # and func_basename. For efficiency, we do not delegate to
27366 # those functions but instead duplicate the functionality here.
27367 func_dirname_and_basename
()
27370 */*) func_dirname_result
="${1%/*}${2}" ;;
27371 * ) func_dirname_result
="${3}" ;;
27373 func_basename_result
="${1##*/}"
27376 # func_stripname prefix suffix name
27377 # strip PREFIX and SUFFIX off of NAME.
27378 # PREFIX and SUFFIX must not contain globbing or regex special
27379 # characters, hashes, percent signs, but SUFFIX may contain a leading
27380 # dot (in which case that matches only a dot).
27383 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27384 # positional parameters, so assign one to ordinary parameter first.
27385 func_stripname_result
=${3}
27386 func_stripname_result
=${func_stripname_result#"${1}"}
27387 func_stripname_result
=${func_stripname_result%"${2}"}
27393 func_opt_split_opt
=${1%%=*}
27394 func_opt_split_arg
=${1#*=}
27401 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27402 *) func_lo2o_result
=${1} ;;
27406 # func_xform libobj-or-source
27409 func_xform_result
=${1%.*}.lo
27412 # func_arith arithmetic-term...
27415 func_arith_result
=$
(( $
* ))
27419 # STRING may not start with a hyphen.
27422 func_len_result
=${#1}
27427 *) # Bourne compatible functions.
27428 cat << \_LT_EOF
>> "$cfgfile"
27430 # func_dirname file append nondir_replacement
27431 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27432 # otherwise set result to NONDIR_REPLACEMENT.
27435 # Extract subdirectory from the argument.
27436 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27437 if test "X$func_dirname_result" = "X${1}"; then
27438 func_dirname_result
="${3}"
27440 func_dirname_result
="$func_dirname_result${2}"
27444 # func_basename file
27447 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27451 # func_stripname prefix suffix name
27452 # strip PREFIX and SUFFIX off of NAME.
27453 # PREFIX and SUFFIX must not contain globbing or regex special
27454 # characters, hashes, percent signs, but SUFFIX may contain a leading
27455 # dot (in which case that matches only a dot).
27456 # func_strip_suffix prefix name
27460 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27461 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27466 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27467 my_sed_long_arg
='1s/^-[^=]*=//'
27472 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27473 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27479 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27482 # func_xform libobj-or-source
27485 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27488 # func_arith arithmetic-term...
27491 func_arith_result
=`expr "$@"`
27495 # STRING may not start with a hyphen.
27498 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27504 case $lt_shell_append in
27506 cat << \_LT_EOF
>> "$cfgfile"
27508 # func_append var value
27509 # Append VALUE to the end of shell variable VAR.
27517 cat << \_LT_EOF
>> "$cfgfile"
27519 # func_append var value
27520 # Append VALUE to the end of shell variable VAR.
27531 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27532 ||
(rm -f "$cfgfile"; exit 1)
27534 mv -f "$cfgfile" "$ofile" ||
27535 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27539 cat <<_LT_EOF >> "$ofile"
27541 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27543 # The linker used to build libraries.
27546 # How to create reloadable object files.
27547 reload_flag=$lt_reload_flag_CXX
27548 reload_cmds=$lt_reload_cmds_CXX
27550 # Commands used to build an old-style archive.
27551 old_archive_cmds=$lt_old_archive_cmds_CXX
27553 # A language specific compiler.
27554 CC=$lt_compiler_CXX
27556 # Is the compiler the GNU compiler?
27559 # Compiler flag to turn off builtin functions.
27560 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27562 # How to pass a linker flag through the compiler.
27563 wl=$lt_lt_prog_compiler_wl_CXX
27565 # Additional compiler flags for building library objects.
27566 pic_flag=$lt_lt_prog_compiler_pic_CXX
27568 # Compiler flag to prevent dynamic linking.
27569 link_static_flag=$lt_lt_prog_compiler_static_CXX
27571 # Does compiler simultaneously support -c and -o options?
27572 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27574 # Whether or not to add -lc for building shared libraries.
27575 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27577 # Whether or not to disallow shared libs when runtime libs are static.
27578 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27580 # Compiler flag to allow reflexive dlopens.
27581 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27583 # Compiler flag to generate shared objects directly from archives.
27584 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27586 # Whether the compiler copes with passing no objects directly.
27587 compiler_needs_object=$lt_compiler_needs_object_CXX
27589 # Create an old-style archive from a shared archive.
27590 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27592 # Create a temporary old-style archive to link instead of a shared archive.
27593 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27595 # Commands used to build a shared archive.
27596 archive_cmds=$lt_archive_cmds_CXX
27597 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27599 # Commands used to build a loadable module if different from building
27600 # a shared archive.
27601 module_cmds=$lt_module_cmds_CXX
27602 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27604 # Whether we are building with GNU ld or not.
27605 with_gnu_ld=$lt_with_gnu_ld_CXX
27607 # Flag that allows shared libraries with undefined symbols to be built.
27608 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27610 # Flag that enforces no undefined symbols.
27611 no_undefined_flag=$lt_no_undefined_flag_CXX
27613 # Flag to hardcode \$libdir into a binary during linking.
27614 # This must work even if \$libdir does not exist
27615 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27617 # If ld is used when linking, flag to hardcode \$libdir into a binary
27618 # during linking. This must work even if \$libdir does not exist.
27619 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27621 # Whether we need a single "-rpath" flag with a separated argument.
27622 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27624 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27625 # DIR into the resulting binary.
27626 hardcode_direct=$hardcode_direct_CXX
27628 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27629 # DIR into the resulting binary and the resulting library dependency is
27630 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27631 # library is relocated.
27632 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27634 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27635 # into the resulting binary.
27636 hardcode_minus_L=$hardcode_minus_L_CXX
27638 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27639 # into the resulting binary.
27640 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27642 # Set to "yes" if building a shared library automatically hardcodes DIR
27643 # into the library and all subsequent libraries and executables linked
27645 hardcode_automatic=$hardcode_automatic_CXX
27647 # Set to yes if linker adds runtime paths of dependent libraries
27648 # to runtime path list.
27649 inherit_rpath=$inherit_rpath_CXX
27651 # Whether libtool must link a program against all its dependency libraries.
27652 link_all_deplibs=$link_all_deplibs_CXX
27654 # Fix the shell variable \$srcfile for the compiler.
27655 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27657 # Set to "yes" if exported symbols are required.
27658 always_export_symbols=$always_export_symbols_CXX
27660 # The commands to list exported symbols.
27661 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27663 # Symbols that should not be listed in the preloaded symbols.
27664 exclude_expsyms=$lt_exclude_expsyms_CXX
27666 # Symbols that must always be exported.
27667 include_expsyms=$lt_include_expsyms_CXX
27669 # Commands necessary for linking programs (against libraries) with templates.
27670 prelink_cmds=$lt_prelink_cmds_CXX
27672 # Specify filename containing input files.
27673 file_list_spec=$lt_file_list_spec_CXX
27675 # How to hardcode a shared library path into an executable.
27676 hardcode_action=$hardcode_action_CXX
27678 # The directories searched by this compiler when creating a shared library.
27679 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27681 # Dependencies to place before and after the objects being linked to
27682 # create a shared library.
27683 predep_objects=$lt_predep_objects_CXX
27684 postdep_objects=$lt_postdep_objects_CXX
27685 predeps=$lt_predeps_CXX
27686 postdeps=$lt_postdeps_CXX
27688 # The library search path used internally by the compiler when linking
27689 # a shared library.
27690 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27692 # ### END LIBTOOL TAG CONFIG: CXX
27696 cat <<_LT_EOF >> "$ofile"
27698 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
27700 # The linker used to build libraries.
27703 # How to create reloadable object files.
27704 reload_flag=$lt_reload_flag_GCJ
27705 reload_cmds=$lt_reload_cmds_GCJ
27707 # Commands used to build an old-style archive.
27708 old_archive_cmds=$lt_old_archive_cmds_GCJ
27710 # A language specific compiler.
27711 CC=$lt_compiler_GCJ
27713 # Is the compiler the GNU compiler?
27716 # Compiler flag to turn off builtin functions.
27717 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
27719 # How to pass a linker flag through the compiler.
27720 wl=$lt_lt_prog_compiler_wl_GCJ
27722 # Additional compiler flags for building library objects.
27723 pic_flag=$lt_lt_prog_compiler_pic_GCJ
27725 # Compiler flag to prevent dynamic linking.
27726 link_static_flag=$lt_lt_prog_compiler_static_GCJ
27728 # Does compiler simultaneously support -c and -o options?
27729 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27731 # Whether or not to add -lc for building shared libraries.
27732 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
27734 # Whether or not to disallow shared libs when runtime libs are static.
27735 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
27737 # Compiler flag to allow reflexive dlopens.
27738 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
27740 # Compiler flag to generate shared objects directly from archives.
27741 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
27743 # Whether the compiler copes with passing no objects directly.
27744 compiler_needs_object=$lt_compiler_needs_object_GCJ
27746 # Create an old-style archive from a shared archive.
27747 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
27749 # Create a temporary old-style archive to link instead of a shared archive.
27750 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
27752 # Commands used to build a shared archive.
27753 archive_cmds=$lt_archive_cmds_GCJ
27754 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
27756 # Commands used to build a loadable module if different from building
27757 # a shared archive.
27758 module_cmds=$lt_module_cmds_GCJ
27759 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
27761 # Whether we are building with GNU ld or not.
27762 with_gnu_ld=$lt_with_gnu_ld_GCJ
27764 # Flag that allows shared libraries with undefined symbols to be built.
27765 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
27767 # Flag that enforces no undefined symbols.
27768 no_undefined_flag=$lt_no_undefined_flag_GCJ
27770 # Flag to hardcode \$libdir into a binary during linking.
27771 # This must work even if \$libdir does not exist
27772 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
27774 # If ld is used when linking, flag to hardcode \$libdir into a binary
27775 # during linking. This must work even if \$libdir does not exist.
27776 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
27778 # Whether we need a single "-rpath" flag with a separated argument.
27779 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
27781 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27782 # DIR into the resulting binary.
27783 hardcode_direct=$hardcode_direct_GCJ
27785 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27786 # DIR into the resulting binary and the resulting library dependency is
27787 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27788 # library is relocated.
27789 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
27791 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27792 # into the resulting binary.
27793 hardcode_minus_L=$hardcode_minus_L_GCJ
27795 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27796 # into the resulting binary.
27797 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27799 # Set to "yes" if building a shared library automatically hardcodes DIR
27800 # into the library and all subsequent libraries and executables linked
27802 hardcode_automatic=$hardcode_automatic_GCJ
27804 # Set to yes if linker adds runtime paths of dependent libraries
27805 # to runtime path list.
27806 inherit_rpath=$inherit_rpath_GCJ
27808 # Whether libtool must link a program against all its dependency libraries.
27809 link_all_deplibs=$link_all_deplibs_GCJ
27811 # Fix the shell variable \$srcfile for the compiler.
27812 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
27814 # Set to "yes" if exported symbols are required.
27815 always_export_symbols=$always_export_symbols_GCJ
27817 # The commands to list exported symbols.
27818 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27820 # Symbols that should not be listed in the preloaded symbols.
27821 exclude_expsyms=$lt_exclude_expsyms_GCJ
27823 # Symbols that must always be exported.
27824 include_expsyms=$lt_include_expsyms_GCJ
27826 # Commands necessary for linking programs (against libraries) with templates.
27827 prelink_cmds=$lt_prelink_cmds_GCJ
27829 # Specify filename containing input files.
27830 file_list_spec=$lt_file_list_spec_GCJ
27832 # How to hardcode a shared library path into an executable.
27833 hardcode_action=$hardcode_action_GCJ
27835 # The directories searched by this compiler when creating a shared library.
27836 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27838 # Dependencies to place before and after the objects being linked to
27839 # create a shared library.
27840 predep_objects=$lt_predep_objects_GCJ
27841 postdep_objects=$lt_postdep_objects_GCJ
27842 predeps=$lt_predeps_GCJ
27843 postdeps=$lt_postdeps_GCJ
27845 # The library search path used internally by the compiler when linking
27846 # a shared library.
27847 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27849 # ### END LIBTOOL TAG CONFIG: GCJ
27853 "scripts/jar":F
) chmod +x
scripts
/jar
;;
27861 ac_clean_files
=$ac_clean_files_save
27863 test $ac_write_fail = 0 ||
27864 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27867 # configure is writing to config.log, and then calls config.status.
27868 # config.status does its own redirection, appending to config.log.
27869 # Unfortunately, on DOS this fails, as config.log is still kept open
27870 # by configure, so config.status won't be able to write to it; its
27871 # output is simply discarded. So we exec the FD to /dev/null,
27872 # effectively closing config.log, so it can be properly (re)opened and
27873 # appended to by config.status. When coming back to configure, we
27874 # need to make the FD available again.
27875 if test "$no_create" != yes; then
27877 ac_config_status_args
=
27878 test "$silent" = yes &&
27879 ac_config_status_args
="$ac_config_status_args --quiet"
27881 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27883 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27884 # would make configure fail if this is the last instruction.
27885 $ac_cs_success || as_fn_exit $?
27889 # CONFIG_SUBDIRS section.
27891 if test "$no_recursion" != yes; then
27893 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
27894 # so they do not pile up.
27895 ac_sub_configure_args
=
27897 eval "set x $ac_configure_args"
27901 if test -n "$ac_prev"; then
27906 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
27907 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
27908 ac_prev
=cache_file
;;
27909 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
27910 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
27913 --config-cache |
-C)
27915 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
27917 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
27919 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
27921 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
27923 --disable-option-checking)
27927 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27929 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
27933 # Always prepend --prefix to ensure using the same prefix
27934 # in subdir configurations.
27935 ac_arg
="--prefix=$prefix"
27937 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27939 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
27942 if test "$silent" = yes; then
27943 ac_sub_configure_args
="--silent $ac_sub_configure_args"
27946 # Always prepend --disable-option-checking to silence warnings, since
27947 # different subdirs can have different --enable and --with options.
27948 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
27951 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
27953 # Do not complain, so a configure script can configure whichever
27954 # parts of a large source tree are present.
27955 test -d "$srcdir/$ac_dir" ||
continue
27957 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
27958 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
27959 $as_echo "$ac_msg" >&6
27960 as_dir
="$ac_dir"; as_fn_mkdir_p
27964 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27966 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27967 # A ".." for each directory in $ac_dir_suffix.
27968 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27969 case $ac_top_builddir_sub in
27970 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27971 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27974 ac_abs_top_builddir
=$ac_pwd
27975 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27976 # for backward compatibility:
27977 ac_top_builddir
=$ac_top_build_prefix
27980 .
) # We are building in place.
27982 ac_top_srcdir
=$ac_top_builddir_sub
27983 ac_abs_top_srcdir
=$ac_pwd ;;
27984 [\\/]* | ?
:[\\/]* ) # Absolute name.
27985 ac_srcdir
=$srcdir$ac_dir_suffix;
27986 ac_top_srcdir
=$srcdir
27987 ac_abs_top_srcdir
=$srcdir ;;
27988 *) # Relative name.
27989 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27990 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27991 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27993 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27998 # Check for guested configure; otherwise get Cygnus style configure.
27999 if test -f "$ac_srcdir/configure.gnu"; then
28000 ac_sub_configure
=$ac_srcdir/configure.gnu
28001 elif test -f "$ac_srcdir/configure"; then
28002 ac_sub_configure
=$ac_srcdir/configure
28003 elif test -f "$ac_srcdir/configure.in"; then
28004 # This should be Cygnus configure.
28005 ac_sub_configure
=$ac_aux_dir/configure
28007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
28008 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
28012 # The recursion is here.
28013 if test -n "$ac_sub_configure"; then
28014 # Make the cache file name correct relative to the subdirectory.
28015 case $cache_file in
28016 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
28017 *) # Relative name.
28018 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
28021 { $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
28022 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
28023 # The eval makes quoting arguments work.
28024 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
28025 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
28026 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
28032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}