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
602 ac_subst_vars
='am__EXEEXT_FALSE
624 CREATE_JAVA_HOME_FALSE
625 CREATE_JAVA_HOME_TRUE
626 INSTALL_AOT_RPM_FALSE
629 python_mod_dir_expanded
632 LD_FINISH_STATIC_SPEC
634 ANONVERSCRIPT_SUN_FALSE
635 ANONVERSCRIPT_SUN_TRUE
636 ANONVERSCRIPT_GNU_FALSE
637 ANONVERSCRIPT_GNU_TRUE
650 LIBGCC_UNWIND_INCLUDE
651 INSTALL_BINARIES_FALSE
652 INSTALL_BINARIES_TRUE
653 NEEDS_DATA_START_FALSE
654 NEEDS_DATA_START_TRUE
686 USING_NO_THREADS_FALSE
687 USING_NO_THREADS_TRUE
688 USING_WIN32_THREADS_FALSE
689 USING_WIN32_THREADS_TRUE
690 USING_POSIX_THREADS_FALSE
691 USING_POSIX_THREADS_TRUE
713 extra_ldflags_libjava
722 USING_DARWIN_CRT_FALSE
723 USING_DARWIN_CRT_TRUE
724 USING_POSIX_PLATFORM_FALSE
725 USING_POSIX_PLATFORM_TRUE
726 USING_WIN32_PLATFORM_FALSE
727 USING_WIN32_PLATFORM_TRUE
734 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE
735 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE
736 SUPPRESS_LIBGCJ_BC_FALSE
737 SUPPRESS_LIBGCJ_BC_TRUE
741 INSTALL_ECJ_JAR_FALSE
789 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
791 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
792 LIBGCJ_SUBLIB_LTFLAGS
797 MAINTAINER_MODE_FALSE
827 INSTALL_STRIP_PROGRAM
852 JAVA_MAINTAINER_MODE_FALSE
853 JAVA_MAINTAINER_MODE_TRUE
904 program_transform_name
917 enable_option_checking
923 enable_version_specific_runtime_libs
924 enable_browser_plugin
928 enable_java_maintainer_mode
929 enable_dependency_tracking
930 enable_maintainer_mode
931 enable_libgcj_sublibs
941 enable_getenv_properties
942 enable_hash_synchronization
946 enable_reduced_reflection
950 enable_sjlj_exceptions
961 with_system_libunwind
964 enable_aot_compile_rpm
974 ac_precious_vars
='build_alias
988 ac_subdirs_all
='classpath libltdl'
990 # Initialize some variables set by options.
992 ac_init_version
=false
993 ac_unrecognized_opts
=
995 # The variables have the same names as the options, with
996 # dashes changed to underlines.
1004 program_transform_name
=s
,x
,x
,
1012 # Installation directory options.
1013 # These are left unexpanded so users can "make install exec_prefix=/foo"
1014 # and all the variables that are supposed to be based on exec_prefix
1015 # by default will actually change.
1016 # Use braces instead of parens because sh, perl, etc. also accept them.
1017 # (The list follows the same order as the GNU Coding Standards.)
1018 bindir
='${exec_prefix}/bin'
1019 sbindir
='${exec_prefix}/sbin'
1020 libexecdir
='${exec_prefix}/libexec'
1021 datarootdir
='${prefix}/share'
1022 datadir
='${datarootdir}'
1023 sysconfdir
='${prefix}/etc'
1024 sharedstatedir
='${prefix}/com'
1025 localstatedir
='${prefix}/var'
1026 includedir
='${prefix}/include'
1027 oldincludedir
='/usr/include'
1028 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1029 infodir
='${datarootdir}/info'
1034 libdir
='${exec_prefix}/lib'
1035 localedir
='${datarootdir}/locale'
1036 mandir
='${datarootdir}/man'
1042 # If the previous option needs an argument, assign it.
1043 if test -n "$ac_prev"; then
1044 eval $ac_prev=\
$ac_option
1050 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1054 # Accept the important Cygnus configure options, so we can diagnose typos.
1056 case $ac_dashdash$ac_option in
1060 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1062 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1063 bindir
=$ac_optarg ;;
1065 -build |
--build |
--buil |
--bui |
--bu)
1066 ac_prev
=build_alias
;;
1067 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1068 build_alias
=$ac_optarg ;;
1070 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1071 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1072 ac_prev
=cache_file
;;
1073 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1074 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1075 cache_file
=$ac_optarg ;;
1077 --config-cache |
-C)
1078 cache_file
=config.cache
;;
1080 -datadir |
--datadir |
--datadi |
--datad)
1082 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1083 datadir
=$ac_optarg ;;
1085 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1086 |
--dataroo |
--dataro |
--datar)
1087 ac_prev
=datarootdir
;;
1088 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1089 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1090 datarootdir
=$ac_optarg ;;
1092 -disable-* |
--disable-*)
1093 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1096 as_fn_error
"invalid feature name: $ac_useropt"
1097 ac_useropt_orig
=$ac_useropt
1098 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1101 "enable_
$ac_useropt"
1103 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1104 ac_unrecognized_sep
=', ';;
1106 eval enable_
$ac_useropt=no
;;
1108 -docdir |
--docdir |
--docdi |
--doc |
--do)
1110 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1111 docdir
=$ac_optarg ;;
1113 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1115 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1116 dvidir
=$ac_optarg ;;
1118 -enable-* |
--enable-*)
1119 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1122 as_fn_error
"invalid feature name: $ac_useropt"
1123 ac_useropt_orig
=$ac_useropt
1124 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1127 "enable_
$ac_useropt"
1129 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1130 ac_unrecognized_sep
=', ';;
1132 eval enable_
$ac_useropt=\
$ac_optarg ;;
1134 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1135 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1136 |
--exec |
--exe |
--ex)
1137 ac_prev
=exec_prefix
;;
1138 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1139 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1140 |
--exec=* |
--exe=* |
--ex=*)
1141 exec_prefix
=$ac_optarg ;;
1143 -gas |
--gas |
--ga |
--g)
1144 # Obsolete; use --with-gas.
1147 -help |
--help |
--hel |
--he |
-h)
1148 ac_init_help
=long
;;
1149 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1150 ac_init_help
=recursive
;;
1151 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1152 ac_init_help
=short
;;
1154 -host |
--host |
--hos |
--ho)
1155 ac_prev
=host_alias
;;
1156 -host=* |
--host=* |
--hos=* |
--ho=*)
1157 host_alias
=$ac_optarg ;;
1159 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1161 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1163 htmldir
=$ac_optarg ;;
1165 -includedir |
--includedir |
--includedi |
--included |
--include \
1166 |
--includ |
--inclu |
--incl |
--inc)
1167 ac_prev
=includedir
;;
1168 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1169 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1170 includedir
=$ac_optarg ;;
1172 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1174 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1175 infodir
=$ac_optarg ;;
1177 -libdir |
--libdir |
--libdi |
--libd)
1179 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1180 libdir
=$ac_optarg ;;
1182 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1183 |
--libexe |
--libex |
--libe)
1184 ac_prev
=libexecdir
;;
1185 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1186 |
--libexe=* |
--libex=* |
--libe=*)
1187 libexecdir
=$ac_optarg ;;
1189 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1190 ac_prev
=localedir
;;
1191 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1192 localedir
=$ac_optarg ;;
1194 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1195 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1196 ac_prev
=localstatedir
;;
1197 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1198 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1199 localstatedir
=$ac_optarg ;;
1201 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1203 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1204 mandir
=$ac_optarg ;;
1206 -nfp |
--nfp |
--nf)
1207 # Obsolete; use --without-fp.
1210 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1211 |
--no-cr |
--no-c |
-n)
1214 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1215 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1218 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1219 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1220 |
--oldin |
--oldi |
--old |
--ol |
--o)
1221 ac_prev
=oldincludedir
;;
1222 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1223 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1224 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1225 oldincludedir
=$ac_optarg ;;
1227 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1229 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1230 prefix
=$ac_optarg ;;
1232 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1233 |
--program-pre |
--program-pr |
--program-p)
1234 ac_prev
=program_prefix
;;
1235 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1236 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1237 program_prefix
=$ac_optarg ;;
1239 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1240 |
--program-suf |
--program-su |
--program-s)
1241 ac_prev
=program_suffix
;;
1242 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1243 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1244 program_suffix
=$ac_optarg ;;
1246 -program-transform-name |
--program-transform-name \
1247 |
--program-transform-nam |
--program-transform-na \
1248 |
--program-transform-n |
--program-transform- \
1249 |
--program-transform |
--program-transfor \
1250 |
--program-transfo |
--program-transf \
1251 |
--program-trans |
--program-tran \
1252 |
--progr-tra |
--program-tr |
--program-t)
1253 ac_prev
=program_transform_name
;;
1254 -program-transform-name=* |
--program-transform-name=* \
1255 |
--program-transform-nam=* |
--program-transform-na=* \
1256 |
--program-transform-n=* |
--program-transform-=* \
1257 |
--program-transform=* |
--program-transfor=* \
1258 |
--program-transfo=* |
--program-transf=* \
1259 |
--program-trans=* |
--program-tran=* \
1260 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1261 program_transform_name
=$ac_optarg ;;
1263 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1265 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1266 pdfdir
=$ac_optarg ;;
1268 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1270 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1273 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1274 |
-silent |
--silent |
--silen |
--sile |
--sil)
1277 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1279 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1281 sbindir
=$ac_optarg ;;
1283 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1284 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1285 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1287 ac_prev
=sharedstatedir
;;
1288 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1289 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1290 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1292 sharedstatedir
=$ac_optarg ;;
1294 -site |
--site |
--sit)
1296 -site=* |
--site=* |
--sit=*)
1299 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1301 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1302 srcdir
=$ac_optarg ;;
1304 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1305 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1306 ac_prev
=sysconfdir
;;
1307 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1308 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1309 sysconfdir
=$ac_optarg ;;
1311 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1312 ac_prev
=target_alias
;;
1313 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1314 target_alias
=$ac_optarg ;;
1316 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1319 -version |
--version |
--versio |
--versi |
--vers |
-V)
1320 ac_init_version
=: ;;
1323 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1326 as_fn_error
"invalid package name: $ac_useropt"
1327 ac_useropt_orig
=$ac_useropt
1328 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1333 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1334 ac_unrecognized_sep
=', ';;
1336 eval with_
$ac_useropt=\
$ac_optarg ;;
1338 -without-* |
--without-*)
1339 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1340 # Reject names that are not valid shell variable names.
1341 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1342 as_fn_error
"invalid package name: $ac_useropt"
1343 ac_useropt_orig
=$ac_useropt
1344 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345 case $ac_user_opts in
1349 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1350 ac_unrecognized_sep
=', ';;
1352 eval with_
$ac_useropt=no
;;
1355 # Obsolete; use --with-x.
1358 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1359 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1360 ac_prev
=x_includes
;;
1361 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1362 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1363 x_includes
=$ac_optarg ;;
1365 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1366 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1367 ac_prev
=x_libraries
;;
1368 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1369 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1370 x_libraries
=$ac_optarg ;;
1372 -*) as_fn_error
"unrecognized option: \`$ac_option'
1373 Try \`$0 --help' for more information."
1377 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1378 # Reject names that are not valid shell variable names.
1379 case $ac_envvar in #(
1380 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1381 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1383 eval $ac_envvar=\
$ac_optarg
1384 export $ac_envvar ;;
1387 # FIXME: should be removed in autoconf 3.0.
1388 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1389 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1390 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1391 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1397 if test -n "$ac_prev"; then
1398 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1399 as_fn_error
"missing argument to $ac_option"
1402 if test -n "$ac_unrecognized_opts"; then
1403 case $enable_option_checking in
1405 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1410 # Check all directory arguments for consistency.
1411 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1416 eval ac_val
=\$
$ac_var
1417 # Remove trailing slashes.
1420 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421 eval $ac_var=\
$ac_val;;
1423 # Be sure to have absolute directory names.
1425 [\\/$
]* | ?
:[\\/]* ) continue;;
1426 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1428 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1431 # There might be people who depend on the old broken behavior: `$host'
1432 # used to hold the argument of --host etc.
1433 # FIXME: To remove some day.
1436 target
=$target_alias
1438 # FIXME: To remove some day.
1439 if test "x$host_alias" != x
; then
1440 if test "x$build_alias" = x
; then
1441 cross_compiling
=maybe
1442 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1443 If a cross compiler is detected then cross compile mode will be used." >&2
1444 elif test "x$build_alias" != "x$host_alias"; then
1450 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1452 test "$silent" = yes && exec 6>/dev
/null
1455 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1456 ac_ls_di
=`ls -di .` &&
1457 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1458 as_fn_error
"working directory cannot be determined"
1459 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1460 as_fn_error
"pwd does not report name of working directory"
1463 # Find the source files, if location was not specified.
1464 if test -z "$srcdir"; then
1465 ac_srcdir_defaulted
=yes
1466 # Try the directory containing this script, then the parent directory.
1467 ac_confdir
=`$as_dirname -- "$as_myself" ||
1468 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1469 X"$as_myself" : 'X\(//\)[^/]' \| \
1470 X"$as_myself" : 'X\(//\)$' \| \
1471 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1472 $as_echo X"$as_myself" |
1473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1491 if test ! -r "$srcdir/$ac_unique_file"; then
1495 ac_srcdir_defaulted
=no
1497 if test ! -r "$srcdir/$ac_unique_file"; then
1498 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1499 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1501 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1503 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1505 # When building in place, set srcdir=.
1506 if test "$ac_abs_confdir" = "$ac_pwd"; then
1509 # Remove unnecessary trailing slashes from srcdir.
1510 # Double slashes in file names in object file debugging info
1511 # mess up M-x gdb in Emacs.
1513 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1515 for ac_var
in $ac_precious_vars; do
1516 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1517 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1518 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1519 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1523 # Report the --help message.
1525 if test "$ac_init_help" = "long"; then
1526 # Omit some internal or obsolete options to make the list less imposing.
1527 # This message is too long to be a string in the A/UX 3.1 sh.
1529 \`configure' configures libjava version-unused to adapt to many kinds of systems.
1531 Usage: $0 [OPTION]... [VAR=VALUE]...
1533 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1534 VAR=VALUE. See below for descriptions of some of the useful variables.
1536 Defaults for the options are specified in brackets.
1539 -h, --help display this help and exit
1540 --help=short display options specific to this package
1541 --help=recursive display the short help of all the included packages
1542 -V, --version display version information and exit
1543 -q, --quiet, --silent do not print \`checking...' messages
1544 --cache-file=FILE cache test results in FILE [disabled]
1545 -C, --config-cache alias for \`--cache-file=config.cache'
1546 -n, --no-create do not create output files
1547 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1549 Installation directories:
1550 --prefix=PREFIX install architecture-independent files in PREFIX
1551 [$ac_default_prefix]
1552 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1555 By default, \`make install' will install all the files in
1556 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1557 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1558 for instance \`--prefix=\$HOME'.
1560 For better control, use the options below.
1562 Fine tuning of the installation directories:
1563 --bindir=DIR user executables [EPREFIX/bin]
1564 --sbindir=DIR system admin executables [EPREFIX/sbin]
1565 --libexecdir=DIR program executables [EPREFIX/libexec]
1566 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1567 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1568 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1569 --libdir=DIR object code libraries [EPREFIX/lib]
1570 --includedir=DIR C header files [PREFIX/include]
1571 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1572 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1573 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1574 --infodir=DIR info documentation [DATAROOTDIR/info]
1575 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1576 --mandir=DIR man documentation [DATAROOTDIR/man]
1577 --docdir=DIR documentation root [DATAROOTDIR/doc/libjava]
1578 --htmldir=DIR html documentation [DOCDIR]
1579 --dvidir=DIR dvi documentation [DOCDIR]
1580 --pdfdir=DIR pdf documentation [DOCDIR]
1581 --psdir=DIR ps documentation [DOCDIR]
1587 --program-prefix=PREFIX prepend PREFIX to installed program names
1588 --program-suffix=SUFFIX append SUFFIX to installed program names
1589 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1592 --x-includes=DIR X include files are
in DIR
1593 --x-libraries=DIR X library files are
in DIR
1596 --build=BUILD configure
for building on BUILD
[guessed
]
1597 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1598 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1602 if test -n "$ac_init_help"; then
1603 case $ac_init_help in
1604 short | recursive
) echo "Configuration of libjava version-unused:";;
1609 --disable-option-checking ignore unrecognized
--enable/--with options
1610 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1611 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1612 --enable-multilib build many library versions
(default
)
1613 --enable-version-specific-runtime-libs
1614 specify that runtime libraries should be installed
1615 in a compiler-specific directory
1616 --enable-browser-plugin build gcjwebplugin web browser plugin
1617 --enable-gconf-peer compile GConf native peers
for util.preferences
1618 --disable-gjdoc compile GJDoc
(disabled by
--disable-gjdoc)
1620 --enable-java-maintainer-mode
1621 allow rebuilding of .class and .h files
1622 --disable-dependency-tracking speeds up one-time build
1623 --enable-dependency-tracking do not reject slow dependency extractors
1624 --enable-maintainer-mode enable make rules and dependencies not useful
1625 (and sometimes confusing
) to the casual installer
1626 --enable-libgcj-sublibs build libgcj as many sub-libraries
1627 --enable-libgcj-debug enable runtime debugging code
1628 --enable-java-awt list of AWT peer implementations to be built
1629 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1630 --enable-static[=PKGS
] build static libraries
[default
=yes]
1631 --enable-fast-install[=PKGS
]
1632 optimize
for fast installation
[default
=yes]
1633 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1634 --disable-getenv-properties
1635 don
't set system properties from GCJ_PROPERTIES
1636 --enable-hash-synchronization
1637 use global hash table for monitor locks
1638 --enable-libgcj-bc enable(default) or disable BC ABI for portions of
1640 --enable-reduced-reflection
1641 enable or disable(default) -freduced-reflection when
1642 building portions of libgcj
1643 --enable-gc-debug include full support for pointer backtracing etc.
1644 --enable-interpreter enable interpreter
1645 --enable-sjlj-exceptions
1646 force use of builtin_setjmp for exceptions
1647 --disable-java-net disable java.net
1648 --disable-jvmpi disable JVMPI support
1649 --enable-java-gc=TYPE choose garbage collector (default is boehm)
1650 --disable-rpath do not hardcode runtime library paths
1651 --enable-tls Use thread-local storage [default=yes]
1652 --disable-symvers disable symbol versioning for libjava
1653 --enable-aot-compile-rpm
1654 enable installation of aot-compile-rpm [default=no]
1655 --enable-java-home create a standard JDK-style directory layout in the
1656 install tree [default=no]
1659 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1660 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1661 --with-build-libsubdir=DIR Directory where to find libraries for build system
1662 --with-target-subdir=SUBDIR
1663 configure in a subdirectory
1664 --with-cross-host=HOST configure with a cross compiler from HOST
1665 --with-newlib configure with newlib
1666 --with-antlr-jar=file Use ANTLR from the specified jar file
1667 --with-escher=ABS.PATH specify path to escher dir or JAR for X peers
1668 --with-pic try to use only PIC/non-PIC objects [default=use
1670 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1671 --with-ecj-jar=FILE use preinstalled ecj jar
1672 --with-java-home=DIRECTORY
1673 value of java.home system property
1674 --with-win32-nlsapi=ansi or unicows or unicode
1675 native MinGW libgcj Win32 OS API (default is ansi)
1676 --without-libffi don't use libffi
1677 --with-ecos enable runtime eCos target support
1678 --with-system-zlib use installed libz
1679 --with-x use the X Window System
1680 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1681 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1682 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1683 --with-system-libunwind use installed libunwind
1684 --with-python-dir the location to install Python modules. This path
1685 should NOT include the prefix.
1686 --with-gcc-suffix the GCC tool suffix (defaults to empty string)
1687 --with-arch-directory the arch directory under jre/lib (defaults to
1689 --with-os-directory the os directory under include (defaults to
1691 --with-origin-name the JPackage origin name of this package (default is
1693 --with-arch-suffix the arch directory suffix (default is the empty
1695 --with-jvm-root-dir where to install SDK (default is ${prefix}/lib/jvm)
1696 --with-jvm-jar-dir where to install jars (default is
1697 ${prefix}/lib/jvm-exports)
1699 Some influential environment variables:
1700 CC C compiler command
1701 CFLAGS C compiler flags
1702 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1703 nonstandard directory <lib dir>
1704 LIBS libraries to pass to the linker, e.g. -l<library>
1705 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1706 you have headers in a nonstandard directory <include dir>
1707 CXX C++ compiler command
1708 CXXFLAGS C++ compiler flags
1710 CXXCPP C++ preprocessor
1711 XMKMF Path to xmkmf, Makefile generator for X Window System
1713 Use these variables to override the choices made by `configure' or to
help
1714 it to
find libraries and programs with nonstandard names
/locations.
1716 Report bugs to the package provider.
1721 if test "$ac_init_help" = "recursive"; then
1722 # If there are subdirs, report their specific --help.
1723 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1724 test -d "$ac_dir" ||
1725 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1730 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1732 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1733 # A ".." for each directory in $ac_dir_suffix.
1734 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1735 case $ac_top_builddir_sub in
1736 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1737 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1740 ac_abs_top_builddir
=$ac_pwd
1741 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1742 # for backward compatibility:
1743 ac_top_builddir
=$ac_top_build_prefix
1746 .
) # We are building in place.
1748 ac_top_srcdir
=$ac_top_builddir_sub
1749 ac_abs_top_srcdir
=$ac_pwd ;;
1750 [\\/]* | ?
:[\\/]* ) # Absolute name.
1751 ac_srcdir
=$srcdir$ac_dir_suffix;
1752 ac_top_srcdir
=$srcdir
1753 ac_abs_top_srcdir
=$srcdir ;;
1755 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1756 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1757 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1759 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1761 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1762 # Check for guested configure.
1763 if test -f "$ac_srcdir/configure.gnu"; then
1765 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1766 elif test -f "$ac_srcdir/configure"; then
1768 $SHELL "$ac_srcdir/configure" --help=recursive
1770 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1772 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1776 test -n "$ac_init_help" && exit $ac_status
1777 if $ac_init_version; then
1779 libjava configure version-unused
1780 generated by GNU Autoconf
2.64
1782 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1783 This configure
script is free software
; the Free Software Foundation
1784 gives unlimited permission to copy
, distribute and modify it.
1789 ## ------------------------ ##
1790 ## Autoconf initialization. ##
1791 ## ------------------------ ##
1793 # ac_fn_c_try_compile LINENO
1794 # --------------------------
1795 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1796 ac_fn_c_try_compile
()
1798 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1799 rm -f conftest.
$ac_objext
1800 if { { ac_try
="$ac_compile"
1802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1803 *) ac_try_echo=$ac_try;;
1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807 (eval "$ac_compile") 2>conftest.err
1809 if test -s conftest.err; then
1810 grep -v '^ *+' conftest.err >conftest.er1
1811 cat conftest.er1 >&5
1812 mv -f conftest.er1 conftest.err
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && {
1816 test -z "$ac_c_werror_flag" ||
1817 test ! -s conftest.err
1818 } && test -s conftest.$ac_objext; then :
1821 $as_echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.$ac_ext >&5
1826 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 } # ac_fn_c_try_compile
1831 # ac_fn_cxx_try_compile LINENO
1832 # ----------------------------
1833 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1834 ac_fn_cxx_try_compile ()
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 rm -f conftest.$ac_objext
1838 if { { ac_try="$ac_compile"
1840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1841 *) ac_try_echo
=$ac_try;;
1843 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844 $as_echo "$ac_try_echo"; } >&5
1845 (eval "$ac_compile") 2>conftest.err
1847 if test -s conftest.err
; then
1848 grep -v '^ *+' conftest.err
>conftest.er1
1849 cat conftest.er1
>&5
1850 mv -f conftest.er1 conftest.err
1852 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853 test $ac_status = 0; } && {
1854 test -z "$ac_cxx_werror_flag" ||
1855 test ! -s conftest.err
1856 } && test -s conftest.
$ac_objext; then :
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.
$ac_ext >&5
1864 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1867 } # ac_fn_cxx_try_compile
1869 # ac_fn_c_try_link LINENO
1870 # -----------------------
1871 # Try to link conftest.$ac_ext, and return whether this succeeded.
1874 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1875 rm -f conftest.
$ac_objext conftest
$ac_exeext
1876 if { { ac_try
="$ac_link"
1878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1879 *) ac_try_echo=$ac_try;;
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_link") 2>conftest.err
1885 if test -s conftest.err; then
1886 grep -v '^ *+' conftest.err >conftest.er1
1887 cat conftest.er1 >&5
1888 mv -f conftest.er1 conftest.err
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; } && {
1892 test -z "$ac_c_werror_flag" ||
1893 test ! -s conftest.err
1894 } && test -s conftest$ac_exeext && {
1895 test "$cross_compiling" = yes ||
1896 $as_test_x conftest$ac_exeext
1900 $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1905 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1906 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1907 # interfere with the next link command; also delete a directory that is
1908 # left behind by Apple's compiler. We do this before executing the actions.
1909 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1910 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1913 } # ac_fn_c_try_link
1915 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1916 # -------------------------------------------------------
1917 # Tests whether HEADER exists and can be compiled using the include files in
1918 # INCLUDES, setting the cache variable VAR accordingly.
1919 ac_fn_c_check_header_compile ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925 $as_echo_n "(cached) " >&6
1927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1928 /* end confdefs.h. */
1932 if ac_fn_c_try_compile "$LINENO"; then :
1937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1944 } # ac_fn_c_check_header_compile
1946 # ac_fn_c_try_cpp LINENO
1947 # ----------------------
1948 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 if { { ac_try="$ac_cpp conftest.$ac_ext"
1954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1955 *) ac_try_echo
=$ac_try;;
1957 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1958 $as_echo "$ac_try_echo"; } >&5
1959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1961 if test -s conftest.err
; then
1962 grep -v '^ *+' conftest.err
>conftest.er1
1963 cat conftest.er1
>&5
1964 mv -f conftest.er1 conftest.err
1966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1967 test $ac_status = 0; } >/dev
/null
&& {
1968 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1969 test ! -s conftest.err
1973 $as_echo "$as_me: failed program was:" >&5
1974 sed 's/^/| /' conftest.
$ac_ext >&5
1978 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1983 # ac_fn_c_try_run LINENO
1984 # ----------------------
1985 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1986 # that executables *can* be run.
1989 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1990 if { { ac_try
="$ac_link"
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_link") 2>&5
1999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2001 { { case "(($ac_try" in
2002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2003 *) ac_try_echo
=$ac_try;;
2005 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2006 $as_echo "$ac_try_echo"; } >&5
2007 (eval "$ac_try") 2>&5
2009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2010 test $ac_status = 0; }; }; then :
2013 $as_echo "$as_me: program exited with status $ac_status" >&5
2014 $as_echo "$as_me: failed program was:" >&5
2015 sed 's/^/| /' conftest.
$ac_ext >&5
2017 ac_retval
=$ac_status
2019 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2020 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2025 # ac_fn_c_check_func LINENO FUNC VAR
2026 # ----------------------------------
2027 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2028 ac_fn_c_check_func
()
2030 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034 $as_echo_n "(cached) " >&6
2036 if test x
$gcc_no_link = xyes
; then
2037 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2041 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2043 #define $2 innocuous_$2
2045 /* System header to define __stub macros and hopefully few prototypes,
2046 which can conflict with char $2 (); below.
2047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2048 <limits.h> exists even on freestanding compilers. */
2051 # include <limits.h>
2053 # include <assert.h>
2058 /* Override any GCC internal prototype to avoid an error.
2059 Use char because int might match the return type of a GCC
2060 builtin and then its argument prototype would still apply. */
2065 /* The GNU C library defines this for functions which it implements
2066 to always fail with ENOSYS. Some functions are actually named
2067 something starting with __ and the normal name is an alias. */
2068 #if defined __stub_$2 || defined __stub___$2
2080 if ac_fn_c_try_link
"$LINENO"; then :
2085 rm -f core conftest.err conftest.
$ac_objext \
2086 conftest
$ac_exeext conftest.
$ac_ext
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2090 $as_echo "$ac_res" >&6; }
2091 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2093 } # ac_fn_c_check_func
2095 # ac_fn_cxx_try_cpp LINENO
2096 # ------------------------
2097 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2098 ac_fn_cxx_try_cpp
()
2100 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2101 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2104 *) ac_try_echo=$ac_try;;
2106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2107 $as_echo "$ac_try_echo"; } >&5
2108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2110 if test -s conftest.err; then
2111 grep -v '^ *+' conftest.err >conftest.er1
2112 cat conftest.er1 >&5
2113 mv -f conftest.er1 conftest.err
2115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2116 test $ac_status = 0; } >/dev/null && {
2117 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2118 test ! -s conftest.err
2122 $as_echo "$as_me: failed program was:" >&5
2123 sed 's/^/| /' conftest.$ac_ext >&5
2127 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2130 } # ac_fn_cxx_try_cpp
2132 # ac_fn_cxx_try_link LINENO
2133 # -------------------------
2134 # Try to link conftest.$ac_ext, and return whether this succeeded.
2135 ac_fn_cxx_try_link ()
2137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2138 rm -f conftest.$ac_objext conftest$ac_exeext
2139 if { { ac_try="$ac_link"
2141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2142 *) ac_try_echo
=$ac_try;;
2144 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2145 $as_echo "$ac_try_echo"; } >&5
2146 (eval "$ac_link") 2>conftest.err
2148 if test -s conftest.err
; then
2149 grep -v '^ *+' conftest.err
>conftest.er1
2150 cat conftest.er1
>&5
2151 mv -f conftest.er1 conftest.err
2153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2154 test $ac_status = 0; } && {
2155 test -z "$ac_cxx_werror_flag" ||
2156 test ! -s conftest.err
2157 } && test -s conftest
$ac_exeext && {
2158 test "$cross_compiling" = yes ||
2159 $as_test_x conftest
$ac_exeext
2163 $as_echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.
$ac_ext >&5
2168 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2169 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2170 # interfere with the next link command; also delete a directory that is
2171 # left behind by Apple's compiler. We do this before executing the actions.
2172 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2173 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2176 } # ac_fn_cxx_try_link
2178 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2179 # -------------------------------------------------------
2180 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2181 # the include files in INCLUDES and setting the cache variable VAR
2183 ac_fn_c_check_header_mongrel
()
2185 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2186 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2188 $as_echo_n "checking for $2... " >&6; }
2189 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2190 $as_echo_n "(cached) " >&6
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2194 $as_echo "$ac_res" >&6; }
2196 # Is the header compilable?
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2198 $as_echo_n "checking $2 usability... " >&6; }
2199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2200 /* end confdefs.h. */
2204 if ac_fn_c_try_compile
"$LINENO"; then :
2205 ac_header_compiler
=yes
2207 ac_header_compiler
=no
2209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2211 $as_echo "$ac_header_compiler" >&6; }
2213 # Is the header present?
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2215 $as_echo_n "checking $2 presence... " >&6; }
2216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h. */
2220 if ac_fn_c_try_cpp
"$LINENO"; then :
2221 ac_header_preproc
=yes
2223 ac_header_preproc
=no
2225 rm -f conftest.err conftest.
$ac_ext
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2227 $as_echo "$ac_header_preproc" >&6; }
2229 # So? What about this header?
2230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2233 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2235 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2239 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2241 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2243 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2245 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2247 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2251 $as_echo_n "checking for $2... " >&6; }
2252 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2253 $as_echo_n "(cached) " >&6
2255 eval "$3=\$ac_header_compiler"
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2259 $as_echo "$ac_res" >&6; }
2261 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2263 } # ac_fn_c_check_header_mongrel
2265 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2266 # ----------------------------------------------------
2267 # Tries to find if the field MEMBER exists in type AGGR, after including
2268 # INCLUDES, setting cache variable VAR accordingly.
2269 ac_fn_c_check_member
()
2271 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2273 $as_echo_n "checking for $2.$3... " >&6; }
2274 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2275 $as_echo_n "(cached) " >&6
2277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2290 if ac_fn_c_try_compile
"$LINENO"; then :
2293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2300 if (sizeof ac_aggr.$3)
2306 if ac_fn_c_try_compile
"$LINENO"; then :
2311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2317 $as_echo "$ac_res" >&6; }
2318 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2320 } # ac_fn_c_check_member
2322 # ac_fn_c_check_decl LINENO SYMBOL VAR
2323 # ------------------------------------
2324 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2325 ac_fn_c_check_decl
()
2327 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2328 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2329 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2331 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2332 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2333 $as_echo_n "(cached) " >&6
2335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2341 #ifndef $as_decl_name
2343 (void) $as_decl_use;
2345 (void) $as_decl_name;
2353 if ac_fn_c_try_compile
"$LINENO"; then :
2358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2362 $as_echo "$ac_res" >&6; }
2363 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2365 } # ac_fn_c_check_decl
2367 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2368 # --------------------------------------------
2369 # Tries to find the compile-time value of EXPR in a program that includes
2370 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2372 ac_fn_c_compute_int
()
2374 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2375 if test "$cross_compiling" = yes; then
2376 # Depending upon the size, compute the lo and hi bounds.
2377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2383 static int test_array [1 - 2 * !(($2) >= 0)];
2390 if ac_fn_c_try_compile
"$LINENO"; then :
2393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2394 /* end confdefs.h. */
2399 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2406 if ac_fn_c_try_compile
"$LINENO"; then :
2407 ac_hi
=$ac_mid; break
2409 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2410 if test $ac_lo -le $ac_mid; then
2414 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2420 /* end confdefs.h. */
2425 static int test_array [1 - 2 * !(($2) < 0)];
2432 if ac_fn_c_try_compile
"$LINENO"; then :
2435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2436 /* end confdefs.h. */
2441 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2448 if ac_fn_c_try_compile
"$LINENO"; then :
2449 ac_lo
=$ac_mid; break
2451 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2452 if test $ac_mid -le $ac_hi; then
2456 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2466 # Binary search between lo and hi bounds.
2467 while test "x$ac_lo" != "x$ac_hi"; do
2468 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2470 /* end confdefs.h. */
2475 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2482 if ac_fn_c_try_compile
"$LINENO"; then :
2485 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2490 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2495 /* end confdefs.h. */
2497 static long int longval () { return $2; }
2498 static unsigned long int ulongval () { return $2; }
2505 FILE *f = fopen ("conftest.val", "w");
2510 long int i = longval ();
2513 fprintf (f, "%ld", i);
2517 unsigned long int i = ulongval ();
2520 fprintf (f, "%lu", i);
2522 /* Do not output a trailing newline, as this causes \r\n confusion
2523 on some platforms. */
2524 return ferror (f) || fclose (f) != 0;
2530 if ac_fn_c_try_run
"$LINENO"; then :
2531 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2535 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2536 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2540 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2543 } # ac_fn_c_compute_int
2545 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2546 # -------------------------------------------
2547 # Tests whether TYPE exists after having included INCLUDES, setting cache
2548 # variable VAR accordingly.
2549 ac_fn_c_check_type
()
2551 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2553 $as_echo_n "checking for $2... " >&6; }
2554 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2555 $as_echo_n "(cached) " >&6
2558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2570 if ac_fn_c_try_compile
"$LINENO"; then :
2571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2583 if ac_fn_c_try_compile
"$LINENO"; then :
2588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2594 $as_echo "$ac_res" >&6; }
2595 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2597 } # ac_fn_c_check_type
2598 cat >config.log
<<_ACEOF
2599 This file contains any messages produced by compilers while
2600 running configure, to aid debugging if configure makes a mistake.
2602 It was created by libjava $as_me version-unused, which was
2603 generated by GNU Autoconf 2.64. Invocation command line was
2615 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2616 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2617 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2618 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2619 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2621 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2622 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2624 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2625 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2626 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2627 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2628 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2629 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2630 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir
=.
2639 $as_echo "PATH: $as_dir"
2655 # Keep a trace of the command line.
2656 # Strip out --no-create and --no-recursion so they do not pile up.
2657 # Strip out --silent because we don't want to record it for future runs.
2658 # Also quote any args containing shell meta-characters.
2659 # Make two passes to allow for proper duplicate-argument suppression.
2663 ac_must_keep_next
=false
2669 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2670 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2671 |
-silent |
--silent |
--silen |
--sile |
--sil)
2674 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2677 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2679 as_fn_append ac_configure_args1
" '$ac_arg'"
2680 if test $ac_must_keep_next = true
; then
2681 ac_must_keep_next
=false
# Got value, back to normal.
2684 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2685 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2686 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2687 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2688 case "$ac_configure_args0 " in
2689 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2692 -* ) ac_must_keep_next
=true
;;
2695 as_fn_append ac_configure_args
" '$ac_arg'"
2700 { ac_configure_args0
=; unset ac_configure_args0
;}
2701 { ac_configure_args1
=; unset ac_configure_args1
;}
2703 # When interrupted or exit'd, cleanup temporary files, and complete
2704 # config.log. We remove comments because anyway the quotes in there
2705 # would cause problems or look ugly.
2706 # WARNING: Use '\'' to represent an apostrophe within the trap.
2707 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2708 trap 'exit_status=$?
2709 # Save into config.log some information that might help in debugging.
2714 ## ---------------- ##
2715 ## Cache variables. ##
2716 ## ---------------- ##
2719 # The following way of writing the cache mishandles newlines in values,
2721 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2722 eval ac_val=\$$ac_var
2726 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2727 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2730 _ | IFS | as_nl) ;; #(
2731 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2732 *) { eval $ac_var=; unset $ac_var;} ;;
2737 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2738 *${as_nl}ac_space=\ *)
2740 "s/'\''/'\''\\\\'\'''\''/g;
2741 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2744 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2752 ## ----------------- ##
2753 ## Output variables. ##
2754 ## ----------------- ##
2757 for ac_var in $ac_subst_vars
2759 eval ac_val=\$$ac_var
2761 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2763 $as_echo "$ac_var='\''$ac_val'\''"
2767 if test -n "$ac_subst_files"; then
2769 ## ------------------- ##
2770 ## File substitutions. ##
2771 ## ------------------- ##
2774 for ac_var
in $ac_subst_files
2776 eval ac_val
=\$
$ac_var
2778 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2780 $as_echo "$ac_var='\''$ac_val'\''"
2785 if test -s confdefs.h; then
2795 test "$ac_signal" != 0 &&
2796 $as_echo "$as_me: caught signal $ac_signal"
2797 $as_echo "$as_me: exit $exit_status"
2799 rm -f core *.core core.conftest.* &&
2800 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2803 for ac_signal
in 1 2 13 15; do
2804 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2808 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2809 rm -f -r conftest
* confdefs.h
2811 $as_echo "/* confdefs.h */" > confdefs.h
2813 # Predefined preprocessor variables.
2815 cat >>confdefs.h
<<_ACEOF
2816 #define PACKAGE_NAME "$PACKAGE_NAME"
2819 cat >>confdefs.h
<<_ACEOF
2820 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2823 cat >>confdefs.h
<<_ACEOF
2824 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2827 cat >>confdefs.h
<<_ACEOF
2828 #define PACKAGE_STRING "$PACKAGE_STRING"
2831 cat >>confdefs.h
<<_ACEOF
2832 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2835 cat >>confdefs.h
<<_ACEOF
2836 #define PACKAGE_URL "$PACKAGE_URL"
2840 # Let the site file select an alternate cache file if it wants to.
2841 # Prefer an explicitly selected file to automatically selected ones.
2844 if test -n "$CONFIG_SITE"; then
2845 ac_site_file1
=$CONFIG_SITE
2846 elif test "x$prefix" != xNONE
; then
2847 ac_site_file1
=$prefix/share
/config.site
2848 ac_site_file2
=$prefix/etc
/config.site
2850 ac_site_file1
=$ac_default_prefix/share
/config.site
2851 ac_site_file2
=$ac_default_prefix/etc
/config.site
2853 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2855 test "x$ac_site_file" = xNONE
&& continue
2856 if test -r "$ac_site_file"; then
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2858 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2859 sed 's/^/| /' "$ac_site_file" >&5
2864 if test -r "$cache_file"; then
2865 # Some versions of bash will fail to source /dev/null (special
2866 # files actually), so we avoid doing that.
2867 if test -f "$cache_file"; then
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2869 $as_echo "$as_me: loading cache $cache_file" >&6;}
2871 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2872 *) .
"./$cache_file";;
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2877 $as_echo "$as_me: creating cache $cache_file" >&6;}
2881 # Check that the precious variables saved in the cache have kept the same
2883 ac_cache_corrupted
=false
2884 for ac_var
in $ac_precious_vars; do
2885 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2886 eval ac_new_set
=\
$ac_env_${ac_var}_set
2887 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2888 eval ac_new_val
=\
$ac_env_${ac_var}_value
2889 case $ac_old_set,$ac_new_set in
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2892 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2893 ac_cache_corrupted
=: ;;
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2896 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2897 ac_cache_corrupted
=: ;;
2900 if test "x$ac_old_val" != "x$ac_new_val"; then
2901 # differences in whitespace do not lead to failure.
2902 ac_old_val_w
=`echo x $ac_old_val`
2903 ac_new_val_w
=`echo x $ac_new_val`
2904 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2906 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2907 ac_cache_corrupted
=:
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2910 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2911 eval $ac_var=\
$ac_old_val
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2914 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2916 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2919 # Pass precious variables to config.status.
2920 if test "$ac_new_set" = set; then
2922 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2923 *) ac_arg
=$ac_var=$ac_new_val ;;
2925 case " $ac_configure_args " in
2926 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2927 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2931 if $ac_cache_corrupted; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2935 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2936 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2938 ## -------------------- ##
2939 ## Main body of script. ##
2940 ## -------------------- ##
2943 ac_cpp
='$CPP $CPPFLAGS'
2944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2956 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2957 for ac_t
in install-sh
install.sh shtool
; do
2958 if test -f "$ac_dir/$ac_t"; then
2960 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2965 if test -z "$ac_aux_dir"; then
2966 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2969 # These three variables are undocumented and unsupported,
2970 # and are intended to be withdrawn in a future Autoconf release.
2971 # They can cause serious problems if a builder's source tree is in a directory
2972 # whose full name contains unusual characters.
2973 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2974 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2975 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2978 # Make sure we can run config.sub.
2979 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2980 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2983 $as_echo_n "checking build system type... " >&6; }
2984 if test "${ac_cv_build+set}" = set; then :
2985 $as_echo_n "(cached) " >&6
2987 ac_build_alias
=$build_alias
2988 test "x$ac_build_alias" = x
&&
2989 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2990 test "x$ac_build_alias" = x
&&
2991 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2992 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2993 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2997 $as_echo "$ac_cv_build" >&6; }
2998 case $ac_cv_build in
3000 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3003 ac_save_IFS
=$IFS; IFS
='-'
3009 # Remember, the first character of IFS is used to create $*,
3010 # except with old shells:
3013 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3016 case ${build_alias} in
3017 "") build_noncanonical
=${build} ;;
3018 *) build_noncanonical
=${build_alias} ;;
3021 case ${host_alias} in
3022 "") host_noncanonical
=${build_noncanonical} ;;
3023 *) host_noncanonical
=${host_alias} ;;
3026 case ${target_alias} in
3027 "") target_noncanonical
=${host_noncanonical} ;;
3028 *) target_noncanonical
=${target_alias} ;;
3032 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
3033 # have matching libraries, they should use host libraries: Makefile.tpl
3034 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
3035 # However, they still use the build modules, because the corresponding
3036 # host modules (e.g. bison) are only built for the host when bootstrap
3038 # - build_subdir is where we find build modules, and never changes.
3039 # - build_libsubdir is where we find build libraries, and can be overridden.
3041 # Prefix 'build-' so this never conflicts with target_subdir.
3042 build_subdir
="build-${build_noncanonical}"
3044 # Check whether --with-build-libsubdir was given.
3045 if test "${with_build_libsubdir+set}" = set; then :
3046 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
3048 build_libsubdir
="$build_subdir"
3051 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
3052 if ( test $srcdir = .
&& test -d gcc
) \
3053 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
3054 host_subdir
="host-${host_noncanonical}"
3059 target_subdir
=${target_noncanonical}
3062 # We use these options to decide which functions to include.
3064 # Check whether --with-target-subdir was given.
3065 if test "${with_target_subdir+set}" = set; then :
3066 withval
=$with_target_subdir;
3070 # We may get other options which we don't document:
3071 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3073 # Find the rest of the source tree framework.
3074 # Default to --enable-multilib
3075 # Check whether --enable-multilib was given.
3076 if test "${enable_multilib+set}" = set; then :
3077 enableval
=$enable_multilib; case "$enableval" in
3078 yes) multilib
=yes ;;
3080 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3087 # We may get other options which we leave undocumented:
3088 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3089 # See config-ml.in if you want the gory details.
3091 if test "$srcdir" = "."; then
3092 if test "$with_target_subdir" != "."; then
3093 multi_basedir
="$srcdir/$with_multisrctop../.."
3095 multi_basedir
="$srcdir/$with_multisrctop.."
3098 multi_basedir
="$srcdir/.."
3102 # Even if the default multilib is not a cross compilation,
3103 # it may be that some of the other multilibs are.
3104 if test $cross_compiling = no
&& test $multilib = yes \
3105 && test "x${with_multisubdir}" != x
; then
3106 cross_compiling
=maybe
3109 ac_config_commands
="$ac_config_commands default-1"
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3113 $as_echo_n "checking host system type... " >&6; }
3114 if test "${ac_cv_host+set}" = set; then :
3115 $as_echo_n "(cached) " >&6
3117 if test "x$host_alias" = x
; then
3118 ac_cv_host
=$ac_cv_build
3120 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3121 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3126 $as_echo "$ac_cv_host" >&6; }
3129 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3132 ac_save_IFS
=$IFS; IFS
='-'
3138 # Remember, the first character of IFS is used to create $*,
3139 # except with old shells:
3142 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3146 $as_echo_n "checking target system type... " >&6; }
3147 if test "${ac_cv_target+set}" = set; then :
3148 $as_echo_n "(cached) " >&6
3150 if test "x$target_alias" = x
; then
3151 ac_cv_target
=$ac_cv_host
3153 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3154 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3159 $as_echo "$ac_cv_target" >&6; }
3160 case $ac_cv_target in
3162 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
3164 target
=$ac_cv_target
3165 ac_save_IFS
=$IFS; IFS
='-'
3171 # Remember, the first character of IFS is used to create $*,
3172 # except with old shells:
3175 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3178 # The aliases save the names the user supplied, while $host etc.
3179 # will get canonicalized.
3180 test -n "$target_alias" &&
3181 test "$program_prefix$program_suffix$program_transform_name" = \
3183 program_prefix
=${target_alias}-
3185 case ${build_alias} in
3186 "") build_noncanonical
=${build} ;;
3187 *) build_noncanonical
=${build_alias} ;;
3190 case ${target_alias} in
3191 "") target_noncanonical
=${host_noncanonical} ;;
3192 *) target_noncanonical
=${target_alias} ;;
3198 # This works around the fact that libtool configuration may change LD
3199 # for this particular configuration, but some shells, instead of
3200 # keeping the changes in LD private, export them just because LD is
3202 ORIGINAL_LD_FOR_MULTILIBS
=$LD
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3205 $as_echo_n "checking whether ln -s works... " >&6; }
3207 if test "$LN_S" = "ln -s"; then
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3209 $as_echo "yes" >&6; }
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3212 $as_echo "no, using $LN_S" >&6; }
3216 # This works around an automake problem.
3217 mkinstalldirs
="`cd $ac_aux_dir && ${PWDCMD-pwd}`/mkinstalldirs"
3221 # Check whether --with-cross-host was given.
3222 if test "${with_cross_host+set}" = set; then :
3223 withval
=$with_cross_host;
3228 # Check whether --with-newlib was given.
3229 if test "${with_newlib+set}" = set; then :
3230 withval
=$with_newlib;
3234 # Check whether --enable-version-specific-runtime-libs was given.
3235 if test "${enable_version_specific_runtime_libs+set}" = set; then :
3236 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
3237 yes) version_specific_libs
=yes ;;
3238 no
) version_specific_libs
=no
;;
3239 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
3242 version_specific_libs
=no
3247 # Check whether --enable-browser-plugin was given.
3248 if test "${enable_browser_plugin+set}" = set; then :
3249 enableval
=$enable_browser_plugin; case "$enableval" in
3250 yes) browser_plugin_enabled
=yes ;;
3251 no
) browser_plugin_enabled
=no
;;
3252 *) as_fn_error
"Unknown argument to enable/disable browser plugin" "$LINENO" 5;;
3255 browser_plugin_enabled
=no
3260 # Check whether --enable-gconf-peer was given.
3261 if test "${enable_gconf_peer+set}" = set; then :
3262 enableval
=$enable_gconf_peer; case "$enableval" in
3263 yes) gconf_enabled
=yes ;;
3264 no
) gconf_enabled
=no
;;
3265 *) as_fn_error
"Unknown argument to enable/disable gconf-peer" "$LINENO" 5;;
3274 # Check whether --with-antlr-jar was given.
3275 if test "${with_antlr_jar+set}" = set; then :
3276 withval
=$with_antlr_jar;
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for antlr.jar" >&5
3287 $as_echo_n "checking for antlr.jar... " >&6; }
3288 if test "x$ANTLR_JAR" = x
; then
3289 for antlr_lib_home
in `ls -d /usr/local/share/antlr* 2> /dev/null` \
3290 /usr
/share
/antlr
/lib
/usr
/share
/java
/usr
/lib
;
3292 if test -f "$antlr_lib_home/antlr.jar"; then
3293 # FIXME: version check for antlr needed without using a VM
3294 ANTLR_JAR
="$antlr_lib_home/antlr.jar"
3298 if test "x$ANTLR_JAR" = x
; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
3300 $as_echo "not found" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3303 $as_echo "$ANTLR_JAR" >&6; }
3306 if test -f "${ANTLR_JAR}"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANTLR_JAR" >&5
3308 $as_echo "$ANTLR_JAR" >&6; }
3310 as_fn_error
"antlr jar file not found: $ANTLR_JAR" "$LINENO" 5
3315 # Check whether --enable-gjdoc was given.
3316 if test "${enable_gjdoc+set}" = set; then :
3317 enableval
=$enable_gjdoc; case "${enableval}" in
3318 yes) BUILD_GJDOC
=yes ;;
3319 no
) BUILD_GJDOC
=no
;;
3320 *) BUILD_GJDOC
=yes ;;
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gjdoc" >&5
3328 $as_echo_n "checking whether to build gjdoc... " >&6; }
3329 if test "x$BUILD_GJDOC" = xmaybe
; then
3330 if test -f "${ANTLR_JAR}"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3333 $as_echo "yes" >&6; }
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, antlr.jar not found" >&5
3337 $as_echo "no, antlr.jar not found" >&6; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_GJDOC" >&5
3341 $as_echo "$BUILD_GJDOC" >&6; }
3343 if test "x${BUILD_GJDOC}" = xyes
; then
3345 CREATE_GJDOC_FALSE
='#'
3347 CREATE_GJDOC_TRUE
='#'
3352 # Check whether --enable-java-maintainer-mode was given.
3353 if test "${enable_java_maintainer_mode+set}" = set; then :
3354 enableval
=$enable_java_maintainer_mode;
3357 if test "$enable_java_maintainer_mode" = yes; then
3358 JAVA_MAINTAINER_MODE_TRUE
=
3359 JAVA_MAINTAINER_MODE_FALSE
='#'
3361 JAVA_MAINTAINER_MODE_TRUE
='#'
3362 JAVA_MAINTAINER_MODE_FALSE
=
3366 # It may not be safe to run linking tests in AC_PROG_CC/AC_PROG_CXX.
3369 # For libstdc++-v3, -fno-builtin must be present here so that a
3370 # non-conflicting form of std::exit can be guessed by AC_PROG_CXX, and
3371 # used in later tests. This may not be necessary in libjava; I don't know.
3372 save_CXXFLAGS
="$CXXFLAGS"
3373 CXXFLAGS
="$CXXFLAGS -fno-builtin"
3375 ac_cpp
='$CPP $CPPFLAGS'
3376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3379 if test -n "$ac_tool_prefix"; then
3380 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3381 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3383 $as_echo_n "checking for $ac_word... " >&6; }
3384 if test "${ac_cv_prog_CC+set}" = set; then :
3385 $as_echo_n "(cached) " >&6
3387 if test -n "$CC"; then
3388 ac_cv_prog_CC
="$CC" # Let the user override the test.
3390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir
=.
3395 for ac_exec_ext
in '' $ac_executable_extensions; do
3396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3397 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3408 if test -n "$CC"; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3410 $as_echo "$CC" >&6; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413 $as_echo "no" >&6; }
3418 if test -z "$ac_cv_prog_CC"; then
3420 # Extract the first word of "gcc", so it can be a program name with args.
3421 set dummy gcc
; ac_word
=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3425 $as_echo_n "(cached) " >&6
3427 if test -n "$ac_ct_CC"; then
3428 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3434 test -z "$as_dir" && as_dir
=.
3435 for ac_exec_ext
in '' $ac_executable_extensions; do
3436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3437 ac_cv_prog_ac_ct_CC
="gcc"
3438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3448 if test -n "$ac_ct_CC"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3450 $as_echo "$ac_ct_CC" >&6; }
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3456 if test "x$ac_ct_CC" = x
; then
3459 case $cross_compiling:$ac_tool_warned in
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3463 ac_tool_warned
=yes ;;
3471 if test -z "$CC"; then
3472 if test -n "$ac_tool_prefix"; then
3473 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3474 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3476 $as_echo_n "checking for $ac_word... " >&6; }
3477 if test "${ac_cv_prog_CC+set}" = set; then :
3478 $as_echo_n "(cached) " >&6
3480 if test -n "$CC"; then
3481 ac_cv_prog_CC
="$CC" # Let the user override the test.
3483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3487 test -z "$as_dir" && as_dir
=.
3488 for ac_exec_ext
in '' $ac_executable_extensions; do
3489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3490 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3501 if test -n "$CC"; then
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3503 $as_echo "$CC" >&6; }
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3506 $as_echo "no" >&6; }
3512 if test -z "$CC"; then
3513 # Extract the first word of "cc", so it can be a program name with args.
3514 set dummy cc
; ac_word
=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if test "${ac_cv_prog_CC+set}" = set; then :
3518 $as_echo_n "(cached) " >&6
3520 if test -n "$CC"; then
3521 ac_cv_prog_CC
="$CC" # Let the user override the test.
3524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3528 test -z "$as_dir" && as_dir
=.
3529 for ac_exec_ext
in '' $ac_executable_extensions; do
3530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3531 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3532 ac_prog_rejected
=yes
3536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 if test $ac_prog_rejected = yes; then
3544 # We found a bogon in the path, so make sure we never use it.
3545 set dummy
$ac_cv_prog_CC
3547 if test $# != 0; then
3548 # We chose a different compiler from the bogus one.
3549 # However, it has the same basename, so the bogon will be chosen
3550 # first if we set CC to just the basename; use the full file name.
3552 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3558 if test -n "$CC"; then
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3560 $as_echo "$CC" >&6; }
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563 $as_echo "no" >&6; }
3568 if test -z "$CC"; then
3569 if test -n "$ac_tool_prefix"; then
3570 for ac_prog
in cl.exe
3572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3573 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3575 $as_echo_n "checking for $ac_word... " >&6; }
3576 if test "${ac_cv_prog_CC+set}" = set; then :
3577 $as_echo_n "(cached) " >&6
3579 if test -n "$CC"; then
3580 ac_cv_prog_CC
="$CC" # Let the user override the test.
3582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3586 test -z "$as_dir" && as_dir
=.
3587 for ac_exec_ext
in '' $ac_executable_extensions; do
3588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3589 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 if test -n "$CC"; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3602 $as_echo "$CC" >&6; }
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3605 $as_echo "no" >&6; }
3609 test -n "$CC" && break
3612 if test -z "$CC"; then
3614 for ac_prog
in cl.exe
3616 # Extract the first word of "$ac_prog", so it can be a program name with args.
3617 set dummy
$ac_prog; ac_word
=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$ac_ct_CC"; then
3624 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir
=.
3631 for ac_exec_ext
in '' $ac_executable_extensions; do
3632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3633 ac_cv_prog_ac_ct_CC
="$ac_prog"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3644 if test -n "$ac_ct_CC"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3646 $as_echo "$ac_ct_CC" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3653 test -n "$ac_ct_CC" && break
3656 if test "x$ac_ct_CC" = x
; then
3659 case $cross_compiling:$ac_tool_warned in
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3663 ac_tool_warned
=yes ;;
3672 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3674 as_fn_error
"no acceptable C compiler found in \$PATH
3675 See \`config.log' for more details." "$LINENO" 5; }
3677 # Provide some information about the compiler.
3678 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3681 for ac_option
in --version -v -V -qversion; do
3682 { { ac_try
="$ac_compiler $ac_option >&5"
3684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3685 *) ac_try_echo=$ac_try;;
3687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688 $as_echo "$ac_try_echo"; } >&5
3689 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3691 if test -s conftest.err; then
3693 ... rest of stderr output deleted ...
3694 10q' conftest.err >conftest.er1
3695 cat conftest.er1 >&5
3696 rm -f conftest.er1 conftest.err
3698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3699 test $ac_status = 0; }
3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703 /* end confdefs.h. */
3714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3715 (eval $ac_link) 2>&5
3717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3718 test $ac_status = 0; }; then :
3723 if test x$gcc_no_link = xyes; then
3724 # Setting cross_compile will disable run tests; it will
3725 # also disable AC_CHECK_FILE but that's generally
3726 # correct if we can't link.
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3741 ac_clean_files_save=$ac_clean_files
3742 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3743 # Try to create an executable without -o first, disregard a.out.
3744 # It will help us diagnose broken compilers, and finding out an intuition
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3747 $as_echo_n "checking for C compiler default output file name... " >&6; }
3748 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3750 # The possible output files:
3751 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3754 for ac_file in $ac_files
3757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3758 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3763 if { { ac_try="$ac_link_default"
3765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3766 *) ac_try_echo
=$ac_try;;
3768 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3769 $as_echo "$ac_try_echo"; } >&5
3770 (eval "$ac_link_default") 2>&5
3772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3773 test $ac_status = 0; }; then :
3774 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3775 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3776 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3777 # so that the user can short-circuit this test for compilers unknown to
3779 for ac_file
in $ac_files ''
3781 test -f "$ac_file" ||
continue
3783 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3786 # We found the default executable, but exeext='' is most
3790 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3792 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3794 # We set ac_cv_exeext here because the later test for it is not
3795 # safe: cross compilers may not add the suffix if given an `-o'
3796 # argument, so we may need to know it at that point already.
3797 # Even if this section looks crufty: it has the advantage of
3804 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3810 $as_echo "$ac_file" >&6; }
3811 if test -z "$ac_file"; then :
3812 $as_echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.
$ac_ext >&5
3815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3817 { as_fn_set_status
77
3818 as_fn_error
"C compiler cannot create executables
3819 See \`config.log' for more details." "$LINENO" 5; }; }
3821 ac_exeext
=$ac_cv_exeext
3823 # Check that the compiler produces executables we can run. If not, either
3824 # the compiler is broken, or we cross compile.
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3826 $as_echo_n "checking whether the C compiler works... " >&6; }
3827 # If not cross compiling, check that we can run a simple program.
3828 if test "$cross_compiling" != yes; then
3829 if { ac_try
='./$ac_file'
3830 { { case "(($ac_try" in
3831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836 (eval "$ac_try") 2>&5
3838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839 test $ac_status = 0; }; }; then
3842 if test "$cross_compiling" = maybe; then
3845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error "cannot run C compiled programs.
3848 If you meant to cross compile
, use \
`--host'.
3849 See \`config.log
' for more details." "$LINENO" 5; }
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3854 $as_echo "yes" >&6; }
3856 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3857 ac_clean_files=$ac_clean_files_save
3858 # Check that the compiler produces executables we can run. If not, either
3859 # the compiler is broken, or we cross compile.
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3861 $as_echo_n "checking whether we are cross compiling... " >&6; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3863 $as_echo "$cross_compiling" >&6; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3866 $as_echo_n "checking for suffix of executables... " >&6; }
3867 if { { ac_try="$ac_link"
3869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3870 *) ac_try_echo=$ac_try;;
3872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3873 $as_echo "$ac_try_echo"; } >&5
3874 (eval "$ac_link") 2>&5
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }; then :
3878 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3879 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3880 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3882 for ac_file
in conftest.exe conftest conftest.
*; do
3883 test -f "$ac_file" ||
continue
3885 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3886 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3894 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3895 See \`config.log' for more details." "$LINENO" 5; }
3897 rm -f conftest
$ac_cv_exeext
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3899 $as_echo "$ac_cv_exeext" >&6; }
3901 rm -f conftest.
$ac_ext
3902 EXEEXT
=$ac_cv_exeext
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3906 $as_echo_n "checking for suffix of object files... " >&6; }
3907 if test "${ac_cv_objext+set}" = set; then :
3908 $as_echo_n "(cached) " >&6
3910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3921 rm -f conftest.o conftest.obj
3922 if { { ac_try
="$ac_compile"
3924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929 (eval "$ac_compile") 2>&5
3931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3932 test $ac_status = 0; }; then :
3933 for ac_file in conftest.o conftest.obj conftest.*; do
3934 test -f "$ac_file" || continue;
3936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3937 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3942 $as_echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.$ac_ext >&5
3945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3947 as_fn_error "cannot compute suffix of object files
: cannot compile
3948 See \
`config.log' for more details." "$LINENO" 5; }
3950 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3953 $as_echo "$ac_cv_objext" >&6; }
3954 OBJEXT=$ac_cv_objext
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3957 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3958 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3959 $as_echo_n "(cached) " >&6
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3975 if ac_fn_c_try_compile "$LINENO"; then :
3980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3985 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3986 if test $ac_compiler_gnu = yes; then
3991 ac_test_CFLAGS=${CFLAGS+set}
3992 ac_save_CFLAGS=$CFLAGS
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3994 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3995 if test "${ac_cv_prog_cc_g+set}" = set; then :
3996 $as_echo_n "(cached) " >&6
3998 ac_save_c_werror_flag=$ac_c_werror_flag
3999 ac_c_werror_flag=yes
4002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4013 if ac_fn_c_try_compile "$LINENO"; then :
4017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h. */
4028 if ac_fn_c_try_compile "$LINENO"; then :
4031 ac_c_werror_flag=$ac_save_c_werror_flag
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4044 if ac_fn_c_try_compile "$LINENO"; then :
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 ac_c_werror_flag=$ac_save_c_werror_flag
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4055 $as_echo "$ac_cv_prog_cc_g" >&6; }
4056 if test "$ac_test_CFLAGS" = set; then
4057 CFLAGS=$ac_save_CFLAGS
4058 elif test $ac_cv_prog_cc_g = yes; then
4059 if test "$GCC" = yes; then
4065 if test "$GCC" = yes; then
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4072 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4073 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4074 $as_echo_n "(cached) " >&6
4076 ac_cv_prog_cc_c89=no
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4082 #include <sys/types.h>
4083 #include <sys/stat.h>
4084 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4085 struct buf { int x; };
4086 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4087 static char *e (p, i)
4093 static char *f (char * (*g) (char **, int), char **p, ...)
4098 s = g (p, va_arg (v,int));
4103 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4104 function prototypes and stuff, but not '\xHH' hex character constants.
4105 These don't provoke an error unfortunately, instead are silently treated
4106 as 'x'. The following induces an error, until -std is added to get
4107 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4108 array size at least. It's necessary to write '\x00'==0 to get something
4109 that's true only with -std. */
4110 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4112 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4113 inside strings and character constants. */
4115 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4117 int test (int i, double x);
4118 struct s1 {int (*f) (int a);};
4119 struct s2 {int (*f) (double a);};
4120 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4126 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4131 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4132 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4134 CC="$ac_save_CC $ac_arg"
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 ac_cv_prog_cc_c89=$ac_arg
4138 rm -f core conftest.err conftest.$ac_objext
4139 test "x$ac_cv_prog_cc_c89" != "xno" && break
4141 rm -f conftest.$ac_ext
4146 case "x$ac_cv_prog_cc_c89" in
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4149 $as_echo "none needed" >&6; } ;;
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4152 $as_echo "unsupported" >&6; } ;;
4154 CC="$CC $ac_cv_prog_cc_c89"
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4156 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4158 if test "x$ac_cv_prog_cc_c89" != xno; then :
4163 ac_cpp='$CPP $CPPFLAGS'
4164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4169 ac_cpp='$CXXCPP $CPPFLAGS'
4170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4173 if test -z "$CXX"; then
4174 if test -n "$CCC"; then
4177 if test -n "$ac_tool_prefix"; then
4178 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4181 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4183 $as_echo_n "checking for $ac_word... " >&6; }
4184 if test "${ac_cv_prog_CXX+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 if test -n "$CXX"; then
4188 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 test -z "$as_dir" && as_dir=.
4195 for ac_exec_ext in '' $ac_executable_extensions; do
4196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4197 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 if test -n "$CXX"; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4210 $as_echo "$CXX" >&6; }
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4217 test -n "$CXX" && break
4220 if test -z "$CXX"; then
4222 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4224 # Extract the first word of "$ac_prog", so it can be a program name with args.
4225 set dummy $ac_prog; ac_word=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -n "$ac_ct_CXX"; then
4232 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir=.
4239 for ac_exec_ext in '' $ac_executable_extensions; do
4240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4241 ac_cv_prog_ac_ct_CXX="$ac_prog"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4252 if test -n "$ac_ct_CXX"; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4254 $as_echo "$ac_ct_CXX" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4261 test -n "$ac_ct_CXX" && break
4264 if test "x$ac_ct_CXX" = x; then
4267 case $cross_compiling:$ac_tool_warned in
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4271 ac_tool_warned=yes ;;
4279 # Provide some information about the compiler.
4280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4283 for ac_option in --version -v -V -qversion; do
4284 { { ac_try="$ac_compiler $ac_option >&5"
4286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4287 *) ac_try_echo
=$ac_try;;
4289 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4290 $as_echo "$ac_try_echo"; } >&5
4291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4293 if test -s conftest.err
; then
4295 ... rest of stderr output deleted ...
4296 10q' conftest.err
>conftest.er1
4297 cat conftest.er1
>&5
4298 rm -f conftest.er1 conftest.err
4300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4301 test $ac_status = 0; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4305 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4306 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4323 if ac_fn_cxx_try_compile
"$LINENO"; then :
4328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4329 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4333 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4334 if test $ac_compiler_gnu = yes; then
4339 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4340 ac_save_CXXFLAGS
=$CXXFLAGS
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4342 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4343 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4344 $as_echo_n "(cached) " >&6
4346 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4347 ac_cxx_werror_flag
=yes
4350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4351 /* end confdefs.h. */
4361 if ac_fn_cxx_try_compile
"$LINENO"; then :
4362 ac_cv_prog_cxx_g
=yes
4365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4376 if ac_fn_cxx_try_compile
"$LINENO"; then :
4379 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4382 /* end confdefs.h. */
4392 if ac_fn_cxx_try_compile
"$LINENO"; then :
4393 ac_cv_prog_cxx_g
=yes
4395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4400 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4403 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4404 if test "$ac_test_CXXFLAGS" = set; then
4405 CXXFLAGS
=$ac_save_CXXFLAGS
4406 elif test $ac_cv_prog_cxx_g = yes; then
4407 if test "$GXX" = yes; then
4413 if test "$GXX" = yes; then
4420 ac_cpp
='$CPP $CPPFLAGS'
4421 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4425 CXXFLAGS
="$save_CXXFLAGS"
4427 am__api_version
='1.11'
4429 # Find a good install program. We prefer a C program (faster),
4430 # so one script is as good as another. But avoid the broken or
4431 # incompatible versions:
4432 # SysV /etc/install, /usr/sbin/install
4433 # SunOS /usr/etc/install
4434 # IRIX /sbin/install
4436 # AmigaOS /C/install, which installs bootblocks on floppy discs
4437 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4438 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4439 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4440 # OS/2's system install, which has a completely different semantic
4441 # ./install, which can be erroneously created by make from ./install.sh.
4442 # Reject install programs that cannot install multiple files.
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4444 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4445 if test -z "$INSTALL"; then
4446 if test "${ac_cv_path_install+set}" = set; then :
4447 $as_echo_n "(cached) " >&6
4449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir
=.
4454 # Account for people who put trailing slashes in PATH elements.
4455 case $as_dir/ in #((
4456 .
/ | .
// |
/[cC
]/* | \
4457 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4458 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4461 # OSF1 and SCO ODT 3.0 have their own names for install.
4462 # Don't use installbsd from OSF since it installs stuff as root
4464 for ac_prog
in ginstall scoinst
install; do
4465 for ac_exec_ext
in '' $ac_executable_extensions; do
4466 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4467 if test $ac_prog = install &&
4468 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4469 # AIX install. It has an incompatible calling convention.
4471 elif test $ac_prog = install &&
4472 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4473 # program-specific install script used by HP pwplus--don't use.
4476 rm -rf conftest.one conftest.two conftest.dir
4477 echo one
> conftest.one
4478 echo two
> conftest.two
4480 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4481 test -s conftest.one
&& test -s conftest.two
&&
4482 test -s conftest.dir
/conftest.one
&&
4483 test -s conftest.dir
/conftest.two
4485 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4498 rm -rf conftest.one conftest.two conftest.dir
4501 if test "${ac_cv_path_install+set}" = set; then
4502 INSTALL
=$ac_cv_path_install
4504 # As a last resort, use the slow shell script. Don't cache a
4505 # value for INSTALL within a source directory, because that will
4506 # break other packages using the cache if that directory is
4507 # removed, or if the value is a relative name.
4508 INSTALL
=$ac_install_sh
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4512 $as_echo "$INSTALL" >&6; }
4514 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4515 # It thinks the first close brace ends the variable substitution.
4516 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4518 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4520 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4523 $as_echo_n "checking whether build environment is sane... " >&6; }
4526 echo timestamp
> conftest.
file
4527 # Reject unsafe characters in $srcdir or the absolute working directory
4528 # name. Accept space and tab only in the latter.
4532 *[\\\"\
#\$\&\'\`$am_lf]*)
4533 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
4536 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4537 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4540 # Do `set' in a subshell so we don't clobber the current shell's
4541 # arguments. Must try -L first in case configure is actually a
4542 # symlink; some systems play weird games with the mod time of symlinks
4543 # (eg FreeBSD returns the mod time of the symlink's containing
4546 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4547 if test "$*" = "X"; then
4549 set X
`ls -t "$srcdir/configure" conftest.file`
4552 if test "$*" != "X $srcdir/configure conftest.file" \
4553 && test "$*" != "X conftest.file $srcdir/configure"; then
4555 # If neither matched, then we have a broken ls. This can happen
4556 # if, for instance, CONFIG_SHELL is bash and it inherits a
4557 # broken ls alias from the environment. This has actually
4558 # happened. Such a system could not be considered "sane".
4559 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
4560 alias in your environment" "$LINENO" 5
4563 test "$2" = conftest.
file
4569 as_fn_error
"newly created file is older than distributed files!
4570 Check your system clock" "$LINENO" 5
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4573 $as_echo "yes" >&6; }
4574 test "$program_prefix" != NONE
&&
4575 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4576 # Use a double $ so make ignores it.
4577 test "$program_suffix" != NONE
&&
4578 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4579 # Double any \ or $.
4580 # By default was `s,x,x', remove it if useless.
4581 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4582 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4584 # expand $ac_aux_dir to an absolute path
4585 am_aux_dir
=`cd $ac_aux_dir && pwd`
4587 if test x
"${MISSING+set}" != xset
; then
4590 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4592 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4595 # Use eval to expand $SHELL
4596 if eval "$MISSING --run true"; then
4597 am_missing_run
="$MISSING --run "
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4601 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4604 if test x
"${install_sh}" != xset
; then
4607 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4609 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4613 # Installed binaries are usually stripped using `strip' when the user
4614 # run `make install-strip'. However `strip' might not be the right
4615 # tool to use in cross-compilation environments, therefore Automake
4616 # will honor the `STRIP' environment variable to overrule this program.
4617 if test "$cross_compiling" != no
; then
4618 if test -n "$ac_tool_prefix"; then
4619 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4620 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4622 $as_echo_n "checking for $ac_word... " >&6; }
4623 if test "${ac_cv_prog_STRIP+set}" = set; then :
4624 $as_echo_n "(cached) " >&6
4626 if test -n "$STRIP"; then
4627 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir
=.
4634 for ac_exec_ext
in '' $ac_executable_extensions; do
4635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4636 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 STRIP
=$ac_cv_prog_STRIP
4647 if test -n "$STRIP"; then
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4649 $as_echo "$STRIP" >&6; }
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4652 $as_echo "no" >&6; }
4657 if test -z "$ac_cv_prog_STRIP"; then
4659 # Extract the first word of "strip", so it can be a program name with args.
4660 set dummy strip
; ac_word
=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$ac_ct_STRIP"; then
4667 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir
=.
4674 for ac_exec_ext
in '' $ac_executable_extensions; do
4675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4676 ac_cv_prog_ac_ct_STRIP
="strip"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4687 if test -n "$ac_ct_STRIP"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4689 $as_echo "$ac_ct_STRIP" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4695 if test "x$ac_ct_STRIP" = x
; then
4698 case $cross_compiling:$ac_tool_warned in
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4702 ac_tool_warned
=yes ;;
4707 STRIP
="$ac_cv_prog_STRIP"
4711 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4714 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4715 if test -z "$MKDIR_P"; then
4716 if test "${ac_cv_path_mkdir+set}" = set; then :
4717 $as_echo_n "(cached) " >&6
4719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4720 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4723 test -z "$as_dir" && as_dir
=.
4724 for ac_prog
in mkdir gmkdir
; do
4725 for ac_exec_ext
in '' $ac_executable_extensions; do
4726 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4727 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4728 'mkdir (GNU coreutils) '* | \
4729 'mkdir (coreutils) '* | \
4730 'mkdir (fileutils) '4.1*)
4731 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4741 if test "${ac_cv_path_mkdir+set}" = set; then
4742 MKDIR_P
="$ac_cv_path_mkdir -p"
4744 # As a last resort, use the slow shell script. Don't cache a
4745 # value for MKDIR_P within a source directory, because that will
4746 # break other packages using the cache if that directory is
4747 # removed, or if the value is a relative name.
4748 test -d .
/--version && rmdir .
/--version
4749 MKDIR_P
="$ac_install_sh -d"
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4753 $as_echo "$MKDIR_P" >&6; }
4757 [\\/$
]* | ?
:[\\/]*) ;;
4758 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4761 for ac_prog
in gawk mawk nawk
awk
4763 # Extract the first word of "$ac_prog", so it can be a program name with args.
4764 set dummy
$ac_prog; ac_word
=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if test "${ac_cv_prog_AWK+set}" = set; then :
4768 $as_echo_n "(cached) " >&6
4770 if test -n "$AWK"; then
4771 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir
=.
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780 ac_cv_prog_AWK
="$ac_prog"
4781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 if test -n "$AWK"; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4793 $as_echo "$AWK" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4800 test -n "$AWK" && break
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4804 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4806 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4807 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4808 $as_echo_n "(cached) " >&6
4810 cat >conftest.
make <<\_ACEOF
4813 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4815 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4816 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4818 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4820 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4824 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4826 $as_echo "yes" >&6; }
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4830 $as_echo "no" >&6; }
4831 SET_MAKE
="MAKE=${MAKE-make}"
4834 rm -rf .tst
2>/dev
/null
4835 mkdir .tst
2>/dev
/null
4836 if test -d .tst
; then
4841 rmdir .tst
2>/dev
/null
4843 DEPDIR
="${am__leading_dot}deps"
4845 ac_config_commands
="$ac_config_commands depfiles"
4848 am_make
=${MAKE-make}
4849 cat > confinc
<< 'END'
4851 @
echo this is the am__doit target
4854 # If we don't find an include directive, just comment out the code.
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4856 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4860 # First try GNU make style include.
4861 echo "include confinc" > confmf
4862 # Ignore all kinds of additional output from `make'.
4863 case `$am_make -s -f confmf 2> /dev/null` in #(
4864 *the\ am__doit\ target
*)
4870 # Now try BSD make style include.
4871 if test "$am__include" = "#"; then
4872 echo '.include "confinc"' > confmf
4873 case `$am_make -s -f confmf 2> /dev/null` in #(
4874 *the\ am__doit\ target
*)
4875 am__include
=.include
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4884 $as_echo "$_am_result" >&6; }
4885 rm -f confinc confmf
4887 # Check whether --enable-dependency-tracking was given.
4888 if test "${enable_dependency_tracking+set}" = set; then :
4889 enableval
=$enable_dependency_tracking;
4892 if test "x$enable_dependency_tracking" != xno
; then
4893 am_depcomp
="$ac_aux_dir/depcomp"
4896 if test "x$enable_dependency_tracking" != xno; then
4905 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4906 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4907 # is not polluted with repeated "-I."
4908 am__isrc
=' -I$(srcdir)'
4909 # test to see if srcdir already configured
4910 if test -f $srcdir/config.status
; then
4911 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4915 # test whether we have cygpath
4916 if test -z "$CYGPATH_W"; then
4917 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4918 CYGPATH_W
='cygpath -w'
4925 # Define the identity of the package.
4927 VERSION
='version-unused'
4930 cat >>confdefs.h
<<_ACEOF
4931 #define PACKAGE "$PACKAGE"
4935 cat >>confdefs.h
<<_ACEOF
4936 #define VERSION "$VERSION"
4939 # Some tools Automake needs.
4941 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4944 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4947 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4950 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4953 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4955 # We need awk for the "check" target. The system "awk" is bad on
4957 # Always define AMTAR for backward compatibility.
4959 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4961 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4966 depcc
="$CC" am_compiler_list
=
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4969 $as_echo_n "checking dependency style of $depcc... " >&6; }
4970 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4974 # We make a subdir and do the tests there. Otherwise we can end up
4975 # making bogus files that we don't know about and never remove. For
4976 # instance it was reported that on HP-UX the gcc test will end up
4977 # making a dummy file named `D' -- because `-MD' means `put the output
4980 # Copy depcomp to subdir because otherwise we won't find it if we're
4981 # using a relative directory.
4982 cp "$am_depcomp" conftest.dir
4984 # We will build objects and dependencies in a subdirectory because
4985 # it helps to detect inapplicable dependency modes. For instance
4986 # both Tru64's cc and ICC support -MD to output dependencies as a
4987 # side effect of compilation, but ICC will put the dependencies in
4988 # the current directory while Tru64 will put them in the object
4992 am_cv_CC_dependencies_compiler_type
=none
4993 if test "$am_compiler_list" = ""; then
4994 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4997 case " $depcc " in #(
4998 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5001 for depmode
in $am_compiler_list; do
5002 # Setup a source with many dependencies, because some compilers
5003 # like to wrap large dependency lists on column 80 (with \), and
5004 # we should not choose a depcomp mode which is confused by this.
5006 # We need to recreate these files for each test, as the compiler may
5007 # overwrite some of them when testing with obscure command lines.
5008 # This happens at least with the AIX C compiler.
5010 for i
in 1 2 3 4 5 6; do
5011 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5012 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5013 # Solaris 8's {/usr,}/bin/sh.
5014 touch sub
/conftst
$i.h
5016 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5018 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5019 # mode. It turns out that the SunPro C++ compiler does not properly
5020 # handle `-M -o', and we need to detect this. Also, some Intel
5021 # versions had trouble with output in subdirs
5022 am__obj
=sub
/conftest.
${OBJEXT-o}
5023 am__minus_obj
="-o $am__obj"
5026 # This depmode causes a compiler race in universal mode.
5027 test "$am__universal" = false ||
continue
5030 # after this tag, mechanisms are not by side-effect, so they'll
5031 # only be used when explicitly requested
5032 if test "x$enable_dependency_tracking" = xyes
; then
5038 msvisualcpp | msvcmsys
)
5039 # This compiler won't grok `-c -o', but also, the minuso test has
5040 # not run yet. These depmodes are late enough in the game, and
5041 # so weak that their functioning should not be impacted.
5042 am__obj
=conftest.
${OBJEXT-o}
5047 if depmode
=$depmode \
5048 source=sub
/conftest.c object
=$am__obj \
5049 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5050 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5051 >/dev
/null
2>conftest.err
&&
5052 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5053 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5054 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5055 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5056 # icc doesn't choke on unknown options, it will just issue warnings
5057 # or remarks (even with -Werror). So we grep stderr for any message
5058 # that says an option was ignored or not supported.
5059 # When given -MP, icc 7.0 and 7.1 complain thusly:
5060 # icc: Command line warning: ignoring option '-M'; no argument required
5061 # The diagnosis changed in icc 8.0:
5062 # icc: Command line remark: option '-MP' not supported
5063 if (grep 'ignoring option' conftest.err ||
5064 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5065 am_cv_CC_dependencies_compiler_type
=$depmode
5074 am_cv_CC_dependencies_compiler_type
=none
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5079 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5080 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5083 test "x$enable_dependency_tracking" != xno \
5084 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5086 am__fastdepCC_FALSE
='#'
5088 am__fastdepCC_TRUE
='#'
5089 am__fastdepCC_FALSE
=
5093 depcc
="$CXX" am_compiler_list
=
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5096 $as_echo_n "checking dependency style of $depcc... " >&6; }
5097 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5101 # We make a subdir and do the tests there. Otherwise we can end up
5102 # making bogus files that we don't know about and never remove. For
5103 # instance it was reported that on HP-UX the gcc test will end up
5104 # making a dummy file named `D' -- because `-MD' means `put the output
5107 # Copy depcomp to subdir because otherwise we won't find it if we're
5108 # using a relative directory.
5109 cp "$am_depcomp" conftest.dir
5111 # We will build objects and dependencies in a subdirectory because
5112 # it helps to detect inapplicable dependency modes. For instance
5113 # both Tru64's cc and ICC support -MD to output dependencies as a
5114 # side effect of compilation, but ICC will put the dependencies in
5115 # the current directory while Tru64 will put them in the object
5119 am_cv_CXX_dependencies_compiler_type
=none
5120 if test "$am_compiler_list" = ""; then
5121 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5124 case " $depcc " in #(
5125 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
5128 for depmode
in $am_compiler_list; do
5129 # Setup a source with many dependencies, because some compilers
5130 # like to wrap large dependency lists on column 80 (with \), and
5131 # we should not choose a depcomp mode which is confused by this.
5133 # We need to recreate these files for each test, as the compiler may
5134 # overwrite some of them when testing with obscure command lines.
5135 # This happens at least with the AIX C compiler.
5137 for i
in 1 2 3 4 5 6; do
5138 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5139 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5140 # Solaris 8's {/usr,}/bin/sh.
5141 touch sub
/conftst
$i.h
5143 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5145 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5146 # mode. It turns out that the SunPro C++ compiler does not properly
5147 # handle `-M -o', and we need to detect this. Also, some Intel
5148 # versions had trouble with output in subdirs
5149 am__obj
=sub
/conftest.
${OBJEXT-o}
5150 am__minus_obj
="-o $am__obj"
5153 # This depmode causes a compiler race in universal mode.
5154 test "$am__universal" = false ||
continue
5157 # after this tag, mechanisms are not by side-effect, so they'll
5158 # only be used when explicitly requested
5159 if test "x$enable_dependency_tracking" = xyes
; then
5165 msvisualcpp | msvcmsys
)
5166 # This compiler won't grok `-c -o', but also, the minuso test has
5167 # not run yet. These depmodes are late enough in the game, and
5168 # so weak that their functioning should not be impacted.
5169 am__obj
=conftest.
${OBJEXT-o}
5174 if depmode
=$depmode \
5175 source=sub
/conftest.c object
=$am__obj \
5176 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5177 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5178 >/dev
/null
2>conftest.err
&&
5179 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5180 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5181 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5182 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5183 # icc doesn't choke on unknown options, it will just issue warnings
5184 # or remarks (even with -Werror). So we grep stderr for any message
5185 # that says an option was ignored or not supported.
5186 # When given -MP, icc 7.0 and 7.1 complain thusly:
5187 # icc: Command line warning: ignoring option '-M'; no argument required
5188 # The diagnosis changed in icc 8.0:
5189 # icc: Command line remark: option '-MP' not supported
5190 if (grep 'ignoring option' conftest.err ||
5191 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5192 am_cv_CXX_dependencies_compiler_type
=$depmode
5201 am_cv_CXX_dependencies_compiler_type
=none
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5206 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5207 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5210 test "x$enable_dependency_tracking" != xno \
5211 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5212 am__fastdepCXX_TRUE
=
5213 am__fastdepCXX_FALSE
='#'
5215 am__fastdepCXX_TRUE
='#'
5216 am__fastdepCXX_FALSE
=
5222 if test -n "$ac_tool_prefix"; then
5223 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5224 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if test "${ac_cv_prog_AS+set}" = set; then :
5228 $as_echo_n "(cached) " >&6
5230 if test -n "$AS"; then
5231 ac_cv_prog_AS
="$AS" # Let the user override the test.
5233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir
=.
5238 for ac_exec_ext
in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_AS
="${ac_tool_prefix}as"
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 if test -n "$AS"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5253 $as_echo "$AS" >&6; }
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5261 if test -z "$ac_cv_prog_AS"; then
5263 # Extract the first word of "as", so it can be a program name with args.
5264 set dummy as
; ac_word
=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5268 $as_echo_n "(cached) " >&6
5270 if test -n "$ac_ct_AS"; then
5271 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5280 ac_cv_prog_ac_ct_AS
="as"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5291 if test -n "$ac_ct_AS"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5293 $as_echo "$ac_ct_AS" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5299 if test "x$ac_ct_AS" = x
; then
5302 case $cross_compiling:$ac_tool_warned in
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5306 ac_tool_warned
=yes ;;
5314 if test -n "$ac_tool_prefix"; then
5315 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5316 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318 $as_echo_n "checking for $ac_word... " >&6; }
5319 if test "${ac_cv_prog_LD+set}" = set; then :
5320 $as_echo_n "(cached) " >&6
5322 if test -n "$LD"; then
5323 ac_cv_prog_LD
="$LD" # Let the user override the test.
5325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5329 test -z "$as_dir" && as_dir
=.
5330 for ac_exec_ext
in '' $ac_executable_extensions; do
5331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5332 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5343 if test -n "$LD"; then
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5345 $as_echo "$LD" >&6; }
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5353 if test -z "$ac_cv_prog_LD"; then
5355 # Extract the first word of "ld", so it can be a program name with args.
5356 set dummy ld
; ac_word
=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -n "$ac_ct_LD"; then
5363 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5369 test -z "$as_dir" && as_dir
=.
5370 for ac_exec_ext
in '' $ac_executable_extensions; do
5371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5372 ac_cv_prog_ac_ct_LD
="ld"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5382 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5383 if test -n "$ac_ct_LD"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5385 $as_echo "$ac_ct_LD" >&6; }
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5391 if test "x$ac_ct_LD" = x
; then
5394 case $cross_compiling:$ac_tool_warned in
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5398 ac_tool_warned
=yes ;;
5406 if test -n "$ac_tool_prefix"; then
5407 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5408 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if test "${ac_cv_prog_AR+set}" = set; then :
5412 $as_echo_n "(cached) " >&6
5414 if test -n "$AR"; then
5415 ac_cv_prog_AR
="$AR" # Let the user override the test.
5417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5421 test -z "$as_dir" && as_dir
=.
5422 for ac_exec_ext
in '' $ac_executable_extensions; do
5423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 if test -n "$AR"; then
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5437 $as_echo "$AR" >&6; }
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440 $as_echo "no" >&6; }
5445 if test -z "$ac_cv_prog_AR"; then
5447 # Extract the first word of "ar", so it can be a program name with args.
5448 set dummy
ar; ac_word
=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5452 $as_echo_n "(cached) " >&6
5454 if test -n "$ac_ct_AR"; then
5455 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir
=.
5462 for ac_exec_ext
in '' $ac_executable_extensions; do
5463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5464 ac_cv_prog_ac_ct_AR
="ar"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5474 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5475 if test -n "$ac_ct_AR"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5477 $as_echo "$ac_ct_AR" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5483 if test "x$ac_ct_AR" = x
; then
5486 case $cross_compiling:$ac_tool_warned in
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5490 ac_tool_warned
=yes ;;
5498 if test -n "$ac_tool_prefix"; then
5499 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5500 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5504 $as_echo_n "(cached) " >&6
5506 if test -n "$RANLIB"; then
5507 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5513 test -z "$as_dir" && as_dir
=.
5514 for ac_exec_ext
in '' $ac_executable_extensions; do
5515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5516 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5526 RANLIB
=$ac_cv_prog_RANLIB
5527 if test -n "$RANLIB"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5529 $as_echo "$RANLIB" >&6; }
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5537 if test -z "$ac_cv_prog_RANLIB"; then
5538 ac_ct_RANLIB
=$RANLIB
5539 # Extract the first word of "ranlib", so it can be a program name with args.
5540 set dummy ranlib
; ac_word
=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5544 $as_echo_n "(cached) " >&6
5546 if test -n "$ac_ct_RANLIB"; then
5547 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5553 test -z "$as_dir" && as_dir
=.
5554 for ac_exec_ext
in '' $ac_executable_extensions; do
5555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5566 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5567 if test -n "$ac_ct_RANLIB"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5569 $as_echo "$ac_ct_RANLIB" >&6; }
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5575 if test "x$ac_ct_RANLIB" = x
; then
5578 case $cross_compiling:$ac_tool_warned in
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5582 ac_tool_warned
=yes ;;
5584 RANLIB
=$ac_ct_RANLIB
5587 RANLIB
="$ac_cv_prog_RANLIB"
5590 if test -n "$ac_tool_prefix"; then
5591 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5592 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5596 $as_echo_n "(cached) " >&6
5598 if test -n "$DLLTOOL"; then
5599 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5605 test -z "$as_dir" && as_dir
=.
5606 for ac_exec_ext
in '' $ac_executable_extensions; do
5607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5608 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5618 DLLTOOL
=$ac_cv_prog_DLLTOOL
5619 if test -n "$DLLTOOL"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5621 $as_echo "$DLLTOOL" >&6; }
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5629 if test -z "$ac_cv_prog_DLLTOOL"; then
5630 ac_ct_DLLTOOL
=$DLLTOOL
5631 # Extract the first word of "dlltool", so it can be a program name with args.
5632 set dummy dlltool
; ac_word
=$2
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5634 $as_echo_n "checking for $ac_word... " >&6; }
5635 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5636 $as_echo_n "(cached) " >&6
5638 if test -n "$ac_ct_DLLTOOL"; then
5639 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5645 test -z "$as_dir" && as_dir
=.
5646 for ac_exec_ext
in '' $ac_executable_extensions; do
5647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5648 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5658 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5659 if test -n "$ac_ct_DLLTOOL"; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5661 $as_echo "$ac_ct_DLLTOOL" >&6; }
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5664 $as_echo "no" >&6; }
5667 if test "x$ac_ct_DLLTOOL" = x
; then
5670 case $cross_compiling:$ac_tool_warned in
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5674 ac_tool_warned
=yes ;;
5676 DLLTOOL
=$ac_ct_DLLTOOL
5679 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5682 for ac_prog
in gawk mawk nawk
awk
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy
$ac_prog; ac_word
=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if test "${ac_cv_prog_AWK+set}" = set; then :
5689 $as_echo_n "(cached) " >&6
5691 if test -n "$AWK"; then
5692 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir
=.
5699 for ac_exec_ext
in '' $ac_executable_extensions; do
5700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5701 ac_cv_prog_AWK
="$ac_prog"
5702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 if test -n "$AWK"; then
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5714 $as_echo "$AWK" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }
5721 test -n "$AWK" && break
5724 for ac_prog
in jar fastjar gjar
5726 # Extract the first word of "$ac_prog", so it can be a program name with args.
5727 set dummy
$ac_prog; ac_word
=$2
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5729 $as_echo_n "checking for $ac_word... " >&6; }
5730 if test "${ac_cv_prog_JAR+set}" = set; then :
5731 $as_echo_n "(cached) " >&6
5733 if test -n "$JAR"; then
5734 ac_cv_prog_JAR
="$JAR" # Let the user override the test.
5736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5740 test -z "$as_dir" && as_dir
=.
5741 for ac_exec_ext
in '' $ac_executable_extensions; do
5742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5743 ac_cv_prog_JAR
="$ac_prog"
5744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 if test -n "$JAR"; then
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAR" >&5
5756 $as_echo "$JAR" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5759 $as_echo "no" >&6; }
5763 test -n "$JAR" && break
5765 test -n "$JAR" || JAR
="no"
5767 # Extract the first word of "zip", so it can be a program name with args.
5768 set dummy
zip; ac_word
=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if test "${ac_cv_path_ZIP+set}" = set; then :
5772 $as_echo_n "(cached) " >&6
5776 ac_cv_path_ZIP
="$ZIP" # Let the user override the test with a path.
5779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir
=.
5784 for ac_exec_ext
in '' $ac_executable_extensions; do
5785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5786 ac_cv_path_ZIP
="$as_dir/$ac_word$ac_exec_ext"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 test -z "$ac_cv_path_ZIP" && ac_cv_path_ZIP
="no"
5799 if test -n "$ZIP"; then
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
5801 $as_echo "$ZIP" >&6; }
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5804 $as_echo "no" >&6; }
5808 # Extract the first word of "unzip", so it can be a program name with args.
5809 set dummy
unzip; ac_word
=$2
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5811 $as_echo_n "checking for $ac_word... " >&6; }
5812 if test "${ac_cv_path_UNZIP+set}" = set; then :
5813 $as_echo_n "(cached) " >&6
5817 ac_cv_path_UNZIP
="$UNZIP" # Let the user override the test with a path.
5820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir
=.
5825 for ac_exec_ext
in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_path_UNZIP
="$as_dir/$ac_word$ac_exec_ext"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 test -z "$ac_cv_path_UNZIP" && ac_cv_path_UNZIP
="unzip"
5839 UNZIP
=$ac_cv_path_UNZIP
5840 if test -n "$UNZIP"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZIP" >&5
5842 $as_echo "$UNZIP" >&6; }
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5850 # We need a jar that supports -@. This is a GNU extension.
5851 if test "$JAR" != no
; then
5852 rm -f config-test.jar
5853 echo $srcdir/configure.ac |
$JAR -cf@ config-test.jar
>/dev
/null
2>&1
5854 if test -f config-test.jar
; then
5855 rm -f config-test.jar
5861 # Prefer the jar we found, but fall back to our jar script.
5862 if test "$JAR" = no
; then
5863 if test "$ZIP" = no
; then
5864 as_fn_error
"cannot find neither zip nor jar, cannot continue" "$LINENO" 5
5866 # InfoZIP available, use the 'guaranteed' Bourne-shell JAR to build libjava
5867 JAR
=`pwd`/scripts
/jar
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5875 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5876 # Check whether --enable-maintainer-mode was given.
5877 if test "${enable_maintainer_mode+set}" = set; then :
5878 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5880 USE_MAINTAINER_MODE
=no
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5884 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5885 if test $USE_MAINTAINER_MODE = yes; then
5886 MAINTAINER_MODE_TRUE
=
5887 MAINTAINER_MODE_FALSE
='#'
5889 MAINTAINER_MODE_TRUE
='#'
5890 MAINTAINER_MODE_FALSE
=
5893 MAINT
=$MAINTAINER_MODE_TRUE
5899 # configure.host sets the following important variables
5900 # libgcj_cflags - host specific C compiler flags
5901 # libgcj_cxxflags - host specific C++ compiler flags
5902 # libgcj_javaflags - host specific Java compiler flags
5903 # libgcj_sublib_ltflags - host specific Libtool flags
5904 # libgcj_sublib_core_extra_deps - host specific extra
5905 # dependencies for core sublib
5906 # (these last two only used when building sublibs)
5907 # and a number of others; see the list at the start of the file.
5912 libgcj_sublib_ltflags
=
5913 libgcj_sublib_core_extra_deps
=
5915 .
${srcdir}/configure.
host
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5918 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5919 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
5920 $as_echo_n "(cached) " >&6
5922 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5923 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
5924 acl_cv_prog_gnu_ld
=yes
5926 acl_cv_prog_gnu_ld
=no
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
5930 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
5931 with_gnu_ld
=$acl_cv_prog_gnu_ld
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the GNU linker ($LD) supports -Bsymbolic-functions" >&5
5934 $as_echo_n "checking if the GNU linker ($LD) supports -Bsymbolic-functions... " >&6; }
5935 if test "${acl_cv_prog_gnu_ld_symbolic+set}" = set; then :
5936 $as_echo_n "(cached) " >&6
5939 acl_cv_prog_gnu_ld_symbolic
=no
5941 if test x
"$with_gnu_ld" = x
"yes"; then
5942 if $LD --help 2>&1 </dev
/null |
grep Bsymbolic-functions
1>&5; then
5943 acl_cv_prog_gnu_ld_symbolic
=yes
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld_symbolic" >&5
5948 $as_echo "$acl_cv_prog_gnu_ld_symbolic" >&6; }
5949 if test x
"$acl_cv_prog_gnu_ld_symbolic" = x
"yes"; then
5950 SYMBOLIC_LDFLAGS
="-Wl,-Bsymbolic-functions"
5955 libgcj_ld_symbolic_functions
=$SYMBOLIC_LDFLAGS
5956 if test -z "$libgcj_ld_symbolic"; then
5957 libgcj_ld_symbolic
=$SYMBOLIC_LDFLAGS
5960 # for windows native targets enforce export of all symbols for shared libgcj.
5961 libgcj_ld_export_all
=
5964 libgcj_ld_export_all
=-Wl,--export-all-symbols
5970 LIBGCJ_CFLAGS
="${libgcj_cflags}"
5971 LIBGCJ_CXXFLAGS
="${libgcj_cxxflags}"
5972 LIBGCJ_JAVAFLAGS
="${libgcj_javaflags}"
5973 LIBGCJ_SUBLIB_LTFLAGS
="${libgcj_sublib_ltflags}"
5974 LIBGCJ_SUBLIB_CORE_EXTRA_DEPS
="${libgcj_sublib_core_extra_deps}"
5975 LIBGCJ_LD_SYMBOLIC
="${libgcj_ld_symbolic}"
5976 LIBGCJ_LD_SYMBOLIC_FUNCTIONS
="${libgcj_ld_symbolic_functions}"
5977 LIBGCJ_LD_EXPORT_ALL
="${libgcj_ld_export_all}"
5987 # Only use libltdl for non-newlib builds.
5988 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
5990 $as_echo_n "checking dynamic linker characteristics... " >&6; }
5992 libname_spec
='lib$name'
6000 shlibpath_overrides_runpath
=unknown
6002 dynamic_linker
="$host_os ld.so"
6003 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
6004 if test "$GCC" = yes; then
6005 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6006 if echo "$sys_lib_search_path_spec" |
grep ';' >/dev
/null
; then
6007 # if the path contains ";" then we assume it to be the separator
6008 # otherwise default to the standard path separator (i.e. ":") - it is
6009 # assumed that no part of a normal pathname contains ";" but that should
6010 # okay in the real world where ";" in dirpaths is itself problematic.
6011 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6013 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6016 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
6018 need_lib_prefix
=unknown
6019 hardcode_into_libs
=no
6021 # when you set need_version to no, make sure it does not cause -set_version
6022 # flags to be left without arguments
6023 need_version
=unknown
6028 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
6029 shlibpath_var
=LIBPATH
6031 # AIX 3 has no versioning support, so we append a major version to the name.
6032 soname_spec
='${libname}${release}${shared_ext}$major'
6039 hardcode_into_libs
=yes
6040 if test "$host_cpu" = ia64
; then
6041 # AIX 5 supports IA64
6042 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
6043 shlibpath_var
=LD_LIBRARY_PATH
6045 # With GCC up to 2.95.x, collect2 would create an import file
6046 # for dependence libraries. The import file would start with
6047 # the line `#! .'. This would cause the generated library to
6048 # depend on `.', always an invalid library. This was fixed in
6049 # development snapshots of GCC prior to 3.0.
6051 aix4 | aix4.
[01] | aix4.
[01].
*)
6052 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6054 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
6061 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
6062 # soname into executable. Probably we can add versioning support to
6063 # collect2, so additional links can be useful in future.
6064 if test "$aix_use_runtimelinking" = yes; then
6065 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6066 # instead of lib<name>.a to let people know that these are not
6067 # typical AIX shared libraries.
6068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6070 # We preserve .a as extension for shared libraries through AIX4.2
6071 # and later when we are not doing run time linking.
6072 library_names_spec
='${libname}${release}.a $libname.a'
6073 soname_spec
='${libname}${release}${shared_ext}$major'
6075 shlibpath_var
=LIBPATH
6080 library_names_spec
='$libname.ixlibrary $libname.a'
6081 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6082 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'
6086 library_names_spec
='${libname}${shared_ext}'
6087 dynamic_linker
="$host_os ld.so"
6088 shlibpath_var
=LIBRARY_PATH
6094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6095 soname_spec
='${libname}${release}${shared_ext}$major'
6096 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
6097 shlibpath_var
=LD_LIBRARY_PATH
6098 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6099 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
6100 # the default ld.so.conf also contains /usr/contrib/lib and
6101 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6102 # libtool to hard-code these into programs
6105 cygwin
* | mingw
* | pw32
*)
6106 version_type
=windows
6111 case $GCC,$host_os in
6112 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
6113 library_names_spec
='$libname.dll.a'
6114 # DLL is installed to $(libdir)/../bin by postinstall_cmds
6115 postinstall_cmds
='base_file=`basename \${file}`~
6116 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
6117 dldir=$destdir/`dirname \$dlpath`~
6118 test -d \$dldir || mkdir -p \$dldir~
6119 $install_prog $dir/$dlname \$dldir/$dlname'
6120 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
6121 dlpath=$dir/\$dldll~
6123 shlibpath_overrides_runpath
=yes
6127 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
6128 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6129 sys_lib_search_path_spec
="/lib /lib/w32api /usr/lib /usr/local/lib"
6132 # MinGW DLLs use traditional 'lib' prefix
6133 soname_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext}'
6134 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g"`
6135 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
6136 # It is most probably a Windows format PATH printed by
6137 # mingw gcc, but we are running on Cygwin. Gcc prints its search
6138 # path with ; separators, and with drive letters. We can handle the
6139 # drive letters (cygwin fileutils understands them), so leave them,
6140 # especially as we might pass files found there to a mingw objdump,
6141 # which wouldn't understand a cygwinified path. Ahh.
6142 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
6144 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | sed -e "s/$PATH_SEPARATOR/ /g"`
6148 # pw32 DLLs use 'pw' prefix rather than 'lib'
6149 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}${shared_ext}'
6155 library_names_spec
='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
6158 dynamic_linker
='Win32 ld.exe'
6159 # FIXME: first we should search . and the directory the executable is in
6163 darwin
* | rhapsody
*)
6164 dynamic_linker
="$host_os dyld"
6168 # FIXME: Relying on posixy $() will cause problems for
6169 # cross-compilation, but unfortunately the echo tests do not
6170 # yet detect zsh echo's removal of \ escapes.
6171 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
6172 soname_spec
='${libname}${release}${major}$shared_ext'
6173 shlibpath_overrides_runpath
=yes
6174 shlibpath_var
=DYLD_LIBRARY_PATH
6175 shrext
='$(test .$module = .yes && echo .so || echo .dylib)'
6176 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
6177 if $CC -v 2>&1 |
grep 'Apple' >/dev
/null
; then
6178 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"`
6180 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
6187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
6188 soname_spec
='${libname}${release}${shared_ext}$major'
6189 shlibpath_var
=LD_LIBRARY_PATH
6193 objformat
=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6194 version_type
=freebsd-
$objformat
6195 case $version_type in
6197 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
6202 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
6206 shlibpath_var
=LD_LIBRARY_PATH
6209 shlibpath_overrides_runpath
=yes
6211 freebsd3.01
* | freebsdelf3.01
*)
6212 shlibpath_overrides_runpath
=yes
6213 hardcode_into_libs
=yes
6216 shlibpath_overrides_runpath
=no
6217 hardcode_into_libs
=yes
6226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
6227 soname_spec
='${libname}${release}${shared_ext}$major'
6228 shlibpath_var
=LD_LIBRARY_PATH
6229 hardcode_into_libs
=yes
6232 hpux9
* | hpux10
* | hpux11
*)
6233 # Give a soname corresponding to the major version so that dld.sl refuses to
6234 # link against other versions.
6241 hardcode_into_libs
=yes
6242 dynamic_linker
="$host_os dld.so"
6243 shlibpath_var
=LD_LIBRARY_PATH
6244 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6246 soname_spec
='${libname}${release}${shared_ext}$major'
6247 if test "X$HPUX_IA64_MODE" = X32
; then
6248 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
6250 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
6252 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6256 hardcode_into_libs
=yes
6257 dynamic_linker
="$host_os dld.sl"
6258 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
6259 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
6260 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6261 soname_spec
='${libname}${release}${shared_ext}$major'
6262 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
6263 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
6267 dynamic_linker
="$host_os dld.sl"
6268 shlibpath_var
=SHLIB_PATH
6269 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
6270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6271 soname_spec
='${libname}${release}${shared_ext}$major'
6274 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6275 postinstall_cmds
='chmod 555 $lib'
6278 irix5
* | irix6
* | nonstopux
*)
6280 nonstopux
*) version_type
=nonstopux
;;
6282 if test "$lt_cv_prog_gnu_ld" = yes; then
6290 soname_spec
='${libname}${release}${shared_ext}$major'
6291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
6293 irix5
* | nonstopux
*)
6297 case $LD in # libtool.m4 will add one of these switches to LD
6298 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
6299 libsuff
= shlibsuff
= libmagic
=32-bit;;
6300 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
6301 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
6302 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
6303 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
6304 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
6308 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
6309 shlibpath_overrides_runpath
=no
6310 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6311 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
6312 hardcode_into_libs
=yes
6315 # No shared lib support for Linux oldld, aout, or coff.
6316 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
6320 # This must be Linux ELF.
6325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6326 soname_spec
='${libname}${release}${shared_ext}$major'
6327 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6328 shlibpath_var
=LD_LIBRARY_PATH
6329 shlibpath_overrides_runpath
=no
6330 # This implies no fast_install, which is unacceptable.
6331 # Some rework will be needed to allow for fast_install
6332 # before this can be enabled.
6333 hardcode_into_libs
=yes
6335 # We used to test for /lib/ld.so.1 and disable shared libraries on
6336 # powerpc, because MkLinux only supported shared libraries with the
6337 # GNU dynamic linker. Since this was broken with cross compilers,
6338 # most powerpc-linux boxes support dynamic linking these days and
6339 # people can always --disable-shared, the test was removed, and we
6340 # assume the GNU/Linux dynamic linker is in use.
6341 dynamic_linker
='GNU/Linux ld.so'
6348 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
6349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6350 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6351 dynamic_linker
='NetBSD (a.out) ld.so'
6353 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
6354 soname_spec
='${libname}${release}${shared_ext}$major'
6355 dynamic_linker
='NetBSD ld.elf_so'
6357 shlibpath_var
=LD_LIBRARY_PATH
6358 shlibpath_overrides_runpath
=yes
6359 hardcode_into_libs
=yes
6364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6365 shlibpath_var
=LD_LIBRARY_PATH
6366 shlibpath_overrides_runpath
=yes
6373 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6374 soname_spec
='${libname}${release}${shared_ext}$major'
6375 shlibpath_var
=LD_LIBRARY_PATH
6376 shlibpath_overrides_runpath
=yes
6383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6384 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6385 shlibpath_var
=LD_LIBRARY_PATH
6386 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6388 openbsd2.
[89] | openbsd2.
[89].
*)
6389 shlibpath_overrides_runpath
=no
6392 shlibpath_overrides_runpath
=yes
6396 shlibpath_overrides_runpath
=yes
6401 libname_spec
='$name'
6404 library_names_spec
='$libname${shared_ext} $libname.a'
6405 dynamic_linker
='OS/2 ld.exe'
6406 shlibpath_var
=LIBPATH
6409 osf3
* | osf4
* | osf5
*)
6413 soname_spec
='${libname}${release}${shared_ext}$major'
6414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6415 shlibpath_var
=LD_LIBRARY_PATH
6416 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6417 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
6422 soname_spec
='${libname}${release}${shared_ext}$major'
6423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6424 shlibpath_var
=LD_LIBRARY_PATH
6431 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6432 soname_spec
='${libname}${release}${shared_ext}$major'
6433 shlibpath_var
=LD_LIBRARY_PATH
6434 shlibpath_overrides_runpath
=yes
6435 hardcode_into_libs
=yes
6436 # ldd complains unless libraries are executable
6437 postinstall_cmds
='chmod +x $lib'
6442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
6443 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6444 shlibpath_var
=LD_LIBRARY_PATH
6445 shlibpath_overrides_runpath
=yes
6446 if test "$with_gnu_ld" = yes; then
6452 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
6454 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6455 soname_spec
='${libname}${release}${shared_ext}$major'
6456 shlibpath_var
=LD_LIBRARY_PATH
6457 case $host_vendor in
6459 shlibpath_overrides_runpath
=no
6461 export_dynamic_flag_spec
='${wl}-Blargedynsym'
6462 runpath_var
=LD_RUN_PATH
6470 shlibpath_overrides_runpath
=no
6471 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
6477 if test -d /usr
/nec
;then
6479 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
6480 soname_spec
='$libname${shared_ext}.$major'
6481 shlibpath_var
=LD_LIBRARY_PATH
6487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
6488 soname_spec
='${libname}${release}${shared_ext}$major'
6489 shlibpath_var
=LD_LIBRARY_PATH
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
6497 $as_echo "$dynamic_linker" >&6; }
6498 test "$dynamic_linker" = no
&& can_build_shared
=no
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time library path" >&5
6502 $as_echo_n "checking which variable specifies run-time library path... " >&6; }
6503 if test "${libltdl_cv_shlibpath_var+set}" = set; then :
6504 $as_echo_n "(cached) " >&6
6506 libltdl_cv_shlibpath_var
="$shlibpath_var"
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibpath_var" >&5
6509 $as_echo "$libltdl_cv_shlibpath_var" >&6; }
6510 if test -n "$libltdl_cv_shlibpath_var"; then
6512 cat >>confdefs.h
<<_ACEOF
6513 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
6520 ac_config_headers
="$ac_config_headers include/config.h gcj/libgcj-config.h"
6523 # Possibly build libgcj as many sub-libraries.
6524 # Check whether --enable-libgcj-sublibs was given.
6525 if test "${enable_libgcj_sublibs+set}" = set; then :
6526 enableval
=$enable_libgcj_sublibs;
6530 if test -z "$enable_libgcj_sublibs"; then
6531 enable_libgcj_sublibs
=$enable_libgcj_sublibs_default
6533 if test "$enable_libgcj_sublibs" = yes; then
6535 BUILD_SUBLIBS_FALSE
='#'
6537 BUILD_SUBLIBS_TRUE
='#'
6538 BUILD_SUBLIBS_FALSE
=
6541 if test "$enable_libgcj_sublibs" = yes ; then
6542 # In theory we could make do with only one override and simply
6543 # tag "_bc" onto the end of it when we use it to generate the
6544 # spec, but that's an ugly thing to do when there are multiple
6545 # words in the string and you're relying on the ordering to
6546 # append the correct one.
6547 libgcj_spec_lgcj_override
="-lgcj-noncore -lgcj"
6548 libgcj_spec_lgcj_bc_override
="-lgcj-noncore -lgcj_bc"
6552 # See if the user has requested runtime debugging.
6553 LIBGCJDEBUG
="disable"
6555 # Check whether --enable-libgcj-debug was given.
6556 if test "${enable_libgcj_debug+set}" = set; then :
6557 enableval
=$enable_libgcj_debug; if test "$enable_libgcj_debug" = yes; then
6559 $as_echo "#define __GCJ_DEBUG 1" >>confdefs.h
6561 LIBGCJDEBUG
="enable"
6567 # Check whether --with-escher was given.
6568 if test "${with_escher+set}" = set; then :
6569 withval
=$with_escher;
6572 case "$with_escher" in
6580 as_fn_error
"Please supply an absolute path to Escher library" "$LINENO" 5
6587 # Determine which AWT peer libraries to build
6588 # Check whether --enable-java-awt was given.
6589 if test "${enable_java_awt+set}" = set; then :
6590 enableval
=$enable_java_awt;
6594 peerlibs
="`echo ${enable_java_awt} | tr ',' ' '`"
6599 # The default toolkit to use is the first one specified.
6603 for peer
in $peerlibs ; do
6606 if test "$no_x" = yes; then
6607 echo "*** xlib peers requested but no X library available" 1>&2
6611 if test -z "$TOOLKIT"; then
6612 TOOLKIT
=gnu.awt.xlib.XToolkit
6617 if test "$no_x" = yes; then
6618 echo "*** gtk peers requested but no X library available" 1>&2
6622 if test -z "$TOOLKIT"; then
6623 TOOLKIT
=gnu.java.awt.peer.gtk.GtkToolkit
6628 if test "$no_x" = yes; then
6629 # Perhaps we should admit the possibility of embedded Qt.
6630 echo "*** Qt peers requested but no X library available" 1>&2
6634 if test -z "$TOOLKIT"; then
6635 TOOLKIT
=gnu.java.awt.peer.qt.QtToolkit
6641 if test -z "$TOOLKIT"; then
6642 TOOLKIT
=gnu.java.awt.peer.x.XToolkit
6653 echo "*** unrecognised argument \"${peer}\" for --enable-java-awt" 1>&2
6658 if test "$use_xlib_awt" = yes; then
6666 if test "$use_x_awt" = yes; then
6676 cat >>confdefs.h
<<_ACEOF
6677 #define AWT_TOOLKIT "$TOOLKIT"
6681 expanded_prefix
=$prefix
6682 if test "X$prefix" = XNONE
; then
6683 expanded_prefix
=${ac_default_prefix}
6687 cat >>confdefs.h
<<_ACEOF
6688 #define LIBGCJ_PREFIX "$expanded_prefix"
6692 # Create standard.omit based on decisions we just made.
6693 cp $srcdir/standard.omit.
in standard.omit
6694 if test "$use_xlib_awt" != yes; then
6695 echo gnu
/awt
/xlib
>> standard.omit
6696 echo gnu
/gcj
/xlib
>> standard.omit
6698 if test "$use_x_awt" != yes; then
6699 echo gnu
/java
/awt
/peer
/x
>> standard.omit
6702 # Tools that need to be compiled against classpath's tools classes
6703 : > vm-tools-packages
6704 for package
in gnu
/gcj
/tools
/gc_analyze
; do
6705 echo $package >> standard.omit
6706 echo $package >> vm-tools-packages
6709 if test -z "${with_multisubdir}"; then
6712 builddotdot
=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`
6717 # Which gcj and host gcj (for ecjx) do we use?
6719 host_exeext
=${ac_exeext}
6720 GCJ_FOR_ECJX
='$(GCJ)'
6721 GCC_FOR_ECJX
='$(CXX)'
6722 built_gcc_dir
="`cd ${builddotdot}/../../${host_subdir}/gcc && ${PWDCMD-pwd}`"
6723 if test -n "${with_cross_host}"; then
6724 # We are being configured with a cross compiler. We can't
6725 # use ac_exeext, because that is for the target platform.
6728 GCJ_FOR_ECJX
="${with_cross_host}-gcj"
6729 GCC_FOR_ECJX
="${with_cross_host}-gcc"
6730 case "${with_cross_host}" in
6732 cross_host_exeext
=.exe
6735 host_exeext
=${cross_host_exeext}
6736 if test -x "${built_gcc_dir}/gcj${cross_host_exeext}"; then
6737 if test x
"$build_noncanonical" = x
"$with_cross_host"; then
6738 # Ordinary cross (host!=target and host=build)
6741 # Canadian cross (host!=target and host!=build)
6748 # We are being configured with a native or crossed-native compiler
6749 if test -x "${built_gcc_dir}/gcj${ac_exeext}"; then
6750 if test x
"$build" = x
"$host"; then
6751 # True native build (host=target and host=build)
6754 # Crossed-native build (host=target and host!=build)
6761 libgcjdir
=`${PWDCMD-pwd}`
6764 # Just in case there is a comma in the build dir, quote it for the
6765 # sed command below.
6767 *[,\\]*) qlibgcjdir
=`echo "$libgcjdir" | sed 's:[,\\]:\\&:g'`;;
6768 *) qlibgcjdir
=$libgcjdir;;
6770 GCJ
=`echo "$GCJ" | sed "s, -B, -B$qlibgcjdir/&,"`
6773 GCJ
=$GCJ" -B$libgcjdir/"
6776 case "${which_gcj}" in
6778 GCJH
='$(top_builddir)/$(MULTIBUILDTOP)../../$(host_subdir)/gcc/gcjh'
6781 if test "x${with_newlib}" = "xyes"; then
6782 # FIXME (comment): Why is this needed?
6783 LIBGCC_UNWIND_INCLUDE
=
6785 GCJH
='$(target_noncanonical)-gcjh'
6799 # Create it, so that compile/link tests don't fail
6800 test -f libgcj.spec ||
touch libgcj.spec
6804 # Set up to configure Classpath.
6805 # FIXME: no supported way to pass args in autoconf.
6806 # Disable tool wrappers to avoid ltdl.h configure check.
6807 ac_configure_args
="$ac_configure_args --disable-tool-wrappers"
6808 ac_configure_args
="$ac_configure_args --disable-load-library"
6809 ac_configure_args
="$ac_configure_args --${LIBGCJDEBUG}-debug"
6810 ac_configure_args
="$ac_configure_args --enable-default-toolkit=$TOOLKIT"
6811 dir1
=`cd $srcdir && pwd`
6813 ac_configure_args
="$ac_configure_args --with-vm-classes=$dir1:$dir2"
6814 ac_configure_args
="$ac_configure_args --disable-core-jni"
6815 ac_configure_args
="$ac_configure_args --disable-examples"
6816 ac_configure_args
="$ac_configure_args --with-glibj=build"
6817 if test "$browser_plugin_enabled" != yes; then
6818 ac_configure_args
="$ac_configure_args --disable-plugin"
6820 ac_configure_args
="$ac_configure_args --enable-plugin"
6822 if test "$gconf_enabled" != yes; then
6823 ac_configure_args
="$ac_configure_args --disable-gconf-peer"
6824 ac_configure_args
="$ac_configure_args --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory"
6826 if test "$use_gtk_awt" != yes; then
6827 ac_configure_args
="$ac_configure_args --disable-gtk-peer --disable-plugin"
6829 if test "$use_qt_awt" != yes; then
6830 ac_configure_args
="$ac_configure_args --disable-qt-peer"
6832 # We need this as qt is disabled by default in classpath.
6833 ac_configure_args
="$ac_configure_args --enable-qt-peer"
6835 if test "$use_x_awt" != yes; then
6836 ac_configure_args
="$ac_configure_args --without-escher"
6838 # We need this as escher is disabled by default in classpath.
6839 if test "$use_escher" != true
; then
6840 as_fn_error
"Please supply an absolute path to the Escher library" "$LINENO" 5
6842 ac_configure_args
="$ac_configure_args --with-escher=$with_escher"
6845 if test "x$BUILD_GJDOC" = xno
; then
6846 ac_configure_args
="$ac_configure_args --disable-gjdoc"
6848 # -Werror causes unavoidable problems in code using alsa.
6849 ac_configure_args
="$ac_configure_args --disable-regen-headers"
6850 ac_configure_args
="$ac_configure_args --disable-Werror"
6852 # Only use libltdl for non-newlib builds.
6853 if test "x${with_newlib}" = "x" ||
test "x${with_newlib}" = "xno"; then
6854 case $enable_ltdl_convenience in
6855 no
) as_fn_error
"this package needs a convenience libltdl" "$LINENO" 5 ;;
6856 "") enable_ltdl_convenience
=yes
6857 ac_configure_args
="$ac_configure_args --enable-ltdl-convenience" ;;
6859 LIBLTDL
='${top_builddir}/''libltdl'/libltdlc.la
6860 LTDLINCL
='-I${top_srcdir}/''libltdl'
6861 # For backwards non-gettext consistent compatibility...
6870 $as_echo "#define USE_LTDL 1" >>confdefs.h
6872 # Sigh. Libtool's macro doesn't do the right thing.
6873 INCLTDL
="-I\$(top_srcdir)/libltdl $INCLTDL"
6874 # FIXME: this is a hack.
6875 sub_auxdir
="`cd $ac_aux_dir && ${PWDCMD-pwd}`"
6876 ac_configure_args
="$ac_configure_args --with-auxdir=$sub_auxdir"
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6884 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6889 macro_version
='2.2.7a'
6890 macro_revision
='1.3134'
6904 ltmain
="$ac_aux_dir/ltmain.sh"
6906 # Backslashify metacharacters that are still active within
6907 # double-quoted strings.
6908 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
6910 # Same as above, but do not quote variable references.
6911 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
6913 # Sed substitution to delay expansion of an escaped shell variable in a
6914 # double_quote_subst'ed string.
6915 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6917 # Sed substitution to delay expansion of an escaped single quote.
6918 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
6920 # Sed substitution to avoid accidental globbing in evaled expressions
6921 no_glob_subst
='s/\*/\\\*/g'
6923 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6924 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6925 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6928 $as_echo_n "checking how to print strings... " >&6; }
6929 # Test print first, because it will be a builtin if present.
6930 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6931 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6933 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6936 # Use this function as a fallback that always works.
6937 func_fallback_echo ()
6939 eval 'cat <<_LTECHO_EOF
6943 ECHO='func_fallback_echo
'
6946 # func_echo_all arg...
6947 # Invoke $ECHO with all args, space-separated.
6954 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6955 $as_echo "printf" >&6; } ;;
6956 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6957 $as_echo "print -r" >&6; } ;;
6958 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6959 $as_echo "cat" >&6; } ;;
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6976 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6977 if test "${ac_cv_path_SED+set}" = set; then :
6978 $as_echo_n "(cached) " >&6
6980 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6981 for ac_i in 1 2 3 4 5 6 7; do
6982 ac_script="$ac_script$as_nl$ac_script"
6984 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6985 { ac_script=; unset ac_script;}
6986 if test -z "$SED"; then
6987 ac_path_SED_found=false
6988 # Loop through the user's path and
test for each of PROGNAME-LIST
6989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6993 test -z "$as_dir" && as_dir
=.
6994 for ac_prog
in sed gsed
; do
6995 for ac_exec_ext
in '' $ac_executable_extensions; do
6996 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6997 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6998 # Check for GNU ac_path_SED and select it if it is found.
6999 # Check for GNU $ac_path_SED
7000 case `"$ac_path_SED" --version 2>&1` in
7002 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
7005 $as_echo_n 0123456789 >"conftest.in"
7008 cat "conftest.in" "conftest.in" >"conftest.tmp"
7009 mv "conftest.tmp" "conftest.in"
7010 cp "conftest.in" "conftest.nl"
7011 $as_echo '' >> "conftest.nl"
7012 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7013 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7014 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7015 if test $ac_count -gt ${ac_path_SED_max-0}; then
7016 # Best one so far, save it but keep looking for a better one
7017 ac_cv_path_SED
="$ac_path_SED"
7018 ac_path_SED_max
=$ac_count
7020 # 10*(2^10) chars as input seems more than enough
7021 test $ac_count -gt 10 && break
7023 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7026 $ac_path_SED_found && break 3
7031 if test -z "$ac_cv_path_SED"; then
7032 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7040 $as_echo "$ac_cv_path_SED" >&6; }
7041 SED
="$ac_cv_path_SED"
7044 test -z "$SED" && SED
=sed
7045 Xsed
="$SED -e 1s/^X//"
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
7058 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
7059 if test "${ac_cv_path_GREP+set}" = set; then :
7060 $as_echo_n "(cached) " >&6
7062 if test -z "$GREP"; then
7063 ac_path_GREP_found
=false
7064 # Loop through the user's path and test for each of PROGNAME-LIST
7065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7066 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7069 test -z "$as_dir" && as_dir
=.
7070 for ac_prog
in grep ggrep
; do
7071 for ac_exec_ext
in '' $ac_executable_extensions; do
7072 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
7073 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
7074 # Check for GNU ac_path_GREP and select it if it is found.
7075 # Check for GNU $ac_path_GREP
7076 case `"$ac_path_GREP" --version 2>&1` in
7078 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
7081 $as_echo_n 0123456789 >"conftest.in"
7084 cat "conftest.in" "conftest.in" >"conftest.tmp"
7085 mv "conftest.tmp" "conftest.in"
7086 cp "conftest.in" "conftest.nl"
7087 $as_echo 'GREP' >> "conftest.nl"
7088 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7089 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7090 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7091 if test $ac_count -gt ${ac_path_GREP_max-0}; then
7092 # Best one so far, save it but keep looking for a better one
7093 ac_cv_path_GREP
="$ac_path_GREP"
7094 ac_path_GREP_max
=$ac_count
7096 # 10*(2^10) chars as input seems more than enough
7097 test $ac_count -gt 10 && break
7099 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7102 $ac_path_GREP_found && break 3
7107 if test -z "$ac_cv_path_GREP"; then
7108 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7111 ac_cv_path_GREP
=$GREP
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
7116 $as_echo "$ac_cv_path_GREP" >&6; }
7117 GREP
="$ac_cv_path_GREP"
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
7121 $as_echo_n "checking for egrep... " >&6; }
7122 if test "${ac_cv_path_EGREP+set}" = set; then :
7123 $as_echo_n "(cached) " >&6
7125 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
7126 then ac_cv_path_EGREP
="$GREP -E"
7128 if test -z "$EGREP"; then
7129 ac_path_EGREP_found
=false
7130 # Loop through the user's path and test for each of PROGNAME-LIST
7131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7132 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7135 test -z "$as_dir" && as_dir
=.
7136 for ac_prog
in egrep; do
7137 for ac_exec_ext
in '' $ac_executable_extensions; do
7138 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
7139 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
7140 # Check for GNU ac_path_EGREP and select it if it is found.
7141 # Check for GNU $ac_path_EGREP
7142 case `"$ac_path_EGREP" --version 2>&1` in
7144 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
7147 $as_echo_n 0123456789 >"conftest.in"
7150 cat "conftest.in" "conftest.in" >"conftest.tmp"
7151 mv "conftest.tmp" "conftest.in"
7152 cp "conftest.in" "conftest.nl"
7153 $as_echo 'EGREP' >> "conftest.nl"
7154 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7155 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7156 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7157 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7158 # Best one so far, save it but keep looking for a better one
7159 ac_cv_path_EGREP
="$ac_path_EGREP"
7160 ac_path_EGREP_max
=$ac_count
7162 # 10*(2^10) chars as input seems more than enough
7163 test $ac_count -gt 10 && break
7165 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7168 $ac_path_EGREP_found && break 3
7173 if test -z "$ac_cv_path_EGREP"; then
7174 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7177 ac_cv_path_EGREP
=$EGREP
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7183 $as_echo "$ac_cv_path_EGREP" >&6; }
7184 EGREP
="$ac_cv_path_EGREP"
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7188 $as_echo_n "checking for fgrep... " >&6; }
7189 if test "${ac_cv_path_FGREP+set}" = set; then :
7190 $as_echo_n "(cached) " >&6
7192 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
7193 then ac_cv_path_FGREP
="$GREP -F"
7195 if test -z "$FGREP"; then
7196 ac_path_FGREP_found
=false
7197 # Loop through the user's path and test for each of PROGNAME-LIST
7198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7199 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
7202 test -z "$as_dir" && as_dir
=.
7203 for ac_prog
in fgrep
; do
7204 for ac_exec_ext
in '' $ac_executable_extensions; do
7205 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
7206 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
7207 # Check for GNU ac_path_FGREP and select it if it is found.
7208 # Check for GNU $ac_path_FGREP
7209 case `"$ac_path_FGREP" --version 2>&1` in
7211 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
7214 $as_echo_n 0123456789 >"conftest.in"
7217 cat "conftest.in" "conftest.in" >"conftest.tmp"
7218 mv "conftest.tmp" "conftest.in"
7219 cp "conftest.in" "conftest.nl"
7220 $as_echo 'FGREP' >> "conftest.nl"
7221 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
7222 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
7223 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
7224 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7225 # Best one so far, save it but keep looking for a better one
7226 ac_cv_path_FGREP
="$ac_path_FGREP"
7227 ac_path_FGREP_max
=$ac_count
7229 # 10*(2^10) chars as input seems more than enough
7230 test $ac_count -gt 10 && break
7232 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
7235 $ac_path_FGREP_found && break 3
7240 if test -z "$ac_cv_path_FGREP"; then
7241 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7244 ac_cv_path_FGREP
=$FGREP
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7250 $as_echo "$ac_cv_path_FGREP" >&6; }
7251 FGREP
="$ac_cv_path_FGREP"
7254 test -z "$GREP" && GREP
=grep
7274 # Check whether --with-gnu-ld was given.
7275 if test "${with_gnu_ld+set}" = set; then :
7276 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
7282 if test "$GCC" = yes; then
7283 # Check if gcc -print-prog-name=ld gives a path.
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7285 $as_echo_n "checking for ld used by $CC... " >&6; }
7288 # gcc leaves a trailing carriage return which upsets mingw
7289 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7291 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7294 # Accept absolute paths.
7296 re_direlt
='/[^/][^/]*/\.\./'
7297 # Canonicalize the pathname of ld
7298 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7299 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
7300 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7302 test -z "$LD" && LD
="$ac_prog"
7305 # If it fails, then pretend we aren't using GCC.
7309 # If it is relative, then search for the first ld in PATH.
7313 elif test "$with_gnu_ld" = yes; then
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7315 $as_echo_n "checking for GNU ld... " >&6; }
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7318 $as_echo_n "checking for non-GNU ld... " >&6; }
7320 if test "${lt_cv_path_LD+set}" = set; then :
7321 $as_echo_n "(cached) " >&6
7323 if test -z "$LD"; then
7324 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7325 for ac_dir
in $PATH; do
7327 test -z "$ac_dir" && ac_dir
=.
7328 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7329 lt_cv_path_LD
="$ac_dir/$ac_prog"
7330 # Check to see if the program is GNU ld. I'd rather use --version,
7331 # but apparently some variants of GNU ld only accept -v.
7332 # Break only if it was the GNU/non-GNU ld that we prefer.
7333 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7334 *GNU
* |
*'with BFD'*)
7335 test "$with_gnu_ld" != no
&& break
7338 test "$with_gnu_ld" != yes && break
7345 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
7350 if test -n "$LD"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7352 $as_echo "$LD" >&6; }
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7357 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7359 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7360 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7361 $as_echo_n "(cached) " >&6
7363 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7364 case `$LD -v 2>&1 </dev/null` in
7365 *GNU
* |
*'with BFD'*)
7366 lt_cv_prog_gnu_ld
=yes
7369 lt_cv_prog_gnu_ld
=no
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7374 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7375 with_gnu_ld
=$lt_cv_prog_gnu_ld
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7386 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7387 if test "${lt_cv_path_NM+set}" = set; then :
7388 $as_echo_n "(cached) " >&6
7390 if test -n "$NM"; then
7391 # Let the user override the test.
7394 lt_nm_to_check
="${ac_tool_prefix}nm"
7395 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7396 lt_nm_to_check
="$lt_nm_to_check nm"
7398 for lt_tmp_nm
in $lt_nm_to_check; do
7399 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7400 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
7402 test -z "$ac_dir" && ac_dir
=.
7403 tmp_nm
="$ac_dir/$lt_tmp_nm"
7404 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
7405 # Check to see if the nm accepts a BSD-compat flag.
7406 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7407 # nm: unknown option "B" ignored
7408 # Tru64's nm complains that /dev/null is an invalid object file
7409 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7410 */dev
/null
* |
*'Invalid file or object type'*)
7411 lt_cv_path_NM
="$tmp_nm -B"
7415 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7417 lt_cv_path_NM
="$tmp_nm -p"
7421 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7422 continue # so that we can try to find one that supports BSD flags
7431 : ${lt_cv_path_NM=no}
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7435 $as_echo "$lt_cv_path_NM" >&6; }
7436 if test "$lt_cv_path_NM" != "no"; then
7439 # Didn't find any BSD compatible name lister, look for dumpbin.
7440 if test -n "$DUMPBIN"; then :
7441 # Let the user override the test.
7443 if test -n "$ac_tool_prefix"; then
7444 for ac_prog
in dumpbin
"link -dump"
7446 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7447 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7451 $as_echo_n "(cached) " >&6
7453 if test -n "$DUMPBIN"; then
7454 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
7456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7460 test -z "$as_dir" && as_dir
=.
7461 for ac_exec_ext
in '' $ac_executable_extensions; do
7462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7463 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 DUMPBIN
=$ac_cv_prog_DUMPBIN
7474 if test -n "$DUMPBIN"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7476 $as_echo "$DUMPBIN" >&6; }
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7483 test -n "$DUMPBIN" && break
7486 if test -z "$DUMPBIN"; then
7487 ac_ct_DUMPBIN
=$DUMPBIN
7488 for ac_prog
in dumpbin
"link -dump"
7490 # Extract the first word of "$ac_prog", so it can be a program name with args.
7491 set dummy
$ac_prog; ac_word
=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7495 $as_echo_n "(cached) " >&6
7497 if test -n "$ac_ct_DUMPBIN"; then
7498 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
7500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7504 test -z "$as_dir" && as_dir
=.
7505 for ac_exec_ext
in '' $ac_executable_extensions; do
7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7507 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
7508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7517 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
7518 if test -n "$ac_ct_DUMPBIN"; then
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7520 $as_echo "$ac_ct_DUMPBIN" >&6; }
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523 $as_echo "no" >&6; }
7527 test -n "$ac_ct_DUMPBIN" && break
7530 if test "x$ac_ct_DUMPBIN" = x
; then
7533 case $cross_compiling:$ac_tool_warned in
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7537 ac_tool_warned
=yes ;;
7539 DUMPBIN
=$ac_ct_DUMPBIN
7543 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7545 DUMPBIN
="$DUMPBIN -symbols"
7553 if test "$DUMPBIN" != ":"; then
7557 test -z "$NM" && NM
=nm
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7565 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7566 if test "${lt_cv_nm_interface+set}" = set; then :
7567 $as_echo_n "(cached) " >&6
7569 lt_cv_nm_interface
="BSD nm"
7570 echo "int some_variable = 0;" > conftest.
$ac_ext
7571 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7572 (eval "$ac_compile" 2>conftest.err
)
7573 cat conftest.err
>&5
7574 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7575 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
7576 cat conftest.err
>&5
7577 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7578 cat conftest.out
>&5
7579 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
7580 lt_cv_nm_interface
="MS dumpbin"
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7585 $as_echo "$lt_cv_nm_interface" >&6; }
7587 # find the maximum length of command line arguments
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7589 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7590 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7591 $as_echo_n "(cached) " >&6
7598 # On DJGPP, this test can blow up pretty badly due to problems in libc
7599 # (any single argument exceeding 2000 bytes causes a buffer overrun
7600 # during glob expansion). Even if it were fixed, the result of this
7601 # check would be larger than it should be.
7602 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
7606 # Under GNU Hurd, this test is not required because there is
7607 # no limit to the length of command line arguments.
7608 # Libtool will interpret -1 as no limit whatsoever
7609 lt_cv_sys_max_cmd_len
=-1;
7612 cygwin
* | mingw
* | cegcc
*)
7613 # On Win9x/ME, this test blows up -- it succeeds, but takes
7614 # about 5 minutes as the teststring grows exponentially.
7615 # Worse, since 9x/ME are not pre-emptively multitasking,
7616 # you end up with a "frozen" computer, even though with patience
7617 # the test eventually succeeds (with a max line length of 256k).
7618 # Instead, let's just punt: use the minimum linelength reported by
7619 # all of the supported platforms: 8192 (on NT/2K/XP).
7620 lt_cv_sys_max_cmd_len
=8192;
7624 # On MiNT this can take a long time and run out of memory.
7625 lt_cv_sys_max_cmd_len
=8192;
7629 # On AmigaOS with pdksh, this test takes hours, literally.
7630 # So we just punt and use a minimum line length of 8192.
7631 lt_cv_sys_max_cmd_len
=8192;
7634 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
7635 # This has been around since 386BSD, at least. Likely further.
7636 if test -x /sbin
/sysctl
; then
7637 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
7638 elif test -x /usr
/sbin
/sysctl
; then
7639 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
7641 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
7643 # And add a safety zone
7644 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7645 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7649 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7650 lt_cv_sys_max_cmd_len
=196608
7654 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7655 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7656 # nice to cause kernel panics so lets avoid the loop below.
7657 # First set a reasonable default.
7658 lt_cv_sys_max_cmd_len
=16384
7660 if test -x /sbin
/sysconfig
; then
7661 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7662 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
7667 lt_cv_sys_max_cmd_len
=102400
7669 sysv5
* | sco5v6
* | sysv4.2uw2
*)
7670 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7671 if test -n "$kargmax"; then
7672 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
7674 lt_cv_sys_max_cmd_len
=32768
7678 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
7679 if test -n "$lt_cv_sys_max_cmd_len"; then
7680 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
7681 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
7683 # Make teststring a little bigger before we do anything with it.
7684 # a 1K string should be a reasonable start.
7685 for i
in 1 2 3 4 5 6 7 8 ; do
7686 teststring
=$teststring$teststring
7688 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
7689 # If test is not a shell built-in, we'll probably end up computing a
7690 # maximum length that is only half of the actual maximum length, but
7692 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7693 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
7694 test $i != 17 # 1/2 MB should be enough
7697 teststring
=$teststring$teststring
7699 # Only check the string length outside the loop.
7700 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
7702 # Add a significant safety factor because C++ compilers can tack on
7703 # massive amounts of additional arguments before passing them to the
7704 # linker. It appears as though 1/2 is a usable value.
7705 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
7712 if test -n $lt_cv_sys_max_cmd_len ; then
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7714 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7717 $as_echo "none" >&6; }
7719 max_cmd_len
=$lt_cv_sys_max_cmd_len
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7731 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7732 # Try some XSI features
7735 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7737 && eval 'test $(( 1 + 1 )) -eq 2 \
7738 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
7741 $as_echo "$xsi_shell" >&6; }
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
7745 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
7747 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
7749 && lt_shell_append=yes
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
7751 $as_echo "$lt_shell_append" >&6; }
7754 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7764 # test EBCDIC or ASCII
7765 case `echo X|tr X '\101'` in
7766 A) # ASCII based system
7767 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7768 lt_SP2NL='tr \040 \012'
7769 lt_NL2SP='tr \015\012 \040\040'
7771 *) # EBCDIC based system
7772 lt_SP2NL='tr \100 \n'
7773 lt_NL2SP='tr \r\n \100\100'
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
7786 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
7787 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7788 $as_echo_n "(cached
) " >&6
7790 lt_cv_ld_reload_flag='-r'
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
7793 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7794 reload_flag=$lt_cv_ld_reload_flag
7795 case $reload_flag in
7797 *) reload_flag=" $reload_flag" ;;
7799 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7802 if test "$GCC" = yes; then
7803 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7805 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7818 if test -n "$ac_tool_prefix"; then
7819 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
7820 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7822 $as_echo_n "checking
for $ac_word...
" >&6; }
7823 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7824 $as_echo_n "(cached
) " >&6
7826 if test -n "$OBJDUMP"; then
7827 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833 test -z "$as_dir" && as_dir=.
7834 for ac_exec_ext in '' $ac_executable_extensions; do
7835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7836 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
7837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7846 OBJDUMP=$ac_cv_prog_OBJDUMP
7847 if test -n "$OBJDUMP"; then
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
7849 $as_echo "$OBJDUMP" >&6; }
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7852 $as_echo "no
" >&6; }
7857 if test -z "$ac_cv_prog_OBJDUMP"; then
7858 ac_ct_OBJDUMP=$OBJDUMP
7859 # Extract the first word of "objdump
", so it can be a program name with args.
7860 set dummy objdump; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7862 $as_echo_n "checking
for $ac_word...
" >&6; }
7863 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7864 $as_echo_n "(cached
) " >&6
7866 if test -n "$ac_ct_OBJDUMP"; then
7867 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7876 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7886 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7887 if test -n "$ac_ct_OBJDUMP"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
7889 $as_echo "$ac_ct_OBJDUMP" >&6; }
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7892 $as_echo "no
" >&6; }
7895 if test "x
$ac_ct_OBJDUMP" = x; then
7898 case $cross_compiling:$ac_tool_warned in
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7901 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7902 ac_tool_warned=yes ;;
7904 OBJDUMP=$ac_ct_OBJDUMP
7907 OBJDUMP="$ac_cv_prog_OBJDUMP"
7910 test -z "$OBJDUMP" && OBJDUMP=objdump
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
7921 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
7922 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7923 $as_echo_n "(cached
) " >&6
7925 lt_cv_file_magic_cmd='$MAGIC_CMD'
7926 lt_cv_file_magic_test_file=
7927 lt_cv_deplibs_check_method='unknown'
7928 # Need to set the preceding variable on all platforms that support
7929 # interlibrary dependencies.
7930 # 'none' -- dependencies not supported.
7931 # `unknown' -- same as none, but documents that we really don't know.
7932 # 'pass_all' -- all dependencies passed with no checks.
7933 # 'test_compile' -- check by making test program.
7934 # 'file_magic [[regex]]' -- check by looking for files in library path
7935 # which responds to the $file_magic_cmd with a given extended regex.
7936 # If you have `file' or equivalent on your system and you're not sure
7937 # whether `pass_all' will *always* work, you probably want this one.
7941 lt_cv_deplibs_check_method=pass_all
7945 lt_cv_deplibs_check_method=pass_all
7949 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7950 lt_cv_file_magic_cmd='/usr/bin/file -L'
7951 lt_cv_file_magic_test_file=/shlib/libc.so
7955 # func_win32_libid is a shell function defined in ltmain.sh
7956 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7957 lt_cv_file_magic_cmd='func_win32_libid'
7961 # Base MSYS/MinGW do not provide the 'file' command needed by
7962 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7963 # unless we find 'file', for example because we are cross-compiling.
7964 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7965 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
7966 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7967 lt_cv_file_magic_cmd='func_win32_libid'
7969 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7970 lt_cv_file_magic_cmd='$OBJDUMP -f'
7975 # use the weaker test based on 'objdump'. See mingw*.
7976 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7977 lt_cv_file_magic_cmd='$OBJDUMP -f'
7980 darwin* | rhapsody*)
7981 lt_cv_deplibs_check_method=pass_all
7984 freebsd* | dragonfly*)
7985 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7988 # Not sure whether the presence of OpenBSD here was a mistake.
7989 # Let's accept both of them until this is cleared up.
7990 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7991 lt_cv_file_magic_cmd=/usr/bin/file
7992 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7996 lt_cv_deplibs_check_method=pass_all
8001 lt_cv_deplibs_check_method=pass_all
8005 lt_cv_deplibs_check_method=pass_all
8008 hpux10.20* | hpux11*)
8009 lt_cv_file_magic_cmd=/usr/bin/file
8012 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8013 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8016 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]'
8017 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8020 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8021 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8027 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8031 irix5* | irix6* | nonstopux*)
8033 *-32|*"-32 ") libmagic=32-bit;;
8034 *-n32|*"-n32 ") libmagic=N32;;
8035 *-64|*"-64 ") libmagic=64-bit;;
8036 *) libmagic=never-match;;
8038 lt_cv_deplibs_check_method=pass_all
8041 # This must be Linux ELF.
8042 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8043 lt_cv_deplibs_check_method=pass_all
8047 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8048 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8050 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8055 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8056 lt_cv_file_magic_cmd=/usr/bin/file
8057 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8061 lt_cv_deplibs_check_method=pass_all
8065 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
8066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8068 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8072 osf3* | osf4* | osf5*)
8073 lt_cv_deplibs_check_method=pass_all
8077 lt_cv_deplibs_check_method=pass_all
8081 lt_cv_deplibs_check_method=pass_all
8084 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8085 lt_cv_deplibs_check_method=pass_all
8089 case $host_vendor in
8091 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]'
8092 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8095 lt_cv_deplibs_check_method=pass_all
8098 lt_cv_file_magic_cmd='/bin/file'
8099 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8102 lt_cv_file_magic_cmd='/bin/file'
8103 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
8104 lt_cv_file_magic_test_file=/lib/libc.so
8107 lt_cv_deplibs_check_method=pass_all
8110 lt_cv_deplibs_check_method=pass_all
8116 lt_cv_deplibs_check_method=pass_all
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
8122 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8123 file_magic_cmd=$lt_cv_file_magic_cmd
8124 deplibs_check_method=$lt_cv_deplibs_check_method
8125 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8138 if test -n "$ac_tool_prefix"; then
8139 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8140 set dummy ${ac_tool_prefix}ar; ac_word=$2
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8142 $as_echo_n "checking
for $ac_word...
" >&6; }
8143 if test "${ac_cv_prog_AR+set}" = set; then :
8144 $as_echo_n "(cached
) " >&6
8146 if test -n "$AR"; then
8147 ac_cv_prog_AR="$AR" # Let the user override the test.
8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153 test -z "$as_dir" && as_dir=.
8154 for ac_exec_ext in '' $ac_executable_extensions; do
8155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8156 ac_cv_prog_AR="${ac_tool_prefix}ar"
8157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8167 if test -n "$AR"; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8169 $as_echo "$AR" >&6; }
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8172 $as_echo "no
" >&6; }
8177 if test -z "$ac_cv_prog_AR"; then
8179 # Extract the first word of "ar", so it can be a program name with args.
8180 set dummy ar; ac_word=$2
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8182 $as_echo_n "checking
for $ac_word...
" >&6; }
8183 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8184 $as_echo_n "(cached
) " >&6
8186 if test -n "$ac_ct_AR"; then
8187 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193 test -z "$as_dir" && as_dir=.
8194 for ac_exec_ext in '' $ac_executable_extensions; do
8195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8196 ac_cv_prog_ac_ct_AR="ar"
8197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8206 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8207 if test -n "$ac_ct_AR"; then
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
8209 $as_echo "$ac_ct_AR" >&6; }
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8212 $as_echo "no
" >&6; }
8215 if test "x
$ac_ct_AR" = x; then
8218 case $cross_compiling:$ac_tool_warned in
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8221 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8222 ac_tool_warned=yes ;;
8230 test -z "$AR" && AR=ar
8231 test -z "$AR_FLAGS" && AR_FLAGS=cru
8243 if test -n "$ac_tool_prefix"; then
8244 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
8245 set dummy ${ac_tool_prefix}strip; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8247 $as_echo_n "checking
for $ac_word...
" >&6; }
8248 if test "${ac_cv_prog_STRIP+set}" = set; then :
8249 $as_echo_n "(cached
) " >&6
8251 if test -n "$STRIP"; then
8252 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8261 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8271 STRIP=$ac_cv_prog_STRIP
8272 if test -n "$STRIP"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8274 $as_echo "$STRIP" >&6; }
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8277 $as_echo "no
" >&6; }
8282 if test -z "$ac_cv_prog_STRIP"; then
8284 # Extract the first word of "strip
", so it can be a program name with args.
8285 set dummy strip; ac_word=$2
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8287 $as_echo_n "checking
for $ac_word...
" >&6; }
8288 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8289 $as_echo_n "(cached
) " >&6
8291 if test -n "$ac_ct_STRIP"; then
8292 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8298 test -z "$as_dir" && as_dir=.
8299 for ac_exec_ext in '' $ac_executable_extensions; do
8300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8301 ac_cv_prog_ac_ct_STRIP="strip
"
8302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8311 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8312 if test -n "$ac_ct_STRIP"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
8314 $as_echo "$ac_ct_STRIP" >&6; }
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8317 $as_echo "no
" >&6; }
8320 if test "x
$ac_ct_STRIP" = x; then
8323 case $cross_compiling:$ac_tool_warned in
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8326 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8327 ac_tool_warned=yes ;;
8332 STRIP="$ac_cv_prog_STRIP"
8335 test -z "$STRIP" && STRIP=:
8342 if test -n "$ac_tool_prefix"; then
8343 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
8344 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8346 $as_echo_n "checking
for $ac_word...
" >&6; }
8347 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8348 $as_echo_n "(cached
) " >&6
8350 if test -n "$RANLIB"; then
8351 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8360 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
8361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8370 RANLIB=$ac_cv_prog_RANLIB
8371 if test -n "$RANLIB"; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8373 $as_echo "$RANLIB" >&6; }
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8376 $as_echo "no
" >&6; }
8381 if test -z "$ac_cv_prog_RANLIB"; then
8382 ac_ct_RANLIB=$RANLIB
8383 # Extract the first word of "ranlib
", so it can be a program name with args.
8384 set dummy ranlib; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8386 $as_echo_n "checking
for $ac_word...
" >&6; }
8387 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8388 $as_echo_n "(cached
) " >&6
8390 if test -n "$ac_ct_RANLIB"; then
8391 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400 ac_cv_prog_ac_ct_RANLIB="ranlib
"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8410 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8411 if test -n "$ac_ct_RANLIB"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
8413 $as_echo "$ac_ct_RANLIB" >&6; }
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8416 $as_echo "no
" >&6; }
8419 if test "x
$ac_ct_RANLIB" = x; then
8422 case $cross_compiling:$ac_tool_warned in
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8425 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8426 ac_tool_warned=yes ;;
8428 RANLIB=$ac_ct_RANLIB
8431 RANLIB="$ac_cv_prog_RANLIB"
8434 test -z "$RANLIB" && RANLIB=:
8441 # Determine commands to create old-style static archives.
8442 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8443 old_postinstall_cmds='chmod 644 $oldlib'
8444 old_postuninstall_cmds=
8446 if test -n "$RANLIB"; then
8449 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
8452 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
8455 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
8460 lock_old_archive_extraction=yes ;;
8462 lock_old_archive_extraction=no ;;
8503 # If no C compiler was specified, use CC.
8506 # If no C compiler flags were specified, use CFLAGS.
8507 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8509 # Allow CC to be a program name with arguments.
8513 # Check for command to grab the raw symbol name followed by C symbol from nm.
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
8515 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
8516 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8517 $as_echo_n "(cached
) " >&6
8520 # These are sane defaults that work on at least a few old systems.
8521 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8523 # Character class describing NM global symbol codes.
8524 symcode='[BCDEGRST]'
8526 # Regexp to match symbols that can be accessed directly from C.
8527 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8529 # Define system-specific variables.
8534 cygwin* | mingw* | pw32* | cegcc*)
8535 symcode='[ABCDGISTW]'
8538 if test "$host_cpu" = ia64; then
8539 symcode='[ABCDEGRST]'
8543 symcode='[BCDEGRST]'
8546 symcode='[BCDEGQRST]'
8557 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8565 # If we're using GNU nm, then use its standard symbol codes.
8566 case `$NM -V 2>&1` in
8567 *GNU* | *'with BFD'*)
8568 symcode='[ABCDGIRSTW]' ;;
8571 # Transform an extracted symbol line into a proper C declaration.
8572 # Some systems (esp. on ia64) link data and code symbols differently,
8573 # so use this general approach.
8574 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8576 # Transform an extracted symbol line into symbol name and symbol address
8577 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8578 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'"
8580 # Handle CRLF in mingw tool chain
8584 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8588 # Try without a prefix underscore, then with it.
8589 for ac_symprfx in "" "_
"; do
8591 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8592 symxfrm="\\1 $ac_symprfx\\2 \\2"
8594 # Write the raw and C identifiers.
8595 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8596 # Fake it for dumpbin and say T for any non-static function
8597 # and D for any global variable.
8598 # Also find C++ and __fastcall symbols from MSVC++,
8599 # which start with @ or ?.
8600 lt_cv_sys_global_symbol_pipe="$AWK '"\
8601 " {last_section=section; section=\$ 3};"\
8602 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8603 " \$ 0!~/External *\|/{next};"\
8604 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8605 " {if(hide[section]) next};"\
8606 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8607 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8608 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8609 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8610 " ' prfx
=^
$ac_symprfx"
8612 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8615 # Check to see that the pipe works correctly.
8619 cat > conftest.$ac_ext <<_LT_EOF
8624 void nm_test_func(void);
8625 void nm_test_func(void){}
8629 int main(){nm_test_var='a';nm_test_func();return(0);}
8632 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8633 (eval $ac_compile) 2>&5
8635 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8636 test $ac_status = 0; }; then
8637 # Now try to grab the symbols.
8639 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
8640 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8642 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8643 test $ac_status = 0; } && test -s "$nlist"; then
8644 # Try sorting and uniquifying the output.
8645 if sort "$nlist" | uniq > "$nlist"T; then
8646 mv -f "$nlist"T "$nlist"
8651 # Make sure that we snagged all the symbols we need.
8652 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8653 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8654 cat <<_LT_EOF > conftest.$ac_ext
8660 # Now generate the symbol file.
8661 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8663 cat <<_LT_EOF >> conftest.$ac_ext
8665 /* The mapping between symbol names and symbols. */
8670 lt__PROGRAM__LTX_preloaded_symbols[] =
8672 { "@PROGRAM@
", (void *) 0 },
8674 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8675 cat <<\_LT_EOF >> conftest.$ac_ext
8679 /* This works around a problem in FreeBSD linker */
8680 #ifdef FREEBSD_WORKAROUND
8681 static const void *lt_preloaded_setup() {
8682 return lt__PROGRAM__LTX_preloaded_symbols;
8690 # Now try linking the two files.
8691 mv conftest.$ac_objext conftstm.$ac_objext
8692 lt_save_LIBS="$LIBS"
8693 lt_save_CFLAGS="$CFLAGS"
8694 LIBS="conftstm.
$ac_objext"
8695 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8696 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8697 (eval $ac_link) 2>&5
8699 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8700 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8703 LIBS="$lt_save_LIBS"
8704 CFLAGS="$lt_save_CFLAGS"
8706 echo "cannot
find nm_test_func
in $nlist" >&5
8709 echo "cannot
find nm_test_var
in $nlist" >&5
8712 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
8715 echo "$progname: failed program was
:" >&5
8716 cat conftest.$ac_ext >&5
8718 rm -rf conftest* conftst*
8720 # Do not use the global_symbol_pipe unless it works.
8721 if test "$pipe_works" = yes; then
8724 lt_cv_sys_global_symbol_pipe=
8730 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8731 lt_cv_sys_global_symbol_to_cdecl=
8733 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8735 $as_echo "failed
" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8738 $as_echo "ok
" >&6; }
8763 # Check whether --enable-libtool-lock was given.
8764 if test "${enable_libtool_lock+set}" = set; then :
8765 enableval=$enable_libtool_lock;
8768 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8770 # Some flags need to be propagated to the compiler or linker for good
8774 # Find out which ABI we are using.
8775 echo 'int i;' > conftest.$ac_ext
8776 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8777 (eval $ac_compile) 2>&5
8779 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8780 test $ac_status = 0; }; then
8781 case `/usr/bin/file conftest.$ac_objext` in
8793 # Find out which ABI we are using.
8794 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8795 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8796 (eval $ac_compile) 2>&5
8798 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8799 test $ac_status = 0; }; then
8800 if test "$lt_cv_prog_gnu_ld" = yes; then
8801 case `/usr/bin/file conftest.$ac_objext` in
8803 LD="${LD-ld} -melf32bsmip"
8806 LD="${LD-ld} -melf32bmipn32"
8809 LD="${LD-ld} -melf64bmip"
8813 case `/usr/bin/file conftest.$ac_objext` in
8829 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8830 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8831 # Find out which ABI we are using.
8832 echo 'int i;' > conftest.$ac_ext
8833 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8834 (eval $ac_compile) 2>&5
8836 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8837 test $ac_status = 0; }; then
8838 case `/usr/bin/file conftest.o` in
8841 x86_64-*kfreebsd*-gnu)
8842 LD="${LD-ld} -m elf_i386_fbsd
"
8845 case `/usr/bin/file conftest.o` in
8847 LD="${LD-ld} -m elf32_x86_64
"
8850 LD="${LD-ld} -m elf_i386
"
8854 ppc64-*linux*|powerpc64-*linux*)
8855 LD="${LD-ld} -m elf32ppclinux
"
8858 LD="${LD-ld} -m elf_s390
"
8861 LD="${LD-ld} -m elf32_sparc
"
8867 x86_64-*kfreebsd*-gnu)
8868 LD="${LD-ld} -m elf_x86_64_fbsd
"
8871 LD="${LD-ld} -m elf_x86_64
"
8873 ppc*-*linux*|powerpc*-*linux*)
8874 LD="${LD-ld} -m elf64ppc
"
8876 s390*-*linux*|s390*-*tpf*)
8877 LD="${LD-ld} -m elf64_s390
"
8880 LD="${LD-ld} -m elf64_sparc
"
8890 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8891 SAVE_CFLAGS="$CFLAGS"
8892 CFLAGS="$CFLAGS -belf"
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8894 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8895 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8896 $as_echo_n "(cached
) " >&6
8899 ac_cpp='$CPP $CPPFLAGS'
8900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8904 if test x$gcc_no_link = xyes; then
8905 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8918 if ac_fn_c_try_link "$LINENO"; then :
8919 lt_cv_cc_needs_belf=yes
8921 lt_cv_cc_needs_belf=no
8923 rm -f core conftest.err conftest.$ac_objext \
8924 conftest$ac_exeext conftest.$ac_ext
8926 ac_cpp='$CPP $CPPFLAGS'
8927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8933 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8934 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8935 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8936 CFLAGS="$SAVE_CFLAGS"
8940 # Find out which ABI we are using.
8941 echo 'int i;' > conftest.$ac_ext
8942 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8943 (eval $ac_compile) 2>&5
8945 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8946 test $ac_status = 0; }; then
8947 case `/usr/bin/file conftest.o` in
8949 case $lt_cv_prog_gnu_ld in
8950 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
8952 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8964 need_locks="$enable_libtool_lock"
8968 rhapsody* | darwin*)
8969 if test -n "$ac_tool_prefix"; then
8970 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8971 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8973 $as_echo_n "checking
for $ac_word...
" >&6; }
8974 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8975 $as_echo_n "(cached
) " >&6
8977 if test -n "$DSYMUTIL"; then
8978 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8984 test -z "$as_dir" && as_dir=.
8985 for ac_exec_ext in '' $ac_executable_extensions; do
8986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8987 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8997 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8998 if test -n "$DSYMUTIL"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
9000 $as_echo "$DSYMUTIL" >&6; }
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9003 $as_echo "no
" >&6; }
9008 if test -z "$ac_cv_prog_DSYMUTIL"; then
9009 ac_ct_DSYMUTIL=$DSYMUTIL
9010 # Extract the first word of "dsymutil
", so it can be a program name with args.
9011 set dummy dsymutil; ac_word=$2
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9013 $as_echo_n "checking
for $ac_word...
" >&6; }
9014 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
9015 $as_echo_n "(cached
) " >&6
9017 if test -n "$ac_ct_DSYMUTIL"; then
9018 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9024 test -z "$as_dir" && as_dir=.
9025 for ac_exec_ext in '' $ac_executable_extensions; do
9026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9027 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
9028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9037 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9038 if test -n "$ac_ct_DSYMUTIL"; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
9040 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9043 $as_echo "no
" >&6; }
9046 if test "x
$ac_ct_DSYMUTIL" = x; then
9049 case $cross_compiling:$ac_tool_warned in
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9052 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9053 ac_tool_warned=yes ;;
9055 DSYMUTIL=$ac_ct_DSYMUTIL
9058 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9061 if test -n "$ac_tool_prefix"; then
9062 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
9063 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9065 $as_echo_n "checking
for $ac_word...
" >&6; }
9066 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
9067 $as_echo_n "(cached
) " >&6
9069 if test -n "$NMEDIT"; then
9070 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9076 test -z "$as_dir" && as_dir=.
9077 for ac_exec_ext in '' $ac_executable_extensions; do
9078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9079 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
9080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9089 NMEDIT=$ac_cv_prog_NMEDIT
9090 if test -n "$NMEDIT"; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
9092 $as_echo "$NMEDIT" >&6; }
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9095 $as_echo "no
" >&6; }
9100 if test -z "$ac_cv_prog_NMEDIT"; then
9101 ac_ct_NMEDIT=$NMEDIT
9102 # Extract the first word of "nmedit
", so it can be a program name with args.
9103 set dummy nmedit; ac_word=$2
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9105 $as_echo_n "checking
for $ac_word...
" >&6; }
9106 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9107 $as_echo_n "(cached
) " >&6
9109 if test -n "$ac_ct_NMEDIT"; then
9110 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9116 test -z "$as_dir" && as_dir=.
9117 for ac_exec_ext in '' $ac_executable_extensions; do
9118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9119 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
9120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9129 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9130 if test -n "$ac_ct_NMEDIT"; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
9132 $as_echo "$ac_ct_NMEDIT" >&6; }
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9135 $as_echo "no
" >&6; }
9138 if test "x
$ac_ct_NMEDIT" = x; then
9141 case $cross_compiling:$ac_tool_warned in
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9144 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9145 ac_tool_warned=yes ;;
9147 NMEDIT=$ac_ct_NMEDIT
9150 NMEDIT="$ac_cv_prog_NMEDIT"
9153 if test -n "$ac_tool_prefix"; then
9154 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
9155 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9157 $as_echo_n "checking
for $ac_word...
" >&6; }
9158 if test "${ac_cv_prog_LIPO+set}" = set; then :
9159 $as_echo_n "(cached
) " >&6
9161 if test -n "$LIPO"; then
9162 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9168 test -z "$as_dir" && as_dir=.
9169 for ac_exec_ext in '' $ac_executable_extensions; do
9170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9171 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
9172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9181 LIPO=$ac_cv_prog_LIPO
9182 if test -n "$LIPO"; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
9184 $as_echo "$LIPO" >&6; }
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9187 $as_echo "no
" >&6; }
9192 if test -z "$ac_cv_prog_LIPO"; then
9194 # Extract the first word of "lipo
", so it can be a program name with args.
9195 set dummy lipo; ac_word=$2
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9197 $as_echo_n "checking
for $ac_word...
" >&6; }
9198 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9199 $as_echo_n "(cached
) " >&6
9201 if test -n "$ac_ct_LIPO"; then
9202 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9208 test -z "$as_dir" && as_dir=.
9209 for ac_exec_ext in '' $ac_executable_extensions; do
9210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9211 ac_cv_prog_ac_ct_LIPO="lipo
"
9212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9221 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9222 if test -n "$ac_ct_LIPO"; then
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
9224 $as_echo "$ac_ct_LIPO" >&6; }
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9227 $as_echo "no
" >&6; }
9230 if test "x
$ac_ct_LIPO" = x; then
9233 case $cross_compiling:$ac_tool_warned in
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9236 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9237 ac_tool_warned=yes ;;
9242 LIPO="$ac_cv_prog_LIPO"
9245 if test -n "$ac_tool_prefix"; then
9246 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
9247 set dummy ${ac_tool_prefix}otool; ac_word=$2
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9249 $as_echo_n "checking
for $ac_word...
" >&6; }
9250 if test "${ac_cv_prog_OTOOL+set}" = set; then :
9251 $as_echo_n "(cached
) " >&6
9253 if test -n "$OTOOL"; then
9254 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9260 test -z "$as_dir" && as_dir=.
9261 for ac_exec_ext in '' $ac_executable_extensions; do
9262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9263 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
9264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9273 OTOOL=$ac_cv_prog_OTOOL
9274 if test -n "$OTOOL"; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
9276 $as_echo "$OTOOL" >&6; }
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9279 $as_echo "no
" >&6; }
9284 if test -z "$ac_cv_prog_OTOOL"; then
9286 # Extract the first word of "otool
", so it can be a program name with args.
9287 set dummy otool; ac_word=$2
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9289 $as_echo_n "checking
for $ac_word...
" >&6; }
9290 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9291 $as_echo_n "(cached
) " >&6
9293 if test -n "$ac_ct_OTOOL"; then
9294 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300 test -z "$as_dir" && as_dir=.
9301 for ac_exec_ext in '' $ac_executable_extensions; do
9302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9303 ac_cv_prog_ac_ct_OTOOL="otool
"
9304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9313 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9314 if test -n "$ac_ct_OTOOL"; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
9316 $as_echo "$ac_ct_OTOOL" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9319 $as_echo "no
" >&6; }
9322 if test "x
$ac_ct_OTOOL" = x; then
9325 case $cross_compiling:$ac_tool_warned in
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9328 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9329 ac_tool_warned=yes ;;
9334 OTOOL="$ac_cv_prog_OTOOL"
9337 if test -n "$ac_tool_prefix"; then
9338 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
9339 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9341 $as_echo_n "checking
for $ac_word...
" >&6; }
9342 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9343 $as_echo_n "(cached
) " >&6
9345 if test -n "$OTOOL64"; then
9346 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9352 test -z "$as_dir" && as_dir=.
9353 for ac_exec_ext in '' $ac_executable_extensions; do
9354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9355 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
9356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9365 OTOOL64=$ac_cv_prog_OTOOL64
9366 if test -n "$OTOOL64"; then
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
9368 $as_echo "$OTOOL64" >&6; }
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9371 $as_echo "no
" >&6; }
9376 if test -z "$ac_cv_prog_OTOOL64"; then
9377 ac_ct_OTOOL64=$OTOOL64
9378 # Extract the first word of "otool64
", so it can be a program name with args.
9379 set dummy otool64; ac_word=$2
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9381 $as_echo_n "checking
for $ac_word...
" >&6; }
9382 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9383 $as_echo_n "(cached
) " >&6
9385 if test -n "$ac_ct_OTOOL64"; then
9386 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392 test -z "$as_dir" && as_dir=.
9393 for ac_exec_ext in '' $ac_executable_extensions; do
9394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9395 ac_cv_prog_ac_ct_OTOOL64="otool64
"
9396 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9405 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9406 if test -n "$ac_ct_OTOOL64"; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
9408 $as_echo "$ac_ct_OTOOL64" >&6; }
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9411 $as_echo "no
" >&6; }
9414 if test "x
$ac_ct_OTOOL64" = x; then
9417 case $cross_compiling:$ac_tool_warned in
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
9420 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
9421 ac_tool_warned=yes ;;
9423 OTOOL64=$ac_ct_OTOOL64
9426 OTOOL64="$ac_cv_prog_OTOOL64"
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
9456 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
9457 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9458 $as_echo_n "(cached
) " >&6
9460 lt_cv_apple_cc_single_mod=no
9461 if test -z "${LT_MULTI_MODULE}"; then
9462 # By default we will add the -single_module flag. You can override
9463 # by either setting the environment variable LT_MULTI_MODULE
9464 # non-empty at configure time, or by adding -multi_module to the
9466 rm -rf libconftest.dylib*
9467 echo "int foo
(void
){return 1;}" > conftest.c
9468 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9469 -dynamiclib -Wl,-single_module conftest.c
" >&5
9470 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9471 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9473 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9474 lt_cv_apple_cc_single_mod=yes
9476 cat conftest.err >&5
9478 rm -rf libconftest.dylib*
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
9483 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
9485 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
9486 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9487 $as_echo_n "(cached
) " >&6
9489 lt_cv_ld_exported_symbols_list=no
9490 save_LDFLAGS=$LDFLAGS
9491 echo "_main
" > conftest.sym
9492 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
9493 if test x$gcc_no_link = xyes; then
9494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */
9507 if ac_fn_c_try_link "$LINENO"; then :
9508 lt_cv_ld_exported_symbols_list=yes
9510 lt_cv_ld_exported_symbols_list=no
9512 rm -f core conftest.err conftest.$ac_objext \
9513 conftest$ac_exeext conftest.$ac_ext
9514 LDFLAGS="$save_LDFLAGS"
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
9518 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
9520 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
9521 if test "${lt_cv_ld_force_load+set}" = set; then :
9522 $as_echo_n "(cached
) " >&6
9524 lt_cv_ld_force_load=no
9525 cat > conftest.c << _LT_EOF
9526 int forced_loaded() { return 2;}
9528 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
9529 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9530 echo "$AR cru libconftest.a conftest.o
" >&5
9531 $AR cru libconftest.a conftest.o 2>&5
9532 cat > conftest.c << _LT_EOF
9533 int main() { return 0;}
9535 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
9536 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9538 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
9539 lt_cv_ld_force_load=yes
9541 cat conftest.err >&5
9543 rm -f conftest.err libconftest.a conftest conftest.c
9544 rm -rf conftest.dSYM
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
9548 $as_echo "$lt_cv_ld_force_load" >&6; }
9550 rhapsody* | darwin1.[012])
9551 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9553 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9554 darwin*) # darwin 5.x on
9555 # if running on 10.5 or later, the deployment target defaults
9556 # to the OS version, if on x86, and 10.4, the deployment
9557 # target defaults to 10.4. Don't you love it?
9558 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9559 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9560 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9562 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9564 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9568 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9569 _lt_dar_single_mod='$single_module'
9571 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9572 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9574 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9576 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9577 _lt_dsymutil='~$DSYMUTIL $lib || :'
9585 ac_cpp='$CPP $CPPFLAGS'
9586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
9590 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
9591 # On Suns, sometimes $CPP names a directory.
9592 if test -n "$CPP" && test -d "$CPP"; then
9595 if test -z "$CPP"; then
9596 if test "${ac_cv_prog_CPP+set}" = set; then :
9597 $as_echo_n "(cached
) " >&6
9599 # Double quotes because CPP needs to be expanded
9600 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
9603 for ac_c_preproc_warn_flag in '' yes
9605 # Use a header file that comes with gcc, so configuring glibc
9606 # with a fresh cross-compiler works.
9607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9608 # <limits.h> exists even on freestanding compilers.
9609 # On the NeXT, cc -E runs the code through the compiler's parser,
9610 # not just through cpp. "Syntax error
" is here to catch this case.
9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9614 # include <limits.h>
9616 # include <assert.h>
9620 if ac_fn_c_try_cpp "$LINENO"; then :
9623 # Broken: fails on valid input.
9626 rm -f conftest.err conftest.$ac_ext
9628 # OK, works on sane cases. Now check whether nonexistent headers
9629 # can be detected and how.
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632 #include <ac_nonexistent.h>
9634 if ac_fn_c_try_cpp "$LINENO"; then :
9635 # Broken: success on invalid input.
9638 # Passes both tests.
9642 rm -f conftest.err conftest.$ac_ext
9645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9646 rm -f conftest.err conftest.$ac_ext
9647 if $ac_preproc_ok; then :
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
9660 $as_echo "$CPP" >&6; }
9662 for ac_c_preproc_warn_flag in '' yes
9664 # Use a header file that comes with gcc, so configuring glibc
9665 # with a fresh cross-compiler works.
9666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9667 # <limits.h> exists even on freestanding compilers.
9668 # On the NeXT, cc -E runs the code through the compiler's parser,
9669 # not just through cpp. "Syntax error
" is here to catch this case.
9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9673 # include <limits.h>
9675 # include <assert.h>
9679 if ac_fn_c_try_cpp "$LINENO"; then :
9682 # Broken: fails on valid input.
9685 rm -f conftest.err conftest.$ac_ext
9687 # OK, works on sane cases. Now check whether nonexistent headers
9688 # can be detected and how.
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h. */
9691 #include <ac_nonexistent.h>
9693 if ac_fn_c_try_cpp "$LINENO"; then :
9694 # Broken: success on invalid input.
9697 # Passes both tests.
9701 rm -f conftest.err conftest.$ac_ext
9704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9705 rm -f conftest.err conftest.$ac_ext
9706 if $ac_preproc_ok; then :
9709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
9710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9711 as_fn_error "C preprocessor \"$CPP\" fails sanity check
9712 See \`config.log' for more details.
" "$LINENO" 5; }
9716 ac_cpp='$CPP $CPPFLAGS'
9717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
9723 $as_echo_n "checking
for ANSI C header files...
" >&6; }
9724 if test "${ac_cv_header_stdc+set}" = set; then :
9725 $as_echo_n "(cached
) " >&6
9727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9728 /* end confdefs.h. */
9742 if ac_fn_c_try_compile "$LINENO"; then :
9743 ac_cv_header_stdc=yes
9745 ac_cv_header_stdc=no
9747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9749 if test $ac_cv_header_stdc = yes; then
9750 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9752 /* end confdefs.h. */
9756 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9757 $EGREP "memchr
" >/dev/null 2>&1; then :
9760 ac_cv_header_stdc=no
9766 if test $ac_cv_header_stdc = yes; then
9767 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9773 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9774 $EGREP "free
" >/dev/null 2>&1; then :
9777 ac_cv_header_stdc=no
9783 if test $ac_cv_header_stdc = yes; then
9784 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9785 if test "$cross_compiling" = yes; then :
9788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9789 /* end confdefs.h. */
9792 #if ((' ' & 0x0FF) == 0x020)
9793 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9794 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9796 # define ISLOWER(c) \
9797 (('a' <= (c) && (c) <= 'i') \
9798 || ('j' <= (c) && (c) <= 'r') \
9799 || ('s' <= (c) && (c) <= 'z'))
9800 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9803 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9808 for (i = 0; i < 256; i++)
9809 if (XOR (islower (i), ISLOWER (i))
9810 || toupper (i) != TOUPPER (i))
9815 if ac_fn_c_try_run "$LINENO"; then :
9818 ac_cv_header_stdc=no
9820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9821 conftest.$ac_objext conftest.beam conftest.$ac_ext
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
9827 $as_echo "$ac_cv_header_stdc" >&6; }
9828 if test $ac_cv_header_stdc = yes; then
9830 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9834 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9835 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9836 inttypes.h stdint.h unistd.h
9838 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9839 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9841 eval as_val
=\$
$as_ac_Header
9842 if test "x$as_val" = x
""yes; then :
9843 cat >>confdefs.h
<<_ACEOF
9844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9852 for ac_header
in dlfcn.h
9854 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9856 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
9857 cat >>confdefs.h
<<_ACEOF
9858 #define HAVE_DLFCN_H 1
9878 # Check whether --enable-shared was given.
9879 if test "${enable_shared+set}" = set; then :
9880 enableval
=$enable_shared; p
=${PACKAGE-default}
9882 yes) enable_shared
=yes ;;
9883 no
) enable_shared
=no
;;
9886 # Look at the argument we got. We use all the common list separators.
9887 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9888 for pkg
in $enableval; do
9890 if test "X$pkg" = "X$p"; then
9909 # Check whether --enable-static was given.
9910 if test "${enable_static+set}" = set; then :
9911 enableval
=$enable_static; p
=${PACKAGE-default}
9913 yes) enable_static
=yes ;;
9914 no
) enable_static
=no
;;
9917 # Look at the argument we got. We use all the common list separators.
9918 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9919 for pkg
in $enableval; do
9921 if test "X$pkg" = "X$p"; then
9941 # Check whether --with-pic was given.
9942 if test "${with_pic+set}" = set; then :
9943 withval
=$with_pic; pic_mode
="$withval"
9949 test -z "$pic_mode" && pic_mode
=default
9957 # Check whether --enable-fast-install was given.
9958 if test "${enable_fast_install+set}" = set; then :
9959 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9961 yes) enable_fast_install
=yes ;;
9962 no
) enable_fast_install
=no
;;
9964 enable_fast_install
=no
9965 # Look at the argument we got. We use all the common list separators.
9966 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9967 for pkg
in $enableval; do
9969 if test "X$pkg" = "X$p"; then
9970 enable_fast_install
=yes
9977 enable_fast_install
=yes
9990 # This can be used to rebuild libtool when needed
9991 LIBTOOL_DEPS
="$ltmain"
9993 # Always use our own libtool.
9994 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
10021 test -z "$LN_S" && LN_S
="ln -s"
10036 if test -n "${ZSH_VERSION+set}" ; then
10037 setopt NO_GLOB_SUBST
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10041 $as_echo_n "checking for objdir... " >&6; }
10042 if test "${lt_cv_objdir+set}" = set; then :
10043 $as_echo_n "(cached) " >&6
10045 rm -f .libs
2>/dev
/null
10046 mkdir .libs
2>/dev
/null
10047 if test -d .libs
; then
10050 # MS-DOS does not allow filenames that begin with a dot.
10053 rmdir .libs
2>/dev
/null
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10056 $as_echo "$lt_cv_objdir" >&6; }
10057 objdir
=$lt_cv_objdir
10063 cat >>confdefs.h
<<_ACEOF
10064 #define LT_OBJDIR "$lt_cv_objdir/"
10072 # AIX sometimes has problems with the GCC collect2 program. For some
10073 # reason, if we set the COLLECT_NAMES environment variable, the problems
10074 # vanish in a puff of smoke.
10075 if test "X${COLLECT_NAMES+set}" != Xset
; then
10077 export COLLECT_NAMES
10082 # Global variables:
10084 can_build_shared
=yes
10086 # All known linkers require a `.a' archive for static linking (except MSVC,
10087 # which needs '.lib').
10090 with_gnu_ld
="$lt_cv_prog_gnu_ld"
10093 old_CFLAGS
="$CFLAGS"
10095 # Set sane defaults for various variables
10096 test -z "$CC" && CC
=cc
10097 test -z "$LTCC" && LTCC
=$CC
10098 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
10099 test -z "$LD" && LD
=ld
10100 test -z "$ac_objext" && ac_objext
=o
10102 for cc_temp
in $compiler""; do
10104 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
10105 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
10110 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10113 # Only perform the check for file, if the check method requires it
10114 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
10115 case $deplibs_check_method in
10117 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10119 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10120 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10121 $as_echo_n "(cached) " >&6
10125 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10128 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10129 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10130 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10131 for ac_dir
in $ac_dummy; do
10133 test -z "$ac_dir" && ac_dir
=.
10134 if test -f $ac_dir/${ac_tool_prefix}file; then
10135 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
10136 if test -n "$file_magic_test_file"; then
10137 case $deplibs_check_method in
10139 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10140 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10141 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10142 $EGREP "$file_magic_regex" > /dev
/null
; then
10147 *** Warning: the command libtool uses to detect shared libraries,
10148 *** $file_magic_cmd, produces output that libtool cannot recognize.
10149 *** The result is that libtool may fail to recognize shared libraries
10150 *** as such. This will affect the creation of libtool libraries that
10151 *** depend on shared libraries, but programs linked with such libtool
10152 *** libraries will work regardless of this problem. Nevertheless, you
10153 *** may want to report the problem to your system manager and/or to
10154 *** bug-libtool@gnu.org
10164 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10169 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10170 if test -n "$MAGIC_CMD"; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10172 $as_echo "$MAGIC_CMD" >&6; }
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10175 $as_echo "no" >&6; }
10182 if test -z "$lt_cv_path_MAGIC_CMD"; then
10183 if test -n "$ac_tool_prefix"; then
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10185 $as_echo_n "checking for file... " >&6; }
10186 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10187 $as_echo_n "(cached) " >&6
10191 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
10194 lt_save_MAGIC_CMD
="$MAGIC_CMD"
10195 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
10196 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
10197 for ac_dir
in $ac_dummy; do
10199 test -z "$ac_dir" && ac_dir
=.
10200 if test -f $ac_dir/file; then
10201 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
10202 if test -n "$file_magic_test_file"; then
10203 case $deplibs_check_method in
10205 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10206 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10207 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
10208 $EGREP "$file_magic_regex" > /dev
/null
; then
10213 *** Warning: the command libtool uses to detect shared libraries,
10214 *** $file_magic_cmd, produces output that libtool cannot recognize.
10215 *** The result is that libtool may fail to recognize shared libraries
10216 *** as such. This will affect the creation of libtool libraries that
10217 *** depend on shared libraries, but programs linked with such libtool
10218 *** libraries will work regardless of this problem. Nevertheless, you
10219 *** may want to report the problem to your system manager and/or to
10220 *** bug-libtool@gnu.org
10230 MAGIC_CMD
="$lt_save_MAGIC_CMD"
10235 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
10236 if test -n "$MAGIC_CMD"; then
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10238 $as_echo "$MAGIC_CMD" >&6; }
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10241 $as_echo "no" >&6; }
10254 # Use C for the default configuration in the libtool script
10258 ac_cpp
='$CPP $CPPFLAGS'
10259 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10260 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10261 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10264 # Source file extension for C test sources.
10267 # Object file extension for compiled C test sources.
10271 # Code to be used in simple compile tests
10272 lt_simple_compile_test_code
="int some_variable = 0;"
10274 # Code to be used in simple link tests
10275 lt_simple_link_test_code
='int main(){return(0);}'
10283 # If no C compiler was specified, use CC.
10286 # If no C compiler flags were specified, use CFLAGS.
10287 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
10289 # Allow CC to be a program name with arguments.
10292 # Save the default compiler, since it gets overwritten when the other
10293 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10294 compiler_DEFAULT
=$CC
10296 # save warnings/boilerplate of simple test code
10297 ac_outfile
=conftest.
$ac_objext
10298 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
10299 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10300 _lt_compiler_boilerplate
=`cat conftest.err`
10303 ac_outfile
=conftest.
$ac_objext
10304 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
10305 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
10306 _lt_linker_boilerplate
=`cat conftest.err`
10311 ## There is no encapsulation within the following macros, do not change
10312 ## the running order or otherwise move them around unless you know exactly
10313 ## what you are doing...
10314 if test -n "$compiler"; then
10316 lt_prog_compiler_no_builtin_flag
=
10318 if test "$GCC" = yes; then
10319 case $cc_basename in
10321 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
10323 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10327 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10328 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
10329 $as_echo_n "(cached) " >&6
10331 lt_cv_prog_compiler_rtti_exceptions
=no
10332 ac_outfile
=conftest.
$ac_objext
10333 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10334 lt_compiler_flag
="-fno-rtti -fno-exceptions"
10335 # Insert the option either (1) after the last *FLAGS variable, or
10336 # (2) before a word containing "conftest.", or (3) at the end.
10337 # Note that $ac_compile itself does not contain backslashes and begins
10338 # with a dollar sign (not a hyphen), so the echo should work correctly.
10339 # The option is referenced via a variable to avoid confusing sed.
10340 lt_compile
=`echo "$ac_compile" | $SED \
10341 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10342 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10343 -e 's:$: $lt_compiler_flag:'`
10344 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10345 (eval "$lt_compile" 2>conftest.err
)
10347 cat conftest.err
>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 if (exit $ac_status) && test -s "$ac_outfile"; then
10350 # The compiler can only warn and ignore the option if not recognized
10351 # So say no if there are warnings other than the usual output.
10352 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10353 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10354 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10355 lt_cv_prog_compiler_rtti_exceptions
=yes
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10362 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10364 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
10365 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10377 lt_prog_compiler_wl
=
10378 lt_prog_compiler_pic
=
10379 lt_prog_compiler_static
=
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10382 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10384 if test "$GCC" = yes; then
10385 lt_prog_compiler_wl
='-Wl,'
10386 lt_prog_compiler_static
='-static'
10390 # All AIX code is PIC.
10391 if test "$host_cpu" = ia64
; then
10392 # AIX 5 now supports IA64 processor
10393 lt_prog_compiler_static
='-Bstatic'
10395 lt_prog_compiler_pic
='-fPIC'
10401 # see comment about AmigaOS4 .so support
10402 lt_prog_compiler_pic
='-fPIC'
10405 # FIXME: we need at least 68020 code to build shared libraries, but
10406 # adding the `-m68020' flag to GCC prevents building anything better,
10408 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
10413 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
10414 # PIC is the default for these OSes.
10417 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10418 # This hack is so that the source file can tell whether it is being
10419 # built for inclusion in a dll (and should export symbols for example).
10420 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10421 # (--disable-auto-import) libraries
10422 lt_prog_compiler_pic
='-DDLL_EXPORT'
10425 darwin
* | rhapsody
*)
10426 # PIC is the default on this platform
10427 # Common symbols not allowed in MH_DYLIB files
10428 lt_prog_compiler_pic
='-fno-common'
10432 # PIC is the default for Haiku.
10433 # The "-static" flag exists, but is broken.
10434 lt_prog_compiler_static
=
10438 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10439 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10440 # sets the default TLS model and affects inlining.
10446 lt_prog_compiler_pic
='-fPIC'
10452 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10453 # Instead, we relocate shared libraries at runtime.
10457 # Just because we use GCC doesn't mean we suddenly get shared libraries
10458 # on systems that don't support them.
10459 lt_prog_compiler_can_build_shared
=no
10464 # QNX uses GNU C++, but need to define -shared option too, otherwise
10465 # it will coredump.
10466 lt_prog_compiler_pic
='-fPIC -shared'
10470 if test -d /usr
/nec
; then
10471 lt_prog_compiler_pic
=-Kconform_pic
10476 lt_prog_compiler_pic
='-fPIC'
10480 case $cc_basename in
10481 nvcc
*) # Cuda Compiler Driver 2.2
10482 lt_prog_compiler_wl
='-Xlinker '
10483 lt_prog_compiler_pic
='-Xcompiler -fPIC'
10487 # PORTME Check for flag to pass linker flags through the system compiler.
10490 lt_prog_compiler_wl
='-Wl,'
10491 if test "$host_cpu" = ia64
; then
10492 # AIX 5 now supports IA64 processor
10493 lt_prog_compiler_static
='-Bstatic'
10495 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
10499 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
10500 # This hack is so that the source file can tell whether it is being
10501 # built for inclusion in a dll (and should export symbols for example).
10502 lt_prog_compiler_pic
='-DDLL_EXPORT'
10505 hpux9
* | hpux10
* | hpux11
*)
10506 lt_prog_compiler_wl
='-Wl,'
10507 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10508 # not for PA HP-UX.
10514 lt_prog_compiler_pic
='+Z'
10517 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10518 lt_prog_compiler_static
='${wl}-a ${wl}archive'
10521 irix5
* | irix6
* | nonstopux
*)
10522 lt_prog_compiler_wl
='-Wl,'
10523 # PIC (with -KPIC) is the default.
10524 lt_prog_compiler_static
='-non_shared'
10527 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10528 case $cc_basename in
10529 # old Intel for x86_64 which still supported -KPIC.
10531 lt_prog_compiler_wl
='-Wl,'
10532 lt_prog_compiler_pic
='-KPIC'
10533 lt_prog_compiler_static
='-static'
10535 # icc used to be incompatible with GCC.
10536 # ICC 10 doesn't accept -KPIC any more.
10538 lt_prog_compiler_wl
='-Wl,'
10539 lt_prog_compiler_pic
='-fPIC'
10540 lt_prog_compiler_static
='-static'
10542 # Lahey Fortran 8.1.
10544 lt_prog_compiler_wl
='-Wl,'
10545 lt_prog_compiler_pic
='--shared'
10546 lt_prog_compiler_static
='--static'
10548 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10549 # Portland Group compilers (*not* the Pentium gcc compiler,
10550 # which looks to be a dead project)
10551 lt_prog_compiler_wl
='-Wl,'
10552 lt_prog_compiler_pic
='-fpic'
10553 lt_prog_compiler_static
='-Bstatic'
10556 lt_prog_compiler_wl
='-Wl,'
10557 # All Alpha code is PIC.
10558 lt_prog_compiler_static
='-non_shared'
10560 xl
* | bgxl
* | bgf
* | mpixl
*)
10561 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10562 lt_prog_compiler_wl
='-Wl,'
10563 lt_prog_compiler_pic
='-qpic'
10564 lt_prog_compiler_static
='-qstaticlink'
10567 case `$CC -V 2>&1 | sed 5q` in
10568 *Sun\ F
* |
*Sun
*Fortran
*)
10569 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10570 lt_prog_compiler_pic
='-KPIC'
10571 lt_prog_compiler_static
='-Bstatic'
10572 lt_prog_compiler_wl
=''
10576 lt_prog_compiler_pic
='-KPIC'
10577 lt_prog_compiler_static
='-Bstatic'
10578 lt_prog_compiler_wl
='-Wl,'
10586 lt_prog_compiler_pic
='-KPIC'
10587 lt_prog_compiler_static
='-Bstatic'
10591 # QNX uses GNU C++, but need to define -shared option too, otherwise
10592 # it will coredump.
10593 lt_prog_compiler_pic
='-fPIC -shared'
10596 osf3
* | osf4
* | osf5
*)
10597 lt_prog_compiler_wl
='-Wl,'
10598 # All OSF/1 code is PIC.
10599 lt_prog_compiler_static
='-non_shared'
10603 lt_prog_compiler_static
='-non_shared'
10607 lt_prog_compiler_pic
='-KPIC'
10608 lt_prog_compiler_static
='-Bstatic'
10609 case $cc_basename in
10610 f77
* | f90
* | f95
*)
10611 lt_prog_compiler_wl
='-Qoption ld ';;
10613 lt_prog_compiler_wl
='-Wl,';;
10618 lt_prog_compiler_wl
='-Qoption ld '
10619 lt_prog_compiler_pic
='-PIC'
10620 lt_prog_compiler_static
='-Bstatic'
10623 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10624 lt_prog_compiler_wl
='-Wl,'
10625 lt_prog_compiler_pic
='-KPIC'
10626 lt_prog_compiler_static
='-Bstatic'
10630 if test -d /usr
/nec
;then
10631 lt_prog_compiler_pic
='-Kconform_pic'
10632 lt_prog_compiler_static
='-Bstatic'
10636 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10637 lt_prog_compiler_wl
='-Wl,'
10638 lt_prog_compiler_pic
='-KPIC'
10639 lt_prog_compiler_static
='-Bstatic'
10643 lt_prog_compiler_wl
='-Wl,'
10644 lt_prog_compiler_can_build_shared
=no
10648 lt_prog_compiler_pic
='-pic'
10649 lt_prog_compiler_static
='-Bstatic'
10653 lt_prog_compiler_can_build_shared
=no
10659 # For platforms which do not support PIC, -DPIC is meaningless:
10661 lt_prog_compiler_pic
=
10664 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10668 $as_echo "$lt_prog_compiler_pic" >&6; }
10676 # Check to make sure the PIC flag actually works.
10678 if test -n "$lt_prog_compiler_pic"; then
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10680 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10681 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
10682 $as_echo_n "(cached) " >&6
10684 lt_cv_prog_compiler_pic_works
=no
10685 ac_outfile
=conftest.
$ac_objext
10686 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10687 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10688 # Insert the option either (1) after the last *FLAGS variable, or
10689 # (2) before a word containing "conftest.", or (3) at the end.
10690 # Note that $ac_compile itself does not contain backslashes and begins
10691 # with a dollar sign (not a hyphen), so the echo should work correctly.
10692 # The option is referenced via a variable to avoid confusing sed.
10693 lt_compile
=`echo "$ac_compile" | $SED \
10694 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10695 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10696 -e 's:$: $lt_compiler_flag:'`
10697 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10698 (eval "$lt_compile" 2>conftest.err
)
10700 cat conftest.err
>&5
10701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702 if (exit $ac_status) && test -s "$ac_outfile"; then
10703 # The compiler can only warn and ignore the option if not recognized
10704 # So say no if there are warnings other than the usual output.
10705 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10706 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10707 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10708 lt_cv_prog_compiler_pic_works
=yes
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10715 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10717 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10718 case $lt_prog_compiler_pic in
10720 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10723 lt_prog_compiler_pic
=
10724 lt_prog_compiler_can_build_shared
=no
10735 # Check to make sure the static flag actually works.
10737 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10739 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10740 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
10741 $as_echo_n "(cached) " >&6
10743 lt_cv_prog_compiler_static_works
=no
10744 save_LDFLAGS
="$LDFLAGS"
10745 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10746 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10747 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10748 # The linker can only warn and ignore the option if not recognized
10749 # So say no if there are warnings
10750 if test -s conftest.err
; then
10751 # Append any errors to the config.log.
10752 cat conftest.err
1>&5
10753 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10754 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10755 if diff conftest.exp conftest.er2
>/dev
/null
; then
10756 lt_cv_prog_compiler_static_works
=yes
10759 lt_cv_prog_compiler_static_works
=yes
10763 LDFLAGS
="$save_LDFLAGS"
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10767 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10769 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10772 lt_prog_compiler_static
=
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10782 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10783 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10784 $as_echo_n "(cached) " >&6
10786 lt_cv_prog_compiler_c_o
=no
10787 $RM -r conftest
2>/dev
/null
10791 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10793 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10794 # Insert the option either (1) after the last *FLAGS variable, or
10795 # (2) before a word containing "conftest.", or (3) at the end.
10796 # Note that $ac_compile itself does not contain backslashes and begins
10797 # with a dollar sign (not a hyphen), so the echo should work correctly.
10798 lt_compile
=`echo "$ac_compile" | $SED \
10799 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10800 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10801 -e 's:$: $lt_compiler_flag:'`
10802 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10803 (eval "$lt_compile" 2>out
/conftest.err
)
10805 cat out
/conftest.err
>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10809 # The compiler can only warn and ignore the option if not recognized
10810 # So say no if there are warnings
10811 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10812 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10813 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10814 lt_cv_prog_compiler_c_o
=yes
10819 # SGI C++ compiler will create directory out/ii_files/ for
10820 # template instantiation
10821 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10822 $RM out
/* && rmdir out
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10829 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10837 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10838 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10839 $as_echo_n "(cached) " >&6
10841 lt_cv_prog_compiler_c_o
=no
10842 $RM -r conftest
2>/dev
/null
10846 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10848 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10849 # Insert the option either (1) after the last *FLAGS variable, or
10850 # (2) before a word containing "conftest.", or (3) at the end.
10851 # Note that $ac_compile itself does not contain backslashes and begins
10852 # with a dollar sign (not a hyphen), so the echo should work correctly.
10853 lt_compile
=`echo "$ac_compile" | $SED \
10854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10856 -e 's:$: $lt_compiler_flag:'`
10857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10858 (eval "$lt_compile" 2>out
/conftest.err
)
10860 cat out
/conftest.err
>&5
10861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10864 # The compiler can only warn and ignore the option if not recognized
10865 # So say no if there are warnings
10866 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10867 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10868 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10869 lt_cv_prog_compiler_c_o
=yes
10874 # SGI C++ compiler will create directory out/ii_files/ for
10875 # template instantiation
10876 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10877 $RM out
/* && rmdir out
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10884 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10889 hard_links
="nottested"
10890 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10891 # do not overwrite the value of need_locks provided by the user
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10893 $as_echo_n "checking if we can lock with hard links... " >&6; }
10896 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10898 ln conftest.a conftest.b
2>&5 || hard_links
=no
10899 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10901 $as_echo "$hard_links" >&6; }
10902 if test "$hard_links" = no
; then
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10904 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10917 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10920 allow_undefined_flag
=
10921 always_export_symbols
=no
10923 archive_expsym_cmds
=
10924 compiler_needs_object
=no
10925 enable_shared_with_static_runtimes
=no
10926 export_dynamic_flag_spec
=
10927 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10928 hardcode_automatic
=no
10930 hardcode_direct_absolute
=no
10931 hardcode_libdir_flag_spec
=
10932 hardcode_libdir_flag_spec_ld
=
10933 hardcode_libdir_separator
=
10934 hardcode_minus_L
=no
10935 hardcode_shlibpath_var
=unsupported
10937 link_all_deplibs
=unknown
10939 module_expsym_cmds
=
10940 old_archive_from_new_cmds
=
10941 old_archive_from_expsyms_cmds
=
10942 thread_safe_flag_spec
=
10943 whole_archive_flag_spec
=
10944 # include_expsyms should be a list of space-separated symbols to be *always*
10945 # included in the symbol list
10947 # exclude_expsyms can be an extended regexp of symbols to exclude
10948 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10949 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10950 # as well as any symbol that contains `d'.
10951 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10952 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10953 # platforms (ab)use it in PIC code, but their linkers get confused if
10954 # the symbol is explicitly referenced. Since portable code cannot
10955 # rely on this symbol name, it's probably fine to never include it in
10956 # preloaded symbol tables.
10957 # Exclude shared library initialization/finalization symbols.
10958 extract_expsyms_cmds
=
10961 cygwin
* | mingw
* | pw32
* | cegcc
*)
10962 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10963 # When not using gcc, we currently assume that we are using
10964 # Microsoft Visual C++.
10965 if test "$GCC" != yes; then
10970 # we just hope/assume this is gcc and not c89 (= MSVC++)
10980 # On some targets, GNU ld is compatible enough with the native linker
10981 # that we're better off using the native interface for both.
10982 lt_use_gnu_ld_interface
=no
10983 if test "$with_gnu_ld" = yes; then
10986 # The AIX port of GNU ld has always aspired to compatibility
10987 # with the native linker. However, as the warning in the GNU ld
10988 # block says, versions before 2.19.5* couldn't really create working
10989 # shared libraries, regardless of the interface used.
10990 case `$LD -v 2>&1` in
10991 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10992 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10993 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10995 lt_use_gnu_ld_interface
=yes
11000 lt_use_gnu_ld_interface
=yes
11005 if test "$lt_use_gnu_ld_interface" = yes; then
11006 # If archive_cmds runs LD, not CC, wlarc should be empty
11009 # Set some defaults for GNU ld with shared library support. These
11010 # are reset later if shared libraries are not supported. Putting them
11011 # here allows them to be overridden if necessary.
11012 runpath_var
=LD_RUN_PATH
11013 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11014 export_dynamic_flag_spec
='${wl}--export-dynamic'
11015 # ancient GNU ld didn't support --whole-archive et. al.
11016 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
11017 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11019 whole_archive_flag_spec
=
11021 supports_anon_versioning
=no
11022 case `$LD -v 2>&1` in
11023 *GNU\ gold
*) supports_anon_versioning
=yes ;;
11024 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
11025 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
11026 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
11027 *\
2.11.
*) ;; # other 2.11 versions
11028 *) supports_anon_versioning
=yes ;;
11031 # See if GNU ld supports shared libraries.
11034 # On AIX/PPC, the GNU linker is very broken
11035 if test "$host_cpu" != ia64
; then
11039 *** Warning: the GNU linker, at least up to release 2.19, is reported
11040 *** to be unable to reliably create shared libraries on AIX.
11041 *** Therefore, libtool is disabling shared libraries support. If you
11042 *** really care for shared libraries, you may want to install binutils
11043 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11044 *** You will then need to restart the configuration process.
11053 # see comment about AmigaOS4 .so support
11054 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11055 archive_expsym_cmds
=''
11058 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)'
11059 hardcode_libdir_flag_spec
='-L$libdir'
11060 hardcode_minus_L
=yes
11066 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11067 allow_undefined_flag
=unsupported
11068 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11069 # support --undefined. This deserves some investigation. FIXME
11070 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11076 cygwin
* | mingw
* | pw32
* | cegcc
*)
11077 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11078 # as there is no search path for DLLs.
11079 hardcode_libdir_flag_spec
='-L$libdir'
11080 export_dynamic_flag_spec
='${wl}--export-all-symbols'
11081 allow_undefined_flag
=unsupported
11082 always_export_symbols
=no
11083 enable_shared_with_static_runtimes
=yes
11084 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11086 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
11087 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11088 # If the export-symbols file already is a .def file (1st line
11089 # is EXPORTS), use it as is; otherwise, prepend...
11090 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11091 cp $export_symbols $output_objdir/$soname.def;
11093 echo EXPORTS > $output_objdir/$soname.def;
11094 cat $export_symbols >> $output_objdir/$soname.def;
11096 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11103 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11104 link_all_deplibs
=yes
11109 hardcode_shlibpath_var
=no
11110 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11111 export_dynamic_flag_spec
='${wl}-E'
11112 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11113 # Instead, shared libraries are loaded at an image base (0x10000000 by
11114 # default) and relocated if they conflict, which is a slow very memory
11115 # consuming and fragmenting process. To avoid this, we pick a random,
11116 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11117 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11118 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11119 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'
11122 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11124 if test "$host_os" = linux-dietlibc
; then
11125 case $cc_basename in
11126 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
11129 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
11130 && test "$tmp_diet" = no
11133 tmp_sharedflag
='-shared'
11134 case $cc_basename,$host_cpu in
11135 pgcc
*) # Portland Group C compiler
11136 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'
11137 tmp_addflag
=' $pic_flag'
11139 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
11140 # Portland Group f77 and f90 compilers
11141 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'
11142 tmp_addflag
=' $pic_flag -Mnomain' ;;
11143 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
11144 tmp_addflag
=' -i_dynamic' ;;
11145 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
11146 tmp_addflag
=' -i_dynamic -nofor_main' ;;
11147 ifc
* | ifort
*) # Intel Fortran compiler
11148 tmp_addflag
=' -nofor_main' ;;
11149 lf95
*) # Lahey Fortran 8.1
11150 whole_archive_flag_spec
=
11151 tmp_sharedflag
='--shared' ;;
11152 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11153 tmp_sharedflag
='-qmkshrobj'
11155 nvcc
*) # Cuda Compiler Driver 2.2
11156 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'
11157 compiler_needs_object
=yes
11160 case `$CC -V 2>&1 | sed 5q` in
11161 *Sun\ C
*) # Sun C 5.9
11162 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'
11163 compiler_needs_object
=yes
11164 tmp_sharedflag
='-G' ;;
11165 *Sun\ F
*) # Sun Fortran 8.3
11166 tmp_sharedflag
='-G' ;;
11168 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11170 if test "x$supports_anon_versioning" = xyes
; then
11171 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11172 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11173 echo "local: *; };" >> $output_objdir/$libname.ver~
11174 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11177 case $cc_basename in
11178 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
11179 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11180 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
11181 hardcode_libdir_flag_spec
=
11182 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
11183 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11184 if test "x$supports_anon_versioning" = xyes
; then
11185 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
11186 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11187 echo "local: *; };" >> $output_objdir/$libname.ver~
11188 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11198 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11199 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11202 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11203 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11208 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
11212 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11213 *** create shared libraries on Solaris systems. Therefore, libtool
11214 *** is disabling shared libraries support. We urge you to upgrade GNU
11215 *** binutils to release 2.9.1 or newer. Another option is to modify
11216 *** your PATH or compiler configuration so that the native linker is
11217 *** used, and then restart.
11220 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
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'
11228 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
11229 case `$LD -v 2>&1` in
11230 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
11234 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11235 *** reliably create shared libraries on SCO systems. Therefore, libtool
11236 *** is disabling shared libraries support. We urge you to upgrade GNU
11237 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11238 *** your PATH or compiler configuration so that the native linker is
11239 *** used, and then restart.
11244 # For security reasons, it is highly recommended that you always
11245 # use absolute paths for naming shared libraries, and exclude the
11246 # DT_RUNPATH tag from executables and libraries. But doing so
11247 # requires that you compile everything twice, which is a pain.
11248 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11249 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11250 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11251 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11260 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11262 hardcode_direct
=yes
11263 hardcode_shlibpath_var
=no
11267 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
11268 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11269 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11276 if test "$ld_shlibs" = no
; then
11278 hardcode_libdir_flag_spec
=
11279 export_dynamic_flag_spec
=
11280 whole_archive_flag_spec
=
11283 # PORTME fill in a description of your system's linker (not GNU ld)
11286 allow_undefined_flag
=unsupported
11287 always_export_symbols
=yes
11288 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'
11289 # Note: this linker hardcodes the directories in LIBPATH if there
11290 # are no directories specified by -L.
11291 hardcode_minus_L
=yes
11292 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11293 # Neither direct hardcoding nor static linking is supported with a
11295 hardcode_direct
=unsupported
11300 if test "$host_cpu" = ia64
; then
11301 # On IA64, the linker does run time linking by default, so we don't
11302 # have to do anything special.
11303 aix_use_runtimelinking
=no
11304 exp_sym_flag
='-Bexport'
11307 # If we're using GNU nm, then we don't want the "-C" option.
11308 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11309 # Also, AIX nm treats weak defined symbols like other global
11310 # defined symbols, whereas GNU nm marks them as "W".
11311 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
11312 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'
11314 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'
11316 aix_use_runtimelinking
=no
11318 # Test if we are trying to use run time linking or normal
11319 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11320 # need to do runtime linking.
11321 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
11322 for ld_flag
in $LDFLAGS; do
11323 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
11324 aix_use_runtimelinking
=yes
11331 exp_sym_flag
='-bexport'
11332 no_entry_flag
='-bnoentry'
11335 # When large executables or shared objects are built, AIX ld can
11336 # have problems creating the table of contents. If linking a library
11337 # or program results in "error TOC overflow" add -mminimal-toc to
11338 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11339 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11342 hardcode_direct
=yes
11343 hardcode_direct_absolute
=yes
11344 hardcode_libdir_separator
=':'
11345 link_all_deplibs
=yes
11346 file_list_spec
='${wl}-f,'
11348 if test "$GCC" = yes; then
11349 case $host_os in aix4.
[012]|aix4.
[012].
*)
11350 # We only want to do this on AIX 4.2 and lower, the check
11351 # below for broken collect2 doesn't work under 4.3+
11352 collect2name
=`${CC} -print-prog-name=collect2`
11353 if test -f "$collect2name" &&
11354 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
11356 # We have reworked collect2
11359 # We have old collect2
11360 hardcode_direct
=unsupported
11361 # It fails to find uninstalled libraries when the uninstalled
11362 # path is not listed in the libpath. Setting hardcode_minus_L
11363 # to unsupported forces relinking
11364 hardcode_minus_L
=yes
11365 hardcode_libdir_flag_spec
='-L$libdir'
11366 hardcode_libdir_separator
=
11370 shared_flag
='-shared'
11371 if test "$aix_use_runtimelinking" = yes; then
11372 shared_flag
="$shared_flag "'${wl}-G'
11376 if test "$host_cpu" = ia64
; then
11377 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11378 # chokes on -Wl,-G. The following line is correct:
11381 if test "$aix_use_runtimelinking" = yes; then
11382 shared_flag
='${wl}-G'
11384 shared_flag
='${wl}-bM:SRE'
11389 export_dynamic_flag_spec
='${wl}-bexpall'
11390 # It seems that -bexpall does not export symbols beginning with
11391 # underscore (_), so it is better to generate a list of symbols to export.
11392 always_export_symbols
=yes
11393 if test "$aix_use_runtimelinking" = yes; then
11394 # Warning - without using the other runtime loading flags (-brtl),
11395 # -berok will link without error, but may produce a broken library.
11396 allow_undefined_flag
='-berok'
11397 # Determine the default libpath from the value encoded in an
11398 # empty executable.
11399 if test x
$gcc_no_link = xyes
; then
11400 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11413 if ac_fn_c_try_link
"$LINENO"; then :
11415 lt_aix_libpath_sed
='
11416 /Import File Strings/,/^$/ {
11422 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11423 # Check for a 64-bit object if we didn't find anything.
11424 if test -z "$aix_libpath"; then
11425 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11428 rm -f core conftest.err conftest.
$ac_objext \
11429 conftest
$ac_exeext conftest.
$ac_ext
11430 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11432 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11433 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"
11435 if test "$host_cpu" = ia64
; then
11436 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
11437 allow_undefined_flag
="-z nodefs"
11438 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"
11440 # Determine the default libpath from the value encoded in an
11441 # empty executable.
11442 if test x
$gcc_no_link = xyes
; then
11443 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11446 /* end confdefs.h. */
11456 if ac_fn_c_try_link
"$LINENO"; then :
11458 lt_aix_libpath_sed
='
11459 /Import File Strings/,/^$/ {
11465 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11466 # Check for a 64-bit object if we didn't find anything.
11467 if test -z "$aix_libpath"; then
11468 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11471 rm -f core conftest.err conftest.
$ac_objext \
11472 conftest
$ac_exeext conftest.
$ac_ext
11473 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11475 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
11476 # Warning - without using the other run time loading flags,
11477 # -berok will link without error, but may produce a broken library.
11478 no_undefined_flag
=' ${wl}-bernotok'
11479 allow_undefined_flag
=' ${wl}-berok'
11480 if test "$with_gnu_ld" = yes; then
11481 # We only use this code for GNU lds that support --whole-archive.
11482 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11484 # Exported symbols can be pulled into shared objects from archives
11485 whole_archive_flag_spec
='$convenience'
11487 archive_cmds_need_lc
=yes
11488 # This is similar to how AIX traditionally builds its shared libraries.
11489 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'
11497 # see comment about AmigaOS4 .so support
11498 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11499 archive_expsym_cmds
=''
11502 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)'
11503 hardcode_libdir_flag_spec
='-L$libdir'
11504 hardcode_minus_L
=yes
11510 export_dynamic_flag_spec
=-rdynamic
11513 cygwin
* | mingw
* | pw32
* | cegcc
*)
11514 # When not using gcc, we currently assume that we are using
11515 # Microsoft Visual C++.
11516 # hardcode_libdir_flag_spec is actually meaningless, as there is
11517 # no search path for DLLs.
11518 hardcode_libdir_flag_spec
=' '
11519 allow_undefined_flag
=unsupported
11520 # Tell ltmain to make .lib files, not .a files.
11522 # Tell ltmain to make .dll files, not .so files.
11524 # FIXME: Setting linknames here is a bad hack.
11525 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11526 # The linker will automatically build a .lib file if we build a DLL.
11527 old_archive_from_new_cmds
='true'
11528 # FIXME: Should let the user specify the lib program.
11529 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
11530 fix_srcfile_path
='`cygpath -w "$srcfile"`'
11531 enable_shared_with_static_runtimes
=yes
11534 darwin
* | rhapsody
*)
11537 archive_cmds_need_lc
=no
11539 hardcode_automatic
=yes
11540 hardcode_shlibpath_var
=unsupported
11541 if test "$lt_cv_ld_force_load" = "yes"; then
11542 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\"`'
11544 whole_archive_flag_spec
=''
11546 link_all_deplibs
=yes
11547 allow_undefined_flag
="$_lt_dar_allow_undefined"
11548 case $cc_basename in
11549 ifort
*) _lt_dar_can_shared
=yes ;;
11550 *) _lt_dar_can_shared
=$GCC ;;
11552 if test "$_lt_dar_can_shared" = "yes"; then
11553 output_verbose_link_cmd
=func_echo_all
11554 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11555 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11556 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}"
11557 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}"
11566 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11567 hardcode_libdir_flag_spec
='-L$libdir'
11568 hardcode_shlibpath_var
=no
11571 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11572 # support. Future versions do this automatically, but an explicit c++rt0.o
11573 # does not break anything, and helps significantly (at the cost of a little
11576 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11577 hardcode_libdir_flag_spec
='-R$libdir'
11578 hardcode_direct
=yes
11579 hardcode_shlibpath_var
=no
11582 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11584 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11585 hardcode_direct
=yes
11586 hardcode_minus_L
=yes
11587 hardcode_shlibpath_var
=no
11590 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11591 freebsd
* | dragonfly
*)
11592 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11593 hardcode_libdir_flag_spec
='-R$libdir'
11594 hardcode_direct
=yes
11595 hardcode_shlibpath_var
=no
11599 if test "$GCC" = yes; then
11600 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'
11602 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'
11604 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11605 hardcode_libdir_separator
=:
11606 hardcode_direct
=yes
11608 # hardcode_minus_L: Not really in the search PATH,
11609 # but as the default location of the library.
11610 hardcode_minus_L
=yes
11611 export_dynamic_flag_spec
='${wl}-E'
11615 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11616 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11618 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11620 if test "$with_gnu_ld" = no
; then
11621 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11622 hardcode_libdir_flag_spec_ld
='+b $libdir'
11623 hardcode_libdir_separator
=:
11624 hardcode_direct
=yes
11625 hardcode_direct_absolute
=yes
11626 export_dynamic_flag_spec
='${wl}-E'
11627 # hardcode_minus_L: Not really in the search PATH,
11628 # but as the default location of the library.
11629 hardcode_minus_L
=yes
11634 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11637 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11640 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11643 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11649 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11652 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11656 # Older versions of the 11.00 compiler do not understand -b yet
11657 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11659 $as_echo_n "checking if $CC understands -b... " >&6; }
11660 if test "${lt_cv_prog_compiler__b+set}" = set; then :
11661 $as_echo_n "(cached) " >&6
11663 lt_cv_prog_compiler__b
=no
11664 save_LDFLAGS
="$LDFLAGS"
11665 LDFLAGS
="$LDFLAGS -b"
11666 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11667 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11668 # The linker can only warn and ignore the option if not recognized
11669 # So say no if there are warnings
11670 if test -s conftest.err
; then
11671 # Append any errors to the config.log.
11672 cat conftest.err
1>&5
11673 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11674 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11675 if diff conftest.exp conftest.er2
>/dev
/null
; then
11676 lt_cv_prog_compiler__b
=yes
11679 lt_cv_prog_compiler__b
=yes
11683 LDFLAGS
="$save_LDFLAGS"
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11687 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11689 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11690 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11692 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11698 if test "$with_gnu_ld" = no
; then
11699 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11700 hardcode_libdir_separator
=:
11705 hardcode_shlibpath_var
=no
11708 hardcode_direct
=yes
11709 hardcode_direct_absolute
=yes
11710 export_dynamic_flag_spec
='${wl}-E'
11712 # hardcode_minus_L: Not really in the search PATH,
11713 # but as the default location of the library.
11714 hardcode_minus_L
=yes
11720 irix5
* | irix6
* | nonstopux
*)
11721 if test "$GCC" = yes; then
11722 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'
11723 # Try to use the -exported_symbol ld option, if it does not
11724 # work, assume that -exports_file does not work either and
11725 # implicitly export all symbols.
11726 save_LDFLAGS
="$LDFLAGS"
11727 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11728 if test x
$gcc_no_link = xyes
; then
11729 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11735 if ac_fn_c_try_link
"$LINENO"; then :
11736 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'
11739 rm -f core conftest.err conftest.
$ac_objext \
11740 conftest
$ac_exeext conftest.
$ac_ext
11741 LDFLAGS
="$save_LDFLAGS"
11743 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'
11744 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'
11746 archive_cmds_need_lc
='no'
11747 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11748 hardcode_libdir_separator
=:
11750 link_all_deplibs
=yes
11754 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11755 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11757 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11759 hardcode_libdir_flag_spec
='-R$libdir'
11760 hardcode_direct
=yes
11761 hardcode_shlibpath_var
=no
11765 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11766 hardcode_direct
=yes
11767 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11768 hardcode_libdir_separator
=:
11769 hardcode_shlibpath_var
=no
11776 if test -f /usr
/libexec
/ld.so
; then
11777 hardcode_direct
=yes
11778 hardcode_shlibpath_var
=no
11779 hardcode_direct_absolute
=yes
11780 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11781 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11782 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11783 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11784 export_dynamic_flag_spec
='${wl}-E'
11787 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11788 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11789 hardcode_libdir_flag_spec
='-R$libdir'
11792 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11793 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11803 hardcode_libdir_flag_spec
='-L$libdir'
11804 hardcode_minus_L
=yes
11805 allow_undefined_flag
=unsupported
11806 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'
11807 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11811 if test "$GCC" = yes; then
11812 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11813 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'
11815 allow_undefined_flag
=' -expect_unresolved \*'
11816 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'
11818 archive_cmds_need_lc
='no'
11819 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11820 hardcode_libdir_separator
=:
11823 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11824 if test "$GCC" = yes; then
11825 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11826 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'
11827 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11829 allow_undefined_flag
=' -expect_unresolved \*'
11830 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'
11831 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~
11832 $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'
11834 # Both c and cxx compiler support -rpath directly
11835 hardcode_libdir_flag_spec
='-rpath $libdir'
11837 archive_cmds_need_lc
='no'
11838 hardcode_libdir_separator
=:
11842 no_undefined_flag
=' -z defs'
11843 if test "$GCC" = yes; then
11845 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11846 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11847 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11849 case `$CC -V 2>&1` in
11852 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11853 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11854 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11858 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11859 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11860 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11864 hardcode_libdir_flag_spec
='-R$libdir'
11865 hardcode_shlibpath_var
=no
11867 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11869 # The compiler driver will combine and reorder linker options,
11870 # but understands `-z linker_flag'. GCC discards it without `$wl',
11871 # but is careful enough not to reorder.
11872 # Supported since Solaris 2.6 (maybe 2.5.1?)
11873 if test "$GCC" = yes; then
11874 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11876 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11880 link_all_deplibs
=yes
11884 if test "x$host_vendor" = xsequent
; then
11885 # Use $CC to link under sequent, because it throws in some extra .o
11886 # files that make .init and .fini sections work.
11887 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11889 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11891 hardcode_libdir_flag_spec
='-L$libdir'
11892 hardcode_direct
=yes
11893 hardcode_minus_L
=yes
11894 hardcode_shlibpath_var
=no
11898 case $host_vendor in
11900 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11901 hardcode_direct
=yes # is this really true???
11904 ## LD is ld it makes a PLAMLIB
11905 ## CC just makes a GrossModule.
11906 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11907 reload_cmds
='$CC -r -o $output$reload_objs'
11911 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11912 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11915 runpath_var
='LD_RUN_PATH'
11916 hardcode_shlibpath_var
=no
11920 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11921 hardcode_shlibpath_var
=no
11922 export_dynamic_flag_spec
='-Bexport'
11926 if test -d /usr
/nec
; then
11927 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11928 hardcode_shlibpath_var
=no
11929 runpath_var
=LD_RUN_PATH
11930 hardcode_runpath_var
=yes
11935 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11936 no_undefined_flag
='${wl}-z,text'
11937 archive_cmds_need_lc
=no
11938 hardcode_shlibpath_var
=no
11939 runpath_var
='LD_RUN_PATH'
11941 if test "$GCC" = yes; then
11942 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11943 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11945 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11946 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11950 sysv5
* | sco3.2v5
* | sco5v6
*)
11951 # Note: We can NOT use -z defs as we might desire, because we do not
11952 # link with -lc, and that would cause any symbols used from libc to
11953 # always be unresolved, which means just about no library would
11954 # ever link correctly. If we're not using GNU ld we use -z text
11955 # though, which does catch some bad symbols but isn't as heavy-handed
11957 no_undefined_flag
='${wl}-z,text'
11958 allow_undefined_flag
='${wl}-z,nodefs'
11959 archive_cmds_need_lc
=no
11960 hardcode_shlibpath_var
=no
11961 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11962 hardcode_libdir_separator
=':'
11963 link_all_deplibs
=yes
11964 export_dynamic_flag_spec
='${wl}-Bexport'
11965 runpath_var
='LD_RUN_PATH'
11967 if test "$GCC" = yes; then
11968 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11969 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11971 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11972 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11977 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11978 hardcode_libdir_flag_spec
='-L$libdir'
11979 hardcode_shlibpath_var
=no
11987 if test x
$host_vendor = xsni
; then
11989 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11990 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11997 $as_echo "$ld_shlibs" >&6; }
11998 test "$ld_shlibs" = no
&& can_build_shared
=no
12000 with_gnu_ld
=$with_gnu_ld
12017 # Do we need to explicitly link libc?
12019 case "x$archive_cmds_need_lc" in
12021 # Assume -lc should be added
12022 archive_cmds_need_lc
=yes
12024 if test "$enable_shared" = yes && test "$GCC" = yes; then
12025 case $archive_cmds in
12027 # FIXME: we may have to deal with multi-command sequences.
12030 # Test whether the compiler implicitly links with -lc since on some
12031 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12032 # to ld, don't add -lc before -lgcc.
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12034 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12035 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
12036 $as_echo_n "(cached) " >&6
12039 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12042 (eval $ac_compile) 2>&5
12044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12045 test $ac_status = 0; } 2>conftest.err
; then
12048 libobjs
=conftest.
$ac_objext
12050 wl
=$lt_prog_compiler_wl
12051 pic_flag
=$lt_prog_compiler_pic
12057 lt_save_allow_undefined_flag
=$allow_undefined_flag
12058 allow_undefined_flag
=
12059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12060 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
12062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12063 test $ac_status = 0; }
12065 lt_cv_archive_cmds_need_lc
=no
12067 lt_cv_archive_cmds_need_lc
=yes
12069 allow_undefined_flag
=$lt_save_allow_undefined_flag
12071 cat conftest.err
1>&5
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12077 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12078 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12242 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12244 if test "$GCC" = yes; then
12246 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
12247 *) lt_awk_arg
="/^libraries:/" ;;
12250 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
12251 *) lt_sed_strip_eq
="s,=/,/,g" ;;
12253 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12254 case $lt_search_path_spec in
12256 # if the path contains ";" then we assume it to be the separator
12257 # otherwise default to the standard path separator (i.e. ":") - it is
12258 # assumed that no part of a normal pathname contains ";" but that should
12259 # okay in the real world where ";" in dirpaths is itself problematic.
12260 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12263 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12266 # Ok, now we have the path, separated by spaces, we can step through it
12267 # and add multilib dir if necessary.
12268 lt_tmp_lt_search_path_spec
=
12269 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12270 for lt_sys_path
in $lt_search_path_spec; do
12271 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12272 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12274 test -d "$lt_sys_path" && \
12275 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
12278 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12279 BEGIN {RS=" "; FS="/|\n";} {
12282 for (lt_i = NF; lt_i > 0; lt_i--) {
12283 if ($lt_i != "" && $lt_i != ".") {
12284 if ($lt_i == "..") {
12287 if (lt_count == 0) {
12288 lt_foo="/" $lt_i lt_foo;
12295 if (lt_foo != "") { lt_freq[lt_foo]++; }
12296 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12298 # AWK program above erroneously prepends '/' to C:/dos/paths
12301 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
12302 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12304 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12306 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
12308 library_names_spec
=
12309 libname_spec
='lib$name'
12313 postuninstall_cmds
=
12317 shlibpath_overrides_runpath
=unknown
12319 dynamic_linker
="$host_os ld.so"
12320 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
12321 need_lib_prefix
=unknown
12322 hardcode_into_libs
=no
12324 # when you set need_version to no, make sure it does not cause -set_version
12325 # flags to be left without arguments
12326 need_version
=unknown
12331 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
12332 shlibpath_var
=LIBPATH
12334 # AIX 3 has no versioning support, so we append a major version to the name.
12335 soname_spec
='${libname}${release}${shared_ext}$major'
12342 hardcode_into_libs
=yes
12343 if test "$host_cpu" = ia64
; then
12344 # AIX 5 supports IA64
12345 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12346 shlibpath_var
=LD_LIBRARY_PATH
12348 # With GCC up to 2.95.x, collect2 would create an import file
12349 # for dependence libraries. The import file would start with
12350 # the line `#! .'. This would cause the generated library to
12351 # depend on `.', always an invalid library. This was fixed in
12352 # development snapshots of GCC prior to 3.0.
12354 aix4 | aix4.
[01] | aix4.
[01].
*)
12355 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12357 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
12360 can_build_shared
=no
12364 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12365 # soname into executable. Probably we can add versioning support to
12366 # collect2, so additional links can be useful in future.
12367 if test "$aix_use_runtimelinking" = yes; then
12368 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12369 # instead of lib<name>.a to let people know that these are not
12370 # typical AIX shared libraries.
12371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12373 # We preserve .a as extension for shared libraries through AIX4.2
12374 # and later when we are not doing run time linking.
12375 library_names_spec
='${libname}${release}.a $libname.a'
12376 soname_spec
='${libname}${release}${shared_ext}$major'
12378 shlibpath_var
=LIBPATH
12385 # Since July 2007 AmigaOS4 officially supports .so libraries.
12386 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12390 library_names_spec
='$libname.ixlibrary $libname.a'
12391 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12392 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'
12398 library_names_spec
='${libname}${shared_ext}'
12399 dynamic_linker
="$host_os ld.so"
12400 shlibpath_var
=LIBRARY_PATH
12406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12407 soname_spec
='${libname}${release}${shared_ext}$major'
12408 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
12409 shlibpath_var
=LD_LIBRARY_PATH
12410 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12411 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
12412 # the default ld.so.conf also contains /usr/contrib/lib and
12413 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12414 # libtool to hard-code these into programs
12417 cygwin
* | mingw
* | pw32
* | cegcc
*)
12418 version_type
=windows
12423 case $GCC,$host_os in
12424 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
12425 library_names_spec
='$libname.dll.a'
12426 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12427 postinstall_cmds
='base_file=`basename \${file}`~
12428 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12429 dldir=$destdir/`dirname \$dlpath`~
12430 test -d \$dldir || mkdir -p \$dldir~
12431 $install_prog $dir/$dlname \$dldir/$dlname~
12432 chmod a+x \$dldir/$dlname~
12433 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12434 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12436 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12437 dlpath=$dir/\$dldll~
12439 shlibpath_overrides_runpath
=yes
12443 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12444 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12446 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
12449 # MinGW DLLs use traditional 'lib' prefix
12450 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12453 # pw32 DLLs use 'pw' prefix rather than 'lib'
12454 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12460 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12463 dynamic_linker
='Win32 ld.exe'
12464 # FIXME: first we should search . and the directory the executable is in
12468 darwin
* | rhapsody
*)
12469 dynamic_linker
="$host_os dyld"
12470 version_type
=darwin
12473 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12474 soname_spec
='${libname}${release}${major}$shared_ext'
12475 shlibpath_overrides_runpath
=yes
12476 shlibpath_var
=DYLD_LIBRARY_PATH
12477 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
12479 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
12480 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
12487 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12488 soname_spec
='${libname}${release}${shared_ext}$major'
12489 shlibpath_var
=LD_LIBRARY_PATH
12492 freebsd
* | dragonfly
*)
12493 # DragonFly does not have aout. When/if they implement a new
12494 # versioning mechanism, adjust this.
12495 if test -x /usr
/bin
/objformat
; then
12496 objformat
=`/usr/bin/objformat`
12499 freebsd
[23].
*) objformat
=aout
;;
12500 *) objformat
=elf
;;
12503 version_type
=freebsd-
$objformat
12504 case $version_type in
12506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12511 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12515 shlibpath_var
=LD_LIBRARY_PATH
12518 shlibpath_overrides_runpath
=yes
12520 freebsd3.
[01]* | freebsdelf3.
[01]*)
12521 shlibpath_overrides_runpath
=yes
12522 hardcode_into_libs
=yes
12524 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12525 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12526 shlibpath_overrides_runpath
=no
12527 hardcode_into_libs
=yes
12529 *) # from 4.6 on, and DragonFly
12530 shlibpath_overrides_runpath
=yes
12531 hardcode_into_libs
=yes
12540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12541 soname_spec
='${libname}${release}${shared_ext}$major'
12542 shlibpath_var
=LD_LIBRARY_PATH
12543 hardcode_into_libs
=yes
12550 dynamic_linker
="$host_os runtime_loader"
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 shlibpath_var
=LIBRARY_PATH
12554 shlibpath_overrides_runpath
=yes
12555 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
12556 hardcode_into_libs
=yes
12559 hpux9
* | hpux10
* | hpux11
*)
12560 # Give a soname corresponding to the major version so that dld.sl refuses to
12561 # link against other versions.
12568 hardcode_into_libs
=yes
12569 dynamic_linker
="$host_os dld.so"
12570 shlibpath_var
=LD_LIBRARY_PATH
12571 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12573 soname_spec
='${libname}${release}${shared_ext}$major'
12574 if test "X$HPUX_IA64_MODE" = X32
; then
12575 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12577 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12579 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12583 hardcode_into_libs
=yes
12584 dynamic_linker
="$host_os dld.sl"
12585 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12586 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12588 soname_spec
='${libname}${release}${shared_ext}$major'
12589 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12590 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12594 dynamic_linker
="$host_os dld.sl"
12595 shlibpath_var
=SHLIB_PATH
12596 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12598 soname_spec
='${libname}${release}${shared_ext}$major'
12601 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12602 postinstall_cmds
='chmod 555 $lib'
12603 # or fails outright, so override atomically:
12604 install_override_mode
=555
12611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12612 soname_spec
='${libname}${release}${shared_ext}$major'
12613 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12614 shlibpath_var
=LD_LIBRARY_PATH
12615 shlibpath_overrides_runpath
=no
12616 hardcode_into_libs
=yes
12619 irix5
* | irix6
* | nonstopux
*)
12621 nonstopux
*) version_type
=nonstopux
;;
12623 if test "$lt_cv_prog_gnu_ld" = yes; then
12631 soname_spec
='${libname}${release}${shared_ext}$major'
12632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12634 irix5
* | nonstopux
*)
12635 libsuff
= shlibsuff
=
12638 case $LD in # libtool.m4 will add one of these switches to LD
12639 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12640 libsuff
= shlibsuff
= libmagic
=32-bit;;
12641 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12642 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12643 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12644 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12645 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12649 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12650 shlibpath_overrides_runpath
=no
12651 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12652 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12653 hardcode_into_libs
=yes
12656 # No shared lib support for Linux oldld, aout, or coff.
12657 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12661 # This must be Linux ELF.
12662 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12667 soname_spec
='${libname}${release}${shared_ext}$major'
12668 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12669 shlibpath_var
=LD_LIBRARY_PATH
12670 shlibpath_overrides_runpath
=no
12672 # Some binutils ld are patched to set DT_RUNPATH
12673 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
12674 $as_echo_n "(cached) " >&6
12676 lt_cv_shlibpath_overrides_runpath
=no
12677 save_LDFLAGS
=$LDFLAGS
12678 save_libdir
=$libdir
12679 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12680 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12681 if test x
$gcc_no_link = xyes
; then
12682 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12695 if ac_fn_c_try_link
"$LINENO"; then :
12696 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12697 lt_cv_shlibpath_overrides_runpath
=yes
12700 rm -f core conftest.err conftest.
$ac_objext \
12701 conftest
$ac_exeext conftest.
$ac_ext
12702 LDFLAGS
=$save_LDFLAGS
12703 libdir
=$save_libdir
12707 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12709 # This implies no fast_install, which is unacceptable.
12710 # Some rework will be needed to allow for fast_install
12711 # before this can be enabled.
12712 hardcode_into_libs
=yes
12714 # Append ld.so.conf contents to the search path
12715 if test -f /etc
/ld.so.conf
; then
12716 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' ' '`
12717 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12720 # We used to test for /lib/ld.so.1 and disable shared libraries on
12721 # powerpc, because MkLinux only supported shared libraries with the
12722 # GNU dynamic linker. Since this was broken with cross compilers,
12723 # most powerpc-linux boxes support dynamic linking these days and
12724 # people can always --disable-shared, the test was removed, and we
12725 # assume the GNU/Linux dynamic linker is in use.
12726 dynamic_linker
='GNU/Linux ld.so'
12733 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12735 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12736 dynamic_linker
='NetBSD (a.out) ld.so'
12738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12739 soname_spec
='${libname}${release}${shared_ext}$major'
12740 dynamic_linker
='NetBSD ld.elf_so'
12742 shlibpath_var
=LD_LIBRARY_PATH
12743 shlibpath_overrides_runpath
=yes
12744 hardcode_into_libs
=yes
12749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12750 shlibpath_var
=LD_LIBRARY_PATH
12751 shlibpath_overrides_runpath
=yes
12758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12759 soname_spec
='${libname}${release}${shared_ext}$major'
12760 shlibpath_var
=LD_LIBRARY_PATH
12761 shlibpath_overrides_runpath
=no
12762 hardcode_into_libs
=yes
12763 dynamic_linker
='ldqnx.so'
12768 sys_lib_dlsearch_path_spec
="/usr/lib"
12770 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12772 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12773 *) need_version
=no
;;
12775 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12776 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12777 shlibpath_var
=LD_LIBRARY_PATH
12778 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12780 openbsd2.
[89] | openbsd2.
[89].
*)
12781 shlibpath_overrides_runpath
=no
12784 shlibpath_overrides_runpath
=yes
12788 shlibpath_overrides_runpath
=yes
12793 libname_spec
='$name'
12796 library_names_spec
='$libname${shared_ext} $libname.a'
12797 dynamic_linker
='OS/2 ld.exe'
12798 shlibpath_var
=LIBPATH
12801 osf3
* | osf4
* | osf5
*)
12805 soname_spec
='${libname}${release}${shared_ext}$major'
12806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12807 shlibpath_var
=LD_LIBRARY_PATH
12808 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12809 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12821 soname_spec
='${libname}${release}${shared_ext}$major'
12822 shlibpath_var
=LD_LIBRARY_PATH
12823 shlibpath_overrides_runpath
=yes
12824 hardcode_into_libs
=yes
12825 # ldd complains unless libraries are executable
12826 postinstall_cmds
='chmod +x $lib'
12831 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12832 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12833 shlibpath_var
=LD_LIBRARY_PATH
12834 shlibpath_overrides_runpath
=yes
12835 if test "$with_gnu_ld" = yes; then
12843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12844 soname_spec
='${libname}${release}${shared_ext}$major'
12845 shlibpath_var
=LD_LIBRARY_PATH
12846 case $host_vendor in
12848 shlibpath_overrides_runpath
=no
12850 runpath_var
=LD_RUN_PATH
12858 shlibpath_overrides_runpath
=no
12859 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12865 if test -d /usr
/nec
;then
12867 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12868 soname_spec
='$libname${shared_ext}.$major'
12869 shlibpath_var
=LD_LIBRARY_PATH
12873 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12874 version_type
=freebsd-elf
12877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12878 soname_spec
='${libname}${release}${shared_ext}$major'
12879 shlibpath_var
=LD_LIBRARY_PATH
12880 shlibpath_overrides_runpath
=yes
12881 hardcode_into_libs
=yes
12882 if test "$with_gnu_ld" = yes; then
12883 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12885 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12888 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12892 sys_lib_dlsearch_path_spec
='/usr/lib'
12896 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12901 shlibpath_var
=LD_LIBRARY_PATH
12902 shlibpath_overrides_runpath
=no
12903 hardcode_into_libs
=yes
12908 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12909 soname_spec
='${libname}${release}${shared_ext}$major'
12910 shlibpath_var
=LD_LIBRARY_PATH
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12918 $as_echo "$dynamic_linker" >&6; }
12919 test "$dynamic_linker" = no
&& can_build_shared
=no
12921 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12922 if test "$GCC" = yes; then
12923 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12926 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12927 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12929 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12930 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13025 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13027 if test -n "$hardcode_libdir_flag_spec" ||
13028 test -n "$runpath_var" ||
13029 test "X$hardcode_automatic" = "Xyes" ; then
13031 # We can hardcode non-existent directories.
13032 if test "$hardcode_direct" != no
&&
13033 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13034 # have to relink, otherwise we might link with an installed library
13035 # when we should be linking with a yet-to-be-installed one
13036 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13037 test "$hardcode_minus_L" != no
; then
13038 # Linking always hardcodes the temporary library directory.
13039 hardcode_action
=relink
13041 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13042 hardcode_action
=immediate
13045 # We cannot hardcode anything, or else we can only hardcode existing
13047 hardcode_action
=unsupported
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13050 $as_echo "$hardcode_action" >&6; }
13052 if test "$hardcode_action" = relink ||
13053 test "$inherit_rpath" = yes; then
13054 # Fast installation is not supported
13055 enable_fast_install
=no
13056 elif test "$shlibpath_overrides_runpath" = yes ||
13057 test "$enable_shared" = no
; then
13058 # Fast installation is not necessary
13059 enable_fast_install
=needless
13067 if test "x$enable_dlopen" != xyes
; then
13068 enable_dlopen
=unknown
13069 enable_dlopen_self
=unknown
13070 enable_dlopen_self_static
=unknown
13077 lt_cv_dlopen
="load_add_on"
13079 lt_cv_dlopen_self
=yes
13082 mingw
* | pw32
* | cegcc
*)
13083 lt_cv_dlopen
="LoadLibrary"
13088 lt_cv_dlopen
="dlopen"
13093 # if libdl is installed we need to link against it
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13095 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13096 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13097 $as_echo_n "(cached) " >&6
13099 ac_check_lib_save_LIBS
=$LIBS
13101 if test x
$gcc_no_link = xyes
; then
13102 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13122 if ac_fn_c_try_link
"$LINENO"; then :
13123 ac_cv_lib_dl_dlopen
=yes
13125 ac_cv_lib_dl_dlopen
=no
13127 rm -f core conftest.err conftest.
$ac_objext \
13128 conftest
$ac_exeext conftest.
$ac_ext
13129 LIBS
=$ac_check_lib_save_LIBS
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13132 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13133 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13134 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13137 lt_cv_dlopen
="dyld"
13139 lt_cv_dlopen_self
=yes
13146 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13147 if test "x$ac_cv_func_shl_load" = x
""yes; then :
13148 lt_cv_dlopen
="shl_load"
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13151 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13152 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13153 $as_echo_n "(cached) " >&6
13155 ac_check_lib_save_LIBS
=$LIBS
13157 if test x
$gcc_no_link = xyes
; then
13158 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13161 /* end confdefs.h. */
13163 /* Override any GCC internal prototype to avoid an error.
13164 Use char because int might match the return type of a GCC
13165 builtin and then its argument prototype would still apply. */
13173 return shl_load ();
13178 if ac_fn_c_try_link
"$LINENO"; then :
13179 ac_cv_lib_dld_shl_load
=yes
13181 ac_cv_lib_dld_shl_load
=no
13183 rm -f core conftest.err conftest.
$ac_objext \
13184 conftest
$ac_exeext conftest.
$ac_ext
13185 LIBS
=$ac_check_lib_save_LIBS
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13188 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13189 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
13190 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
13192 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13193 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13194 lt_cv_dlopen
="dlopen"
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13197 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13198 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13199 $as_echo_n "(cached) " >&6
13201 ac_check_lib_save_LIBS
=$LIBS
13203 if test x
$gcc_no_link = xyes
; then
13204 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13207 /* end confdefs.h. */
13209 /* Override any GCC internal prototype to avoid an error.
13210 Use char because int might match the return type of a GCC
13211 builtin and then its argument prototype would still apply. */
13224 if ac_fn_c_try_link
"$LINENO"; then :
13225 ac_cv_lib_dl_dlopen
=yes
13227 ac_cv_lib_dl_dlopen
=no
13229 rm -f core conftest.err conftest.
$ac_objext \
13230 conftest
$ac_exeext conftest.
$ac_ext
13231 LIBS
=$ac_check_lib_save_LIBS
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13234 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13235 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13236 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13239 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13240 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13241 $as_echo_n "(cached) " >&6
13243 ac_check_lib_save_LIBS
=$LIBS
13244 LIBS
="-lsvld $LIBS"
13245 if test x
$gcc_no_link = xyes
; then
13246 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13251 /* Override any GCC internal prototype to avoid an error.
13252 Use char because int might match the return type of a GCC
13253 builtin and then its argument prototype would still apply. */
13266 if ac_fn_c_try_link
"$LINENO"; then :
13267 ac_cv_lib_svld_dlopen
=yes
13269 ac_cv_lib_svld_dlopen
=no
13271 rm -f core conftest.err conftest.
$ac_objext \
13272 conftest
$ac_exeext conftest.
$ac_ext
13273 LIBS
=$ac_check_lib_save_LIBS
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13276 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13277 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
13278 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13281 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13282 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13283 $as_echo_n "(cached) " >&6
13285 ac_check_lib_save_LIBS
=$LIBS
13287 if test x
$gcc_no_link = xyes
; then
13288 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13293 /* Override any GCC internal prototype to avoid an error.
13294 Use char because int might match the return type of a GCC
13295 builtin and then its argument prototype would still apply. */
13303 return dld_link ();
13308 if ac_fn_c_try_link
"$LINENO"; then :
13309 ac_cv_lib_dld_dld_link
=yes
13311 ac_cv_lib_dld_dld_link
=no
13313 rm -f core conftest.err conftest.
$ac_objext \
13314 conftest
$ac_exeext conftest.
$ac_ext
13315 LIBS
=$ac_check_lib_save_LIBS
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13318 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13319 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
13320 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
13341 if test "x$lt_cv_dlopen" != xno
; then
13347 case $lt_cv_dlopen in
13349 save_CPPFLAGS
="$CPPFLAGS"
13350 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
13352 save_LDFLAGS
="$LDFLAGS"
13353 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
13356 LIBS
="$lt_cv_dlopen_libs $LIBS"
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13359 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13360 if test "${lt_cv_dlopen_self+set}" = set; then :
13361 $as_echo_n "(cached) " >&6
13363 if test "$cross_compiling" = yes; then :
13364 lt_cv_dlopen_self
=cross
13366 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13367 lt_status
=$lt_dlunknown
13368 cat > conftest.
$ac_ext <<_LT_EOF
13369 #line 13369 "configure"
13370 #include "confdefs.h"
13379 # define LT_DLGLOBAL RTLD_GLOBAL
13382 # define LT_DLGLOBAL DL_GLOBAL
13384 # define LT_DLGLOBAL 0
13388 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13389 find out it does not work in some platform. */
13390 #ifndef LT_DLLAZY_OR_NOW
13392 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13395 # define LT_DLLAZY_OR_NOW DL_LAZY
13398 # define LT_DLLAZY_OR_NOW RTLD_NOW
13401 # define LT_DLLAZY_OR_NOW DL_NOW
13403 # define LT_DLLAZY_OR_NOW 0
13410 /* When -fvisbility=hidden is used, assume the code has been annotated
13411 correspondingly for the symbols needed. */
13412 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13413 void fnord () __attribute__((visibility("default")));
13416 void fnord () { int i=42; }
13419 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13420 int status = $lt_dlunknown;
13424 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13427 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13428 else puts (dlerror ());
13430 /* dlclose (self); */
13438 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13439 (eval $ac_link) 2>&5
13441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13442 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13443 (.
/conftest
; exit; ) >&5 2>/dev
/null
13445 case x
$lt_status in
13446 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
13447 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
13448 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
13451 # compilation failed
13452 lt_cv_dlopen_self
=no
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13460 $as_echo "$lt_cv_dlopen_self" >&6; }
13462 if test "x$lt_cv_dlopen_self" = xyes
; then
13463 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13465 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13466 if test "${lt_cv_dlopen_self_static+set}" = set; then :
13467 $as_echo_n "(cached) " >&6
13469 if test "$cross_compiling" = yes; then :
13470 lt_cv_dlopen_self_static
=cross
13472 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
13473 lt_status
=$lt_dlunknown
13474 cat > conftest.
$ac_ext <<_LT_EOF
13475 #line 13475 "configure"
13476 #include "confdefs.h"
13485 # define LT_DLGLOBAL RTLD_GLOBAL
13488 # define LT_DLGLOBAL DL_GLOBAL
13490 # define LT_DLGLOBAL 0
13494 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13495 find out it does not work in some platform. */
13496 #ifndef LT_DLLAZY_OR_NOW
13498 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13501 # define LT_DLLAZY_OR_NOW DL_LAZY
13504 # define LT_DLLAZY_OR_NOW RTLD_NOW
13507 # define LT_DLLAZY_OR_NOW DL_NOW
13509 # define LT_DLLAZY_OR_NOW 0
13516 /* When -fvisbility=hidden is used, assume the code has been annotated
13517 correspondingly for the symbols needed. */
13518 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13519 void fnord () __attribute__((visibility("default")));
13522 void fnord () { int i=42; }
13525 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13526 int status = $lt_dlunknown;
13530 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13533 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13534 else puts (dlerror ());
13536 /* dlclose (self); */
13544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13545 (eval $ac_link) 2>&5
13547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13548 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13549 (.
/conftest
; exit; ) >&5 2>/dev
/null
13551 case x
$lt_status in
13552 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13553 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13554 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13557 # compilation failed
13558 lt_cv_dlopen_self_static
=no
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13566 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13569 CPPFLAGS
="$save_CPPFLAGS"
13570 LDFLAGS
="$save_LDFLAGS"
13575 case $lt_cv_dlopen_self in
13576 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13577 *) enable_dlopen_self
=unknown
;;
13580 case $lt_cv_dlopen_self_static in
13581 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13582 *) enable_dlopen_self_static
=unknown
;;
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13605 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13606 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13607 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13608 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13610 $as_echo "yes" >&6; }
13612 # FIXME - insert some real tests, host_os isn't really good enough
13615 if test -n "$STRIP" ; then
13616 striplib
="$STRIP -x"
13617 old_striplib
="$STRIP -S"
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13619 $as_echo "yes" >&6; }
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13622 $as_echo "no" >&6; }
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13627 $as_echo "no" >&6; }
13643 # Report which library types will actually be built
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13645 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13647 $as_echo "$can_build_shared" >&6; }
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13650 $as_echo_n "checking whether to build shared libraries... " >&6; }
13651 test "$can_build_shared" = "no" && enable_shared
=no
13653 # On AIX, shared libraries and static libraries use the same namespace, and
13654 # are all built from PIC.
13657 test "$enable_shared" = yes && enable_static
=no
13658 if test -n "$RANLIB"; then
13659 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13660 postinstall_cmds
='$RANLIB $lib'
13665 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13666 test "$enable_shared" = yes && enable_static
=no
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13671 $as_echo "$enable_shared" >&6; }
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13674 $as_echo_n "checking whether to build static libraries... " >&6; }
13675 # Make sure either enable_shared or enable_static is yes.
13676 test "$enable_shared" = yes || enable_static
=yes
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13678 $as_echo "$enable_static" >&6; }
13685 ac_cpp
='$CPP $CPPFLAGS'
13686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13692 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13693 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13694 (test "X$CXX" != "Xg++"))) ; then
13696 ac_cpp
='$CXXCPP $CPPFLAGS'
13697 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13698 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13699 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13701 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13702 if test -z "$CXXCPP"; then
13703 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13704 $as_echo_n "(cached) " >&6
13706 # Double quotes because CXXCPP needs to be expanded
13707 for CXXCPP
in "$CXX -E" "/lib/cpp"
13709 ac_preproc_ok
=false
13710 for ac_cxx_preproc_warn_flag
in '' yes
13712 # Use a header file that comes with gcc, so configuring glibc
13713 # with a fresh cross-compiler works.
13714 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13715 # <limits.h> exists even on freestanding compilers.
13716 # On the NeXT, cc -E runs the code through the compiler's parser,
13717 # not just through cpp. "Syntax error" is here to catch this case.
13718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13719 /* end confdefs.h. */
13721 # include <limits.h>
13723 # include <assert.h>
13727 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13730 # Broken: fails on valid input.
13733 rm -f conftest.err conftest.
$ac_ext
13735 # OK, works on sane cases. Now check whether nonexistent headers
13736 # can be detected and how.
13737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13738 /* end confdefs.h. */
13739 #include <ac_nonexistent.h>
13741 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13742 # Broken: success on invalid input.
13745 # Passes both tests.
13749 rm -f conftest.err conftest.
$ac_ext
13752 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13753 rm -f conftest.err conftest.
$ac_ext
13754 if $ac_preproc_ok; then :
13759 ac_cv_prog_CXXCPP
=$CXXCPP
13762 CXXCPP
=$ac_cv_prog_CXXCPP
13764 ac_cv_prog_CXXCPP
=$CXXCPP
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13767 $as_echo "$CXXCPP" >&6; }
13768 ac_preproc_ok
=false
13769 for ac_cxx_preproc_warn_flag
in '' yes
13771 # Use a header file that comes with gcc, so configuring glibc
13772 # with a fresh cross-compiler works.
13773 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13774 # <limits.h> exists even on freestanding compilers.
13775 # On the NeXT, cc -E runs the code through the compiler's parser,
13776 # not just through cpp. "Syntax error" is here to catch this case.
13777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13778 /* end confdefs.h. */
13780 # include <limits.h>
13782 # include <assert.h>
13786 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13789 # Broken: fails on valid input.
13792 rm -f conftest.err conftest.
$ac_ext
13794 # OK, works on sane cases. Now check whether nonexistent headers
13795 # can be detected and how.
13796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13797 /* end confdefs.h. */
13798 #include <ac_nonexistent.h>
13800 if ac_fn_cxx_try_cpp
"$LINENO"; then :
13801 # Broken: success on invalid input.
13804 # Passes both tests.
13808 rm -f conftest.err conftest.
$ac_ext
13811 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13812 rm -f conftest.err conftest.
$ac_ext
13813 if $ac_preproc_ok; then :
13816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13818 as_fn_error
"C++ preprocessor \"$CXXCPP\" fails sanity check
13819 See \`config.log' for more details." "$LINENO" 5; }
13823 ac_cpp
='$CPP $CPPFLAGS'
13824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13829 _lt_caught_CXX_error
=yes
13833 ac_cpp
='$CXXCPP $CPPFLAGS'
13834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13838 archive_cmds_need_lc_CXX
=no
13839 allow_undefined_flag_CXX
=
13840 always_export_symbols_CXX
=no
13841 archive_expsym_cmds_CXX
=
13842 compiler_needs_object_CXX
=no
13843 export_dynamic_flag_spec_CXX
=
13844 hardcode_direct_CXX
=no
13845 hardcode_direct_absolute_CXX
=no
13846 hardcode_libdir_flag_spec_CXX
=
13847 hardcode_libdir_flag_spec_ld_CXX
=
13848 hardcode_libdir_separator_CXX
=
13849 hardcode_minus_L_CXX
=no
13850 hardcode_shlibpath_var_CXX
=unsupported
13851 hardcode_automatic_CXX
=no
13852 inherit_rpath_CXX
=no
13854 module_expsym_cmds_CXX
=
13855 link_all_deplibs_CXX
=unknown
13856 old_archive_cmds_CXX
=$old_archive_cmds
13857 reload_flag_CXX
=$reload_flag
13858 reload_cmds_CXX
=$reload_cmds
13859 no_undefined_flag_CXX
=
13860 whole_archive_flag_spec_CXX
=
13861 enable_shared_with_static_runtimes_CXX
=no
13863 # Source file extension for C++ test sources.
13866 # Object file extension for compiled C++ test sources.
13870 # No sense in running all these tests if we already determined that
13871 # the CXX compiler isn't working. Some variables (like enable_shared)
13872 # are currently assumed to apply to all compilers on this platform,
13873 # and will be corrupted by setting them based on a non-working compiler.
13874 if test "$_lt_caught_CXX_error" != yes; then
13875 # Code to be used in simple compile tests
13876 lt_simple_compile_test_code
="int some_variable = 0;"
13878 # Code to be used in simple link tests
13879 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13881 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13888 # If no C compiler was specified, use CC.
13891 # If no C compiler flags were specified, use CFLAGS.
13892 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13894 # Allow CC to be a program name with arguments.
13898 # save warnings/boilerplate of simple test code
13899 ac_outfile
=conftest.
$ac_objext
13900 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13901 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13902 _lt_compiler_boilerplate
=`cat conftest.err`
13905 ac_outfile
=conftest.
$ac_objext
13906 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13907 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13908 _lt_linker_boilerplate
=`cat conftest.err`
13912 # Allow CC to be a program name with arguments.
13917 lt_save_with_gnu_ld
=$with_gnu_ld
13918 lt_save_path_LD
=$lt_cv_path_LD
13919 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13920 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13922 $as_unset lt_cv_prog_gnu_ld
13924 if test -n "${lt_cv_path_LDCXX+set}"; then
13925 lt_cv_path_LD
=$lt_cv_path_LDCXX
13927 $as_unset lt_cv_path_LD
13929 test -z "${LDCXX+set}" || LD
=$LDCXX
13933 for cc_temp
in $compiler""; do
13935 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13936 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13941 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13944 if test -n "$compiler"; then
13945 # We don't want -fno-exception when compiling C++ code, so set the
13946 # no_builtin_flag separately
13947 if test "$GXX" = yes; then
13948 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13950 lt_prog_compiler_no_builtin_flag_CXX
=
13953 if test "$GXX" = yes; then
13954 # Set up default GNU C++ configuration
13958 # Check whether --with-gnu-ld was given.
13959 if test "${with_gnu_ld+set}" = set; then :
13960 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13966 if test "$GCC" = yes; then
13967 # Check if gcc -print-prog-name=ld gives a path.
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13969 $as_echo_n "checking for ld used by $CC... " >&6; }
13972 # gcc leaves a trailing carriage return which upsets mingw
13973 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13975 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13978 # Accept absolute paths.
13980 re_direlt
='/[^/][^/]*/\.\./'
13981 # Canonicalize the pathname of ld
13982 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13983 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13984 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13986 test -z "$LD" && LD
="$ac_prog"
13989 # If it fails, then pretend we aren't using GCC.
13993 # If it is relative, then search for the first ld in PATH.
13994 with_gnu_ld
=unknown
13997 elif test "$with_gnu_ld" = yes; then
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13999 $as_echo_n "checking for GNU ld... " >&6; }
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14002 $as_echo_n "checking for non-GNU ld... " >&6; }
14004 if test "${lt_cv_path_LD+set}" = set; then :
14005 $as_echo_n "(cached) " >&6
14007 if test -z "$LD"; then
14008 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
14009 for ac_dir
in $PATH; do
14011 test -z "$ac_dir" && ac_dir
=.
14012 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
14013 lt_cv_path_LD
="$ac_dir/$ac_prog"
14014 # Check to see if the program is GNU ld. I'd rather use --version,
14015 # but apparently some variants of GNU ld only accept -v.
14016 # Break only if it was the GNU/non-GNU ld that we prefer.
14017 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14018 *GNU
* |
*'with BFD'*)
14019 test "$with_gnu_ld" != no
&& break
14022 test "$with_gnu_ld" != yes && break
14029 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
14033 LD
="$lt_cv_path_LD"
14034 if test -n "$LD"; then
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14036 $as_echo "$LD" >&6; }
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14039 $as_echo "no" >&6; }
14041 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14043 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14044 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14045 $as_echo_n "(cached) " >&6
14047 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14048 case `$LD -v 2>&1 </dev/null` in
14049 *GNU
* |
*'with BFD'*)
14050 lt_cv_prog_gnu_ld
=yes
14053 lt_cv_prog_gnu_ld
=no
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14058 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14059 with_gnu_ld
=$lt_cv_prog_gnu_ld
14067 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14068 # archiving commands below assume that GNU ld is being used.
14069 if test "$with_gnu_ld" = yes; then
14070 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14071 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'
14073 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14074 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14076 # If archive_cmds runs LD, not CC, wlarc should be empty
14077 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14078 # investigate it a little bit more. (MM)
14081 # ancient GNU ld didn't support --whole-archive et. al.
14082 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14083 $GREP 'no-whole-archive' > /dev
/null
; then
14084 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14086 whole_archive_flag_spec_CXX
=
14092 # A generic and very simple default shared library creation
14093 # command for GNU C++ for the case where it uses the native
14094 # linker, instead of GNU ld. If possible, this setting should
14095 # overridden to take advantage of the native linker features on
14096 # the platform it is being used on.
14097 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14100 # Commands to make compiler produce verbose output that lists
14101 # what "hidden" libraries, object files and flags are used when
14102 # linking a shared library.
14103 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14111 # PORTME: fill in a description of your system's C++ link characteristics
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14113 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14117 # FIXME: insert proper C++ library support
14121 if test "$host_cpu" = ia64
; then
14122 # On IA64, the linker does run time linking by default, so we don't
14123 # have to do anything special.
14124 aix_use_runtimelinking
=no
14125 exp_sym_flag
='-Bexport'
14128 aix_use_runtimelinking
=no
14130 # Test if we are trying to use run time linking or normal
14131 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14132 # need to do runtime linking.
14133 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14134 for ld_flag
in $LDFLAGS; do
14137 aix_use_runtimelinking
=yes
14145 exp_sym_flag
='-bexport'
14146 no_entry_flag
='-bnoentry'
14149 # When large executables or shared objects are built, AIX ld can
14150 # have problems creating the table of contents. If linking a library
14151 # or program results in "error TOC overflow" add -mminimal-toc to
14152 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14153 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14155 archive_cmds_CXX
=''
14156 hardcode_direct_CXX
=yes
14157 hardcode_direct_absolute_CXX
=yes
14158 hardcode_libdir_separator_CXX
=':'
14159 link_all_deplibs_CXX
=yes
14160 file_list_spec_CXX
='${wl}-f,'
14162 if test "$GXX" = yes; then
14163 case $host_os in aix4.
[012]|aix4.
[012].
*)
14164 # We only want to do this on AIX 4.2 and lower, the check
14165 # below for broken collect2 doesn't work under 4.3+
14166 collect2name
=`${CC} -print-prog-name=collect2`
14167 if test -f "$collect2name" &&
14168 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14170 # We have reworked collect2
14173 # We have old collect2
14174 hardcode_direct_CXX
=unsupported
14175 # It fails to find uninstalled libraries when the uninstalled
14176 # path is not listed in the libpath. Setting hardcode_minus_L
14177 # to unsupported forces relinking
14178 hardcode_minus_L_CXX
=yes
14179 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14180 hardcode_libdir_separator_CXX
=
14183 shared_flag
='-shared'
14184 if test "$aix_use_runtimelinking" = yes; then
14185 shared_flag
="$shared_flag "'${wl}-G'
14189 if test "$host_cpu" = ia64
; then
14190 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14191 # chokes on -Wl,-G. The following line is correct:
14194 if test "$aix_use_runtimelinking" = yes; then
14195 shared_flag
='${wl}-G'
14197 shared_flag
='${wl}-bM:SRE'
14202 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
14203 # It seems that -bexpall does not export symbols beginning with
14204 # underscore (_), so it is better to generate a list of symbols to
14206 always_export_symbols_CXX
=yes
14207 if test "$aix_use_runtimelinking" = yes; then
14208 # Warning - without using the other runtime loading flags (-brtl),
14209 # -berok will link without error, but may produce a broken library.
14210 allow_undefined_flag_CXX
='-berok'
14211 # Determine the default libpath from the value encoded in an empty
14213 if test x
$gcc_no_link = xyes
; then
14214 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14227 if ac_fn_cxx_try_link
"$LINENO"; then :
14229 lt_aix_libpath_sed
='
14230 /Import File Strings/,/^$/ {
14236 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14237 # Check for a 64-bit object if we didn't find anything.
14238 if test -z "$aix_libpath"; then
14239 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14242 rm -f core conftest.err conftest.
$ac_objext \
14243 conftest
$ac_exeext conftest.
$ac_ext
14244 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14246 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14248 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"
14250 if test "$host_cpu" = ia64
; then
14251 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
14252 allow_undefined_flag_CXX
="-z nodefs"
14253 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"
14255 # Determine the default libpath from the value encoded in an
14256 # empty executable.
14257 if test x
$gcc_no_link = xyes
; then
14258 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14271 if ac_fn_cxx_try_link
"$LINENO"; then :
14273 lt_aix_libpath_sed
='
14274 /Import File Strings/,/^$/ {
14280 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14281 # Check for a 64-bit object if we didn't find anything.
14282 if test -z "$aix_libpath"; then
14283 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14286 rm -f core conftest.err conftest.
$ac_objext \
14287 conftest
$ac_exeext conftest.
$ac_ext
14288 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14290 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
14291 # Warning - without using the other run time loading flags,
14292 # -berok will link without error, but may produce a broken library.
14293 no_undefined_flag_CXX
=' ${wl}-bernotok'
14294 allow_undefined_flag_CXX
=' ${wl}-berok'
14295 if test "$with_gnu_ld" = yes; then
14296 # We only use this code for GNU lds that support --whole-archive.
14297 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14299 # Exported symbols can be pulled into shared objects from archives
14300 whole_archive_flag_spec_CXX
='$convenience'
14302 archive_cmds_need_lc_CXX
=yes
14303 # This is similar to how AIX traditionally builds its shared
14305 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'
14311 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14312 allow_undefined_flag_CXX
=unsupported
14313 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14314 # support --undefined. This deserves some investigation. FIXME
14315 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14322 case $cc_basename in
14324 # FIXME: insert proper C++ library support
14330 cygwin
* | mingw
* | pw32
* | cegcc
*)
14331 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14332 # as there is no search path for DLLs.
14333 hardcode_libdir_flag_spec_CXX
='-L$libdir'
14334 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
14335 allow_undefined_flag_CXX
=unsupported
14336 always_export_symbols_CXX
=no
14337 enable_shared_with_static_runtimes_CXX
=yes
14339 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14340 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'
14341 # If the export-symbols file already is a .def file (1st line
14342 # is EXPORTS), use it as is; otherwise, prepend...
14343 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14344 cp $export_symbols $output_objdir/$soname.def;
14346 echo EXPORTS > $output_objdir/$soname.def;
14347 cat $export_symbols >> $output_objdir/$soname.def;
14349 $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'
14354 darwin
* | rhapsody
*)
14357 archive_cmds_need_lc_CXX
=no
14358 hardcode_direct_CXX
=no
14359 hardcode_automatic_CXX
=yes
14360 hardcode_shlibpath_var_CXX
=unsupported
14361 if test "$lt_cv_ld_force_load" = "yes"; then
14362 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\"`'
14364 whole_archive_flag_spec_CXX
=''
14366 link_all_deplibs_CXX
=yes
14367 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
14368 case $cc_basename in
14369 ifort
*) _lt_dar_can_shared
=yes ;;
14370 *) _lt_dar_can_shared
=$GCC ;;
14372 if test "$_lt_dar_can_shared" = "yes"; then
14373 output_verbose_link_cmd
=func_echo_all
14374 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}"
14375 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14376 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}"
14377 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}"
14378 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14379 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}"
14380 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}"
14390 case $cc_basename in
14392 # FIXME: insert proper C++ library support
14396 # Green Hills C++ Compiler
14397 # FIXME: insert proper C++ library support
14401 # FIXME: insert proper C++ library support
14408 # C++ shared libraries reported to be fairly broken before
14414 archive_cmds_need_lc_CXX
=no
14417 freebsd
* | dragonfly
*)
14418 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14427 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14428 link_all_deplibs_CXX
=yes
14432 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14433 hardcode_libdir_separator_CXX
=:
14434 export_dynamic_flag_spec_CXX
='${wl}-E'
14435 hardcode_direct_CXX
=yes
14436 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14437 # but as the default
14438 # location of the library.
14440 case $cc_basename in
14442 # FIXME: insert proper C++ library support
14446 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'
14447 # Commands to make compiler produce verbose output that lists
14448 # what "hidden" libraries, object files and flags are used when
14449 # linking a shared library.
14451 # There doesn't appear to be a way to prevent this compiler from
14452 # explicitly linking system object files so we need to strip them
14453 # from the output so that they don't get included in the library
14455 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"'
14458 if test "$GXX" = yes; then
14459 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'
14461 # FIXME: insert proper C++ library support
14469 if test $with_gnu_ld = no
; then
14470 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
14471 hardcode_libdir_separator_CXX
=:
14477 export_dynamic_flag_spec_CXX
='${wl}-E'
14483 hardcode_direct_CXX
=no
14484 hardcode_shlibpath_var_CXX
=no
14487 hardcode_direct_CXX
=yes
14488 hardcode_direct_absolute_CXX
=yes
14489 hardcode_minus_L_CXX
=yes # Not in the search PATH,
14490 # but as the default
14491 # location of the library.
14495 case $cc_basename in
14497 # FIXME: insert proper C++ library support
14503 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14506 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14509 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14512 # Commands to make compiler produce verbose output that lists
14513 # what "hidden" libraries, object files and flags are used when
14514 # linking a shared library.
14516 # There doesn't appear to be a way to prevent this compiler from
14517 # explicitly linking system object files so we need to strip them
14518 # from the output so that they don't get included in the library
14520 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"'
14523 if test "$GXX" = yes; then
14524 if test $with_gnu_ld = no
; then
14527 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14530 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14533 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'
14538 # FIXME: insert proper C++ library support
14546 hardcode_direct_CXX
=no
14547 hardcode_shlibpath_var_CXX
=no
14548 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14549 export_dynamic_flag_spec_CXX
='${wl}-E'
14550 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14551 # Instead, shared libraries are loaded at an image base (0x10000000 by
14552 # default) and relocated if they conflict, which is a slow very memory
14553 # consuming and fragmenting process. To avoid this, we pick a random,
14554 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14555 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14556 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'
14557 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'
14560 case $cc_basename in
14563 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'
14565 # Archives containing C++ object files must be created using
14566 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14567 # necessary to make sure instantiated templates are included
14569 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
14572 if test "$GXX" = yes; then
14573 if test "$with_gnu_ld" = no
; then
14574 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'
14576 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'
14579 link_all_deplibs_CXX
=yes
14582 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14583 hardcode_libdir_separator_CXX
=:
14584 inherit_rpath_CXX
=yes
14587 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14588 case $cc_basename in
14590 # Kuck and Associates, Inc. (KAI) C++ Compiler
14592 # KCC will only create a shared library if the output file
14593 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14594 # to its proper name (with version) after linking.
14595 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'
14596 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'
14597 # Commands to make compiler produce verbose output that lists
14598 # what "hidden" libraries, object files and flags are used when
14599 # linking a shared library.
14601 # There doesn't appear to be a way to prevent this compiler from
14602 # explicitly linking system object files so we need to strip them
14603 # from the output so that they don't get included in the library
14605 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"'
14607 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14608 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14610 # Archives containing C++ object files must be created using
14611 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14612 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
14617 # version 8.0 and above of icpc choke on multiply defined symbols
14618 # if we add $predep_objects and $postdep_objects, however 7.1 and
14619 # earlier do not add the objects themselves.
14620 case `$CC -V 2>&1` in
14622 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14623 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'
14625 *) # Version 8.0 or newer
14628 ia64
*) tmp_idyn
=' -i_dynamic';;
14630 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14631 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'
14634 archive_cmds_need_lc_CXX
=no
14635 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14636 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14637 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14640 # Portland Group C++ compiler
14642 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
14643 prelink_cmds_CXX
='tpldir=Template.dir~
14645 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14646 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14647 old_archive_cmds_CXX
='tpldir=Template.dir~
14649 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14650 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14652 archive_cmds_CXX
='tpldir=Template.dir~
14654 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14655 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14656 archive_expsym_cmds_CXX
='tpldir=Template.dir~
14658 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14659 $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'
14661 *) # Version 6 and above use weak symbols
14662 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14663 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'
14667 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
14668 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14669 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'
14673 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14674 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'
14676 runpath_var
=LD_RUN_PATH
14677 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14678 hardcode_libdir_separator_CXX
=:
14680 # Commands to make compiler produce verbose output that lists
14681 # what "hidden" libraries, object files and flags are used when
14682 # linking a shared library.
14684 # There doesn't appear to be a way to prevent this compiler from
14685 # explicitly linking system object files so we need to strip them
14686 # from the output so that they don't get included in the library
14688 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'
14690 xl
* | mpixl
* | bgxl
*)
14691 # IBM XL 8.0 on PPC, with GNU ld
14692 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14693 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
14694 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14695 if test "x$supports_anon_versioning" = xyes
; then
14696 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
14697 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14698 echo "local: *; };" >> $output_objdir/$libname.ver~
14699 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14703 case `$CC -V 2>&1 | sed 5q` in
14706 no_undefined_flag_CXX
=' -zdefs'
14707 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14708 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'
14709 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14710 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'
14711 compiler_needs_object_CXX
=yes
14713 # Not sure whether something based on
14714 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14716 output_verbose_link_cmd
='func_echo_all'
14718 # Archives containing C++ object files must be created using
14719 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14720 # necessary to make sure instantiated templates are included
14722 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14730 # FIXME: insert proper C++ library support
14735 # FIXME: insert proper C++ library support
14740 case $cc_basename in
14742 # FIXME: insert proper C++ library support
14746 # FIXME: insert proper C++ library support
14753 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14754 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14756 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14757 hardcode_direct_CXX
=yes
14758 hardcode_shlibpath_var_CXX
=no
14760 # Workaround some broken pre-1.5 toolchains
14761 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14769 # C++ shared libraries are fairly broken
14774 if test -f /usr
/libexec
/ld.so
; then
14775 hardcode_direct_CXX
=yes
14776 hardcode_shlibpath_var_CXX
=no
14777 hardcode_direct_absolute_CXX
=yes
14778 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14779 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14780 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14781 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14782 export_dynamic_flag_spec_CXX
='${wl}-E'
14783 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14785 output_verbose_link_cmd
=func_echo_all
14791 osf3
* | osf4
* | osf5
*)
14792 case $cc_basename in
14794 # Kuck and Associates, Inc. (KAI) C++ Compiler
14796 # KCC will only create a shared library if the output file
14797 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14798 # to its proper name (with version) after linking.
14799 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'
14801 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14802 hardcode_libdir_separator_CXX
=:
14804 # Archives containing C++ object files must be created using
14805 # the KAI C++ compiler.
14807 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14808 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14812 # Rational C++ 2.4.1
14813 # FIXME: insert proper C++ library support
14819 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14820 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'
14821 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14824 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14825 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'
14826 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14827 echo "-hidden">> $lib.exp~
14828 $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~
14830 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14834 hardcode_libdir_separator_CXX
=:
14836 # Commands to make compiler produce verbose output that lists
14837 # what "hidden" libraries, object files and flags are used when
14838 # linking a shared library.
14840 # There doesn't appear to be a way to prevent this compiler from
14841 # explicitly linking system object files so we need to strip them
14842 # from the output so that they don't get included in the library
14844 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"'
14847 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14848 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14851 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'
14854 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'
14858 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14859 hardcode_libdir_separator_CXX
=:
14861 # Commands to make compiler produce verbose output that lists
14862 # what "hidden" libraries, object files and flags are used when
14863 # linking a shared library.
14864 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14867 # FIXME: insert proper C++ library support
14875 # FIXME: insert proper C++ library support
14880 case $cc_basename in
14883 # FIXME: insert proper C++ library support
14888 # FIXME: insert proper C++ library support
14892 # FIXME: insert proper C++ library support
14899 case $cc_basename in
14901 # Sun C++ 4.2, 5.x and Centerline C++
14902 archive_cmds_need_lc_CXX
=yes
14903 no_undefined_flag_CXX
=' -zdefs'
14904 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14905 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14906 $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'
14908 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14909 hardcode_shlibpath_var_CXX
=no
14911 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14913 # The compiler driver will combine and reorder linker options,
14914 # but understands `-z linker_flag'.
14915 # Supported since Solaris 2.6 (maybe 2.5.1?)
14916 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14919 link_all_deplibs_CXX
=yes
14921 output_verbose_link_cmd
='func_echo_all'
14923 # Archives containing C++ object files must be created using
14924 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14925 # necessary to make sure instantiated templates are included
14927 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14930 # Green Hills C++ Compiler
14931 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14933 # The C++ compiler must be used to create the archive.
14934 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14937 # GNU C++ compiler with Solaris linker
14938 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14939 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14940 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14941 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14942 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14943 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14945 # Commands to make compiler produce verbose output that lists
14946 # what "hidden" libraries, object files and flags are used when
14947 # linking a shared library.
14948 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14950 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14952 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14953 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14954 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14956 # Commands to make compiler produce verbose output that lists
14957 # what "hidden" libraries, object files and flags are used when
14958 # linking a shared library.
14959 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14962 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14964 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14966 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14974 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14975 no_undefined_flag_CXX
='${wl}-z,text'
14976 archive_cmds_need_lc_CXX
=no
14977 hardcode_shlibpath_var_CXX
=no
14978 runpath_var
='LD_RUN_PATH'
14980 case $cc_basename in
14982 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14983 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14986 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14987 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14992 sysv5
* | sco3.2v5
* | sco5v6
*)
14993 # Note: We can NOT use -z defs as we might desire, because we do not
14994 # link with -lc, and that would cause any symbols used from libc to
14995 # always be unresolved, which means just about no library would
14996 # ever link correctly. If we're not using GNU ld we use -z text
14997 # though, which does catch some bad symbols but isn't as heavy-handed
14999 no_undefined_flag_CXX
='${wl}-z,text'
15000 allow_undefined_flag_CXX
='${wl}-z,nodefs'
15001 archive_cmds_need_lc_CXX
=no
15002 hardcode_shlibpath_var_CXX
=no
15003 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
15004 hardcode_libdir_separator_CXX
=':'
15005 link_all_deplibs_CXX
=yes
15006 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
15007 runpath_var
='LD_RUN_PATH'
15009 case $cc_basename in
15011 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15012 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15013 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
15014 '"$old_archive_cmds_CXX"
15015 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
15016 '"$reload_cmds_CXX"
15019 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15020 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15026 case $cc_basename in
15028 # NonStop-UX NCC 3.20
15029 # FIXME: insert proper C++ library support
15033 # FIXME: insert proper C++ library support
15040 # FIXME: insert proper C++ library support
15045 # FIXME: insert proper C++ library support
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15051 $as_echo "$ld_shlibs_CXX" >&6; }
15052 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15058 ## There is no encapsulation within the following macros, do not change
15059 ## the running order or otherwise move them around unless you know exactly
15060 ## what you are doing...
15061 # Dependencies to place before and after the object being linked:
15062 predep_objects_CXX
=
15063 postdep_objects_CXX
=
15066 compiler_lib_search_path_CXX
=
15068 cat > conftest.
$ac_ext <<_LT_EOF
15072 Foo (void) { a = 0; }
15078 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15079 (eval $ac_compile) 2>&5
15081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15082 test $ac_status = 0; }; then
15083 # Parse the compiler output and extract the necessary
15084 # objects, libraries and library flags.
15086 # Sentinel used to keep track of whether or not we are before
15087 # the conftest object file.
15088 pre_test_object_deps_done
=no
15090 for p
in `eval "$output_verbose_link_cmd"`; do
15094 # Some compilers place space between "-{L,R}" and the path.
15095 # Remove the space.
15096 if test $p = "-L" ||
15097 test $p = "-R"; then
15104 if test "$pre_test_object_deps_done" = no
; then
15107 # Internal compiler library paths should come after those
15108 # provided the user. The postdeps already come after the
15109 # user supplied libs so there is no need to process them.
15110 if test -z "$compiler_lib_search_path_CXX"; then
15111 compiler_lib_search_path_CXX
="${prev}${p}"
15113 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
15116 # The "-l" case would never come before the object being
15117 # linked, so don't bother handling this case.
15120 if test -z "$postdeps_CXX"; then
15121 postdeps_CXX
="${prev}${p}"
15123 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
15129 # This assumes that the test object file only shows up
15130 # once in the compiler output.
15131 if test "$p" = "conftest.$objext"; then
15132 pre_test_object_deps_done
=yes
15136 if test "$pre_test_object_deps_done" = no
; then
15137 if test -z "$predep_objects_CXX"; then
15138 predep_objects_CXX
="$p"
15140 predep_objects_CXX
="$predep_objects_CXX $p"
15143 if test -z "$postdep_objects_CXX"; then
15144 postdep_objects_CXX
="$p"
15146 postdep_objects_CXX
="$postdep_objects_CXX $p"
15151 *) ;; # Ignore the rest.
15159 echo "libtool.m4: error: problem compiling CXX test program"
15162 $RM -f confest.
$objext
15164 # PORTME: override above test on systems where it is broken
15167 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15168 # hack all around it, let's just trust "g++" to DTRT.
15169 predep_objects_CXX
=
15170 postdep_objects_CXX
=
15175 case `$CC -V 2>&1 | sed 5q` in
15179 # The more standards-conforming stlport4 library is
15180 # incompatible with the Cstd library. Avoid specifying
15181 # it if it's in CXXFLAGS. Ignore libCrun as
15182 # -library=stlport4 depends on it.
15183 case " $CXX $CXXFLAGS " in
15184 *" -library=stlport4 "*)
15185 solaris_use_stlport4
=yes
15189 if test "$solaris_use_stlport4" != yes; then
15190 postdeps_CXX
='-library=Cstd -library=Crun'
15197 case $cc_basename in
15199 # The more standards-conforming stlport4 library is
15200 # incompatible with the Cstd library. Avoid specifying
15201 # it if it's in CXXFLAGS. Ignore libCrun as
15202 # -library=stlport4 depends on it.
15203 case " $CXX $CXXFLAGS " in
15204 *" -library=stlport4 "*)
15205 solaris_use_stlport4
=yes
15209 # Adding this requires a known-good setup of shared libraries for
15210 # Sun compiler versions before 5.6, else PIC objects from an old
15211 # archive will be linked into the output, leading to subtle bugs.
15212 if test "$solaris_use_stlport4" != yes; then
15213 postdeps_CXX
='-library=Cstd -library=Crun'
15221 case " $postdeps_CXX " in
15222 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
15224 compiler_lib_search_dirs_CXX
=
15225 if test -n "${compiler_lib_search_path_CXX}"; then
15226 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15259 lt_prog_compiler_wl_CXX
=
15260 lt_prog_compiler_pic_CXX
=
15261 lt_prog_compiler_static_CXX
=
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15264 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15266 # C++ specific cases for pic, static, wl, etc.
15267 if test "$GXX" = yes; then
15268 lt_prog_compiler_wl_CXX
='-Wl,'
15269 lt_prog_compiler_static_CXX
='-static'
15273 # All AIX code is PIC.
15274 if test "$host_cpu" = ia64
; then
15275 # AIX 5 now supports IA64 processor
15276 lt_prog_compiler_static_CXX
='-Bstatic'
15278 lt_prog_compiler_pic_CXX
='-fPIC'
15284 # see comment about AmigaOS4 .so support
15285 lt_prog_compiler_pic_CXX
='-fPIC'
15288 # FIXME: we need at least 68020 code to build shared libraries, but
15289 # adding the `-m68020' flag to GCC prevents building anything better,
15291 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
15296 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
15297 # PIC is the default for these OSes.
15299 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
15300 # This hack is so that the source file can tell whether it is being
15301 # built for inclusion in a dll (and should export symbols for example).
15302 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15303 # (--disable-auto-import) libraries
15304 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
15306 darwin
* | rhapsody
*)
15307 # PIC is the default on this platform
15308 # Common symbols not allowed in MH_DYLIB files
15309 lt_prog_compiler_pic_CXX
='-fno-common'
15312 # DJGPP does not support shared libraries at all
15313 lt_prog_compiler_pic_CXX
=
15316 # PIC is the default for Haiku.
15317 # The "-static" flag exists, but is broken.
15318 lt_prog_compiler_static_CXX
=
15321 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15322 # Instead, we relocate shared libraries at runtime.
15325 if test -d /usr
/nec
; then
15326 lt_prog_compiler_pic_CXX
=-Kconform_pic
15330 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15331 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15332 # sets the default TLS model and affects inlining.
15337 lt_prog_compiler_pic_CXX
='-fPIC'
15342 # QNX uses GNU C++, but need to define -shared option too, otherwise
15343 # it will coredump.
15344 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15347 lt_prog_compiler_pic_CXX
='-fPIC'
15353 # All AIX code is PIC.
15354 if test "$host_cpu" = ia64
; then
15355 # AIX 5 now supports IA64 processor
15356 lt_prog_compiler_static_CXX
='-Bstatic'
15358 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
15362 case $cc_basename in
15364 # Green Hills C++ Compiler
15365 # _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"
15370 case $cc_basename in
15372 lt_prog_compiler_pic_CXX
='-KPIC'
15375 # Green Hills C++ Compiler
15376 lt_prog_compiler_pic_CXX
='-pic'
15382 freebsd
* | dragonfly
*)
15383 # FreeBSD uses GNU C++
15385 hpux9
* | hpux10
* | hpux11
*)
15386 case $cc_basename in
15388 lt_prog_compiler_wl_CXX
='-Wl,'
15389 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15390 if test "$host_cpu" != ia64
; then
15391 lt_prog_compiler_pic_CXX
='+Z'
15395 lt_prog_compiler_wl_CXX
='-Wl,'
15396 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
15402 lt_prog_compiler_pic_CXX
='+Z'
15411 # This is c89, which is MS Visual C++ (no shared libs)
15412 # Anyone wants to do a port?
15414 irix5
* | irix6
* | nonstopux
*)
15415 case $cc_basename in
15417 lt_prog_compiler_wl_CXX
='-Wl,'
15418 lt_prog_compiler_static_CXX
='-non_shared'
15419 # CC pic flag -KPIC is the default.
15425 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15426 case $cc_basename in
15429 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15430 lt_prog_compiler_pic_CXX
='-fPIC'
15433 # old Intel C++ for x86_64 which still supported -KPIC.
15434 lt_prog_compiler_wl_CXX
='-Wl,'
15435 lt_prog_compiler_pic_CXX
='-KPIC'
15436 lt_prog_compiler_static_CXX
='-static'
15439 # Intel C++, used to be incompatible with GCC.
15440 # ICC 10 doesn't accept -KPIC any more.
15441 lt_prog_compiler_wl_CXX
='-Wl,'
15442 lt_prog_compiler_pic_CXX
='-fPIC'
15443 lt_prog_compiler_static_CXX
='-static'
15446 # Portland Group C++ compiler
15447 lt_prog_compiler_wl_CXX
='-Wl,'
15448 lt_prog_compiler_pic_CXX
='-fpic'
15449 lt_prog_compiler_static_CXX
='-Bstatic'
15453 # Make sure the PIC flag is empty. It appears that all Alpha
15454 # Linux and Compaq Tru64 Unix objects are PIC.
15455 lt_prog_compiler_pic_CXX
=
15456 lt_prog_compiler_static_CXX
='-non_shared'
15458 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
15459 # IBM XL 8.0, 9.0 on PPC and BlueGene
15460 lt_prog_compiler_wl_CXX
='-Wl,'
15461 lt_prog_compiler_pic_CXX
='-qpic'
15462 lt_prog_compiler_static_CXX
='-qstaticlink'
15465 case `$CC -V 2>&1 | sed 5q` in
15468 lt_prog_compiler_pic_CXX
='-KPIC'
15469 lt_prog_compiler_static_CXX
='-Bstatic'
15470 lt_prog_compiler_wl_CXX
='-Qoption ld '
15481 case $cc_basename in
15483 lt_prog_compiler_pic_CXX
='-W c,exportall'
15492 # QNX uses GNU C++, but need to define -shared option too, otherwise
15493 # it will coredump.
15494 lt_prog_compiler_pic_CXX
='-fPIC -shared'
15496 osf3
* | osf4
* | osf5
*)
15497 case $cc_basename in
15499 lt_prog_compiler_wl_CXX
='--backend -Wl,'
15502 # Rational C++ 2.4.1
15503 lt_prog_compiler_pic_CXX
='-pic'
15506 # Digital/Compaq C++
15507 lt_prog_compiler_wl_CXX
='-Wl,'
15508 # Make sure the PIC flag is empty. It appears that all Alpha
15509 # Linux and Compaq Tru64 Unix objects are PIC.
15510 lt_prog_compiler_pic_CXX
=
15511 lt_prog_compiler_static_CXX
='-non_shared'
15520 case $cc_basename in
15522 # Sun C++ 4.2, 5.x and Centerline C++
15523 lt_prog_compiler_pic_CXX
='-KPIC'
15524 lt_prog_compiler_static_CXX
='-Bstatic'
15525 lt_prog_compiler_wl_CXX
='-Qoption ld '
15528 # Green Hills C++ Compiler
15529 lt_prog_compiler_pic_CXX
='-PIC'
15536 case $cc_basename in
15539 lt_prog_compiler_pic_CXX
='-pic'
15540 lt_prog_compiler_static_CXX
='-Bstatic'
15544 lt_prog_compiler_pic_CXX
='-pic'
15550 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
15551 case $cc_basename in
15553 lt_prog_compiler_wl_CXX
='-Wl,'
15554 lt_prog_compiler_pic_CXX
='-KPIC'
15555 lt_prog_compiler_static_CXX
='-Bstatic'
15560 case $cc_basename in
15562 # NonStop-UX NCC 3.20
15563 lt_prog_compiler_pic_CXX
='-KPIC'
15572 lt_prog_compiler_can_build_shared_CXX
=no
15578 # For platforms which do not support PIC, -DPIC is meaningless:
15580 lt_prog_compiler_pic_CXX
=
15583 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15587 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15592 # Check to make sure the PIC flag actually works.
15594 if test -n "$lt_prog_compiler_pic_CXX"; then
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15596 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15597 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15598 $as_echo_n "(cached) " >&6
15600 lt_cv_prog_compiler_pic_works_CXX
=no
15601 ac_outfile
=conftest.
$ac_objext
15602 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15603 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
15604 # Insert the option either (1) after the last *FLAGS variable, or
15605 # (2) before a word containing "conftest.", or (3) at the end.
15606 # Note that $ac_compile itself does not contain backslashes and begins
15607 # with a dollar sign (not a hyphen), so the echo should work correctly.
15608 # The option is referenced via a variable to avoid confusing sed.
15609 lt_compile
=`echo "$ac_compile" | $SED \
15610 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15611 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15612 -e 's:$: $lt_compiler_flag:'`
15613 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15614 (eval "$lt_compile" 2>conftest.err
)
15616 cat conftest.err
>&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 if (exit $ac_status) && test -s "$ac_outfile"; then
15619 # The compiler can only warn and ignore the option if not recognized
15620 # So say no if there are warnings other than the usual output.
15621 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
15622 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15623 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
15624 lt_cv_prog_compiler_pic_works_CXX
=yes
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15631 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15633 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
15634 case $lt_prog_compiler_pic_CXX in
15636 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
15639 lt_prog_compiler_pic_CXX
=
15640 lt_prog_compiler_can_build_shared_CXX
=no
15648 # Check to make sure the static flag actually works.
15650 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15652 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15653 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15654 $as_echo_n "(cached) " >&6
15656 lt_cv_prog_compiler_static_works_CXX
=no
15657 save_LDFLAGS
="$LDFLAGS"
15658 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
15659 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
15660 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
15661 # The linker can only warn and ignore the option if not recognized
15662 # So say no if there are warnings
15663 if test -s conftest.err
; then
15664 # Append any errors to the config.log.
15665 cat conftest.err
1>&5
15666 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
15667 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
15668 if diff conftest.exp conftest.er2
>/dev
/null
; then
15669 lt_cv_prog_compiler_static_works_CXX
=yes
15672 lt_cv_prog_compiler_static_works_CXX
=yes
15676 LDFLAGS
="$save_LDFLAGS"
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15680 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15682 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
15685 lt_prog_compiler_static_CXX
=
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15692 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15693 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15694 $as_echo_n "(cached) " >&6
15696 lt_cv_prog_compiler_c_o_CXX
=no
15697 $RM -r conftest
2>/dev
/null
15701 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15703 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15704 # Insert the option either (1) after the last *FLAGS variable, or
15705 # (2) before a word containing "conftest.", or (3) at the end.
15706 # Note that $ac_compile itself does not contain backslashes and begins
15707 # with a dollar sign (not a hyphen), so the echo should work correctly.
15708 lt_compile
=`echo "$ac_compile" | $SED \
15709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15711 -e 's:$: $lt_compiler_flag:'`
15712 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15713 (eval "$lt_compile" 2>out
/conftest.err
)
15715 cat out
/conftest.err
>&5
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15719 # The compiler can only warn and ignore the option if not recognized
15720 # So say no if there are warnings
15721 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15722 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15723 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15724 lt_cv_prog_compiler_c_o_CXX
=yes
15729 # SGI C++ compiler will create directory out/ii_files/ for
15730 # template instantiation
15731 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15732 $RM out
/* && rmdir out
15738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15739 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15744 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15745 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15746 $as_echo_n "(cached) " >&6
15748 lt_cv_prog_compiler_c_o_CXX
=no
15749 $RM -r conftest
2>/dev
/null
15753 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15755 lt_compiler_flag
="-o out/conftest2.$ac_objext"
15756 # Insert the option either (1) after the last *FLAGS variable, or
15757 # (2) before a word containing "conftest.", or (3) at the end.
15758 # Note that $ac_compile itself does not contain backslashes and begins
15759 # with a dollar sign (not a hyphen), so the echo should work correctly.
15760 lt_compile
=`echo "$ac_compile" | $SED \
15761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15763 -e 's:$: $lt_compiler_flag:'`
15764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
15765 (eval "$lt_compile" 2>out
/conftest.err
)
15767 cat out
/conftest.err
>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
15771 # The compiler can only warn and ignore the option if not recognized
15772 # So say no if there are warnings
15773 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
15774 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
15775 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
15776 lt_cv_prog_compiler_c_o_CXX
=yes
15781 # SGI C++ compiler will create directory out/ii_files/ for
15782 # template instantiation
15783 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
15784 $RM out
/* && rmdir out
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15791 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15796 hard_links
="nottested"
15797 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15798 # do not overwrite the value of need_locks provided by the user
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15800 $as_echo_n "checking if we can lock with hard links... " >&6; }
15803 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15805 ln conftest.a conftest.b
2>&5 || hard_links
=no
15806 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15808 $as_echo "$hard_links" >&6; }
15809 if test "$hard_links" = no
; then
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15811 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15821 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15823 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15826 # If we're using GNU nm, then we don't want the "-C" option.
15827 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15828 # Also, AIX nm treats weak defined symbols like other global defined
15829 # symbols, whereas GNU nm marks them as "W".
15830 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15831 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'
15833 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'
15837 export_symbols_cmds_CXX
="$ltdll_cmds"
15839 cygwin
* | mingw
* | cegcc
*)
15840 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'
15843 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15846 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15849 $as_echo "$ld_shlibs_CXX" >&6; }
15850 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15852 with_gnu_ld_CXX
=$with_gnu_ld
15860 # Do we need to explicitly link libc?
15862 case "x$archive_cmds_need_lc_CXX" in
15864 # Assume -lc should be added
15865 archive_cmds_need_lc_CXX
=yes
15867 if test "$enable_shared" = yes && test "$GCC" = yes; then
15868 case $archive_cmds_CXX in
15870 # FIXME: we may have to deal with multi-command sequences.
15873 # Test whether the compiler implicitly links with -lc since on some
15874 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15875 # to ld, don't add -lc before -lgcc.
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15877 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15878 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
15879 $as_echo_n "(cached) " >&6
15882 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15885 (eval $ac_compile) 2>&5
15887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15888 test $ac_status = 0; } 2>conftest.err
; then
15891 libobjs
=conftest.
$ac_objext
15893 wl
=$lt_prog_compiler_wl_CXX
15894 pic_flag
=$lt_prog_compiler_pic_CXX
15900 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15901 allow_undefined_flag_CXX
=
15902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15903 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15906 test $ac_status = 0; }
15908 lt_cv_archive_cmds_need_lc_CXX
=no
15910 lt_cv_archive_cmds_need_lc_CXX
=yes
15912 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15914 cat conftest.err
1>&5
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
15920 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
15921 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15992 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15994 library_names_spec
=
15995 libname_spec
='lib$name'
15999 postuninstall_cmds
=
16003 shlibpath_overrides_runpath
=unknown
16005 dynamic_linker
="$host_os ld.so"
16006 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
16007 need_lib_prefix
=unknown
16008 hardcode_into_libs
=no
16010 # when you set need_version to no, make sure it does not cause -set_version
16011 # flags to be left without arguments
16012 need_version
=unknown
16017 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
16018 shlibpath_var
=LIBPATH
16020 # AIX 3 has no versioning support, so we append a major version to the name.
16021 soname_spec
='${libname}${release}${shared_ext}$major'
16028 hardcode_into_libs
=yes
16029 if test "$host_cpu" = ia64
; then
16030 # AIX 5 supports IA64
16031 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16032 shlibpath_var
=LD_LIBRARY_PATH
16034 # With GCC up to 2.95.x, collect2 would create an import file
16035 # for dependence libraries. The import file would start with
16036 # the line `#! .'. This would cause the generated library to
16037 # depend on `.', always an invalid library. This was fixed in
16038 # development snapshots of GCC prior to 3.0.
16040 aix4 | aix4.
[01] | aix4.
[01].
*)
16041 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16043 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
16046 can_build_shared
=no
16050 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16051 # soname into executable. Probably we can add versioning support to
16052 # collect2, so additional links can be useful in future.
16053 if test "$aix_use_runtimelinking" = yes; then
16054 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16055 # instead of lib<name>.a to let people know that these are not
16056 # typical AIX shared libraries.
16057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16059 # We preserve .a as extension for shared libraries through AIX4.2
16060 # and later when we are not doing run time linking.
16061 library_names_spec
='${libname}${release}.a $libname.a'
16062 soname_spec
='${libname}${release}${shared_ext}$major'
16064 shlibpath_var
=LIBPATH
16071 # Since July 2007 AmigaOS4 officially supports .so libraries.
16072 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16076 library_names_spec
='$libname.ixlibrary $libname.a'
16077 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16078 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'
16084 library_names_spec
='${libname}${shared_ext}'
16085 dynamic_linker
="$host_os ld.so"
16086 shlibpath_var
=LIBRARY_PATH
16092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16093 soname_spec
='${libname}${release}${shared_ext}$major'
16094 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
16095 shlibpath_var
=LD_LIBRARY_PATH
16096 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16097 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
16098 # the default ld.so.conf also contains /usr/contrib/lib and
16099 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16100 # libtool to hard-code these into programs
16103 cygwin
* | mingw
* | pw32
* | cegcc
*)
16104 version_type
=windows
16109 case $GCC,$host_os in
16110 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
16111 library_names_spec
='$libname.dll.a'
16112 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16113 postinstall_cmds
='base_file=`basename \${file}`~
16114 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16115 dldir=$destdir/`dirname \$dlpath`~
16116 test -d \$dldir || mkdir -p \$dldir~
16117 $install_prog $dir/$dlname \$dldir/$dlname~
16118 chmod a+x \$dldir/$dlname~
16119 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16120 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16122 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16123 dlpath=$dir/\$dldll~
16125 shlibpath_overrides_runpath
=yes
16129 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16130 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16134 # MinGW DLLs use traditional 'lib' prefix
16135 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16138 # pw32 DLLs use 'pw' prefix rather than 'lib'
16139 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16145 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16148 dynamic_linker
='Win32 ld.exe'
16149 # FIXME: first we should search . and the directory the executable is in
16153 darwin
* | rhapsody
*)
16154 dynamic_linker
="$host_os dyld"
16155 version_type
=darwin
16158 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16159 soname_spec
='${libname}${release}${major}$shared_ext'
16160 shlibpath_overrides_runpath
=yes
16161 shlibpath_var
=DYLD_LIBRARY_PATH
16162 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
16164 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
16171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16172 soname_spec
='${libname}${release}${shared_ext}$major'
16173 shlibpath_var
=LD_LIBRARY_PATH
16176 freebsd
* | dragonfly
*)
16177 # DragonFly does not have aout. When/if they implement a new
16178 # versioning mechanism, adjust this.
16179 if test -x /usr
/bin
/objformat
; then
16180 objformat
=`/usr/bin/objformat`
16183 freebsd
[23].
*) objformat
=aout
;;
16184 *) objformat
=elf
;;
16187 version_type
=freebsd-
$objformat
16188 case $version_type in
16190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16195 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16199 shlibpath_var
=LD_LIBRARY_PATH
16202 shlibpath_overrides_runpath
=yes
16204 freebsd3.
[01]* | freebsdelf3.
[01]*)
16205 shlibpath_overrides_runpath
=yes
16206 hardcode_into_libs
=yes
16208 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16209 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16210 shlibpath_overrides_runpath
=no
16211 hardcode_into_libs
=yes
16213 *) # from 4.6 on, and DragonFly
16214 shlibpath_overrides_runpath
=yes
16215 hardcode_into_libs
=yes
16224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16225 soname_spec
='${libname}${release}${shared_ext}$major'
16226 shlibpath_var
=LD_LIBRARY_PATH
16227 hardcode_into_libs
=yes
16234 dynamic_linker
="$host_os runtime_loader"
16235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16236 soname_spec
='${libname}${release}${shared_ext}$major'
16237 shlibpath_var
=LIBRARY_PATH
16238 shlibpath_overrides_runpath
=yes
16239 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
16240 hardcode_into_libs
=yes
16243 hpux9
* | hpux10
* | hpux11
*)
16244 # Give a soname corresponding to the major version so that dld.sl refuses to
16245 # link against other versions.
16252 hardcode_into_libs
=yes
16253 dynamic_linker
="$host_os dld.so"
16254 shlibpath_var
=LD_LIBRARY_PATH
16255 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16257 soname_spec
='${libname}${release}${shared_ext}$major'
16258 if test "X$HPUX_IA64_MODE" = X32
; then
16259 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16261 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16263 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16267 hardcode_into_libs
=yes
16268 dynamic_linker
="$host_os dld.sl"
16269 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16270 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16272 soname_spec
='${libname}${release}${shared_ext}$major'
16273 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16274 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16278 dynamic_linker
="$host_os dld.sl"
16279 shlibpath_var
=SHLIB_PATH
16280 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16282 soname_spec
='${libname}${release}${shared_ext}$major'
16285 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16286 postinstall_cmds
='chmod 555 $lib'
16287 # or fails outright, so override atomically:
16288 install_override_mode
=555
16295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16296 soname_spec
='${libname}${release}${shared_ext}$major'
16297 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16298 shlibpath_var
=LD_LIBRARY_PATH
16299 shlibpath_overrides_runpath
=no
16300 hardcode_into_libs
=yes
16303 irix5
* | irix6
* | nonstopux
*)
16305 nonstopux
*) version_type
=nonstopux
;;
16307 if test "$lt_cv_prog_gnu_ld" = yes; then
16315 soname_spec
='${libname}${release}${shared_ext}$major'
16316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16318 irix5
* | nonstopux
*)
16319 libsuff
= shlibsuff
=
16322 case $LD in # libtool.m4 will add one of these switches to LD
16323 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16324 libsuff
= shlibsuff
= libmagic
=32-bit;;
16325 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16326 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16327 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16328 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16329 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16333 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16334 shlibpath_overrides_runpath
=no
16335 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16336 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16337 hardcode_into_libs
=yes
16340 # No shared lib support for Linux oldld, aout, or coff.
16341 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16345 # This must be Linux ELF.
16346 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
16350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16351 soname_spec
='${libname}${release}${shared_ext}$major'
16352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16353 shlibpath_var
=LD_LIBRARY_PATH
16354 shlibpath_overrides_runpath
=no
16356 # Some binutils ld are patched to set DT_RUNPATH
16357 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
16358 $as_echo_n "(cached) " >&6
16360 lt_cv_shlibpath_overrides_runpath
=no
16361 save_LDFLAGS
=$LDFLAGS
16362 save_libdir
=$libdir
16363 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16364 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16365 if test x
$gcc_no_link = xyes
; then
16366 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16379 if ac_fn_cxx_try_link
"$LINENO"; then :
16380 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
16381 lt_cv_shlibpath_overrides_runpath
=yes
16384 rm -f core conftest.err conftest.
$ac_objext \
16385 conftest
$ac_exeext conftest.
$ac_ext
16386 LDFLAGS
=$save_LDFLAGS
16387 libdir
=$save_libdir
16391 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
16393 # This implies no fast_install, which is unacceptable.
16394 # Some rework will be needed to allow for fast_install
16395 # before this can be enabled.
16396 hardcode_into_libs
=yes
16398 # Append ld.so.conf contents to the search path
16399 if test -f /etc
/ld.so.conf
; then
16400 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' ' '`
16401 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16404 # We used to test for /lib/ld.so.1 and disable shared libraries on
16405 # powerpc, because MkLinux only supported shared libraries with the
16406 # GNU dynamic linker. Since this was broken with cross compilers,
16407 # most powerpc-linux boxes support dynamic linking these days and
16408 # people can always --disable-shared, the test was removed, and we
16409 # assume the GNU/Linux dynamic linker is in use.
16410 dynamic_linker
='GNU/Linux ld.so'
16417 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
16418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16419 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16420 dynamic_linker
='NetBSD (a.out) ld.so'
16422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16423 soname_spec
='${libname}${release}${shared_ext}$major'
16424 dynamic_linker
='NetBSD ld.elf_so'
16426 shlibpath_var
=LD_LIBRARY_PATH
16427 shlibpath_overrides_runpath
=yes
16428 hardcode_into_libs
=yes
16433 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16434 shlibpath_var
=LD_LIBRARY_PATH
16435 shlibpath_overrides_runpath
=yes
16442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16443 soname_spec
='${libname}${release}${shared_ext}$major'
16444 shlibpath_var
=LD_LIBRARY_PATH
16445 shlibpath_overrides_runpath
=no
16446 hardcode_into_libs
=yes
16447 dynamic_linker
='ldqnx.so'
16452 sys_lib_dlsearch_path_spec
="/usr/lib"
16454 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16456 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16457 *) need_version
=no
;;
16459 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16460 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16461 shlibpath_var
=LD_LIBRARY_PATH
16462 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16464 openbsd2.
[89] | openbsd2.
[89].
*)
16465 shlibpath_overrides_runpath
=no
16468 shlibpath_overrides_runpath
=yes
16472 shlibpath_overrides_runpath
=yes
16477 libname_spec
='$name'
16480 library_names_spec
='$libname${shared_ext} $libname.a'
16481 dynamic_linker
='OS/2 ld.exe'
16482 shlibpath_var
=LIBPATH
16485 osf3
* | osf4
* | osf5
*)
16489 soname_spec
='${libname}${release}${shared_ext}$major'
16490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16491 shlibpath_var
=LD_LIBRARY_PATH
16492 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16493 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16505 soname_spec
='${libname}${release}${shared_ext}$major'
16506 shlibpath_var
=LD_LIBRARY_PATH
16507 shlibpath_overrides_runpath
=yes
16508 hardcode_into_libs
=yes
16509 # ldd complains unless libraries are executable
16510 postinstall_cmds
='chmod +x $lib'
16515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16516 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16517 shlibpath_var
=LD_LIBRARY_PATH
16518 shlibpath_overrides_runpath
=yes
16519 if test "$with_gnu_ld" = yes; then
16527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16528 soname_spec
='${libname}${release}${shared_ext}$major'
16529 shlibpath_var
=LD_LIBRARY_PATH
16530 case $host_vendor in
16532 shlibpath_overrides_runpath
=no
16534 runpath_var
=LD_RUN_PATH
16542 shlibpath_overrides_runpath
=no
16543 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16549 if test -d /usr
/nec
;then
16551 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16552 soname_spec
='$libname${shared_ext}.$major'
16553 shlibpath_var
=LD_LIBRARY_PATH
16557 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16558 version_type
=freebsd-elf
16561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16562 soname_spec
='${libname}${release}${shared_ext}$major'
16563 shlibpath_var
=LD_LIBRARY_PATH
16564 shlibpath_overrides_runpath
=yes
16565 hardcode_into_libs
=yes
16566 if test "$with_gnu_ld" = yes; then
16567 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16569 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16572 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16576 sys_lib_dlsearch_path_spec
='/usr/lib'
16580 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16585 shlibpath_var
=LD_LIBRARY_PATH
16586 shlibpath_overrides_runpath
=no
16587 hardcode_into_libs
=yes
16592 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16593 soname_spec
='${libname}${release}${shared_ext}$major'
16594 shlibpath_var
=LD_LIBRARY_PATH
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16602 $as_echo "$dynamic_linker" >&6; }
16603 test "$dynamic_linker" = no
&& can_build_shared
=no
16605 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16606 if test "$GCC" = yes; then
16607 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16610 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16611 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16613 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16614 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16655 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16656 hardcode_action_CXX
=
16657 if test -n "$hardcode_libdir_flag_spec_CXX" ||
16658 test -n "$runpath_var_CXX" ||
16659 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16661 # We can hardcode non-existent directories.
16662 if test "$hardcode_direct_CXX" != no
&&
16663 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16664 # have to relink, otherwise we might link with an installed library
16665 # when we should be linking with a yet-to-be-installed one
16666 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16667 test "$hardcode_minus_L_CXX" != no
; then
16668 # Linking always hardcodes the temporary library directory.
16669 hardcode_action_CXX
=relink
16671 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16672 hardcode_action_CXX
=immediate
16675 # We cannot hardcode anything, or else we can only hardcode existing
16677 hardcode_action_CXX
=unsupported
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16680 $as_echo "$hardcode_action_CXX" >&6; }
16682 if test "$hardcode_action_CXX" = relink ||
16683 test "$inherit_rpath_CXX" = yes; then
16684 # Fast installation is not supported
16685 enable_fast_install
=no
16686 elif test "$shlibpath_overrides_runpath" = yes ||
16687 test "$enable_shared" = no
; then
16688 # Fast installation is not necessary
16689 enable_fast_install
=needless
16698 fi # test -n "$compiler"
16704 with_gnu_ld
=$lt_save_with_gnu_ld
16705 lt_cv_path_LDCXX
=$lt_cv_path_LD
16706 lt_cv_path_LD
=$lt_save_path_LD
16707 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
16708 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
16709 fi # test "$_lt_caught_CXX_error" != yes
16712 ac_cpp
='$CPP $CPPFLAGS'
16713 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16714 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16715 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16729 ac_config_commands
="$ac_config_commands libtool"
16734 # Only expand once:
16741 *-cygwin* |
*-mingw*)
16742 # 'host' will be top-level target in the case of a target lib,
16743 # we must compare to with_cross_host to decide if this is a native
16744 # or cross-compiler and select where to install dlls appropriately.
16745 if test -n "$with_cross_host" &&
16746 test x
"$with_cross_host" != x
"no"; then
16747 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
16749 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
16760 if test -n "$ac_tool_prefix"; then
16763 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16764 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16766 $as_echo_n "checking for $ac_word... " >&6; }
16767 if test "${ac_cv_prog_GCJ+set}" = set; then :
16768 $as_echo_n "(cached) " >&6
16770 if test -n "$GCJ"; then
16771 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
16773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16774 for as_dir
in $PATH
16777 test -z "$as_dir" && as_dir
=.
16778 for ac_exec_ext
in '' $ac_executable_extensions; do
16779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16780 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
16781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16790 GCJ
=$ac_cv_prog_GCJ
16791 if test -n "$GCJ"; then
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
16793 $as_echo "$GCJ" >&6; }
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16796 $as_echo "no" >&6; }
16800 test -n "$GCJ" && break
16803 if test -z "$GCJ"; then
16807 # Extract the first word of "$ac_prog", so it can be a program name with args.
16808 set dummy
$ac_prog; ac_word
=$2
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16810 $as_echo_n "checking for $ac_word... " >&6; }
16811 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
16812 $as_echo_n "(cached) " >&6
16814 if test -n "$ac_ct_GCJ"; then
16815 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
16817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16818 for as_dir
in $PATH
16821 test -z "$as_dir" && as_dir
=.
16822 for ac_exec_ext
in '' $ac_executable_extensions; do
16823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16824 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
16825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16834 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
16835 if test -n "$ac_ct_GCJ"; then
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
16837 $as_echo "$ac_ct_GCJ" >&6; }
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16840 $as_echo "no" >&6; }
16844 test -n "$ac_ct_GCJ" && break
16847 if test "x$ac_ct_GCJ" = x
; then
16850 case $cross_compiling:$ac_tool_warned in
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16854 ac_tool_warned
=yes ;;
16860 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
16861 if test "x${GCJFLAGS-unset}" = xunset
; then
16866 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16869 $as_echo_n "checking dependency style of $depcc... " >&6; }
16870 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
16871 $as_echo_n "(cached) " >&6
16873 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16874 # We make a subdir and do the tests there. Otherwise we can end up
16875 # making bogus files that we don't know about and never remove. For
16876 # instance it was reported that on HP-UX the gcc test will end up
16877 # making a dummy file named `D' -- because `-MD' means `put the output
16880 # Copy depcomp to subdir because otherwise we won't find it if we're
16881 # using a relative directory.
16882 cp "$am_depcomp" conftest.dir
16884 # We will build objects and dependencies in a subdirectory because
16885 # it helps to detect inapplicable dependency modes. For instance
16886 # both Tru64's cc and ICC support -MD to output dependencies as a
16887 # side effect of compilation, but ICC will put the dependencies in
16888 # the current directory while Tru64 will put them in the object
16892 am_cv_GCJ_dependencies_compiler_type
=none
16893 if test "$am_compiler_list" = ""; then
16894 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16896 am__universal
=false
16899 for depmode
in $am_compiler_list; do
16900 # Setup a source with many dependencies, because some compilers
16901 # like to wrap large dependency lists on column 80 (with \), and
16902 # we should not choose a depcomp mode which is confused by this.
16904 # We need to recreate these files for each test, as the compiler may
16905 # overwrite some of them when testing with obscure command lines.
16906 # This happens at least with the AIX C compiler.
16908 for i
in 1 2 3 4 5 6; do
16909 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
16910 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16911 # Solaris 8's {/usr,}/bin/sh.
16912 touch sub
/conftst
$i.h
16914 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16916 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16917 # mode. It turns out that the SunPro C++ compiler does not properly
16918 # handle `-M -o', and we need to detect this. Also, some Intel
16919 # versions had trouble with output in subdirs
16920 am__obj
=sub
/conftest.
${OBJEXT-o}
16921 am__minus_obj
="-o $am__obj"
16924 # This depmode causes a compiler race in universal mode.
16925 test "$am__universal" = false ||
continue
16928 # after this tag, mechanisms are not by side-effect, so they'll
16929 # only be used when explicitly requested
16930 if test "x$enable_dependency_tracking" = xyes
; then
16936 msvisualcpp | msvcmsys
)
16937 # This compiler won't grok `-c -o', but also, the minuso test has
16938 # not run yet. These depmodes are late enough in the game, and
16939 # so weak that their functioning should not be impacted.
16940 am__obj
=conftest.
${OBJEXT-o}
16945 if depmode
=$depmode \
16946 source=sub
/conftest.c object
=$am__obj \
16947 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
16948 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
16949 >/dev
/null
2>conftest.err
&&
16950 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16951 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
16952 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
16953 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
16954 # icc doesn't choke on unknown options, it will just issue warnings
16955 # or remarks (even with -Werror). So we grep stderr for any message
16956 # that says an option was ignored or not supported.
16957 # When given -MP, icc 7.0 and 7.1 complain thusly:
16958 # icc: Command line warning: ignoring option '-M'; no argument required
16959 # The diagnosis changed in icc 8.0:
16960 # icc: Command line remark: option '-MP' not supported
16961 if (grep 'ignoring option' conftest.err ||
16962 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
16963 am_cv_GCJ_dependencies_compiler_type
=$depmode
16970 rm -rf conftest.dir
16972 am_cv_GCJ_dependencies_compiler_type
=none
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
16977 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
16978 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
16981 test "x$enable_dependency_tracking" != xno \
16982 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
16983 am__fastdepGCJ_TRUE
=
16984 am__fastdepGCJ_FALSE
='#'
16986 am__fastdepGCJ_TRUE
='#'
16987 am__fastdepGCJ_FALSE
=
16992 if test -n "$ac_tool_prefix"; then
16995 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16996 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16998 $as_echo_n "checking for $ac_word... " >&6; }
16999 if test "${ac_cv_prog_GCJ+set}" = set; then :
17000 $as_echo_n "(cached) " >&6
17002 if test -n "$GCJ"; then
17003 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
17005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17006 for as_dir
in $PATH
17009 test -z "$as_dir" && as_dir
=.
17010 for ac_exec_ext
in '' $ac_executable_extensions; do
17011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17012 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
17013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17022 GCJ
=$ac_cv_prog_GCJ
17023 if test -n "$GCJ"; then
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
17025 $as_echo "$GCJ" >&6; }
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17028 $as_echo "no" >&6; }
17032 test -n "$GCJ" && break
17035 if test -z "$GCJ"; then
17039 # Extract the first word of "$ac_prog", so it can be a program name with args.
17040 set dummy
$ac_prog; ac_word
=$2
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17042 $as_echo_n "checking for $ac_word... " >&6; }
17043 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
17044 $as_echo_n "(cached) " >&6
17046 if test -n "$ac_ct_GCJ"; then
17047 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
17049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17050 for as_dir
in $PATH
17053 test -z "$as_dir" && as_dir
=.
17054 for ac_exec_ext
in '' $ac_executable_extensions; do
17055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17056 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
17057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17066 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
17067 if test -n "$ac_ct_GCJ"; then
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
17069 $as_echo "$ac_ct_GCJ" >&6; }
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17072 $as_echo "no" >&6; }
17076 test -n "$ac_ct_GCJ" && break
17079 if test "x$ac_ct_GCJ" = x
; then
17082 case $cross_compiling:$ac_tool_warned in
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17086 ac_tool_warned
=yes ;;
17092 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
17093 if test "x${GCJFLAGS-unset}" = xunset
; then
17098 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17101 $as_echo_n "checking dependency style of $depcc... " >&6; }
17102 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
17103 $as_echo_n "(cached) " >&6
17105 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17106 # We make a subdir and do the tests there. Otherwise we can end up
17107 # making bogus files that we don't know about and never remove. For
17108 # instance it was reported that on HP-UX the gcc test will end up
17109 # making a dummy file named `D' -- because `-MD' means `put the output
17112 # Copy depcomp to subdir because otherwise we won't find it if we're
17113 # using a relative directory.
17114 cp "$am_depcomp" conftest.dir
17116 # We will build objects and dependencies in a subdirectory because
17117 # it helps to detect inapplicable dependency modes. For instance
17118 # both Tru64's cc and ICC support -MD to output dependencies as a
17119 # side effect of compilation, but ICC will put the dependencies in
17120 # the current directory while Tru64 will put them in the object
17124 am_cv_GCJ_dependencies_compiler_type
=none
17125 if test "$am_compiler_list" = ""; then
17126 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17128 am__universal
=false
17131 for depmode
in $am_compiler_list; do
17132 # Setup a source with many dependencies, because some compilers
17133 # like to wrap large dependency lists on column 80 (with \), and
17134 # we should not choose a depcomp mode which is confused by this.
17136 # We need to recreate these files for each test, as the compiler may
17137 # overwrite some of them when testing with obscure command lines.
17138 # This happens at least with the AIX C compiler.
17140 for i
in 1 2 3 4 5 6; do
17141 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
17142 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17143 # Solaris 8's {/usr,}/bin/sh.
17144 touch sub
/conftst
$i.h
17146 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17148 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17149 # mode. It turns out that the SunPro C++ compiler does not properly
17150 # handle `-M -o', and we need to detect this. Also, some Intel
17151 # versions had trouble with output in subdirs
17152 am__obj
=sub
/conftest.
${OBJEXT-o}
17153 am__minus_obj
="-o $am__obj"
17156 # This depmode causes a compiler race in universal mode.
17157 test "$am__universal" = false ||
continue
17160 # after this tag, mechanisms are not by side-effect, so they'll
17161 # only be used when explicitly requested
17162 if test "x$enable_dependency_tracking" = xyes
; then
17168 msvisualcpp | msvcmsys
)
17169 # This compiler won't grok `-c -o', but also, the minuso test has
17170 # not run yet. These depmodes are late enough in the game, and
17171 # so weak that their functioning should not be impacted.
17172 am__obj
=conftest.
${OBJEXT-o}
17177 if depmode
=$depmode \
17178 source=sub
/conftest.c object
=$am__obj \
17179 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
17180 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
17181 >/dev
/null
2>conftest.err
&&
17182 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17183 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
17184 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
17185 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
17186 # icc doesn't choke on unknown options, it will just issue warnings
17187 # or remarks (even with -Werror). So we grep stderr for any message
17188 # that says an option was ignored or not supported.
17189 # When given -MP, icc 7.0 and 7.1 complain thusly:
17190 # icc: Command line warning: ignoring option '-M'; no argument required
17191 # The diagnosis changed in icc 8.0:
17192 # icc: Command line remark: option '-MP' not supported
17193 if (grep 'ignoring option' conftest.err ||
17194 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
17195 am_cv_GCJ_dependencies_compiler_type
=$depmode
17202 rm -rf conftest.dir
17204 am_cv_GCJ_dependencies_compiler_type
=none
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
17209 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
17210 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
17213 test "x$enable_dependency_tracking" != xno \
17214 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
17215 am__fastdepGCJ_TRUE
=
17216 am__fastdepGCJ_FALSE
='#'
17218 am__fastdepGCJ_TRUE
='#'
17219 am__fastdepGCJ_FALSE
=
17226 # Source file extension for Java test sources.
17229 # Object file extension for compiled Java test sources.
17233 # Code to be used in simple compile tests
17234 lt_simple_compile_test_code
="int some_variable = 0;"
17236 # Code to be used in simple link tests
17237 lt_simple_link_test_code
='int main(){return(0);}'
17239 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17246 # If no C compiler was specified, use CC.
17249 # If no C compiler flags were specified, use CFLAGS.
17250 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
17252 # Allow CC to be a program name with arguments.
17256 # save warnings/boilerplate of simple test code
17257 ac_outfile
=conftest.
$ac_objext
17258 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
17259 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17260 _lt_compiler_boilerplate
=`cat conftest.err`
17263 ac_outfile
=conftest.
$ac_objext
17264 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
17265 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
17266 _lt_linker_boilerplate
=`cat conftest.err`
17270 # Allow CC to be a program name with arguments.
17274 for cc_temp
in $compiler""; do
17276 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17277 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17282 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17285 # GCJ did not exist at the time GCC didn't implicitly link libc in.
17286 archive_cmds_need_lc_GCJ
=no
17288 old_archive_cmds_GCJ
=$old_archive_cmds
17291 ## There is no encapsulation within the following macros, do not change
17292 ## the running order or otherwise move them around unless you know exactly
17293 ## what you are doing...
17294 if test -n "$compiler"; then
17296 lt_prog_compiler_no_builtin_flag_GCJ
=
17298 if test "$GCC" = yes; then
17299 case $cc_basename in
17301 lt_prog_compiler_no_builtin_flag_GCJ
=' -Xcompiler -fno-builtin' ;;
17303 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin' ;;
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
17307 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
17308 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
17309 $as_echo_n "(cached) " >&6
17311 lt_cv_prog_compiler_rtti_exceptions
=no
17312 ac_outfile
=conftest.
$ac_objext
17313 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17314 lt_compiler_flag
="-fno-rtti -fno-exceptions"
17315 # Insert the option either (1) after the last *FLAGS variable, or
17316 # (2) before a word containing "conftest.", or (3) at the end.
17317 # Note that $ac_compile itself does not contain backslashes and begins
17318 # with a dollar sign (not a hyphen), so the echo should work correctly.
17319 # The option is referenced via a variable to avoid confusing sed.
17320 lt_compile
=`echo "$ac_compile" | $SED \
17321 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17323 -e 's:$: $lt_compiler_flag:'`
17324 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17325 (eval "$lt_compile" 2>conftest.err
)
17327 cat conftest.err
>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 if (exit $ac_status) && test -s "$ac_outfile"; then
17330 # The compiler can only warn and ignore the option if not recognized
17331 # So say no if there are warnings other than the usual output.
17332 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17333 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17334 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17335 lt_cv_prog_compiler_rtti_exceptions
=yes
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
17342 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
17344 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
17345 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
17354 lt_prog_compiler_wl_GCJ
=
17355 lt_prog_compiler_pic_GCJ
=
17356 lt_prog_compiler_static_GCJ
=
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17359 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17361 if test "$GCC" = yes; then
17362 lt_prog_compiler_wl_GCJ
='-Wl,'
17363 lt_prog_compiler_static_GCJ
='-static'
17367 # All AIX code is PIC.
17368 if test "$host_cpu" = ia64
; then
17369 # AIX 5 now supports IA64 processor
17370 lt_prog_compiler_static_GCJ
='-Bstatic'
17372 lt_prog_compiler_pic_GCJ
='-fPIC'
17378 # see comment about AmigaOS4 .so support
17379 lt_prog_compiler_pic_GCJ
='-fPIC'
17382 # FIXME: we need at least 68020 code to build shared libraries, but
17383 # adding the `-m68020' flag to GCC prevents building anything better,
17385 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
17390 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
17391 # PIC is the default for these OSes.
17394 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17395 # This hack is so that the source file can tell whether it is being
17396 # built for inclusion in a dll (and should export symbols for example).
17397 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17398 # (--disable-auto-import) libraries
17402 darwin
* | rhapsody
*)
17403 # PIC is the default on this platform
17404 # Common symbols not allowed in MH_DYLIB files
17405 lt_prog_compiler_pic_GCJ
='-fno-common'
17409 # PIC is the default for Haiku.
17410 # The "-static" flag exists, but is broken.
17411 lt_prog_compiler_static_GCJ
=
17415 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17416 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17417 # sets the default TLS model and affects inlining.
17423 lt_prog_compiler_pic_GCJ
='-fPIC'
17429 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17430 # Instead, we relocate shared libraries at runtime.
17434 # Just because we use GCC doesn't mean we suddenly get shared libraries
17435 # on systems that don't support them.
17436 lt_prog_compiler_can_build_shared_GCJ
=no
17441 # QNX uses GNU C++, but need to define -shared option too, otherwise
17442 # it will coredump.
17443 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17447 if test -d /usr
/nec
; then
17448 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17453 lt_prog_compiler_pic_GCJ
='-fPIC'
17457 case $cc_basename in
17458 nvcc
*) # Cuda Compiler Driver 2.2
17459 lt_prog_compiler_wl_GCJ
='-Xlinker '
17460 lt_prog_compiler_pic_GCJ
='-Xcompiler -fPIC'
17464 # PORTME Check for flag to pass linker flags through the system compiler.
17467 lt_prog_compiler_wl_GCJ
='-Wl,'
17468 if test "$host_cpu" = ia64
; then
17469 # AIX 5 now supports IA64 processor
17470 lt_prog_compiler_static_GCJ
='-Bstatic'
17472 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17476 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
17477 # This hack is so that the source file can tell whether it is being
17478 # built for inclusion in a dll (and should export symbols for example).
17482 hpux9
* | hpux10
* | hpux11
*)
17483 lt_prog_compiler_wl_GCJ
='-Wl,'
17484 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17485 # not for PA HP-UX.
17491 lt_prog_compiler_pic_GCJ
='+Z'
17494 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17495 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17498 irix5
* | irix6
* | nonstopux
*)
17499 lt_prog_compiler_wl_GCJ
='-Wl,'
17500 # PIC (with -KPIC) is the default.
17501 lt_prog_compiler_static_GCJ
='-non_shared'
17504 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
17505 case $cc_basename in
17506 # old Intel for x86_64 which still supported -KPIC.
17508 lt_prog_compiler_wl_GCJ
='-Wl,'
17509 lt_prog_compiler_pic_GCJ
='-KPIC'
17510 lt_prog_compiler_static_GCJ
='-static'
17512 # icc used to be incompatible with GCC.
17513 # ICC 10 doesn't accept -KPIC any more.
17515 lt_prog_compiler_wl_GCJ
='-Wl,'
17516 lt_prog_compiler_pic_GCJ
='-fPIC'
17517 lt_prog_compiler_static_GCJ
='-static'
17519 # Lahey Fortran 8.1.
17521 lt_prog_compiler_wl_GCJ
='-Wl,'
17522 lt_prog_compiler_pic_GCJ
='--shared'
17523 lt_prog_compiler_static_GCJ
='--static'
17525 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
17526 # Portland Group compilers (*not* the Pentium gcc compiler,
17527 # which looks to be a dead project)
17528 lt_prog_compiler_wl_GCJ
='-Wl,'
17529 lt_prog_compiler_pic_GCJ
='-fpic'
17530 lt_prog_compiler_static_GCJ
='-Bstatic'
17533 lt_prog_compiler_wl_GCJ
='-Wl,'
17534 # All Alpha code is PIC.
17535 lt_prog_compiler_static_GCJ
='-non_shared'
17537 xl
* | bgxl
* | bgf
* | mpixl
*)
17538 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
17539 lt_prog_compiler_wl_GCJ
='-Wl,'
17540 lt_prog_compiler_pic_GCJ
='-qpic'
17541 lt_prog_compiler_static_GCJ
='-qstaticlink'
17544 case `$CC -V 2>&1 | sed 5q` in
17545 *Sun\ F
* |
*Sun
*Fortran
*)
17546 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17547 lt_prog_compiler_pic_GCJ
='-KPIC'
17548 lt_prog_compiler_static_GCJ
='-Bstatic'
17549 lt_prog_compiler_wl_GCJ
=''
17553 lt_prog_compiler_pic_GCJ
='-KPIC'
17554 lt_prog_compiler_static_GCJ
='-Bstatic'
17555 lt_prog_compiler_wl_GCJ
='-Wl,'
17563 lt_prog_compiler_pic_GCJ
='-KPIC'
17564 lt_prog_compiler_static_GCJ
='-Bstatic'
17568 # QNX uses GNU C++, but need to define -shared option too, otherwise
17569 # it will coredump.
17570 lt_prog_compiler_pic_GCJ
='-fPIC -shared'
17573 osf3
* | osf4
* | osf5
*)
17574 lt_prog_compiler_wl_GCJ
='-Wl,'
17575 # All OSF/1 code is PIC.
17576 lt_prog_compiler_static_GCJ
='-non_shared'
17580 lt_prog_compiler_static_GCJ
='-non_shared'
17584 lt_prog_compiler_pic_GCJ
='-KPIC'
17585 lt_prog_compiler_static_GCJ
='-Bstatic'
17586 case $cc_basename in
17587 f77
* | f90
* | f95
*)
17588 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17590 lt_prog_compiler_wl_GCJ
='-Wl,';;
17595 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17596 lt_prog_compiler_pic_GCJ
='-PIC'
17597 lt_prog_compiler_static_GCJ
='-Bstatic'
17600 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17601 lt_prog_compiler_wl_GCJ
='-Wl,'
17602 lt_prog_compiler_pic_GCJ
='-KPIC'
17603 lt_prog_compiler_static_GCJ
='-Bstatic'
17607 if test -d /usr
/nec
;then
17608 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17609 lt_prog_compiler_static_GCJ
='-Bstatic'
17613 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17614 lt_prog_compiler_wl_GCJ
='-Wl,'
17615 lt_prog_compiler_pic_GCJ
='-KPIC'
17616 lt_prog_compiler_static_GCJ
='-Bstatic'
17620 lt_prog_compiler_wl_GCJ
='-Wl,'
17621 lt_prog_compiler_can_build_shared_GCJ
=no
17625 lt_prog_compiler_pic_GCJ
='-pic'
17626 lt_prog_compiler_static_GCJ
='-Bstatic'
17630 lt_prog_compiler_can_build_shared_GCJ
=no
17636 # For platforms which do not support PIC, -DPIC is meaningless:
17638 lt_prog_compiler_pic_GCJ
=
17641 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
17645 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17650 # Check to make sure the PIC flag actually works.
17652 if test -n "$lt_prog_compiler_pic_GCJ"; then
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17654 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17655 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then :
17656 $as_echo_n "(cached) " >&6
17658 lt_cv_prog_compiler_pic_works_GCJ
=no
17659 ac_outfile
=conftest.
$ac_objext
17660 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17661 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17662 # Insert the option either (1) after the last *FLAGS variable, or
17663 # (2) before a word containing "conftest.", or (3) at the end.
17664 # Note that $ac_compile itself does not contain backslashes and begins
17665 # with a dollar sign (not a hyphen), so the echo should work correctly.
17666 # The option is referenced via a variable to avoid confusing sed.
17667 lt_compile
=`echo "$ac_compile" | $SED \
17668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17670 -e 's:$: $lt_compiler_flag:'`
17671 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17672 (eval "$lt_compile" 2>conftest.err
)
17674 cat conftest.err
>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 if (exit $ac_status) && test -s "$ac_outfile"; then
17677 # The compiler can only warn and ignore the option if not recognized
17678 # So say no if there are warnings other than the usual output.
17679 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
17680 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17681 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17682 lt_cv_prog_compiler_pic_works_GCJ
=yes
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17689 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17691 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17692 case $lt_prog_compiler_pic_GCJ in
17694 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17697 lt_prog_compiler_pic_GCJ
=
17698 lt_prog_compiler_can_build_shared_GCJ
=no
17706 # Check to make sure the static flag actually works.
17708 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17710 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17711 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then :
17712 $as_echo_n "(cached) " >&6
17714 lt_cv_prog_compiler_static_works_GCJ
=no
17715 save_LDFLAGS
="$LDFLAGS"
17716 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17717 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17718 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17719 # The linker can only warn and ignore the option if not recognized
17720 # So say no if there are warnings
17721 if test -s conftest.err
; then
17722 # Append any errors to the config.log.
17723 cat conftest.err
1>&5
17724 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
17725 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17726 if diff conftest.exp conftest.er2
>/dev
/null
; then
17727 lt_cv_prog_compiler_static_works_GCJ
=yes
17730 lt_cv_prog_compiler_static_works_GCJ
=yes
17734 LDFLAGS
="$save_LDFLAGS"
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17738 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17740 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17743 lt_prog_compiler_static_GCJ
=
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17750 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17751 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17754 lt_cv_prog_compiler_c_o_GCJ
=no
17755 $RM -r conftest
2>/dev
/null
17759 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17761 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17762 # Insert the option either (1) after the last *FLAGS variable, or
17763 # (2) before a word containing "conftest.", or (3) at the end.
17764 # Note that $ac_compile itself does not contain backslashes and begins
17765 # with a dollar sign (not a hyphen), so the echo should work correctly.
17766 lt_compile
=`echo "$ac_compile" | $SED \
17767 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17768 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17769 -e 's:$: $lt_compiler_flag:'`
17770 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17771 (eval "$lt_compile" 2>out
/conftest.err
)
17773 cat out
/conftest.err
>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17777 # The compiler can only warn and ignore the option if not recognized
17778 # So say no if there are warnings
17779 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17780 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17781 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17782 lt_cv_prog_compiler_c_o_GCJ
=yes
17787 # SGI C++ compiler will create directory out/ii_files/ for
17788 # template instantiation
17789 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17790 $RM out
/* && rmdir out
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17797 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17802 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17803 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then :
17804 $as_echo_n "(cached) " >&6
17806 lt_cv_prog_compiler_c_o_GCJ
=no
17807 $RM -r conftest
2>/dev
/null
17811 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17813 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17814 # Insert the option either (1) after the last *FLAGS variable, or
17815 # (2) before a word containing "conftest.", or (3) at the end.
17816 # Note that $ac_compile itself does not contain backslashes and begins
17817 # with a dollar sign (not a hyphen), so the echo should work correctly.
17818 lt_compile
=`echo "$ac_compile" | $SED \
17819 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17820 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17821 -e 's:$: $lt_compiler_flag:'`
17822 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17823 (eval "$lt_compile" 2>out
/conftest.err
)
17825 cat out
/conftest.err
>&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17829 # The compiler can only warn and ignore the option if not recognized
17830 # So say no if there are warnings
17831 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
17832 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17833 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17834 lt_cv_prog_compiler_c_o_GCJ
=yes
17839 # SGI C++ compiler will create directory out/ii_files/ for
17840 # template instantiation
17841 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
17842 $RM out
/* && rmdir out
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17849 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17854 hard_links
="nottested"
17855 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17856 # do not overwrite the value of need_locks provided by the user
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17858 $as_echo_n "checking if we can lock with hard links... " >&6; }
17861 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17863 ln conftest.a conftest.b
2>&5 || hard_links
=no
17864 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17866 $as_echo "$hard_links" >&6; }
17867 if test "$hard_links" = no
; then
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17869 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17879 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17882 allow_undefined_flag_GCJ
=
17883 always_export_symbols_GCJ
=no
17885 archive_expsym_cmds_GCJ
=
17886 compiler_needs_object_GCJ
=no
17887 enable_shared_with_static_runtimes_GCJ
=no
17888 export_dynamic_flag_spec_GCJ
=
17889 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17890 hardcode_automatic_GCJ
=no
17891 hardcode_direct_GCJ
=no
17892 hardcode_direct_absolute_GCJ
=no
17893 hardcode_libdir_flag_spec_GCJ
=
17894 hardcode_libdir_flag_spec_ld_GCJ
=
17895 hardcode_libdir_separator_GCJ
=
17896 hardcode_minus_L_GCJ
=no
17897 hardcode_shlibpath_var_GCJ
=unsupported
17898 inherit_rpath_GCJ
=no
17899 link_all_deplibs_GCJ
=unknown
17901 module_expsym_cmds_GCJ
=
17902 old_archive_from_new_cmds_GCJ
=
17903 old_archive_from_expsyms_cmds_GCJ
=
17904 thread_safe_flag_spec_GCJ
=
17905 whole_archive_flag_spec_GCJ
=
17906 # include_expsyms should be a list of space-separated symbols to be *always*
17907 # included in the symbol list
17908 include_expsyms_GCJ
=
17909 # exclude_expsyms can be an extended regexp of symbols to exclude
17910 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17911 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17912 # as well as any symbol that contains `d'.
17913 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17914 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17915 # platforms (ab)use it in PIC code, but their linkers get confused if
17916 # the symbol is explicitly referenced. Since portable code cannot
17917 # rely on this symbol name, it's probably fine to never include it in
17918 # preloaded symbol tables.
17919 # Exclude shared library initialization/finalization symbols.
17920 extract_expsyms_cmds
=
17923 cygwin
* | mingw
* | pw32
* | cegcc
*)
17924 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17925 # When not using gcc, we currently assume that we are using
17926 # Microsoft Visual C++.
17927 if test "$GCC" != yes; then
17932 # we just hope/assume this is gcc and not c89 (= MSVC++)
17942 # On some targets, GNU ld is compatible enough with the native linker
17943 # that we're better off using the native interface for both.
17944 lt_use_gnu_ld_interface
=no
17945 if test "$with_gnu_ld" = yes; then
17948 # The AIX port of GNU ld has always aspired to compatibility
17949 # with the native linker. However, as the warning in the GNU ld
17950 # block says, versions before 2.19.5* couldn't really create working
17951 # shared libraries, regardless of the interface used.
17952 case `$LD -v 2>&1` in
17953 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
17954 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
17955 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
17957 lt_use_gnu_ld_interface
=yes
17962 lt_use_gnu_ld_interface
=yes
17967 if test "$lt_use_gnu_ld_interface" = yes; then
17968 # If archive_cmds runs LD, not CC, wlarc should be empty
17971 # Set some defaults for GNU ld with shared library support. These
17972 # are reset later if shared libraries are not supported. Putting them
17973 # here allows them to be overridden if necessary.
17974 runpath_var
=LD_RUN_PATH
17975 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
17976 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17977 # ancient GNU ld didn't support --whole-archive et. al.
17978 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
17979 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17981 whole_archive_flag_spec_GCJ
=
17983 supports_anon_versioning
=no
17984 case `$LD -v 2>&1` in
17985 *GNU\ gold
*) supports_anon_versioning
=yes ;;
17986 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17987 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17988 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17989 *\
2.11.
*) ;; # other 2.11 versions
17990 *) supports_anon_versioning
=yes ;;
17993 # See if GNU ld supports shared libraries.
17996 # On AIX/PPC, the GNU linker is very broken
17997 if test "$host_cpu" != ia64
; then
18001 *** Warning: the GNU linker, at least up to release 2.19, is reported
18002 *** to be unable to reliably create shared libraries on AIX.
18003 *** Therefore, libtool is disabling shared libraries support. If you
18004 *** really care for shared libraries, you may want to install binutils
18005 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
18006 *** You will then need to restart the configuration process.
18015 # see comment about AmigaOS4 .so support
18016 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18017 archive_expsym_cmds_GCJ
=''
18020 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)'
18021 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18022 hardcode_minus_L_GCJ
=yes
18028 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18029 allow_undefined_flag_GCJ
=unsupported
18030 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18031 # support --undefined. This deserves some investigation. FIXME
18032 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18038 cygwin
* | mingw
* | pw32
* | cegcc
*)
18039 # _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
18040 # as there is no search path for DLLs.
18041 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18042 export_dynamic_flag_spec_GCJ
='${wl}--export-all-symbols'
18043 allow_undefined_flag_GCJ
=unsupported
18044 always_export_symbols_GCJ
=no
18045 enable_shared_with_static_runtimes_GCJ
=yes
18046 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
18048 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
18049 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18050 # If the export-symbols file already is a .def file (1st line
18051 # is EXPORTS), use it as is; otherwise, prepend...
18052 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18053 cp $export_symbols $output_objdir/$soname.def;
18055 echo EXPORTS > $output_objdir/$soname.def;
18056 cat $export_symbols >> $output_objdir/$soname.def;
18058 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18065 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18066 link_all_deplibs_GCJ
=yes
18070 hardcode_direct_GCJ
=no
18071 hardcode_shlibpath_var_GCJ
=no
18072 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18073 export_dynamic_flag_spec_GCJ
='${wl}-E'
18074 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18075 # Instead, shared libraries are loaded at an image base (0x10000000 by
18076 # default) and relocated if they conflict, which is a slow very memory
18077 # consuming and fragmenting process. To avoid this, we pick a random,
18078 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18079 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18080 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'
18081 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'
18084 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
18086 if test "$host_os" = linux-dietlibc
; then
18087 case $cc_basename in
18088 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
18091 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
18092 && test "$tmp_diet" = no
18095 tmp_sharedflag
='-shared'
18096 case $cc_basename,$host_cpu in
18097 pgcc
*) # Portland Group C compiler
18098 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'
18099 tmp_addflag
=' $pic_flag'
18101 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
18102 # Portland Group f77 and f90 compilers
18103 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'
18104 tmp_addflag
=' $pic_flag -Mnomain' ;;
18105 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
18106 tmp_addflag
=' -i_dynamic' ;;
18107 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
18108 tmp_addflag
=' -i_dynamic -nofor_main' ;;
18109 ifc
* | ifort
*) # Intel Fortran compiler
18110 tmp_addflag
=' -nofor_main' ;;
18111 lf95
*) # Lahey Fortran 8.1
18112 whole_archive_flag_spec_GCJ
=
18113 tmp_sharedflag
='--shared' ;;
18114 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
18115 tmp_sharedflag
='-qmkshrobj'
18117 nvcc
*) # Cuda Compiler Driver 2.2
18118 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'
18119 compiler_needs_object_GCJ
=yes
18122 case `$CC -V 2>&1 | sed 5q` in
18123 *Sun\ C
*) # Sun C 5.9
18124 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'
18125 compiler_needs_object_GCJ
=yes
18126 tmp_sharedflag
='-G' ;;
18127 *Sun\ F
*) # Sun Fortran 8.3
18128 tmp_sharedflag
='-G' ;;
18130 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18132 if test "x$supports_anon_versioning" = xyes
; then
18133 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18134 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18135 echo "local: *; };" >> $output_objdir/$libname.ver~
18136 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18139 case $cc_basename in
18140 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
18141 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
18142 whole_archive_flag_spec_GCJ
='--whole-archive$convenience --no-whole-archive'
18143 hardcode_libdir_flag_spec_GCJ
=
18144 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18145 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
18146 if test "x$supports_anon_versioning" = xyes
; then
18147 archive_expsym_cmds_GCJ
='echo "{ global:" > $output_objdir/$libname.ver~
18148 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18149 echo "local: *; };" >> $output_objdir/$libname.ver~
18150 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
18160 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18161 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
18164 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18165 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18170 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
18174 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
18175 *** create shared libraries on Solaris systems. Therefore, libtool
18176 *** is disabling shared libraries support. We urge you to upgrade GNU
18177 *** binutils to release 2.9.1 or newer. Another option is to modify
18178 *** your PATH or compiler configuration so that the native linker is
18179 *** used, and then restart.
18182 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18183 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18184 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18190 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
18191 case `$LD -v 2>&1` in
18192 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
18196 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
18197 *** reliably create shared libraries on SCO systems. Therefore, libtool
18198 *** is disabling shared libraries support. We urge you to upgrade GNU
18199 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
18200 *** your PATH or compiler configuration so that the native linker is
18201 *** used, and then restart.
18206 # For security reasons, it is highly recommended that you always
18207 # use absolute paths for naming shared libraries, and exclude the
18208 # DT_RUNPATH tag from executables and libraries. But doing so
18209 # requires that you compile everything twice, which is a pain.
18210 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18211 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18212 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18213 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18222 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18224 hardcode_direct_GCJ
=yes
18225 hardcode_shlibpath_var_GCJ
=no
18229 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
18230 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18231 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18238 if test "$ld_shlibs_GCJ" = no
; then
18240 hardcode_libdir_flag_spec_GCJ
=
18241 export_dynamic_flag_spec_GCJ
=
18242 whole_archive_flag_spec_GCJ
=
18245 # PORTME fill in a description of your system's linker (not GNU ld)
18248 allow_undefined_flag_GCJ
=unsupported
18249 always_export_symbols_GCJ
=yes
18250 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'
18251 # Note: this linker hardcodes the directories in LIBPATH if there
18252 # are no directories specified by -L.
18253 hardcode_minus_L_GCJ
=yes
18254 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
18255 # Neither direct hardcoding nor static linking is supported with a
18257 hardcode_direct_GCJ
=unsupported
18262 if test "$host_cpu" = ia64
; then
18263 # On IA64, the linker does run time linking by default, so we don't
18264 # have to do anything special.
18265 aix_use_runtimelinking
=no
18266 exp_sym_flag
='-Bexport'
18269 # If we're using GNU nm, then we don't want the "-C" option.
18270 # -C means demangle to AIX nm, but means don't demangle with GNU nm
18271 # Also, AIX nm treats weak defined symbols like other global
18272 # defined symbols, whereas GNU nm marks them as "W".
18273 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
18274 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'
18276 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'
18278 aix_use_runtimelinking
=no
18280 # Test if we are trying to use run time linking or normal
18281 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18282 # need to do runtime linking.
18283 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
18284 for ld_flag
in $LDFLAGS; do
18285 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
18286 aix_use_runtimelinking
=yes
18293 exp_sym_flag
='-bexport'
18294 no_entry_flag
='-bnoentry'
18297 # When large executables or shared objects are built, AIX ld can
18298 # have problems creating the table of contents. If linking a library
18299 # or program results in "error TOC overflow" add -mminimal-toc to
18300 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18301 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18303 archive_cmds_GCJ
=''
18304 hardcode_direct_GCJ
=yes
18305 hardcode_direct_absolute_GCJ
=yes
18306 hardcode_libdir_separator_GCJ
=':'
18307 link_all_deplibs_GCJ
=yes
18308 file_list_spec_GCJ
='${wl}-f,'
18310 if test "$GCC" = yes; then
18311 case $host_os in aix4.
[012]|aix4.
[012].
*)
18312 # We only want to do this on AIX 4.2 and lower, the check
18313 # below for broken collect2 doesn't work under 4.3+
18314 collect2name
=`${CC} -print-prog-name=collect2`
18315 if test -f "$collect2name" &&
18316 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
18318 # We have reworked collect2
18321 # We have old collect2
18322 hardcode_direct_GCJ
=unsupported
18323 # It fails to find uninstalled libraries when the uninstalled
18324 # path is not listed in the libpath. Setting hardcode_minus_L
18325 # to unsupported forces relinking
18326 hardcode_minus_L_GCJ
=yes
18327 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18328 hardcode_libdir_separator_GCJ
=
18332 shared_flag
='-shared'
18333 if test "$aix_use_runtimelinking" = yes; then
18334 shared_flag
="$shared_flag "'${wl}-G'
18338 if test "$host_cpu" = ia64
; then
18339 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18340 # chokes on -Wl,-G. The following line is correct:
18343 if test "$aix_use_runtimelinking" = yes; then
18344 shared_flag
='${wl}-G'
18346 shared_flag
='${wl}-bM:SRE'
18351 export_dynamic_flag_spec_GCJ
='${wl}-bexpall'
18352 # It seems that -bexpall does not export symbols beginning with
18353 # underscore (_), so it is better to generate a list of symbols to export.
18354 always_export_symbols_GCJ
=yes
18355 if test "$aix_use_runtimelinking" = yes; then
18356 # Warning - without using the other runtime loading flags (-brtl),
18357 # -berok will link without error, but may produce a broken library.
18358 allow_undefined_flag_GCJ
='-berok'
18359 # Determine the default libpath from the value encoded in an
18360 # empty executable.
18361 if test x
$gcc_no_link = xyes
; then
18362 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h. */
18375 if ac_fn_c_try_link
"$LINENO"; then :
18377 lt_aix_libpath_sed
='
18378 /Import File Strings/,/^$/ {
18384 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18385 # Check for a 64-bit object if we didn't find anything.
18386 if test -z "$aix_libpath"; then
18387 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18390 rm -f core conftest.err conftest.
$ac_objext \
18391 conftest
$ac_exeext conftest.
$ac_ext
18392 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18394 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18395 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"
18397 if test "$host_cpu" = ia64
; then
18398 hardcode_libdir_flag_spec_GCJ
='${wl}-R $libdir:/usr/lib:/lib'
18399 allow_undefined_flag_GCJ
="-z nodefs"
18400 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"
18402 # Determine the default libpath from the value encoded in an
18403 # empty executable.
18404 if test x
$gcc_no_link = xyes
; then
18405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18418 if ac_fn_c_try_link
"$LINENO"; then :
18420 lt_aix_libpath_sed
='
18421 /Import File Strings/,/^$/ {
18427 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18428 # Check for a 64-bit object if we didn't find anything.
18429 if test -z "$aix_libpath"; then
18430 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18433 rm -f core conftest.err conftest.
$ac_objext \
18434 conftest
$ac_exeext conftest.
$ac_ext
18435 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
18437 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
18438 # Warning - without using the other run time loading flags,
18439 # -berok will link without error, but may produce a broken library.
18440 no_undefined_flag_GCJ
=' ${wl}-bernotok'
18441 allow_undefined_flag_GCJ
=' ${wl}-berok'
18442 if test "$with_gnu_ld" = yes; then
18443 # We only use this code for GNU lds that support --whole-archive.
18444 whole_archive_flag_spec_GCJ
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18446 # Exported symbols can be pulled into shared objects from archives
18447 whole_archive_flag_spec_GCJ
='$convenience'
18449 archive_cmds_need_lc_GCJ
=yes
18450 # This is similar to how AIX traditionally builds its shared libraries.
18451 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'
18459 # see comment about AmigaOS4 .so support
18460 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18461 archive_expsym_cmds_GCJ
=''
18464 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)'
18465 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18466 hardcode_minus_L_GCJ
=yes
18472 export_dynamic_flag_spec_GCJ
=-rdynamic
18475 cygwin
* | mingw
* | pw32
* | cegcc
*)
18476 # When not using gcc, we currently assume that we are using
18477 # Microsoft Visual C++.
18478 # hardcode_libdir_flag_spec is actually meaningless, as there is
18479 # no search path for DLLs.
18480 hardcode_libdir_flag_spec_GCJ
=' '
18481 allow_undefined_flag_GCJ
=unsupported
18482 # Tell ltmain to make .lib files, not .a files.
18484 # Tell ltmain to make .dll files, not .so files.
18486 # FIXME: Setting linknames here is a bad hack.
18487 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
18488 # The linker will automatically build a .lib file if we build a DLL.
18489 old_archive_from_new_cmds_GCJ
='true'
18490 # FIXME: Should let the user specify the lib program.
18491 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
18492 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
18493 enable_shared_with_static_runtimes_GCJ
=yes
18496 darwin
* | rhapsody
*)
18499 archive_cmds_need_lc_GCJ
=no
18500 hardcode_direct_GCJ
=no
18501 hardcode_automatic_GCJ
=yes
18502 hardcode_shlibpath_var_GCJ
=unsupported
18503 if test "$lt_cv_ld_force_load" = "yes"; then
18504 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\"`'
18506 whole_archive_flag_spec_GCJ
=''
18508 link_all_deplibs_GCJ
=yes
18509 allow_undefined_flag_GCJ
="$_lt_dar_allow_undefined"
18510 case $cc_basename in
18511 ifort
*) _lt_dar_can_shared
=yes ;;
18512 *) _lt_dar_can_shared
=$GCC ;;
18514 if test "$_lt_dar_can_shared" = "yes"; then
18515 output_verbose_link_cmd
=func_echo_all
18516 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}"
18517 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18518 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}"
18519 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}"
18528 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18529 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18530 hardcode_shlibpath_var_GCJ
=no
18533 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
18534 # support. Future versions do this automatically, but an explicit c++rt0.o
18535 # does not break anything, and helps significantly (at the cost of a little
18538 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18539 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18540 hardcode_direct_GCJ
=yes
18541 hardcode_shlibpath_var_GCJ
=no
18544 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18546 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18547 hardcode_direct_GCJ
=yes
18548 hardcode_minus_L_GCJ
=yes
18549 hardcode_shlibpath_var_GCJ
=no
18552 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18553 freebsd
* | dragonfly
*)
18554 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18555 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18556 hardcode_direct_GCJ
=yes
18557 hardcode_shlibpath_var_GCJ
=no
18561 if test "$GCC" = yes; then
18562 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'
18564 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'
18566 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18567 hardcode_libdir_separator_GCJ
=:
18568 hardcode_direct_GCJ
=yes
18570 # hardcode_minus_L: Not really in the search PATH,
18571 # but as the default location of the library.
18572 hardcode_minus_L_GCJ
=yes
18573 export_dynamic_flag_spec_GCJ
='${wl}-E'
18577 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18578 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18580 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18582 if test "$with_gnu_ld" = no
; then
18583 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18584 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18585 hardcode_libdir_separator_GCJ
=:
18586 hardcode_direct_GCJ
=yes
18587 hardcode_direct_absolute_GCJ
=yes
18588 export_dynamic_flag_spec_GCJ
='${wl}-E'
18589 # hardcode_minus_L: Not really in the search PATH,
18590 # but as the default location of the library.
18591 hardcode_minus_L_GCJ
=yes
18596 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
18599 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18602 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18605 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18611 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18614 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18617 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18621 if test "$with_gnu_ld" = no
; then
18622 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18623 hardcode_libdir_separator_GCJ
=:
18627 hardcode_direct_GCJ
=no
18628 hardcode_shlibpath_var_GCJ
=no
18631 hardcode_direct_GCJ
=yes
18632 hardcode_direct_absolute_GCJ
=yes
18633 export_dynamic_flag_spec_GCJ
='${wl}-E'
18635 # hardcode_minus_L: Not really in the search PATH,
18636 # but as the default location of the library.
18637 hardcode_minus_L_GCJ
=yes
18643 irix5
* | irix6
* | nonstopux
*)
18644 if test "$GCC" = yes; then
18645 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'
18646 # Try to use the -exported_symbol ld option, if it does not
18647 # work, assume that -exports_file does not work either and
18648 # implicitly export all symbols.
18649 save_LDFLAGS
="$LDFLAGS"
18650 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
18651 if test x
$gcc_no_link = xyes
; then
18652 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18655 /* end confdefs.h. */
18658 if ac_fn_c_try_link
"$LINENO"; then :
18659 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'
18662 rm -f core conftest.err conftest.
$ac_objext \
18663 conftest
$ac_exeext conftest.
$ac_ext
18664 LDFLAGS
="$save_LDFLAGS"
18666 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'
18667 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'
18669 archive_cmds_need_lc_GCJ
='no'
18670 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18671 hardcode_libdir_separator_GCJ
=:
18672 inherit_rpath_GCJ
=yes
18673 link_all_deplibs_GCJ
=yes
18677 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
18678 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18680 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18682 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18683 hardcode_direct_GCJ
=yes
18684 hardcode_shlibpath_var_GCJ
=no
18688 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18689 hardcode_direct_GCJ
=yes
18690 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18691 hardcode_libdir_separator_GCJ
=:
18692 hardcode_shlibpath_var_GCJ
=no
18699 if test -f /usr
/libexec
/ld.so
; then
18700 hardcode_direct_GCJ
=yes
18701 hardcode_shlibpath_var_GCJ
=no
18702 hardcode_direct_absolute_GCJ
=yes
18703 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18704 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18705 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18706 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18707 export_dynamic_flag_spec_GCJ
='${wl}-E'
18710 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18711 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18712 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18715 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18716 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18726 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18727 hardcode_minus_L_GCJ
=yes
18728 allow_undefined_flag_GCJ
=unsupported
18729 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'
18730 old_archive_from_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18734 if test "$GCC" = yes; then
18735 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18736 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'
18738 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18739 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'
18741 archive_cmds_need_lc_GCJ
='no'
18742 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18743 hardcode_libdir_separator_GCJ
=:
18746 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18747 if test "$GCC" = yes; then
18748 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18749 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'
18750 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18752 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18753 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'
18754 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~
18755 $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'
18757 # Both c and cxx compiler support -rpath directly
18758 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18760 archive_cmds_need_lc_GCJ
='no'
18761 hardcode_libdir_separator_GCJ
=:
18765 no_undefined_flag_GCJ
=' -z defs'
18766 if test "$GCC" = yes; then
18768 archive_cmds_GCJ
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18769 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18770 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18772 case `$CC -V 2>&1` in
18775 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18776 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18777 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
18781 archive_cmds_GCJ
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
18782 archive_expsym_cmds_GCJ
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18783 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
18787 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18788 hardcode_shlibpath_var_GCJ
=no
18790 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18792 # The compiler driver will combine and reorder linker options,
18793 # but understands `-z linker_flag'. GCC discards it without `$wl',
18794 # but is careful enough not to reorder.
18795 # Supported since Solaris 2.6 (maybe 2.5.1?)
18796 if test "$GCC" = yes; then
18797 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18799 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18803 link_all_deplibs_GCJ
=yes
18807 if test "x$host_vendor" = xsequent
; then
18808 # Use $CC to link under sequent, because it throws in some extra .o
18809 # files that make .init and .fini sections work.
18810 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18812 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18814 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18815 hardcode_direct_GCJ
=yes
18816 hardcode_minus_L_GCJ
=yes
18817 hardcode_shlibpath_var_GCJ
=no
18821 case $host_vendor in
18823 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18824 hardcode_direct_GCJ
=yes # is this really true???
18827 ## LD is ld it makes a PLAMLIB
18828 ## CC just makes a GrossModule.
18829 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18830 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18831 hardcode_direct_GCJ
=no
18834 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18835 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18838 runpath_var
='LD_RUN_PATH'
18839 hardcode_shlibpath_var_GCJ
=no
18843 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18844 hardcode_shlibpath_var_GCJ
=no
18845 export_dynamic_flag_spec_GCJ
='-Bexport'
18849 if test -d /usr
/nec
; then
18850 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18851 hardcode_shlibpath_var_GCJ
=no
18852 runpath_var
=LD_RUN_PATH
18853 hardcode_runpath_var
=yes
18858 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18859 no_undefined_flag_GCJ
='${wl}-z,text'
18860 archive_cmds_need_lc_GCJ
=no
18861 hardcode_shlibpath_var_GCJ
=no
18862 runpath_var
='LD_RUN_PATH'
18864 if test "$GCC" = yes; then
18865 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18866 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18868 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18869 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18873 sysv5
* | sco3.2v5
* | sco5v6
*)
18874 # Note: We can NOT use -z defs as we might desire, because we do not
18875 # link with -lc, and that would cause any symbols used from libc to
18876 # always be unresolved, which means just about no library would
18877 # ever link correctly. If we're not using GNU ld we use -z text
18878 # though, which does catch some bad symbols but isn't as heavy-handed
18880 no_undefined_flag_GCJ
='${wl}-z,text'
18881 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18882 archive_cmds_need_lc_GCJ
=no
18883 hardcode_shlibpath_var_GCJ
=no
18884 hardcode_libdir_flag_spec_GCJ
='${wl}-R,$libdir'
18885 hardcode_libdir_separator_GCJ
=':'
18886 link_all_deplibs_GCJ
=yes
18887 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18888 runpath_var
='LD_RUN_PATH'
18890 if test "$GCC" = yes; then
18891 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18892 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18894 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18895 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18900 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18901 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18902 hardcode_shlibpath_var_GCJ
=no
18910 if test x
$host_vendor = xsni
; then
18912 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
18913 export_dynamic_flag_spec_GCJ
='${wl}-Blargedynsym'
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
18920 $as_echo "$ld_shlibs_GCJ" >&6; }
18921 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18923 with_gnu_ld_GCJ
=$with_gnu_ld
18931 # Do we need to explicitly link libc?
18933 case "x$archive_cmds_need_lc_GCJ" in
18935 # Assume -lc should be added
18936 archive_cmds_need_lc_GCJ
=yes
18938 if test "$enable_shared" = yes && test "$GCC" = yes; then
18939 case $archive_cmds_GCJ in
18941 # FIXME: we may have to deal with multi-command sequences.
18944 # Test whether the compiler implicitly links with -lc since on some
18945 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18946 # to ld, don't add -lc before -lgcc.
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18948 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18949 if test "${lt_cv_archive_cmds_need_lc_GCJ+set}" = set; then :
18950 $as_echo_n "(cached) " >&6
18953 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18956 (eval $ac_compile) 2>&5
18958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18959 test $ac_status = 0; } 2>conftest.err
; then
18962 libobjs
=conftest.
$ac_objext
18964 wl
=$lt_prog_compiler_wl_GCJ
18965 pic_flag
=$lt_prog_compiler_pic_GCJ
18971 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18972 allow_undefined_flag_GCJ
=
18973 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
18974 (eval $archive_cmds_GCJ 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18977 test $ac_status = 0; }
18979 lt_cv_archive_cmds_need_lc_GCJ
=no
18981 lt_cv_archive_cmds_need_lc_GCJ
=yes
18983 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18985 cat conftest.err
1>&5
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_GCJ" >&5
18991 $as_echo "$lt_cv_archive_cmds_need_lc_GCJ" >&6; }
18992 archive_cmds_need_lc_GCJ
=$lt_cv_archive_cmds_need_lc_GCJ
19062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
19063 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
19064 hardcode_action_GCJ
=
19065 if test -n "$hardcode_libdir_flag_spec_GCJ" ||
19066 test -n "$runpath_var_GCJ" ||
19067 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
19069 # We can hardcode non-existent directories.
19070 if test "$hardcode_direct_GCJ" != no
&&
19071 # If the only mechanism to avoid hardcoding is shlibpath_var, we
19072 # have to relink, otherwise we might link with an installed library
19073 # when we should be linking with a yet-to-be-installed one
19074 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
19075 test "$hardcode_minus_L_GCJ" != no
; then
19076 # Linking always hardcodes the temporary library directory.
19077 hardcode_action_GCJ
=relink
19079 # We can link without hardcoding, and we can hardcode nonexisting dirs.
19080 hardcode_action_GCJ
=immediate
19083 # We cannot hardcode anything, or else we can only hardcode existing
19085 hardcode_action_GCJ
=unsupported
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
19088 $as_echo "$hardcode_action_GCJ" >&6; }
19090 if test "$hardcode_action_GCJ" = relink ||
19091 test "$inherit_rpath_GCJ" = yes; then
19092 # Fast installation is not supported
19093 enable_fast_install
=no
19094 elif test "$shlibpath_overrides_runpath" = yes ||
19095 test "$enable_shared" = no
; then
19096 # Fast installation is not necessary
19097 enable_fast_install
=needless
19108 compiler_GCJ
=${GCJ-gcj}
19110 ac_cpp
='$CPP $CPPFLAGS'
19111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19116 if test "x$CC" != xcc
; then
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
19118 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
19121 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
19123 set dummy
$CC; ac_cc
=`$as_echo "$2" |
19124 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19125 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
19126 $as_echo_n "(cached) " >&6
19128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19129 /* end confdefs.h. */
19139 # Make sure it works both with $CC and with simple cc.
19140 # We do the test twice because some compilers refuse to overwrite an
19141 # existing .o file with -o, though they will create one.
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; };
19165 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
19166 if test "x$CC" != xcc
; then
19167 # Test first that cc exists at all.
19168 if { ac_try
='cc -c conftest.$ac_ext >&5'
19169 { { case "(($ac_try" in
19170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19171 *) ac_try_echo=$ac_try;;
19173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19174 $as_echo "$ac_try_echo"; } >&5
19175 (eval "$ac_try") 2>&5
19177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19178 test $ac_status = 0; }; }; then
19179 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
19181 if { { case "(($ac_try" in
19182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19183 *) ac_try_echo
=$ac_try;;
19185 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19186 $as_echo "$ac_try_echo"; } >&5
19187 (eval "$ac_try") 2>&5
19189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19190 test $ac_status = 0; } &&
19191 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
19192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19196 $as_echo "$ac_try_echo"; } >&5
19197 (eval "$ac_try") 2>&5
19199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19200 test $ac_status = 0; };
19205 # cc exists but doesn't like -o.
19206 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19211 eval ac_cv_prog_cc_${ac_cc}_c_o=no
19213 rm -f core conftest*
19216 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19218 $as_echo "yes" >&6; }
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19221 $as_echo "no" >&6; }
19223 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
19227 # FIXME: we rely on the cache variable name because
19228 # there is no other way.
19230 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
19231 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
19232 if test "$am_t" != yes; then
19233 # Losing compiler, so override with the script.
19234 # FIXME: It is wrong to rewrite CC.
19235 # But if we don't then we get into trouble of one sort or another.
19236 # A longer-term fix would be to have automake use am__CC in this case,
19237 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
19238 CC="$am_aux_dir/compile $CC"
19245 subdirs="$subdirs classpath libltdl"
19248 # The -no-testsuite modules omit the test subdir.
19249 if test -d $srcdir/testsuite; then
19251 TESTSUBDIR_FALSE='#'
19253 TESTSUBDIR_TRUE='#'
19258 # Should the runtime set system properties by examining the
19259 # environment variable GCJ_PROPERTIES?
19260 # Check whether --enable-getenv-properties was given.
19261 if test "${enable_getenv_properties+set}" = set; then :
19262 enableval=$enable_getenv_properties;
19266 # Whether GCJ_PROPERTIES is used depends on the target.
19267 if test -z "$enable_getenv_properties"; then
19268 enable_getenv_properties=${enable_getenv_properties_default-yes}
19270 if test "$enable_getenv_properties" = no; then
19272 $as_echo "#define DISABLE_GETENV_PROPERTIES 1" >>confdefs.h
19276 # Whether we should use arguments to main()
19277 if test -z "$enable_main_args"; then
19278 enable_main_args=${enable_main_args_default-yes}
19280 if test "$enable_main_args" = no; then
19282 $as_echo "#define DISABLE_MAIN_ARGS 1" >>confdefs.h
19287 # Should we use hashtable-based synchronization?
19288 # Currently works only for Linux X86/ia64
19289 # Typically faster and more space-efficient
19290 # Check whether --enable-hash-synchronization was given.
19291 if test "${enable_hash_synchronization+set}" = set; then :
19292 enableval=$enable_hash_synchronization;
19296 if test -z "$enable_hash_synchronization"; then
19297 enable_hash_synchronization=$enable_hash_synchronization_default
19305 # Check whether --with-ecj-jar was given.
19306 if test "${with_ecj_jar+set}" = set; then :
19307 withval=$with_ecj_jar; ECJ_JAR=$withval
19309 if test -f $multi_basedir/ecj.jar; then
19310 ECJ_BUILD_JAR=$multi_basedir/ecj.jar
19311 ECJ_JAR='$(jardir)/ecj.jar'
19312 install_ecj_jar=yes
19318 if test "$ECJ_JAR" != ""; then
19320 BUILD_ECJ1_FALSE='#'
19322 BUILD_ECJ1_TRUE='#'
19326 if test $install_ecj_jar = yes; then
19327 INSTALL_ECJ_JAR_TRUE=
19328 INSTALL_ECJ_JAR_FALSE='#'
19330 INSTALL_ECJ_JAR_TRUE='#'
19331 INSTALL_ECJ_JAR_FALSE=
19336 # Check whether --with-java-home was given.
19337 if test "${with_java_home+set}" = set; then :
19338 withval=$with_java_home; JAVA_HOME="${withval}"
19343 if test ! -z "$JAVA_HOME"; then
19344 JAVA_HOME_SET_TRUE=
19345 JAVA_HOME_SET_FALSE='#'
19347 JAVA_HOME_SET_TRUE='#'
19348 JAVA_HOME_SET_FALSE=
19353 suppress_libgcj_bc=no
19354 # Check whether --enable-libgcj-bc was given.
19355 if test "${enable_libgcj_bc+set}" = set; then :
19356 enableval=$enable_libgcj_bc; if test "$enable_libgcj_bc" = "no"; then
19357 suppress_libgcj_bc=yes
19361 if test "$suppress_libgcj_bc" = "yes"; then
19362 SUPPRESS_LIBGCJ_BC_TRUE=
19363 SUPPRESS_LIBGCJ_BC_FALSE='#'
19365 SUPPRESS_LIBGCJ_BC_TRUE='#'
19366 SUPPRESS_LIBGCJ_BC_FALSE=
19370 build_libgcj_reduced_reflection=no
19371 # Check whether --enable-reduced-reflection was given.
19372 if test "${enable_reduced_reflection+set}" = set; then :
19373 enableval=$enable_reduced_reflection; if test "$enable_reduced_reflection" = "yes"; then
19374 build_libgcj_reduced_reflection=yes
19378 if test "$build_libgcj_reduced_reflection" = "yes"; then
19379 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE=
19380 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE='#'
19382 BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE='#'
19383 BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE=
19387 # What is the native OS API for MinGW?
19389 # Check whether --with-win32-nlsapi was given.
19390 if test "${with_win32_nlsapi+set}" = set; then :
19391 withval=$with_win32_nlsapi; case "${withval}" in
19392 ansi) with_win32_nlsapi=ansi ;;
19393 unicows) with_win32_nlsapi=unicows ;;
19394 unicode) with_win32_nlsapi=unicode ;;
19395 *) as_fn_error "Bad value ${withval} for --with-win32-nlsapi." "$LINENO" 5 ;;
19398 with_win32_nlsapi=ansi
19402 case "${with_win32_nlsapi}" in
19405 $as_echo "#define MINGW_LIBGCJ_UNICODE 1" >>confdefs.h
19410 # configure.host sets slow_pthread_self if the synchronization code should
19411 # try to avoid pthread_self calls by caching thread IDs in a hashtable.
19412 if test "${slow_pthread_self}" = "yes"; then
19414 $as_echo "#define SLOW_PTHREAD_SELF 1" >>confdefs.h
19418 # Check for gc debugging. This option is handled both here and in the GC.
19419 # Check whether --enable-gc-debug was given.
19420 if test "${enable_gc_debug+set}" = set; then :
19421 enableval=$enable_gc_debug; if test "$enable_gc_debug" = "yes"; then
19423 $as_echo "#define LIBGCJ_GC_DEBUG 1" >>confdefs.h
19429 # See if the user has the interpreter included.
19430 # Check whether --enable-interpreter was given.
19431 if test "${enable_interpreter+set}" = set; then :
19432 enableval=$enable_interpreter; if test "$enable_interpreter" = yes; then
19433 # This can also be set in configure.host.
19434 libgcj_interpreter=yes
19435 elif test "$enable_interpreter" = no; then
19436 libgcj_interpreter=no
19441 if test "$libgcj_interpreter" = yes; then
19443 $as_echo "#define INTERPRETER 1" >>confdefs.h
19446 INTERPRETER="$libgcj_interpreter"
19448 if test "$libgcj_interpreter" = yes; then
19450 INTERPRETER_FALSE='#'
19452 INTERPRETER_TRUE='#'
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
19458 $as_echo_n "checking for exception model to use... " >&6; }
19460 ac_cpp='$CXXCPP $CPPFLAGS'
19461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19465 # Check whether --enable-sjlj-exceptions was given.
19466 if test "${enable_sjlj_exceptions+set}" = set; then :
19467 enableval=$enable_sjlj_exceptions; :
19469 cat > conftest.$ac_ext << EOF
19470 #line 19470 "configure"
19471 struct S { ~S(); };
19479 old_CXXFLAGS="$CXXFLAGS"
19481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19482 (eval $ac_compile) 2>&5
19484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19485 test $ac_status = 0; }; then
19486 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
19487 enable_sjlj_exceptions=yes
19488 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
19489 enable_sjlj_exceptions=no
19490 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
19492 enable_sjlj_exceptions=no
19495 CXXFLAGS="$old_CXXFLAGS"
19499 if test x$enable_sjlj_exceptions = xyes; then
19501 $as_echo "#define SJLJ_EXCEPTIONS 1" >>confdefs.h
19503 ac_exception_model_name=sjlj
19504 elif test x$enable_sjlj_exceptions = xno; then
19505 ac_exception_model_name="call frame"
19507 as_fn_error "unable to detect exception model" "$LINENO" 5
19510 ac_cpp='$CPP $CPPFLAGS'
19511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
19516 $as_echo "$ac_exception_model_name" >&6; }
19518 # If we are non using SJLJ exceptions, and this host does not have support
19519 # for unwinding from a signal handler, enable checked dereferences and divides.
19520 if test $can_unwind_signal = no && test $enable_sjlj_exceptions = no; then
19521 CHECKREFSPEC=-fcheck-references
19522 DIVIDESPEC=-fuse-divide-subroutine
19526 # See if the user wants to disable java.net. This is the mildly
19527 # ugly way that we admit that target-side configuration sucks.
19528 # Check whether --enable-java-net was given.
19529 if test "${enable_java_net+set}" = set; then :
19530 enableval=$enable_java_net;
19534 # Whether java.net is built by default can depend on the target.
19535 if test -z "$enable_java_net"; then
19536 enable_java_net=${enable_java_net_default-yes}
19538 if test "$enable_java_net" = no; then
19540 $as_echo "#define DISABLE_JAVA_NET 1" >>confdefs.h
19544 # See if the user wants to configure without libffi. Some
19545 # architectures don't support it, and default values are set in
19548 # Check whether --with-libffi was given.
19549 if test "${with_libffi+set}" = set; then :
19550 withval=$with_libffi; :
19552 with_libffi=${with_libffi_default-yes}
19558 if test "$with_libffi" != no; then
19560 $as_echo "#define USE_LIBFFI 1" >>confdefs.h
19562 LIBFFI=../libffi/libffi_convenience.la
19563 LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include'
19568 # See if the user wants to disable JVMPI support.
19569 # Check whether --enable-jvmpi was given.
19570 if test "${enable_jvmpi+set}" = set; then :
19571 enableval=$enable_jvmpi;
19575 if test "$enable_jvmpi" != no; then
19577 $as_echo "#define ENABLE_JVMPI 1" >>confdefs.h
19581 # If the target is an eCos system, use the appropriate eCos
19583 # FIXME: this should not be a local option but a global target
19584 # system; at present there is no eCos target.
19585 TARGET_ECOS=${PROCESS-"no"}
19587 # Check whether --with-ecos was given.
19588 if test "${with_ecos+set}" = set; then :
19589 withval=$with_ecos; TARGET_ECOS="$with_ecos"
19594 case "$TARGET_ECOS" in
19595 no) case "$host" in
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 'ld' is at least 2.13" >&5
19602 $as_echo_n "checking whether 'ld' is at least 2.13... " >&6; }
19603 LD_PROG=`$CC --print-prog-name=ld
`
19604 LD_VERSION=`$LD_PROG --version`
19605 LD_VERSION_MAJOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 1 | cut
-d ' ' -f 4`
19606 LD_VERSION_MINOR=`echo "$LD_VERSION" |
head -1 | cut
-d '.' -f 2`
19607 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
19610 if expr "$LD_VERSION_MAJOR" = 2 && expr "$LD_VERSION_MINOR" \>= 13 > /dev/null; then
19614 if test "x$LD_OK" != x; then
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19616 $as_echo "yes; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&5
19619 $as_echo "no; major=$LD_VERSION_MAJOR, minor=$LD_VERSION_MINOR" >&6; }
19620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&5
19621 $as_echo "$as_me: WARNING: ld <2.13 detected; enabling JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS hack..." >&2;}
19623 $as_echo "#define JV_LINKER_CANNOT_8BYTE_ALIGN_STATICS 1" >>confdefs.h
19638 $as_echo "#define ECOS 1" >>confdefs.h
19644 ac_config_links="$ac_config_links include/platform.h:include/$PLATFORMH"
19647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19648 /* end confdefs.h. */
19649 #include <stdint.h>
19652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19653 $EGREP "uint32_t" >/dev/null 2>&1; then :
19655 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19662 #include <inttypes.h>
19665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19666 $EGREP "uint32_t" >/dev/null 2>&1; then :
19668 $as_echo "#define HAVE_INT32_DEFINED 1" >>confdefs.h
19673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19674 /* end confdefs.h. */
19675 #include <sys/types.h>
19678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19679 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19681 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19688 #include <sys/config.h>
19691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19692 $EGREP "u_int32_t" >/dev/null 2>&1; then :
19694 $as_echo "#define HAVE_BSD_INT32_DEFINED 1" >>confdefs.h
19700 if test "$PLATFORM" = Win32; then
19701 USING_WIN32_PLATFORM_TRUE=
19702 USING_WIN32_PLATFORM_FALSE='#'
19704 USING_WIN32_PLATFORM_TRUE='#'
19705 USING_WIN32_PLATFORM_FALSE=
19708 if test "$PLATFORM" = Posix || test "$PLATFORM" = Ecos; then
19709 USING_POSIX_PLATFORM_TRUE=
19710 USING_POSIX_PLATFORM_FALSE='#'
19712 USING_POSIX_PLATFORM_TRUE='#'
19713 USING_POSIX_PLATFORM_FALSE=
19718 *-darwin*) DARWIN_CRT=true ;;
19719 *) DARWIN_CRT=false ;;
19721 if $DARWIN_CRT; then
19722 USING_DARWIN_CRT_TRUE=
19723 USING_DARWIN_CRT_FALSE='#'
19725 USING_DARWIN_CRT_TRUE='#'
19726 USING_DARWIN_CRT_FALSE=
19730 # This may not be defined in a non-ANS conformant embedded system.
19731 # FIXME: Should these case a runtime exception in that case?
19732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19738 $EGREP "localtime" >/dev/null 2>&1; then :
19740 $as_echo "#define HAVE_LOCALTIME 1" >>confdefs.h
19746 # Create the subdirectory for natFile.cc, or the attempt
19747 # to create the link will fail.
19748 test -d java || mkdir java
19749 test -d java/io || mkdir java/io
19750 test -d gnu || mkdir gnu
19751 ac_config_links="$ac_config_links java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc"
19754 # Likewise for natConcreteProcess.cc.
19755 test -d java/lang || mkdir java/lang
19756 ac_config_links="$ac_config_links java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc"
19759 # Likewise for natVMInetAddress.cc and natVMNetworkInterface.cc.
19760 test -d java/net || mkdir java/net
19761 ac_config_links="$ac_config_links java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc"
19763 ac_config_links="$ac_config_links java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc"
19766 # Likewise for natPlainSocketImpl.cc and natPlainDatagramSocketImpl.cc.
19767 test -d gnu/java || mkdir gnu/java
19768 test -d gnu/java/net || mkdir gnu/java/net
19769 ac_config_links="$ac_config_links gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc"
19771 ac_config_links="$ac_config_links gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc"
19774 # Likewise for natVMPipe.cc and natVMSelector.cc.
19775 test -d gnu/java/nio || mkdir gnu/java/nio
19776 ac_config_links="$ac_config_links gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc"
19778 ac_config_links="$ac_config_links gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc"
19781 # Likewise for natFileChannelImpl.cc
19782 test -d gnu/java/nio/channels || mkdir gnu/java/nio/channels
19783 ac_config_links="$ac_config_links gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc"
19786 # Likewise for natVMSecureRandom.cc
19787 test -d gnu/java/security || mkdir gnu/java/security
19788 test -d gnu/java/security/jce || mkdir gnu/java/security/jce
19789 test -d gnu/java/security/jce/prng || mkdir gnu/java/security/jce/prng
19790 ac_config_links="$ac_config_links gnu/java/security/jce/prng/natVMSecureRandom.cc:gnu/java/security/jce/prng/natVMSecureRandom${FILE-${PLATFORM}}.cc"
19795 SYSTEMSPEC="-lgdi32 -lws2_32"
19796 if test "${with_win32_nlsapi}" = "unicows"; then
19797 SYSTEMSPEC="-lunicows $SYSTEMSPEC"
19801 SYSTEMSPEC="%{!Zdynamiclib:%{!Zbundle:-allow_stack_execute}}"
19810 # Check whether --with-system-zlib was given.
19811 if test "${with_system_zlib+set}" = set; then :
19812 withval=$with_system_zlib;
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
19821 $as_echo_n "checking for X... " >&6; }
19824 # Check whether --with-x was given.
19825 if test "${with_x+set}" = set; then :
19829 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
19830 if test "x$with_x" = xno; then
19831 # The user explicitly disabled X.
19834 case $x_includes,$x_libraries in #(
19835 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
19836 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
19837 $as_echo_n "(cached) " >&6
19839 # One or both of the vars are not set, and there is no cached value.
19840 ac_x_includes=no ac_x_libraries=no
19841 rm -f -r conftest.dir
19842 if mkdir conftest.dir; then
19844 cat >Imakefile <<'_ACEOF'
19846 @echo incroot='${INCROOT}'
19848 @echo usrlibdir='${USRLIBDIR}'
19850 @echo libdir='${LIBDIR}'
19852 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
19853 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19854 for ac_var in incroot usrlibdir libdir; do
19855 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
19857 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
19858 for ac_extension in a so sl dylib la dll; do
19859 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
19860 test -f "$ac_im_libdir/libX11.$ac_extension"; then
19861 ac_im_usrlibdir=$ac_im_libdir; break
19864 # Screen out bogus values from the imake configuration. They are
19865 # bogus both because they are the default anyway, and because
19866 # using them would break gcc on systems where it needs fixed includes.
19867 case $ac_im_incroot in
19868 /usr/include) ac_x_includes= ;;
19869 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
19871 case $ac_im_usrlibdir in
19872 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
19873 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
19877 rm -f -r conftest.dir
19880 # Standard set of common directories for X headers.
19881 # Check X11 before X11Rn because it is often a symlink to the current release.
19895 /usr/local/X11/include
19896 /usr/local/X11R7/include
19897 /usr/local/X11R6/include
19898 /usr/local/X11R5/include
19899 /usr/local/X11R4/include
19901 /usr/local/include/X11
19902 /usr/local/include/X11R7
19903 /usr/local/include/X11R6
19904 /usr/local/include/X11R5
19905 /usr/local/include/X11R4
19909 /usr/XFree86/include/X11
19913 /usr/unsupported/include
19914 /usr/athena/include
19915 /usr/local/x11r5/include
19916 /usr/lpp/Xamples/include
19918 /usr/openwin/include
19919 /usr/openwin/share/include'
19921 if test "$ac_x_includes" = no; then
19922 # Guess where to find include files, by looking for Xlib.h.
19923 # First, try using that file with no special directory specified.
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #include <X11/Xlib.h>
19928 if ac_fn_c_try_cpp "$LINENO"; then :
19929 # We can compile using X headers with no special include directory.
19932 for ac_dir in $ac_x_header_dirs; do
19933 if test -r "$ac_dir/X11/Xlib.h"; then
19934 ac_x_includes=$ac_dir
19939 rm -f conftest.err conftest.$ac_ext
19940 fi # $ac_x_includes = no
19942 if test "$ac_x_libraries" = no; then
19943 # Check for the libraries.
19944 # See if we find them without any special options.
19945 # Don't add to $LIBS permanently.
19948 if test x$gcc_no_link = xyes; then
19949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19952 /* end confdefs.h. */
19953 #include <X11/Xlib.h>
19962 if ac_fn_c_try_link "$LINENO"; then :
19964 # We can link X programs with no special library path.
19968 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
19970 # Don't even attempt the hair of trying to link an X program!
19971 for ac_extension in a so sl dylib la dll; do
19972 if test -r "$ac_dir/libX11.$ac_extension"; then
19973 ac_x_libraries=$ac_dir
19979 rm -f core conftest.err conftest.$ac_objext \
19980 conftest$ac_exeext conftest.$ac_ext
19981 fi # $ac_x_libraries = no
19983 case $ac_x_includes,$ac_x_libraries in #(
19984 no,* | *,no | *\'*)
19985 # Didn't find X, or a directory has "'" in its name.
19986 ac_cv_have_x="have_x=no";; #(
19988 # Record where we found X for the cache.
19989 ac_cv_have_x="have_x=yes\
19990 ac_x_includes='$ac_x_includes'\
19991 ac_x_libraries='$ac_x_libraries'"
19997 eval "$ac_cv_have_x"
20000 if test "$have_x" != yes; then
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
20002 $as_echo "$have_x" >&6; }
20005 # If each of the values was on the command line, it overrides each guess.
20006 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
20007 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
20008 # Update the cache value to reflect the command line values.
20009 ac_cv_have_x="have_x=yes\
20010 ac_x_includes='$x_includes'\
20011 ac_x_libraries='$x_libraries'"
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
20013 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
20016 if test "$no_x" = yes; then
20017 # Not all programs may use this symbol, but it does not hurt to define it.
20019 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
20021 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
20023 if test -n "$x_includes"; then
20024 X_CFLAGS="$X_CFLAGS -I$x_includes"
20027 # It would also be nice to do this for all -L options, not just this one.
20028 if test -n "$x_libraries"; then
20029 X_LIBS="$X_LIBS -L$x_libraries"
20030 # For Solaris; some versions of Sun CC require a space after -R and
20031 # others require no space. Words are not sufficient . . . .
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
20033 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
20034 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
20035 ac_xsave_c_werror_flag=$ac_c_werror_flag
20036 ac_c_werror_flag=yes
20037 if test x$gcc_no_link = xyes; then
20038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20051 if ac_fn_c_try_link "$LINENO"; then :
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20053 $as_echo "no" >&6; }
20054 X_LIBS="$X_LIBS -R$x_libraries"
20056 LIBS="$ac_xsave_LIBS -R $x_libraries"
20057 if test x$gcc_no_link = xyes; then
20058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20061 /* end confdefs.h. */
20071 if ac_fn_c_try_link "$LINENO"; then :
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20073 $as_echo "yes" >&6; }
20074 X_LIBS="$X_LIBS -R $x_libraries"
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
20077 $as_echo "neither works" >&6; }
20079 rm -f core conftest.err conftest.$ac_objext \
20080 conftest$ac_exeext conftest.$ac_ext
20082 rm -f core conftest.err conftest.$ac_objext \
20083 conftest$ac_exeext conftest.$ac_ext
20084 ac_c_werror_flag=$ac_xsave_c_werror_flag
20085 LIBS=$ac_xsave_LIBS
20088 # Check for system-dependent libraries X programs must link with.
20089 # Do this before checking for the system-independent R6 libraries
20090 # (-lICE), since we may need -lsocket or whatever for X linking.
20092 if test "$ISC" = yes; then
20093 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
20095 # Martyn Johnson says this is needed for Ultrix, if the X
20096 # libraries were built with DECnet support. And Karl Berry says
20097 # the Alpha needs dnet_stub (dnet does not exist).
20098 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
20099 if test x$gcc_no_link = xyes; then
20100 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20103 /* end confdefs.h. */
20105 /* Override any GCC internal prototype to avoid an error.
20106 Use char because int might match the return type of a GCC
20107 builtin and then its argument prototype would still apply. */
20111 char XOpenDisplay ();
20115 return XOpenDisplay ();
20120 if ac_fn_c_try_link "$LINENO"; then :
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
20124 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
20125 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
20126 $as_echo_n "(cached) " >&6
20128 ac_check_lib_save_LIBS=$LIBS
20129 LIBS="-ldnet $LIBS"
20130 if test x$gcc_no_link = xyes; then
20131 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20134 /* end confdefs.h. */
20136 /* Override any GCC internal prototype to avoid an error.
20137 Use char because int might match the return type of a GCC
20138 builtin and then its argument prototype would still apply. */
20146 return dnet_ntoa ();
20151 if ac_fn_c_try_link "$LINENO"; then :
20152 ac_cv_lib_dnet_dnet_ntoa=yes
20154 ac_cv_lib_dnet_dnet_ntoa=no
20156 rm -f core conftest.err conftest.$ac_objext \
20157 conftest$ac_exeext conftest.$ac_ext
20158 LIBS=$ac_check_lib_save_LIBS
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
20161 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
20162 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
20163 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
20166 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
20168 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
20169 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
20170 $as_echo_n "(cached) " >&6
20172 ac_check_lib_save_LIBS=$LIBS
20173 LIBS="-ldnet_stub $LIBS"
20174 if test x$gcc_no_link = xyes; then
20175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20178 /* end confdefs.h. */
20180 /* Override any GCC internal prototype to avoid an error.
20181 Use char because int might match the return type of a GCC
20182 builtin and then its argument prototype would still apply. */
20190 return dnet_ntoa ();
20195 if ac_fn_c_try_link "$LINENO"; then :
20196 ac_cv_lib_dnet_stub_dnet_ntoa=yes
20198 ac_cv_lib_dnet_stub_dnet_ntoa=no
20200 rm -f core conftest.err conftest.$ac_objext \
20201 conftest$ac_exeext conftest.$ac_ext
20202 LIBS=$ac_check_lib_save_LIBS
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
20205 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
20206 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
20207 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
20212 rm -f core conftest.err conftest.$ac_objext \
20213 conftest$ac_exeext conftest.$ac_ext
20214 LIBS="$ac_xsave_LIBS"
20216 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
20217 # to get the SysV transport functions.
20218 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
20220 # The nsl library prevents programs from opening the X display
20221 # on Irix 5.2, according to T.E. Dickey.
20222 # The functions gethostbyname, getservbyname, and inet_addr are
20223 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
20224 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20225 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
20229 if test $ac_cv_func_gethostbyname = no; then
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20231 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20232 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
20233 $as_echo_n "(cached) " >&6
20235 ac_check_lib_save_LIBS=$LIBS
20237 if test x$gcc_no_link = xyes; then
20238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20243 /* Override any GCC internal prototype to avoid an error.
20244 Use char because int might match the return type of a GCC
20245 builtin and then its argument prototype would still apply. */
20249 char gethostbyname ();
20253 return gethostbyname ();
20258 if ac_fn_c_try_link "$LINENO"; then :
20259 ac_cv_lib_nsl_gethostbyname=yes
20261 ac_cv_lib_nsl_gethostbyname=no
20263 rm -f core conftest.err conftest.$ac_objext \
20264 conftest$ac_exeext conftest.$ac_ext
20265 LIBS=$ac_check_lib_save_LIBS
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20268 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20269 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
20270 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
20273 if test $ac_cv_lib_nsl_gethostbyname = no; then
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
20275 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
20276 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
20277 $as_echo_n "(cached) " >&6
20279 ac_check_lib_save_LIBS=$LIBS
20281 if test x$gcc_no_link = xyes; then
20282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20285 /* end confdefs.h. */
20287 /* Override any GCC internal prototype to avoid an error.
20288 Use char because int might match the return type of a GCC
20289 builtin and then its argument prototype would still apply. */
20293 char gethostbyname ();
20297 return gethostbyname ();
20302 if ac_fn_c_try_link "$LINENO"; then :
20303 ac_cv_lib_bsd_gethostbyname=yes
20305 ac_cv_lib_bsd_gethostbyname=no
20307 rm -f core conftest.err conftest.$ac_objext \
20308 conftest$ac_exeext conftest.$ac_ext
20309 LIBS=$ac_check_lib_save_LIBS
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
20312 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
20313 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
20314 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
20320 # lieder@skyler.mavd.honeywell.com says without -lsocket,
20321 # socket/setsockopt and other routines are undefined under SCO ODT
20322 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
20323 # on later versions), says Simon Leinen: it contains gethostby*
20324 # variants that don't use the name server (or something). -lsocket
20325 # must be given before -lnsl if both are needed. We assume that
20326 # if connect needs -lnsl, so does gethostbyname.
20327 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
20328 if test "x$ac_cv_func_connect" = x""yes; then :
20332 if test $ac_cv_func_connect = no; then
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
20334 $as_echo_n "checking for connect in -lsocket... " >&6; }
20335 if test "${ac_cv_lib_socket_connect+set}" = set; then :
20336 $as_echo_n "(cached) " >&6
20338 ac_check_lib_save_LIBS=$LIBS
20339 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
20340 if test x$gcc_no_link = xyes; then
20341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20344 /* end confdefs.h. */
20346 /* Override any GCC internal prototype to avoid an error.
20347 Use char because int might match the return type of a GCC
20348 builtin and then its argument prototype would still apply. */
20361 if ac_fn_c_try_link "$LINENO"; then :
20362 ac_cv_lib_socket_connect=yes
20364 ac_cv_lib_socket_connect=no
20366 rm -f core conftest.err conftest.$ac_objext \
20367 conftest$ac_exeext conftest.$ac_ext
20368 LIBS=$ac_check_lib_save_LIBS
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
20371 $as_echo "$ac_cv_lib_socket_connect" >&6; }
20372 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
20373 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
20378 # Guillermo Gomez says -lposix is necessary on A/UX.
20379 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
20380 if test "x$ac_cv_func_remove" = x""yes; then :
20384 if test $ac_cv_func_remove = no; then
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
20386 $as_echo_n "checking for remove in -lposix... " >&6; }
20387 if test "${ac_cv_lib_posix_remove+set}" = set; then :
20388 $as_echo_n "(cached) " >&6
20390 ac_check_lib_save_LIBS=$LIBS
20391 LIBS="-lposix $LIBS"
20392 if test x$gcc_no_link = xyes; then
20393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20396 /* end confdefs.h. */
20398 /* Override any GCC internal prototype to avoid an error.
20399 Use char because int might match the return type of a GCC
20400 builtin and then its argument prototype would still apply. */
20413 if ac_fn_c_try_link "$LINENO"; then :
20414 ac_cv_lib_posix_remove=yes
20416 ac_cv_lib_posix_remove=no
20418 rm -f core conftest.err conftest.$ac_objext \
20419 conftest$ac_exeext conftest.$ac_ext
20420 LIBS=$ac_check_lib_save_LIBS
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
20423 $as_echo "$ac_cv_lib_posix_remove" >&6; }
20424 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
20425 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
20430 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
20431 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
20432 if test "x$ac_cv_func_shmat" = x""yes; then :
20436 if test $ac_cv_func_shmat = no; then
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
20438 $as_echo_n "checking for shmat in -lipc... " >&6; }
20439 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
20440 $as_echo_n "(cached) " >&6
20442 ac_check_lib_save_LIBS=$LIBS
20444 if test x$gcc_no_link = xyes; then
20445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20448 /* end confdefs.h. */
20450 /* Override any GCC internal prototype to avoid an error.
20451 Use char because int might match the return type of a GCC
20452 builtin and then its argument prototype would still apply. */
20465 if ac_fn_c_try_link "$LINENO"; then :
20466 ac_cv_lib_ipc_shmat=yes
20468 ac_cv_lib_ipc_shmat=no
20470 rm -f core conftest.err conftest.$ac_objext \
20471 conftest$ac_exeext conftest.$ac_ext
20472 LIBS=$ac_check_lib_save_LIBS
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
20475 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
20476 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
20477 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
20483 # Check for libraries that X11R6 Xt/Xaw programs need.
20484 ac_save_LDFLAGS=$LDFLAGS
20485 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
20486 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
20487 # check for ICE first), but we must link in the order -lSM -lICE or
20488 # we get undefined symbols. So assume we have SM if we have ICE.
20489 # These have to be linked with before -lX11, unlike the other
20490 # libraries we check for below, so use a different variable.
20491 # John Interrante, Karl Berry
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
20493 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
20494 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
20495 $as_echo_n "(cached) " >&6
20497 ac_check_lib_save_LIBS=$LIBS
20498 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
20499 if test x$gcc_no_link = xyes; then
20500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20503 /* end confdefs.h. */
20505 /* Override any GCC internal prototype to avoid an error.
20506 Use char because int might match the return type of a GCC
20507 builtin and then its argument prototype would still apply. */
20511 char IceConnectionNumber ();
20515 return IceConnectionNumber ();
20520 if ac_fn_c_try_link "$LINENO"; then :
20521 ac_cv_lib_ICE_IceConnectionNumber=yes
20523 ac_cv_lib_ICE_IceConnectionNumber=no
20525 rm -f core conftest.err conftest.$ac_objext \
20526 conftest$ac_exeext conftest.$ac_ext
20527 LIBS=$ac_check_lib_save_LIBS
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
20530 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
20531 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
20532 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
20535 LDFLAGS=$ac_save_LDFLAGS
20540 # FIXME: this should be _libs on some hosts.
20543 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -rpath `${PWDCMD-pwd}`/.libs"
20546 # extra LD Flags which are required for targets
20549 # For now we have to disable it on darwin[8-9] because it slows down
20550 # the linking phase. A possible bug in ld?
20551 # on Darwin -single_module speeds up loading of the dynamic libraries.
20552 extra_ldflags_libjava=-Wl,-single_module
20555 # Some of the ARM unwinder code is actually in libstdc++. We
20556 # could in principle replicate it in libgcj, but it's better to
20557 # have a dependency on libstdc++.
20558 extra_ldflags='-L$(here)/../libstdc++-v3/src/.libs -lstdc++'
20559 LIBSTDCXXSPEC=-lstdc++
20560 LIBGCJTESTSPEC="-L`${PWDCMD-pwd}`/.libs -L`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -rpath `${PWDCMD-pwd}`/.libs:`${PWDCMD-pwd}`/../libstdc++-v3/src/.libs -lstdc++"
20563 extra_ldflags_libjava=-liconv
20566 extra_ldflags_libjava=-lws2_32
20571 # extra LD Flags which are required for targets
20580 # Check for --no-merge-exidx-entries, an ARM-specific linker option.
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --no-merge-exidx-entries" >&5
20582 $as_echo_n "checking for --no-merge-exidx-entries... " >&6; }
20583 if test "${libgcj_cv_exidx+set}" = set; then :
20584 $as_echo_n "(cached) " >&6
20586 saved_ldflags="$LDFLAGS"
20587 LDFLAGS="${LDFLAGS} -Wl,--no-merge-exidx-entries"
20588 if test x$gcc_no_link = xyes; then
20589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20592 /* end confdefs.h. */
20593 int main(void){ return 0;}
20595 if ac_fn_c_try_link "$LINENO"; then :
20596 eval "libgcj_cv_exidx=yes"
20598 eval "libgcj_cv_exidx=no"
20600 rm -f core conftest.err conftest.$ac_objext \
20601 conftest$ac_exeext conftest.$ac_ext
20602 LDFLAGS="${saved_ldflags}"
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgcj_cv_exidx" >&5
20606 $as_echo "$libgcj_cv_exidx" >&6; }
20607 if test "${libgcj_cv_exidx}" = "yes"; then
20608 SYSTEMSPEC="${SYSTEMSPEC} --no-merge-exidx-entries"
20609 extra_ldflags="${extra_ldflags} -Wl,--no-merge-exidx-entries"
20619 # Allow the GC to be disabled. Can be useful when debugging.
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for garbage collector to use" >&5
20621 $as_echo_n "checking for garbage collector to use... " >&6; }
20622 # Check whether --enable-java-gc was given.
20623 if test "${enable_java_gc+set}" = set; then :
20624 enableval=$enable_java_gc; GC=$enableval
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: boehm" >&5
20638 $as_echo "boehm" >&6; }
20639 GCLIBS=../boehm-gc/libgcjgc_convenience.la
20640 JC1GCSPEC='-fuse-boehm-gc'
20641 GCTESTSPEC="-L`${PWDCMD-pwd}`/../boehm-gc/.libs -rpath `${PWDCMD-pwd}`/../boehm-gc/.libs"
20642 GCINCS='-I$(top_srcdir)/../boehm-gc/include -I../boehm-gc/include'
20645 # The POSIX thread support needs to know this.
20647 $as_echo "#define HAVE_BOEHM_GC 1" >>confdefs.h
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
20652 $as_echo "none" >&6; }
20656 as_fn_error "unrecognized collector \"$GC\"" "$LINENO" 5
20665 ac_config_links="$ac_config_links include/java-gc.h:include/$GCHDR"
20667 if test "$GC" = boehm; then
20668 USING_BOEHMGC_TRUE=
20669 USING_BOEHMGC_FALSE='#'
20671 USING_BOEHMGC_TRUE='#'
20672 USING_BOEHMGC_FALSE=
20675 if test "$GC" = no; then
20677 USING_NOGC_FALSE='#'
20679 USING_NOGC_TRUE='#'
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
20686 $as_echo_n "checking for thread model used by GCC... " >&6; }
20687 THREADS=`$CC -v 2>&1 |
sed -n 's/^Thread model: //p'`
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS" >&5
20689 $as_echo "$THREADS" >&6; }
20692 no | none | single)
20695 aix | posix | pthreads)
20700 $as_echo "#define LINUX_THREADS 1" >>confdefs.h
20708 as_fn_error "thread package $THREADS not yet supported" "$LINENO" 5
20711 as_fn_error "$THREADS is an unknown thread package" "$LINENO" 5
20722 THREADSTARTFILESPEC=
20727 # Don't set THREADLIBS here. Cygwin doesn't have -lpthread.
20730 # Before FreeBSD 5, it didn't have -lpthread (or any library which
20731 # merely adds pthread_* functions) but it does have a -pthread switch
20732 # which is required at link-time to select -lc_r *instead* of -lc.
20733 THREADLDFLAGS=-pthread
20734 # Don't set THREADSPEC here as might be expected since -pthread is
20735 # not processed when found within a spec file, it must come from
20736 # the command line. For now, the user must provide the -pthread
20737 # switch to link code compiled with gcj. In future, consider adding
20738 # support for weak references to pthread_* functions ala gthr.h API.
20739 THREADSPEC='%{!pthread: %{!shared: %eUnder this configuration, the user must provide -pthread when linking.}}'
20742 # FreeBSD >=5.3 implements a model much closer to other modern UNIX
20743 # systems which support threads and -lpthread.
20744 THREADLDFLAGS=-pthread
20745 THREADSPEC=-lpthread
20748 THREADCXXFLAGS=-pthread
20749 # boehm-gc needs some functions from librt, so link that too.
20750 THREADLIBS='-lpthread -lrt'
20751 THREADSPEC='-lpthread -lrt'
20754 # Need libthread for TLS support.
20755 THREADLIBS='-lpthread -lthread'
20756 THREADSPEC='-lpthread -lthread'
20759 # Don't set THREADLIBS or THREADSPEC as Darwin already
20760 # provides pthread via libSystem.
20763 THREADLIBS=-lpthread
20764 THREADSPEC=-lpthread
20767 THREADH=posix-threads.h
20768 # MIT pthreads doesn't seem to have the mutexattr functions.
20769 # But for now we don't check for it. We just assume you aren't
20770 # using MIT pthreads.
20772 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20775 # If we're using the Boehm GC, then we happen to know that it
20776 # defines _REENTRANT, so we don't bother. Eww.
20777 if test "$GC" != boehm; then
20779 $as_echo "#define _REENTRANT 1" >>confdefs.h
20783 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
20788 THREADH=win32-threads.h
20789 THREADCXXFLAGS=-mthreads
20790 # We need thread-safe exception handling so _CRT_MT should be set to 1.
20791 # But we do not want the executables created to be dependent on
20792 # mingwm10.dll which provides a __mingwthr_key_dtor() that cleans up
20793 # exception handling contexts. The following kludge achieves this effect
20794 # and causes a dummy __mingwthr_key_dtor() to be linked in from
20795 # libmingw32.a. This causes a memory leak of about 24 bytes per thread.
20796 # A workaround is to explicitly use -mthreads while linking Java programs.
20797 # See PR libgcj/28263.
20799 # FIXME: In Java we are able to detect thread death at the end of
20800 # Thread.run() so we should be able to clean up the exception handling
20801 # contexts ourselves.
20806 THREADSTARTFILESPEC='crtmt%O%s'
20811 THREADH=no-threads.h
20814 ac_config_links="$ac_config_links include/java-threads.h:include/$THREADH"
20823 if test "$THREADS" = posix; then
20824 USING_POSIX_THREADS_TRUE=
20825 USING_POSIX_THREADS_FALSE='#'
20827 USING_POSIX_THREADS_TRUE='#'
20828 USING_POSIX_THREADS_FALSE=
20831 if test "$THREADS" = win32; then
20832 USING_WIN32_THREADS_TRUE=
20833 USING_WIN32_THREADS_FALSE='#'
20835 USING_WIN32_THREADS_TRUE='#'
20836 USING_WIN32_THREADS_FALSE=
20839 if test "$THREADS" = none; then
20840 USING_NO_THREADS_TRUE=
20841 USING_NO_THREADS_FALSE='#'
20843 USING_NO_THREADS_TRUE='#'
20844 USING_NO_THREADS_FALSE=
20847 if test "$enable_shared" != yes; then
20850 if test "$use_libgcj_bc" = yes; then
20851 USE_LIBGCJ_BC_TRUE=
20852 USE_LIBGCJ_BC_FALSE='#'
20854 USE_LIBGCJ_BC_TRUE='#'
20855 USE_LIBGCJ_BC_FALSE=
20859 if test -d sysdep; then true; else mkdir sysdep; fi
20860 ac_config_links="$ac_config_links sysdep/locks.h:sysdep/$sysdeps_dir/locks.h"
20862 ac_config_links="$ac_config_links sysdep/backtrace.h:$fallback_backtrace_h"
20864 ac_config_links="$ac_config_links sysdep/descriptor.h:$descriptor_h"
20867 LIBGCJ_SPEC_LGCJ=-lgcj
20868 LIBGCJ_SPEC_LGCJ_BC=-lgcj_bc
20869 if test x"$libgcj_spec_lgcj_override" != x ; then
20870 LIBGCJ_SPEC_LGCJ=$libgcj_spec_lgcj_override
20872 if test x"$libgcj_spec_lgcj_bc_override" != x ; then
20873 LIBGCJ_SPEC_LGCJ_BC=$libgcj_spec_lgcj_bc_override
20875 LIBGCJ_SPEC="%{s-bc-abi:} $LIBGCJ_SPEC_LGCJ"
20876 if test "$use_libgcj_bc" = yes; then
20877 LIBGCJ_SPEC="%{static|static-libgcj|!s-bc-abi:$LIBGCJ_SPEC_LGCJ;:$LIBGCJ_SPEC_LGCJ_BC}"
20878 LIBGCJ_BC_SPEC="%{findirect-dispatch:-fPIC}"
20884 # Hash synchronization is only useful with posix threads right now.
20885 if test "$enable_hash_synchronization" = yes && test "$THREADS" != "none"; then
20886 HASH_SYNC_SPEC=-fhash-synchronization
20888 $as_echo "#define JV_HASH_SYNCHRONIZATION 1" >>confdefs.h
20893 if test "$GCC" = yes; then
20895 USING_GCC_FALSE='#'
20902 # We're in the tree with libgcc, and need to include some of its headers.
20903 LIBGCC_UNWIND_INCLUDE='-I$(multi_basedir)/./libjava/../libgcc'
20905 if test "x${with_newlib}" = "xyes"; then
20906 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
20907 # may not work correctly, because the compiler may not be able to
20908 # link executables.
20910 # We assume newlib. This lets us hard-code the functions we know
20913 $as_echo "#define HAVE_MEMMOVE 1" >>confdefs.h
20916 $as_echo "#define HAVE_MEMCPY 1" >>confdefs.h
20919 $as_echo "#define HAVE_TIME 1" >>confdefs.h
20922 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
20925 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
20928 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
20930 # This is only for POSIX threads.
20932 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_INIT 1" >>confdefs.h
20935 # Assume we do not have getuid and friends.
20937 $as_echo "#define NO_GETUID 1" >>confdefs.h
20941 for ac_func in strerror_r select fstat open fsync sleep opendir \
20942 localtime_r getpwuid_r getcwd \
20943 access stat lstat mkdir rename rmdir unlink utime chmod readlink \
20944 nl_langinfo setlocale \
20945 inet_pton uname inet_ntoa \
20946 getrlimit sigaction ftruncate mmap \
20949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20951 eval as_val=\$$as_ac_var
20952 if test "x$as_val" = x""yes; then :
20953 cat >>confdefs.h <<_ACEOF
20954 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20960 for ac_func in inet_aton inet_addr
20962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
20963 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20964 eval as_val=\$$as_ac_var
20965 if test "x$as_val" = x""yes; then :
20966 cat >>confdefs.h <<_ACEOF
20967 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
20973 for ac_header in unistd.h dlfcn.h sys/resource.h
20975 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20976 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20977 eval as_val=\$$as_ac_Header
20978 if test "x$as_val" = x""yes; then :
20979 cat >>confdefs.h <<_ACEOF
20980 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20987 # Do an additional check on dld, HP-UX for example has dladdr in libdld.sl
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
20989 $as_echo_n "checking for dladdr in -ldl... " >&6; }
20990 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
20991 $as_echo_n "(cached) " >&6
20993 ac_check_lib_save_LIBS=$LIBS
20995 if test x$gcc_no_link = xyes; then
20996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20999 /* end confdefs.h. */
21001 /* Override any GCC internal prototype to avoid an error.
21002 Use char because int might match the return type of a GCC
21003 builtin and then its argument prototype would still apply. */
21016 if ac_fn_c_try_link "$LINENO"; then :
21017 ac_cv_lib_dl_dladdr=yes
21019 ac_cv_lib_dl_dladdr=no
21021 rm -f core conftest.err conftest.$ac_objext \
21022 conftest$ac_exeext conftest.$ac_ext
21023 LIBS=$ac_check_lib_save_LIBS
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
21026 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
21027 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
21030 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldld" >&5
21035 $as_echo_n "checking for dladdr in -ldld... " >&6; }
21036 if test "${ac_cv_lib_dld_dladdr+set}" = set; then :
21037 $as_echo_n "(cached) " >&6
21039 ac_check_lib_save_LIBS=$LIBS
21041 if test x$gcc_no_link = xyes; then
21042 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21047 /* Override any GCC internal prototype to avoid an error.
21048 Use char because int might match the return type of a GCC
21049 builtin and then its argument prototype would still apply. */
21062 if ac_fn_c_try_link "$LINENO"; then :
21063 ac_cv_lib_dld_dladdr=yes
21065 ac_cv_lib_dld_dladdr=no
21067 rm -f core conftest.err conftest.$ac_objext \
21068 conftest$ac_exeext conftest.$ac_ext
21069 LIBS=$ac_check_lib_save_LIBS
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dladdr" >&5
21072 $as_echo "$ac_cv_lib_dld_dladdr" >&6; }
21073 if test "x$ac_cv_lib_dld_dladdr" = x""yes; then :
21076 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
21083 if test x"$cross_compiling" = x"no"; then
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/exe" >&5
21085 $as_echo_n "checking for /proc/self/exe... " >&6; }
21086 if test "${ac_cv_file__proc_self_exe+set}" = set; then :
21087 $as_echo_n "(cached) " >&6
21089 test "$cross_compiling" = yes &&
21090 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21091 if test -r "/proc/self/exe"; then
21092 ac_cv_file__proc_self_exe=yes
21094 ac_cv_file__proc_self_exe=no
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_exe" >&5
21098 $as_echo "$ac_cv_file__proc_self_exe" >&6; }
21099 if test "x$ac_cv_file__proc_self_exe" = x""yes; then :
21101 cat >>confdefs.h <<_ACEOF
21102 #define HAVE__PROC_SELF_EXE 1
21106 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /proc/self/maps" >&5
21111 $as_echo_n "checking for /proc/self/maps... " >&6; }
21112 if test "${ac_cv_file__proc_self_maps+set}" = set; then :
21113 $as_echo_n "(cached) " >&6
21115 test "$cross_compiling" = yes &&
21116 as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
21117 if test -r "/proc/self/maps"; then
21118 ac_cv_file__proc_self_maps=yes
21120 ac_cv_file__proc_self_maps=no
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__proc_self_maps" >&5
21124 $as_echo "$ac_cv_file__proc_self_maps" >&6; }
21125 if test "x$ac_cv_file__proc_self_maps" = x""yes; then :
21127 cat >>confdefs.h <<_ACEOF
21128 #define HAVE__PROC_SELF_MAPS 1
21132 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21140 $as_echo "#define HAVE_PROC_SELF_EXE 1" >>confdefs.h
21143 $as_echo "#define HAVE_PROC_SELF_MAPS 1" >>confdefs.h
21150 if test "X$prefix" = "XNONE"; then
21151 acl_final_prefix="$ac_default_prefix"
21153 acl_final_prefix="$prefix"
21155 if test "X$exec_prefix" = "XNONE"; then
21156 acl_final_exec_prefix='${prefix}'
21158 acl_final_exec_prefix="$exec_prefix"
21160 acl_save_prefix="$prefix"
21161 prefix="$acl_final_prefix"
21162 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
21163 prefix="$acl_save_prefix"
21166 # Check whether --with-gnu-ld was given.
21167 if test "${with_gnu_ld+set}" = set; then :
21168 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21173 # Prepare PATH_SEPARATOR.
21174 # The user is always right.
21175 if test "${PATH_SEPARATOR+set}" != set; then
21176 echo "#! /bin/sh" >conf$$.sh
21177 echo "exit 0" >>conf$$.sh
21179 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21187 if test "$GCC" = yes; then
21188 # Check if gcc -print-prog-name=ld gives a path.
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
21190 $as_echo_n "checking for ld used by GCC... " >&6; }
21193 # gcc leaves a trailing carriage return which upsets mingw
21194 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
21196 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
21199 # Accept absolute paths.
21200 [\\/]* | [A-Za-z]:[\\/]*)
21201 re_direlt='/[^/][^/]*/\.\./'
21202 # Canonicalize the path of ld
21203 ac_prog=`echo $ac_prog|
sed 's%\\\\%/%g'`
21204 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
21205 ac_prog=`echo $ac_prog|
sed "s%$re_direlt%/%"`
21207 test -z "$LD" && LD="$ac_prog"
21210 # If it fails, then pretend we aren't using GCC.
21214 # If it is relative, then search for the first ld in PATH.
21215 with_gnu_ld=unknown
21218 elif test "$with_gnu_ld" = yes; then
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21220 $as_echo_n "checking for GNU ld... " >&6; }
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21223 $as_echo_n "checking for non-GNU ld... " >&6; }
21225 if test "${acl_cv_path_LD+set}" = set; then :
21226 $as_echo_n "(cached) " >&6
21228 if test -z "$LD"; then
21229 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
21230 for ac_dir in $PATH; do
21231 test -z "$ac_dir" && ac_dir=.
21232 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21233 acl_cv_path_LD="$ac_dir/$ac_prog"
21234 # Check to see if the program is GNU ld. I'd rather use --version,
21235 # but apparently some GNU ld's only accept -v.
21236 # Break only if it was the GNU/non-GNU ld that we prefer.
21237 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
21238 test "$with_gnu_ld" != no && break
21240 test "$with_gnu_ld" != yes && break
21246 acl_cv_path_LD="$LD" # Let the user override the test with a path.
21250 LD="$acl_cv_path_LD"
21251 if test -n "$LD"; then
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21253 $as_echo "$LD" >&6; }
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21256 $as_echo "no" >&6; }
21258 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21260 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21261 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
21262 $as_echo_n "(cached) " >&6
21264 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
21265 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
21266 acl_cv_prog_gnu_ld=yes
21268 acl_cv_prog_gnu_ld=no
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
21272 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
21273 with_gnu_ld=$acl_cv_prog_gnu_ld
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
21278 $as_echo_n "checking for shared library run path origin... " >&6; }
21279 if test "${acl_cv_rpath+set}" = set; then :
21280 $as_echo_n "(cached) " >&6
21283 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
21284 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
21286 rm -f ./conftest.sh
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
21291 $as_echo "$acl_cv_rpath" >&6; }
21293 libext="$acl_cv_libext"
21294 shlibext="$acl_cv_shlibext"
21295 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
21296 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
21297 hardcode_direct="$acl_cv_hardcode_direct"
21298 hardcode_minus_L="$acl_cv_hardcode_minus_L"
21299 # Check whether --enable-rpath was given.
21300 if test "${enable_rpath+set}" = set; then :
21301 enableval=$enable_rpath; :
21315 acl_save_prefix="$prefix"
21316 prefix="$acl_final_prefix"
21317 acl_save_exec_prefix="$exec_prefix"
21318 exec_prefix="$acl_final_exec_prefix"
21320 eval additional_includedir=\"$includedir\"
21321 eval additional_libdir=\"$libdir\"
21323 exec_prefix="$acl_save_exec_prefix"
21324 prefix="$acl_save_prefix"
21327 # Check whether --with-libiconv-prefix was given.
21328 if test "${with_libiconv_prefix+set}" = set; then :
21329 withval=$with_libiconv_prefix;
21330 if test "X$withval" = "Xno"; then
21333 if test "X$withval" = "X"; then
21335 acl_save_prefix="$prefix"
21336 prefix="$acl_final_prefix"
21337 acl_save_exec_prefix="$exec_prefix"
21338 exec_prefix="$acl_final_exec_prefix"
21340 eval additional_includedir=\"$includedir\"
21341 eval additional_libdir=\"$libdir\"
21343 exec_prefix="$acl_save_exec_prefix"
21344 prefix="$acl_save_prefix"
21347 additional_includedir="$withval/include"
21348 additional_libdir="$withval/lib"
21359 names_already_handled=
21360 names_next_round='iconv '
21361 while test -n "$names_next_round"; do
21362 names_this_round="$names_next_round"
21364 for name in $names_this_round; do
21366 for n in $names_already_handled; do
21367 if test "$n" = "$name"; then
21368 already_handled=yes
21372 if test -z "$already_handled"; then
21373 names_already_handled="$names_already_handled $name"
21374 uppername=`echo "$name" |
sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21375 eval value=\"\$HAVE_LIB$uppername\"
21376 if test -n "$value"; then
21377 if test "$value" = yes; then
21378 eval value=\"\$LIB$uppername\"
21379 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
21380 eval value=\"\$LTLIB$uppername\"
21381 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
21390 if test $use_additional = yes; then
21391 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
21392 found_dir="$additional_libdir"
21393 found_so="$additional_libdir/lib$name.$shlibext"
21394 if test -f "$additional_libdir/lib$name.la"; then
21395 found_la="$additional_libdir/lib$name.la"
21398 if test -f "$additional_libdir/lib$name.$libext"; then
21399 found_dir="$additional_libdir"
21400 found_a="$additional_libdir/lib$name.$libext"
21401 if test -f "$additional_libdir/lib$name.la"; then
21402 found_la="$additional_libdir/lib$name.la"
21407 if test "X$found_dir" = "X"; then
21408 for x in $LDFLAGS $LTLIBICONV; do
21410 acl_save_prefix="$prefix"
21411 prefix="$acl_final_prefix"
21412 acl_save_exec_prefix="$exec_prefix"
21413 exec_prefix="$acl_final_exec_prefix"
21415 exec_prefix="$acl_save_exec_prefix"
21416 prefix="$acl_save_prefix"
21420 dir=`echo "X$x" |
sed -e 's/^X-L//'`
21421 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
21423 found_so="$dir/lib$name.$shlibext"
21424 if test -f "$dir/lib$name.la"; then
21425 found_la="$dir/lib$name.la"
21428 if test -f "$dir/lib$name.$libext"; then
21430 found_a="$dir/lib$name.$libext"
21431 if test -f "$dir/lib$name.la"; then
21432 found_la="$dir/lib$name.la"
21438 if test "X$found_dir" != "X"; then
21443 if test "X$found_dir" != "X"; then
21444 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
21445 if test "X$found_so" != "X"; then
21446 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
21447 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21450 for x in $ltrpathdirs; do
21451 if test "X$x" = "X$found_dir"; then
21456 if test -z "$haveit"; then
21457 ltrpathdirs="$ltrpathdirs $found_dir"
21459 if test "$hardcode_direct" = yes; then
21460 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21462 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
21463 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21465 for x in $rpathdirs; do
21466 if test "X$x" = "X$found_dir"; then
21471 if test -z "$haveit"; then
21472 rpathdirs="$rpathdirs $found_dir"
21476 for x in $LDFLAGS $LIBICONV; do
21478 acl_save_prefix="$prefix"
21479 prefix="$acl_final_prefix"
21480 acl_save_exec_prefix="$exec_prefix"
21481 exec_prefix="$acl_final_exec_prefix"
21483 exec_prefix="$acl_save_exec_prefix"
21484 prefix="$acl_save_prefix"
21486 if test "X$x" = "X-L$found_dir"; then
21491 if test -z "$haveit"; then
21492 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
21494 if test "$hardcode_minus_L" != no; then
21495 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
21497 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21503 if test "X$found_a" != "X"; then
21504 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
21506 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
21509 additional_includedir=
21510 case "$found_dir" in
21512 basedir=`echo "X$found_dir" |
sed -e 's,^X,,' -e 's,/lib/*$,,'`
21513 additional_includedir="$basedir/include"
21516 if test "X$additional_includedir" != "X"; then
21517 if test "X$additional_includedir" != "X/usr/include"; then
21519 if test "X$additional_includedir" = "X/usr/local/include"; then
21520 if test -n "$GCC"; then
21522 linux*) haveit=yes;;
21526 if test -z "$haveit"; then
21527 for x in $CPPFLAGS $INCICONV; do
21529 acl_save_prefix="$prefix"
21530 prefix="$acl_final_prefix"
21531 acl_save_exec_prefix="$exec_prefix"
21532 exec_prefix="$acl_final_exec_prefix"
21534 exec_prefix="$acl_save_exec_prefix"
21535 prefix="$acl_save_prefix"
21537 if test "X$x" = "X-I$additional_includedir"; then
21542 if test -z "$haveit"; then
21543 if test -d "$additional_includedir"; then
21544 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
21550 if test -n "$found_la"; then
21551 save_libdir="$libdir"
21552 case "$found_la" in
21553 */* | *\\*) . "$found_la" ;;
21554 *) . "./$found_la" ;;
21556 libdir="$save_libdir"
21557 for dep in $dependency_libs; do
21560 additional_libdir=`echo "X$dep" |
sed -e 's/^X-L//'`
21561 if test "X$additional_libdir" != "X/usr/lib"; then
21563 if test "X$additional_libdir" = "X/usr/local/lib"; then
21564 if test -n "$GCC"; then
21566 linux*) haveit=yes;;
21570 if test -z "$haveit"; then
21572 for x in $LDFLAGS $LIBICONV; do
21574 acl_save_prefix="$prefix"
21575 prefix="$acl_final_prefix"
21576 acl_save_exec_prefix="$exec_prefix"
21577 exec_prefix="$acl_final_exec_prefix"
21579 exec_prefix="$acl_save_exec_prefix"
21580 prefix="$acl_save_prefix"
21582 if test "X$x" = "X-L$additional_libdir"; then
21587 if test -z "$haveit"; then
21588 if test -d "$additional_libdir"; then
21589 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
21593 for x in $LDFLAGS $LTLIBICONV; do
21595 acl_save_prefix="$prefix"
21596 prefix="$acl_final_prefix"
21597 acl_save_exec_prefix="$exec_prefix"
21598 exec_prefix="$acl_final_exec_prefix"
21600 exec_prefix="$acl_save_exec_prefix"
21601 prefix="$acl_save_prefix"
21603 if test "X$x" = "X-L$additional_libdir"; then
21608 if test -z "$haveit"; then
21609 if test -d "$additional_libdir"; then
21610 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
21617 dir=`echo "X$dep" |
sed -e 's/^X-R//'`
21618 if test "$enable_rpath" != no; then
21620 for x in $rpathdirs; do
21621 if test "X$x" = "X$dir"; then
21626 if test -z "$haveit"; then
21627 rpathdirs="$rpathdirs $dir"
21630 for x in $ltrpathdirs; do
21631 if test "X$x" = "X$dir"; then
21636 if test -z "$haveit"; then
21637 ltrpathdirs="$ltrpathdirs $dir"
21642 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's/^X-l//'`
21645 names_next_round="$names_next_round "`echo "X$dep" |
sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
21648 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
21649 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
21655 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
21656 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
21662 if test "X$rpathdirs" != "X"; then
21663 if test -n "$hardcode_libdir_separator"; then
21665 for found_dir in $rpathdirs; do
21666 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
21668 acl_save_libdir="$libdir"
21670 eval flag=\"$hardcode_libdir_flag_spec\"
21671 libdir="$acl_save_libdir"
21672 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21674 for found_dir in $rpathdirs; do
21675 acl_save_libdir="$libdir"
21676 libdir="$found_dir"
21677 eval flag=\"$hardcode_libdir_flag_spec\"
21678 libdir="$acl_save_libdir"
21679 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
21683 if test "X$ltrpathdirs" != "X"; then
21684 for found_dir in $ltrpathdirs; do
21685 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
21695 am_save_CPPFLAGS="$CPPFLAGS"
21697 for element in $INCICONV; do
21699 for x in $CPPFLAGS; do
21701 acl_save_prefix="$prefix"
21702 prefix="$acl_final_prefix"
21703 acl_save_exec_prefix="$exec_prefix"
21704 exec_prefix="$acl_final_exec_prefix"
21706 exec_prefix="$acl_save_exec_prefix"
21707 prefix="$acl_save_prefix"
21709 if test "X$x" = "X$element"; then
21714 if test -z "$haveit"; then
21715 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
21720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
21721 $as_echo_n "checking for iconv... " >&6; }
21722 if test "${am_cv_func_iconv+set}" = set; then :
21723 $as_echo_n "(cached) " >&6
21726 am_cv_func_iconv="no, consider installing GNU libiconv"
21728 if test x$gcc_no_link = xyes; then
21729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21732 /* end confdefs.h. */
21733 #include <stdlib.h>
21738 iconv_t cd = iconv_open("","");
21739 iconv(cd,NULL,NULL,NULL,NULL);
21745 if ac_fn_c_try_link "$LINENO"; then :
21746 am_cv_func_iconv=yes
21748 rm -f core conftest.err conftest.$ac_objext \
21749 conftest$ac_exeext conftest.$ac_ext
21750 if test "$am_cv_func_iconv" != yes; then
21751 am_save_LIBS="$LIBS"
21752 LIBS="$LIBS $LIBICONV"
21753 if test x$gcc_no_link = xyes; then
21754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21758 #include <stdlib.h>
21763 iconv_t cd = iconv_open("","");
21764 iconv(cd,NULL,NULL,NULL,NULL);
21770 if ac_fn_c_try_link "$LINENO"; then :
21771 am_cv_lib_iconv=yes
21772 am_cv_func_iconv=yes
21774 rm -f core conftest.err conftest.$ac_objext \
21775 conftest$ac_exeext conftest.$ac_ext
21776 LIBS="$am_save_LIBS"
21780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
21781 $as_echo "$am_cv_func_iconv" >&6; }
21782 if test "$am_cv_func_iconv" = yes; then
21784 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
21787 if test "$am_cv_lib_iconv" = yes; then
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
21789 $as_echo_n "checking how to link with libiconv... " >&6; }
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
21791 $as_echo "$LIBICONV" >&6; }
21793 CPPFLAGS="$am_save_CPPFLAGS"
21800 if test "$am_cv_func_iconv" = yes; then
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
21802 $as_echo_n "checking for iconv declaration... " >&6; }
21803 if test "${am_cv_proto_iconv+set}" = set; then :
21804 $as_echo_n "(cached) " >&6
21807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21808 /* end confdefs.h. */
21810 #include <stdlib.h>
21816 #if defined(__STDC__) || defined(__cplusplus)
21817 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21830 if ac_fn_c_try_compile "$LINENO"; then :
21831 am_cv_proto_iconv_arg1=""
21833 am_cv_proto_iconv_arg1="const"
21835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21836 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);"
21839 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" |
tr -s ' ' |
sed -e 's/( /(/'`
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
21841 }$am_cv_proto_iconv" >&5
21843 }$am_cv_proto_iconv" >&6; }
21845 cat >>confdefs.h <<_ACEOF
21846 #define ICONV_CONST $am_cv_proto_iconv_arg1
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21853 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21854 if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
21855 $as_echo_n "(cached) " >&6
21857 if test x$gcc_no_link = xyes; then
21858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21861 /* end confdefs.h. */
21862 #include <locale.h>
21871 if ac_fn_c_try_link "$LINENO"; then :
21872 am_cv_val_LC_MESSAGES=yes
21874 am_cv_val_LC_MESSAGES=no
21876 rm -f core conftest.err conftest.$ac_objext \
21877 conftest$ac_exeext conftest.$ac_ext
21879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
21880 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
21881 if test $am_cv_val_LC_MESSAGES = yes; then
21883 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
21888 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
21889 if test "${ac_cv_struct_tm+set}" = set; then :
21890 $as_echo_n "(cached) " >&6
21892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21893 /* end confdefs.h. */
21894 #include <sys/types.h>
21901 int *p = &tm.tm_sec;
21907 if ac_fn_c_try_compile "$LINENO"; then :
21908 ac_cv_struct_tm=time.h
21910 ac_cv_struct_tm=sys/time.h
21912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
21915 $as_echo "$ac_cv_struct_tm" >&6; }
21916 if test $ac_cv_struct_tm = sys/time.h; then
21918 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
21922 ac_fn_c_check_member "$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
21923 #include <$ac_cv_struct_tm>
21926 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then :
21928 cat >>confdefs.h <<_ACEOF
21929 #define HAVE_STRUCT_TM_TM_ZONE 1
21935 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
21937 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
21940 ac_fn_c_check_decl "$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
21942 if test "x$ac_cv_have_decl_tzname" = x""yes; then :
21948 cat >>confdefs.h <<_ACEOF
21949 #define HAVE_DECL_TZNAME $ac_have_decl
21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
21953 $as_echo_n "checking for tzname... " >&6; }
21954 if test "${ac_cv_var_tzname+set}" = set; then :
21955 $as_echo_n "(cached) " >&6
21957 if test x$gcc_no_link = xyes; then
21958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21961 /* end confdefs.h. */
21963 #if !HAVE_DECL_TZNAME
21964 extern char *tzname[];
21970 return tzname[0][0];
21975 if ac_fn_c_try_link "$LINENO"; then :
21976 ac_cv_var_tzname=yes
21978 ac_cv_var_tzname=no
21980 rm -f core conftest.err conftest.$ac_objext \
21981 conftest$ac_exeext conftest.$ac_ext
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
21984 $as_echo "$ac_cv_var_tzname" >&6; }
21985 if test $ac_cv_var_tzname = yes; then
21987 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
21992 LDLIBICONV=`echo " $LIBICONV " |
sed "s/${acl_cv_wl--Wl,}/ /g; s/,/ /g"`
21995 for ac_func in gethostbyname_r
21997 ac_fn_c_check_func "$LINENO" "gethostbyname_r" "ac_cv_func_gethostbyname_r"
21998 if test "x$ac_cv_func_gethostbyname_r" = x""yes; then :
21999 cat >>confdefs.h <<_ACEOF
22000 #define HAVE_GETHOSTBYNAME_R 1
22004 $as_echo "#define HAVE_GETHOSTBYNAME_R 1" >>confdefs.h
22006 # There are two different kinds of gethostbyname_r.
22007 # We look for the one that returns `int
'.
22008 # Hopefully this check is robust enough.
22009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22010 /* end confdefs.h. */
22014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22015 $EGREP "int.*gethostbyname_r" >/dev/null 2>&1; then :
22018 $as_echo "#define GETHOSTBYNAME_R_RETURNS_INT 1" >>confdefs.h
22024 case " $GCINCS " in
22025 *" -D_REENTRANT "*) ;;
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gethostbyname_r declaration requires -D_REENTRANT" >&5
22028 $as_echo_n "checking whether gethostbyname_r declaration requires -D_REENTRANT... " >&6; }
22029 if test "${libjava_cv_gethostbyname_r_needs_reentrant+set}" = set; then :
22030 $as_echo_n "(cached) " >&6
22033 ac_cpp='$CXXCPP $CPPFLAGS'
22034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22035 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22039 /* end confdefs.h. */
22044 gethostbyname_r("", 0, 0);
22049 if ac_fn_cxx_try_compile "$LINENO"; then :
22050 libjava_cv_gethostbyname_r_needs_reentrant=no
22052 CPPFLAGS_SAVE="$CPPFLAGS"
22053 CPPFLAGS="$CPPFLAGS -D_REENTRANT"
22054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22055 /* end confdefs.h. */
22060 gethostbyname_r("", 0, 0);
22065 if ac_fn_cxx_try_compile "$LINENO"; then :
22066 libjava_cv_gethostbyname_r_needs_reentrant=yes
22068 libjava_cv_gethostbyname_r_needs_reentrant=fail
22070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22071 CPPFLAGS="$CPPFLAGS_SAVE"
22074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22076 ac_cpp='$CPP $CPPFLAGS'
22077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
22078 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
22079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_gethostbyname_r_needs_reentrant" >&5
22084 $as_echo "$libjava_cv_gethostbyname_r_needs_reentrant" >&6; }
22085 if test "x$libjava_cv_gethostbyname_r_needs_reentrant" = xyes; then
22087 $as_echo "#define _REENTRANT 1" >>confdefs.h
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct hostent_data" >&5
22094 $as_echo_n "checking for struct hostent_data... " >&6; }
22095 if test "${libjava_cv_struct_hostent_data+set}" = set; then :
22096 $as_echo_n "(cached) " >&6
22098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22099 /* end confdefs.h. */
22101 #if GETHOSTBYNAME_R_NEEDS_REENTRANT && !defined(_REENTRANT)
22102 # define _REENTRANT 1
22108 struct hostent_data data;
22113 if ac_fn_c_try_compile "$LINENO"; then :
22114 libjava_cv_struct_hostent_data=yes
22116 libjava_cv_struct_hostent_data=no
22118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_struct_hostent_data" >&5
22121 $as_echo "$libjava_cv_struct_hostent_data" >&6; }
22122 if test "x$libjava_cv_struct_hostent_data" = xyes; then
22124 $as_echo "#define HAVE_STRUCT_HOSTENT_DATA 1" >>confdefs.h
22132 # FIXME: libjava source code expects to find a prototype for
22133 # gethostbyaddr_r in netdb.h. The outer check ensures that
22134 # HAVE_GETHOSTBYADDR_R will not be defined if the prototype fails
22135 # to exist where expected. (The root issue: AC_CHECK_FUNCS assumes C
22136 # linkage check is enough, yet C++ code requires proper prototypes.)
22137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22138 /* end confdefs.h. */
22142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22143 $EGREP "gethostbyaddr_r" >/dev/null 2>&1; then :
22145 for ac_func in gethostbyaddr_r
22147 ac_fn_c_check_func "$LINENO" "gethostbyaddr_r" "ac_cv_func_gethostbyaddr_r"
22148 if test "x$ac_cv_func_gethostbyaddr_r" = x""yes; then :
22149 cat >>confdefs.h <<_ACEOF
22150 #define HAVE_GETHOSTBYADDR_R 1
22154 $as_echo "#define HAVE_GETHOSTBYADDR_R 1" >>confdefs.h
22156 # There are two different kinds of gethostbyaddr_r.
22157 # We look for the one that returns `int'.
22158 # Hopefully this check is robust enough.
22159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22160 /* end confdefs.h. */
22164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22165 $EGREP "int.*gethostbyaddr_r" >/dev
/null
2>&1; then :
22168 $as_echo "#define GETHOSTBYADDR_R_RETURNS_INT 1" >>confdefs.h
22180 for ac_func
in gethostname
22182 ac_fn_c_check_func
"$LINENO" "gethostname" "ac_cv_func_gethostname"
22183 if test "x$ac_cv_func_gethostname" = x
""yes; then :
22184 cat >>confdefs.h
<<_ACEOF
22185 #define HAVE_GETHOSTNAME 1
22189 $as_echo "#define HAVE_GETHOSTNAME 1" >>confdefs.h
22191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22192 /* end confdefs.h. */
22193 #include <unistd.h>
22196 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22197 $EGREP "gethostname" >/dev
/null
2>&1; then :
22200 $as_echo "#define HAVE_GETHOSTNAME_DECL 1" >>confdefs.h
22209 for ac_func
in usleep
22211 ac_fn_c_check_func
"$LINENO" "usleep" "ac_cv_func_usleep"
22212 if test "x$ac_cv_func_usleep" = x
""yes; then :
22213 cat >>confdefs.h
<<_ACEOF
22214 #define HAVE_USLEEP 1
22217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22218 /* end confdefs.h. */
22219 #include <unistd.h>
22222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22223 $EGREP "usleep" >/dev
/null
2>&1; then :
22226 $as_echo "#define HAVE_USLEEP_DECL 1" >>confdefs.h
22235 # Look for these functions in the thread library, but only bother
22236 # if using POSIX threads.
22237 if test "$THREADS" = posix
; then
22239 LIBS
="$LIBS $THREADLIBS"
22241 # Look for sched_yield. Up to Solaris 2.6, it is in libposix4, since
22242 # Solaris 7 the name librt is preferred.
22243 for ac_func
in sched_yield
22245 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
22246 if test "x$ac_cv_func_sched_yield" = x
""yes; then :
22247 cat >>confdefs.h
<<_ACEOF
22248 #define HAVE_SCHED_YIELD 1
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
22254 $as_echo_n "checking for sched_yield in -lrt... " >&6; }
22255 if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
22256 $as_echo_n "(cached) " >&6
22258 ac_check_lib_save_LIBS
=$LIBS
22260 if test x
$gcc_no_link = xyes
; then
22261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22264 /* end confdefs.h. */
22266 /* Override any GCC internal prototype to avoid an error.
22267 Use char because int might match the return type of a GCC
22268 builtin and then its argument prototype would still apply. */
22272 char sched_yield ();
22276 return sched_yield ();
22281 if ac_fn_c_try_link
"$LINENO"; then :
22282 ac_cv_lib_rt_sched_yield
=yes
22284 ac_cv_lib_rt_sched_yield
=no
22286 rm -f core conftest.err conftest.
$ac_objext \
22287 conftest
$ac_exeext conftest.
$ac_ext
22288 LIBS
=$ac_check_lib_save_LIBS
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
22291 $as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
22292 if test "x$ac_cv_lib_rt_sched_yield" = x
""yes; then :
22294 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22296 THREADLIBS
="$THREADLIBS -lrt"
22297 THREADSPEC
="$THREADSPEC -lrt"
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
22301 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
22302 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
22303 $as_echo_n "(cached) " >&6
22305 ac_check_lib_save_LIBS
=$LIBS
22306 LIBS
="-lposix4 $LIBS"
22307 if test x
$gcc_no_link = xyes
; then
22308 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22311 /* end confdefs.h. */
22313 /* Override any GCC internal prototype to avoid an error.
22314 Use char because int might match the return type of a GCC
22315 builtin and then its argument prototype would still apply. */
22319 char sched_yield ();
22323 return sched_yield ();
22328 if ac_fn_c_try_link
"$LINENO"; then :
22329 ac_cv_lib_posix4_sched_yield
=yes
22331 ac_cv_lib_posix4_sched_yield
=no
22333 rm -f core conftest.err conftest.
$ac_objext \
22334 conftest
$ac_exeext conftest.
$ac_ext
22335 LIBS
=$ac_check_lib_save_LIBS
22337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
22338 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
22339 if test "x$ac_cv_lib_posix4_sched_yield" = x
""yes; then :
22341 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
22343 THREADLIBS
="$THREADLIBS -lposix4"
22344 THREADSPEC
="$THREADSPEC -lposix4"
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
22354 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
22355 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
22356 $as_echo_n "(cached) " >&6
22358 ac_check_lib_save_LIBS
=$LIBS
22360 if test x
$gcc_no_link = xyes
; then
22361 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22364 /* end confdefs.h. */
22366 /* Override any GCC internal prototype to avoid an error.
22367 Use char because int might match the return type of a GCC
22368 builtin and then its argument prototype would still apply. */
22372 char clock_gettime ();
22376 return clock_gettime ();
22381 if ac_fn_c_try_link
"$LINENO"; then :
22382 ac_cv_lib_rt_clock_gettime
=yes
22384 ac_cv_lib_rt_clock_gettime
=no
22386 rm -f core conftest.err conftest.
$ac_objext \
22387 conftest
$ac_exeext conftest.
$ac_ext
22388 LIBS
=$ac_check_lib_save_LIBS
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
22391 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
22392 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
22395 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
22397 case "$THREADSPEC" in
22400 THREADSPEC
="$THREADSPEC -lrt"
22401 THREADLIBS
="$THREADLIBS -lrt"
22409 # We can save a little space at runtime if the mutex has m_count
22410 # or __m_count. This is a nice hack for Linux.
22411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22412 /* end confdefs.h. */
22413 #include <pthread.h>
22418 extern pthread_mutex_t *mutex; int q = mutex->m_count;
22424 if ac_fn_c_try_compile
"$LINENO"; then :
22426 $as_echo "#define PTHREAD_MUTEX_HAVE_M_COUNT 1" >>confdefs.h
22430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22431 /* end confdefs.h. */
22432 #include <pthread.h>
22437 extern pthread_mutex_t *mutex; int q = mutex->__m_count;
22443 if ac_fn_c_try_compile
"$LINENO"; then :
22445 $as_echo "#define PTHREAD_MUTEX_HAVE___M_COUNT 1" >>confdefs.h
22448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22453 # We require a way to get the time.
22455 for ac_func
in gettimeofday
time ftime
22457 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22458 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22459 eval as_val
=\$
$as_ac_var
22460 if test "x$as_val" = x
""yes; then :
22461 cat >>confdefs.h
<<_ACEOF
22462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22468 if test "$time_found" = no
; then
22469 as_fn_error
"no function found to get the time" "$LINENO" 5
22472 for ac_func
in memmove
22474 ac_fn_c_check_func
"$LINENO" "memmove" "ac_cv_func_memmove"
22475 if test "x$ac_cv_func_memmove" = x
""yes; then :
22476 cat >>confdefs.h
<<_ACEOF
22477 #define HAVE_MEMMOVE 1
22484 # We require memcpy.
22486 for ac_func
in memcpy
22488 ac_fn_c_check_func
"$LINENO" "memcpy" "ac_cv_func_memcpy"
22489 if test "x$ac_cv_func_memcpy" = x
""yes; then :
22490 cat >>confdefs.h
<<_ACEOF
22491 #define HAVE_MEMCPY 1
22497 if test "$memcpy_found" = no
; then
22498 as_fn_error
"memcpy is required" "$LINENO" 5
22500 # Do an additional check on dld, HP-UX for example has dlopen in libdld.sl
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
22502 $as_echo_n "checking for dlopen in -ldl... " >&6; }
22503 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
22504 $as_echo_n "(cached) " >&6
22506 ac_check_lib_save_LIBS
=$LIBS
22508 if test x
$gcc_no_link = xyes
; then
22509 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22512 /* end confdefs.h. */
22514 /* Override any GCC internal prototype to avoid an error.
22515 Use char because int might match the return type of a GCC
22516 builtin and then its argument prototype would still apply. */
22529 if ac_fn_c_try_link
"$LINENO"; then :
22530 ac_cv_lib_dl_dlopen
=yes
22532 ac_cv_lib_dl_dlopen
=no
22534 rm -f core conftest.err conftest.
$ac_objext \
22535 conftest
$ac_exeext conftest.
$ac_ext
22536 LIBS
=$ac_check_lib_save_LIBS
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
22539 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
22540 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
22543 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldld" >&5
22548 $as_echo_n "checking for dlopen in -ldld... " >&6; }
22549 if test "${ac_cv_lib_dld_dlopen+set}" = set; then :
22550 $as_echo_n "(cached) " >&6
22552 ac_check_lib_save_LIBS
=$LIBS
22554 if test x
$gcc_no_link = xyes
; then
22555 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22558 /* end confdefs.h. */
22560 /* Override any GCC internal prototype to avoid an error.
22561 Use char because int might match the return type of a GCC
22562 builtin and then its argument prototype would still apply. */
22575 if ac_fn_c_try_link
"$LINENO"; then :
22576 ac_cv_lib_dld_dlopen
=yes
22578 ac_cv_lib_dld_dlopen
=no
22580 rm -f core conftest.err conftest.
$ac_objext \
22581 conftest
$ac_exeext conftest.
$ac_ext
22582 LIBS
=$ac_check_lib_save_LIBS
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dlopen" >&5
22585 $as_echo "$ac_cv_lib_dld_dlopen" >&6; }
22586 if test "x$ac_cv_lib_dld_dlopen" = x
""yes; then :
22589 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
22596 # Some library-finding code we stole from Tcl.
22597 #--------------------------------------------------------------------
22598 # Check for the existence of the -lsocket and -lnsl libraries.
22599 # The order here is important, so that they end up in the right
22600 # order in the command line generated by make. Here are some
22601 # special considerations:
22602 # 1. Use "connect" and "accept" to check for -lsocket, and
22603 # "gethostbyname" to check for -lnsl.
22604 # 2. Use each function name only once: can't redo a check because
22605 # autoconf caches the results of the last check and won't redo it.
22606 # 3. Use -lnsl and -lsocket only if they supply procedures that
22607 # aren't already present in the normal libraries. This is because
22608 # IRIX 5.2 has libraries, but they aren't needed and they're
22609 # bogus: they goof up name resolution if used.
22610 # 4. On some SVR4 systems, can't use -lsocket without -lnsl too.
22611 # To get around this problem, check for both libraries together
22612 # if -lsocket doesn't work by itself.
22613 #--------------------------------------------------------------------
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
22616 $as_echo_n "checking for socket libraries... " >&6; }
22617 if test "${gcj_cv_lib_sockets+set}" = set; then :
22618 $as_echo_n "(cached) " >&6
22620 gcj_cv_lib_sockets
=
22622 unset ac_cv_func_connect
22623 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
22624 if test "x$ac_cv_func_connect" = x
""yes; then :
22630 if test "$gcj_checkSocket" = 1; then
22631 unset ac_cv_func_connect
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
22633 $as_echo_n "checking for main in -lsocket... " >&6; }
22634 if test "${ac_cv_lib_socket_main+set}" = set; then :
22635 $as_echo_n "(cached) " >&6
22637 ac_check_lib_save_LIBS
=$LIBS
22638 LIBS
="-lsocket $LIBS"
22639 if test x
$gcc_no_link = xyes
; then
22640 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22643 /* end confdefs.h. */
22654 if ac_fn_c_try_link
"$LINENO"; then :
22655 ac_cv_lib_socket_main
=yes
22657 ac_cv_lib_socket_main
=no
22659 rm -f core conftest.err conftest.
$ac_objext \
22660 conftest
$ac_exeext conftest.
$ac_ext
22661 LIBS
=$ac_check_lib_save_LIBS
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
22664 $as_echo "$ac_cv_lib_socket_main" >&6; }
22665 if test "x$ac_cv_lib_socket_main" = x
""yes; then :
22666 gcj_cv_lib_sockets
="-lsocket"
22672 if test "$gcj_checkBoth" = 1; then
22674 LIBS
="$LIBS -lsocket -lnsl"
22675 unset ac_cv_func_accept
22676 ac_fn_c_check_func
"$LINENO" "accept" "ac_cv_func_accept"
22677 if test "x$ac_cv_func_accept" = x
""yes; then :
22679 gcj_cv_lib_sockets
="-lsocket -lnsl"
22682 unset ac_cv_func_accept
22685 unset ac_cv_func_gethostbyname
22687 LIBS
="$LIBS $gcj_cv_lib_sockets"
22688 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22689 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
22693 $as_echo_n "checking for main in -lnsl... " >&6; }
22694 if test "${ac_cv_lib_nsl_main+set}" = set; then :
22695 $as_echo_n "(cached) " >&6
22697 ac_check_lib_save_LIBS
=$LIBS
22699 if test x
$gcc_no_link = xyes
; then
22700 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22703 /* end confdefs.h. */
22714 if ac_fn_c_try_link
"$LINENO"; then :
22715 ac_cv_lib_nsl_main
=yes
22717 ac_cv_lib_nsl_main
=no
22719 rm -f core conftest.err conftest.
$ac_objext \
22720 conftest
$ac_exeext conftest.
$ac_ext
22721 LIBS
=$ac_check_lib_save_LIBS
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
22724 $as_echo "$ac_cv_lib_nsl_main" >&6; }
22725 if test "x$ac_cv_lib_nsl_main" = x
""yes; then :
22726 gcj_cv_lib_sockets
="$gcj_cv_lib_sockets -lnsl"
22731 unset ac_cv_func_gethostbyname
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcj_cv_lib_sockets" >&5
22736 $as_echo "$gcj_cv_lib_sockets" >&6; }
22737 SYSTEMSPEC
="$SYSTEMSPEC $gcj_cv_lib_sockets"
22739 if test "$with_system_zlib" = yes; then
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22741 $as_echo_n "checking for deflate in -lz... " >&6; }
22742 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22743 $as_echo_n "(cached) " >&6
22745 ac_check_lib_save_LIBS
=$LIBS
22747 if test x
$gcc_no_link = xyes
; then
22748 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22751 /* end confdefs.h. */
22753 /* Override any GCC internal prototype to avoid an error.
22754 Use char because int might match the return type of a GCC
22755 builtin and then its argument prototype would still apply. */
22768 if ac_fn_c_try_link
"$LINENO"; then :
22769 ac_cv_lib_z_deflate
=yes
22771 ac_cv_lib_z_deflate
=no
22773 rm -f core conftest.err conftest.
$ac_objext \
22774 conftest
$ac_exeext conftest.
$ac_ext
22775 LIBS
=$ac_check_lib_save_LIBS
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22778 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22779 if test "x$ac_cv_lib_z_deflate" = x
""yes; then :
22787 # Test for Gtk stuff, if asked for.
22788 if test "$use_gtk_awt" = yes; then
22792 if test -z "$PKG_CONFIG"; then
22793 # Extract the first word of "pkg-config", so it can be a program name with args.
22794 set dummy pkg-config
; ac_word
=$2
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22796 $as_echo_n "checking for $ac_word... " >&6; }
22797 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22798 $as_echo_n "(cached) " >&6
22800 case $PKG_CONFIG in
22802 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22806 for as_dir
in $PATH
22809 test -z "$as_dir" && as_dir
=.
22810 for ac_exec_ext
in '' $ac_executable_extensions; do
22811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22812 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22820 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22824 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22825 if test -n "$PKG_CONFIG"; then
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22827 $as_echo "$PKG_CONFIG" >&6; }
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22830 $as_echo "no" >&6; }
22836 if test "$PKG_CONFIG" = "no" ; then
22837 echo "*** The pkg-config script could not be found. Make sure it is"
22838 echo "*** in your path, or set the PKG_CONFIG environment variable"
22839 echo "*** to the full path to pkg-config."
22840 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22842 PKG_CONFIG_MIN_VERSION
=0.9.0
22843 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0 >= 2.4" >&5
22845 $as_echo_n "checking for gtk+-2.0 >= 2.4... " >&6; }
22847 if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4" ; then
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22849 $as_echo "yes" >&6; }
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5
22853 $as_echo_n "checking GTK_CFLAGS... " >&6; }
22854 GTK_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4"`
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5
22856 $as_echo "$GTK_CFLAGS" >&6; }
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5
22859 $as_echo_n "checking GTK_LIBS... " >&6; }
22860 GTK_LIBS
=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4"`
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5
22862 $as_echo "$GTK_LIBS" >&6; }
22866 ## If we have a custom action on failure, don't print errors, but
22867 ## do set a variable so people can do so.
22868 GTK_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4"`
22869 echo $GTK_PKG_ERRORS
22875 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22876 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22880 if test $succeeded = yes; then
22883 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
22892 if test -z "$PKG_CONFIG"; then
22893 # Extract the first word of "pkg-config", so it can be a program name with args.
22894 set dummy pkg-config
; ac_word
=$2
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22896 $as_echo_n "checking for $ac_word... " >&6; }
22897 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22898 $as_echo_n "(cached) " >&6
22900 case $PKG_CONFIG in
22902 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
22905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
22906 for as_dir
in $PATH
22909 test -z "$as_dir" && as_dir
=.
22910 for ac_exec_ext
in '' $ac_executable_extensions; do
22911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22912 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
22913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22920 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
22924 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
22925 if test -n "$PKG_CONFIG"; then
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
22927 $as_echo "$PKG_CONFIG" >&6; }
22929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22930 $as_echo "no" >&6; }
22936 if test "$PKG_CONFIG" = "no" ; then
22937 echo "*** The pkg-config script could not be found. Make sure it is"
22938 echo "*** in your path, or set the PKG_CONFIG environment variable"
22939 echo "*** to the full path to pkg-config."
22940 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22942 PKG_CONFIG_MIN_VERSION
=0.9.0
22943 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4" >&5
22945 $as_echo_n "checking for glib-2.0 >= 2.4 gthread-2.0 >= 2.4... " >&6; }
22947 if $PKG_CONFIG --exists "glib-2.0 >= 2.4 gthread-2.0 >= 2.4" ; then
22948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22949 $as_echo "yes" >&6; }
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5
22953 $as_echo_n "checking GLIB_CFLAGS... " >&6; }
22954 GLIB_CFLAGS
=`$PKG_CONFIG --cflags "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5
22956 $as_echo "$GLIB_CFLAGS" >&6; }
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5
22959 $as_echo_n "checking GLIB_LIBS... " >&6; }
22960 GLIB_LIBS
=`$PKG_CONFIG --libs "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5
22962 $as_echo "$GLIB_LIBS" >&6; }
22966 ## If we have a custom action on failure, don't print errors, but
22967 ## do set a variable so people can do so.
22968 GLIB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.4 gthread-2.0 >= 2.4"`
22969 echo $GLIB_PKG_ERRORS
22975 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22976 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22980 if test $succeeded = yes; then
22983 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
22992 if test -z "$PKG_CONFIG"; then
22993 # Extract the first word of "pkg-config", so it can be a program name with args.
22994 set dummy pkg-config
; ac_word
=$2
22995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22996 $as_echo_n "checking for $ac_word... " >&6; }
22997 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
22998 $as_echo_n "(cached) " >&6
23000 case $PKG_CONFIG in
23002 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23006 for as_dir
in $PATH
23009 test -z "$as_dir" && as_dir
=.
23010 for ac_exec_ext
in '' $ac_executable_extensions; do
23011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23012 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23020 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23024 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23025 if test -n "$PKG_CONFIG"; then
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23027 $as_echo "$PKG_CONFIG" >&6; }
23029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23030 $as_echo "no" >&6; }
23036 if test "$PKG_CONFIG" = "no" ; then
23037 echo "*** The pkg-config script could not be found. Make sure it is"
23038 echo "*** in your path, or set the PKG_CONFIG environment variable"
23039 echo "*** to the full path to pkg-config."
23040 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23042 PKG_CONFIG_MIN_VERSION
=0.9.0
23043 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libart-2.0 >= 2.1" >&5
23045 $as_echo_n "checking for libart-2.0 >= 2.1... " >&6; }
23047 if $PKG_CONFIG --exists "libart-2.0 >= 2.1" ; then
23048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23049 $as_echo "yes" >&6; }
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_CFLAGS" >&5
23053 $as_echo_n "checking LIBART_CFLAGS... " >&6; }
23054 LIBART_CFLAGS
=`$PKG_CONFIG --cflags "libart-2.0 >= 2.1"`
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_CFLAGS" >&5
23056 $as_echo "$LIBART_CFLAGS" >&6; }
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBART_LIBS" >&5
23059 $as_echo_n "checking LIBART_LIBS... " >&6; }
23060 LIBART_LIBS
=`$PKG_CONFIG --libs "libart-2.0 >= 2.1"`
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBART_LIBS" >&5
23062 $as_echo "$LIBART_LIBS" >&6; }
23066 ## If we have a custom action on failure, don't print errors, but
23067 ## do set a variable so people can do so.
23068 LIBART_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libart-2.0 >= 2.1"`
23069 echo $LIBART_PKG_ERRORS
23075 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23076 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23080 if test $succeeded = yes; then
23083 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
23089 # We require the XTest Extension to support java.awt.Robot.
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestQueryExtension in -lXtst" >&5
23091 $as_echo_n "checking for XTestQueryExtension in -lXtst... " >&6; }
23092 if test "${ac_cv_lib_Xtst_XTestQueryExtension+set}" = set; then :
23093 $as_echo_n "(cached) " >&6
23095 ac_check_lib_save_LIBS
=$LIBS
23096 LIBS
="-lXtst ${X_LIBS} $LIBS"
23097 if test x
$gcc_no_link = xyes
; then
23098 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23101 /* end confdefs.h. */
23103 /* Override any GCC internal prototype to avoid an error.
23104 Use char because int might match the return type of a GCC
23105 builtin and then its argument prototype would still apply. */
23109 char XTestQueryExtension ();
23113 return XTestQueryExtension ();
23118 if ac_fn_c_try_link
"$LINENO"; then :
23119 ac_cv_lib_Xtst_XTestQueryExtension
=yes
23121 ac_cv_lib_Xtst_XTestQueryExtension
=no
23123 rm -f core conftest.err conftest.
$ac_objext \
23124 conftest
$ac_exeext conftest.
$ac_ext
23125 LIBS
=$ac_check_lib_save_LIBS
23127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestQueryExtension" >&5
23128 $as_echo "$ac_cv_lib_Xtst_XTestQueryExtension" >&6; }
23129 if test "x$ac_cv_lib_Xtst_XTestQueryExtension" = x
""yes; then :
23132 as_fn_error
"libXtst not found, required by java.awt.Robot" "$LINENO" 5
23137 # On Solaris, and maybe other architectures, the Boehm collector
23139 if test "$GC" = boehm
; then
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
23145 $as_echo_n "checking for main in -ldl... " >&6; }
23146 if test "${ac_cv_lib_dl_main+set}" = set; then :
23147 $as_echo_n "(cached) " >&6
23149 ac_check_lib_save_LIBS
=$LIBS
23151 if test x
$gcc_no_link = xyes
; then
23152 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23155 /* end confdefs.h. */
23166 if ac_fn_c_try_link
"$LINENO"; then :
23167 ac_cv_lib_dl_main
=yes
23169 ac_cv_lib_dl_main
=no
23171 rm -f core conftest.err conftest.
$ac_objext \
23172 conftest
$ac_exeext conftest.
$ac_ext
23173 LIBS
=$ac_check_lib_save_LIBS
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
23176 $as_echo "$ac_cv_lib_dl_main" >&6; }
23177 if test "x$ac_cv_lib_dl_main" = x
""yes; then :
23178 SYSTEMSPEC
="$SYSTEMSPEC -ldl"
23186 # Use a semicolon as CLASSPATH separator for MinGW, otherwise a colon.
23188 *-mingw32) CLASSPATH_SEPARATOR
=';' ;;
23189 *) CLASSPATH_SEPARATOR
=':' ;;
23193 # We must search the source tree for java.lang, since we still don't
23194 # have libgcj.jar nor java/lang/*.class
23195 GCJ_SAVE_CPPFLAGS
=$CPPFLAGS
23196 CPPFLAGS
="$CPPFLAGS -I`${PWDCMD-pwd}` -I`cd $srcdir && ${PWDCMD-pwd}`"
23198 # Since some classes depend on this one, we need its source available
23199 # before we can do any GCJ compilation test :-(
23200 if test ! -f gnu
/classpath
/Configuration.java
; then
23201 test -d gnu || mkdir gnu
23202 test -d gnu
/classpath || mkdir gnu
/classpath
23203 # Note that it is not crucial that all the values here be correct.
23204 sed -e "s,@prefix@,$expanded_prefix," \
23205 -e "s,@VERSION@,$VERSION," \
23206 -e "s,@LIBDEBUG@,false," \
23207 -e "s,@INIT_LOAD_LIBRARY@,false," \
23208 -e "s,@@,$LIBGCJDEBUG," \
23209 -e "s,@default_toolkit@,$TOOLKIT," \
23210 -e "s,@JAVA_LANG_SYSTEM_EXPLICIT_INITIALIZATION@,false," \
23211 -e "s,@GTK_CAIRO_ENABLED@,false," \
23212 -e "s,@ECJ_JAR@,," \
23213 -e "s,@WANT_NATIVE_BIG_INTEGER@,false," \
23214 < $srcdir/classpath
/gnu
/classpath
/Configuration.java.
in \
23215 > gnu
/classpath
/Configuration.java
23216 # We do not want to redirect the output of the grep below to /dev/null,
23217 # but we add /dev/null to the input list so that grep will print the
23218 # filename of Configuration.java in case it finds any matches.
23219 if grep '@.*@' gnu
/classpath
/Configuration.java
/dev
/null
; then
23220 as_fn_error
"configure.ac is missing the substitutions above" "$LINENO" 5
23225 if test -n "$ac_tool_prefix"; then
23228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
23229 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23231 $as_echo_n "checking for $ac_word... " >&6; }
23232 if test "${ac_cv_prog_GCJ+set}" = set; then :
23233 $as_echo_n "(cached) " >&6
23235 if test -n "$GCJ"; then
23236 ac_cv_prog_GCJ
="$GCJ" # Let the user override the test.
23238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23239 for as_dir
in $PATH
23242 test -z "$as_dir" && as_dir
=.
23243 for ac_exec_ext
in '' $ac_executable_extensions; do
23244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23245 ac_cv_prog_GCJ
="$ac_tool_prefix$ac_prog"
23246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23255 GCJ
=$ac_cv_prog_GCJ
23256 if test -n "$GCJ"; then
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCJ" >&5
23258 $as_echo "$GCJ" >&6; }
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23261 $as_echo "no" >&6; }
23265 test -n "$GCJ" && break
23268 if test -z "$GCJ"; then
23272 # Extract the first word of "$ac_prog", so it can be a program name with args.
23273 set dummy
$ac_prog; ac_word
=$2
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23275 $as_echo_n "checking for $ac_word... " >&6; }
23276 if test "${ac_cv_prog_ac_ct_GCJ+set}" = set; then :
23277 $as_echo_n "(cached) " >&6
23279 if test -n "$ac_ct_GCJ"; then
23280 ac_cv_prog_ac_ct_GCJ
="$ac_ct_GCJ" # Let the user override the test.
23282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23283 for as_dir
in $PATH
23286 test -z "$as_dir" && as_dir
=.
23287 for ac_exec_ext
in '' $ac_executable_extensions; do
23288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23289 ac_cv_prog_ac_ct_GCJ
="$ac_prog"
23290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23299 ac_ct_GCJ
=$ac_cv_prog_ac_ct_GCJ
23300 if test -n "$ac_ct_GCJ"; then
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GCJ" >&5
23302 $as_echo "$ac_ct_GCJ" >&6; }
23304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23305 $as_echo "no" >&6; }
23309 test -n "$ac_ct_GCJ" && break
23312 if test "x$ac_ct_GCJ" = x
; then
23315 case $cross_compiling:$ac_tool_warned in
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23319 ac_tool_warned
=yes ;;
23325 test -z "$GCJ" && as_fn_error
"no acceptable gcj found in \$PATH" "$LINENO" 5
23326 if test "x${GCJFLAGS-unset}" = xunset
; then
23331 depcc
="$GCJ" am_compiler_list
='gcc3 gcc'
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
23334 $as_echo_n "checking dependency style of $depcc... " >&6; }
23335 if test "${am_cv_GCJ_dependencies_compiler_type+set}" = set; then :
23336 $as_echo_n "(cached) " >&6
23338 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
23339 # We make a subdir and do the tests there. Otherwise we can end up
23340 # making bogus files that we don't know about and never remove. For
23341 # instance it was reported that on HP-UX the gcc test will end up
23342 # making a dummy file named `D' -- because `-MD' means `put the output
23345 # Copy depcomp to subdir because otherwise we won't find it if we're
23346 # using a relative directory.
23347 cp "$am_depcomp" conftest.dir
23349 # We will build objects and dependencies in a subdirectory because
23350 # it helps to detect inapplicable dependency modes. For instance
23351 # both Tru64's cc and ICC support -MD to output dependencies as a
23352 # side effect of compilation, but ICC will put the dependencies in
23353 # the current directory while Tru64 will put them in the object
23357 am_cv_GCJ_dependencies_compiler_type
=none
23358 if test "$am_compiler_list" = ""; then
23359 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
23361 am__universal
=false
23364 for depmode
in $am_compiler_list; do
23365 # Setup a source with many dependencies, because some compilers
23366 # like to wrap large dependency lists on column 80 (with \), and
23367 # we should not choose a depcomp mode which is confused by this.
23369 # We need to recreate these files for each test, as the compiler may
23370 # overwrite some of them when testing with obscure command lines.
23371 # This happens at least with the AIX C compiler.
23373 for i
in 1 2 3 4 5 6; do
23374 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
23375 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
23376 # Solaris 8's {/usr,}/bin/sh.
23377 touch sub
/conftst
$i.h
23379 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
23381 # We check with `-c' and `-o' for the sake of the "dashmstdout"
23382 # mode. It turns out that the SunPro C++ compiler does not properly
23383 # handle `-M -o', and we need to detect this. Also, some Intel
23384 # versions had trouble with output in subdirs
23385 am__obj
=sub
/conftest.
${OBJEXT-o}
23386 am__minus_obj
="-o $am__obj"
23389 # This depmode causes a compiler race in universal mode.
23390 test "$am__universal" = false ||
continue
23393 # after this tag, mechanisms are not by side-effect, so they'll
23394 # only be used when explicitly requested
23395 if test "x$enable_dependency_tracking" = xyes
; then
23401 msvisualcpp | msvcmsys
)
23402 # This compiler won't grok `-c -o', but also, the minuso test has
23403 # not run yet. These depmodes are late enough in the game, and
23404 # so weak that their functioning should not be impacted.
23405 am__obj
=conftest.
${OBJEXT-o}
23410 if depmode
=$depmode \
23411 source=sub
/conftest.c object
=$am__obj \
23412 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
23413 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
23414 >/dev
/null
2>conftest.err
&&
23415 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23416 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
23417 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
23418 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
23419 # icc doesn't choke on unknown options, it will just issue warnings
23420 # or remarks (even with -Werror). So we grep stderr for any message
23421 # that says an option was ignored or not supported.
23422 # When given -MP, icc 7.0 and 7.1 complain thusly:
23423 # icc: Command line warning: ignoring option '-M'; no argument required
23424 # The diagnosis changed in icc 8.0:
23425 # icc: Command line remark: option '-MP' not supported
23426 if (grep 'ignoring option' conftest.err ||
23427 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
23428 am_cv_GCJ_dependencies_compiler_type
=$depmode
23435 rm -rf conftest.dir
23437 am_cv_GCJ_dependencies_compiler_type
=none
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_GCJ_dependencies_compiler_type" >&5
23442 $as_echo "$am_cv_GCJ_dependencies_compiler_type" >&6; }
23443 GCJDEPMODE
=depmode
=$am_cv_GCJ_dependencies_compiler_type
23446 test "x$enable_dependency_tracking" != xno \
23447 && test "$am_cv_GCJ_dependencies_compiler_type" = gcc3
; then
23448 am__fastdepGCJ_TRUE
=
23449 am__fastdepGCJ_FALSE
='#'
23451 am__fastdepGCJ_TRUE
='#'
23452 am__fastdepGCJ_FALSE
=
23459 rm -f gnu
/classpath
/Configuration.java
23461 CPPFLAGS
=$GCJ_SAVE_CPPFLAGS
23463 # The cast to long int works around a bug in the HP C Compiler
23464 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23465 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23466 # This bug is HP SR number 8606223364.
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
23468 $as_echo_n "checking size of void *... " >&6; }
23469 if test "${ac_cv_sizeof_void_p+set}" = set; then :
23470 $as_echo_n "(cached) " >&6
23472 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
23475 if test "$ac_cv_type_void_p" = yes; then
23476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23478 { as_fn_set_status
77
23479 as_fn_error
"cannot compute sizeof (void *)
23480 See \`config.log' for more details." "$LINENO" 5; }; }
23482 ac_cv_sizeof_void_p
=0
23487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
23488 $as_echo "$ac_cv_sizeof_void_p" >&6; }
23492 cat >>confdefs.h
<<_ACEOF
23493 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
23499 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
23500 if test "${ac_cv_c_bigendian+set}" = set; then :
23501 $as_echo_n "(cached) " >&6
23503 ac_cv_c_bigendian
=unknown
23504 # See if we're dealing with a universal compiler.
23505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23506 /* end confdefs.h. */
23507 #ifndef __APPLE_CC__
23508 not a universal capable compiler
23513 if ac_fn_c_try_compile
"$LINENO"; then :
23515 # Check for potential -arch flags. It is not universal unless
23516 # there are at least two -arch flags with different values.
23519 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
23520 if test -n "$ac_prev"; then
23522 i?
86 | x86_64 | ppc | ppc64
)
23523 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
23526 ac_cv_c_bigendian
=universal
23532 elif test "x$ac_word" = "x-arch"; then
23537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23538 if test $ac_cv_c_bigendian = unknown
; then
23539 # See if sys/param.h defines the BYTE_ORDER macro.
23540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23541 /* end confdefs.h. */
23542 #include <sys/types.h>
23543 #include <sys/param.h>
23548 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
23549 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
23551 bogus endian macros
23558 if ac_fn_c_try_compile
"$LINENO"; then :
23559 # It does; now see whether it defined to BIG_ENDIAN or not.
23560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23561 /* end confdefs.h. */
23562 #include <sys/types.h>
23563 #include <sys/param.h>
23568 #if BYTE_ORDER != BIG_ENDIAN
23576 if ac_fn_c_try_compile
"$LINENO"; then :
23577 ac_cv_c_bigendian
=yes
23579 ac_cv_c_bigendian
=no
23581 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23585 if test $ac_cv_c_bigendian = unknown
; then
23586 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
23587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23588 /* end confdefs.h. */
23589 #include <limits.h>
23594 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
23595 bogus endian macros
23602 if ac_fn_c_try_compile
"$LINENO"; then :
23603 # It does; now see whether it defined to _BIG_ENDIAN or not.
23604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23605 /* end confdefs.h. */
23606 #include <limits.h>
23611 #ifndef _BIG_ENDIAN
23619 if ac_fn_c_try_compile
"$LINENO"; then :
23620 ac_cv_c_bigendian
=yes
23622 ac_cv_c_bigendian
=no
23624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23628 if test $ac_cv_c_bigendian = unknown
; then
23629 # Compile a test program.
23630 if test "$cross_compiling" = yes; then :
23631 # Try to guess by grepping values from an object file.
23632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23633 /* end confdefs.h. */
23634 short int ascii_mm[] =
23635 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
23636 short int ascii_ii[] =
23637 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
23638 int use_ascii (int i) {
23639 return ascii_mm[i] + ascii_ii[i];
23641 short int ebcdic_ii[] =
23642 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
23643 short int ebcdic_mm[] =
23644 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
23645 int use_ebcdic (int i) {
23646 return ebcdic_mm[i] + ebcdic_ii[i];
23653 return use_ascii (foo) == use_ebcdic (foo);
23658 if ac_fn_c_try_compile
"$LINENO"; then :
23659 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
23660 ac_cv_c_bigendian
=yes
23662 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
23663 if test "$ac_cv_c_bigendian" = unknown
; then
23664 ac_cv_c_bigendian
=no
23666 # finding both strings is unlikely to happen, but who knows?
23667 ac_cv_c_bigendian
=unknown
23671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23674 /* end confdefs.h. */
23675 $ac_includes_default
23680 /* Are we little or big endian? From Harbison&Steele. */
23684 char c[sizeof (long int)];
23687 return u.c[sizeof (long int) - 1] == 1;
23693 if ac_fn_c_try_run
"$LINENO"; then :
23694 ac_cv_c_bigendian
=no
23696 ac_cv_c_bigendian
=yes
23698 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23699 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
23705 $as_echo "$ac_cv_c_bigendian" >&6; }
23706 case $ac_cv_c_bigendian in #(
23708 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
23714 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
23718 as_fn_error
"unknown endianness
23719 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
23727 if test -z "$ZLIBSPEC"; then
23728 # Use zlib from the GCC tree.
23729 ZINCS
='-I$(top_srcdir)/../zlib'
23730 ZLIBS
=..
/zlib
/libzgcj_convenience.la
23733 SYS_ZLIBS
="$ZLIBSPEC"
23745 if test "$NATIVE" = yes; then
23753 if test "$enable_shared" = yes; then
23754 ENABLE_SHARED_TRUE
=
23755 ENABLE_SHARED_FALSE
='#'
23757 ENABLE_SHARED_TRUE
='#'
23758 ENABLE_SHARED_FALSE
=
23761 if test "$NEEDS_DATA_START" = yes && test "$NATIVE" = yes; then
23762 NEEDS_DATA_START_TRUE
=
23763 NEEDS_DATA_START_FALSE
='#'
23765 NEEDS_DATA_START_TRUE
='#'
23766 NEEDS_DATA_START_FALSE
=
23769 if test -z "${with_multisubdir}"; then
23770 INSTALL_BINARIES_TRUE
=
23771 INSTALL_BINARIES_FALSE
='#'
23773 INSTALL_BINARIES_TRUE
='#'
23774 INSTALL_BINARIES_FALSE
=
23779 # Process the option "--enable-version-specific-runtime-libs"
23780 # Calculate toolexeclibdir
23781 case ${version_specific_libs} in
23783 # Need the gcc compiler version to know where to install libraries
23784 # and header files if --enable-version-specific-runtime-libs option
23786 includedir
='$(libdir)/gcc/$(target_noncanonical)/$(gcc_version)/include/'
23787 toolexecdir
='$(libdir)/gcc/$(target_noncanonical)'
23788 toolexecmainlibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
23789 toolexeclibdir
=$toolexecmainlibdir
23792 if test -n "$with_cross_host" &&
23793 test x
"$with_cross_host" != x
"no"; then
23794 # Install a library built with a cross compiler in tooldir, not libdir.
23795 toolexecdir
='$(exec_prefix)/$(target_noncanonical)'
23796 toolexecmainlibdir
='$(toolexecdir)/lib'
23798 toolexecdir
='$(libdir)/gcc-lib/$(target_noncanonical)'
23799 toolexecmainlibdir
='$(libdir)'
23801 multi_os_directory
=`$CC -print-multi-os-directory`
23802 case $multi_os_directory in
23803 .
) toolexeclibdir
=$toolexecmainlibdir ;; # Avoid trailing /.
23804 *) toolexeclibdir
=$toolexecmainlibdir/$multi_os_directory ;;
23812 # Determine gcj and libgcj version number.
23813 gcjversion
=`cat "$srcdir/../gcc/BASE-VER"`
23814 libgcj_soversion
=`awk -F: '/^[^#].*:/ { print $1 }' $srcdir/libtool-version`
23815 GCJVERSION
=$gcjversion
23818 cat >>confdefs.h
<<_ACEOF
23819 #define GCJVERSION "$GCJVERSION"
23823 # Determine where the standard .db file and GNU Classpath JNI
23824 # libraries are found.
23825 gcjsubdir
=gcj-
$gcjversion-$libgcj_soversion
23826 multi_os_directory
=`$CC -print-multi-os-directory`
23827 case $multi_os_directory in
23829 dbexecdir
='$(libdir)/'$gcjsubdir # Avoid /.
23832 dbexecdir
='$(libdir)/'$multi_os_directory/$gcjsubdir
23839 $as_echo "#define JV_VERSION \"1.5.0\"" >>confdefs.h
23842 $as_echo "#define JV_API_VERSION \"1.5\"" >>confdefs.h
23846 case "${with_gxx_include_dir}" in
23848 as_fn_error
"--with-gxx-include-dir=[dir] requires a directory" "$LINENO" 5
23851 case "${enable_version_specific_runtime_libs}" in
23852 yes) gxx_include_dir
='$(libsubdir)/include/c++' ;;
23854 libstdcxx_incdir
='c++/$(gcc_version)'
23855 gxx_include_dir
='include/$(libstdcxx_incdir)'
23856 if test -n "$with_cross_host" &&
23857 test x
"$with_cross_host" != x
"no"; then
23858 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
23860 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
23863 *) gxx_include_dir
=${with_gxx_include_dir} ;;
23869 # We check for sys/filio.h because Solaris 2.5 defines FIONREAD there.
23870 # On that system, sys/ioctl.h will not include sys/filio.h unless
23871 # BSD_COMP is defined; just including sys/filio.h is simpler.
23872 # We avoid AC_HEADER_DIRENT since we really only care about dirent.h
23873 # for now. If you change this, you also must update natFile.cc.
23874 for ac_header
in unistd.h sys
/time.h sys
/types.h fcntl.h \
23875 sys
/ioctl.h sys
/filio.h sys
/stat.h sys
/select.h \
23876 sys
/socket.h netinet
/in.h arpa
/inet.h netdb.h \
23877 pwd.h sys
/config.h stdint.h langinfo.h locale.h \
23878 dirent.h sys
/rw_lock.h magic.h ifaddrs.h
23880 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23881 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
23882 eval as_val
=\$
$as_ac_Header
23883 if test "x$as_val" = x
""yes; then :
23884 cat >>confdefs.h
<<_ACEOF
23885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23893 # sys/socket.h is a prerequisite for net/if.h on Solaris.
23894 for ac_header
in net
/if.h
23896 ac_fn_c_check_header_compile
"$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
23897 #ifdef HAVE_SYS_SOCKET_H
23898 #include <sys/socket.h>
23902 if test "x$ac_cv_header_net_if_h" = x
""yes; then :
23903 cat >>confdefs.h
<<_ACEOF
23904 #define HAVE_NET_IF_H 1
23912 for ac_header
in inttypes.h
23914 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
23915 if test "x$ac_cv_header_inttypes_h" = x
""yes; then :
23916 cat >>confdefs.h
<<_ACEOF
23917 #define HAVE_INTTYPES_H 1
23921 $as_echo "#define HAVE_INTTYPES_H 1" >>confdefs.h
23924 $as_echo "#define JV_HAVE_INTTYPES_H 1" >>confdefs.h
23932 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
23933 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
23937 cat >>confdefs.h
<<_ACEOF
23938 #define ssize_t int
23943 ac_fn_c_check_type
"$LINENO" "magic_t" "ac_cv_type_magic_t" "
23944 #ifdef HAVE_MAGIC_H
23948 if test "x$ac_cv_type_magic_t" = x
""yes; then :
23951 $as_echo "#define HAVE_MAGIC_T 1" >>confdefs.h
23956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for in_addr_t" >&5
23957 $as_echo_n "checking for in_addr_t... " >&6; }
23958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23960 #include <sys/types.h>
23962 #include <stdlib.h>
23963 #include <stddef.h>
23965 #if HAVE_NETINET_IN_H
23966 #include <netinet/in.h>
23976 if ac_fn_c_try_compile
"$LINENO"; then :
23978 $as_echo "#define HAVE_IN_ADDR_T 1" >>confdefs.h
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23981 $as_echo "yes" >&6; }
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23984 $as_echo "no" >&6; }
23986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ip_mreq is in netinet/in.h" >&5
23989 $as_echo_n "checking whether struct ip_mreq is in netinet/in.h... " >&6; }
23990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23991 /* end confdefs.h. */
23992 #include <netinet/in.h>
23996 struct ip_mreq mreq;
24001 if ac_fn_c_try_compile
"$LINENO"; then :
24003 $as_echo "#define HAVE_STRUCT_IP_MREQ 1" >>confdefs.h
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24006 $as_echo "yes" >&6; }
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24009 $as_echo "no" >&6; }
24011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct ipv6_mreq is in netinet/in.h" >&5
24014 $as_echo_n "checking whether struct ipv6_mreq is in netinet/in.h... " >&6; }
24015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24017 #include <netinet/in.h>
24021 struct ipv6_mreq mreq6;
24026 if ac_fn_c_try_compile
"$LINENO"; then :
24028 $as_echo "#define HAVE_STRUCT_IPV6_MREQ 1" >>confdefs.h
24030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24031 $as_echo "yes" >&6; }
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24034 $as_echo "no" >&6; }
24036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 is in netinet/in.h" >&5
24039 $as_echo_n "checking whether struct sockaddr_in6 is in netinet/in.h... " >&6; }
24040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24041 /* end confdefs.h. */
24042 #include <netinet/in.h>
24046 struct sockaddr_in6 addr6;
24051 if ac_fn_c_try_compile
"$LINENO"; then :
24053 $as_echo "#define HAVE_INET6 1" >>confdefs.h
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24056 $as_echo "yes" >&6; }
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24059 $as_echo "no" >&6; }
24061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t in sys/socket.h" >&5
24064 $as_echo_n "checking for socklen_t in sys/socket.h... " >&6; }
24065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24066 /* end confdefs.h. */
24067 #define _POSIX_PII_SOCKET
24068 #include <sys/types.h>
24069 #include <sys/socket.h>
24078 if ac_fn_c_try_compile
"$LINENO"; then :
24080 $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24083 $as_echo "yes" >&6; }
24085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24086 $as_echo "no" >&6; }
24088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
24091 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
24092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24093 /* end confdefs.h. */
24098 struct tm tim; tim.tm_gmtoff = 0;
24103 if ac_fn_c_try_compile
"$LINENO"; then :
24105 $as_echo "#define STRUCT_TM_HAS_GMTOFF 1" >>confdefs.h
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24108 $as_echo "yes" >&6; }
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24111 $as_echo "no" >&6; }
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global timezone variable" >&5
24113 $as_echo_n "checking for global timezone variable... " >&6; }
24114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24115 /* end confdefs.h. */
24120 void i(){long z2 = 2*timezone;}
24125 if ac_fn_c_try_compile
"$LINENO"; then :
24127 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24130 $as_echo "yes" >&6; }
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24133 $as_echo "no" >&6; }
24134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for global _timezone variable" >&5
24135 $as_echo_n "checking for global _timezone variable... " >&6; }
24136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24137 /* end confdefs.h. */
24142 long z2 = _timezone;
24147 if ac_fn_c_try_compile
"$LINENO"; then :
24149 $as_echo "#define HAVE_UNDERSCORE_TIMEZONE 1" >>confdefs.h
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24152 $as_echo "yes" >&6; }
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24155 $as_echo "no" >&6; }
24157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24163 for ac_prog
in perl
24165 # Extract the first word of "$ac_prog", so it can be a program name with args.
24166 set dummy
$ac_prog; ac_word
=$2
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24168 $as_echo_n "checking for $ac_word... " >&6; }
24169 if test "${ac_cv_prog_PERL+set}" = set; then :
24170 $as_echo_n "(cached) " >&6
24172 if test -n "$PERL"; then
24173 ac_cv_prog_PERL
="$PERL" # Let the user override the test.
24175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24176 for as_dir
in $PATH
24179 test -z "$as_dir" && as_dir
=.
24180 for ac_exec_ext
in '' $ac_executable_extensions; do
24181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24182 ac_cv_prog_PERL
="$ac_prog"
24183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24192 PERL
=$ac_cv_prog_PERL
24193 if test -n "$PERL"; then
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
24195 $as_echo "$PERL" >&6; }
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24198 $as_echo "no" >&6; }
24202 test -n "$PERL" && break
24204 test -n "$PERL" || PERL
="false"
24208 SIGNAL_HANDLER_AUX
=
24212 SIGNAL_HANDLER
=include
/posix-signal.h
24215 SIGNAL_HANDLER
=include
/i386-signal.h
24216 SIGNAL_HANDLER_AUX
=include
/x86_64-signal.h
24219 # SYSDEP_SOURCES=sysdep/ia64.c
24220 # test -d sysdep || mkdir sysdep
24223 SIGNAL_HANDLER
=include
/pa-signal.h
24226 SIGNAL_HANDLER
=include
/hppa-signal.h
24229 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24232 SIGNAL_HANDLER
=include
/powerpc-signal.h
24235 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24238 SIGNAL_HANDLER
=include
/s390-signal.h
24241 SIGNAL_HANDLER
=include
/x86_64-signal.h
24242 SIGNAL_HANDLER_AUX
=include
/i386-signal.h
24245 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24248 SIGNAL_HANDLER
=include
/sh-signal.h
24251 SIGNAL_HANDLER
=include
/win32-signal.h
24254 SIGNAL_HANDLER
=include
/mips-signal.h
24257 SIGNAL_HANDLER
=include
/dwarf2-signal.h
24259 powerpc
*-*-darwin* | i?
86-*-darwin[912]* | x86_64-
*-darwin[912]*)
24260 SIGNAL_HANDLER
=include
/darwin-signal.h
24263 SIGNAL_HANDLER
=include
/aix-signal.h
24266 SIGNAL_HANDLER
=include
/default-signal.h
24270 # If we're using sjlj exceptions, forget what we just learned.
24271 if test "$enable_sjlj_exceptions" = yes; then
24272 SIGNAL_HANDLER
=include
/default-signal.h
24273 SIGNAL_HANDLER_AUX
=
24278 if test -z "$SIGNAL_HANDLER_AUX"; then
24279 SIGNAL_HANDLER_AUX
=$SIGNAL_HANDLER
24282 ac_config_links
="$ac_config_links include/java-signal.h:$SIGNAL_HANDLER include/java-signal-aux.h:$SIGNAL_HANDLER_AUX"
24285 if test "${multilib}" = "yes"; then
24286 multilib_arg
="--enable-multilib"
24291 # See if we support thread-local storage.
24294 # Check whether --enable-tls was given.
24295 if test "${enable_tls+set}" = set; then :
24296 enableval
=$enable_tls;
24297 case "$enableval" in
24299 *) as_fn_error
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
24308 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
24309 if test "${gcc_cv_have_tls+set}" = set; then :
24310 $as_echo_n "(cached) " >&6
24313 if test "$cross_compiling" = yes; then :
24314 if test x
$gcc_no_link = xyes
; then
24315 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24318 /* end confdefs.h. */
24319 __thread int a; int b; int main() { return a = b; }
24321 if ac_fn_c_try_link
"$LINENO"; then :
24322 chktls_save_LDFLAGS
="$LDFLAGS"
24325 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
24328 chktls_save_CFLAGS
="$CFLAGS"
24329 CFLAGS
="-fPIC $CFLAGS"
24330 if test x
$gcc_no_link = xyes
; then
24331 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24334 /* end confdefs.h. */
24335 int f() { return 0; }
24337 if ac_fn_c_try_link
"$LINENO"; then :
24338 if test x
$gcc_no_link = xyes
; then
24339 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24342 /* end confdefs.h. */
24343 __thread int a; int b; int f() { return a = b; }
24345 if ac_fn_c_try_link
"$LINENO"; then :
24346 gcc_cv_have_tls
=yes
24350 rm -f core conftest.err conftest.
$ac_objext \
24351 conftest
$ac_exeext conftest.
$ac_ext
24353 gcc_cv_have_tls
=yes
24355 rm -f core conftest.err conftest.
$ac_objext \
24356 conftest
$ac_exeext conftest.
$ac_ext
24357 CFLAGS
="$chktls_save_CFLAGS"
24358 LDFLAGS
="$chktls_save_LDFLAGS"
24362 rm -f core conftest.err conftest.
$ac_objext \
24363 conftest
$ac_exeext conftest.
$ac_ext
24367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24368 /* end confdefs.h. */
24369 __thread int a; int b; int main() { return a = b; }
24371 if ac_fn_c_try_run
"$LINENO"; then :
24372 chktls_save_LDFLAGS
="$LDFLAGS"
24373 LDFLAGS
="-static $LDFLAGS"
24374 if test x
$gcc_no_link = xyes
; then
24375 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24378 /* end confdefs.h. */
24379 int main() { return 0; }
24381 if ac_fn_c_try_link
"$LINENO"; then :
24382 if test "$cross_compiling" = yes; then :
24383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24385 as_fn_error
"cannot run test program while cross compiling
24386 See \`config.log' for more details." "$LINENO" 5; }
24388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24389 /* end confdefs.h. */
24390 __thread int a; int b; int main() { return a = b; }
24392 if ac_fn_c_try_run
"$LINENO"; then :
24393 gcc_cv_have_tls
=yes
24397 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24398 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24402 gcc_cv_have_tls
=yes
24404 rm -f core conftest.err conftest.
$ac_objext \
24405 conftest
$ac_exeext conftest.
$ac_ext
24406 LDFLAGS
="$chktls_save_LDFLAGS"
24407 if test $gcc_cv_have_tls = yes; then
24408 chktls_save_CFLAGS
="$CFLAGS"
24409 thread_CFLAGS
=failed
24410 for flag
in '' '-pthread' '-lpthread'; do
24411 CFLAGS
="$flag $chktls_save_CFLAGS"
24412 if test x
$gcc_no_link = xyes
; then
24413 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24416 /* end confdefs.h. */
24417 #include <pthread.h>
24418 void *g(void *d) { return NULL; }
24422 pthread_t t; pthread_create(&t,NULL,g,NULL);
24427 if ac_fn_c_try_link
"$LINENO"; then :
24428 thread_CFLAGS
="$flag"
24430 rm -f core conftest.err conftest.
$ac_objext \
24431 conftest
$ac_exeext conftest.
$ac_ext
24432 if test "X$thread_CFLAGS" != Xfailed
; then
24436 CFLAGS
="$chktls_save_CFLAGS"
24437 if test "X$thread_CFLAGS" != Xfailed
; then
24438 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
24439 if test "$cross_compiling" = yes; then :
24440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24442 as_fn_error
"cannot run test program while cross compiling
24443 See \`config.log' for more details." "$LINENO" 5; }
24445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24446 /* end confdefs.h. */
24447 #include <pthread.h>
24449 static int *volatile a_in_other_thread;
24451 thread_func (void *arg)
24453 a_in_other_thread = &a;
24460 void *thread_retval;
24461 int *volatile a_in_main_thread;
24462 a_in_main_thread = &a;
24463 if (pthread_create (&thread, (pthread_attr_t *)0,
24464 thread_func, (void *)0))
24466 if (pthread_join (thread, &thread_retval))
24468 return (a_in_other_thread == a_in_main_thread);
24473 if ac_fn_c_try_run
"$LINENO"; then :
24474 gcc_cv_have_tls
=yes
24478 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24479 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24482 CFLAGS
="$chktls_save_CFLAGS"
24488 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24489 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
24494 $as_echo "$gcc_cv_have_tls" >&6; }
24495 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
24497 $as_echo "#define HAVE_TLS 1" >>confdefs.h
24501 # For _Unwind_GetIPInfo.
24504 # Check whether --with-system-libunwind was given.
24505 if test "${with_system_libunwind+set}" = set; then :
24506 withval
=$with_system_libunwind;
24509 # If system-libunwind was not specifically set, pick a default setting.
24510 if test x
$with_system_libunwind = x
; then
24512 ia64-
*-hpux*) with_system_libunwind
=yes ;;
24513 *) with_system_libunwind
=no
;;
24516 # Based on system-libunwind and target, do we have ipinfo?
24517 if test x
$with_system_libunwind = xyes
; then
24519 ia64-
*-*) have_unwind_getipinfo
=no
;;
24520 *) have_unwind_getipinfo
=yes ;;
24523 # Darwin before version 9 does not have _Unwind_GetIPInfo.
24526 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
24527 *) have_unwind_getipinfo
=yes ;;
24532 if test x
$have_unwind_getipinfo = xyes
; then
24534 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
24539 # See if linker supports anonymous version scripts.
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous version scripts" >&5
24541 $as_echo_n "checking whether ld supports anonymous version scripts... " >&6; }
24542 if test "${libjava_cv_anon_version_script+set}" = set; then :
24543 $as_echo_n "(cached) " >&6
24545 # Check whether --enable-symvers was given.
24546 if test "${enable_symvers+set}" = set; then :
24547 enableval
=$enable_symvers; case "$enableval" in
24548 yes|gnu
*) libjava_cv_anon_version_script
=yes ;;
24549 no
) libjava_cv_anon_version_script
=no
;;
24550 *) as_fn_error
"Unknown argument to enable/disable symvers" "$LINENO" 5;;
24553 libjava_cv_anon_version_script
=yes
24557 if test x
$libjava_cv_anon_version_script = xyes
; then
24558 save_CFLAGS
="$CFLAGS"; save_LDFLAGS
="$LDFLAGS"
24559 CFLAGS
="$CFLAGS -fPIC";
24560 LDFLAGS
="$LDFLAGS -shared -Wl,--version-script,conftest.map"
24561 echo '{ global: globalsymb*; local: *; };' > conftest.map
24562 if test x
$gcc_no_link = xyes
; then
24563 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24566 /* end confdefs.h. */
24567 void globalsymbol (void) {} void localsymbol (void) {}
24576 if ac_fn_c_try_link
"$LINENO"; then :
24577 libjava_cv_anon_version_script
=gnu
24579 libjava_cv_anon_version_script
=no
24581 rm -f core conftest.err conftest.
$ac_objext \
24582 conftest
$ac_exeext conftest.
$ac_ext
24583 if test x
$libjava_cv_anon_version_script = xno
; then
24584 case "$target_os" in
24586 LDFLAGS
="$save_LDFLAGS"
24587 LDFLAGS
="$LDFLAGS -shared -Wl,-M,conftest.map"
24588 # Sun ld doesn't understand wildcards here.
24589 echo '{ global: globalsymbol; local: *; };' > conftest.map
24590 if test x
$gcc_no_link = xyes
; then
24591 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24594 /* end confdefs.h. */
24595 void globalsymbol (void) {} void localsymbol (void) {}
24604 if ac_fn_c_try_link
"$LINENO"; then :
24605 libjava_cv_anon_version_script
=sun
24607 rm -f core conftest.err conftest.
$ac_objext \
24608 conftest
$ac_exeext conftest.
$ac_ext
24612 CFLAGS
="$save_CFLAGS"; LDFLAGS
="$save_LDFLAGS"
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libjava_cv_anon_version_script" >&5
24617 $as_echo "$libjava_cv_anon_version_script" >&6; }
24618 if test "$libjava_cv_anon_version_script" != no
; then
24619 ANONVERSCRIPT_TRUE
=
24620 ANONVERSCRIPT_FALSE
='#'
24622 ANONVERSCRIPT_TRUE
='#'
24623 ANONVERSCRIPT_FALSE
=
24626 if test "$libjava_cv_anon_version_script" = gnu
; then
24627 ANONVERSCRIPT_GNU_TRUE
=
24628 ANONVERSCRIPT_GNU_FALSE
='#'
24630 ANONVERSCRIPT_GNU_TRUE
='#'
24631 ANONVERSCRIPT_GNU_FALSE
=
24634 if test "$libjava_cv_anon_version_script" = sun
; then
24635 ANONVERSCRIPT_SUN_TRUE
=
24636 ANONVERSCRIPT_SUN_FALSE
='#'
24638 ANONVERSCRIPT_SUN_TRUE
='#'
24639 ANONVERSCRIPT_SUN_FALSE
=
24643 # Check if linker supports static linking on a per library basis
24644 LD_START_STATIC_SPEC
=
24645 LD_FINISH_STATIC_SPEC
=
24646 if $LD --help 2>&1 |
grep -- -call_shared >/dev
/null
2>&1; then
24647 if $LD --help 2>&1 |
grep -- -non_shared >/dev
/null
2>&1; then
24648 LD_START_STATIC_SPEC
='%{static-libgcj:-non_shared}'
24649 LD_FINISH_STATIC_SPEC
='%{static-libgcj:-call_shared}'
24655 here
=`${PWDCMD-pwd}`
24658 # We get this from the environment.
24661 default_python_dir
="/share/gcc-`cat ${srcdir}/../gcc/BASE-VER`/python/libjava"
24663 # Check whether --with-python-dir was given.
24664 if test "${with_python_dir+set}" = set; then :
24665 withval
=$with_python_dir; with_python_dir
=$withval
24667 with_python_dir
="${default_python_dir}"
24671 # Needed for installing Python modules during make install.
24672 python_mod_dir
="\${prefix}${with_python_dir}"
24674 # Needed for substituting into aot-compile*
24675 python_mod_dir_expanded
="${expanded_prefix}${with_python_dir}"
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Python modules dir: ${python_mod_dir_expanded}" >&5
24678 $as_echo "Python modules dir: ${python_mod_dir_expanded}" >&6; };
24682 # needed for aot-compile-rpm
24686 # Check whether --enable-aot-compile-rpm was given.
24687 if test "${enable_aot_compile_rpm+set}" = set; then :
24688 enableval
=$enable_aot_compile_rpm; case "${enableval}" in
24689 yes) AOT_RPM_ENABLED
=yes ;;
24690 no
) AOT_RPM_ENABLED
=no
;;
24691 *) as_fn_error
"Unknown argument to enable/disable aot-compile-rpm" "$LINENO" 5 ;;
24698 if test "x${AOT_RPM_ENABLED}" = xyes
; then
24699 INSTALL_AOT_RPM_TRUE
=
24700 INSTALL_AOT_RPM_FALSE
='#'
24702 INSTALL_AOT_RPM_TRUE
='#'
24703 INSTALL_AOT_RPM_FALSE
=
24707 # Check whether --enable-java-home was given.
24708 if test "${enable_java_home+set}" = set; then :
24709 enableval
=$enable_java_home; case "${enableval}" in
24710 yes) JAVA_HOME_ENABLED
=yes ;;
24711 no
) JAVA_HOME_ENABLED
=no
;;
24712 *) as_fn_error
"Unknown argument to enable/disable java-home" "$LINENO" 5 ;;
24715 JAVA_HOME_ENABLED
=no
24719 if test "x${JAVA_HOME_ENABLED}" = xyes
; then
24720 CREATE_JAVA_HOME_TRUE
=
24721 CREATE_JAVA_HOME_FALSE
='#'
24723 CREATE_JAVA_HOME_TRUE
='#'
24724 CREATE_JAVA_HOME_FALSE
=
24728 # Only do these checks if java-home above is enabled.
24729 if test "x${JAVA_HOME_ENABLED}" = xyes
24733 # Check whether --with-gcc-suffix was given.
24734 if test "${with_gcc_suffix+set}" = set; then :
24735 withval
=$with_gcc_suffix; gcc_suffix
=$withval
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCC suffix: ${gcc_suffix}" >&5
24741 $as_echo "GCC suffix: ${gcc_suffix}" >&6; }
24745 # Check whether --with-arch-directory was given.
24746 if test "${with_arch_directory+set}" = set; then :
24747 withval
=$with_arch_directory; host_cpu
=$withval
24754 # Check whether --with-os-directory was given.
24755 if test "${with_os_directory+set}" = set; then :
24756 withval
=$with_os_directory; host_os
=$withval
24763 # Check whether --with-origin-name was given.
24764 if test "${with_origin_name+set}" = set; then :
24765 withval
=$with_origin_name; origin_name
=$withval
24767 origin_name
=gcj
${gcc_suffix}
24770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JPackage origin name: ${origin_name}" >&5
24771 $as_echo "JPackage origin name: ${origin_name}" >&6; }
24774 # Check whether --with-arch-suffix was given.
24775 if test "${with_arch_suffix+set}" = set; then :
24776 withval
=$with_arch_suffix; arch_suffix
=$withval
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch suffix: ${arch_suffix}" >&5
24782 $as_echo "arch suffix: ${arch_suffix}" >&6; }
24785 # Check whether --with-jvm-root-dir was given.
24786 if test "${with_jvm_root_dir+set}" = set; then :
24787 withval
=$with_jvm_root_dir; jvm_root_dir
=$withval
24789 jvm_root_dir
="\${prefix}/lib/jvm"
24792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM root installation directory: ${jvm_root_dir}" >&5
24793 $as_echo "JVM root installation directory: ${jvm_root_dir}" >&6; }
24796 # Check whether --with-jvm-jar-dir was given.
24797 if test "${with_jvm_jar_dir+set}" = set; then :
24798 withval
=$with_jvm_jar_dir; jvm_jar_dir
=$withval
24800 jvm_jar_dir
=\
${prefix}/lib
/jvm-exports
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JAR root installation directory: ${jvm_jar_dir}" >&5
24804 $as_echo "JAR root installation directory: ${jvm_jar_dir}" >&6; }
24810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Java version: ${JAVA_VERSION}" >&5
24811 $as_echo "Java version: ${JAVA_VERSION}" >&6; }
24814 jre_lnk
=jre-
${JAVA_VERSION}-${origin_name}
24815 sdk_lnk
=java-
${JAVA_VERSION}-${origin_name}
24817 JVM_ROOT_DIR
=${jvm_root_dir}
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM ROOT directory: ${JVM_ROOT_DIR}" >&5
24820 $as_echo "JVM ROOT directory: ${JVM_ROOT_DIR}" >&6; }
24822 JVM_JAR_ROOT_DIR
=${jvm_jar_dir}
24824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&5
24825 $as_echo "JVM JAR ROOT directory: ${JVM_JAR_ROOT_DIR}" >&6; }
24827 JVM_JAR_DIR
=${jvm_jar_dir}
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JVM JAR directory: ${JVM_JAR_DIR}" >&5
24830 $as_echo "JVM JAR directory: ${JVM_JAR_DIR}" >&6; }
24841 SDK_BIN_DIR
=${jvm_root_dir}/bin
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK tools directory: ${SDK_BIN_DIR}" >&5
24844 $as_echo "SDK tools directory: ${SDK_BIN_DIR}" >&6; }
24846 SDK_LIB_DIR
=${jvm_root_dir}/lib
24848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK jar directory: ${SDK_LIB_DIR}" >&5
24849 $as_echo "SDK jar directory: ${SDK_LIB_DIR}" >&6; }
24851 SDK_INCLUDE_DIR
=${jvm_root_dir}/include
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SDK include directory: ${SDK_INCLUDE_DIR}" >&5
24854 $as_echo "SDK include directory: ${SDK_INCLUDE_DIR}" >&6; }
24856 JRE_BIN_DIR
=${jvm_root_dir}/${jre_dir}/bin
24858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE tools directory: ${JRE_BIN_DIR}" >&5
24859 $as_echo "JRE tools directory: ${JRE_BIN_DIR}" >&6; }
24861 JRE_LIB_DIR
=${jvm_root_dir}/${jre_dir}/lib
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: JRE lib directory: ${JRE_LIB_DIR}" >&5
24864 $as_echo "JRE lib directory: ${JRE_LIB_DIR}" >&6; }
24866 # Find gcj prefix using gcj found in PATH.
24867 gcj_prefix
=`which gcj${gcc_suffix} | sed "s%/bin/gcj${gcc_suffix}%%"`
24869 # Where do the gcj binaries live?
24870 # For jhbuild based builds, they all live in a sibling of bin called
24871 # gcj-bin. Check for gcj-bin first, and use bin otherwise.
24872 GCJ_BIN_DIR
=`if test -d ${gcj_prefix}/gcj-bin; then echo ${gcj_prefix}/gcj-bin; else echo ${gcj_prefix}/bin; fi`
24874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: GCJ tools directory: ${GCJ_BIN_DIR}" >&5
24875 $as_echo "GCJ tools directory: ${GCJ_BIN_DIR}" >&6; }
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: host is ${host}" >&5
24878 $as_echo "host is ${host}" >&6; }
24879 if test "x${host_cpu}" = "x"
24882 *-mingw* |
*-cygwin*)
24884 i486-
* | i586-
* | i686-
*)
24889 host_cpu
=${host_cpu};;
24892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: arch directory: ${host_cpu}" >&5
24893 $as_echo "arch directory: ${host_cpu}" >&6; }
24897 if test "x${host_os}" = "x"
24900 *-mingw* |
*-cygwin*)
24905 host_os
=${host_os};;
24908 echo os directory
: ${host_os}
24912 # make an expanded $libdir, for substituting into
24913 # scripts (and other non-Makefile things).
24915 if test "x${exec_prefix}" = "xNONE"
24917 lib_exec_prefix
=$expanded_prefix
24919 lib_exec_prefix
=$exec_prefix
24921 LIBDIR
=`echo $libdir | sed "s:\\\${exec_prefix}:$lib_exec_prefix:g"`
24925 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"
24928 if test ${multilib} = yes; then
24929 multilib_arg
="--enable-multilib"
24934 ac_config_files
="$ac_config_files scripts/jar"
24936 cat >confcache
<<\_ACEOF
24937 # This file is a shell script that caches the results of configure
24938 # tests run on this system so they can be shared between configure
24939 # scripts and configure runs, see configure's option --config-cache.
24940 # It is not useful on other systems. If it contains results you don't
24941 # want to keep, you may remove or edit it.
24943 # config.status only pays attention to the cache file if you give it
24944 # the --recheck option to rerun configure.
24946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24948 # following values.
24952 # The following way of writing the cache mishandles newlines in values,
24953 # but we know of no workaround that is simple, portable, and efficient.
24954 # So, we kill variables containing newlines.
24955 # Ultrix sh set writes to stderr and can't be redirected directly,
24956 # and sets the high bit in the cache file unless we assign to the vars.
24958 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24959 eval ac_val
=\$
$ac_var
24963 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24964 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24967 _ | IFS | as_nl
) ;; #(
24968 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24969 *) { eval $ac_var=; unset $ac_var;} ;;
24975 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24976 *${as_nl}ac_space
=\
*)
24977 # `set' does not quote correctly, so add quotes: double-quote
24978 # substitution turns \\\\ into \\, and sed turns \\ into \.
24981 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24984 # `set' quotes correctly as required by POSIX, so do not add quotes.
24985 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24994 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24996 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24998 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24999 if test -w "$cache_file"; then
25000 test "x$cache_file" != "x/dev/null" &&
25001 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25002 $as_echo "$as_me: updating cache $cache_file" >&6;}
25003 cat confcache
>$cache_file
25005 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25006 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25011 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
25012 # Let make expand exec_prefix.
25013 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
25015 DEFS
=-DHAVE_CONFIG_H
25019 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
25020 # 1. Remove the extension, and $U if already installed.
25021 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
25022 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
25023 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25024 # will be set to the directory where LIBOBJS objects are built.
25025 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25026 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
25028 LIBOBJS
=$ac_libobjs
25030 LTLIBOBJS
=$ac_ltlibobjs
25033 if test -z "${CREATE_GJDOC_TRUE}" && test -z "${CREATE_GJDOC_FALSE}"; then
25034 as_fn_error
"conditional \"CREATE_GJDOC\" was never defined.
25035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25037 if test -z "${JAVA_MAINTAINER_MODE_TRUE}" && test -z "${JAVA_MAINTAINER_MODE_FALSE}"; then
25038 as_fn_error
"conditional \"JAVA_MAINTAINER_MODE\" was never defined.
25039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25041 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25042 as_fn_error
"conditional \"AMDEP\" was never defined.
25043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25045 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25046 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
25047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25049 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
25050 as_fn_error
"conditional \"am__fastdepCXX\" was never defined.
25051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25053 if test -n "$EXEEXT"; then
25055 am__EXEEXT_FALSE
='#'
25057 am__EXEEXT_TRUE
='#'
25061 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25062 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
25063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25065 if test -z "${BUILD_SUBLIBS_TRUE}" && test -z "${BUILD_SUBLIBS_FALSE}"; then
25066 as_fn_error
"conditional \"BUILD_SUBLIBS\" was never defined.
25067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25069 if test -z "${XLIB_AWT_TRUE}" && test -z "${XLIB_AWT_FALSE}"; then
25070 as_fn_error
"conditional \"XLIB_AWT\" was never defined.
25071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25073 if test -z "${X_AWT_TRUE}" && test -z "${X_AWT_FALSE}"; then
25074 as_fn_error
"conditional \"X_AWT\" was never defined.
25075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25077 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25078 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25081 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25082 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25085 if test -z "${TESTSUBDIR_TRUE}" && test -z "${TESTSUBDIR_FALSE}"; then
25086 as_fn_error
"conditional \"TESTSUBDIR\" was never defined.
25087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25089 if test -z "${BUILD_ECJ1_TRUE}" && test -z "${BUILD_ECJ1_FALSE}"; then
25090 as_fn_error
"conditional \"BUILD_ECJ1\" was never defined.
25091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25093 if test -z "${INSTALL_ECJ_JAR_TRUE}" && test -z "${INSTALL_ECJ_JAR_FALSE}"; then
25094 as_fn_error
"conditional \"INSTALL_ECJ_JAR\" was never defined.
25095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25097 if test -z "${JAVA_HOME_SET_TRUE}" && test -z "${JAVA_HOME_SET_FALSE}"; then
25098 as_fn_error
"conditional \"JAVA_HOME_SET\" was never defined.
25099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25101 if test -z "${SUPPRESS_LIBGCJ_BC_TRUE}" && test -z "${SUPPRESS_LIBGCJ_BC_FALSE}"; then
25102 as_fn_error
"conditional \"SUPPRESS_LIBGCJ_BC\" was never defined.
25103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25105 if test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_TRUE}" && test -z "${BUILD_LIBGCJ_REDUCED_REFLECTION_FALSE}"; then
25106 as_fn_error
"conditional \"BUILD_LIBGCJ_REDUCED_REFLECTION\" was never defined.
25107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25109 if test -z "${INTERPRETER_TRUE}" && test -z "${INTERPRETER_FALSE}"; then
25110 as_fn_error
"conditional \"INTERPRETER\" was never defined.
25111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25113 if test -z "${USING_WIN32_PLATFORM_TRUE}" && test -z "${USING_WIN32_PLATFORM_FALSE}"; then
25114 as_fn_error
"conditional \"USING_WIN32_PLATFORM\" was never defined.
25115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25117 if test -z "${USING_POSIX_PLATFORM_TRUE}" && test -z "${USING_POSIX_PLATFORM_FALSE}"; then
25118 as_fn_error
"conditional \"USING_POSIX_PLATFORM\" was never defined.
25119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25121 if test -z "${USING_DARWIN_CRT_TRUE}" && test -z "${USING_DARWIN_CRT_FALSE}"; then
25122 as_fn_error
"conditional \"USING_DARWIN_CRT\" was never defined.
25123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25125 if test -z "${USING_BOEHMGC_TRUE}" && test -z "${USING_BOEHMGC_FALSE}"; then
25126 as_fn_error
"conditional \"USING_BOEHMGC\" was never defined.
25127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25129 if test -z "${USING_NOGC_TRUE}" && test -z "${USING_NOGC_FALSE}"; then
25130 as_fn_error
"conditional \"USING_NOGC\" was never defined.
25131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25133 if test -z "${USING_POSIX_THREADS_TRUE}" && test -z "${USING_POSIX_THREADS_FALSE}"; then
25134 as_fn_error
"conditional \"USING_POSIX_THREADS\" was never defined.
25135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25137 if test -z "${USING_WIN32_THREADS_TRUE}" && test -z "${USING_WIN32_THREADS_FALSE}"; then
25138 as_fn_error
"conditional \"USING_WIN32_THREADS\" was never defined.
25139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25141 if test -z "${USING_NO_THREADS_TRUE}" && test -z "${USING_NO_THREADS_FALSE}"; then
25142 as_fn_error
"conditional \"USING_NO_THREADS\" was never defined.
25143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25145 if test -z "${USE_LIBGCJ_BC_TRUE}" && test -z "${USE_LIBGCJ_BC_FALSE}"; then
25146 as_fn_error
"conditional \"USE_LIBGCJ_BC\" was never defined.
25147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25149 if test -z "${USING_GCC_TRUE}" && test -z "${USING_GCC_FALSE}"; then
25150 as_fn_error
"conditional \"USING_GCC\" was never defined.
25151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25153 if test -z "${am__fastdepGCJ_TRUE}" && test -z "${am__fastdepGCJ_FALSE}"; then
25154 as_fn_error
"conditional \"am__fastdepGCJ\" was never defined.
25155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25158 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
25159 as_fn_error
"conditional \"NATIVE\" was never defined.
25160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25162 if test -z "${ENABLE_SHARED_TRUE}" && test -z "${ENABLE_SHARED_FALSE}"; then
25163 as_fn_error
"conditional \"ENABLE_SHARED\" was never defined.
25164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25166 if test -z "${NEEDS_DATA_START_TRUE}" && test -z "${NEEDS_DATA_START_FALSE}"; then
25167 as_fn_error
"conditional \"NEEDS_DATA_START\" was never defined.
25168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25170 if test -z "${INSTALL_BINARIES_TRUE}" && test -z "${INSTALL_BINARIES_FALSE}"; then
25171 as_fn_error
"conditional \"INSTALL_BINARIES\" was never defined.
25172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25174 if test -z "${ANONVERSCRIPT_TRUE}" && test -z "${ANONVERSCRIPT_FALSE}"; then
25175 as_fn_error
"conditional \"ANONVERSCRIPT\" was never defined.
25176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25178 if test -z "${ANONVERSCRIPT_GNU_TRUE}" && test -z "${ANONVERSCRIPT_GNU_FALSE}"; then
25179 as_fn_error
"conditional \"ANONVERSCRIPT_GNU\" was never defined.
25180 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25182 if test -z "${ANONVERSCRIPT_SUN_TRUE}" && test -z "${ANONVERSCRIPT_SUN_FALSE}"; then
25183 as_fn_error
"conditional \"ANONVERSCRIPT_SUN\" was never defined.
25184 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25186 if test -z "${INSTALL_AOT_RPM_TRUE}" && test -z "${INSTALL_AOT_RPM_FALSE}"; then
25187 as_fn_error
"conditional \"INSTALL_AOT_RPM\" was never defined.
25188 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25190 if test -z "${CREATE_JAVA_HOME_TRUE}" && test -z "${CREATE_JAVA_HOME_FALSE}"; then
25191 as_fn_error
"conditional \"CREATE_JAVA_HOME\" was never defined.
25192 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25195 : ${CONFIG_STATUS=./config.status}
25197 ac_clean_files_save
=$ac_clean_files
25198 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
25199 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25200 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25202 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25204 # Generated by $as_me.
25205 # Run this file to recreate the current configuration.
25206 # Compiler output produced by configure, useful for debugging
25207 # configure, is in config.log if it exists.
25210 ac_cs_recheck=false
25213 SHELL=\${CONFIG_SHELL-$SHELL}
25216 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
25217 ## -------------------- ##
25218 ## M4sh Initialization. ##
25219 ## -------------------- ##
25221 # Be more Bourne compatible
25222 DUALCASE
=1; export DUALCASE
# for MKS sh
25223 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
25226 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25227 # is contrary to our usage. Disable this feature.
25228 alias -g '${1+"$@"}'='"$@"'
25229 setopt NO_GLOB_SUBST
25231 case `(set -o) 2>/dev/null` in #(
25243 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25244 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25245 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25246 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25247 # Prefer a ksh shell builtin over an external printf program on Solaris,
25248 # but without wasting forks for bash or zsh.
25249 if test -z "$BASH_VERSION$ZSH_VERSION" \
25250 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25251 as_echo='print
-r --'
25252 as_echo_n='print
-rn --'
25253 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25254 as_echo='printf %s
\n'
25255 as_echo_n='printf %s
'
25257 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25258 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
25259 as_echo_n='/usr
/ucb
/echo -n'
25261 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25262 as_echo_n_body='eval
25266 expr "X$arg" : "X\\(.*\\)$as_nl";
25267 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25269 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
25271 export as_echo_n_body
25272 as_echo_n='sh
-c $as_echo_n_body as_echo
'
25274 export as_echo_body
25275 as_echo='sh
-c $as_echo_body as_echo
'
25278 # The user is always right.
25279 if test "${PATH_SEPARATOR+set}" != set; then
25281 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25282 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25289 # We need space, tab and new line, in precisely that order. Quoting is
25290 # there to prevent editors from complaining about space-tab.
25291 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25292 # splitting by setting IFS to empty value.)
25295 # Find who we are. Look in the path if we contain no directory separator.
25297 *[\\/]* ) as_myself=$0 ;;
25298 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25299 for as_dir in $PATH
25302 test -z "$as_dir" && as_dir=.
25303 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25309 # We did not find ourselves, most probably we were run as `sh COMMAND'
25310 # in which case we are not to be found in the path.
25311 if test "x$as_myself" = x
; then
25314 if test ! -f "$as_myself"; then
25315 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25319 # Unset variables that we do not need and which cause bugs (e.g. in
25320 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25321 # suppresses any "Segmentation fault" message there. '((' could
25322 # trigger a bug in pdksh 5.2.14.
25323 for as_var
in BASH_ENV ENV MAIL MAILPATH
25324 do eval test x\
${$as_var+set} = xset \
25325 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
25338 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
25341 # as_fn_error ERROR [LINENO LOG_FD]
25342 # ---------------------------------
25343 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25344 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25345 # script with status $?, using 1 if that was 0.
25348 as_status
=$?
; test $as_status -eq 0 && as_status
=1
25350 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
25351 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25353 $as_echo "$as_me: error: $1" >&2
25354 as_fn_exit
$as_status
25358 # as_fn_set_status STATUS
25359 # -----------------------
25360 # Set $? to STATUS, without forking.
25361 as_fn_set_status
()
25364 } # as_fn_set_status
25366 # as_fn_exit STATUS
25367 # -----------------
25368 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25372 as_fn_set_status
$1
25378 # Portably unset VAR.
25381 { eval $1=; unset $1;}
25383 as_unset
=as_fn_unset
25384 # as_fn_append VAR VALUE
25385 # ----------------------
25386 # Append the text in VALUE to the end of the definition contained in VAR. Take
25387 # advantage of any shell optimizations that allow amortized linear growth over
25388 # repeated appends, instead of the typical quadratic growth present in naive
25390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
25391 eval 'as_fn_append ()
25402 # as_fn_arith ARG...
25403 # ------------------
25404 # Perform arithmetic evaluation on the ARGs, and store the result in the
25405 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25406 # must be portable across $(()) and expr.
25407 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
25408 eval 'as_fn_arith ()
25415 as_val
=`expr "$@" || test $? -eq 1`
25420 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25421 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25427 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25428 as_basename
=basename
25433 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25439 as_me
=`$as_basename -- "$0" ||
25440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25441 X"$0" : 'X\(//\)$' \| \
25442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25444 sed '/^.*\/\([^/][^/]*\)\/*$/{
25458 # Avoid depending upon Character Ranges.
25459 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
25460 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25461 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
25462 as_cr_digits
='0123456789'
25463 as_cr_alnum
=$as_cr_Letters$as_cr_digits
25465 ECHO_C
= ECHO_N
= ECHO_T
=
25466 case `echo -n x` in #(((((
25468 case `echo 'xy\c'` in
25469 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25471 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
25478 rm -f conf$$ conf$$.exe conf$$.
file
25479 if test -d conf$$.dir
; then
25480 rm -f conf$$.dir
/conf$$.
file
25483 mkdir conf$$.dir
2>/dev
/null
25485 if (echo >conf$$.
file) 2>/dev
/null
; then
25486 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25488 # ... but there are two gotchas:
25489 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25490 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25491 # In both cases, we have to default to `cp -p'.
25492 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25494 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25502 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25503 rmdir conf$$.dir
2>/dev
/null
25508 # Create "$as_dir" as a directory, including parents if necessary.
25513 -*) as_dir
=.
/$as_dir;;
25515 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
25519 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25520 *) as_qdir
=$as_dir;;
25522 as_dirs
="'$as_qdir' $as_dirs"
25523 as_dir
=`$as_dirname -- "$as_dir" ||
25524 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25525 X"$as_dir" : 'X\(//\)[^/]' \| \
25526 X"$as_dir" : 'X\(//\)$' \| \
25527 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25528 $as_echo X"$as_dir" |
25529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25533 /^X\(\/\/\)[^/].*/{
25546 test -d "$as_dir" && break
25548 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25549 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
25553 if mkdir
-p .
2>/dev
/null
; then
25554 as_mkdir_p
='mkdir -p "$as_dir"'
25556 test -d .
/-p && rmdir .
/-p
25560 if test -x / >/dev
/null
2>&1; then
25561 as_test_x
='test -x'
25563 if ls -dL / >/dev
/null
2>&1; then
25570 if test -d "$1"; then
25576 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25577 ???[sx]*):;;*)false;;esac;fi
25581 as_executable_p
=$as_test_x
25583 # Sed expression to map a string onto a valid CPP name.
25584 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25586 # Sed expression to map a string onto a valid variable name.
25587 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25591 ## ----------------------------------- ##
25592 ## Main body of $CONFIG_STATUS script. ##
25593 ## ----------------------------------- ##
25595 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
25597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25598 # Save the log message, to keep $0 and so on meaningful, and to
25599 # report actual input values of CONFIG_FILES etc. instead of their
25600 # values after options handling.
25602 This file was extended by libjava $as_me version-unused, which was
25603 generated by GNU Autoconf 2.64. Invocation command line was
25605 CONFIG_FILES = $CONFIG_FILES
25606 CONFIG_HEADERS = $CONFIG_HEADERS
25607 CONFIG_LINKS = $CONFIG_LINKS
25608 CONFIG_COMMANDS = $CONFIG_COMMANDS
25611 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25616 case $ac_config_files in *"
25617 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25620 case $ac_config_headers in *"
25621 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25626 # Files that config.status was made for.
25627 config_files="$ac_config_files"
25628 config_headers="$ac_config_headers"
25629 config_links="$ac_config_links"
25630 config_commands="$ac_config_commands"
25634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25636 \`$as_me' instantiates files and other configuration actions
25637 from templates according to the current configuration. Unless the files
25638 and actions are specified as TAGs, all are instantiated by default.
25640 Usage: $0 [OPTION]... [TAG]...
25642 -h, --help print this help, then exit
25643 -V, --version print version number and configuration settings, then exit
25644 -q, --quiet, --silent
25645 do not print progress messages
25646 -d, --debug don't remove temporary files
25647 --recheck update $as_me by reconfiguring in the same conditions
25648 --file=FILE[:TEMPLATE]
25649 instantiate the configuration file FILE
25650 --header=FILE[:TEMPLATE]
25651 instantiate the configuration header FILE
25653 Configuration files:
25656 Configuration headers:
25659 Configuration links:
25662 Configuration commands:
25665 Report bugs to the package provider."
25668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25670 libjava config.status version-unused
25671 configured by $0, generated by GNU Autoconf 2.64,
25672 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25674 Copyright (C) 2009 Free Software Foundation, Inc.
25675 This config.status script is free software; the Free Software Foundation
25676 gives unlimited permission to copy, distribute and modify it."
25683 test -n "\$AWK" || AWK=awk
25686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25687 # The default lists apply if the user does not specify any file.
25693 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25694 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25705 # Handling of the options.
25706 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25708 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25709 $as_echo "$ac_cs_version"; exit ;;
25710 --debug |
--debu |
--deb |
--de |
--d |
-d )
25712 --file |
--fil |
--fi |
--f )
25715 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25717 as_fn_append CONFIG_FILES
" '$ac_optarg'"
25718 ac_need_defaults
=false
;;
25719 --header |
--heade |
--head |
--hea )
25722 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25724 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
25725 ac_need_defaults
=false
;;
25727 # Conflict between --help and --header
25728 as_fn_error
"ambiguous option: \`$1'
25729 Try \`$0 --help' for more information.";;
25730 --help |
--hel |
-h )
25731 $as_echo "$ac_cs_usage"; exit ;;
25732 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25733 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25736 # This is an error.
25737 -*) as_fn_error
"unrecognized option: \`$1'
25738 Try \`$0 --help' for more information." ;;
25740 *) as_fn_append ac_config_targets
" $1"
25741 ac_need_defaults
=false
;;
25747 ac_configure_extra_args
=
25749 if $ac_cs_silent; then
25751 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25756 if \$ac_cs_recheck; then
25757 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25759 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25760 CONFIG_SHELL='$SHELL'
25761 export CONFIG_SHELL
25766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25770 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25771 ## Running $as_me. ##
25777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25785 with_multisubdir="$with_multisubdir"
25786 with_multisrctop="$with_multisrctop"
25787 with_target_subdir="$with_target_subdir"
25788 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25789 multi_basedir="$multi_basedir"
25790 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25793 GFORTRAN="$GFORTRAN"
25795 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25798 # The HP-UX ksh and POSIX shell print the target directory to stdout
25799 # if CDPATH is set.
25800 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25802 sed_quote_subst='$sed_quote_subst'
25803 double_quote_subst='$double_quote_subst'
25804 delay_variable_subst='$delay_variable_subst'
25805 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25806 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25807 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25808 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25809 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25810 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25811 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25812 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25813 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25814 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25815 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25816 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25817 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25818 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25819 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25820 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25821 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25822 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25823 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25824 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25825 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25826 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25827 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25828 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25829 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25830 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25831 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25832 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25833 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25834 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25835 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25836 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25837 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25838 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25839 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25840 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25841 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25842 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25843 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25844 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25845 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25846 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25847 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25848 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25849 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25850 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25851 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25852 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25853 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"`'
25854 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25855 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25856 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25857 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25858 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25859 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25860 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25861 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25862 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25863 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25864 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25865 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25866 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25867 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25868 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25869 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25870 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25871 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25872 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25873 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25874 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25875 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25876 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25877 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25878 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25879 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25880 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25881 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25882 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25883 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25884 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25885 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25886 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25887 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25888 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25889 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25890 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25891 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25892 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25893 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25894 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25895 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25896 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25897 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25898 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25899 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25900 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25901 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25902 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25903 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25904 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25905 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25906 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25907 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25908 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25909 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25910 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25911 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25912 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25913 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25914 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25915 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25916 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25917 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25918 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25919 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25920 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25921 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25922 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25923 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25924 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25925 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25926 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25927 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25928 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25929 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25930 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25931 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
25932 LD_GCJ='`$ECHO "$LD_GCJ" | $SED "$delay_single_quote_subst"`'
25933 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
25934 reload_flag_GCJ='`$ECHO "$reload_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25935 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25936 reload_cmds_GCJ='`$ECHO "$reload_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25937 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25938 old_archive_cmds_GCJ='`$ECHO "$old_archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25939 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
25940 compiler_GCJ='`$ECHO "$compiler_GCJ" | $SED "$delay_single_quote_subst"`'
25941 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
25942 GCC_GCJ='`$ECHO "$GCC_GCJ" | $SED "$delay_single_quote_subst"`'
25943 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
25944 lt_prog_compiler_no_builtin_flag_GCJ='`$ECHO "$lt_prog_compiler_no_builtin_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25945 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
25946 lt_prog_compiler_wl_GCJ='`$ECHO "$lt_prog_compiler_wl_GCJ" | $SED "$delay_single_quote_subst"`'
25947 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
25948 lt_prog_compiler_pic_GCJ='`$ECHO "$lt_prog_compiler_pic_GCJ" | $SED "$delay_single_quote_subst"`'
25949 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
25950 lt_prog_compiler_static_GCJ='`$ECHO "$lt_prog_compiler_static_GCJ" | $SED "$delay_single_quote_subst"`'
25951 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
25952 lt_cv_prog_compiler_c_o_GCJ='`$ECHO "$lt_cv_prog_compiler_c_o_GCJ" | $SED "$delay_single_quote_subst"`'
25953 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
25954 archive_cmds_need_lc_GCJ='`$ECHO "$archive_cmds_need_lc_GCJ" | $SED "$delay_single_quote_subst"`'
25955 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
25956 enable_shared_with_static_runtimes_GCJ='`$ECHO "$enable_shared_with_static_runtimes_GCJ" | $SED "$delay_single_quote_subst"`'
25957 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25958 export_dynamic_flag_spec_GCJ='`$ECHO "$export_dynamic_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25959 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25960 whole_archive_flag_spec_GCJ='`$ECHO "$whole_archive_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25961 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
25962 compiler_needs_object_GCJ='`$ECHO "$compiler_needs_object_GCJ" | $SED "$delay_single_quote_subst"`'
25963 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25964 old_archive_from_new_cmds_GCJ='`$ECHO "$old_archive_from_new_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25965 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25966 old_archive_from_expsyms_cmds_GCJ='`$ECHO "$old_archive_from_expsyms_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25967 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25968 archive_cmds_GCJ='`$ECHO "$archive_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25969 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25970 archive_expsym_cmds_GCJ='`$ECHO "$archive_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25971 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25972 module_cmds_GCJ='`$ECHO "$module_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25973 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
25974 module_expsym_cmds_GCJ='`$ECHO "$module_expsym_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
25975 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
25976 with_gnu_ld_GCJ='`$ECHO "$with_gnu_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25977 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25978 allow_undefined_flag_GCJ='`$ECHO "$allow_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25979 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
25980 no_undefined_flag_GCJ='`$ECHO "$no_undefined_flag_GCJ" | $SED "$delay_single_quote_subst"`'
25981 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
25982 hardcode_libdir_flag_spec_GCJ='`$ECHO "$hardcode_libdir_flag_spec_GCJ" | $SED "$delay_single_quote_subst"`'
25983 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
25984 hardcode_libdir_flag_spec_ld_GCJ='`$ECHO "$hardcode_libdir_flag_spec_ld_GCJ" | $SED "$delay_single_quote_subst"`'
25985 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
25986 hardcode_libdir_separator_GCJ='`$ECHO "$hardcode_libdir_separator_GCJ" | $SED "$delay_single_quote_subst"`'
25987 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
25988 hardcode_direct_GCJ='`$ECHO "$hardcode_direct_GCJ" | $SED "$delay_single_quote_subst"`'
25989 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
25990 hardcode_direct_absolute_GCJ='`$ECHO "$hardcode_direct_absolute_GCJ" | $SED "$delay_single_quote_subst"`'
25991 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
25992 hardcode_minus_L_GCJ='`$ECHO "$hardcode_minus_L_GCJ" | $SED "$delay_single_quote_subst"`'
25993 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
25994 hardcode_shlibpath_var_GCJ='`$ECHO "$hardcode_shlibpath_var_GCJ" | $SED "$delay_single_quote_subst"`'
25995 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
25996 hardcode_automatic_GCJ='`$ECHO "$hardcode_automatic_GCJ" | $SED "$delay_single_quote_subst"`'
25997 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
25998 inherit_rpath_GCJ='`$ECHO "$inherit_rpath_GCJ" | $SED "$delay_single_quote_subst"`'
25999 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26000 link_all_deplibs_GCJ='`$ECHO "$link_all_deplibs_GCJ" | $SED "$delay_single_quote_subst"`'
26001 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
26002 fix_srcfile_path_GCJ='`$ECHO "$fix_srcfile_path_GCJ" | $SED "$delay_single_quote_subst"`'
26003 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26004 always_export_symbols_GCJ='`$ECHO "$always_export_symbols_GCJ" | $SED "$delay_single_quote_subst"`'
26005 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26006 export_symbols_cmds_GCJ='`$ECHO "$export_symbols_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
26007 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26008 exclude_expsyms_GCJ='`$ECHO "$exclude_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
26009 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26010 include_expsyms_GCJ='`$ECHO "$include_expsyms_GCJ" | $SED "$delay_single_quote_subst"`'
26011 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26012 prelink_cmds_GCJ='`$ECHO "$prelink_cmds_GCJ" | $SED "$delay_single_quote_subst"`'
26013 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26014 file_list_spec_GCJ='`$ECHO "$file_list_spec_GCJ" | $SED "$delay_single_quote_subst"`'
26015 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26016 hardcode_action_GCJ='`$ECHO "$hardcode_action_GCJ" | $SED "$delay_single_quote_subst"`'
26017 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26018 compiler_lib_search_dirs_GCJ='`$ECHO "$compiler_lib_search_dirs_GCJ" | $SED "$delay_single_quote_subst"`'
26019 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26020 predep_objects_GCJ='`$ECHO "$predep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
26021 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26022 postdep_objects_GCJ='`$ECHO "$postdep_objects_GCJ" | $SED "$delay_single_quote_subst"`'
26023 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26024 predeps_GCJ='`$ECHO "$predeps_GCJ" | $SED "$delay_single_quote_subst"`'
26025 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26026 postdeps_GCJ='`$ECHO "$postdeps_GCJ" | $SED "$delay_single_quote_subst"`'
26027 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26028 compiler_lib_search_path_GCJ='`$ECHO "$compiler_lib_search_path_GCJ" | $SED "$delay_single_quote_subst"`'
26031 LTCFLAGS='$LTCFLAGS'
26032 compiler='$compiler_DEFAULT'
26034 # A function that is used when there is no print builtin or printf.
26035 func_fallback_echo ()
26037 eval 'cat <<_LTECHO_EOF
26042 # Quote evaled strings.
26056 deplibs_check_method \
26065 lt_cv_sys_global_symbol_pipe \
26066 lt_cv_sys_global_symbol_to_cdecl \
26067 lt_cv_sys_global_symbol_to_c_name_address \
26068 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26069 lt_prog_compiler_no_builtin_flag \
26070 lt_prog_compiler_wl \
26071 lt_prog_compiler_pic \
26072 lt_prog_compiler_static \
26073 lt_cv_prog_compiler_c_o \
26081 export_dynamic_flag_spec \
26082 whole_archive_flag_spec \
26083 compiler_needs_object \
26085 allow_undefined_flag \
26086 no_undefined_flag \
26087 hardcode_libdir_flag_spec \
26088 hardcode_libdir_flag_spec_ld \
26089 hardcode_libdir_separator \
26094 variables_saved_for_relink \
26096 library_names_spec \
26098 install_override_mode \
26102 compiler_lib_search_dirs \
26107 compiler_lib_search_path \
26114 lt_prog_compiler_no_builtin_flag_CXX \
26115 lt_prog_compiler_no_builtin_flag_GCJ \
26116 lt_prog_compiler_wl_CXX \
26117 lt_prog_compiler_wl_GCJ \
26118 lt_prog_compiler_pic_CXX \
26119 lt_prog_compiler_pic_GCJ \
26120 lt_prog_compiler_static_CXX \
26121 lt_prog_compiler_static_GCJ \
26122 lt_cv_prog_compiler_c_o_CXX \
26123 lt_cv_prog_compiler_c_o_GCJ \
26124 export_dynamic_flag_spec_CXX \
26125 export_dynamic_flag_spec_GCJ \
26126 whole_archive_flag_spec_CXX \
26127 whole_archive_flag_spec_GCJ \
26128 compiler_needs_object_CXX \
26129 compiler_needs_object_GCJ \
26132 allow_undefined_flag_CXX \
26133 allow_undefined_flag_GCJ \
26134 no_undefined_flag_CXX \
26135 no_undefined_flag_GCJ \
26136 hardcode_libdir_flag_spec_CXX \
26137 hardcode_libdir_flag_spec_GCJ \
26138 hardcode_libdir_flag_spec_ld_CXX \
26139 hardcode_libdir_flag_spec_ld_GCJ \
26140 hardcode_libdir_separator_CXX \
26141 hardcode_libdir_separator_GCJ \
26142 fix_srcfile_path_CXX \
26143 fix_srcfile_path_GCJ \
26144 exclude_expsyms_CXX \
26145 exclude_expsyms_GCJ \
26146 include_expsyms_CXX \
26147 include_expsyms_GCJ \
26148 file_list_spec_CXX \
26149 file_list_spec_GCJ \
26150 compiler_lib_search_dirs_CXX \
26151 compiler_lib_search_dirs_GCJ \
26152 predep_objects_CXX \
26153 predep_objects_GCJ \
26154 postdep_objects_CXX \
26155 postdep_objects_GCJ \
26160 compiler_lib_search_path_CXX \
26161 compiler_lib_search_path_GCJ; do
26162 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26163 *[\\\\\\\`\\"\\\$]*)
26164 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26167 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26172 # Double-quote double-evaled strings.
26173 for var in reload_cmds \
26174 old_postinstall_cmds \
26175 old_postuninstall_cmds \
26177 extract_expsyms_cmds \
26178 old_archive_from_new_cmds \
26179 old_archive_from_expsyms_cmds \
26181 archive_expsym_cmds \
26183 module_expsym_cmds \
26184 export_symbols_cmds \
26187 postuninstall_cmds \
26189 sys_lib_search_path_spec \
26190 sys_lib_dlsearch_path_spec \
26193 old_archive_cmds_CXX \
26194 old_archive_cmds_GCJ \
26195 old_archive_from_new_cmds_CXX \
26196 old_archive_from_new_cmds_GCJ \
26197 old_archive_from_expsyms_cmds_CXX \
26198 old_archive_from_expsyms_cmds_GCJ \
26201 archive_expsym_cmds_CXX \
26202 archive_expsym_cmds_GCJ \
26205 module_expsym_cmds_CXX \
26206 module_expsym_cmds_GCJ \
26207 export_symbols_cmds_CXX \
26208 export_symbols_cmds_GCJ \
26210 prelink_cmds_GCJ; do
26211 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26212 *[\\\\\\\`\\"\\\$]*)
26213 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26216 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26221 ac_aux_dir='$ac_aux_dir'
26222 xsi_shell='$xsi_shell'
26223 lt_shell_append='$lt_shell_append'
26225 # See if we are running on zsh, and set the options which allow our
26226 # commands through without removal of \ escapes INIT.
26227 if test -n "\${ZSH_VERSION+set}" ; then
26228 setopt NO_GLOB_SUBST
26234 TIMESTAMP='$TIMESTAMP'
26247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26249 # Handling of arguments.
26250 for ac_config_target
in $ac_config_targets
26252 case $ac_config_target in
26253 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
26254 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26255 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
26256 "gcj/libgcj-config.h") CONFIG_HEADERS
="$CONFIG_HEADERS gcj/libgcj-config.h" ;;
26257 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
26258 "include/platform.h") CONFIG_LINKS
="$CONFIG_LINKS include/platform.h:include/$PLATFORMH" ;;
26259 "java/io/natFile.cc") CONFIG_LINKS
="$CONFIG_LINKS java/io/natFile.cc:java/io/natFile${FILE-${PLATFORM}}.cc" ;;
26260 "java/lang/natConcreteProcess.cc") CONFIG_LINKS
="$CONFIG_LINKS java/lang/natConcreteProcess.cc:java/lang/nat${PLATFORM}Process.cc" ;;
26261 "java/net/natVMInetAddress.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMInetAddress.cc:java/net/natVMInetAddress${PLATFORMNET}.cc" ;;
26262 "java/net/natVMNetworkInterface.cc") CONFIG_LINKS
="$CONFIG_LINKS java/net/natVMNetworkInterface.cc:java/net/natVMNetworkInterface${PLATFORMNET}.cc" ;;
26263 "gnu/java/net/natPlainSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainSocketImpl.cc:gnu/java/net/natPlainSocketImpl${PLATFORMNET}.cc" ;;
26264 "gnu/java/net/natPlainDatagramSocketImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/net/natPlainDatagramSocketImpl.cc:gnu/java/net/natPlainDatagramSocketImpl${PLATFORMNET}.cc" ;;
26265 "gnu/java/nio/natVMPipe.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMPipe.cc:gnu/java/nio/natVMPipe${PLATFORM}.cc" ;;
26266 "gnu/java/nio/natVMSelector.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/natVMSelector.cc:gnu/java/nio/natVMSelector${PLATFORM}.cc" ;;
26267 "gnu/java/nio/channels/natFileChannelImpl.cc") CONFIG_LINKS
="$CONFIG_LINKS gnu/java/nio/channels/natFileChannelImpl.cc:gnu/java/nio/channels/natFileChannel${FILE-${PLATFORM}}.cc" ;;
26268 "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" ;;
26269 "include/java-gc.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-gc.h:include/$GCHDR" ;;
26270 "include/java-threads.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-threads.h:include/$THREADH" ;;
26271 "sysdep/locks.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/locks.h:sysdep/$sysdeps_dir/locks.h" ;;
26272 "sysdep/backtrace.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/backtrace.h:$fallback_backtrace_h" ;;
26273 "sysdep/descriptor.h") CONFIG_LINKS
="$CONFIG_LINKS sysdep/descriptor.h:$descriptor_h" ;;
26274 "include/java-signal.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal.h:$SIGNAL_HANDLER" ;;
26275 "include/java-signal-aux.h") CONFIG_LINKS
="$CONFIG_LINKS include/java-signal-aux.h:$SIGNAL_HANDLER_AUX" ;;
26276 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26277 "libgcj.pc") CONFIG_FILES
="$CONFIG_FILES libgcj.pc" ;;
26278 "libgcj.spec") CONFIG_FILES
="$CONFIG_FILES libgcj.spec" ;;
26279 "libgcj-test.spec") CONFIG_FILES
="$CONFIG_FILES libgcj-test.spec" ;;
26280 "gcj/Makefile") CONFIG_FILES
="$CONFIG_FILES gcj/Makefile" ;;
26281 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
26282 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
26283 "contrib/aotcompile.py") CONFIG_FILES
="$CONFIG_FILES contrib/aotcompile.py" ;;
26284 "contrib/aot-compile") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile" ;;
26285 "contrib/aot-compile-rpm") CONFIG_FILES
="$CONFIG_FILES contrib/aot-compile-rpm" ;;
26286 "contrib/generate-cacerts.pl") CONFIG_FILES
="$CONFIG_FILES contrib/generate-cacerts.pl" ;;
26287 "contrib/rebuild-gcj-db") CONFIG_FILES
="$CONFIG_FILES contrib/rebuild-gcj-db" ;;
26288 "scripts/jar") CONFIG_FILES
="$CONFIG_FILES scripts/jar" ;;
26290 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26295 # If the user did not use the arguments to specify the items to instantiate,
26296 # then the envvar interface is used. Set only those that are not.
26297 # We use the long form for the default assignment because of an extremely
26298 # bizarre bug on SunOS 4.1.3.
26299 if $ac_need_defaults; then
26300 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26301 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26302 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
26303 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26306 # Have a temporary directory for convenience. Make it in the build tree
26307 # simply because there is no reason against having it here, and in addition,
26308 # creating and moving files from /tmp can sometimes cause problems.
26309 # Hook for its removal unless debugging.
26310 # Note that there is a small window in which the directory will not be cleaned:
26311 # after its creation but before its name has been assigned to `$tmp'.
26315 trap 'exit_status=$?
26316 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26318 trap 'as_fn_exit 1' 1 2 13 15
26320 # Create a (secure) tmp directory for tmp files.
26323 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26324 test -n "$tmp" && test -d "$tmp"
26327 tmp
=.
/conf$$
-$RANDOM
26328 (umask 077 && mkdir
"$tmp")
26329 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
26331 # Set up the scripts for CONFIG_FILES section.
26332 # No need to generate them if there are no CONFIG_FILES.
26333 # This happens for instance with `./config.status config.h'.
26334 if test -n "$CONFIG_FILES"; then
26337 ac_cr
=`echo X | tr X '\015'`
26338 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26339 # But we know of no other shell where ac_cr would be empty at this
26340 # point, so we can use a bashism as a fallback.
26341 if test "x$ac_cr" = x
; then
26342 eval ac_cr
=\$
\'\\r
\'
26344 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26345 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26348 ac_cs_awk_cr
=$ac_cr
26351 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26356 echo "cat >conf$$subs.awk <<_ACEOF" &&
26357 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26359 } >conf$$subs.sh ||
26360 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26361 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26363 for ac_last_try in false false false false false :; do
26364 . ./conf$$subs.sh ||
26365 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26367 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26368 if test $ac_delim_n = $ac_delim_num; then
26370 elif $ac_last_try; then
26371 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
26373 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26376 rm -f conf$$subs.sh
26378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26379 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26383 s/^/S["/; s
/!.
*/"]=/
26393 s/\(.\{148\}\).*/\1/
26395 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26400 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26407 s/\(.\{148\}\).*/\1/
26409 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26413 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26418 ' <conf$$subs.awk | sed '
26423 ' >>$CONFIG_STATUS || ac_write_fail=1
26424 rm -f conf$$subs.awk
26425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26427 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26428 for (key in S) S_is_set[key] = 1
26434 nfields = split(line, field, "@
")
26436 len = length(field[1])
26437 for (i = 2; i < nfields; i++) {
26439 keylen = length(key)
26440 if (S_is_set[key]) {
26442 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26443 len += length(value) + length(field[++i])
26454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26455 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26456 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26459 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26460 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
26463 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26464 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26465 # trailing colons and then remove the whole line if VPATH becomes empty
26466 # (actually we leave an empty line to preserve line numbers).
26467 if test "x
$srcdir" = x.; then
26468 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26469 s/:*\$(srcdir):*/:/
26470 s/:*\${srcdir}:*/:/
26472 s/^\([^=]*=[ ]*\):*/\1/
26478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26479 fi # test -n "$CONFIG_FILES"
26481 # Set up the scripts for CONFIG_HEADERS section.
26482 # No need to generate them if there are no CONFIG_HEADERS.
26483 # This happens for instance with `./config.status Makefile'.
26484 if test -n "$CONFIG_HEADERS"; then
26485 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26489 # Transform confdefs.h into an awk script `defines.awk', embedded as
26490 # here-document in config.status, that substitutes the proper values into
26491 # config.h.in to produce config.h.
26493 # Create a delimiter string that does not exist in confdefs.h, to ease
26494 # handling of long lines.
26496 for ac_last_try in false false :; do
26497 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26498 if test -z "$ac_t"; then
26500 elif $ac_last_try; then
26501 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
26503 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26507 # For the awk script, D is an array of macro values keyed by name,
26508 # likewise P contains macro parameters if any. Preserve backslash
26509 # newline sequences.
26511 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26513 s/.\{148\}/&'"$ac_delim"'/g
26516 s/^[ ]*#[ ]*define[ ][ ]*/ /
26523 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26525 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26529 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26530 D["\
1"]=" \
3\\\\\\n
"\\/p
26532 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26537 s/.\{148\}/&'"$ac_delim"'/g
26542 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26545 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26547 ' <confdefs.h | sed '
26548 s/'"$ac_delim"'/"\\\
26549 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26552 for (key in D) D_is_set[key] = 1
26555 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26557 split(line, arg, " ")
26558 if (arg[1] == "#") {
26562 defundef
= substr
(arg
[1], 2)
26565 split(mac1
, mac2
, "(") #)
26567 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26568 if (D_is_set
[macro
]) {
26569 # Preserve the white space surrounding the "#".
26570 print prefix
"define", macro P
[macro
] D
[macro
]
26573 # Replace #undef with comments. This is necessary, for example,
26574 # in the case of _POSIX_SOURCE, which is predefined and required
26575 # on some systems where configure will not decide to define it.
26576 if (defundef
== "undef") {
26577 print
"/*", prefix defundef
, macro
, "*/"
26585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26586 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
26587 fi # test -n "$CONFIG_HEADERS"
26590 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
26595 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26597 case $ac_mode$ac_tag in
26599 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
26600 :[FH
]-) ac_tag
=-:-;;
26601 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
26618 -) ac_f
="$tmp/stdin";;
26619 *) # Look for the file first in the build tree, then in the source tree
26620 # (if the path is not absolute). The absolute path cannot be DOS-style,
26621 # because $ac_f cannot contain `:'.
26625 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
26627 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
26629 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26630 as_fn_append ac_file_inputs
" '$ac_f'"
26633 # Let's still pretend it is `configure' which instantiates (i.e., don't
26634 # use $as_me), people would be surprised to read:
26635 # /* config.h. Generated by config.status. */
26636 configure_input
='Generated from '`
26637 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26639 if test x
"$ac_file" != x-
; then
26640 configure_input
="$ac_file. $configure_input"
26641 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26642 $as_echo "$as_me: creating $ac_file" >&6;}
26644 # Neutralize special characters interpreted by sed in replacement strings.
26645 case $configure_input in #(
26646 *\
&* |
*\|
* |
*\\* )
26647 ac_sed_conf_input
=`$as_echo "$configure_input" |
26648 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26649 *) ac_sed_conf_input
=$configure_input;;
26653 *:-:* |
*:-) cat >"$tmp/stdin" \
26654 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
26659 ac_dir
=`$as_dirname -- "$ac_file" ||
26660 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26661 X"$ac_file" : 'X\(//\)[^/]' \| \
26662 X"$ac_file" : 'X\(//\)$' \| \
26663 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26664 $as_echo X"$ac_file" |
26665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26669 /^X\(\/\/\)[^/].*/{
26682 as_dir
="$ac_dir"; as_fn_mkdir_p
26686 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26688 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26689 # A ".." for each directory in $ac_dir_suffix.
26690 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26691 case $ac_top_builddir_sub in
26692 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
26693 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
26696 ac_abs_top_builddir
=$ac_pwd
26697 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
26698 # for backward compatibility:
26699 ac_top_builddir
=$ac_top_build_prefix
26702 .
) # We are building in place.
26704 ac_top_srcdir
=$ac_top_builddir_sub
26705 ac_abs_top_srcdir
=$ac_pwd ;;
26706 [\\/]* | ?
:[\\/]* ) # Absolute name.
26707 ac_srcdir
=$srcdir$ac_dir_suffix;
26708 ac_top_srcdir
=$srcdir
26709 ac_abs_top_srcdir
=$srcdir ;;
26710 *) # Relative name.
26711 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
26712 ac_top_srcdir
=$ac_top_build_prefix$srcdir
26713 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
26715 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
26725 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
26726 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
26728 ac_MKDIR_P
=$MKDIR_P
26730 [\\/$
]* | ?
:[\\/]* ) ;;
26731 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
26735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26736 # If the template does not know about datarootdir, expand it.
26737 # FIXME: This hack should be removed a few years after 2.60.
26738 ac_datarootdir_hack
=; ac_datarootdir_seen
=
26749 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26750 *datarootdir
*) ac_datarootdir_seen
=yes;;
26751 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
26752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26753 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26756 ac_datarootdir_hack='
26757 s&@datadir@&$datadir&g
26758 s&@docdir@&$docdir&g
26759 s&@infodir@&$infodir&g
26760 s&@localedir@&$localedir&g
26761 s&@mandir@&$mandir&g
26762 s&\\\${datarootdir}&$datarootdir&g' ;;
26766 # Neutralize VPATH when `$srcdir' = `.'.
26767 # Shell code in configure.ac might set extrasub.
26768 # FIXME: do we really want to maintain this feature?
26769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26770 ac_sed_extra="$ac_vpsub
26773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26775 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
26776 s|@configure_input@|
$ac_sed_conf_input|
;t t
26777 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
26778 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
26779 s
&@srcdir@
&$ac_srcdir&;t t
26780 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
26781 s
&@top_srcdir@
&$ac_top_srcdir&;t t
26782 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
26783 s
&@builddir@
&$ac_builddir&;t t
26784 s
&@abs_builddir@
&$ac_abs_builddir&;t t
26785 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
26786 s
&@INSTALL@
&$ac_INSTALL&;t t
26787 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
26788 $ac_datarootdir_hack
26790 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
26791 || as_fn_error "could not create
$ac_file" "$LINENO" 5
26793 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26794 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
26795 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
26796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
26797 which seems to be undefined. Please make sure it is defined." >&5
26798 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
26799 which seems to be undefined. Please make sure it is defined." >&2;}
26803 -) cat "$tmp/out" && rm -f "$tmp/out";;
26804 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26806 || as_fn_error "could not create $ac_file" "$LINENO" 5
26812 if test x"$ac_file" != x-; then
26814 $as_echo "/* $configure_input */" \
26815 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26816 } >"$tmp/config.h" \
26817 || as_fn_error "could not create $ac_file" "$LINENO" 5
26818 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26819 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26820 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26823 mv "$tmp/config.h" "$ac_file" \
26824 || as_fn_error "could not create $ac_file" "$LINENO" 5
26827 $as_echo "/* $configure_input */" \
26828 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26829 || as_fn_error "could not create -" "$LINENO" 5
26831 # Compute "$ac_file"'s index
in $config_headers.
26834 for _am_header
in $config_headers :; do
26835 case $_am_header in
26836 $_am_arg |
$_am_arg:* )
26839 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
26842 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26843 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26844 X"$_am_arg" : 'X\(//\)[^/]' \| \
26845 X"$_am_arg" : 'X\(//\)$' \| \
26846 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26847 $as_echo X"$_am_arg" |
26848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26852 /^X\(\/\/\)[^/].*/{
26864 s/.*/./; q'`/stamp-h
$_am_stamp_count
26871 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
26874 # Prefer the file from the source tree if names are identical.
26875 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
26876 ac_source
=$srcdir/$ac_source
26879 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
26880 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
26882 if test ! -r "$ac_source"; then
26883 as_fn_error
"$ac_source: file not found" "$LINENO" 5
26887 # Try a relative symlink, then a hard link, then a copy.
26889 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
26890 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
26892 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
26893 ln "$ac_source" "$ac_file" 2>/dev
/null ||
26894 cp -p "$ac_source" "$ac_file" ||
26895 as_fn_error
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
26898 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26899 $as_echo "$as_me: executing $ac_file commands" >&6;}
26904 case $ac_file$ac_mode in
26906 # Only add multilib support code if we just rebuilt the top-level
26908 case " $CONFIG_FILES " in
26910 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
26913 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
26914 # Autoconf 2.62 quotes --file arguments for eval, but not when files
26915 # are listed without --file. Let's play safe and only enable the eval
26916 # if we detect the quoting.
26917 case $CONFIG_FILES in
26918 *\'*) eval set x
"$CONFIG_FILES" ;;
26919 *) set x
$CONFIG_FILES ;;
26924 # Strip MF so we end up with the name of the file.
26925 mf
=`echo "$mf" | sed -e 's/:.*$//'`
26926 # Check whether this is an Automake generated Makefile or not.
26927 # We used to match only the files named `Makefile.in', but
26928 # some people rename them; so instead we look at the file content.
26929 # Grep'ing the first line is not enough: some people post-process
26930 # each Makefile.in and add a new line on top of each file to say so.
26931 # Grep'ing the whole file is not good either: AIX grep has a line
26932 # limit of 2048, but all sed's we know have understand at least 4000.
26933 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
26934 dirpart
=`$as_dirname -- "$mf" ||
26935 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26936 X"$mf" : 'X\(//\)[^/]' \| \
26937 X"$mf" : 'X\(//\)$' \| \
26938 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26940 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26944 /^X\(\/\/\)[^/].*/{
26960 # Extract the definition of DEPDIR, am__include, and am__quote
26961 # from the Makefile without running `make'.
26962 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26963 test -z "$DEPDIR" && continue
26964 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26965 test -z "am__include" && continue
26966 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26967 # When using ansi2knr, U may be empty or an underscore; expand it
26968 U
=`sed -n 's/^U = //p' < "$mf"`
26969 # Find all dependency output files, they are included files with
26970 # $(DEPDIR) in their names. We invoke sed twice because it is the
26971 # simplest approach to changing $(DEPDIR) to its actual value in the
26973 for file in `sed -n "
26974 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26975 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26976 # Make sure the directory exists.
26977 test -f "$dirpart/$file" && continue
26978 fdir
=`$as_dirname -- "$file" ||
26979 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26980 X"$file" : 'X\(//\)[^/]' \| \
26981 X"$file" : 'X\(//\)$' \| \
26982 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26983 $as_echo X"$file" |
26984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26988 /^X\(\/\/\)[^/].*/{
27001 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
27002 # echo "creating $dirpart/$file"
27003 echo '# dummy' > "$dirpart/$file"
27010 # See if we are running on zsh, and set the options which allow our
27011 # commands through without removal of \ escapes.
27012 if test -n "${ZSH_VERSION+set}" ; then
27013 setopt NO_GLOB_SUBST
27016 cfgfile
="${ofile}T"
27017 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27020 cat <<_LT_EOF >> "$cfgfile"
27023 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27024 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27025 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27026 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27028 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27029 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27030 # Written by Gordon Matzigkeit, 1996
27032 # This file is part of GNU Libtool.
27034 # GNU Libtool is free software; you can redistribute it and/or
27035 # modify it under the terms of the GNU General Public License as
27036 # published by the Free Software Foundation; either version 2 of
27037 # the License, or (at your option) any later version.
27039 # As a special exception to the GNU General Public License,
27040 # if you distribute this file as part of a program or library that
27041 # is built using GNU Libtool, you may include this file under the
27042 # same distribution terms that you use for the rest of that program.
27044 # GNU Libtool is distributed in the hope that it will be useful,
27045 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27046 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27047 # GNU General Public License for more details.
27049 # You should have received a copy of the GNU General Public License
27050 # along with GNU Libtool; see the file COPYING. If not, a copy
27051 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27052 # obtained by writing to the Free Software Foundation, Inc.,
27053 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27056 # The names of the tagged configurations supported by this script.
27057 available_tags="CXX GCJ "
27059 # ### BEGIN LIBTOOL CONFIG
27061 # Which release of libtool.m4 was used?
27062 macro_version=$macro_version
27063 macro_revision=$macro_revision
27065 # Whether or not to build shared libraries.
27066 build_libtool_libs=$enable_shared
27068 # Whether or not to build static libraries.
27069 build_old_libs=$enable_static
27071 # What type of objects to build.
27074 # Whether or not to optimize for fast installation.
27075 fast_install=$enable_fast_install
27077 # Shell to use when invoking shell scripts.
27080 # An echo program that protects backslashes.
27084 host_alias=$host_alias
27088 # The build system.
27089 build_alias=$build_alias
27093 # A sed program that does not truncate output.
27096 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27097 Xsed="\$SED -e 1s/^X//"
27099 # A grep program that handles long lines.
27105 # A literal string matcher.
27108 # A BSD- or MS-compatible name lister.
27111 # Whether we need soft or hard links.
27114 # What is the maximum length of a command?
27115 max_cmd_len=$max_cmd_len
27117 # Object file suffix (normally "o").
27120 # Executable file suffix (normally "").
27123 # whether the shell understands "unset".
27126 # turn spaces into newlines.
27129 # turn newlines into spaces.
27132 # An object symbol dumper.
27133 OBJDUMP=$lt_OBJDUMP
27135 # Method to check whether dependent libraries are shared objects.
27136 deplibs_check_method=$lt_deplibs_check_method
27138 # Command to use when deplibs_check_method == "file_magic".
27139 file_magic_cmd=$lt_file_magic_cmd
27143 AR_FLAGS=$lt_AR_FLAGS
27145 # A symbol stripping program.
27148 # Commands used to install an old-style archive.
27150 old_postinstall_cmds=$lt_old_postinstall_cmds
27151 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27153 # Whether to use a lock for old archive extraction.
27154 lock_old_archive_extraction=$lock_old_archive_extraction
27159 # LTCC compiler flags.
27160 LTCFLAGS=$lt_CFLAGS
27162 # Take the output of nm and produce a listing of raw symbols and C names.
27163 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27165 # Transform the output of nm in a proper C declaration.
27166 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27168 # Transform the output of nm in a C name address pair.
27169 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27171 # Transform the output of nm in a C name address pair when lib prefix is needed.
27172 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27174 # The name of the directory that contains temporary libtool files.
27177 # Used to examine libraries when file_magic_cmd begins with "file".
27178 MAGIC_CMD=$MAGIC_CMD
27180 # Must we lock files when doing compilation?
27181 need_locks=$lt_need_locks
27183 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27184 DSYMUTIL=$lt_DSYMUTIL
27186 # Tool to change global to local symbols on Mac OS X.
27189 # Tool to manipulate fat objects and archives on Mac OS X.
27192 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27195 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27196 OTOOL64=$lt_OTOOL64
27198 # Old archive suffix (normally "a").
27201 # Shared library suffix (normally ".so").
27202 shrext_cmds=$lt_shrext_cmds
27204 # The commands to extract the exported symbol list from a shared archive.
27205 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27207 # Variables whose values should be saved in libtool wrapper scripts and
27208 # restored at link time.
27209 variables_saved_for_relink=$lt_variables_saved_for_relink
27211 # Do we need the "lib" prefix for modules?
27212 need_lib_prefix=$need_lib_prefix
27214 # Do we need a version for libraries?
27215 need_version=$need_version
27217 # Library versioning type.
27218 version_type=$version_type
27220 # Shared library runtime path variable.
27221 runpath_var=$runpath_var
27223 # Shared library path variable.
27224 shlibpath_var=$shlibpath_var
27226 # Is shlibpath searched before the hard-coded library search path?
27227 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27229 # Format of library name prefix.
27230 libname_spec=$lt_libname_spec
27232 # List of archive names. First name is the real one, the rest are links.
27233 # The last name is the one that the linker finds with -lNAME
27234 library_names_spec=$lt_library_names_spec
27236 # The coded name of the library, if different from the real name.
27237 soname_spec=$lt_soname_spec
27239 # Permission mode override for installation of shared libraries.
27240 install_override_mode=$lt_install_override_mode
27242 # Command to use after installation of a shared archive.
27243 postinstall_cmds=$lt_postinstall_cmds
27245 # Command to use after uninstallation of a shared archive.
27246 postuninstall_cmds=$lt_postuninstall_cmds
27248 # Commands used to finish a libtool library installation in a directory.
27249 finish_cmds=$lt_finish_cmds
27251 # As "finish_cmds", except a single script fragment to be evaled but
27253 finish_eval=$lt_finish_eval
27255 # Whether we should hardcode library paths into libraries.
27256 hardcode_into_libs=$hardcode_into_libs
27258 # Compile-time system search path for libraries.
27259 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27261 # Run-time system search path for libraries.
27262 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27264 # Whether dlopen is supported.
27265 dlopen_support=$enable_dlopen
27267 # Whether dlopen of programs is supported.
27268 dlopen_self=$enable_dlopen_self
27270 # Whether dlopen of statically linked programs is supported.
27271 dlopen_self_static=$enable_dlopen_self_static
27273 # Commands to strip libraries.
27274 old_striplib=$lt_old_striplib
27275 striplib=$lt_striplib
27278 # The linker used to build libraries.
27281 # How to create reloadable object files.
27282 reload_flag=$lt_reload_flag
27283 reload_cmds=$lt_reload_cmds
27285 # Commands used to build an old-style archive.
27286 old_archive_cmds=$lt_old_archive_cmds
27288 # A language specific compiler.
27291 # Is the compiler the GNU compiler?
27294 # Compiler flag to turn off builtin functions.
27295 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27297 # How to pass a linker flag through the compiler.
27298 wl=$lt_lt_prog_compiler_wl
27300 # Additional compiler flags for building library objects.
27301 pic_flag=$lt_lt_prog_compiler_pic
27303 # Compiler flag to prevent dynamic linking.
27304 link_static_flag=$lt_lt_prog_compiler_static
27306 # Does compiler simultaneously support -c and -o options?
27307 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27309 # Whether or not to add -lc for building shared libraries.
27310 build_libtool_need_lc=$archive_cmds_need_lc
27312 # Whether or not to disallow shared libs when runtime libs are static.
27313 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27315 # Compiler flag to allow reflexive dlopens.
27316 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27318 # Compiler flag to generate shared objects directly from archives.
27319 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27321 # Whether the compiler copes with passing no objects directly.
27322 compiler_needs_object=$lt_compiler_needs_object
27324 # Create an old-style archive from a shared archive.
27325 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27327 # Create a temporary old-style archive to link instead of a shared archive.
27328 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27330 # Commands used to build a shared archive.
27331 archive_cmds=$lt_archive_cmds
27332 archive_expsym_cmds=$lt_archive_expsym_cmds
27334 # Commands used to build a loadable module if different from building
27335 # a shared archive.
27336 module_cmds=$lt_module_cmds
27337 module_expsym_cmds=$lt_module_expsym_cmds
27339 # Whether we are building with GNU ld or not.
27340 with_gnu_ld=$lt_with_gnu_ld
27342 # Flag that allows shared libraries with undefined symbols to be built.
27343 allow_undefined_flag=$lt_allow_undefined_flag
27345 # Flag that enforces no undefined symbols.
27346 no_undefined_flag=$lt_no_undefined_flag
27348 # Flag to hardcode \$libdir into a binary during linking.
27349 # This must work even if \$libdir does not exist
27350 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27352 # If ld is used when linking, flag to hardcode \$libdir into a binary
27353 # during linking. This must work even if \$libdir does not exist.
27354 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27356 # Whether we need a single "-rpath" flag with a separated argument.
27357 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27359 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27360 # DIR into the resulting binary.
27361 hardcode_direct=$hardcode_direct
27363 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27364 # DIR into the resulting binary and the resulting library dependency is
27365 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27366 # library is relocated.
27367 hardcode_direct_absolute=$hardcode_direct_absolute
27369 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27370 # into the resulting binary.
27371 hardcode_minus_L=$hardcode_minus_L
27373 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27374 # into the resulting binary.
27375 hardcode_shlibpath_var=$hardcode_shlibpath_var
27377 # Set to "yes" if building a shared library automatically hardcodes DIR
27378 # into the library and all subsequent libraries and executables linked
27380 hardcode_automatic=$hardcode_automatic
27382 # Set to yes if linker adds runtime paths of dependent libraries
27383 # to runtime path list.
27384 inherit_rpath=$inherit_rpath
27386 # Whether libtool must link a program against all its dependency libraries.
27387 link_all_deplibs=$link_all_deplibs
27389 # Fix the shell variable \$srcfile for the compiler.
27390 fix_srcfile_path=$lt_fix_srcfile_path
27392 # Set to "yes" if exported symbols are required.
27393 always_export_symbols=$always_export_symbols
27395 # The commands to list exported symbols.
27396 export_symbols_cmds=$lt_export_symbols_cmds
27398 # Symbols that should not be listed in the preloaded symbols.
27399 exclude_expsyms=$lt_exclude_expsyms
27401 # Symbols that must always be exported.
27402 include_expsyms=$lt_include_expsyms
27404 # Commands necessary for linking programs (against libraries) with templates.
27405 prelink_cmds=$lt_prelink_cmds
27407 # Specify filename containing input files.
27408 file_list_spec=$lt_file_list_spec
27410 # How to hardcode a shared library path into an executable.
27411 hardcode_action=$hardcode_action
27413 # The directories searched by this compiler when creating a shared library.
27414 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27416 # Dependencies to place before and after the objects being linked to
27417 # create a shared library.
27418 predep_objects=$lt_predep_objects
27419 postdep_objects=$lt_postdep_objects
27420 predeps=$lt_predeps
27421 postdeps=$lt_postdeps
27423 # The library search path used internally by the compiler when linking
27424 # a shared library.
27425 compiler_lib_search_path=$lt_compiler_lib_search_path
27427 # ### END LIBTOOL CONFIG
27433 cat <<\_LT_EOF
>> "$cfgfile"
27434 # AIX sometimes has problems with the GCC collect2 program. For some
27435 # reason, if we set the COLLECT_NAMES environment variable, the problems
27436 # vanish in a puff of smoke.
27437 if test "X${COLLECT_NAMES+set}" != Xset
; then
27439 export COLLECT_NAMES
27446 ltmain
="$ac_aux_dir/ltmain.sh"
27449 # We use sed instead of cat because bash on DJGPP gets confused if
27450 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27451 # text mode, it properly converts lines to CR/LF. This bash problem
27452 # is reportedly fixed, but why not run on old versions too?
27453 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27454 ||
(rm -f "$cfgfile"; exit 1)
27458 cat << \_LT_EOF
>> "$cfgfile"
27460 # func_dirname file append nondir_replacement
27461 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27462 # otherwise set result to NONDIR_REPLACEMENT.
27466 */*) func_dirname_result
="${1%/*}${2}" ;;
27467 * ) func_dirname_result
="${3}" ;;
27471 # func_basename file
27474 func_basename_result
="${1##*/}"
27477 # func_dirname_and_basename file append nondir_replacement
27478 # perform func_basename and func_dirname in a single function
27480 # dirname: Compute the dirname of FILE. If nonempty,
27481 # add APPEND to the result, otherwise set result
27482 # to NONDIR_REPLACEMENT.
27483 # value returned in "$func_dirname_result"
27484 # basename: Compute filename of FILE.
27485 # value retuned in "$func_basename_result"
27486 # Implementation must be kept synchronized with func_dirname
27487 # and func_basename. For efficiency, we do not delegate to
27488 # those functions but instead duplicate the functionality here.
27489 func_dirname_and_basename
()
27492 */*) func_dirname_result
="${1%/*}${2}" ;;
27493 * ) func_dirname_result
="${3}" ;;
27495 func_basename_result
="${1##*/}"
27498 # func_stripname prefix suffix name
27499 # strip PREFIX and SUFFIX off of NAME.
27500 # PREFIX and SUFFIX must not contain globbing or regex special
27501 # characters, hashes, percent signs, but SUFFIX may contain a leading
27502 # dot (in which case that matches only a dot).
27505 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27506 # positional parameters, so assign one to ordinary parameter first.
27507 func_stripname_result
=${3}
27508 func_stripname_result
=${func_stripname_result#"${1}"}
27509 func_stripname_result
=${func_stripname_result%"${2}"}
27515 func_opt_split_opt
=${1%%=*}
27516 func_opt_split_arg
=${1#*=}
27523 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
27524 *) func_lo2o_result
=${1} ;;
27528 # func_xform libobj-or-source
27531 func_xform_result
=${1%.*}.lo
27534 # func_arith arithmetic-term...
27537 func_arith_result
=$
(( $
* ))
27541 # STRING may not start with a hyphen.
27544 func_len_result
=${#1}
27549 *) # Bourne compatible functions.
27550 cat << \_LT_EOF
>> "$cfgfile"
27552 # func_dirname file append nondir_replacement
27553 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
27554 # otherwise set result to NONDIR_REPLACEMENT.
27557 # Extract subdirectory from the argument.
27558 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
27559 if test "X$func_dirname_result" = "X${1}"; then
27560 func_dirname_result
="${3}"
27562 func_dirname_result
="$func_dirname_result${2}"
27566 # func_basename file
27569 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
27573 # func_stripname prefix suffix name
27574 # strip PREFIX and SUFFIX off of NAME.
27575 # PREFIX and SUFFIX must not contain globbing or regex special
27576 # characters, hashes, percent signs, but SUFFIX may contain a leading
27577 # dot (in which case that matches only a dot).
27578 # func_strip_suffix prefix name
27582 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27583 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27588 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
27589 my_sed_long_arg
='1s/^-[^=]*=//'
27594 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27595 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27601 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
27604 # func_xform libobj-or-source
27607 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27610 # func_arith arithmetic-term...
27613 func_arith_result
=`expr "$@"`
27617 # STRING may not start with a hyphen.
27620 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27626 case $lt_shell_append in
27628 cat << \_LT_EOF
>> "$cfgfile"
27630 # func_append var value
27631 # Append VALUE to the end of shell variable VAR.
27639 cat << \_LT_EOF
>> "$cfgfile"
27641 # func_append var value
27642 # Append VALUE to the end of shell variable VAR.
27653 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27654 ||
(rm -f "$cfgfile"; exit 1)
27656 mv -f "$cfgfile" "$ofile" ||
27657 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27661 cat <<_LT_EOF >> "$ofile"
27663 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27665 # The linker used to build libraries.
27668 # How to create reloadable object files.
27669 reload_flag=$lt_reload_flag_CXX
27670 reload_cmds=$lt_reload_cmds_CXX
27672 # Commands used to build an old-style archive.
27673 old_archive_cmds=$lt_old_archive_cmds_CXX
27675 # A language specific compiler.
27676 CC=$lt_compiler_CXX
27678 # Is the compiler the GNU compiler?
27681 # Compiler flag to turn off builtin functions.
27682 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27684 # How to pass a linker flag through the compiler.
27685 wl=$lt_lt_prog_compiler_wl_CXX
27687 # Additional compiler flags for building library objects.
27688 pic_flag=$lt_lt_prog_compiler_pic_CXX
27690 # Compiler flag to prevent dynamic linking.
27691 link_static_flag=$lt_lt_prog_compiler_static_CXX
27693 # Does compiler simultaneously support -c and -o options?
27694 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27696 # Whether or not to add -lc for building shared libraries.
27697 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27699 # Whether or not to disallow shared libs when runtime libs are static.
27700 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27702 # Compiler flag to allow reflexive dlopens.
27703 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27705 # Compiler flag to generate shared objects directly from archives.
27706 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27708 # Whether the compiler copes with passing no objects directly.
27709 compiler_needs_object=$lt_compiler_needs_object_CXX
27711 # Create an old-style archive from a shared archive.
27712 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27714 # Create a temporary old-style archive to link instead of a shared archive.
27715 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27717 # Commands used to build a shared archive.
27718 archive_cmds=$lt_archive_cmds_CXX
27719 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27721 # Commands used to build a loadable module if different from building
27722 # a shared archive.
27723 module_cmds=$lt_module_cmds_CXX
27724 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27726 # Whether we are building with GNU ld or not.
27727 with_gnu_ld=$lt_with_gnu_ld_CXX
27729 # Flag that allows shared libraries with undefined symbols to be built.
27730 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27732 # Flag that enforces no undefined symbols.
27733 no_undefined_flag=$lt_no_undefined_flag_CXX
27735 # Flag to hardcode \$libdir into a binary during linking.
27736 # This must work even if \$libdir does not exist
27737 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27739 # If ld is used when linking, flag to hardcode \$libdir into a binary
27740 # during linking. This must work even if \$libdir does not exist.
27741 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
27743 # Whether we need a single "-rpath" flag with a separated argument.
27744 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27746 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27747 # DIR into the resulting binary.
27748 hardcode_direct=$hardcode_direct_CXX
27750 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27751 # DIR into the resulting binary and the resulting library dependency is
27752 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27753 # library is relocated.
27754 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27756 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27757 # into the resulting binary.
27758 hardcode_minus_L=$hardcode_minus_L_CXX
27760 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27761 # into the resulting binary.
27762 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27764 # Set to "yes" if building a shared library automatically hardcodes DIR
27765 # into the library and all subsequent libraries and executables linked
27767 hardcode_automatic=$hardcode_automatic_CXX
27769 # Set to yes if linker adds runtime paths of dependent libraries
27770 # to runtime path list.
27771 inherit_rpath=$inherit_rpath_CXX
27773 # Whether libtool must link a program against all its dependency libraries.
27774 link_all_deplibs=$link_all_deplibs_CXX
27776 # Fix the shell variable \$srcfile for the compiler.
27777 fix_srcfile_path=$lt_fix_srcfile_path_CXX
27779 # Set to "yes" if exported symbols are required.
27780 always_export_symbols=$always_export_symbols_CXX
27782 # The commands to list exported symbols.
27783 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27785 # Symbols that should not be listed in the preloaded symbols.
27786 exclude_expsyms=$lt_exclude_expsyms_CXX
27788 # Symbols that must always be exported.
27789 include_expsyms=$lt_include_expsyms_CXX
27791 # Commands necessary for linking programs (against libraries) with templates.
27792 prelink_cmds=$lt_prelink_cmds_CXX
27794 # Specify filename containing input files.
27795 file_list_spec=$lt_file_list_spec_CXX
27797 # How to hardcode a shared library path into an executable.
27798 hardcode_action=$hardcode_action_CXX
27800 # The directories searched by this compiler when creating a shared library.
27801 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27803 # Dependencies to place before and after the objects being linked to
27804 # create a shared library.
27805 predep_objects=$lt_predep_objects_CXX
27806 postdep_objects=$lt_postdep_objects_CXX
27807 predeps=$lt_predeps_CXX
27808 postdeps=$lt_postdeps_CXX
27810 # The library search path used internally by the compiler when linking
27811 # a shared library.
27812 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27814 # ### END LIBTOOL TAG CONFIG: CXX
27818 cat <<_LT_EOF >> "$ofile"
27820 # ### BEGIN LIBTOOL TAG CONFIG: GCJ
27822 # The linker used to build libraries.
27825 # How to create reloadable object files.
27826 reload_flag=$lt_reload_flag_GCJ
27827 reload_cmds=$lt_reload_cmds_GCJ
27829 # Commands used to build an old-style archive.
27830 old_archive_cmds=$lt_old_archive_cmds_GCJ
27832 # A language specific compiler.
27833 CC=$lt_compiler_GCJ
27835 # Is the compiler the GNU compiler?
27838 # Compiler flag to turn off builtin functions.
27839 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
27841 # How to pass a linker flag through the compiler.
27842 wl=$lt_lt_prog_compiler_wl_GCJ
27844 # Additional compiler flags for building library objects.
27845 pic_flag=$lt_lt_prog_compiler_pic_GCJ
27847 # Compiler flag to prevent dynamic linking.
27848 link_static_flag=$lt_lt_prog_compiler_static_GCJ
27850 # Does compiler simultaneously support -c and -o options?
27851 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
27853 # Whether or not to add -lc for building shared libraries.
27854 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
27856 # Whether or not to disallow shared libs when runtime libs are static.
27857 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
27859 # Compiler flag to allow reflexive dlopens.
27860 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
27862 # Compiler flag to generate shared objects directly from archives.
27863 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
27865 # Whether the compiler copes with passing no objects directly.
27866 compiler_needs_object=$lt_compiler_needs_object_GCJ
27868 # Create an old-style archive from a shared archive.
27869 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
27871 # Create a temporary old-style archive to link instead of a shared archive.
27872 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
27874 # Commands used to build a shared archive.
27875 archive_cmds=$lt_archive_cmds_GCJ
27876 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
27878 # Commands used to build a loadable module if different from building
27879 # a shared archive.
27880 module_cmds=$lt_module_cmds_GCJ
27881 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
27883 # Whether we are building with GNU ld or not.
27884 with_gnu_ld=$lt_with_gnu_ld_GCJ
27886 # Flag that allows shared libraries with undefined symbols to be built.
27887 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
27889 # Flag that enforces no undefined symbols.
27890 no_undefined_flag=$lt_no_undefined_flag_GCJ
27892 # Flag to hardcode \$libdir into a binary during linking.
27893 # This must work even if \$libdir does not exist
27894 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
27896 # If ld is used when linking, flag to hardcode \$libdir into a binary
27897 # during linking. This must work even if \$libdir does not exist.
27898 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
27900 # Whether we need a single "-rpath" flag with a separated argument.
27901 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
27903 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27904 # DIR into the resulting binary.
27905 hardcode_direct=$hardcode_direct_GCJ
27907 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27908 # DIR into the resulting binary and the resulting library dependency is
27909 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27910 # library is relocated.
27911 hardcode_direct_absolute=$hardcode_direct_absolute_GCJ
27913 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27914 # into the resulting binary.
27915 hardcode_minus_L=$hardcode_minus_L_GCJ
27917 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27918 # into the resulting binary.
27919 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
27921 # Set to "yes" if building a shared library automatically hardcodes DIR
27922 # into the library and all subsequent libraries and executables linked
27924 hardcode_automatic=$hardcode_automatic_GCJ
27926 # Set to yes if linker adds runtime paths of dependent libraries
27927 # to runtime path list.
27928 inherit_rpath=$inherit_rpath_GCJ
27930 # Whether libtool must link a program against all its dependency libraries.
27931 link_all_deplibs=$link_all_deplibs_GCJ
27933 # Fix the shell variable \$srcfile for the compiler.
27934 fix_srcfile_path=$lt_fix_srcfile_path_GCJ
27936 # Set to "yes" if exported symbols are required.
27937 always_export_symbols=$always_export_symbols_GCJ
27939 # The commands to list exported symbols.
27940 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
27942 # Symbols that should not be listed in the preloaded symbols.
27943 exclude_expsyms=$lt_exclude_expsyms_GCJ
27945 # Symbols that must always be exported.
27946 include_expsyms=$lt_include_expsyms_GCJ
27948 # Commands necessary for linking programs (against libraries) with templates.
27949 prelink_cmds=$lt_prelink_cmds_GCJ
27951 # Specify filename containing input files.
27952 file_list_spec=$lt_file_list_spec_GCJ
27954 # How to hardcode a shared library path into an executable.
27955 hardcode_action=$hardcode_action_GCJ
27957 # The directories searched by this compiler when creating a shared library.
27958 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
27960 # Dependencies to place before and after the objects being linked to
27961 # create a shared library.
27962 predep_objects=$lt_predep_objects_GCJ
27963 postdep_objects=$lt_postdep_objects_GCJ
27964 predeps=$lt_predeps_GCJ
27965 postdeps=$lt_postdeps_GCJ
27967 # The library search path used internally by the compiler when linking
27968 # a shared library.
27969 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
27971 # ### END LIBTOOL TAG CONFIG: GCJ
27975 "scripts/jar":F
) chmod +x
scripts
/jar
;;
27983 ac_clean_files
=$ac_clean_files_save
27985 test $ac_write_fail = 0 ||
27986 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
27989 # configure is writing to config.log, and then calls config.status.
27990 # config.status does its own redirection, appending to config.log.
27991 # Unfortunately, on DOS this fails, as config.log is still kept open
27992 # by configure, so config.status won't be able to write to it; its
27993 # output is simply discarded. So we exec the FD to /dev/null,
27994 # effectively closing config.log, so it can be properly (re)opened and
27995 # appended to by config.status. When coming back to configure, we
27996 # need to make the FD available again.
27997 if test "$no_create" != yes; then
27999 ac_config_status_args
=
28000 test "$silent" = yes &&
28001 ac_config_status_args
="$ac_config_status_args --quiet"
28003 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
28005 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28006 # would make configure fail if this is the last instruction.
28007 $ac_cs_success || as_fn_exit $?
28011 # CONFIG_SUBDIRS section.
28013 if test "$no_recursion" != yes; then
28015 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
28016 # so they do not pile up.
28017 ac_sub_configure_args
=
28019 eval "set x $ac_configure_args"
28023 if test -n "$ac_prev"; then
28028 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
28029 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
28030 ac_prev
=cache_file
;;
28031 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
28032 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
28035 --config-cache |
-C)
28037 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
28039 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
28041 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
28043 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
28045 --disable-option-checking)
28049 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28051 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
28055 # Always prepend --prefix to ensure using the same prefix
28056 # in subdir configurations.
28057 ac_arg
="--prefix=$prefix"
28059 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
28061 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
28064 if test "$silent" = yes; then
28065 ac_sub_configure_args
="--silent $ac_sub_configure_args"
28068 # Always prepend --disable-option-checking to silence warnings, since
28069 # different subdirs can have different --enable and --with options.
28070 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
28073 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
28075 # Do not complain, so a configure script can configure whichever
28076 # parts of a large source tree are present.
28077 test -d "$srcdir/$ac_dir" ||
continue
28079 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
28080 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
28081 $as_echo "$ac_msg" >&6
28082 as_dir
="$ac_dir"; as_fn_mkdir_p
28086 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28088 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28089 # A ".." for each directory in $ac_dir_suffix.
28090 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28091 case $ac_top_builddir_sub in
28092 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28093 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28096 ac_abs_top_builddir
=$ac_pwd
28097 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28098 # for backward compatibility:
28099 ac_top_builddir
=$ac_top_build_prefix
28102 .
) # We are building in place.
28104 ac_top_srcdir
=$ac_top_builddir_sub
28105 ac_abs_top_srcdir
=$ac_pwd ;;
28106 [\\/]* | ?
:[\\/]* ) # Absolute name.
28107 ac_srcdir
=$srcdir$ac_dir_suffix;
28108 ac_top_srcdir
=$srcdir
28109 ac_abs_top_srcdir
=$srcdir ;;
28110 *) # Relative name.
28111 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28112 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28113 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28115 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28120 # Check for guested configure; otherwise get Cygnus style configure.
28121 if test -f "$ac_srcdir/configure.gnu"; then
28122 ac_sub_configure
=$ac_srcdir/configure.gnu
28123 elif test -f "$ac_srcdir/configure"; then
28124 ac_sub_configure
=$ac_srcdir/configure
28125 elif test -f "$ac_srcdir/configure.in"; then
28126 # This should be Cygnus configure.
28127 ac_sub_configure
=$ac_aux_dir/configure
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
28130 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
28134 # The recursion is here.
28135 if test -n "$ac_sub_configure"; then
28136 # Make the cache file name correct relative to the subdirectory.
28137 case $cache_file in
28138 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
28139 *) # Relative name.
28140 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
28143 { $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
28144 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
28145 # The eval makes quoting arguments work.
28146 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
28147 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
28148 as_fn_error
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
28154 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28156 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}